/* This is the stylsheet for A Better World for Pets */

@import url('https://fonts.googleapis.com/css?family=Shrikhand');

article a, .gdpr-banner a{
    color: #C90707;
}

article a:hover, .gdpr-banner a:hover{
    color: #C90707 !important;
    text-decoration: underline;
    border-color: transparent !important;
}

div.site-branding{
    text-align: center;
}

h1, h2, h3, h4, h5{
    outline: none;
}

body input[type="checkbox"]{
    display: initial;
}

#masthead.site-header .site-branding{
    background-image: linear-gradient(195deg, #FE6C51 0%, #C90707 99%);
    border-bottom: 2px solid #A32014;
}

.copyright a{
    display: inline !important;
}

body.home div#content.site-content{
    /*background: url(imgs/dog-cover.jpg) no-repeat center center;*/
    background-size: cover;
    color: white;
    font-weight: 400;
}

body.home div#content.site-content .movie{
    background: black;
    position: fixed;
    left: 360px;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;

}

body.home div#content.site-content .movie video{
    /* Make video to at least 100% wide and tall */
    min-width: 100%;
    min-height: 100%;

    /* Setting width & height to auto prevents the browser from stretching or squishing the video */
    width: auto;
    height: auto;

    /* Center the video */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    /*opacity: 0.5;*/
}

body.home div#content.site-content .site-main{
    position: fixed;
    left: 500px;
    top: 67px;
}

body.home div#content.site-content a{
    color: white;
    text-decoration: underline;
}

body.home div#content.site-content h1{
    display: none;
}

body.home div#content.site-content h2{
    color: white;
    font-family: 'Shrikhand', cursive;
    max-width: 590px;
    font-size: 80px;
    letter-spacing: 1px;
    /*text-shadow: 1px 1px rgba(0, 0, 0, 0.2);*/
}

body.home .home-cta{
    border-radius: 30px;
    border: solid 2px white;
    text-transform: uppercase;
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    cursor: pointer;
}

body.home .home-cta a{
    text-decoration: none !important;
}

body.home .home-cta a:hover{
    text-decoration: none !important;
}

body.home .home-cta.selected,
body.home .home-cta:hover,
.cta.red {
    background-image: linear-gradient(180deg, #FE6C51 0%, #C90707 99%);
}

body.home .home-cta.selected, .cta.red{
    box-shadow: 0 2px 2px #A32014;
    border: none;
}

.cta.red:hover{
    opacity: 0.9;
}

body.home .home-cta.selected:hover{
    border: solid 2px white;
}

footer a.footer-logo-social{
    display: none;
}

footer .site-info{
    display: none;
}

#menu-social li.not-auto a:before,
#menu-social-footer li.not-auto a:before{
    display: none;
}

#menu-social li.not-auto,
#menu-social li.not-auto{
    display: inline-block;
    height: 40px;
    width: 40px;
}

#menu-social li.not-auto:hover,
#menu-social-footer li.not-auto:hover{
    opacity: 0.8;
}

#menu-social li.not-auto a,
#menu-social-footer li.not-auto a{
    display: inline-block;
    height: 40px;
    width: 40px;
}

#menu-social li.not-auto .screen-reader-text,
#menu-social-footer li.not-auto .screen-reader-text{
    clip: auto;
    position: relative !important;
    height: 1px;
    width: 1px;
    overflow: auto;
    color: transparent;
}

#menu-social li.not-auto .screen-reader-text:hover,
#menu-social-footer li.not-auto .screen-reader-text:hover{
    background-color: transparent;
    border-radius: initial;
    box-shadow: none;
    clip: auto !important;
    color: transparent !important;
    display: block;
    font-weight: inherit;
    height: 1px;
    left: 1px;
    line-height: inherit;
    padding: inherit;
    font-size: inherit;
    text-decoration: none;
    top: auto;
    width: auto;
    z-index: 100000;
}

#menu-social li.not-auto.ic-movie{ background: url(imgs/ico-movie.png) no-repeat center center; }
#menu-social li.not-auto.ic-facebook{ background: url(imgs/ico-facebook.png) no-repeat center center; }
#menu-social li.not-auto.ic-instagram{ background: url(imgs/ico-instagram.png) no-repeat center center; }
#menu-social li.not-auto.ic-twitter{ background: url(imgs/ico-twitter.png) no-repeat center center; }

