/*
 Theme Name:   Biosphere Child
 Theme URI:    http://themeforest.net/user/DanyDuchaine
 Description:  Biosphere Child Theme
 Author:       DanyDuchaine
 Author URI:   http://themeforest.net/user/DanyDuchaine
 Template:     biosphere
 Version:      1.0.9
 License:      GNU General Public License version 3.0
 License URI:  http://www.gnu.org/licenses/gpl-3.0.html
 Tags:         biosphere, donation, woocommerce, buddypress, bbpress, events, products
 Text Domain:  biospherechild
*/

@font-face {
    font-family: 'DINPro';
    src: url('./css/font/DINPro.eot');
    src: url('./css/font/DINPro.eot?#iefix') format('embedded-opentype'),
        url('./css/font/DINPro.woff2') format('woff2'),
        url('./css/font/DINPro.woff') format('woff'),
        url('./css/font/DINPro.ttf') format('truetype'),
        url('./css/font/DINPro.svg#DINPro') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINPro';
    src: url('./css/font/DINPro-Bold.eot');
    src: url('./css/font/DINPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('./css/font/DINPro-Bold.woff2') format('woff2'),
        url('./css/font/DINPro-Bold.woff') format('woff'),
        url('./css/font/DINPro-Bold.ttf') format('truetype'),
        url('./css/font/DINPro-Bold.svg#DINPro-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINPro';
    src: url('./css/font/DINPro-Medium.eot');
    src: url('./css/font/DINPro-Medium.eot?#iefix') format('embedded-opentype'),
        url('./css/font/DINPro-Medium.woff2') format('woff2'),
        url('./css/font/DINPro-Medium.woff') format('woff'),
        url('./css/font/DINPro-Medium.ttf') format('truetype'),
        url('./css/font/DINPro-Medium.svg#DINPro-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINPro';
    src: url('./css/font/DINPro-Light.eot');
    src: url('./css/font/DINPro-Light.eot?#iefix') format('embedded-opentype'),
        url('./css/font/DINPro-Light.woff2') format('woff2'),
        url('./css/font/DINPro-Light.woff') format('woff'),
        url('./css/font/DINPro-Light.ttf') format('truetype'),
        url('./css/font/DINPro-Light.svg#DINPro-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}



#header {
    background-color: #fff !important;
    width:100%;
}
#logo img {
    left: -5px;
    position: relative;
}
.top-header {
    flex-wrap: wrap;
    margin-right: -50px;
    margin-left: -50px;  
}
.top-header .cols {
    width: 50%;
    float: left;
}

.top-header #nav {
    margin-left: 50px;
    margin-top: 20px;
    width: 100%;
}

.top-header #nav > div {
    margin-right: 0; 
    /* width: 31%; */
    float: left;
}

.top-header #nav .sf-menu {
    border-left: 1px solid #998031;
    padding-right: 25px;
}
.top-header #nav .sf-menu > li > a {
    color: #998031;
    letter-spacing: 1px;
    font-size: .8rem;
    font-family: "DINPro";
    text-transform: uppercase;
    font-weight: bold;
}
.top-header #nav .sub-menu li a {
    font-size: .8rem;
    font-family: "DINPro";
    text-transform: uppercase;
    font-weight: bold;
}
.top-header #nav .sub-menu li a:hover {
    color: #998031;
}
.top-header #nav #menu-third-row .sf-menu li:hover ul {
    right: auto;
}
.top-header #nav #menu-third-row ul.sub-menu {
    position: absolute;  
    z-index: 99;
    top:-7px;
    left: -250px;    
    padding-right: 15px;
}
.top-header #nav #menu-third-row .sub-menu > li:first-child:after {
    border-right-color: transparent;
    border-left-color: #22303b;  
    border-width: 7px;
    right: -14px;
    top: 9px;
}
#slider {
    background: #ececec;
}
.top-header #nav .sf-menu > li > a:hover {
    color: #000;
}
#bottom-header > .container {
    background-color: #998031;
}
#bottom-header > .container::before {
    content: "";
    background: url('images/header-bottom-bg.png') no-repeat;
    background-size: 350px;
    width: 100%;   
    height: 100%; 
    position: absolute;
    display: inline-block;
    top:0;
}
.b-h-container {
    height: 60px;
    line-height: 60px;
}
.b-h-container > .columns  {
    height: 60px;
}
.b-h-container #header-social {
    float: none;
    margin:0;
    display: inline-block;
    padding-left: 40px;
}
.b-h-container .columns {
    margin-right: 0;
}
ul.social-icons  li > a {
    display: inline-block;
    line-height: 25px;
    width: 20px;
    height: 20px;
    border-radius: 36px;
    background-color: #ffffff;
    color: #998031;
    margin: 0 3px 3px 0;
}
ul.social-icons > li > a:hover {
    text-decoration: none;
    background-color: #998031;
}
#bottom-header #header-user-links {
    width: 100%;
    margin-top:25px;
    display: inline-block;
}
#bottom-header #header-user-links a {
    color: #fff;
    font-family: "DINPro";
    text-transform: uppercase;
    font-weight: bold;
}
#bottom-header #header-user-links a:first-child {
    border: none;
}
#bottom-header #header-user-links .cols {
    width: 50%;
    float:left;
}
#bottom-header #header-user-links .cols > a {
    width: 100%;
}
#bottom-header #header-user-links .cols:first-child {
    left: 21px;
    position: relative;
}
#bottom-header #header-user-links .cols:last-child {
    left: 57px;
    position: relative;
}
.main-container {
    background: #e0ddd5;
}
.main-container > .slider-carousel {
    background: #fff;
}
#flexslider-slider .slide-info {
    background:none;
    width: 700px;
    box-shadow: none;  
    bottom: 0;
}
#flexslider-slider .slide-info-inner {
    background-color: rgb(0 0 0 / 40%);
    box-shadow: none;
    height: 150px;
}
#flexslider-slider .slide-info-extra {
    display: none;
}
#flexslider-slider .slide-title {
    font-size: 2.3rem;
    padding-bottom: 20px;    
    font-family: "DINPro";
    text-transform: uppercase;
    font-weight: bold;    
}
#flexslider-slider .slide-title-read-more > a {
    color:#fff;
    font-size:1rem;
    font-family: "DINPro";
    text-transform: uppercase;
    font-weight: bold;
}

