BODY {
    padding-bottom: 32px;
    font: normal 14px/18px "Ubuntu";
    color: #242423;
}

.container {
    max-width: 1280px;
    margin: auto;
}

HEADER {     
    min-height: 270px;
    background: url('../images/header_bg_md.jpg') no-repeat top right #d1f5f9;
    background-size: 496px 199px;                                            
    margin-bottom: 16px;
    padding-top: 15px;
}

#header_logo {
    width: 128px;
    margin-bottom: 36px;
}   

#header_text > .col-1:first-child {
    min-height: 91px;  
    background: url('../images/footer_contact_bg_left.png') no-repeat;
    background-position: right center;
    background-size: contain;
}


#header_text > .col-1:last-child {
    min-height: 91px;  
    background: url('../images/footer_contact_bg_right.png') no-repeat;
    background-position: left 0px center;  
    background-size: contain;        
}

H1 {
    font-size: 12px;
    margin-bottom: 0px;
}

@media (min-width: 576px) {
    HEADER {
        background-size: 685px 250px; 
    } 
}

@media (min-width: 768px) {
    HEADER {
        background: url('../images/header_bg_md.jpg') no-repeat top right #d1f5f9;
        padding-bottom: 30px;
    }
    
    #index #header_logo {
        width: 220px;
    }
    
    #header_text > .col-1:first-child,
    #header_text > .col-1:last-child {
        min-height: 175px; 
    }
    
    H1 {
        font-size: 20px;
    }
}

@media (min-width: 992px) {
    HEADER {
        min-height: 454px;
        background: url('../images/header_bg_lg.jpg') no-repeat center center;
        padding-top: 30px;
        padding-bottom: 0px; 
    }
    
    #header_logo {     
        margin-bottom: 0px
    }          
    
    #header_text > .col-1:first-child {
        min-height: 175px;  
        background: url('../images/footer_contact_bg_left.png') no-repeat;
        background-position: right center;
    }


    #header_text > .col-1:last-child {
        min-height: 175px;  
        background: url('../images/footer_contact_bg_right.png') no-repeat;
        background-position: left 0px center;          
    }
}

.subpage {
    min-height: 226px;  
    background-size: 873px 199px;
    padding-bottom: 15px;
}

#erosaram {              
    background: url('../images/erosaram_bg_md.jpg') no-repeat top 0px right 25% #d1f5f9;
}   

#gyengearam {
    background: url('../images/gyengearam_bg_md.jpg') no-repeat top 0px right 25% #d1f5f9;
}

#muszeres {
    background: url('../images/muszeres_bg_md.jpg') no-repeat top 0px right 25% #d1f5f9;
}

@media (min-width: 576px) {
    .subpage {
        min-height: 174px;     
        background-position: top 0px right 35% !important;
    }
    
    .subpage #header_logo {     
        margin-bottom: 0px
    }     
}       

@media (min-width: 768px) {
    .subpage {
        height: 196px;
        background-position: top 0px right 40%;    
        background-size: 991px 226px
    }
    
    .subpage #header_text {
        margin-top: 30px;
    }
}              

@media (min-width: 992px) {
    .subpage {
        min-height: 244px;  
        background-position: center center;                                                 
        background-size: 1280px 274px
    } 
}

@media (min-width: 992px) {
    #erosaram {
        background-image: url('../images/erosaram_bg_lg.jpg');
    }
    
    #gyengearam {
        background-image: url('../images/gyengearam_bg_lg.jpg');    
    }
    
    #muszeres {
        background-image: url('../images/muszeres_bg_lg.jpg');    
    }
}                                                      

.service_type_header H1 {
    display: inline-block;
    margin-bottom: 0px;
    vertical-align: middle;
}

/* */

#service_types,
#service_type {
    background: #cf661c;
    color: #FFFFFF;
    padding-top: 35px;
    padding-bottom: 35px;    
}

.card {
    background: none;
    border: none;
}

.card IMG {
    margin-bottom: 20px;
}

H2 {
    font-size: 20px;
}

#service_types A {
    display: block;
    width: 190px;
    height: 40px;
    font-size: 20px;  
    line-height: 40px;
    color: #FFFFFF;
    background: #d67d3e;
    border: 2px solid #ebbe9f;  
    text-decoration: none;
    margin: 0 auto;
}

#service_type IMG {
    display: block;
    margin: 0 auto 20px;
}

#service_type A {
    font-size: 20px;
    line-height: 32px;
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 10px;
}

#service_type A:hover {
    text-decoration: underline;
}

#services {
    background: #ffffff;
    padding-top: 35px;
    padding-bottom: 35px;  
}

/* */

.card-body {
    padding-top: 32px;   
}

.card_separator {
    width: 175px;
    height: 9px;
    background: #c7631c;
    margin: 20px auto 30px;
}

/* */

#fontos {
    background: #cf661c;
    color: #FFFFFF;
    padding-top: 45px;
    padding-bottom: 45px;
}


/* */

FOOTER {
    min-height: 309px;        
    background: url('../images/footer_bg.jpg') no-repeat #d2f3f5 top right;
    padding-top: 45px;
}

#footer_contact {
    min-height: 175px;                                           
}

#footer_contact > .col-lg-1:first-child {
    min-height: 175px;  
    background: url('../images/footer_contact_bg_left.png') no-repeat;
    background-position: right center;
}


#footer_contact > .col-lg-1:last-child {
    min-height: 175px;  
    background: url('../images/footer_contact_bg_right.png') no-repeat;
    background-position: left 0px center;          
}

H3 {
    font-size: 24px;
    line-height: 30px;    
}
 
FOOTER A {                                       
    display: block;        
    font-size: 18px;
    line-height:18px; 
    color: #242423;  
    font-weight: bold; 
    text-decoration: none;
    padding: 29px 0;
}
    
FOOTER A SPAN {
    white-space: nowrap;
}

FOOTER A IMG {
    margin-left: 20px;
}