/*
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   ***************/

.header-main .nav > li > a, body, .alt-font{
    font-family: 'Gabarito', sans-serif !important;
}

.uppercase{
    letter-spacing: 0 !important;
}

body {
    font-weight: 400 !important;

}
h1, .h1, .banner h1, h1.uppercase {
    font-size: 3.95em;
    line-height: 1.15em;
    margin-bottom: .2em;
}
h2, .h2, .banner h2, h2.uppercase {
    font-size: 2.95em;
    line-height: 1.2em;
    margin-bottom: .25em;
}
h3, .h3, .banner h3, h3.uppercase {
    font-size: 1.7em;
    line-height: 1.25em;
    margin-bottom: .25em;
}
h4, .h4, .banner h4, h4.uppercase {
    font-size: 1.35em;
    letter-spacing: .02em;
    line-height: 1.3em;
    margin-bottom: .3em;
}
h5, .h5, .banner h5, h5.uppercase {
    font-size: 1.1em;
    margin-bottom: .35em;
}
.transparent #masthead:not(.stuck #masthead){
    border-bottom: 3px solid rgba(255, 255, 255, .25);
}
.transparent #masthead.nav-dark .nav>li>a, #header .header-contact a{
    color: #fff;
}
.transparent #masthead.nav-dark .nav>li>a:hover, .nav-dropdown>li>a:hover, #header .header-contact a:hover, .has-dropdown .icon-angle-down, .off-canvas .sidebar-menu i, .off-canvas .sidebar-menu a:not(.button):not(.social-icons a):hover, .header-social-icons a, #footer a:not(.button):hover, .button.white:not(.button.white.is-outline):not(.button.white.is-underline):not(.button.white.is-link) i, .button.white.is-outline:hover i, .button.white:not(.button.white.is-outline):not(.button.white.is-underline):not(.button.white.is-link):hover span{
    color: var(--secondary-color);
}
#header .header-contact a{
    font-family: 'Gabarito', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
}

.transparent #logo img {
    max-height: 110px !important;
}

#logo img {
    padding: 5px 0 0 0 !important;
}

.transparent #masthead {
    background: #01203a;
    height: 100%;
}

.header-wrapper:not(.stuck) .header-main {
    margin-top: 1.2em;
}

.nav-dropdown>li>a, .header-social-icons a:hover, #footer a:not(.button){
    color: var(--primary-color);
}
#masthead .nav-size-medium>li>a{
    font-size: 1.15em;
}
#masthead .nav-spacing-xlarge>li {
    margin: 0 17px;
}
.shade-top {
    background: rgba(1,32,58,.5);
    background: linear-gradient(180deg,#01203a 0,transparent 95%);
    opacity: .9;
}
#top-bar .html.custom a{
    color: #fff;
    font-family: 'Gabarito', sans-serif;
    font-size: 1.3em;
    font-weight: 700;
}
#top-bar .html.custom a:hover{
    color: #000;
}
.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-family: 'Gabarito', sans-serif;
    font-size: .9em;
}
.header-social-icons a{
    font-size: 1.4em;
}
.off-canvas #header-contact a{
    font-size: 1.1em;
}
.off-canvas #header-contact{
    padding-top: 10px;
}
.button.success.is-outline{
    border-color: var(--success-color);
}
.button.alert.is-outline{
    border-color: var(--alert-color);
}
.button {
    font-weight: 700;
    font-family: 'Urbanist', sans-serif !important;
}
.button.white:not(.button.white.is-outline):not(.button.white.is-underline):not(.button.white.is-link) span, .button.white.is-outline:hover span{
    color: var(--primary-color);
}
.button:not(.button.is-small):not(.button.is-smaller):not(.button.is-large):not(.button.is-larger):not(.button.is-xlarge){
}
.dark .button.secondary.is-outline{
    color: #fff;
    border-color: var(--secondary-color);
}
.hero-gradient:before{
    content: '';
    display: block;
    z-index: 1;
    position: absolute;
    height: 100%;
    overflow: hidden;
    width: 100%;
    background: linear-gradient(to bottom,  rgba(0,0,0,0.1) 1%,rgba(0,7,13,0.1) 23%,rgba(1,26,47,0.67) 82%,rgba(1,32,58,0.67) 100%);
    /* Permalink: https://colorzilla.com/gradient-editor/#000000+1,01203a+100&0.1+23,0.67+82 */
}
.small-margin h5{
    margin-bottom: -0.3em;
}
.tpro-client-name{
    font-weight: 700 !important;
}