#flexslider-slider .slide-title-read-more > a:hover {
    color: #000;
}
.home .slides {
    padding-bottom: 0;
}

#carousel {  
    background: #fff;
    border-left: #998031 solid 1px;
    border-right: #998031 solid 1px;
    position: relative;
    zoom: 1;   
    -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
    -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
    box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}

#carousel ul.slides > li {  
    border-right: #998031 solid 1px;
    min-height: 63px;
    cursor: pointer; 
    margin: 0;
    /* padding: 0 5px; */
}

#carousel ul.slides > li:last-child {
    border-right:none;
}
#carousel ul.slides > li > div {  
    height: 30px;   
    /* text-align: center; */
    line-height: 63px;
    padding: 15px;
}

#carousel ul.slides > li .carousel-title {
    color: #998031;
    font-size: .8rem;   
    font-family: "DINPro";
    line-height: 1;
    text-transform: uppercase;
    font-weight: 500;  
    display: inline-block;
    vertical-align: top;
    line-height: normal;
}

.custom-navigation {
    display: table;
    width: 100%;
    table-layout: fixed;
    position: absolute;
    bottom: 5px;
    z-index: 9;
    right: 20px;
}
.navigation-box {
    width: 150px;
}
.custom-navigation .custom-navigation-viewpoint {
    overflow: hidden;
    position: relative;
}

.custom-navigation > * {
    display: table-cell;
}

.custom-navigation > a {
    width: 50px;
}

.custom-navigation .flex-next {
    text-align: right;
}

.custom-navigation .flex-control-nav {
    position: relative;
    bottom: auto;
}

.custom-navigation .flex-control-nav {
    float: right;
    right: 20px;   
}

.custom-navigation .flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;   
}
.custom-navigation .flex-control-paging li a {
    width: 15px;
    height: 15px;
    display: block;
    background:#fff;
    border: 1px solid #998031;
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -moz-box-shadow:    inset 1px 1px 0px 0px #181818;
   -webkit-box-shadow: inset 1px 1px 0px 0px #181818;
   box-shadow:        inset 1px 1px 0px 0px #181818;
}
.custom-navigation .flex-control-paging li a.flex-active {
    background: #767676;
}


#search-content .searchform {   
    width: 380px;
    margin-bottom: 20px;
}

#search-content .searchform  #s {
    width: 262px;
}

#search-content .searchform  #searchsubmit {
    line-height: 25px;
}

#search-content h3 {
    font-size: 26px;
    color: #E52322;
    padding-top: 20px;
}

.search-results #search-2, #sidebar-inner #search-2 {
    display: none;
}

.blog-listing-style-2 .blog-post-author {
    font-size: 16px;
    color:#565D63;
    padding-bottom: 15px;
    font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.page-post-content .searchform {
    width: 380px;
    margin-bottom: 20px;
}

.page-post-content .searchform  #s {
    width: 285px;
}

.page-post-content .searchform  #searchsubmit {
    line-height: 25px;
}

/* #carousel-nav-dot {
    width: 140px;
    position: absolute;
    bottom: 10px;
    right: 25px;
    z-index: 99;
}
#carousel-nav-dot .carousel-dot-container {  
    position: relative;
    zoom: 1;
}

#carousel-nav-dot .carousel-dot-container ul.slides li a {
    width: 15px;
    height: 15px;
    display: block;
    background:#fff;
    border: 1px solid #998031;
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -moz-box-shadow:    inset 1px 1px 0px 0px #181818;
   -webkit-box-shadow: inset 1px 1px 0px 0px #181818;
   box-shadow:        inset 1px 1px 0px 0px #181818;
}

#carousel-nav-dot .carousel-dot-container ul.slides li.flex-active-slide a {
    background: #767676;
} */

@media only screen and (max-width: 767px) {
    .top-header {
        flex-wrap: auto; 
        margin-right: auto;
        margin-left: auto;
    }
    .top-header .cols {
        width: 100%;
    }
    #bottom-header {
        background: #998031;
    }
    #bottom-header > .container::before {
        display: none;
    }
    #bottom-header #header-user-links .cols:first-child {
        left: auto;
        position: relative;
    }
    #bottom-header #header-user-links .cols:last-child {
        left: auto;
    }
    .b-h-container {
        line-height: normal;
    }
    .b-h-container > .columns {
        height: auto;
    }

    .b-h-container .three.columns,  .b-h-container .four.columns {
        width: 100%;
    }

    .b-h-container #header-social {
        margin: 10px 0 !important;
        width: 100%;
        padding:0;
    }
    .b-h-container #header-user-links {
        margin: 10px 0  !important;
    }
    #slider .custom-navigation, #carousel {
        display: none;
    }
}
@media only screen and (max-width: 479px) {
    .b-h-container .three.columns,  .b-h-container .four.columns {
        width: 100% !important;
    }
}