/* Custom CSS for Afterschool for America */

/* Typography */
.card-header, h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

/* Navbar customizations */
.navbar {
    border-radius: 0 !important;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    transition: all 0.35s ease;
}
.navbar-toggler {

  background-color: #009199;
}
.navbar-static-top {
    transition-property: all;
    transition-duration: .5s;
}

/* Icon transitions */
.icon-transition {
    transition-property: all;
    transition-duration: 1.5s;
}

/* Hero backgrounds */
.topHero {
    position: relative;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

@media (max-width:767px) {
    .topHero {
        background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.2) 100%), var(--hero-bg-mobile);
    }
}

@media (min-width: 768px) {
    .topHero {
        background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.2) 100%), var(--hero-bg);
    }
}
/* Button styles */
.btn-outline-secondary {
    margin: 0;
    font-size: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    background-image: none;
    background-color: rgba(0, 152, 160, .9);
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 0 !important;
}

.btn-outline-secondary:active,
.btn-outline-secondary.active,
.open > .btn-outline-secondary.dropdown-toggle {
    color: #fff;
    background-color: rgba(0, 152, 160, .4);
    border-color: rgba(0, 152, 160, 0.7);
}

.btn-outline-secondary:hover {
    color: #fff;
    border-color: rgba(0, 152, 160, 0.7);
    background-color: rgba(0, 152, 160, .4);
}

/* Card customizations */
.card {
    background-color: transparent !important;
    border-radius: 0;
    border: 1px solid rgba(0,0,0,.0001);
}

.card-light {
    background-color: transparent !important;
    border-radius: 0;
    border: 1px solid rgba(0,0,0,.08) !important;
}

.card-side {
    background-color: #fafaf6;
    border-radius: 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-side .card-title {
    margin: .15rem .35rem;
}

.card-side p {
    font-size: 15px;
    line-height: 17px;
    padding: 5px 10px;
}

.card-title {
    margin-top: 0.75rem;
}

.card-text {
    font-size: 18px;
    color: white;
}

/* Card with enhanced shadow */
.card-mega {
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,.125);
    background-clip: padding-box;
    opacity: 0.97;
}

.card-mega label {
    margin-bottom: 5px;
}

.card-mega .fa {
    margin-right: 10px;
}

.card-header-mega {
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 23px;
    padding: 8px 8px 2px 12px;
    margin-bottom: 0;
}

/* Icon transitions */
.icon-transition {
    transition-property: all;
    transition-duration: 1.5s;
}

/* Custom logo styling */
.logo {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    text-align: center;
    width: 40px;
    height: 40px;
    margin: 0 3px;
    border: 2px solid #ffffff;
    border-radius: 100%;
    font-size: 20px;
    line-height: 36px;
    outline: 0;
    color: #fff;
    background: linear-gradient(to right, rgba(0,120,204,1) 0%, rgba(23,132,209,1) 18%, rgba(125,185,232,0) 100%);
    transition: all .3s;
}

/* Override Bootstrap background classes */
.bg-inverse {
    background-color: #004446 !important;
}

/* Card minor styles for different screen sizes */
.card-minor {
    border: none;
    background-color: transparent !important;
    border-spacing: 0 !important;
}

.card-minor a {
    color: #333333;
    text-decoration: none !important;
}

@media (min-width: 768px) {
   .card-minor {
       border: none;
       background-color: transparent !important;
       border-spacing: 0 !important;
   }
}

@media (max-width: 800px) {
   .navbar-brand {
       font-size: 16px !important;
   }
   .btn-outline-secondary {
       font-size: 14px !important;
   }
}

/* Form controls */
.form-control-top {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #fff !important;
    background-color: transparent !important;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
}

/* Section color schemes */
.section-teal {
    background-color: rgba(0,181, 190, 0.99);
    color: white;
    padding: 2rem 0;
}

.section-orange {
    background-color: rgba(249,157, 27, 0.99);
    color: white;
    padding: 2rem 0;
}

.section-dark-teal {
    background-color: #005358;
    color: white;
    padding: 2rem 0;
}

/* Utility classes */
.text-highlight-yellow {
    color: rgba(246, 192, 3, 0.99);
}

.border-bottom-light {
    border-bottom: 1px solid rgba(255, 255, 255, 0.125);
    padding-bottom: 3px;
}

/* Specific image handling */
.img-centered {
    margin: auto;
    display: block;
}

/* Footer styling */
.footer {
    background-color: #004446;
    color: #fff;
    padding: 2rem 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Info card minimum heights */
.min-height-card {
    min-height: 485px;
}


/* Bootstrap 4 specific classes */
.pull-right {
    float: right !important;
}

.card-block {
    flex: 1 1 auto;
    padding: 1.25rem;
}

/* Icon-specific transitions */
.fa-graduation-cap {
    -webkit-transition-property: all;
    -webkit-transition-duration: 1.5s;
    transition-property: all;
    transition-duration: 1.5s;
}

.fa-exclamation-triangle {
    -webkit-transition-property: all;
    -webkit-transition-duration: 1.5s;
    transition-property: all;
    transition-duration: 2s;
    transition-delay: .9s;
}

.fa-times {
    -webkit-transition-property: all;
    -webkit-transition-duration: 1.5s;
    transition-property: all;
    transition-duration: 2.5s;
    transition-delay: 1.5s;
}
.pos-f-t {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030
}

.text-justify {
    text-align: justify!important
}
