/*
Theme Name: Clevernet Starter Theme
Theme URI: http://clevernet.pt
Author: rferreira
Author URI: http://clevernet.pt
Template: twentyseventeen
Description: Clevernet Starter Theme
Version: 1.0
Text Domain: clvntheme
*/

/* Clevernet logo */

@font-face {
    font-family: 'Clevernet';
    src: url('fonts/clevernet/Clevernet-webfont.eot');
    src: url('fonts/clevernet/Clevernet-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/clevernet/Clevernet-webfont.woff') format('woff'), url('fonts/clevernet/Clevernet-webfont.ttf') format('truetype'), url('fonts/clevernet/Clevernet-webfont.svg#OSPDIN') format('svg');
    font-weight: normal;
    font-style: normal;
}
.clvn_logo1st,
.clvn_logo2nd {
    font-family: 'Clevernet';
    color: #999;
}
.clvn_logo2nd {
    color: #006699;
}
.separator {
    border-top: 2px solid #000;
}
.site-info {
    text-align: center;
    text-transform: uppercase;
    color: #000;
    font-size: 0.7rem;
    padding: 0.1rem 0;
}
.site-info p {
    margin-bottom: 0;
}
.backTop {
    color: rgb(235, 239, 197);
    vertical-align: middle;
}
.footer {
    background: #3c3c3c;
}
a,
a:link,
a:visited,
.navbar-inverse .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.navbar-light .navbar-nav .nav-link {
    color: #3c3c3c;
}
a:hover,
a:focus,
.navbar-inverse .navbar-nav .nav-link:hover,
.navbar-inverse .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    text-decoration: none;
    color: rgb(189, 202, 64);
}
.navbar-inverse .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.active {
    color: rgb(189, 202, 64);
}
#bs4navbar {
    height: 50px;
}
.navbar-nav {
    padding-top: 1.7rem;
    padding-left: 5rem;
}
.navbar-brand {
    margin-left: 1.5rem;
}
.navLogo {
    width: 200px;
}
.navbar-inverse .navbar-nav li,
.navbar-light .navbar-nav li {
    margin-right: 1rem;
}
/*.navbar-inverse .navbar-nav li:nth-last-child(4),
.navbar-light .navbar-nav li:nth-last-child(4) {
    margin-right: 3rem;
}
.navbar-inverse .navbar-nav li:nth-last-child(3),
.navbar-light .navbar-nav li:nth-last-child(3) {
    margin-right: 0;
}*/
.bg-dark {
    background: #3c3c3c;
}
.bg-white {
    background: #fff;
}
.navbar-toggler:hover {
    cursor: pointer;
}
.navbar-toggler {
    border:none;
    margin-top: 1rem;
}
.menu-header-search {
    position: absolute;
    right: 3rem;
}
.lang-item-5, .lang-item-2 {
    position: absolute;
    right: 0;
    margin-top: -0.3rem;
    margin-right: 0.5rem !important;
}
.lang-item-2 {
    margin-right: 2rem !important;
}   
.social-navigation {
    font-size: 16px;
    font-size: 1rem;
    /*margin-bottom: 1em;*/
    text-align: center;
}
.social-navigation ul {
    list-style: none;
    margin-bottom: 0;
    margin-left: 0;
    padding-left: 0;
}
.social-navigation li {
    display: inline;
}
.social-navigation a {
    /*background-color: #767676;
    -webkit-border-radius: 40px;
    border-radius: 50px;
    height: 50px;*/
    color: #fff;
    display: inline-block;
    text-align: center;
    width: 50px;
}
.social-navigation a:hover,
.social-navigation a:focus {
    /*background-color: #666;*/
}
.social-navigation i {
    margin-top: 8px;
}
body {
    font-family: 'Noto Sans', sans-serif;
}
.fullscreen-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: background-image 1.5s linear;
    -moz-transition: background-image 1.5s linear;
    -webkit-transition: background-image 1.5s linear;
}
.fullscreen-bg img {
    max-width: 100%;
    height: 100%;
}
.overlay {
    height: 100vh;
    width: 100%;
}
.overlayTxt {
    position: relative;
    margin-top: 70vh;
}
.headerTxt {
    color: #fff;
    padding-left: 15rem;
}
.headerTxt p {
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: 2px;
}
.headerSubtitle {
    font-family: 'Marcellus', serif;
    font-weight: bold;
    font-size: 4rem;
    letter-spacing: 3px;
}
.history,
.region,
.contacts,
.images {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 93vh;
}
.historyExt,
.regionExt {
    display: none;
}
.history p,
.region p {
    padding: 0 2.5rem;
    font-size: 0.8rem;
    text-align: justify;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.history p.readMore,
.region p.readMore,
.imagens p.readMore,
.fullWidth p.readMore {
    margin-top: 4rem;
    text-transform: uppercase;
    color: rgb(189, 202, 64);
    font-size: 0.9rem;
    text-align: center;
}
.history p.readMore:hover,
.region p.readMore:hover,
.imagens p.readMore:hover,
.fullWidth p.readMore:hover {
    cursor: pointer;
}
.fullWidth p.readMore {
    margin-top: 1rem;
}
.region {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.contacts a,
.contacts a:link,
.contacts a:visited,
.history a,
.history a:link,
.history a:visited,
.cslLink,
.cslLink:link,
.cslLink:visited {
    color: #000;
    text-transform: none;
}
.history a,
.cslLink {
    font-size: 0.8rem;
    text-decoration: underline;
}
.contacts a:hover,
.contacts a:focus,
.history a:hover,
.history a:focus,
.cslLink:hover,
.cslLink:focus {
    color: rgb(189, 202, 64);
}
.contacts .contactTitle a {
    text-transform: uppercase;
}
.contactTitle {
    text-transform: uppercase;
    font-weight: bold;
    margin: 4rem 0 0 0;
    font-size: 0.9rem; 
}
.contactText {
    font-size: 0.8rem;
    margin-bottom: 0;
}
#imagens, #imagensMobile {
    background: #fff;
    padding: 2rem 0;
    height: 93vh;
}
.txtCol {
    background: #fff;
    height: 100%;
    padding: 10rem 0 0 0;
}
.contacts .txtCol {
    padding: 6rem 1rem 1rem 1rem;
}
#vinhos {
    background: #fff;
    padding: 4rem 0 2rem 0;
}
.sectionTitle, .sectionTitlePage {
    color: rgb(189, 202, 64);
    font-family: 'Marcellus', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}
