+@charset "utf-8";
/* CSS Document */

a { transition: color .3s; }
a:hover { text-decoration: none; }

.modern-img {
  border-radius: 12px;              /* soft corners */
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.funFact {
 color: #000;
 background-color: #e1e6ef;
 border: 2px solid #b5c0d9;
 margin: 3px;
 padding: 6px;
}

.bg-primary {
    background-color: #2993d1 !important;    
}

#contentArea a {color: #0690B5; font-weight: 600;}
#contentArea a:hover {color: #BA2A5A; }

/* .nav-item a:hover {background-color: #BA2A5A !important; } */

#logoPlace {
    width: 118px;
    position: absolute;
    top: 2px;
    z-index: 2;
}

#logoPlace a { width: 100%; display: inline-block; height: 100%;}
#siteLogo {
    max-width: 100%;
    min-width: 183px;
}

@media (max-width: 768px) {
    #logoPlace {
        width: 75px; 
        height: 75px;
    }
}
@media (min-width: 600px) {
  .dropdown:hover > .dropdown-menu {
   display: block;
   margin-top: 0;
   }
}

#topBarNav {
    background-color: #ffffff;
    color: #ffffff;
    font-weight: 300;
    font-size: 16px;
    line-height: 28px;
    padding: 5px 0px;
}

#topBarNav a {
    color: #2993d1;
}
#topBarNav a:hover {
    color: #ba2a5a;
}

#topNavLogin a {
    font-weight: 400;
    font-size: 16px;
}

#loginIcon { width: 17px;}

#mainNav {
    background-color: #2993d1 !important;
}
.dropdown-menu {
    background-color: #2993d1 !important;
}

#mainNav .row {
    /*display: block;*/
    background-color: #2993d1 !important;
}
#mainNav .navbar-nav {
    display: flex;
    width:100%;
    box-sizing:border-box; 
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}

#mainNav .nav-item {
    display:inline-flex; 
    flex-wrap: wrap;
    flex: 1 1 auto;
    padding: 5px 0px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    #mainNav .nav-item {
        display: list-item;
    }
}

#mainNav .navbar-nav a {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0px;
    position: relative;
}

.dropdown a {
    color: #2993d1;
    font-size: 1em;
    margin-bottom: 0px;
    position: relative;
}

.navSpacing {
    margin-left: 160px;
}
#navSpecialButton {
    text-align: right;
    padding: 20px 0 0 0;
    margin-right: 60px
}

.navbar { padding: 0; }
.nav-link {
    display: block;
    padding: 0.8rem 1rem 0.2rem 1rem;
}

@media (max-width: 768px) {
    .navbar-expand-md.navbar {
        display: block;
        text-align: right;
    }
    .navbar-expand-md.navbar a {
        display: block;
        padding-left: 10px;
        text-align: left !important;
    }
}

/* BUTTON COLORS AND STYLE OVERWRITES */

.btn {
    border-radius: 10px;
    padding: 0.275rem 1rem;
}
.btn-sm {
    border-radius: 8px;
    padding: 0.2rem 0.75rem;
}

.btn-primary {
    color: #fff !important;
    background-color: #57c1ff;
    border-color: transparent;
    border-bottom: #469fd3 solid 4px;
    margin: 10px 0px;
}
.btn-primary:hover {
    background-color: #fff;
    border: #469fd3 solid 2px;
    color: #469fd3 !important;
}
.btn-meeting {
    color: #fff !important;
    background-color: #81C781;
    border-color: transparent;
    border-bottom: #3D5E3D solid 4px;
    margin: 10px 0px;
}
.btn-meeting:hover {
    background-color: #fff;
    border: #3D5E3D solid 2px;
    color: #3D5E3D !important;
}
.btn-yellow {
    color: #fff !important;
    background: #dcd72e; /* For browsers that do not support gradients */
    border-color: transparent;
    border-bottom: #c1bd29 solid 4px;
    padding: 5px;
}
.btn-gray {
    color: #fff !important;
    background: #b0a7a1; /* For browsers that do not support gradients */
    border-color: transparent;
    border-bottom: #8e8782 solid 4px;
    padding: 5px;
}
.btn-HUB {
    background: #e9e7d7; /* For browsers that do not support gradients */
    border-color: transparent;
    border-radius: 5px;
    color: #333333 !important;
    font-size: 10pt;
    margin-bottom: 15px;
    min-width: 200px;
    padding: 5px;
    text-align: left !important;
}
.btn-blue {
    color: #fff !important;
    background: #2993d1; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#2993d1, #2174a4); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#2993d1, #2174a4); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#2993d1, #2174a4); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#2993d1, #2174a4); /* Standard syntax */
    border-color: transparent;
    border-bottom: #2174a4 solid 4px;
    padding: 5px;
}
.btn-secondary {
    color: #fff !important;
    background: #89558f; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#89558f, #6b456f); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#89558f, #6b456f); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#89558f, #6b456f); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#89558f, #6b456f); /* Standard syntax */
    border-color: transparent;
    border-bottom: #6b456f solid 4px;
    padding: 5px;
}
.btn-secondary:hover {
    color: #fff;
    background: #89558f; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#89558f, #6b456f); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#89558f, #6b456f); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#89558f, #6b456f); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#89558f, #6b456f); /* Standard syntax */
    border-color: transparent;
    border-bottom: #6b456f solid 4px;
    padding: 5px;
}

