/*
Theme Name: Nirvana Child
Theme URI: https://wp-themes.com/nirvana
Author: ChildThemeWP.com
Author URI: https://childthemewp.com
Description: My WordPress Nirvana child theme.
Template: nirvana
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0.0
Text Domain: nirvana-child
*/

/*
 *  Fonts
 */

#content h4, #pp-afterslider h4 {
    font-size: 19px;
    width: 100%;
}
.pagination_container,
.hide {
    display: none !important;
}

/*
 *  lightbox
 */

.pswp__bg {
    opacity: 0.7 !important;
}

/*
 *  Socials
 */

#srights, #slefts {
    top: 13%;
    opacity: 0.8;
}

/*
 *  Book caroussel
 */

 .owl-wrapper {
     height: 6.5vw;
     margin-bottom: 10px;
 }
 .owl-stage-outer {
     padding: 6px;
 }
 .owl-stage .owl-item .item {
     transform: perspective(500px) rotateY(-26deg) scale(0.8);
     transition: 0.2s;
     z-index: 999;
     border-right: 8px solid #ddd;
 }
 .owl-stage .owl-item .item:hover {
     transform: perspective(400px) rotateY(-0deg) scale(1);
     border-right: 0px solid #ddd;
     transition: 0.2s;
     margin-bottom: 10px;
 }

/*
 *  Header
 */

#branding {
    height: 260px !important;
}
#masthead {
    position: relative;
    overflow: hidden;
}
.maarten-doorman {
    width: 100%;
    max-width: 200px;
    height: 100%;
    position: absolute;
    z-index: 2;
    left: 50%;
    margin-left: 430px;
}
.maarten {
    position: absolute;
    right: 0;
}
.maarten img {
    max-width: 370px;
    margin-top: 4%;
}
#access {
    position: relative;
    z-index: 2;
}
#masthead {
    background: rgb(194,223,255);
    background: -moz-linear-gradient(175deg, rgba(194,223,255,1) 0%, rgba(0,147,205,1) 100%);
    background: -webkit-linear-gradient(175deg, rgba(194,223,255,1) 0%, rgba(0,147,205,1) 100%);
    background: linear-gradient(175deg, rgba(194,223,255,1) 0%, rgba(0,147,205,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c2dfff",endColorstr="#0093cd",GradientType=1);
}
#site-title span a {
    font-weight: 500;
}

#site-description {
    font-size: 1.6em;
    line-height: 1em;
}
.header-quote {
    background: rgba(255,255,255,0.4);
    float: left;
    font-size: 1.1em;
    line-height: 1.3em;
    clear: both;
    font-weight: 500;
    margin-top: 20px;
    color: #333;
    width: auto;
    max-width: 60%;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.1);
}
.header-quote .crycon-quote:before {
    color: rgba(255,255,255,0.5);
    width: 1.3em;
    margin-left: 0em;
}
.header-quote .crycon-quote:after {
    color: rgba(255,255,255,0.5);
    content: '\e80f';
    font-family: "elusive";
    display: inline-block;
    width: 1em;
    margin-left: .2em;
    text-align: center;
    transform: rotate(180deg);
}
.header-quote .who {
    font-weight: 200;
    font-style: italic;
    display: block;
    margin-top: 10px;
}
.language-select {
    margin: 20px 0 0 20px;
}
.language-select a {
    content: url('img/uk.svg');
    width: 30px;
}
#access li.menu-main-search .searchform input[type="search"],
#access li.menu-main-search .searchsubmit[type="submit"] {
    height: 36px;
}
#access li.menu-main-search {
    margin-top: 10px;
}

/*
 *  Homepage
 */

.home #content {
    display: flex;
}
#half_page {
    flex-basis: 50%;
}
#half_page.first {
    margin-right: 30px;
}
#half_page.second {
    margin-left: 30px;
}
#half_page img {
    max-width: 130px;
}
#half_page a.continue-reading-link {
    margin-top: 20px;
}

/*
 *  Template page
 */

.template-page {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}
.template-page article {
    flex-basis:  calc(33.33333% - 40px);
    margin: 0 20px 40px 20px;
}
.template-page img {
    max-width: 130px;
}
.template-page a.continue-reading-link {
    margin-top: 20px;
}

/*
 *  Gallery page
 */

h2.gallery-title {
    margin-bottom: 40px;
}
#third_page a {
    color: #555555;
}
#third_page.third h4 {
    width: 100%;
}
#third_page {
    width: calc(33.33333% - 30px);
    float: left;
}
#third_page.first,
#third_page.second {
    margin-right: 30px;
}
#third_page.third {
    display: flex;
    flex-flow: wrap;
}
#third_page article {
    flex: 1 0 40%;
}
#third_page.third article:nth-child(2n+2) {
    margin-right: 20px;
}
#third_page img {
    max-width: 130px;
}
#third_page a.continue-reading-link {
    margin-top: 20px;
}
#third_page.third img {
    max-width: 175px;
    width: 100%;
}


/*
 *  Reviews page
 */

