/* Modifications to existing iMIS Template */

@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");

body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
}

.general-wrapper {
    margin: 0 auto !important;
    max-width: 1410px !important;
    width: 100% !important;
}

@media (max-width: 1410px) {
    .general-wrapper {
        padding: 0 15px !important;
    }
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
	color: #2d4a86;
	font-weight:bold;
}

h1,
.h1 {
    font-size: 3.2rem;
}

h2,
.h2 {
    font-size: 2.8rem;
}

h3,
.h3 {
    font-size: 2.4rem;
}

h4,
.h4 {
    font-size: 2.4rem;
}

h5,
.h5 {
    font-size: 2rem;
}

h6,
.h6 {
    font-size: 1.6rem;
}

/* AUX MENU STYLING */
.nav-auxiliary {
    width: 100%;
    min-height: 40px;
    color: #fff;
    background-color: #4f535b;
}

.nav-auxiliary a {
    color: white;
    text-decoration: none;
}

.nav-auxiliary a:hover,
.nav-auxiliary a:focus,
.nav-auxiliary a:active {
    text-decoration: underline;
}

/* MAIN MENU STYLING */
.navbar {
    padding: 0.8rem 1.6rem;
}

.navbar-brand img {
    width: 200px;
}

@media (max-width: 992px) {
    .navbar-brand img {
        width: 100px;
    }
}

.primary-navigation-area {
    margin-left: 0;
    margin-top: 8px !important;
}

.primary-navigation-area ul > li > a,
.primary-navigation-area ul > li > a > span.rmText {
    color: #2d4a86 !important;
    text-transform: uppercase !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
}

.primary-navigation-area ul > li > a + .rsmColumnWrap a {
    text-transform: capitalize !important;
    font-size: 1.4rem !important;
}

.primary-navigation-area a.rmRootLink {
    border-bottom: 4px solid #ffffff;
}

.primary-navigation-area a.rmRootLink:hover,
.primary-navigation-area a.rmRootLink.rmExpanded {
    background-color: #ffffff !important;
    border-bottom-color: #e54336;
    transition: border-bottom-color 0.7s;
}

.primary-navigation-area .rmSlide {
    background-color: #ffffff !important;
    margin: 0.2rem 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.4rem;
    width: auto !important;
}

.primary-navigation-area .rmGroup {
    background-color: #ffffff !important;
    padding: 0 !important;
    border-radius: 0.4rem !important;
}

.primary-navigation-area .rmGroup a:hover {
    background-color: #f8f9fa !important;
}

/* HOME FULL WIDTH STYLING */
.home-full-width-content {
    background-color: #fff;
}

/* CONTENT BANNER STYLING */
.content-banner {
    background-attachment: fixed;
    background-size: cover;
    margin-bottom: 6.4rem;
    padding-top: 5.2rem;
    padding-bottom: 3.2rem;
}

.content-banner h1 {
    display: block;
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
}

/* CAROUSEL CAPTION */
.carousel .carousel-caption {
    position: absolute !important;
    width: initial !important;
    top: initial !important;
    bottom: 20px !important;
    right: 25% !important;
    left: 25% !important;
    z-index: 10;
    padding: 20px 0 !important;
    color: #fff !important;
    text-align: center !important;
    box-shadow: 0 3px 5px rgb(0 0 0 / 30%);
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.carousel .carousel-caption h6 {
    color: #fff;
    font-size: 2rem;
    z-index: 20;
    line-height: 22px;
}

.carousel .carousel-caption p {
    color: #fff;
    font-size: 3.6rem;
    line-height: 50px;
    margin: 0 0 12px;
}

.carousel .carousel-caption a {
    text-decoration: none !important;
    color: #fff;
    font-size: 1.44rem;
    border: #fff solid 2px;
    border-radius: 4px;
    margin-top: 1rem;
    padding: 0.8rem 3.2rem;
    transition: background-color 0.5s, color 0.5s !important;
}

.carousel .carousel-caption a:hover {
    background-color: #fff;
    color: #333;
}

/* SECTION: HOME CTA AREA */
.home-cta {
    padding-top: 64px !important;
}

.home-cta a {
    text-decoration: none;
}

.home-cta img {
    transform: scale(0.9);
    transition: transform 0.5s;
}

.home-cta .home-cta-p {
    font-size: 20px;
    font-weight: 700;
    color: #4f535b;
    padding: 48px 0;
    margin: 0;
}

.home-cta a:hover img {
    transform: scale(1);
}

.home-cta a:hover .home-cta-p {
    color: #2d4a86;
    text-decoration: underline;
}

/* SECTION: HOME SOCIAL MEDIA AREA */
.home-content {
    width: 100%;
    background-color: #eff2f6;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.social-media-box {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: #fff;
    border: 10px solid #fff;
    box-shadow: 0 10px 20px rgb(0 0 0 / 19%), 0 6px 6px rgb(0 0 0 / 23%);
    height: 550px;
}

/* SECONDARY NAVIGATION STYLING */
.nav-secondary {
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    border-top: 1rem solid #fff;
    border-bottom: 1rem solid #fff;
    margin-bottom: 3rem;
}

.nav-secondary .sub-nav-head {
    background-color: #2d4a86;
    color: #ffffff;
    font-weight: 700;
    font-size: 2.4rem !important;
    padding: 0.8rem 1.6rem;
    line-height: 4.4rem !important;
}

.nav-secondary .sub-nav-body ul.rtUL {
    margin: 0px !important;
}

.nav-secondary .sub-nav-body li.rtLI {
    border: none !important;
}

.nav-secondary .sub-nav-body a.rtIn {
    font-size: 2rem !important;
    color: #2d4a86 !important;
    line-height: 4.4rem !important;
    border-left: 0px solid transparent;
}

.nav-secondary .sub-nav-body a.rtIn:hover,
.nav-secondary .sub-nav-body .rtSelected a.rtIn {
    font-weight: 700 !important;
    background-color: #eff2f6;
    border-left: 8px solid #e54336;
    transition: border-left 0.5s, background-color 0.5s, font-weight 0.5s;
}

/* HOME PAGE STYLING */
.landing-banner-area {
    width: 100%;
    min-height: 40px;
    color: #fff;
    background-color: #2d4a86;
}

.landing-banner-area p {
    text-align: center;
    margin: 0.88rem 0;
    padding: 1.2rem;
}

/* MAIN CONTENT STYLING */
#masterContentArea {
    background-color: #eff2f6;
    margin-top: 0;
}

