/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** SECTION 1 - START HERE   ***************/

@font-face {
    font-family: 'tropicalbeachy';
    src: url('../flatsome-child/fonts/tropicalbeachy/TropicalBeachy-Regular.woff2') format('woff2'),
         url('../flatsome-child/fonts/tropicalbeachy/TropicalBeachy-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
h1, h2, h3, h4, h5{
    font-family: 'tropicalbeachy', serif !important;
}
.alt-font{
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
}
h1, .h1, .banner h1, h1.uppercase {
	font-size: 4.7em;
	line-height: 1.15em;
    letter-spacing: .01em;
	margin-bottom: .1em;
}
h2, .h2, .banner h2, h2.uppercase{
	font-size: 3em;
    line-height: 1.2em;
    letter-spacing: .01em;
    margin-bottom: .2em;
}
h3, .h3, .banner h3, h3.uppercase {
	font-size: 2.0em;
    line-height: 1.25em;
    margin-bottom: .25em;
	letter-spacing: .01em;

}
h4, .h4, .banner h4, h4.uppercase {
	font-size: 1.05em;
		margin-bottom: .3em;
}
@media only screen and (min-width: 1100px) {
    .scale h2{
        font-size: 5.3em !important;
    }
}
.scale h2{
    font-size: 7vw;
}
.uppercase{
    letter-spacing: 0 !important;
}

/*MAIN HEADER + NAV STYLING*/

#masthead{
    border-bottom: 2px solid rgb(207, 211, 220);
}
.nav-size-medium>li>a{
    font-size: .95em;
}
.nav-spacing-xlarge>li {
    margin: 0 20px;
}
.nav > li.active > a, .mobile-nav a, .nav-column>li>a, .nav-dropdown>li>a, .nav-vertical-fly-out>li>a{
    color: var(--primary-color) !important;
}
.nav > li.active > a:hover, .mobile-nav a:hover, .nav-column>li>:hover, .nav-dropdown>li>a:hover, .nav-vertical-fly-out>li>a:hover{
    color: var(--secondary-color) !important;
}
#top-bar .social-icons a{
    font-size: 1.5em;
}
#top-bar .html.custom a{
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.15em;
    letter-spacing: .1em;
}
.social-icons a  {
    color: var(--primary-color);
}
.social-icons a:hover, #top-bar .html.custom i, .off-canvas .sidebar-menu a:not(.button):not(.social-icons a):hover {
    color: var(--secondary-color);
}
.off-canvas-left .mfp-content, .off-canvas-right .mfp-content{
    background-color: #fff;
}
.off-canvas .sidebar-menu a:not(.button):not(.social-icons a){
    color: var(--primary-color);
    font-size: .9em;
    letter-spacing: .1em;
}
.off-canvas .social-icons a{
    font-size: 1.4em;
}
.col.overlap-front{
    z-index: 99;
}

/*BUTTON STYLING*/

.button {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	letter-spacing: 0;
}
.button.white i, .button.primary i, .button.success i, #footer .social-icons a:hover, ul li.bullet-arrow:before, ul li.bullet-checkmark:before, ul li.bullet-star:before{
    color: var(--secondary-color);
}
.button.white:hover{
    box-shadow: none;
}
.button.white:not(.button.white.is-outline):not(.button.white.is-underline):not(.button.white.is-link) span, .button.white:not(.button.white.is-underline):not(.button.white.is-link):hover span{
    color: var(--primary-color);
}
.button.secondary.is-outline:not(.dark .button.secondary.is-outline) span{
    color: var(--primary-color);
}
.button.secondary.is-outline:not(.dark .button.secondary.is-outline):hover span{
    color: #fff;
}
ul li.bullet-arrow, ul li.bullet-checkmark, ul li.bullet-star, ul li.bullet-cross{
    border: none;
    padding: 5px 0 5px 23px;
}

/* OTHER STYLING */

.section-boxed{
    width: inherit;
    margin-left: 3%;
    margin-right: 3%;
}
.gform-footer .button{
    margin-right: 0;
}
.gform_required_legend{
    display: none;
}
legend{
    text-transform: none;
    border: none;
}
.gfield-choice-input{
    margin-bottom: 0 !important;
}

/* BLOG */