#contentArea .btn-light, #siteFooter .btn-light{
    color: #0474A5 !important;
    background-color: #ffffff;
    border-color: transparent;
    border-bottom: #c1bca4 solid 4px;
}
#contentArea .btn-light:hover {
    color: #08607F !important;
    background-color: #DFF4F3;
    border-color: transparent;
    border-bottom: #a39f8e solid 4px;
}

 /* unsets Bootstrap dropdown arrow */
.dropdown-toggle::after { border: none; opacity: 0; margin-left: 0; }

/* Main navigation mouseover effects (line, then arrow) */
#mainNav .nav-item:not(.dropdown) a::after {content: ''}
#mainNav .nav-item:not(.dropdown) a:hover::after {
    width: 90%;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: border .3s;
}

#mainNav .nav-item.dropdown > a::after { content: ''; opacity: 0; transition: opacity .3s; }
#mainNav .nav-item.dropdown > a:hover::after {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    opacity: 1;
}

/* MAJOR STYLES FOR HEADERS, ETC  */

h1.homepage {
    border: none !important;
    color: #2993d1 !important;
    font-weight: 600;
    font-size: 23px;
    line-height: 35px;
    padding-left: 0px !important;
    margin-bottom: 1rem;
}

h2.homepage {
    color: #2993d1;
    font-size: 21px;
    font-weight: 300;
    line-height: 30px;
}

h1 {
    color: #2993d1 !important;
    font-weight: 600;
    font-size: 23px;
    line-height: 35px;
    border-left: solid 5px #0475a5 !important;
    padding-left: 10px;
    margin-bottom: 1rem;
}

h2 {
    color: #0474A5;
    font-size: 21px;
    font-weight: 600;
    line-height: 30px;
}

h3 {
    color: #0474A5;
    font-size: 12pt;
    font-weight: 600;
    line-height: 28px;
}

h4 {
    color: #1E1E1E;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
}