.content-standard {
    padding-bottom: 4.8rem;
}

.content-standard * {
  /*  color: #38393d;*/
}

.content-standard h2,
.content-standard h3 {
    color: #2d4a86;
}

.content-standard h4 * {
    color: #e54336;
}

.content-standard h4 {
    border-left: 4px solid #e54336;
    padding-left: 1rem;
}

.content-standard p {
    font-size: 1.6rem;
    margin-bottom: 1.125rem;
}

.content-standard a, 
.content-standard a > * {
    font-size: 1.6rem;
    color: #2d4a86;
    text-decoration: underline;
}

.content-standard ul {
    color: #38393d;
    font-size: 1.6rem;
}

.content-standard button,
.content-standard input[type=submit],
.content-standard input[type=button] {
    color: #fff;
}

/* TAGGED LIST HONOUR ROLL */
.TaggedListPanel .honoree {
    margin-bottom: 40px;
}

.TaggedListPanel .honoree .contentTaggedListImageThumbnail {
    border: none;
}

.TaggedListPanel .honoree .honoree-img {
    width: 185px;
}

.TaggedListPanel .honoree .honoree-detail {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .TaggedListPanel .honoree .honoree-img {
        float: left;
        min-height: 1px;
        margin-right: 20px;
    }

    .TaggedListPanel .honoree .honoree-detail {
        float: left;
        /* 185px + 20px */
        width: calc(100% - 205px);
        margin-top: 0px;
    }
}

.TaggedListPanel .honoree .honoree-text * {
    font-size: 1.6rem;
}

/* FOOTER STYLING */

.tpa-footer h1,
.tpa-footer h2,
.tpa-footer h3,
.tpa-footer h4,
.tpa-footer h5 {
    color: #fff;
}

.tpa-footer {
    color: #ffffff;
}

.tpa-footer a {
    color: #fff;
    text-decoration: none;
}

.tpa-footer a:hover {
    color: #e54336;
    text-decoration: underline;
}

.footer-content {
    background-color: #4f535b;
    padding: 3.2rem 0;
    text-align: left;
}

.footer-content .footer-social-icon {
    display: flex;
    align-items: center;
}

.footer-content .footer-social-icon svg {
    width: 1.6rem;
}

.footer-content .footer-social-icon > a {
    margin-right: 15px;
}

.footer-nav-copyright {
    background-color: #38393d;
    padding: 1.6rem 0 !important;
}

.footer-nav-copyright .footer-copyright {
    display: block;
    float: none;
}

.footer-nav-copyright .footer-copyright .policy {
    text-align: left;
}

@media (min-width: 768px) {
    .footer-nav-copyright .footer-copyright .policy {
        text-align: center;
    }
}

/* MISC STYLING */
.backToTop {
    background-color: #4f535b !important;
    /* prevents the link arrow from crossing into the footer copyright */
    bottom: 75px;
}

/* PANEL STYLING */
.panel {
    border: 0 !important;
}

.panel .panel-heading.Distinguish {
    padding: 1.2rem 2rem;
    background-color: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
    border-radius: 3px;
    line-height: 1.5;
}

.panel .panel-heading a,
.panel .panel-heading a > * {
    text-decoration: none !important;
}

.panel .panel-title,
.panel .panel-title a,
.panel .panel-title a span {
    font-size: 2.1rem;
    font-weight: 700;
    color: #2d4a86;
}

.panel .panel-heading-collapse img {
    display: none !important;
}

.panel .panel-heading-collapse::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 2rem;
    content: "\f0d8";
}

.panel .panel-heading-collapse.collapsed::after {
    content: "\f0d7";
}

.panel .panel-heading:not(.Distinguish) + * .panel-body {
    padding: 0;
}

.panel .panel-heading.Distinguish + * .panel-body {
    padding: 2rem;
}

.panel.panel-border .panel-heading {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.panel.panel-border .panel-body {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
    border-radius: 3px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* REPEATER STYLING */
.imis-repeater > .panel > .panel-body-container > .panel-body {
    padding: 0 !important;
}

.imis-repeater .AlertSet {
    padding: 0 !important;
    margin: 0 !important;
    list-style-type: none !important;
}

.imis-repeater .AlertItem {
    display: block !important;
}

/* CCO STYLING */
.RadTabStrip span {
    font-size: 19px;
}

.RadTabStrip .rtsLink.rtsSelected span {
    color: #fff;
}

.RadTabStrip .rtsLink.rtsSelected:hover span {
    color: inherit;
}

/* RAD GRID STYLING */
.RadGrid .rgSelectedRow td,
.RadGrid .rgSelectedRow td * {
    color: #fff;
}

.RadGrid .rgPager .rgCurrentPage,
.RadGrid .rgPager .rgCurrentPage * {
    color: #fff;
}