/*
Theme Name: JUSTIN Winery
Theme URI: http://www.justinwinery.com
Author: Bad Assembly ( www.badassembly.com )
Author URI: http://www.badassembly.com
Description: Designed by Fire Station Agency and built by Bad Assembly. This theme is a clone of twentythirteen template. All of the front-end functionality is injected via AngularJS.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Bad Assembly, bad

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url(http://weloveiconfonts.com/api/?family=fontawesome);

.faq-wrapper {
    margin-top: 2em;
    margin-bottom: 5em;
}

.faq-title {
    margin: 20px 0;
    font-size: 22px;
}

.accordeon {
    margin: 3em 0 0;
    padding: 0;

}

.accordeon_item {
    position: relative;
    list-style-type: none;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    margin: 2px 0;
}

.accordeon_title:after {
    font-family: 'FontAwesome', sans-serif;
    float: right;
    content: '\f055';
    font-size: 18px;
    color: #252525;
}
.active > .accordeon_title:after {
    content: '\f056';
    font-size: 18px;
    color: #252525;
}

.accordeon_title {
    cursor: pointer;
    color: #666;
    font-family: HelveticaNeueW01-MdExt,Helvetica,sans-serif;
    font-size: 14px;
    font-variant: normal;
    width: 100%;
    margin: 14px 54px 14px 0;
    line-height: 1.4;
}

.accordeon_content {
    padding: 15px 75px 15px 0;
}

.ng-hide {
    display: none;
}

.menu-footer li a, .menu-footer li a:visited {
    text-transform: uppercase;
    color: #fff;
}

.prices {
    text-transform: uppercase;
}

.map-container .header-promo-block .slidesjs-pagination {
    left: 100px;
    text-align: left;
    bottom: 35px;
}

.map-container .header-promo-block .slidesjs-pagination li.slidesjs-pagination-item a:after{
    background: #666;
}

.map-container .header-promo-block .slidesjs-pagination li.slidesjs-pagination-item a.active:after {
    background: #896200;
}

.pin:hover .tooltip {
    opacity: 1!important;
}

.timeline-pins {
    width: 80%;
    left: 10%;
    height: 120px;
    position: relative;
}

.timeline-pins .single-pin {
    float: left;
    width: 3%;
    padding-right: 23%;
}

.timeline-pins .single-pin .timeline-pin {
    margin-right: 12%;
    margin-top: 20px;
    float: left;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: #757474;
    border: solid 5px #3E3C3C;
    border-radius: 25px;
}

.timeline-pins-wrapper .single-pin:first-child {
    padding-left: 0;

}
.timeline-pins-wrapper .single-pin:last-child {
    padding-right: 0;
    width: 3%;
}

.timeline-pins .single-pin:last-child  .timeline-pin{
    margin-right: 0;
}

.timeline-pins::before {
    content:'';
    width: 3px;
    height: 25px;
    float: left;
    background: #ccc;
    margin-top: 18px;
    margin-right: 2%;
}

.timeline-pins::after {
    content:'';
    width: 3px;
    height: 25px;
    float: left;
    background: #ccc;
    margin-top: 18px;
    margin-left: 2%;
}

.timeline-label {
    position: absolute;
    background: #930334;
    color: #fff;
    padding: 12px 0;
    border-radius: 40px;
    width: 48px;
    height: 48px;
    top: -40px;
    margin-left: -14px;
    z-index: 20;
    display: none;
    font-family: HelveticaNeueW01-MdExt,Helvetica,sans-serif;
    font-size: 12px;
    text-align: center;
}

.timeline-label:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    width: 0;
    height: 0;
    border-top: solid 9px #930334;
    border-left: solid 6px transparent;
    border-right: solid 6px transparent;
    margin-top: -2px;
}

.timeline-pins .full {
    position: absolute;
    float: left;
    display: inline;
    clear: none;
    text-align: inherit;
    padding-left: 0;
    padding-right: 0;
    width: 92%;
    margin-left: 4%;
    margin-right: 4%;
    height: 2px;
    border-bottom: 2px dotted #D7DADC;
    margin-top: 29px;
    z-index: -20;
    left: 0;
    right: 0;
}

.pin-selected {
    background: #6e032a !important;
    border: solid 5px #930334!important;
}

.accordion-content {
    display: none;
}

div[blog-single] article img.size-full {
    height: 100%;
}

#age-gate {
    display: none;
}

#OT_searchWrapper .OT_feedTitle, #OT_searchWrapper #dateDisplay, #OT_logoLink, #OT_logo {
    display: none!important;
}

.anchor::before {
    content:"";
    display:block;
    height:170px;
    margin:-170px 0 0;
}

.center-fluid-75, .center-fluid {
    z-index: 8;
}

.accordion-content {
    display: none;
}

div[blog-single] article img.size-full {
    height: 100%;
}

#age-gate {
    display: none;
}

.pointer:hover {
    cursor: pointer;
}

.rollover:hover .block-cover-title {
    display: none!important;
}

.header-promo-block span.mobile-fallback-copy.light h1, .header-promo-block span.mobile-fallback-copy.light h2, .header-promo-block span.mobile-fallback-copy.light h3, .header-promo-block span.mobile-fallback-copy.light h4, .header-promo-block span.mobile-fallback-copy.light h5, .header-promo-block span.mobile-fallback-copy.light p, .header-promo-block span.mobile-fallback-copy.light blockquote, .header-promo-block span.mobile-fallback-copy.light em, .header-promo-block span.mobile-fallback-copy.light strong, .header-promo-block span.mobile-fallback-copy.light i, .header-promo-block span.mobile-fallback-copy.light b {
    color: #fff!important;
}

.header-update-form .ninja-forms-field-error {
    //display: none!important;
}

.input-device #calendar .event-active  {
    background: #896200!important;
}

.input-device #calendar .event-active .fc-event-inner .fc-event-title {
    color: #fff!important;
}

div[blog-archive] ol.blog-nav>li {
    list-style: none;
    display: inline-block;
    /* float: none!important; */
}