#menu-social-footer li.not-auto.ic-movie{ background: url(imgs/ico-movie.png) no-repeat center center; }
#menu-social-footer li.not-auto.ic-facebook{ background: url(imgs/ico-facebook.png) no-repeat center center; }
#menu-social-footer li.not-auto.ic-instagram{ background: url(imgs/ico-instagram.png) no-repeat center center; }
#menu-social-footer li.not-auto.ic-twitter{ background: url(imgs/ico-twitter.png) no-repeat center center; }

div.popup{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.64);
    z-index: 1000;
}

div.popup .poster{
    /* movie-desk.jpg 1200 x 630 */
    width: 1200px;
    height: 630px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -600px;
    margin-top: -315px;
    background: url(imgs/movie-desk.jpg) center center no-repeat;
    border: solid 8px white;

}

div.popup .poster .cta{
    /* 629 x 580 */
    position: absolute;
    background-image: linear-gradient(180deg, #FE6C51 0%, #C90707 99%);
    border-radius: 30px;
    padding: 15px;
    text-align: center;
    width: 242px;
    color: white;
    left: 629px;
    top: 520px;
    font-weight: 400;
    font-size: 12px;
    box-shadow: 0 2px 2px #A32014;
    text-transform: uppercase;
    cursor: pointer;

}

div.popup .poster .cta:hover{
    opacity: 0.9;
}

div.popup .poster .cta.b{
    left: 900px;
}

div.popup .poster .close{
    background: url(imgs/btn-close.png) center center no-repeat;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 48px;
    height: 48px;
    cursor: pointer;
}

div.popup .poster .close:hover{
    opacity: 0.8;
}

header.page-header{
    display: none;
}

main .foot-prev-next{
    margin-top: 100px;
    border-top: solid 1px #979797;
    padding: 20px 20px 20px 40px;
    display: flex;
}

main .foot-prev-next > a{
    border-radius: 15px;
    display: block;
    width: 50%;
    padding: 15px 25px;
    border: none !important;
}

main .foot-prev-next > a.disabled{
    visibility: hidden;
}

main .foot-prev-next > a:hover{
    background: #f4f4f4;
    border: none !important;
}

main .foot-prev-next a.prev{
    text-align: right;
}

main .foot-prev-next a.prev > *{
    opacity: 0.5;
}

main .foot-prev-next a .label{
    font-size: 14px;
    color: black;
    font-weight: bolder;
}

main .foot-prev-next a .title{
    color: black;
}

.menu-demo-main-menu-container{

}

body .nav-menu .current_page_item>a, .nav-menu .current-menu-item > a{
    font-weight: normal !important;
}

.nav-menu .current-menu-item:not(.current-menu-ancestor) > a{
    opacity: 0.5;
}

.nav-menu .current-menu-item:not(.current-menu-ancestor) > a:hover{
    opacity: 1;
}

body:not(.home) article .entry-content p:first-of-type{
    font-size: 125%;
}

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

    div.entry-content{
        text-align: center;
    }

    div.popup .poster{
        background-image: url(imgs/movie-mobile.jpg);
        width: 297px;
        height: 446px;
        margin-left: -148px;
        margin-top: -223px;
    }

    div.popup .poster .cta{
        left: 22px;
        top: 310px;
    }

    div.popup .poster .cta.b{
        left: 22px;
        top: 370px;
    }

    main .foot-prev-next > a{
        padding: 25px;
    }
}

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

    body.home div#content.site-content .movie{
        left: 0;
    }

    body.home div#content.site-content h2{
        font-size: 42px;
    }

    body.home div#content.site-content .site-main{
        left: auto;
        top: auto;
    }
}

@media screen and (max-width: 450px){
    body.home .site-content {
        margin-left: 0px;
        margin-right: 0px;
    }
}


@media screen and (max-width: 767px){
    body.home .site-content {
        margin-left: 0px;
        margin-right: 0px;
    }
}


@media screen and (max-width: 1024px){
    body.home .site-content {
        margin-left: 0px;
        margin-right: 0px;
    }


}

@media screen and (max-width: 1440px) and (min-width: 1025px){
    #content{
        width: auto;
        padding-left: 100px;
    }
}

/*****************RESPONSIVE MENU***********************/

.responsive-menu{
    display: none;
}