.inline.ux-menu {
    display: block;
    text-align: center!important;
}

.inline .ux-menu-link {
    display: inline-block;
    margin: 0 1em!important;
    text-transform: uppercase;
}
legend{
    border: none;
    text-transform: none;
}
.gfield-choice-input{
    margin-bottom: 0 !important;
}
.gform_wrapper.gravity-theme .gfield_header_item, .gform_wrapper.gravity-theme .gform_fileupload_rules, .gform_wrapper.gravity-theme .ginput_complex label{
    font-size: 13px;
}
ul li.bullet-arrow, ul li.bullet-checkmark, ul li.bullet-star{
    border: none;
    padding: 5px 0 5px 22px;
}
ul li.bullet-arrow:before, ul li.bullet-checkmark:before, ul li.bullet-star:before{
    color: var(--secondary-color);
}

/*Portfolio*/
.page-title.portfolio-featured-title {
    min-height: 400px;
    padding-top: 300px !important;
}
.portfolio-page-wrapper .page-title .title-overlay.fill{
    background-color: rgba(1, 32, 58, .65) !important;
}
.portfolio-element-wrapper li a {
    font-size: .8em;
    padding: 5px 0;
}
.portfolio-element-wrapper .nav-line-grow > li > a:before{
    background-color: var(--secondary-color);
}
.portfolio-box-title {
    font-size: 1.3em;
    text-transform: none;
    font-weight: 600;
}
.portfolio-box:hover .portfolio-box-title{
    color: var(--secondary-color);
}
.portfolio-box:hover{
    border-bottom: 2px solid var(--secondary-color);
}
.gallery-item a {
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.gallery-item a:hover, .portfolio-archive .portfolio-element-wrapper .image-cover img:hover {
    opacity: .5;
}
.has-transparent + #main > div > .page-title.normal-title{
    background-color: var(--primary-color);
    padding-top: 200px;
    margin-bottom: 50px;
}
.has-transparent + #main > div > .page-title.normal-title h1.entry-title{
    color: #fff;
    font-size: 2.8em;
    text-transform: none;
}
.portfolio-single-page .breadcrumbs{
    display: none;
}

/*************** SECTION 2 - MOBILE QA FIXES ONLY  ***************/
@media only screen and (max-width: 549px) {
   
    h1, .h1, .banner h1, h1.uppercase{
		font-size: 2.4em;
    }
    h2, .h2, .banner h2, h2.uppercase{
		font-size: 1.85em;
    }
    h3, .h3, .banner h3, h3.uppercase{
		font-size: 1.5em;
    }
    h4, .h4, .banner h4, h4.uppercase{
		font-size: 1.25em;
    }
    .has-transparent + #main > div > .page-title.normal-title h1.entry-title{
        font-size: 2.0em;
    }
    .has-transparent + #main > div > .page-title.normal-title{
        margin-bottom: 10px;
    }
    
    .header-wrapper:not(.stuck) .header-main {
        margin-top: 0;
    }

}

/*************** SECTION 3 - MEDIUM GRID AND UP  ***************/
@media only screen and (min-width: 550px) and (max-width: 850px) {
    
    h1, .h1, .banner h1, h1.uppercase{
		font-size: 3em;
    }
    h2, .h2, .banner h2, h2.uppercase{
		font-size: 2.3em;
    }
    h3, .h3, .banner h3, h3.uppercase{
		font-size: 1.6em;
    }
    h4, .h4, .banner h4, h4.uppercase{
		font-size: 1.3em;
    }
    .has-transparent + #main > div > .page-title.normal-title h1.entry-title{
        font-size: 2.4em;
    }
    .has-transparent + #main > div > .page-title.normal-title{
        margin-bottom: 10px;
    }
    
    .header-wrapper:not(.stuck) .header-main {
        margin-top: 0;
    }
    
}
/*************** SECTION 3 - MEDIUM GRID AND UP  ***************/
@media only screen and (min-width: 850px) and (max-width: 1025px) {
    #logo{
        margin-right: 20px !important;
        width: 200px !important;
    }
    #masthead .nav-size-medium>li>a{
        font-size: 1.05em;
    }
    #masthead .nav-spacing-xlarge>li {
        margin: 0 14px;
    }
    
    .header-wrapper:not(.stuck) .header-main {
        margin-top: 0;
    }
}

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