@media only screen and (max-width: 768px) {
    .header-promo-block span.mobile-fallback-copy .copy h2 {
        font-size: 1.1em;
        margin: 0;
        margin-bottom: .5em;
    }

    .header-promo-block span.mobile-fallback-copy .copy a {
        text-transform: uppercase;
        color: #dba900;
    }

    .header-promo-block span.mobile-fallback-copy .copy a {
        font-size: .9em;
        line-height: 1.1em;
    }

    .header-promo-block span.mobile-fallback-copy .tint {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -ms-filter: "alpha(Opacity=80)";
        filter: alpha(opacity=80);
        opacity: 0.8;
        background: #000000;
    }

    .header-promo-block span.mobile-fallback-copy .copy {
        padding: 0 40px;
        text-align: center;
        color: #fff;
        font-size: 1em;
        text-transform: none;
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%,-50%);
        -moz-transform: translate(-50%,-50%);
        -o-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }

    .header-promo-block .mobile-fallback-copy.dark p {
        color: #fff ;
    }

.header-promo-block span.mobile-fallback-copy .remove-tint{
    opacity: 0 !important;
   
}
}



.center-fluid-75, .center-fluid {
    z-index: 8;
}

.slides, .ul.slides, ul.slides li.slide {
    overflow: visible!important;
}

#container {
    overflow: visible!important;
}

@media only screen and (max-width: 640px) {
    .header-promo-block span.mobile-fallback-copy .copy p, .header-promo-block span.mobile-fallback-copy .copy a {
        font-size: .9em;
        line-height: 1.1em;
    }
}

.mobile-get-updates #ninja_forms_form_12_response_msg, nav.mobile-menu ul.menu-items li.get-updates-item #ninja_forms_form_12_response_msg, nav.mobile-footer-menu ul.footer-menu-items li.get-updates-item #ninja_forms_form_12_response_msg {
    padding: 1em 20px;
    color: #d1a04f;
}

.continue {
    width: 100%;
    text-align: center;
}

