/*
Theme Name: KM theme options
Theme URI: 
Version: 1.0
Author: KM
Author URI: 
Description: KM theme options
*/

/* Reset */
body, h1, h2, h3, h4, h5, h6, p, br, ul, ol, li, form, table, tr, td, hr, img {
    margin:0;
    padding:0;
    border:0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}
ul, ol{
    list-style-type:none;
}
a {
	text-decoration:none;
}
a, a:hover, a:active {
    outline:0;
}
.clear {
    clear:both;
}
pre {
    font-size:1.0em;
    line-height:1.4em;
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}
/* end Reset */

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

.body {
    background:  #1b1b1b;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.bg--dark {
    flex: 1 0 auto;
}

iframe {
     width: unset;
}

/* Pop Up */
#popup-container{
    position:fixed;
    width: 100%;
    height: 100%;
    z-index:100;
}
#popup-shadow{
    background: #0B0B0F;
    opacity: 0.8;
    -moz-opacity: 0.8;         /* legacy Firefox */
    -khtml-opacity: 0.8;       /* legacy Safari/Konqueror */
    filter: alpha(opacity=80);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index:99;
}
#popunder{
    background: url("images/fancybox/gal-bg.png") repeat scroll 0 0 transparent;
    position: fixed;
    left: 50%;
    top: 50%;
    box-shadow: 3px 3px 6px #000000;
}

#popunder {
    max-width: calc(100vw - 40px);
}

#popunder-container{
     max-width: calc(100vw - 50px);
 }

@media screen and (max-width: 800px){
    #popunder {
        margin-left: 0px !important;
        left: 10px !important;
        height: unset !important;
    }

    #popunder-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .thumb-video {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: row;
    }

}

#popunder #popup-close {
    background: url("images/close.png") repeat scroll 0 0 transparent;
    font-size: 0;
    height: 42px;
    position: absolute;
    right: -20px;
    text-indent: -1000px;
    top: -17px;
    width: 43px;
}
/* end Pop Up */

#tip7-title {
    text-align: left;
}
#tip7-title span {
    float: right;
    margin: -4px 0 0 0;
    overflow: hidden;
}
#tip7-title span a {
    display: block;
    width: 62px;
    height: 25px;
    background: url(images/fancybox/close-gal.png) no-repeat;
}
#tip7-title span a:hover {
    background: url(images/fancybox/close-gal-hov.png) no-repeat;
}
#tip7-title b {
    display: block;
    margin-right: 80px;
    width: 55%;
    float: left;
}
.home-slider {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 780px;
    height: 333px;
}
.home-slider li {
    height: 333px;
    width: 594px;
    text-align: center;
    cursor: pointer;
}
.home-slider li.roundabout-in-focus {
    cursor: default;
}
.home-slider img.origin {
    display: block;
    width: 100%;
    height: 100%;
}
.home-slider .reflect {
    display: block;
    width: 100%;
    height: auto;
}
.main-video {
    /*float: left;*/
    width: 100%;
    margin: 0 6px 0 0;
}

#popunder-container {
    display: flex;
}
.thumb-video{
    /*float: right;*/
    display: flex;
    flex-direction: column;
    width: 150px;
    height: 360px;
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
}
.thumb-video a{
    margin: 0 0 6px 0;
}

.slide {
    text-align: center;
}


@media screen and (max-width: 800px){
    #popunder {
        margin-left: 0px !important;
        left: 10px !important;
        height: unset !important;
    }

    #popunder-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .thumb-video {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        margin-bottom:6px;
        margin-right:6px;
        height: calc(20% - 6px);
        overflow: hidden;
    }

    .main-video{
        height: calc(80% - 6px);
        margin-bottom:6px;
    }
    .main-video iframe {
        height: 100% !important;
        min-height: unset;
    }

}
.description .text,
.description .text  .hidden-more {
    width:405px;
	height:auto;
}
.hidden-title{
	display:none;
}
.awards .description p{
    margin: 0 0 15px;
}
.awards .description p:last-child{
    margin: 0;
}

