/* -- Home - Carousel -- */

.carousel-fade .carousel-inner .item { 	transition-property: opacity;}
.carousel-inner > .item > img { 	width: 100%;}
.carousel-fade .carousel-inner .item,.carousel-fade .carousel-inner .active.left,.carousel-fade .carousel-inner .active.right {	opacity: 0;}
.carousel-fade .carousel-inner .active,.carousel-fade .carousel-inner .next.left,.carousel-fade .carousel-inner .prev.right {	opacity: 1;}
.carousel-fade .carousel-inner .next,.carousel-fade .carousel-inner .prev,.carousel-fade .carousel-inner .active.left,.carousel-fade .carousel-inner .active.right {	left: 0;	transform: translate3d(0,0,0);}
.carousel-fade .carousel-control {	z-index: 2;	font-size: 125px;	padding-top: 8%;}
html,body,.carousel,.carousel-inner,.carousel-inner .item {	width:100%;	min-width:100%;	margin:auto;  max-width: 100% !important;  }
.item:nth-child(1) {height: 100%;}
.item:nth-child(2) {height: 100%;}
.item:nth-child(3) {height: 100%;}
.item:nth-child(4) {height: 100%;}
@media (max-width:750px){.carousel-fade .carousel-control { padding-top: 0% !important;margin-top:-28px !important; }
}
@media (max-width:500px){.carousel-fade .carousel-control { padding-top: 0% !important;margin-top:-42px !important; }
}



/* -- Home - Main -- */

#home_section {
    text-align: center;
}
.home-wrapper h1 {
    font-weight: normal;
    color: #555;
}
.home-wrapper .h1-alt {
    display: block;
    color: var(--main-red);
    line-height: 1.05em;
    margin-top: 10px;
    font-weight: bold;
}
.home-quote {
    margin: 50px auto 20px;
    padding: 30px 20px;
    border: none;
    font-size: 1rem;
    background-color: #f0f0f0;
}
.home-quote cite {
    font-weight: bold;
}



/* -- Home - Roofing -- */

#roofing_section {
    background-image: linear-gradient(180deg, rgba(5, 5, 5, .5), rgba(5, 5, 5, .25)), url(/imageserver/UserMedia/texasroofmasters/roofingbkgrnd.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.gaf-logo {
    display: block;
    margin: 0 auto 40px;
    max-width: 150px;
    width: 100%;
    height: auto;
}
.roofing-wrapper h2,
.roofing-wrapper .h2-sub {
    color: #fff;
}



/* -- Home - Exteriors -- */

#exteriors_section {
    background-image: url(/imageserver/Textures/NoTexture.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff;
    text-align: center;
}
.exteriors-list {
    display: flex;
    flex-wrap: wrap;
    margin: 50px auto 20px;
    padding: 0;
    list-style: none;
}
.exteriors-item {
    max-width: 600px;
    width: 31.3333333333%;
    margin: 15px 1%;
    padding: 30px 20px;
    box-shadow: 0 4px 8px rgba(5, 5, 5, .25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.exteriors-icon {
    display: block;
    margin: 0 auto;
    max-width: 165px;
    width: 100%;
    height: auto;
}
.exteriors-item p {
    font-size: .975rem;
}

@media (max-width: 981px) {
    .exteriors-item {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}



/* -- Home - Service Areas -- */

#sa_global {
    text-align: center;
    background-color: #f0f0f0;
}
#sa_accordion {
    max-width: 1050px;
    width: 100%;
    margin: 50px auto 20px;
    display: flex;
    flex-wrap: wrap;
}
.sa-section {
    width: 31.3333333333%;
    margin: 10px 1%;
}
.sa-tab button {
    position: relative;
    width: 100%;
    padding: 10px 40px 10px 15px;
    font-size: 1rem;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(5, 5, 5, .25);
    border-radius: 0;
    color: #111;
    border: none;
    text-align: center;
    font-weight: bold;
    margin: 10px 0;
}
.sa-tab button:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -4px;
    width: 12px;
    height: 8px;
    background-color: var(--main-red);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    transition: transform .2s;
}
.sa-tab button.collapsed:after {
    transform: rotate(180deg);
}
.sa-content {
    padding: 20px;
    background-color: #fff;
}
.sa-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sa-item {
    margin: 15px auto;
    text-align: left;
}
.sa-item p {
    font-size: .95rem;
    margin: 0;
}

@media (max-width: 750px) {
    .sa-section {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
}