body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

div[role="contentinfo"] {
    display: none;
    position: absolute;
    top: 100px;
    left: 10px;
    background: #000;
    z-index: 100;
    padding: 10px;
    border-radius: 3px;
    border: 1px dashed #fff;
}


#preloader-wrapper {
    position: fixed;
    z-index: 999999;
    width: 100%;
    height: 100%;
    background: #000;
    top: 0;
    left: 0;
}

#preloader {
    position: absolute;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#preloader #preloader-spinner {
    width: 70px;
    display: block;
    margin: 0 auto;
}

#preloader #preloader-mobile-logo {
    display: block;
    margin: 0 auto;
    width: 40px;
}

#preloader-wrapper #preloader-logo {
    max-width: 300px;
    width: 100%;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.not-front header {
    height: 160px;
    width: 100%;
}

#mobile-logo { display: none; }

#block-baron-main-menu {
    position: absolute;
    z-index: 90;
    top: 65px;
    left: 50%;
    width: 90%;
    transform: translateX(-50%);
    font-family: Heebo;
}

#block-baron-main-menu input {
    display: none;
}

#block-baron-main-menu ul {
    margin: 0;
    padding: 0;
}

#block-baron-main-menu ul li {
    list-style: none;
    display: inline-block;
    vertical-align: top;
    padding: 0 13px;
}

#block-baron-main-menu ul li:nth-child(3) a {
    display: block;
    background: url(/themes/custom/baron/bf-logo.png) 0 0 no-repeat;
    background-size: contain;
    width: 279px;
    height: 46px;
    margin-top: -9px;
}

#block-baron-main-menu ul li a {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #c3c6c3;
    font-weight: 300;
}

#block-baron-main-menu ul li a:hover {
    color: #fff;
}

#block-baron-branding {
    display: none;
}

#mobile-menu {
    display:none;
}











.views_slideshow_cycle_teaser_section {
    height: 100vh!important;
}

.views_slideshow_cycle_slide {
    background-position: center;
    background-size: cover;
    display: block;
    height: 100vh;
    width: 100%;
}

.views_slideshow_cycle_slide video {
    height: 100vh;
    width: 100vw;
    -o-object-fit: cover;
    object-fit: cover;
    transition: 1s opacity;
}

.landing-slideshow {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}




.views-field-field-video-file {
    width: 100%!important;
    height: 100%!important;
    overflow: hidden;
}

.views-field-field-video-title {
    position: absolute;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
    opacity: 0.8;
    -webkit-transition: opacity .1s 0s ease-in-out;
    -moz-transition: opacity .1s 0s ease-in-out;
    -ms-transition: opacity .1s 0s ease-in-out;
    -o-transition: opacity .1s 0s ease-in-out;
    transition: opacity .1s 0s ease-in-out;
    outline: none;
    padding-top: 10px;
}

.views-field-field-video-title:hover {
    opacity: 1;
}

.views-field-field-video-title .landing-slideshow-brand {
    font-size: 40px;
    font-weight: 800;
    line-height: 40px;
    letter-spacing: 6px;
    padding-bottom: 0px;
}

.views-field-field-video-title .landing-slideshow-title {
    letter-spacing: 2px;
}

.views-field-field-video-title a {
    color: #fff;
}




.views-slideshow-controls-bottom {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
}

.views_slideshow_controls_text {
    width: 100%!important;
    height: 100%;
    display: block;
}

.views_slideshow_controls_text_next a,
.views_slideshow_controls_text_previous a {
    position: absolute;
    top: 50%;
    z-index: 95;
    font-size: 38px;
    transform: translateY(-50%);
    display: block;
    color: rgba(255, 255, 255, 0.6);
}

.views_slideshow_controls_text_next a:hover,
.views_slideshow_controls_text_previous a:hover {
    color: #fff;
}

.views_slideshow_controls_text_next a {
    right: 30px;
}

.views_slideshow_controls_text_previous a {
    left: 30px;
}

.views_slideshow_controls_text_pause {
    display: none;
}

.widget_pager {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 95;
    padding: 0 2px;
    color: #fff;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.views_slideshow_pager_field_item {
    display: inline-block;
}

.views_slideshow_pager_field_item:hover {
    color: #fff;
}

.views_slideshow_pager_field_item .fa-circle-o {
    cursor: pointer;
}
.views_slideshow_pager_field_item .fa-circle {
    display: none;
}

.views_slideshow_pager_field_item.active .fa-circle-o {
    display: none;
}

.views_slideshow_pager_field_item.active .fa-circle {
    display: block;
    cursor: pointer;
}







.work-grid .views-row {
    position: relative;
    display: block;
    width: 33.33%;
    float: left;
}

.work-grid .views-field-field-full-video img {
    width: 100%;
    display: block;
}

.work-grid .views-field-title {
    display: none;
}

.work-grid video {
    height: 100%;
    width: 100%;
    display: block;
}

.work-grid .views-row .views-field-field-brand-name {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    text-align: center;
    transform: translate(-50%,-50%);
    font-size: 29px;
    font-weight: bold;
    letter-spacing: 4px;
    display: none;
    font-family: 'europa';
}

.work-grid .views-row .views-field-field-brand-name a {
    color: #fff;
}

.work-grid .views-row:hover .views-field-field-brand-name {
    display: block;
}

.work-grid:after {
  content: "";
  display: table;
  clear: both;
}

.stills-grid .item {
  position: relative;
  display: block;
  width: 33.33%;
  float: left;
}

.stills-grid .item img {
  width: 100%;
  height: 100%;
  display: block;
}

.node main {
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.49px;
    line-height: 22px;
}