h5 {
    color: #1E1E1E;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
}
h6 {
    color: #1E1E1E;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.bg-darkBlue h1, .bg-darkerBlue h1 {border-left: solid 5px #fff;}

.bg-darkBlue h1, .bg-darkBlue h2, .bg-darkBlue h3, .bg-darkBlue h4, .bg-darkBlue h5, .bg-darkBlue h6,
.bg-darkestBlue h1, .bg-darkestBlue h2, .bg-darkestBlue h3, .bg-darkestBlue h4, .bg-darkestBlue h5, .bg-darkestBlue h6 {
    color: #fff !important;
}



.largeText {
    font-size: 22px;
    line-height: 32px;
}

.veryLargeText {
    font-size: 27px;
    line-height: 39px;
}

.smallText {
    font-size: 15px;
    line-height: 22px;
}

.verySmallText {
    font-size: 13px;
    line-height: 20px;
}


/* IMAGE STYLES */

.imgIcon {
    max-width: 22px;
}

/* BOX STYLES OF VARIOUS KINDS  */

.boxShadow {
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
}

.boxTop, .bg-lightGray .boxTop, .bg-lightBlue .boxTop, .bg-white .boxTop {
    color: white;
    background-color: #0474A5;
    border-top-left-radius: 0.3rem!important;
    border-top-right-radius: 0.3rem!important;
    text-align: center;
    margin-bottom: 0;
    padding: 5px 10px;
}

.boxRounded {
    border-radius: 0.3rem!important;
}

.boxRoundedBottom {
    border-bottom-left-radius: 0.3rem!important;
    border-bottom-right-radius: 0.3rem!important;
}

.border-primary {
    border-color: #0690B5!important;
}

.border-secondary {
    border-color: #EA4073 !important;
}

.border-lightBlue {
    border-color: #8dd2cf !important;
}

.bg-lightGray { background-color: #EAE9E4; }
.bg-lightBlue{ background-color: #EEF8F8; }
.bg-white { background-color: #fff; }
.bg-darkBlue{ background-color: #0690B5; }
.bg-darkestBlue { background-color: #0474A5; }

.bg-darkBlue *, .bg-darkestBlue *, .bg-lightGray .bg-darkBlue *, .bg-lightGray .bg-darkestBlue *, .bg-lightBlue .bg-darkBlue *, .bg-lightBlue .bg-darkestBlue *, .bg-white .bg-darkBlue *, .bg-white .bg-darkestBlue * { color: white; }
.bg-darkBlue a, .bg-darkestBlue a { color: white !important; } /* NEED TO CHECK ON LINK COLOR CHILDREN ETC */ 
.bg-darkBlue a:hover, .bg-darkestBlue a:hover { color: #ba2a5a !important; }

.bg-lightGray *, .bg-lightBlue *, .bg-white *, .bg-darkBlue .bg-lightGray *, .bg-darkBlue .bg-lightBlue *, .bg-darkBlue .bg-white *,.bg-darkestBlue .bg-lightGray *,.bg-darkestBlue .bg-lightBlue *,.bg-darkestBlue .bg-white *  { color: #212529; }

.bg-darkBlue .bg-lightGray a, .bg-darkBlue .bg-lightBlue a, .bg-darkBlue .bg-white a,.bg-darkestBlue .bg-lightGray a,.bg-darkestBlue .bg-lightBlue a,.bg-darkestBlue .bg-white a {color: #0690B5 !important; font-weight: 600;}
.bg-darkBlue .bg-lightGray a:hover, .bg-darkBlue .bg-lightBlue a:hover, .bg-darkBlue .bg-white a:hover,.bg-darkestBlue .bg-lightGray a:hover,.bg-darkestBlue .bg-lightBlue a:hover,.bg-darkestBlue .bg-white a:hover {color: #BA2A5A !important; }


/* FONT STUFF */

.font-weight-bolder {
    font-weight: 900!important;
}
.font-weight-lighter {
    font-weight: 100!important;
}
/* END FONT STUFF */


#siteFooter, #siteFooter a, #siteCopyright a {
    color: #fff;
    padding: 10px;
    font-weight: 500;
}
#siteFooter a:hover {
    color: #BA2A5A !important;
}

.mobileOnly {
 display: none !important;
}

footer {
 background-image: url('https://pediatrictraumasociety.org/multimedia/images/footer_background.jpg');
 background-color: #fff;
 background-repeat: no-repeat;
 min-height: 508px;
 width: 100%;
}

.footer_header {
    color: #000 !important;
    font-weight: bold;
    font-size: 18px;
}
.footer_header_contact {
    color: #000 !important;
    font-weight: bold;
    font-size: 18px;
    border-bottom: solid 2px #79d589;
}
.footer_header_links {
    color: #000 !important;
    font-weight: bold;
    font-size: 18px;
    border-bottom: solid 2px #ff8942;
}
.footer_header_involved {
    color: #000 !important;
    font-weight: bold;
    font-size: 18px;
    border-bottom: solid 2px #d99fda;
}

.gray .active a,
.gray .active a:hover {
    background-color: red !important;
}
.nav-pills > .active > a, .nav-pills > .active > a:hover {
    background-color: red;
}
.bg1 {
 background-color: #79d589 !important;
}
.bg2 {
 background-color: #57c1ff !important;
}
.bg3 {
 background-color: #dcd72e !important;
}
.bg4 {
 background-color: #9371a3 !important;
}
.bg5 {
 background-color: #b0a7a1 !important;
}
.bg6 {
 background-color: #d99fda !important;
}
.bg7 {
 background-color: #84d8ea !important;
}
.box1 {
 background-color: #9371a3;
 border-radius: 2px;
 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 margin-bottom: 15px;
 padding: 5px;
}
.box2 {
 background-color: #79d589;
 border-radius: 2px;
 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 margin-bottom: 15px;
 padding: 5px;
}
.box3 {
 background-color: #57c1ff;
 border-radius: 2px;
 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 margin-bottom: 15px;
 padding: 5px;
}
.box4 {
 background-color: #b0a7a1;
 border-radius: 2px;
 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 margin-bottom: 15px;
 padding: 5px;
}
.HUB_background {
 background-image: url('https://pediatrictraumasociety.org/multimedia/images/HUB_bg.jpg');
 background-color: #f5f3e5;
 background-repeat: no-repeat;
 height: 100%;
 width: 100%;
}

@media (max-width: 984px) {
footer {
    position: relative;
    background-image: url('https://pediatrictraumasociety.org/multimedia/images/footer_background.jpg');
    background-repeat: no-repeat;
    min-height: 508px;
    width: 100%;
}

/* Dark overlay */
footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55); /* adjust darkness here */
    z-index: 1;
}

/* Keep content above overlay */
footer .container {
    position: relative;
    z-index: 2;
}

/* Make footer text readable */
footer,
footer a,
footer i,
footer b,
footer td {
    color: #fff !important;
}

/* Optional: slightly brighter section headers */
.footer_header,
.footer_header_contact,
.footer_header_links,
.footer_header_involved {
    color: #fff !important;
    font-weight: bold;
    font-size: 18px;
}

/* Keep colored underline accents */
.footer_header_contact {
    border-bottom: solid 2px #79d589;
}

.footer_header_links {
    border-bottom: solid 2px #ff8942;
}

.footer_header_involved {
    border-bottom: solid 2px #d99fda;
}
}

@media only screen and (max-width: 600px) {
/* NO DISPLAY */
 .hideMobile, .map {
  display: none !important;
  }
/* END NO DISPLAY */

 .mobileOnly {
  display: block !important;
 } 
}
/* END MOBILE STYLES */