/* X-Small devices (portrait phones, less than 576px) 
   No media query for `xs` since this is the default in Bootstrap */


body {
    padding: 0 !important;
    font-family: 'Roboto', sans-serif;
}

header nav {
    height: 6.25rem;
}

header img {
    max-width: 100%;
}

div.hero {
    overflow: hidden;
    margin-top: 6.25rem;
    background: #e6e6e6 url(../img/bigbanner.jpg) no-repeat center center;
    background-size: cover !important;
}

div.hero h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0 0;
}

div.hero h2 {
    font-size: 1rem;
    font-weight: bold;
    margin: 1rem 2rem;
}

p.intro {
    font-size: 1.25rem;
    margin: 1rem;
}

#accordion {
    margin-bottom: 1.5rem;
}

.accordion-item {
    border: none !important;
}

.accordion-button {
    justify-content: center;
    font-size: 2rem;
    background: #6d6e71;
    border: none !important;
    border-radius: 0.25rem !important;
    margin-bottom: 0.5rem;
    color: #fff;
}

.accordion-button:hover,
.accordion-button:not(.collapsed) {
    background: #16b99a;
    color: #fff;
    box-shadow: none !important
}

.accordion-button::after {
    display: none !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(121, 121, 121, 0.25);
}

.accordion-body {
    margin-bottom: 0.5rem;
    background: #e6e6e6;
    border-radius: 0.25rem !important;
    padding: 1rem 1.25rem 1.5rem;
}

.accordion-body .nav {
    justify-content: center;
}

.accordion-body .nav-item {
    flex: 0 0 auto !important;
}

.accordion-body .nav-pills .nav-link {
    color: #000;
    width: 24rem;
    margin: 0.5rem auto 0;
    font-size: 1.25rem;
    background: #fff;
    max-width: 80%;
}

.accordion-body .nav-pills .nav-link:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.25rem rgba(121, 121, 121, 0.25);
}

#ad-1 {
    margin: 0 0 16px 0;
    text-align: center;
    overflow: hidden;
}

footer {
    color: #999;
    background: #303030;
    padding: 2rem 1rem;
}

footer img {
    height: 1.25rem;
    vertical-align: middle;
    margin-top: 1.5rem;
    width: 125px;
}

footer p {
    margin: 0;
    line-height: 1.5rem;
    font-size: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    flex-direction: column-reverse;
}

#sContent {
    padding: 16px 10px 0 !important;
}

#search_advanced {
    background: #f9f9f9;
    border-bottom: #dee2e6 1px solid;
    padding: 20px 15px; 
}

#search_advanced form {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
}

#search_advanced form .form-side {
    width: 95%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

#search_advanced form .form-side input {
    width: 100%;
    border: #dee2e6 1px solid;
    padding: 10px;
    border-bottom: none;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#search_advanced form .form-side select {
    width: 100%;
    border: #dee2e6 1px solid;
    padding: 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

#search_advanced form button {
    width: 95%;
    max-width: 400px;
    margin-top: 10px;
    border: #6d6e71 solid 1px;
    padding: 10px;
    border-radius: 4px;
    background: #6d6e71;
    color: #fff;
}




/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}




/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    header nav {
        height: 6.5rem;
    }

    div.hero {
        margin-top: 6.5rem;
    }

    p.intro {
        font-size: 1.5rem;
        margin: 2rem 0;
    }
        
    .accordion-body .nav-pills .nav-link {
        margin: 1rem auto 0;
    }

    .accordion-body {
        padding: 1rem 1.25rem 2rem;
    }
        
    .accordion-button {
        font-size: 2.25rem;
    }
        
    div.hero {
        height: 15rem;
    }
        
    div.hero h1 {
        font-size: 3rem;
        margin: 7rem 0 0;
    }
    
    #accordion {
        margin-bottom: 3rem;
    }

    footer img {
        margin-top: 0;
        margin-right: 1rem;
    }

    footer p {
        padding: 0 2rem;
        flex-direction: row;
        align-items: normal;
    }

    #search_advanced form {
        flex-direction: row;
        justify-content: center;
    }

    #search_advanced form .form-side {
        flex-direction: row;
        max-width: none;
        width: 100%;
    }

    #search_advanced form .form-side .combo_width_70 {
        flex-grow: 1;
    }

    #search_advanced form .form-side input {
        border: #6d6e71 2px solid;
        border-right-width: 1px;
        border-top-right-radius: 0;
        border-bottom-left-radius: 4px;
        height: 44px;
    }

    #search_advanced form .form-side select {
        border-top: #6d6e71 2px solid;
        border-bottom: #6d6e71 2px solid;
        border-left: none;
        border-right: none;
        height: 44px;
        border-radius: 0;
    }

    #search_advanced form button {
        margin-top: 0;
        padding: 10px 30px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        max-width: none;
        width: auto;
        border-width: 2px;
    }

}




/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    
    div.hero {
        height: 25rem;
    }
        
    div.hero h1 {
        font-size: 5rem;
        margin: 12rem 0 0;
    }

    div.hero h2 {
        font-size: 1.5rem;
        margin: 1rem 0 0;
    }
    
}




/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    #accordion {
        margin-bottom: 5rem;
    }

}




/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

}