.sectionTitlePage {
    font-size: 2rem;
}

/* Carousel */

#wineCarousel, .wineFilters p {
    text-transform: uppercase;
    overflow: hidden;
}
#wineCarousel img {
    max-height: 450px;
    display: initial;
}
#wineCarousel img:hover {
    cursor:pointer;
}
.slideshowThree img {
    margin: 0 auto;
    max-height: 75vh;
}
#wineCarousel p, .wineFilters p {
    margin-bottom: 0;
    font-weight: bold;
    font-size: .9rem;
}
#wineCarousel p:hover, 
.wineFilters p:hover,  
.wineSearchBtn {
    cursor: pointer;
}
#wineCarousel p span {
    color: rgb(189, 202, 64);
    vertical-align: text-bottom;
    font-weight: normal;
}
#wineCarousel small {
    font-size: 0.5rem;
    display: block;
}
#wineCarousel .prev, 
#wineCarousel .next,
.slideshowThree .prev, 
.slideshowThree .next {
    color: rgb(189, 202, 64);
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    padding: 0;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    left: 1rem;
    z-index: 9;
}

#wineCarousel .next,
.slideshowThree .next {
    right: 1rem;
    left: initial;
}

/* End Carrousel */


/* Modal fullscreen */

.modal.modal-fullscreen .modal-dialog,
.modal.modal-fullscreen .modal-content {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.modal.modal-fullscreen .modal-dialog {
    margin: 0;
    min-width: 100%;
    animation-duration: 1s;
}
.modal.modal-fullscreen .modal-content {
    border: none;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: inherit;
    -moz-box-shadow: inherit;
    -o-box-shadow: inherit;
    box-shadow: inherit;
    /*background:#ebefc5;*/
}
.modal.modal-fullscreen.force-fullscreen {
    /* Remove the padding inside the body */
}
.modal.modal-fullscreen .modal-body {
    padding: 0;
    height: 100%;
    overflow-y: hidden;
}
.modal.modal-fullscreen.force-fullscreen .modal-header,
.modal.modal-fullscreen.force-fullscreen .modal-footer {
    left: 0;
    position: absolute;
    right: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-header {
    top: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-footer {
    bottom: 0;
}

.modal.modal-fullscreen.force-fullscreen .modal-header .close {
    font-size: 2rem;
}

/* End Modal fullscreen */

.vinhos {
    background: #fff;
    height: 100%;
}
.wineFilters {
    border-bottom: 2px solid rgb(189, 202, 64);
    padding: 4rem 0 2rem 0;
    background: #fff;
}
.wineFilter {
    display: inline-flex;
    width: 24%;
    position: relative;
}
.wineFilter p {
    width: 100%;
}
.wineSearch {
    margin: 0 auto;
}
.wineFilter input {
    width: 120px;
    margin-right: 0.5rem;
    border: none;
    border-bottom: 1px solid #eee;
}
.dropdown-wrapper {
    position: absolute;
    left: 50%;
    display: none;
    margin-top: 2rem;
    top: 0;
}
.dropdown-content {
    border: 1px solid #ccc;
    text-align: left;
    border-radius: 6px;
    font-size: .9rem;
    box-shadow: 0px 0px 9px #eee;
    position: relative;
    left: -50%;
    z-index: 9;
    background: #fff;
}
.dropdown-content ul {
    list-style-type: none;
    margin-bottom: 0;
    padding: 0;
}
.dropdownItem {
    padding: 0rem 1rem;
    white-space: -moz-nowrap;
    white-space: -o-nowrap;
    white-space: nowrap;
    word-wrap: break-word;
}
.dropdownItem:hover {
    background:rgb(189, 202, 64);
    cursor: pointer;
}
.ownership p {
    text-transform: uppercase;
    margin: 3em 0;
    color: #fff;
    font-size: 0.8rem;
}
.detailNotasWrapper, 
.detailCastasWrapper, 
.detailDenominacaoWrapper, 
.detailAnaliseWrapper, 
.detailVindimaWrapper {
    display: none;
}
.detailTitle {
    text-transform: uppercase;
    color: rgb(189, 202, 64);
    font-weight: bold;
    margin: 0.5rem 0 0 0;
    font-size: .9rem;
}
.detailTxt {
    font-size: 0.8rem;
}
#detailImagem {
    background-repeat: no-repeat;
    background-size: 80vh;
    background-position-x: 40vw;
    background-position-y: -6vh;
    height: 100%;
    position: absolute;
    width: 100%;
}
#detailLogo {
    max-height: 100px;
}
.detailLink {
    margin: 0.5rem 0 0 0;
    text-transform: uppercase;
}
#detailBrochura, #detailBrochura:link, #detailBrochura:active {
    color: #000;
    border-bottom: 1px solid rgb(189, 202, 64);
    padding-bottom: 2px;
    font-size: .8rem;
}
.entry-header {
    margin-top: 8rem;
    text-align: center;
}
.searchBtn {
    padding-top: 0.4rem;
    color: #fff;
}
.searchBtn:hover {
    cursor: pointer;
    color: rgb(189, 202, 64);
}
.searchInput, .searchInputPage {
    display: none;
    background: transparent;
    border: 1px solid rgb(189, 202, 64);
    margin: 0 0.5rem;
    color: #fff;
    width: 125px;
    font-size: 0.9rem;
    padding: 0 0.5rem;
}
.searchInputPage {
    display: inline;
    color: #999;
    width: 200px;
    height: 30px;
}
.searchInput:focus, .searchInputPage:focus {
    outline-style:none;
    box-shadow:none;
}
.searchInputBtn {
    background: none;
    border: none;
    font-size: 1.5rem;
    vertical-align: middle;
}
.searchLnk a,
.searchLnk a:link,
.searchLnk a:visited,
.searchResultWrapper a,
.searchResultWrapper a:link,
.searchResultWrapper a:visited {
    color: #292b2c;
    text-transform: inherit;
    font-size: inherit;
    text-decoration: underline;
}
.searchResultWrapper a,
.searchResultWrapper a:link,
.searchResultWrapper a:visited {
    text-decoration: none;
}
.searchLnk a:hover,
.searchLnk a:focus,
.searchResultWrapper a:hover,
.searchResultWrapper a:focus {
    text-decoration: none;
    color: rgb(189, 202, 64);
}
.searchResultWrapper {
    border-bottom: 1px solid #eee;
    padding: 1rem;
}
.searchResultTitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0;
}
.searchResultImg {
    max-height: 350px;
}
.mobileBgs {
    display: none;
    height: 300px;
}
.loadingOverlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.2);
    text-align: center;
    display: none;
}
.loadingOverlay i {
    color: rgb(189, 202, 64);
    margin-top: 49vh;
}
.slideDeck {
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover !important;
}
.nextSlide {
    margin-left: 2rem;
    vertical-align: middle;
}
.prevSlide {
    margin-right: 2rem;
    vertical-align: middle;
}
.nextSlide:hover, .prevSlide:hover {
    cursor: pointer;
}
#imagensMobile {
    display: none;
}
.emptySearch {
    display: none;
}
.fullWidth {
    padding-left: 0;
    padding-right: 0;
}
@media (max-width: 1290px) {
    .navbar-nav {
        padding-left: 0rem;
    }
    #bs4navbar {
        height: initial;
    }
}