.node-type-video main,
.node-type-page main {
    max-width: 900px;
}

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

article[data-history-node-id="20"] {
    text-align: center;
    padding: 50px 0 100px;
}

p article[data-history-node-id="20"] {
    line-height: 10px;
    letter-spacing: 2px;
    font-size: 11px;
}

#bio, #photo {
    display: block;

}

#bio {
    vertical-align: top;
    padding: 0px;
    text-align: justify;
    margin: 0px 20px;
}

#bio .field--name-field-text {
    margin: 20px 0px 0px;
}

#bio .field--name-field-text p:last-child {
    margin-bottom: 0px;   
}

#bio h2 {
    text-align: right;
}

#photo img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0px;
}

#photo .field--name-field-photo {
    margin: 0px 20px 0 20px;
}






footer {
    text-align: center;
    font-size: 25px;
    padding: 70px 0 50px;
}

#block-footer {
    display: inline-block;
}

#block-footer>div a {
    padding: 0 3px;
    text-align: center;
    display: inline-block;
    width: 27px;
}

#block-footer>div:hover a {
    color: #bec0c0;
}

#block-footer>div a:hover {
    color: #fff;
}


/*
.node-type-stills {
    background: #fff;
}
*/

.node-type-stills .item {
    background: #ccc;
}

.node-type-stills .item a {
    color: #ccc;
    background: #ccc;
}

.node-type-stills .item img {
    background: #ccc;
}

/*
.node-type-stills #block-baron-main-menu ul li a {
    color: #8c8b89;
}

.node-type-stills #block-baron-main-menu ul li a:hover {
    color: #d2d3d3;
}

.node-type-stills #block-footer>div a {
    color: #8c8b89;
}

.node-type-stills #block-footer>div a:hover {
    color: #d2d3d3;
}
*/


#about-matt-baron {
    display: flex;
    align-items: flex-end;
}

#about-matt-baron .field--name-field-photo img {
    width: 300px!important;
}

#photo {
    flex: 1 1 30%;
}

#bio {
    flex: 1 1 70%;
}





@media only screen and (max-width : 768px) {

    #about-matt-baron .field--name-field-photo img {
        width: 200px!important;
    }

    #preloader-wrapper #preloader-logo {
        display:none;
    }

    .not-front header {
        height: 80px;
    }

    #mobile-logo { 
        position: absolute;
        display: block;
        top: 15px;
        left: 23px;
        z-index: 100;
    }

    #mobile-logo img {
        width: 40px;
        display: block;        
    }

    #block-baron-main-menu {
        display: block;
        position: absolute;
        top: 26px;
        right: 20px;
        left: auto;
        width: auto;
        z-index: 100;
        -webkit-user-select: none;
        user-select: none;
        transform: none;
        cursor: pointer;
    }

    #block-baron-main-menu #menu { display: none; }

    #block-baron-main-menu span {
        display: block;
        width: 27px;
        height: 1px;
        margin-bottom: 8px;
        position: relative;
        background: #bec0c0;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),opacity 0.55s ease;
    }

    #block-baron-main-menu span#one {
        transform-origin: 0% 0%;
    }

    #block-baron-main-menu span#three {
        transform-origin: 0% 100%;
    }

    .mobile-menu-open span#one,
    #block-baron-main-menu input:checked ~ span#one {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
    }

    .mobile-menu-open span#two,
    #block-baron-main-menu input:checked ~ span#two {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    .mobile-menu-open span#three,
    #block-baron-main-menu input:checked ~ span#three {
        opacity: 1;
        transform: rotate(-45deg) translate(0, -1px);
    }

    #mobile-menu {
        display: block;
        position: fixed;
        z-index: 99;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        padding: 0;
        background: #000;
        list-style-type: none;
        transform-origin: 0% 0%;
        transform: translate(-100%,0);
        transition: transform .5s cubic-bezier(.77,.2,.05,1.0);
    }

    .mobile-menu-open #mobile-menu,    
    #block-baron-main-menu input:checked ~ #mobile-menu {
        transform: scale(1.0, 1.0);
        opacity: 1;
    }

    #mobile-menu ul {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
    }

    #mobile-menu ul li {
        display: block;
    }

    #mobile-menu ul li a {
        font-size: 20px;
        line-height: 60px;
        text-transform: uppercase;
    }

    #block-baron-branding {
        display: block;
        position: absolute;
        top: 21px;
        left: 20px;
        z-index: 100;
    }

    #block-baron-branding a {
        display: block;
        background: url(/themes/custom/baron/bf-logo-mobile.png) 0 0 no-repeat;
        background-size: contain;
        width: 30px;
        height: 30px;
        text-indent: -9999999em;
    }





    .work-grid .views-row {
        width: 50%;
    }

    .work-grid .views-row .views-field-field-brand-name {
        display: block;
    }

    .stills-grid .item {
        width: 50%;
    }

    #about-matt-baron {
        align-items: flex-start;
    }
    
    #bio h2 {
        text-align: center
    }

    #photo .field--name-field-photo {
        margin: 20px 0px 0px 20px;
    }


}


@media only screen and (max-width : 450px) {
    .work-grid .views-row {
        width: 100%;
    }

    .stills-grid .item {
        width: 100%;
        margin-bottom: 15px;
    }

    .widget_pager{
        bottom: 12%;
    }


    #about-matt-baron {
        display: block;
    }

    #about-matt-baron .field--name-field-photo img {
        width: 100%!important;
    }

    .stills {
        padding: 0 10px;
    }

    #bio h2 {
        margin-top: 50px;
    }
    
    #photo .field--name-field-photo {
        margin: 20px 20px;
    }


}