@media only screen and (max-width: 640px) {
    div[home] .header-promo-block .slidesjs-pagination li.slidesjs-pagination-item {
        position: relative;
        top: -67px;
        right: 20px;
    }
    .slidesjs-navigation {
        /*display: block!important;*/
    }
}

@media only screen and (max-width: 768px) {
    div[home] .header-promo-block .slidesjs-pagination li.slidesjs-pagination-item {
        position: relative;
        top: -67px;
        right: 20px;
    }
    .slidesjs-navigation {
        /*display: block!important;*/
    }
}


.overlay-black .background, #login-window .background {
    position: fixed;
}

#login-window .modal-window {
    max-width: 420px;
    width: 100%;
    right: 0;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: auto;
    margin-left: auto;
    position: fixed;
}

#login-window__create-account{
    color: black;
    display: block;
    height: 45px;
    text-align: center;
    border: 1px solid #ccc;
    line-height: 45px;
    padding: 0;
    transition: .3s background;
}

#login-window__create-account:hover{
    background: rgba(0,0,0,.1);
}

#login-window__submit{
    width: 100%;
    border-radius: 0;
    height: 45px;
    background: #930334;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    transform: translate3d(0, 0, 0);
    border: none;
    transition: .3s background;
}

#login-window__submit:hover{
    background: #ac043d;
}



#login-window__forgot-password{
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
    padding: 0;
}

#login-window__forgot-password a{
    text-transform: none;
}

#login-window__forgot-password a:hover{
    color: black;
}

#login-window hr{
    margin: 15px 0;
}

#login-window .checkbox{
    display: none;
}

#login-window .form-group input{
    box-shadow: none;
    height: 45px;
}

#login-window .page-title{
    margin-top: 0;
}

.expand {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #eee;
    color: #252525;
    width: 20px;
    height: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    text-align: center;
    line-height: 1.2;
    position: absolute;
    font-weight: 100;
    font-size: 16px;
    font-family: -webkit-pictograph;;
    right: 2em;
    top: 1em;
}

.store-nav-item {
    cursor: pointer;
}

#explore::before {
    content:"";
    display:block;
    height:30vhpx;
    margin:-30vhpx 0 0;
}

.content-inner a {
    color: #930334!important;
    text-decoration: none!important;
    text-transform: uppercase!important;
    font-family: HelveticaNeueW01-LtExt,HelvetNeue,Helvetica,sans-serif!important;
    -webkit-transition: .2s color,opacity!important;
    -moz-transition: .2s color,opacity!important;
    -o-transition: .2s color,opacity!important;
    -ms-transition: .2s color,opacity!important;
    transition: .2s color,opacity!important;
    background: none!important;
    padding: 0!important;
    margin: 0!important;
    font-weight: 100!important;
    font-size: 17px!important;
}

.content-inner a::after {
    content: ''!important;
}

