@font-face {
    font-family: 'lato';
    src: url('../fonts/lato-black-webfont.eot');
    src: url('../fonts/lato-black-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-black-webfont.svg#latoblack') format('svg'), url('../fonts/lato-black-webfont.woff') format('woff'), url('../fonts/lato-black-webfont.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'lato';
    src: url('../fonts/lato-italic-webfont.eot');
    src: url('../fonts/lato-italic-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-italic-webfont.svg#latoitalic') format('svg'), url('../fonts/lato-italic-webfont.woff') format('woff'), url('../fonts/lato-italic-webfont.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'lato';
    src: url('../fonts/lato-regular-webfont.eot');
    src: url('../fonts/lato-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-regular-webfont.svg#latoregular') format('svg'), url('../fonts/lato-regular-webfont.woff') format('woff'), url('../fonts/lato-regular-webfont.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'lato';
    src: url('../fonts/lato-light-webfont.eot');
    src: url('../fonts/lato-light-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-light-webfont.svg#latolight') format('svg'), url('../fonts/lato-light-webfont.woff') format('woff'), url('../fonts/lato-light-webfont.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select {
        font-family: sans-serif;
    }
}

/*
.clearfix:before, .clearfix:after {
  content: " ";
  display: table;

}
.clearfix:after {
  clear: both;
}
*/
.container a, .container a:focus, .container a:hover {color: #000}
.callout {
    margin-bottom: 25px;
    padding: 20px;
    border-left: 3px solid #eeeeee;
}

.callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}

.callout p:last-child {
    margin-bottom: 0;
}

.callout-danger {
    background-color: #fdf7f7;
    border-color: #ebccd1;
}

.callout-danger h4 {
    color: #a94442;
}

.callout-warning {
    background-color: #faf8f0;
    border-color: #faebcc;
}

.callout-warning h4 {
    color: #8a6d3b;
}

.callout-info {
    background-color: #f4f8fa;
    border-color: #bce8f1;
}

.callout-info h4 {
    color: #31708f;
}

.callout-success {
    background-color: #f9fdf7;
    border-color: #d6e9c6;
}

.callout-success h4 {
    color: #3c763d;
}

.t-ww {
    word-wrap: break-word;
    word-break: break-word;
}

.border-none {
    border: 0;
}

.navbar-header .navbar-brand {
    position: relative;
    top: 15px;
    width: 260px;
    height: 94px;
    padding: 0;
    background-image: url(../images/veidelogo.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 7px 50%;
    transition: all 0.2s ease 0.05s;
    color: #ccc;
}

.navbar-header .navbar-brand:hover {
    color: #fff;
    opacity: .8;

}

.navbar-nav {
    float: right;
}

.navbar-nav li.separator {
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    height: 30px;
    margin: 20px 10px 0 10px;
}

.navbar-autohide {
    transition: transform .5s;
}

.navbar-autohide.is-hidden {
    transform: translateY(-72px);
}

.navbar-nav > li {
    display: inline-block;
    float: none;
}

.navbar-nav > li a {
    text-transform: uppercase;
    color: #000;
}

.navbar-nav > li:hover a {
    background: none;
    text-decoration: underline;
}

.navbar-nav > li a:focus {
    outline: none;
}

.navbar-nav > li.active {
    text-decoration: underline;
}

.navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a {
    transition: color 0.2s ease 0.05s;
}

.navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a:after {
    position: absolute;
    height: 4px;
    bottom: -1px;
    content: '';
    border-radius: 4px;
    z-index: 5;
    width: 0;
    left: 50%;
    transition: all 0.2s ease 0.05s;
}

.navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a:after {
    width: 100% !important;
    left: 0 !important;
}

.navbar-collapse:not(.in):not(.collapsing) .navbar-nav li:hover > a:after {
    width: 100%;
    left: 0;
}

.navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a {
    background: transparent;
}

.navbar-inverse .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a:after,
.navbar-inverse .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a:hover:after {
    background: #000000;
}

.navbar-inverse .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a:hover:after {
    background: #000000;
}

.navbar-inverse .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a:hover:after {
    background: #e67e22;
}

.navbar-default .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a:after,
.navbar-default .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a:hover:after {
    background: #64ae5b;
}

.navbar-default .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a:hover:after {
    background: #64ae5b;
}

.navbar-default .navbar-collapse:not(.in):not(.collapsing) .navbar-nav li > a:hover:after {
    background: #93dc8a;
}

#layout-nav {
    height: 122px;
    line-height: 122px;
    border: 0;
}
#layout-nav.is-hidden .navbar-header {
    position: absolute;
    bottom: 0;
    width: 100%;
}
#layout-nav.is-hidden .navbar-header .navbar-brand {
    top: initial;
    background-size: 128px auto;
    background-position-y: 100%;
}
#layout-nav.is-hidden .nav.navbar-nav {
    position: absolute;
    bottom: 0;
    right: 50%;
    margin-right: -570px;
    height: 85px;
}
#layout-nav.is-hidden .navbar-toggle {
    bottom: -34px;
}
.nav > li > a {
    padding: 10px 7px;
}
.navbar-collapse {
    background: #fff;
}
.shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(127, 127, 127, 0.5), 0 0 8px rgba(127, 127, 127, 0.5);
    opacity: 0.88;
    background: #fff;
    z-index: -1;
}

