/** Global **/
html, body{
    height: 100%;
}
body {
    background-color: rgb(220,220,220);
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Montserrat', 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
}
h1{
    font-family: Montserrat, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-block-end: 12px;
    margin-block-start: 0;
    text-align: center;
    border-bottom: 5px solid rgb(211,32,39);
}
h4{
    font-size: 1.25rem;
    color: rgb(211,32,39);
    font-weight: 600;
    text-transform: uppercase;
}
main{
    margin-top: 20px;
    margin-bottom: 30px;
    flex-shrink: 1;
    flex-grow: 1;
}
@keyframes anim_up {
    0%{
        transform: translate(0,10%);
        opacity: 0;
    }
    100%{
        transform: translate(0,0);
        opacity: 1;
    }
}
@keyframes anim_down {
    0%{
        transform: translate(0,-10%);
        opacity: 0;
    }
    100%{
        transform: translate(0,0);
        opacity: 1;
    }
}
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/** Header **/
header{
    background: rgb(0,0,0);
    background-size:80%;
    color: #efefef;
    flex-shrink: 0;
    flex-grow: 0;
    padding-top: 24px;
    padding-bottom: 24px;
    animation: anim_down 1s;
}
.main_logo{
    width:20%;
    margin-bottom: 24px;
}
/** Footer Styles **/
footer{
    background: rgb(0,0,0);
    background-size:80%;
    flex-shrink: 0;
    flex-grow: 0;
    text-align: center;
    color: #efefef;
    padding-top: 24px;
    padding-bottom: 12px;
}
footer h3{
    font-size: 2em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0;
}
#footer-logo{
    margin-bottom: 20px;
}
.contact-name{
    font-size: 1.5em;
    margin-bottom: 0;
}
#dre-number{
    margin-bottom: 0;
}
#copyright{
    opacity: 0.5;
    font-size: 0.9em;
    margin-top: 10px;
}
/** Filter Styles **/
nav{
    margin-bottom: 12px;
}
.dropdown{
    margin-left: 6px;
}
.dropdown-menu{
    max-height: 50vh;
    overflow-y: auto;
}
.btn-secondary{
    background-color: #efefef;
    color: rgb(15,15,15);
}
.btn-secondary:hover{
    background-color: rgb(211,32,39);
}
.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
    background-color: rgb(211,32,39);
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(211,32,39,0.1);
}
.v-space{
    margin-bottom: 6px;
}
.make-orange{
    color: rgb(211,32,39);
}
#reset{
    background-color: rgb(108,117,125);
    color: #efefef;
    margin-left: 6px;
}
#reset:hover{
    background-color: rgb(211,32,39);
}
/*Listing Cards*/
section{
    animation: anim_up 1.5s;
}
.card{
    margin: 6px 6px 12px 6px;
    border: solid rgb(211,32,39);
    padding-bottom: 12px;
    min-height: 350px;
}
.card-title{
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 4px;
}
.card-text{
    margin-left: 10px;
    opacity: 0.7;
}
.status_banner{
    position:absolute;
    left:0;
    top:0;
    padding: 2px 15px 2px 10px;
    background-color: rgb(211,32,39);
    text-transform: uppercase;
    color: white;
    font-size: 0.8rem;
    font-weight: 400;
    text-align: center;
}
.rotate{
    transform: translate(-50%, -50%) rotate(-45deg) translate(0px, 50px);
    transform-origin: center;
    width: 200px;
}
.type_banner{
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 2px 15px 2px 10px;
    background-color: rgba(248,248,248,0.9);
    font-size: 0.8rem;
    font-weight: 400;
}
.type_disclaimer{
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 2px 15px 2px 10px;
    background-color: rgba(0,0,0,0.5);
    font-size: 0.6rem;
    font-weight: 400;
    color: rgb(248,248,248);
}
.main_thumb{
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.card-img-top{
    object-fit: cover;
    height: 250px;
}
.download{
    background-color: rgb(211,32,39);
    position:absolute;
    padding: 5px 15px 5px 15px;
    top: 0;
    right: 0;
    display: none;
}
.main_thumb:hover > .download{
    display: block;
    animation: fade-in 0.75s;
}
.pdf_icon{
    display:block;
    object-fit: cover;
    height: 25px;
    margin:auto;
}
.download_text{
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1;
    text-align: center;
    margin-top: 4px;
}
/* Media */

@media (any-hover:none){
    .download{
        display: block;!important;
    }
}
@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 4rem;
    }
}
@media(max-width: 1200px) {
    .main_logo{
        width: 25%;
    }
}
@media(max-width: 750px) {
    .main_logo{
        width: 50%;
    }
}