body.page-products-grid {background: #f2f4f4}

.rollover-content {cursor:default}

.current-menu-item a{color:#d1a04f!important}

.noclick {cursor:default}

.alignnone {clear:both!important; float:none!important}

.hp-wrap {
    position: absolute!important;
    left: -100000px
}

 .fc {max-width: 65%;
    width: 65%;
    float: left;}

.aem-AuthorLayer-Edit #desktop-intro, .aem-AuthorLayer-Edit #desktop-intro .background, .aem-AuthorLayer-Edit #desktop-intro img{
    height: 300px !important;
}

body .wrapper .main-ui-view .landscape .twocolumns .new,
body .wrapper .main-ui-view .landscape .twocolumns .pageAnchor{
    display: none;
}

.slidesjs-pagination-item a:before{
    content: "";
    position: absolute;
    top: 20px;
    left: -4px;
    z-index: 1;
    width: 20px;
    height: 20px;
}

.videoComponent .hidden-md .center-fluid .content-element .transcluded > div .youtube_video_small{
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 767px) {
    .justin-page-wine-club h1.headline{
        font-size: 50px;
    }
}

@media only screen and (max-width: 768px) {
    .justin-page-wine-club .membership  .grid-content .grid-item.two-column .image-space {
        height: 290px;
        float: none;
        width: 100%;
        text-align: center;
        margin: 0;
        background: #f2f3f3;
    }

    .justin-page-wine-club .membership  .grid-content .grid-item.two-column .image-space img{
        position: relative;
        height: 250px;
        top: 20px;
        bottom: auto;
    }

    .justin-page-wine-club .membership  .grid-content .grid-item.two-column{
        background: none;
        padding: 0;
        margin-bottom: 45px;
    }

    .justin-page-wine-club .membership  .grid-content .grid-item.two-column .content{
        margin-top: 40px;
        height: auto;
    }

    .justin-page-wine-club .membership  .grid-content .grid-item.two-column .content h3{
        font-size: 22px;
    }

    .justin-page-wine-club  .membership  .grid-content .grid-item.two-column .content p{
        font-size: 16px;
    }

    .justin-page-wine-club .membership  .grid-content .grid-item .field-button{
        position: relative;
    }

    .justin-page-wine-club h2{
        font-size: 30px;
    }
}

@media only screen and (max-width: 640px) {
   .justin-page-wine-club h2{
        font-size: 25px;
    } 

    .justin-page-wine-club  .membership  .grid-content .grid-item.two-column .content p{
        font-size: 15px;
    }
}

.justin-page-wine-club .membership  .grid-content .grid-item .top-content{
    height: auto;
}

.justin-page-events .footer-promos .promo p:empty{
    display: none;
}

/* FOOTER Promo */
.justin-page-events .footer-promos .promo p{
    line-height: 1.2em;
} 

@media only screen and (max-width: 1024px) {
    .justin-page-events .footer-promos .promo h2{
        font-size: 16px;
    }    
}

@media only screen and (max-width: 767px) {
    .justin-page-events .footer-promos{
        display: none;
    }    
}

@media only screen and (max-device-width: 1024px) and (min-device-width: 768px) and (orientation: portrait){
    .justin-page-events .footer-promos .thirds-span-only{
        width: 33.33%;
    }
}

.justin-page-contact-us .contactsection a{
    text-transform: none;
}

.justin-page-contact-us .main-ui-view .half-span .contactsection p{
    padding-right: 2em;
}

.justin-page-contact-us .googlemap iframe{
    height: 400px;
    width: 100%
}

@media only screen and (max-width: 767px){
    .justin-page-contact-us .googlemap iframe{
        height: 200px;
    }

    .new.section{
        display: none;
    }
}

.justin-page-contact-us .main-ui-view{
    margin-top: 30px;
}

.justin-page-visit .main-ui-view .blocks .threecolumns .center .threecolumn{
    display: none;
}


@media only screen and (max-width: 767px){
    .justin-page-story .block-headline{
        margin-top: 0px !important;
    }

    .justin-page-story .threecolumns, .new.section{
        display: none;
    }

    .justin-page-story .landscape{
        padding-bottom: 0;
    }
}

.justin-page-story .historyCarousel .blocks.block.block-spacer.spacer-medium{
    padding: 0;
}

.page-awards #loop h3, .page-awards #loop h3 em{
    font-size: 16px;
    font-weight: 300;
    font-style: italic;
    line-height: 24px;
    color: rgb(51,51,51);
}

@media only screen and (max-width: 767px){
    .page-awards #loop h3, .page-awards #loop h3 em{
        font-size: 15px;
        line-height: 21px;
    }
}

.justin-page-video-glass .new.section{
    display: none;
}

.justin-page-video-glass .landscape{
    padding-bottom: 0;
}

.header-promo-block .slide-body{
    background: white;
}

.header-promo-block .single-wide .image {
    padding: 0 0 0 62px;
}

.header-promo-block .single-wide .image div {
    background-size: contain !important;
    background-color: white !important;
}

.justin-page-shop-wines .cat-grid-item div.image{
    overflow: visible;
}

.justin-page-shop-wines .cat-grid-item div.image > div{
    background-color: white !important;
    background-size: cover !important;
}