/*------------------------------------------------------------------------------ header */
header #header-background-image {
    width: 100%;
    height: 600px;
    z-index: 100;
    background-image: url( '../../_img/slideshow/slide1.png' );
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 -400px;
}

header #header-background-pattern {
    width: 100%;
    height: 600px;
    position: absolute;
    top: 0;
    left: 0;	
    opacity: 0.95;
    z-index: 15;
    top: 0;
}
/*mensagem do meio*/
header #header-background-content {
    text-align: center;
}

header #header-background-content h1 {
    color: #fff;
    text-transform: uppercase;
    font-size: 42px;
    font-weight: 300;
}

header #header-background-content h1 span {
    font-weight: 700;
}

header.subpage #header-background-image {
    width: 100%;
    height: 100px;
    z-index: 100;
    background-image: url( '../../_img/empty-2.png' );
    background-size: cover;
    background-position: 0 -400px;
}

header.subpage #header-background-pattern {
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    /*inicio: paginas externas*/
    background: #000000;
    opacity: 0.3;
    /*fim*/
    z-index: 105;
    top: 0;
}

header.appointment {
    position: relative;
}

header.appointment #header-background-image,
header.appointment #header-background-pattern {
    height: 955px;
    
}

header.appointment #header-background-image {
    background-position: 0 0 !important;
}

/*------------------------------------------------------------------------------ top line */
#top-line {
    height: 5px;
    background: #fff;
    box-shadow: 0 3px 3px rgba( 0, 0, 0, 0.05 );
    border-bottom: 1px solid #dbdfe3;
	
}

/*------------------------------------------------------------------------------ subpage header image */
#subpage-header-image {
    height: 550px;
    background-size: cover;
    background-position: 50% 50%;
	
}

/*------------------------------------------------------------------------------ responsive */
@media (min-width: 1150px) {

    header #header-background-content {
        width: 920px;
        position: absolute;
        left: 50%;
        margin-left: -460px;
        top: 218px;
        z-index: 110;
    }
}

@media (min-width: 850px) and (max-width: 1149px) {

    header #header-background-content {
        width: 670px;
        position: absolute;
        left: 50%;
        margin-left: -335px;
        top: 218px;
        z-index: 110;
    }
    
    header #header-background-image,
    header.subpage #header-background-image {
        background-position: 0 -200px;
    }
}

@media (min-width: 600px) and (max-width: 849px) {

    header #header-background-content {
        width: 500px;
        position: absolute;
        left: 50%;
        margin-left: -250px;
        top: 218px;
        z-index: 110;
    }
    
    header #header-background-image {
        background-position: 0 0;
    }
}

@media (max-width: 599px) {

    header #header-background-content {
        width: 100%;
        position: absolute;
        left: 0;
        top: 218px;
        z-index: 110;
    }
    
    header #header-background-image {
        background-position: 0 0;
    }
    
    header.subpage #header-background-image {
        background-position: 0 -100px;
    }
}