#post-list .image-cover{
    padding-top: 70% !important;
}
#post-list .post-item>.col-inner:not(:hover){
    box-shadow: none !important;
}
#post-list .post-item .box-text{
    /*background-color: var(--primary-color);
    color: #fff;*/
    padding: 25px 10px;
    /*border-radius: 0 0 25px 25px;
    -webkit-border-radius: 0 0 25px 25px;
    -moz-border-radius: 0 0 25px 25px;*/
}
/*#post-list .box-blog-post{
    background-color: var(--primary-color);
}*/
#post-list .post-item>.col-inner:hover .box-image{
    opacity: .6;
}
/*#post-list .post-item .box-image, .flickity-slider .box-blog-post .box-image{
    border-radius: 25px 25px 0 0;
    -webkit-border-radius: 25px 25px 0 0;
    -moz-border-radius: 25px 25px 0 0;
}
.flickity-slider .box-blog-post .box-text{
    border-radius: 0 0 25px 25px;
    -webkit-border-radius: 0 0 25px 25px;
    -moz-border-radius: 0 0 25px 25px;
}
#post-list .col.post-item, #post-list .post-item>.col-inner, #post-list .box, .blog-single .article-inner.has-shadow{
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
}*/
#post-list h5.post-title{
    /*color: #fff;*/
    font-size: 1.7em;
    font-weight: 300 !important;
}
.box-blog-post .is-divider, .blog-single .entry-header .is-divider{
    /*max-width: 200px;
    background-color: var(--secondary-color);
    margin: .8em auto;*/
    display: none;
}
.from_the_blog_excerpt {
    display: none;
}
.blog-single .article-inner.has-shadow{
    transform: none !important;
    box-shadow: 0 30px 40px 0 rgba(0, 0, 0, .2) !important;
}
.blog-single h1, .blog-single h2, .blog-single h3, .blog-single h4, h1.page-title{
    font-weight: 300 !important;
}
h1.page-title{
    text-transform: none;
    font-size: 3em;
}
blockquote{
    font-size: 100%;
    color: inherit;
    font-style: inherit;
    margin-left: 18px;
    border-color: var(--secondary-color);
}
.blog-single .entry-content ul li, .blog-single .entry-content ol li{
    margin-left: 18px;
}
.article-inner.has-shadow .entry-header-text-top {
    padding: 2.5em 2em;
    background-color: var(--primary-color);
    /*border-radius: 25px 25px 0 0;
    -webkit-border-radius: 25px 25px 0 0;
    -moz-border-radius: 25px 25px 0 0;*/
}
.article-inner.has-shadow .entry-content{
    padding: 2.5em 3.5em 2em;
}
/*.article-inner .entry-header h1, .article-inner .entry-header h6 a{
    color: #fff;
}*/
.alignright, .alignleft, .aligncenter{
    margin-top: .5em;
    margin-bottom: .5em;
}
@media screen and (min-width: 850px) {
    .blog-archive .row>.large-10, .blog-single .row>.large-10 {
        flex-basis: 100%;
        max-width: 100%;
    }
}


/*************** SECTION 2 - MOBILE QA FIXES ONLY  ***************/
@media only screen and (max-width: 549px) {
    .header-main {
        height: 80px !important;
    }
    #logo {
        width: 250px !important;
    }
    h1, .h1, .banner h1, h1.uppercase {
	   font-size: 2.7em;
    }
    h2, .h2, .banner h2, h2.uppercase{
	   font-size: 2.1em;
    }
    h3, .h3, .banner h3, h3.uppercase {
	   font-size: 1.5em;
    }
    .scale h2{
        font-size: 6.4vw;
    }
    .article-inner.has-shadow .entry-content{
        padding: 2em;
    }
    h1.page-title{
        font-size: 2.3em;
    }
    p .alignleft, p .alignright, .entry-content .alignleft, .entry-content .alignright{
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

}

/*************** SECTION 3 - MEDIUM GRID AND UP  ***************/
@media only screen and (min-width: 550px) and (max-width: 850px) {
    .header-main {
        height: 80px !important;
    }
    #logo {
        width: 250px !important;
    }
    h1, .h1, .banner h1, h1.uppercase {
	   font-size: 3.7em;
    }
    h2, .h2, .banner h2, h2.uppercase{
	   font-size: 2.5em;
    }
    h3, .h3, .banner h3, h3.uppercase {
	   font-size: 1.7em;
    }
    .scale h2{
        font-size: 6.8vw;
    }
    h1.page-title{
        font-size: 2.6em;
    }
    p .alignleft, .entry-content .alignleft {
        display: inline;
        float: left;
        margin-right: 1.5em;
    }
    p .alignright, .entry-content .alignright{
        display: inline;
        float: right;
        margin-left: 1.5em;
    }
    
}

/*************** SECTION 4 - Midsize 1  ***************/
@media only screen and (min-width: 850px) and (max-width: 950px) {
    .nav-size-medium>li>a{
        font-size: .9em;
    }
    .nav-spacing-xlarge>li {
        margin: 0 10px;
    }
}

/*************** SECTION 4 - DESKTOP AND UP  ***************/
@media only screen and (min-width: 1000px) {
    
}