h2.category-title {
    margin-bottom: 40px;
    text-transform: capitalize;
}
.reviews-page h4 {
    display: inline-block;
}
.reviews-page {
    margin: 0 -20px;
}
.reviews-page,
.info-row {
    display: flex;
    flex-wrap: wrap;
}
.info-block {
    background: #e7f3fa;
    padding: 20px 30px 20px 20px;
    margin: 3px 0 15px 0px;
    display: inline-block;
}
.info-title {
    width: 136px;
    font-weight: 700;
}
.reviews-page .column {
    flex-basis:  calc(33.33333% - 40px);
}
.reviews-page .column {
    margin: 0 20px;
}
.reviews-page img {
    max-width: 130px;
}
.reviews-page a.continue-reading-link {
    margin-top: 20px;
}

/*
 *  Search
 */

.search-results h2 {
    font-size: 20px !important;
    border-top: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
    padding: 13px 0 !important;
}
.page-title,
.contentsearch {
    width: 100%;
}
.search-results #content {
    display: flex;
    flex-wrap: wrap;
}
.search-results #content article {
    flex-basis:  calc(33.33333% - 40px);
}
.search-results #content article {
    margin: 0 20px;
}
.search-results #content img {
    max-width: 130px;
}
.search-results #content a.continue-reading-link {
    margin-top: 20px;
}

/*
 *  Links page
 */

#content tr td {
    border: none;
}


 /*
 *  Footer
 */

#footer2 {
    padding: 10px 0;
}
#footer2-inside em {
    position: absolute;
    left: -9999px;
}

@media (max-width: 1260px) {
    #header-container,
    #access {
        padding: 0 20px;
    }
    .owl-wrapper {
        height: 9vw;
    }
}
@media (max-width: 1260px) {
    .maarten-doorman {
        left: auto;
        right: 0;
        margin-left: 0;
    }
}
@media (max-width: 1024px) {
    #third_page {
        width: calc(50% - 30px);
    }
    #third_page.second {
        margin-right: 0px;
    }
    #third_page.third {
        margin-top: 50px;
        clear: both;
        width: 100%;
    }
    #third_page article {
        flex: 1 0 22%;
        margin-right: 20px;
    }
    .reviews-page .column,
    .thirds #third_page,
    .template-page article {
        flex-basis: calc( 50% - 40px );
    }
    .header-quote {
        margin-top: 20px;
        max-width: 44%;
        font-size: 14px;
    }
    #access li.menu-main-search {
        margin-top: 4px;
        max-width: 280px;
        margin: 0 auto;
        position: unset;
        float: none;
    }
    .searchform {
        width: 270px;
        margin: 0 auto 20px auto;
    }
    #access > .menu > ul {
        width: 760px;
        margin: 0 auto;
    }
}
@media (max-width: 992px) {
    .owl-wrapper {
        height: 12vw;
    }
}
@media (max-width: 800px) {
    #content {
        padding: 20px !important;
    }
    .template-page img,
    .reviews-page img {
        width: 40%;
    }
    #half_page.first {
        margin-right: 0px;
    }
    #half_page.second {
        margin-left: 0;
        margin-top: 50px;
    }
    .home #content {
        display: block;
    }
}
@media (max-width: 768px) {
    .continue-reading-link span {
        font-size: 12px;
    }
    .header-quote {
        display: none;
    }
    #access > .menu > ul {
        width: 622px;
    }
    .language.menu-item {
        margin: 20px 0 0 10px;
    }
    #access a > span {
        padding: 15px 8px;
    }
    .owl-wrapper {
        height: 19vw;
    }
    #branding {
        height: 150px !important;
    }
    .maarten img {
        max-width: 260px;
    }
}
@media (max-width: 648px) {
    .entry-summary img,
    .entry-content img {
        float: none;
        margin: 0 auto 20px;
        display: block;
    }
    .info-block {
        width: 100%;
        font-size: 14px;
    }
}
@media (max-width: 640px) {
    #site-title span a {
        font-size: 31px !important;
    }
    #site-description {
        font-size: 19px !important;
        line-height: 24px !important;
    }
    .nirvana-menu-left #nav-toggle {
        width: calc(100% - 80px);
    }
    .language-select.mobile {
        float: left;
        width: 80px;
        background: #3A3B3D;
        padding: 13px 20px;
        margin: 0;
    }
    .language-select.menu-item {
        display: none !important;
    }
}
@media (max-width: 620px) {
    #content .entry-title {
        width: 100%;
    }
    .template-page,
    .reviews-page {
        margin: 0px;
    }
    .template-page article,
    .reviews-page .column {
        flex-basis: calc( 100% );
        margin: 0 0 20px 0;
    }
    #third_page {
        width: 100%;
    }
    #third_page {
        margin: 0;
    }
    #third_page article {
        flex: 1 0 32%;
    }
    .maarten img {
        margin-right: -30px;
    }
}
@media (max-width: 480px) {
    .maarten img {
        max-width: 200px;
    }
    .owl-wrapper {
        height: 22vw;
    }
}
@media (min-width: 640px) {
    .language-select.mobile {
        display: none;
    }
}
@media (max-device-width: 640px) {
    #pp-afterslider h4,
    #content h1.entry-title,
    #content h2.entry-title {
        font-size: 20px !important;
    }
}
