/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme by Shero. 
Version: 1.1
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/


@import url('https://fonts.googleapis.com/css?family=Rubik:400,700'); /* Rubik for Site Title */
@import url('https://fonts.googleapis.com/css?family=Cabin:400,400i,700'); /* Cabin for everything else */

body {
    font: 14px 'Cabin', sans-serif;
}

a {
    color: #263D89;
}

a:hover {
    text-decoration: none;
}

.header-submenu {
    display: none;
}


.header-submenu li.emergency a {
    color: red;
}

.header-submenu li a {
    color: #666;
}

.flex_column img,
#welcome img {
    border-radius: 5px;
}

.stargas-button,
a.stargas-button {
    background-color: #263D89;
    border-radius: 3px;
    color: white;
    display: table;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s linear;
}

.stargas-button:hover,
a.stargas-button:hover {
    background-color: red;
    color: white;
}

.stargas-button.red,
a.stargas-button.red,
input[type=submit].stargas-button.red {
    background-color: red;
    border: 0;
    color: white;
}

.stargas-button.red:hover,
a.stargas-button.red:hover {
    background-color: #263D89;
}

#stargas-alert-box .entry-content-wrapper {
    background-color: #D6EEFC;
    border: 2px solid red;
    padding: 20px;
}

#stargas-colored-box .post-entry {
    background-color: #AADEFF;
    padding: 20px;
}

.av_one_fourth .genericon {
    font-size: 36px;
}

.iconbox_icon {
    font-size: 18px;
    top: -5px;
}

a.aviablank.avia-testimonial-link {
    display: none;
}

.mobile.search {
    visibility: hidden;
}

.av_one_fourth .genericon {
    font-size: 50px;
}

#top .main_color input[type='text'],
#top .main_color input[type='email'],
#top .main_color textarea,
.contact-container td,
.estimate-container td {
    border-color: #CCC !important;
    vertical-align: top;
}

.footer_color .news-thumb,
.news-thumb {
    background: transparent;
    border: 0;
}

.main-title.entry-title {
    display: block;
    font-size: 1.5em;
    padding-bottom: 10px;
}

.post-meta-infos {
    position: static;
    display: block;
    padding: 1em 0;
}

h1.post-title.entry-title {
    font-size: 2em;
}

.breadcrumb-trail .trail-end {
    font-weight: bold;
}

#top .title_container .container {
    min-height: 0;
}

@media screen and ( max-width: 767px ) {

    /* Mobile Rules -------------------------------- */

    .stargas-logo-container .inner-container {
        height: 80px;
    }

    .site-title,
    .site-tagline {
        display: inline;
        left: 80px;
        line-height: 1em;
        max-height: 0!important;
        position: absolute;
    }

    .site-title {
        font-family: 'Rubik';
        font-weight: bold;
        text-transform: uppercase;
        top: 15px;
    }

    .header-submenu {
        display: table;
        font-size: 80%;
        margin: 0 auto;
        width: 85%;
    }

    .header-submenu ul {
        margin: 20px 0;
    }

    .header-submenu ul li {
        display: inline-block;
        margin: 0 10px 0 0;
    }

    .header-submenu ul li:first-of-type {
        display: block;
        margin: 0 0 10px 0;
    }

    .header-submenu ul li:last-of-type {
        margin: 0;
    }

    .site-tagline {
        top: 50px;
    }

    .stargas-main-menu {
        display: none;
    }

    #mobile-advanced li > a:before, .html_header_mobile_behavior #mobile-advanced span > a:before, #mobile-advanced .mega_menu_title:before {
        top: 19px;
    }

    .mobile.search {
        visibility: visible;
    }

    .home .post-entry {
        text-align: center;
    }

    .stargas-button,
    a.stargas-button {
        margin: 0 auto;
    }

    #home-footer .iconbox_content {
        margin-bottom: 10px;
    }

    #home-footer .iconbox_icon {
        display: none;
    }

}


/* Desktop Rules ------------------------------- */
@media screen and ( min-width: 768px ) {

    .site-title,
    .site-tagline {
        position: absolute;
        line-height: 1em;
    }

    .site-title {
        font: 700 26px 'Rubik', sans-serif;
        left: 150px;
        letter-spacing: 1px;
        text-transform: uppercase;
        top: 30px;
    }

    .site-tagline {
        display: inline;
        font-style: italic;
        left: 150px;
        top: 100px;
    }

    .stargas-logo-container .main_menu {
        top: 30px;
    }

    .stargas-secondary-menu {
        font-size: 200%;
    }

    .header-submenu {
        display: block;
        height: 0;
        margin: 0 auto;
        max-width: 1310px;
        padding: 0;
        position: relative;
        width: 100%;
    }

    .header-submenu ul {
        display: block;
        float: right;
        position: absolute;
        list-style-type: none;
        margin: 0;
        right: 50px;
        top: 40px;
        z-index: 101;
    }

    .header-submenu li {
        display: inline-block;
        font-size: 13px;
        padding: 0 0.5em;
        border-right: 1px solid #CCC;
    }

    .header-submenu li:last-of-type {
        padding-right: 0;
        border-right: none;
    }

    .av-main-nav ul {
        top: 121px;
    }

    .stargas-main-menu ul li a {
        color: black!important;
        font-weight: 400;
    }

    .stargas-main-menu .menu-item-top-level.current_page_item .avia-menu-text,
    .stargas-main-menu .menu-item-top-level.current_page_ancestor .avia-menu-text {
        border-bottom: 2px solid red;
        padding-bottom: 36px;
    }

    .stargas-main-menu .menu-item-top-level.current_page_item .sub-menu .avia-menu-text,
    .stargas-main-menu .menu-item-top-level.current_page_ancestor .sub-menu .avia-menu-text {
        border-bottom: none;
        padding-bottom: 0;
    }

    .title_container .breadcrumb {
        position: static;
    }

    #top .av-main-nav ul a {
        padding: 4px 15px;
    }

    .small-preview img,
    .big-preview img {
        max-width: 100%;
        width: auto;
    }

    .header_color .ajax_search_title {
        color: black!important;
    }

    #mc_embed_signup {
        background: none;
        font: 1em 'Cabin';
        margin: 30px 0 0 0;
    }

    #mc_embed_signup #top label {
        font-weight: normal;
        font-size: 1em;
    }

    #mce-EMAIL {
        margin-top: 1em;
    }

    #top .av-main-nav ul a {
        line-height: 16px;
    }

    .entry-content-wrapper .post-title {
        font-size: 24px;
    }

    .entry-content h2 {
        font-size: 21px;
    }

}

@media screen and ( max-width: 950px ) and ( min-width: 768px ) {
    /* Prevent overlap of bloginfo and menus */
    .site-title,
    .site-tagline {
        display: none;
    }
}

.grecaptcha-badge {
	display: none;
}

@media screen and (max-width: 1140px){
	#menu-header-menu-1 {
		display: flex;
		flex-wrap: wrap;
		max-width: 475px;
	}
}


@media screen and (max-width: 991px){
	#menu-header-menu-1 {
		display: block;
	}
}


@media only screen and (max-width: 991px){
	#layerslider_6 > div.ls-gui-element.ls-bottom-nav-wrapper {
	top: 6px
}
}
