﻿/*****Tabs code block******/
.tab_wrapper {
    width: 100%;
    /*margin: 150px auto;*/
}

.tabs ul {
    display: flex;
    margin-bottom: 0px;
    padding-left: 0px;
    margin: 0px;
}

.tabs li {
    background-color: #eceae9;
    margin-right: 5px;
    border: none;
    align-items: flex-start;
    list-style-type: none;
    padding-left: 0px;
}

.tabs ul li {
    /*width: 250px;*/
    padding: 15px;
    border-right: 1px solid #dddddd;
    color: #001e4b;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: #ffffff;
}

    .tabs ul li:last-child {
        border-right: 0px;
    }

    .tabs ul li:before {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 2px;
        background: #001e4b;
        opacity: 0;
        transition: all 0.2s ease;
    }

    .tabs ul li:hover,
    .tabs ul li.active {
        background: #c20430;
        color: #fff;
    }

        .tabs ul li:hover:before,
        .tabs ul li.active:before {
            opacity: 1;
        }

.tab_container_content {
    background-color: #001e4b;
    border: 2px solid #001e4b;
    border-radius: none;
    padding: 20px;
}

.tab_wrap .title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #ffffff;
}

.tab_wrap .tab_content p {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 10px;
    color: #ffffff;
}
/***End of Tab code**/
/****Flip card code*****/
.flip-card-ext {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-content: center;
}