.post img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.fb_button{
	background: url(images/Connect_light_medium_short.gif) no-repeat;
	cursor: pointer;
	height: 21px;
	display: inline-block;
	width: 90px;
	text-indent: -9999px;
}

#fancybox-wrap, #fancybox-content {
    box-sizing: content-box;
}

.nav-container .row {
    /*flex-wrap: nowrap;*/
}

.container .slider .slides  {
    transition: .3s ease;
}

@media screen and (max-width: 770px) {
    .container .slider .slides  {
        height: 340px;
    }
}

@media screen and (max-width: 530px) {
    .container .slider .slides  {
        height: 200px;
    }
}

@media screen and (min-width: 770px) {
    .container .slider .slides  {
        height: 460px;
    }
}

@media screen and (min-width: 990px) {
    .container .slider .slides  {
        height: 620px;
    }
}

@media screen and (min-width: 1200px) {
    .container .slider .slides  {
        height: 740px;
    }
}

.container .slider .flickity-viewport {
    height: 100% !important;
}

.slider-small .slide {
    width: 100%;
}

.container .slides-image {
    width: 100%;
    height: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.container .slider .slides .flickity-slider > li:not([class*='col-']) {
    width: 100%;
    height: 100%;
}

.nav-container {
    background-color: #ffffff;
}

hr.short {
    width: 2.78571429em;
    height: 1px;
    background: #4a90e2;
}

.bar__module .menu-horizontal > .dropdown > .dropdown__trigger:after {
    margin-left: 7px;
}

footer.bg--dark {
    background: #1b1b1b;
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    section.slider[class*='height-'] .slides .flickity-slider > li {
        height: calc(100vh - 58.75px) !important;
        padding: 0  !important;
        display: flex;
        align-items: center;
    }
}

/*dropdown-menu*/
.menu__row {
    position: relative;
}

.menu__row-right {
    position: static;
}

.menu-lg {
    position: static;
}

.menu-item-big {
    position: static !important;
}

.menu__row-right .bar__module .menu-horizontal {
    position: static;
    margin-top: 6px;
}

.menu-item-big .dropdown__container {
    left: 0;
    width: 100%;
}

.menu-item-big .dropdown__container > .container {
    width: 100%;
}

.menu-item-big .dropdown__container {
    left: 0!important;
}

.modal-instance .video-play-icon.video-play-icon--sm {
    min-width: 3.71428571em;
    min-height: 3.71428571em;
}
.modal-instance .video-play-icon {

}

.modal-instance.block {
    display: flex;
    align-items: center;
}

.modal-instance.block .video-play-icon + span {
    position: static;
}

.hidden-crew, .bullets {
    margin-bottom: 0;
}

.more-button {
    text-transform: uppercase;
    padding: 20px 10px 30px 0;
}


.dropdown .dropdown__container .dropdown__content:not([class*='bg-']) {
    background:rgba(26, 26, 26, .8);
}

.dropdown .dropdown__container .dropdown__content:not([class*='bg-']) .menu-vertical a {
    color: white;
    opacity: 1;
}

.dropdown .dropdown__container .dropdown__content:not([class*='bg-']) .menu-vertical a:hover {
    opacity: .75;
}


.dropdown .menu-vertical li:not(:hover):not(.dropdown--active) {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .dropdown .dropdown__container .dropdown__content:not([class*='bg-']) {
        background-color: white;
        background: white;
        opacity: 1;
    }

    .dropdown .dropdown__container .dropdown__content:not([class*='bg-']) .menu-vertical a {
        color: #a8a8a8;
        opacity: 1;
    }

    .dropdown .dropdown__container .dropdown__content:not([class*='bg-']) .menu-vertical a:hover {
        color:#252525;
    }


    .dropdown .menu-vertical li:not(:hover):not(.dropdown--active) {
        opacity: 1;
    }
}

@media screen and (max-width: 768px){
    a.thumb {
        pointer-events: none;
    }
}


.lead{
    padding-top: 10px;
}
h3+.lead{
    padding-top: 0px;
}

.feature {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.staff {
    margin-top: 80px;
}

.staff .row{
    justify-content: center;
}

.container div.switchable__text{
    margin: 0;
}