html {
    min-height: 100%;
    min-width: 100%;
}

.html {
    background: #fff url(/themes/veide/assets/images/bg.jpg) no-repeat center bottom fixed;
    background-size: cover;
}

body {
    padding-top: 122px;
    background: none;
}

.heading {
    line-height: 35px;
    font-size: 29px;
    text-transform: uppercase;
    text-align: center;
}

section {
    position: relative;
    margin-bottom: 50px;
}

.padder {
    height: 50px;
}

.slider {
    margin-bottom: 50px
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.block {
    vertical-align: bottom;
    position: relative;
    height: 508px;
}

.block .bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0 15px;
}

.block .col-sm-4 {
    height: 100%;
}

.block .col-sm-8 {
    position: absolute;
    right: 0;
    height: 100%;
}

.block .col-sm-8 img {
    height: 100%;
}

.google-maps {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.contacts h2 {
    font-size: 20px;
}

.contacts .col-sm-6 img {
    margin-top: 50px;
}
.divider {
    display: inline-block;
    position: absolute;
    top: 86px;
    transform: rotate(90deg);
    vertical-align: top;
}
#footer .divider.d1 {  right: 107px;  }
#footer .divider.d2 {  left: 107px;  }

#footer .container {
    height: 211px;
    padding: 15px;
}

#footer .logo {
    width: 300px;
}
#footer .tel {
    margin: 10px 0;
    font-size: 4rem;
}
#footer .tel a {
    color: #000;
}
#footer .menu {
    color: #000;
    margin-top: 15px;
}
#footer .menu li {
    padding-bottom: 3px;
}
#footer .menu a {
    color: #000;
    font-family: monospace;
}
#footer .social .name {
    margin-right: 5px;
    display: inline-block;
}
#footer .social a:hover, #footer .social a:visited, #footer .social a:focus {
    text-decoration: none;
}
#footer section {
    margin: 0;
}
#galleryId li a {
    display: inline-block;
    text-align: center;
}
.navbar-toggle {
    background: #eee;
}
.navbar-toggle .icon-bar {
    background: #a0a0a0;
}
#localePicker {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1040;
    margin-right: 0;
}

#localePicker .container {
    position: relative;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}
#localePicker .container .content {
    display: inline-block;
    width: 100px;
}
#localePicker select {
    border: 0;
    padding: 0;
    line-height: normal;
    height: 30px;
    font-size: 13px;
}
.homepageGalleryList .bottom .img-responsive {
    max-height: 245px;
}
@media (max-width: 1319px) {
    #localePicker {display: none;}
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-collapse.collapse {
        display: none;
    }
    .navbar-collapse.collapse.in {
        display: block;
    }
    .navbar-header .collapse, .navbar-toggle {
        display:block;
    }
    .navbar-header {
        float:none;
    }
}
@media (max-width: 1199px) {
    #layout-nav.is-hidden .nav.navbar-nav {
        position: static;
        height: auto;
        margin: 0;
    }
    #layout-nav.is-hidden .navbar-collapse {
        margin-top: 50px;
        padding-top: 20px;
    }
    .navbar-header {
        width: 100%;
    }
    .navbar-header .navbar-toggle {
        display: block;
    }
    .navbar-nav {
        font-size: 0;
        width: 100%;
        padding-top: 50px;
        text-align: center;
    }
    .navbar-nav > li {
        display: block;
        background: #fff;
    }
    .navbar-nav > li a {
        padding: 10px 8px;
        font-size: 14px;
    }
}
@media (max-width: 844px) {
    .block .col-sm-8 {
        position: static;
    }
    .block {
        position: static;
        height: auto;
    }
    .block .bottom {
        position: static;
        margin-bottom: 30px;
    }
    .block .col-sm-4 {
        height: initial;
    }
    .block .col-sm-8 img {
        height: initial;
    }
}
@media (max-width: 767px) {
    .heading {font-size: 20px;}
    .videoWrapper {
        margin-top: 25px;
    }
}
@media (max-width: 369px) {
    .navbar-header .navbar-brand {
        width: 170px;
        height: 60px;
    }
    #layout-nav.is-hidden .navbar-toggle {
        bottom: -10px;
    }
    #layout-nav.is-hidden .navbar-header .navbar-brand {
        top: 10px;
    }
}