@media only screen and (max-width: 1080px) {
    .flip-card-ext {
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (max-width: 375px) {
    .flip-card-ext {
        -ms-transform: scale(0.8,0.8);
        transform: scale(0.8,0.8);
        -webkit-transform: scale(0.8,0.8);
        -moz-transform: scale(0.8,0.8);
    }
}

.middle {
    top: 0%;
    left: 0%;
    transform: translate(0%,0%);
    margin: 5px;
}

.card {
    cursor: pointer;
    width: 300px;
    height: 400px;
}

.front, .back {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    position: absolute;
    transition: transform 0.6s linear;
    border-radius: 10px;
}

.front {
    background-color: #132149;
    transform: perspective(600px) rotateY(0deg);
    color: #fff;
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back {
    background-color: #d9d9d9;
    transform: perspective(600px) rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-content {
    text-align: center;
    width: 90%;
    overflow: auto;
}

.card:hover > .front {
    transform: perspective(600px) rotateY(-180deg);
    -webkit-transform: perspective(600px) rotateY(-180deg);
    -ms-transform: perspective(600px) rotateY(-180deg);
    -moz-transform: perspective(600px) rotateY(-180deg);
}

.card:hover > .back {
    transform: perspective(600px) rotateY(0deg);
    -webkit-transform: perspective(600px) rotateY(0deg);
    -ms-transform: perspective(600px) rotateY(0deg);
    -moz-transform: perspective(600px) rotateY(0deg);
}
/***End of flip card quote**/
/***Standard Quote box***/
.quote_box_container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-family: sans-serif;
    font-size: 14px;
    text-align: center;
    background-color: #132149;
}

.quote_outer_shell {
    background-color: #132149;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 2px #eceae9;
}

.quote_inner_shell p {
    color: #fff;
    padding: 15px;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}

.usa_quote_box {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 40px;
    margin-right: 40px;
    background-color: #132149;
    box-shadow: 5px 10px #c22033;
}
/*Small block*/
.quote_block_container {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    font-family: sans-serif;
    font-size: 14px;
    text-align: center;
    background-color: #132149;
}

.block_outer_shell {
    background-color: #132149;
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 5px;
    box-shadow: 2px 2px 2px #eceae9;
}

.block_inner_shell p {
    color: #fff;
    padding: 20px;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}
/***end of Quote box code***/
/***usa callout box code***/
.callout_box {
    border-right: solid 5px;
    border-left: solid 5px;
    border-right-color: #132149;
    border-left-color: #132149;
    width: 80%;
    height: 130px;
    margin: auto;
    background-color: #eceae9;
    padding-bottom: 20px;
}

.usa_callout_container {
    display: block;
    border-left: 5px solid;
    border-right: 5px solid;
    border-left-color: #132149;
    border-right-color: #132149;
    background-color: #eceae9;
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    padding: 15px;
    overflow-x: hidden;
    border-radius: 5px;
}
/****Button code*****/
.usa_btn_link a {
    padding: 10px 40px;
    width: 100px;
    background-color: #132149;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

    .usa_btn_link a:hover {
        text-decoration: underline;
        color: white;
        background-color: #c22033;
    }
/**End of button code***/
/**Gold Horizontal rule***/
.USA_rule {
    border-bottom: 3px solid #85754e;
}
/**end***/
/****Shortcut button****/
.shortcut_container {
    width: 100%;
}

.shortcut_grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

.shortcut_button {
    border-bottom: 3px solid #4b2e83;
    border-width: 50%;
    width: 20%;
    text-align: center;
    transition: 0.5s;
    font-size: 14pt;
    color: #4b2e83;
}

    .shortcut_button:hover {
        width: 22%;
        cursor: pointer;
    }
/****Shortcut end****/
/*****Accordion CSS code******/
.usa-module-accordion .element_toggler {
    background-color: #00205c;
    color: #ffffff;
    cursor: pointer;
    padding: 20px;
    border: none;
    border-radius: 1px;
    text-align: left;
    outline: none;
    font-size: 12pt;
    transition: 0.4s;
    margin-top: 5px;
    margin-bottom: 5px;
}

    .usa-module-accordion .element_toggler:hover {
        background-color: #8d9090;
    }

.element_to_toggle {
    padding: 0;
    display: none;
    background-color: white;
    overflow: hidden;
}

    .element_to_toggle .module-card {
        border: none;
        border-radius: 2px;
        background-color: #eceae9;
        padding: 1px;
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 10px;
        margin-top: 5px;
        margin-left: 40px;
    }

        .element_to_toggle .module-card:hover {
            background-color: #e5e5e5;
        }
/***End of accordion code**/
/***Heading CSS H2, H3***/
.user_content h2, .user_content .h2 {
    font-weight: 600;
    text-transform: uppercase;
    font-family: sans-serif;
    color: #132149;
}
/* h2 {
    font-weight: bolder !important;
    text-transform: uppercase !important;
    font-family: sans-serif;
  } */
/* h3 {
    font-weight: 500 !important;
    text-transform: uppercase !important;
    font-family: sans-serif;
  } */
.user_content h3, .user_content .h3 {
    font-weight: 500;
    text-transform: uppercase;
    font-family: sans-serif;
}
/***Heading end**/
/*****Home Page tiles*****/
.tile_container {
    max-width: 100%;
    padding: 0;
}

.tile_card {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    grid-auto-rows: minmax(250px, 1fr);
    grid-gap: 10px;
    padding-bottom: 1px;
    position: inherit;
}

.tile_image img {
    display: flex;
    justify-content: left;
    flex-direction: column;
    line-height: 2rem;
    max-width: 200px;
}

.tile_card img:hover {
    box-shadow: 5px 8px 16px 0 rgb(0, 0, 0);
}

.tile_locked {
    opacity: 0.6;
}
/*****end of tiles******/
/***Home page Info block***/
.grid-row {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #f0f0f0;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    margin: 0px;
}

.col-xs {
    flex-grow: 1;
    flex-basis: 0;
    max-width: 100%;
}

.col-xs {
    display: flex;
    width: 33.3%;
    box-sizing: border-box;
    flex-direction: column;
    flex-shrink: 0;
    padding-right: 12px;
    padding-left: 12px;
}

.live_link {
    margin-top: 10px;
}

.noodle-teacher-information-box *[class^=col] {
    border-right: 1px solid #e3e3e3;
}

    .noodle-teacher-information-box *[class^=col]:last-child {
        border-right: none;
    }

.noodle-live-session-info-box {
    margin: 0;
}

.noodle-call-in-info {
    margin: 0;
    display: none;
}
/***End of homepage info block***/
/* list spacing */
.user_content li {
    margin-bottom: 1.25rem;
}
/* ability to have lowercase letters for H2 and H3 headings, if needed. */
.construct-regular-H2-and-H3 {
    text-transform: none !important;
}
/* ability to change the font weight of things */
.construct-font-weight-600 {
    font-weight: 600;
}

.construct-font-weight-400 {
    font-weight: 400;
}
/* getting rid of the thick purple line in the assignment rubrics */
.user_content table caption {
    background-color: #4b2e83;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    padding: 5px;
}
/* please add the color styling also to darken the font. This is to increase the contrast. */
.element_to_toggle .module-card {
    border: none;
    border-radius: 2px;
    background-color: #d5d5d5;
    padding: 1px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
    margin-left: 40px;
    color: black
}
/* Headings and paragraph Typography */
h1 {
    font-family: sans-serif;
    font-weight: bold;
    font-size: 28px;
    text-transform: uppercase;
    color: #132149;
}

h2 {
    font-family: sans-serif;
    font-size: 23px;
    font-weight: 600;
    text-transform: uppercase;
}

h3 {
    font-family: sans-serif;
    font-size: 14px;
    text-align: left;
}

h4 {
    font-family: sans-serif;
    font-size: 16px;
    text-align: left;
}

p {
    font-family: sans-serif;
    font-size: 14px;
    color: black;
}

ul {
    font-family: sans-serif;
    font-size: 14px;
    text-align: left;
    color: black;
}

ol {
    font-family: sans-serif;
    font-size: 14px;
    text-align: left;
    color: black;
}
/* Course card styling */
.tile_container {
    max-width: 100%;
    padding: 0;
}

.tile_card {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    grid-auto-rows: minmax(250px, 1fr);
    grid-gap: 10px;
    padding-bottom: 1px;
    position: inherit;
    box-shadow: 35%;
}

a:hover {
    color: black;
}

.tile_locked {
    opacity: 0.6;
}

.btn:hover, .Button:hover, ui-button:hover, .ui-button.ui-state-hover {
    background: #c22033;
    color: #ffffff;
}
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}
/* Course overview page styling on homepage */
.usa_swim_course_overview {
    display: block;
    border-left: 8px solid;
    border-right: 8px solid;
    border-left-color: #132149;
    border-right-color: #132149;
    background-color: #eceae9;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
    border-radius: 10px;
}
/* USA Glossary Accordion style */
.usa_glossary_accordion {
    background-color: #132149;
    color: #ffffff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    transition: 0.4s;
}

.description {
    padding: 0 18px;
    background-color: #fff;
    overflow: hidden;
}

.usa_glossary_accordion:hover {
    background-color: #ccc;
}

.usa-module-accordion .model1:hover {
    background-color: #96864C;
}