.menu-demo-main-menu-container{
    line-height: normal;
}

.menu-demo-main-menu-container .movie-logo{
    margin-top:20px;
}

.menu-demo-main-menu-container .copyright{
    padding-top: 15px;
    font-size: 70%;
}

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

    .responsive-menu{
        display: block;
    }

    #menu-social,
    #menu-social-footer{
        width: 100%;
    }
    .nav-menu > li > a {
        font-size: 15px !important;
    }
}

/**********************GDPR BANNER***************************/

body.with-gdpr #content.site-content {
    margin-top: 80px;
}

body.with-gdpr #masthead.site-header {
    padding-top: 80px;
}

.gdpr-banner{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 80px;
    background: #fff;
    z-index: 10000;
    font-size: 14px;
    padding-top: 19px;
}

.gdpr-banner .holder{
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
}

.gdpr-banner .holder .text{
    width: 65%;

}

.gdpr-banner .holder .gdpr-cta{
    width: 14%;

}

.gdpr-banner .holder .gdpr-cta .cta.red{
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 20px;
    padding: 7px 30px;
    color: white;
    font-weight: bold;
    text-align: center;
    margin: 0 25px;
}

.gdpr-banner .holder .links{
    width: 22%;

}

.gdpr-banner .holder .links .link{
    text-transform: uppercase;
    color: #C90707;
    font-weight: bold;
    cursor: pointer;
}

.gdpr-banner .holder .links .link:hover{
    text-decoration: underline;
}

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

    body.with-gdpr #content.site-content {
        margin-top: 230px;
    }

    body.with-gdpr #masthead.site-header {
        padding-top: 230px;
    }

    .gdpr-banner .holder{
        max-width: initial;
        margin: 0 auto;
        display: block;
        text-align: center;
    }

    .gdpr-banner{
        height: 230px;
    }

    .gdpr-banner .holder .text{
        width: 100%;

    }

    .gdpr-banner .holder .gdpr-cta{
        width: 100%;

    }

    .gdpr-banner .holder .links{
        width: 100%;

    }
}


div#menu-social.menu img,
div#menu-social-footer.menu img{
    outline: none;
    display: block;
    margin: 10px auto;
}

ul#menu-social-items.menu-items{
    display: flex;
    justify-content: center;
}

ul#menu-social-items-footer.menu-items{
    display: flex;
    justify-content: center;
}

.copyright .footer-links{
    display: flex;
    justify-content: center;

}

.copyright .footer-links > *{
    display: block;
    margin-right: 3px;
}

/*iPad fix*/

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

    /*Header*/
    .site-header {
        padding: 0 !important;
    }

    /*Footer Logo*/
    a.movie-logo.responsive-menu{
        width: 50%;
        margin: 0 auto;
    }

    /*Cover video*/
    body.home div#content.site-content .movie {
        left: 0;
        top: 115px;
    }


}

@media screen and (max-width: 1024px) and (min-width: 678px){

    /*GDPR banner*/
    .gdpr-banner{
        padding-top: 1px;
    }

    .gdpr-banner .holder{
        max-width: initial;
    }
    .gdpr-banner .holder .text{
        max-width: initial;
        margin: 0 auto;
        display: block;
        text-align: center;
        width: 50%;
        margin-left:5px;
    }
    .gdpr-banner .holder .gdpr-cta {
        margin-top: 18px;
        width: 20%;
    }
    .gdpr-banner .holder .links {
        width: 25%;
        margin-top: 25px;
    }

    /*Cover text*/
    body.home div#content.site-content .site-main {
        left: 50px;
        top: 165px;
    }
}

body #page #primary input[type=checkbox]{
    margin-right: 5px;
}

body #post-1569 .wp-block-button__link.disabled{
    opacity: 0.1;
}

body #post-1569 .wp-block-button__link{
    background-color: #C90707;
    color: white;
}

body #post-1569 .wp-block-button__link:not(.disabled):hover{
    text-decoration: none;
    color: white !important;
    opacity: 0.8;
}

/** Optanon **/
.optanon-show-settings-button.optanon-toggle-display{
    display: flex;
    /* background: red; */
    width: 362px;
    height: 50px;
    position: fixed;
    text-align: center;
    left: 0;
    bottom: -7px;
    justify-content: center;
    padding-top: 15px;
}