@media (max-width: 1199px) {
    .menu-header-search {
        position: initial;
        right: initial;
    }
    .lang-item-5, .lang-item-2 {
        position: initial;
        right: initial;
        margin-top: initial;
        margin-right: initial;
    }
}

@media (max-width: 1024px) {    
    .headerSubtitle {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    .history p,
    .region p {
        padding: 0 1rem;
    }
    .contactTitle {
        margin: 2rem 0 0 0;
    }
    .contacts .txtCol {
        padding: 5rem 1rem;
    }
    .sectionTitle {
        font-size: 3.4rem;
    } 
}
@media (max-width: 767px) {
    .navLogo {
        width: 150px;
    }
    .navbar-brand {
        margin-left: 0;
    }
    .navbar-inverse .navbar-nav li, 
    .navbar-light .navbar-nav li {
        text-align:right;
    }
    .headerSubtitle {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    .headerTxt {
        padding-left: 9rem;
    }
    #detailImagem {
        background-position-x: -20vw;
        opacity: 0.5;
    }
    #detailLogo {
        max-height: 80px;
    }
    .mobileBgs {
        display: inline;
    }
    .txtCol {
        padding: 5rem 0 0 0;
    }
    .history, .region, .contacts, .images, .vinhos {
        height: initial;
    }
    #wineCarousel img {
        max-height: 350px;
    }
    .fullWidth {
        padding: 0;
    }
    #imagensMobile {
        display: inherit;
    }
    #imagens {
        display: none;
    }
    .detailTxtWrapper {
        padding: 0 2vw 0 0;
    }
    .navbar-toggler {
        margin-top: 0.2rem;
    }
    .lang-item-5, .lang-item-2 {
        margin-right: 1rem !important;
    }
    #imgLess {
        display: none;
    }
    .wineFilters, #vinhos {
        padding: 1rem 0;
    }
    .wineFilter {
        width: 100%;
        margin-bottom: 2rem;
    }
    button.hideImages {
        /*position: absolute;
        right: 0;
        top: 0;*/
        display: none;
    }
}
@media (max-width: 500px) {
    .overlayTxt {
        margin-top: 60vh;
    }
    .headerTxt {
        padding-left: 0rem;
    }
    .contacts .txtCol {
        padding: 3rem 1rem;
    }
    .contactTitle {
        margin: 1rem 0 0 0;
    }
    .social-navigation, #privacy {
        padding-top: 3rem;
    }
}
/*@media (max-height: 725px) {
    .contacts .txtCol {
        padding: 3rem 1rem;
    }
    .contactTitle {
        margin: 2rem 0 0 0;
    }
}*/
