/* Body - remove browser margin & set padding to accommodate for the fixed header bar */

body {
    display: flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-style: inherit;
    font-size: 100%;
}

.jumbotron {
    position: absolute;
    background-color: #f8f8f8;
    z-index: -2;
    width: 127vh;
    overflow: hidden;
}
li.nav-item a {
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/*============================================
navbar
============================================ */
.button-group {
    background-color: #2a7dd8;
    border: #2a7dd8;
    color: white;
    padding: 12px 6px !important;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 600;
    font-style: inherit;
}

.active:not(.tab-pane),
.button-group:hover {
    background-color: #002d74;
    color: #ffc500;
}

.optiontab {
    margin-bottom: 20px;
    justify-content: center;
    display: inline-flex;
    width: 100%;
}

.optiontab a.nav-link {
    fill: #000;
    color: #000 !important;
    background-color: #ffcd00 !important;
    border-radius: 0 0 0 0;
    box-shadow: 0 0 0 0 #002d74;
    margin-right: 35px !important;
    font-size: 18px;
    font-weight: 600;
    transition: .25s ease-in-out;
}

.optiontab a.nav-link:hover {
    box-shadow: -10px -10px 0 0 #002d74 !important;
    background: #FFCD00 !important;
}

.optiontab a.nav-link.active {
    box-shadow: -10px -10px 0 0 #FFCD00 !important;
    background: #002D74 !important;
    color: #FFCD00 !important;
}

ul#grade-tab li.nav-item {
    width: 7.69%;
}

ul#grade-tab li.nav-item a {
    font-size: 12px;
}

.tab-content {
    width: 98% !important;
}

option#subject-title {
    background: #FFCD00 !important;
    color: #002D74 !important;
}

.subject-select option {
    background: #002D74;
    color: #FFCD00;
}

.subject-select {
    background-color: #FFCD00;
}

/*
    floating bottom triangle
*/

#view-switcher-ul li {
    position: relative;
}

#view-switcher-ul li a.nav-link.active:after {
    position: absolute;
    content: '';
    border: 7px solid transparent;
    border-top-color: #002D74;
    border-bottom: 0;
    top: 43px;
    left: 35%;
}

#grade-tab li a {
    position: relative;
}

#grade-tab li .active::after {
    position: absolute;
    content: '';
    border: 7px solid transparent;
    border-top-color: #002d74;
    border-bottom: 0;
    bottom: -7px;
    right: 40%;
    display: block;
}

#school-tab li a {
    position: relative;
}

#school-tab li .active::after {
    position: absolute;
    content: '';
    border: 7px solid transparent;
    border-top-color: #002d74;
    border-bottom: 0;
    bottom: -7px;
    right: 46%;
    display: block;
}

/*
    floating bottom triangle end
*/


/*============================================
Animated button with offset border
============================================ */
.btn {
    /*border: 5px;*/
    border-width: 2px 2px 2px 2px;
    border-radius: 0px 0px 0px 0px;
    background-color: #ffcD00 !important;
    color: #002d74 !important;
    display: inline-block;
    font-style: inherit;
    font-size: 12px;
    font-weight: bold;
    /*letter-spacing: 0.1rem;*/
    padding: 8px 20px !important;
    position: relative;
    text-decoration: inherit;
    text-transform: uppercase;
    top: 0;
    left: 0;
    height: 32px;
    outline: none;
}

.btn::before {
    /*border: 5px;*/
    border-width: 2px 2px 2px 2px;
    border-radius: 0px 0px 0px 0px;
    content: "";
    color: #002d74;
    background-color: #002d74;
    box-shadow: -2px 2px 0px 0px darken !important;
    position: absolute !important;
    top: 0;
    left: 0;
    height: 30px;
    width: 100%;
    transform: translate(-10px, -10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform, box-shadow;
    z-index: -1;
    outline: none;
}

.btn:hover::before {
    box-shadow: none !important;
    transform: translate(0, 0);
}

a {
    text-decoration: none;
    color: #002d74;
}

a:hover {
    text-decoration: none;
}

hr {
    background-color: #002d74;
}

/* Media */

@media(max-width: 847px) {
	ul#grade-tab li.nav-item {
		width: 50%;
	}
    .header-bar h1 {
        text-align: center;
        width: 100%;
    }

    .header-bar nav {
        display: none;
    }

    .example:first-of-type {
        bottom: 0;
    }
}

@media (min-width: 992px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 1200px !important;
    }
}

@media(min-width: 848px) {

    .header-bar,
    .jumbotron,
    .jumbotron1 nav,
    p,
    hr,
    ul {
        display: block;
    }

    .jumbotron,
    .jumbotron1,
    .button-group,
    .btn a {
        width: 98%;
    }
}

@media (max-width: 767px) {
    li#view-switcher-1 {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width:620px) {

    /* For mobile phones: */
    .button-group,
    .jumbotron,
    .jumbotron1 p,
    hr,
    ul,
    li,
    a {
        width: 100%;
    }

    .btn,
    a {
        width: 100%;
    }

    .active::after {
        display: none !important;
    }
}

#view-switcher-ul {
    margin-bottom: 2em;
}

.fixed-plus-icon {
    position: absolute;
    right: 40px;
    top: 16px;
    pointer-events: none;
}

.make-display-none {
    display: none;
}

.subject-select {
    margin-bottom: 2em;
}

#subject-title {
    font-style: italic;
}

#accordion-custom div:not(.fixed-custom-plus-icon) {
    display: none;
}

#accordion-custom section {
    position: relative;
}

.fixed-custom-plus-icon {
    position: absolute;
    right: 19px;
    top: 4px;
    pointer-events: none;
}

#school-tab a {
    cursor: pointer;
}

#school-tab {
    margin-bottom: 2em;
}

#accordion-custom button{
    background-color: #FFE57D !important;
}