:root {
    --blue: #144272;
    --blue-light: #308dc6;
    --primary: #144272;
    --swiper-theme-color: #144272 !important;
    --orange: #f08700;
    --bs-font-sans-serif: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    --font-family-sans-serif: var(--bs-font-sans-serif);
    /* --basic-color-red: rgba(204, 61, 0, 1); */
    --basic-color-red: #ffffff;
    /* --basic-color-black: rgba(63, 63, 63, 1);
    --basic-color-black-2: rgba(63, 63, 63, .86);
    --basic-color-green: rgba(95, 255, 216, 1);
    --basic-color-white: rgba(246, 242, 239, 1);
    --basic-color-white-2: rgba(246, 242, 239, .66); */
    /* --basic-color-black: #3f3f3f;
    --basic-color-black-2: #3f3f3fdb; */
    --basic-color-black: #3f3f3f;
    --basic-color-black-2: #3f3f3f;
    /* --basic-color-green: #5fffd8; */
    --basic-color-green: #add8e6;
    --basic-color-green-300: #add8e6a7;
    --basic-color-white: #f6f2ef;
    --basic-color-white-2: #f6f2efa8;

    --bs-body-color: var(--basic-color-black);
    --bs-body-bg: var(--basic-color-white);
    /* --teaching-header-bg: var(--basic-color-red);
    --teaching-header-border-color: var(--basic-color-red); */
    /* --teaching-header-bg: #ADD8E6;
    --teaching-header-border-color: #ADD8E6; */
    --teaching-header-bg: var(--color-blue-2);
    --teaching-header-border-color: var(--color-blue-2);
    /* --media-player-green: #5ffed8; */
    --media-player-green: #add8e6;
    /* --media-player-gray: #5c5b5a; */
    --media-player-gray: #afafaf;

    --color-orange-1: #ff7c07;
    --color-orange-2: #fe9233;
    --color-orange-3: #ffb26d;
    --color-blue-1: #0080c8;
    --color-blue-2: #3399d3;
    --color-blue-3: #99cce9;
    --color-gray-1: #909493;
}

body {
    background-color: var(--bs-body-bg);
    font-family: var(--font-family-sans-serif);
    font-size: 1rem;
    color: #3f3f3f;
    height: 100vh;
}

.header-navbar {
    color: var(--color-gray-1);
}

.header-navbar .navbar-brand {
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    text-decoration: none;
    white-space: nowrap;
}

.text-primary {
    color: var(--blue) !important;
}

/*/Ludo additions*/

.main_page {
    min-height: calc(100vh - 60px);
    /* padding-top: 80px; */
    margin-top: auto;
    /* padding-bottom: 80px; */
    background-color: var(--bs-body-bg);
    transition: padding-top 0.2s ease-in-out;
}

.bodyFullscreen .main_page {
    padding-top: 0px;
}

.main_page.model_test {
    background-color: val(--blue);
}

/* @media print {
    * {
        color: #FFFFFF!important;
        display: none!important;
    }
} */

#indexKvCarouselIndicators .carousel-inner img {
    width: 100%;
    height: 55vh;
    object-fit: cover;
}

.nav-white {
    color: black;
}

.navbar-white {
    position: fixed;
    height: 80px;
}

.container {
    max-width: 1200px;
}

.bg-light-header-develop::before {
    content: "Test environment";
    display: block;
    position: absolute;
    color: red;
    right: 3px;
    top: 0;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--color-gray-1);
}

#header_block {
    background-color: #fff;
    /* padding-top: 0;
    padding-bottom: 0; */
    padding: 0;
    color: #3f3f3f;
}

#header_block .container-fluid {
    padding: 0 12px;
}

.header-navbar .navbar {
    padding: 0;
}

.header-navbar .navbar-collapse {
    margin-top: auto;
}

.header-navbar .nav-link {
    --bs-nav-link-hover-color: var(--color-orange-1);
    --bs-navbar-active-color: var(--color-orange-1);
    --bs-nav-link-color: var(--color-gray-1);
}

.header-navbar .dropdown-toggle {
    --bs-nav-link-hover-color: var(--color-orange-1);
    --bs-navbar-active-color: var(--color-orange-1);
}

.header-navbar .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.15em;
    vertical-align: initial;
    border: 0;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f04b";
    font-size: 12px;
}

.header-navbar .dropdown-toggle.show::after {
    transform: rotateZ(90deg);
}

@media (min-width: 768px) {
    .header-navbar .btn-group.dropdown:hover .dropdown-menu {
        display: block;
    }
}

.header-navbar .btn-group.dropdown:hover > .nav-link {
    color: var(--color-orange-1);
}

.header-navbar .btn-group.dropdown:hover > .nav-link::after {
    transform: rotateZ(90deg);
}

.header-navbar .btn-group > .nav-link {
    padding-right: 0.15em;
}

.header-navbar .btn-group .dropdown-toggle-split {
    padding-left: 0.15em;
}

@media (min-width: 768px) {
    .header-navbar .btn-group .dropdown-toggle-split {
        pointer-events: none;
        cursor: default;
    }
}

@media (max-width: 767.98px) {
    .header-navbar .btn-group .dropdown-menu {
        width: 100%;
    }
}

.header-navbar .dropdown-menu {
    --bs-dropdown-spacer: 0;
    --bs-dropdown-link-active-bg: var(--color-orange-3);
    --bs-border-width: 0;
    --bs-dropdown-border-radius: 0;
    --bs-body-bg: transparent;
    padding: 0;
    top: 100%;
}

.header-navbar .dropdown-menu .dropdown-item {
    --bs-dropdown-item-padding-y: 0.5rem;
    --bs-dropdown-link-color: var(--color-gray-1);
    --bs-dropdown-link-hover-bg: var(--color-orange-3);
    --bs-dropdown-link-hover-color: #fff;
    background-color: #fff;
    border-bottom: dashed 1px;
}

.header-navbar .dropdown-menu .dropdown-item:hover,
.header-navbar .dropdown-menu .dropdown-item.active {
    background-color: var(--bs-dropdown-link-hover-bg);
}

.header-navbar .dropdown-menu div:first-child {
    height: 10px;
}

@media (max-width: 767.98px) {
    .header-navbar .dropdown-menu div:first-child {
        display: none;
    }
}

.header-navbar .dropdown-menu div:first-child::before {
    content: "";
    position: absolute;
    left: 20px;
    background: #fff;
    width: 16px;
    height: 16px;
    transform: rotate(45deg);
    z-index: -1;
    top: 3px;
    display: block;
}

.header-navbar .dropdown-menu li:last-child .dropdown-item {
    border-bottom: 0;
}

/* @media (max-width: 991.98px) {
    #header_block {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
} */

/* #header_block .dropdown {
    float: right;
    padding: 1vh 0vh 0vh 1vh;
}

@media only screen and (max-width: 1200px) and (min-width: 767px) {
    #header_block .dropdown {
        padding-top: 1.5vh;
    }
}

@media (max-width: 575.98px) {
    #header_block {
        height: auto;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    #header_block {
        height: auto;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #header_block {
        height: auto;
    }
} */

#header_block .dropdown a {
    /* font-size: 1.3em; */
    /* color: #909493; */
    /* padding-top: 1.5vh; */
}

#header_block .dropdown .points {
    /* font-size: 1.3em; */
    /* color: #3f3f3f; */
    /* padding: 10px 0; */
}

/* #header_block .dropdown .points:hover {
    opacity: unset;
} */

@media (min-width: 992px) and (max-width: 1200px) {
    /* #header_block .dropdown a,
    #header_block .dropdown .points {
        font-size: 1.0em;
    } */
}

#header_block .header-dropdown a {
    /* padding: 1vh 2vh 2vh 1vh; */
    /* padding: 10px; */
}

#header_block .header-dropdown a.active:before {
    left: 0;
    right: 0;
}

.cartpic {
    display: inline-block;
    width: 50px;
    height: 30px;
    vertical-align: middle;
}

.cartpic > img {
    display: block;
    width: auto;
    height: 100%;
}

/*header*/

/* .navbar {
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
} */

body .bg-white {
    background-color: white;
}

.courses-description {
    width: 100%;
}

/*description header*/

header.masthead {
    margin-bottom: 50px;
    background: no-repeat center center;
    background-color: #868e96;
    background-attachment: scroll;
    position: relative;
    background-size: cover;
}

header.masthead .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

header.masthead .page-heading,
header.masthead .post-heading,
header.masthead .site-heading {
    padding: 200px 0 150px;
    color: white;
}

@media only screen and (min-width: 768px) {
    header.masthead .page-heading,
    header.masthead .post-heading,
    header.masthead .site-heading {
        padding: 200px 0;
    }
}

header.masthead .page-heading,
header.masthead .site-heading {
    text-align: center;
}

header.masthead .page-heading h1,
header.masthead .site-heading h1 {
    font-size: 50px;
    margin-top: 0;
}

header.masthead .page-heading .subheading,
header.masthead .site-heading .subheading {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.1;
    display: block;
    margin: 10px 0 0;
    /* font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; */
}

@media only screen and (min-width: 768px) {
    header.masthead .page-heading h1,
    header.masthead .site-heading h1 {
        font-size: 80px;
    }
}

header.masthead .post-heading h1 {
    font-size: 35px;
}

header.masthead .post-heading .meta,
header.masthead .post-heading .subheading {
    line-height: 1.1;
    display: block;
}

header.masthead .post-heading .subheading {
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0 30px;
    /* font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; */
}

header.masthead .post-heading .meta {
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    /* font-family: 'Lora', 'Times New Roman', serif; */
}

header.masthead .post-heading .meta a {
    color: #fff;
}

@media only screen and (min-width: 768px) {
    header.masthead .post-heading h1 {
        font-size: 55px;
    }

    header.masthead .post-heading .subheading {
        font-size: 30px;
    }
}

.header_logo {
    height: auto;
}

.header_logo .logo {
    width: 100%;
    display: block;
}

@media only screen and (max-width: 548px) {
    .header_logo {
        width: 50%;
    }
}

@media only screen and (min-width: 549px) and (max-width: 768px) {
    .header_logo {
        width: 30%;
        margin-left: 90px;
    }
}

@media only screen and (min-width: 769px) {
    .header_logo {
        width: 20%;
    }
}

/* @media only screen and (min-width: 549px) and (max-width: 768px) {
  .nav-mobile-icon {

    margin-right: 64px;
  }
} */

/*sidebar*/

.sidebar-menu {
    /*position:fixed;*/
    width: 270px;
    margin-left: 12px !important;
}

.card-header-sidebar {
    background-color: white;
    color: black;
    margin-bottom: 0px;
}

.sidebar-menu-mobile a {
    color: black;
    display: block;
}

.sidebar-menu .sidemenuLink {
    padding-left: 0px;
}

.sidebar-menu a {
    background: #ffffff;
    border-radius: 30px;
    margin-right: 16px;
}

.sidebar-menu .not_free {
    cursor: not-allowed;
    position: relative;
}

.sidebar-menu .not_free::after {
    content: "\f023";
    font-family: FontAwesome;
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sidebar-menu a.active {
    font-weight: bold;
}

.sidebar-menu a.active,
.sidebar-menu a:hover {
    background: var(--bs-body-bg);
    opacity: 0.8;
    /* color: white !important; */
    color: var(--color-orange-1);
    /* font-weight: bold; */
    border-radius: 30px;
    padding-left: 10px;
    margin-left: -3px;
    margin-right: 16px;
}

/* .sidebar-menu .sidemenuLink{
    background: #999;
    border-radius: 30px;
} */

/* .col-3 a :hover{
   background: var(--blue-light);
  opacity: 0.8;
  color:white;
  border-radius:30px;
  padding:15px;
} */

/* .form-inline .form-control {
    display: inline-block;
    width: 210px;
    height:30px;
    vertical-align: middle;
} */

.card-header a {
    color: var(--blue) !important;
}

/* .card-header h3 {
    color: white !important;
} */

.sidebar {
    margin: 0;
    padding: 0;
    /* width: 300px; */
    width: 100%;
    /* background-color: #f5f5f5; */
    overflow: auto;
    filter: drop-shadow(0px 2px 5px);
}

.sidebar a {
    display: block;
    color: black;
    padding: 8px 0;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 1px;
}

.sidebar ul li li {
    /* padding: 0 16px; */
}

.sidebar .btn-link img {
    padding: 10px;
}

.sidebar .subcategory-title {
    /* padding: 8px 0; */
}

.sidebar .subcategory-container {
}

.sidebar .subcategory-container .course-container.no-csg a {
    margin-left: 14px;
}

.sidebar
    .subcategory-container
    .course-container.no-csg
    a.course-container-title {
    margin-left: 0px;
}

.sidebar
    .subcategory-container
    .course-container.no-csg
    a.course-container-title.active {
    margin-left: -10px;
}

.sidebar
    .subcategory-container
    .course-container.no-csg
    a.course-container-title:hover {
    margin-left: -10px;
}

.sidebar .subcategory-group {
    padding: 1.25rem 0 1.25rem 1.25rem;
}

.sidebar .subcategory-container .subcategory-group {
    padding-bottom: 0;
}

.sidebar .course-container {
}

/* .sidemenuLink */

.sidebar .course-container a {
    margin-left: 28px;
}

/* .sidebar .subcategory-container .course-container:not(.no-csg) sidemenuLinkLesson.active,
.sidebar .subcategory-container .course-container:not(.no-csg) sidemenuLinkLesson:hover,
.sidebar .subcategory-container .course-container:not(.no-csg) sidemenuLinkUncompleted.active,
.sidebar .subcategory-container .course-container:not(.no-csg) sidemenuLinkUncompleted:hover {
    padding-left: 18px;
} */

.sidebar
    .subcategory-container
    .course-container:not(.no-csg)
    a.course-container-title.active,
.sidebar
    .subcategory-container
    .course-container:not(.no-csg)
    a.course-container-title:hover {
    margin-left: 18px;
}

/*
.sidebar a.active {
  background-color: #eee;
  color: white;
}
*/

.sidebar a.text-orange {
    color: var(--color-orange-1);
}

.sidebar a.text-orange:hover {
    color: var(--color-orange-1);
}

.sidebar a:hover:not(.active, .text-orange) {
    /* color: #144272; */
    color: var(--color-blue-1);
    transition-duration: 0.02s;
}

div.content {
    margin-left: 200px;
    padding: 1px 16px;
    height: 1000px;
}

@media screen and (max-width: 767px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    /* .sidebar a {float: left;} */
    div.content {
        margin-left: 0;
    }
}

/* @media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
} */

.text-shadow {
    -webkit-text-stroke: 2px black;
    color: white;
}

/* <!--home css-> */

.banner-title > .carousel-caption {
    position: absolute;
    right: 15%;
    top: 30%;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    /* text-align: center; */
    width: 30% !important;
}

#products .row {
    position: absolute;
    bottom: 5%;
}

.view-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
}

.thumbnail {
    margin-bottom: 30px;
    padding: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    height: 494px;
    box-shadow: 2px 2px 2px rgba(20%, 20%, 40%, 0.5);
}

.thumbnail img {
    width: 100%;
    height: 100%;
}

.pink-heart {
    color: #f16688;
}

.pink-heart i:hover {
    background-color: #f16688;
}

.btn-heart {
    color: #dc3545;
    background-color: transparent;
    background-image: none;
    /* border-color: #dc3545; */
    border-radius: 50%;
    font-size: 25px;
}

.thumbnail .modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 150%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.thumbnail li {
    float: left;
    padding: 10px;
}

.thumbnail .flag {
    width: 30px;
    height: 20px;
    margin-bottom: 15px;
}

.item.list-group-item {
    float: none;
    width: 100%;
    background-color: #fff;
    margin-bottom: 30px;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 1rem;
    border: 0;
}

.item.list-group-item .img-event {
    float: left;
    width: 30%;
    height: 50%;
}

.item.list-group-item .list-group-image {
    margin-right: 10px;
}

.item.list-group-item .thumbnail {
    margin-bottom: 0px;
    display: inline-block;
}

.item.list-group-item .caption {
    float: left;
    width: 70%;
    height: 70%;
    margin: 0;
}

.item.list-group-item:before,
.item.list-group-item:after {
    display: table;
    content: " ";
}

.item.list-group-item:after {
    clear: both;
}

.course_info .card-body {
    background-color: white;
}

.thumbnail .blue-text {
    color: #29abe2;
}

.list-group {
    margin-left: 1rem;
}

/*footer*/
footer {
    margin-top: 30px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
}

@media screen and (min-width: 1440px) {
    #footer_block .collapse:not(.show) {
        display: flex;
    }

    #footer_block #collapseFooterLogo {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    #footer_block #footer_collapse_switcher {
        display: none !important;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1439px) {
    #footer_block .collapse:not(.show) {
        display: none;
    }

    #footer_block #footer_collapse_switcher {
        display: flex;
    }
}

.context-dark,
.bg-gray-dark,
.bg-primary {
    color: rgba(255, 255, 255);
}

.footer-classic a,
.footer-classic a:focus,
.footer-classic a:active {
    color: #ffffff;
}

.nav-list li {
    padding-top: 5px;
    padding-bottom: 5px;
}

/*.nav-list li a:hover:before {
    margin-left: 0;
    opacity: 1;
    visibility: visible;
}*/

/*ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}*/

.social-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 23px;
    font: 900 13px/1 "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.social-container .col {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-list li a:before {
    content: "\f14f";
    font: 400 21px/1 "Material Design Icons";
    color: #4d6de6;
    display: inline-block;
    vertical-align: baseline;
    margin-left: -28px;
    margin-right: 7px;
    opacity: 0;
    visibility: hidden;
    transition: 0.22s ease;
}

/* course css */
/* a:not([href]):not([tabindex]) {
    color: white;
    text-decoration: none;
} */

video {
    margin-left: 20px;
}

/*.bg-dark {
    background-color: #042c54!important;
}*/

.card-header {
    /* background-color: var(--teaching-header-bg);
    border-color: var(--teaching-header-bg); */
    background-color: var(--color-orange-2);
    border-color: var(--color-orange-2);
}

.card-header p {
    color: white;
}

.card-header a {
    color: white;
}

.navbar-brand {
    float: left;
}

.theory .navbar {
    position: fixed;
}

.col {
    float: left;
}

/* .col-3 a{
  color:black;
}

.col-3 a :hover{
  text-decoration: none !important;
  color: var(--blue-light);
}

.col-3 a :active{
  background-color: var(--blue-light);
}

.col-3 img {
    padding: 20px;
}   */

.text-center {
    text-align: center !important;
    margin: auto;
}

/* <!--overviews css--> */

/* .card{
	padding:60px;
}

.main img{
	padding:20px;
}


.card h3 img{
    margin-left: 30px !important;
} */

/* <!--exercise css--> */

/* .form-inline .form-control{
  width:120px;
} */

/*.table{
  width:30%;
}*/

.R-exercise-table {
    padding: 30px;
    margin-left: 100px;
    margin-bottom: 30px;
}

/* .form-inline{
  margin:10px;
} */

/* <!----test---> */

.funkyradio div {
    clear: both;
    overflow: hidden;
}

.funkyradio label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #d1d3d4;
    font-weight: normal;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
    display: none;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
    position: relative;
    line-height: 2.5em;
    text-indent: 3.25em;
    margin-top: 2em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: "";
    width: 2.5em;
    background: #d1d3d4;
    border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
    content: "\2714";
    text-indent: 0.9em;
    color: #c2c2c2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
    color: #777;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
    content: "\2714";
    text-indent: 0.9em;
    color: #333;
    background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
    color: #333;
    background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked ~ label:before,
.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked ~ label:before,
.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked ~ label:before,
.funkyradio-info input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5bc0de;
}

/* <------!LOGIN----> */

/* BASIC */

/* html {
  background-color: #56baed;
}

body {
  font-family: "Poppins", sans-serif;
  height: 100vh;
}

a {
  color: #337ab7;
  display:inline-block;
  text-decoration: none;
  font-weight: 400;
}
 */

/* STRUCTURE */

.wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

#formContent {
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    background: #fff;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    position: relative;
    padding: 0px;
    -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
    text-align: center;
}

#formFooter {
    background-color: #f6f6f6;
    border-top: 1px solid #dce8f1;
    padding: 25px;
    text-align: center;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}

/* TABS */

h2.inactive {
    color: #cccccc;
}

h2.active {
    color: #0d0d0d;
    border-bottom: 2px solid #5fbae9;
}

/* FORM TYPOGRAPHY*/

.login input[type="button"],
input[type="submit"],
input[type="reset"] {
    background-color: #56baed;
    border: none;
    color: white;
    padding: 15px 80px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    -webkit-box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin: 5px 20px 40px 20px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.login input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: #39ace7;
}

.login input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {
    -moz-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -o-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
}

.login input[type="text"],
.login input[type="password"] {
    background-color: #f6f6f6;
    border: none;
    color: #0d0d0d;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    width: 85%;
    border: 2px solid #f6f6f6;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    -webkit-user-select: text;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus {
    background-color: #fff;
    border-bottom: 2px solid #5fbae9;
    -webkit-user-select: text;
}

.login input[type="text"]:placeholder,
.login input[type="password"]:placeholder {
    color: #cccccc;
}

#pwd_wrap {
    position: relative;
}

.login .field-icon {
    position: absolute;
    top: 27px;
    right: 10%;
    z-index: 2;
    color: #7b7b7b;
}

/* ANIMATIONS */

/* Simple CSS3 Fade-in Animation */

.underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #56baed;
    content: "";
    transition: width 0.2s;
}

.underlineHover:hover {
    color: #0d0d0d;
    text-decoration: none;
}

.underlineHover:hover:after {
    width: 100%;
}

/* OTHERS */

*:focus {
    outline: none;
}

#icon {
    width: 50%;
}

/* sidebar */

.sidebar-menu ul li {
    list-style: none;
}

.sidebar-menu-title {
    color: white;
}

/*sidebar btn link*/

.btn-link {
    color: var(--basic-color-black);
    font-size: 20px;
}

.btn-link:hover {
    text-decoration: none;
    color: var(--blue);
}

.line-height {
    line-height: 1.5;
}

/*wrong answer*/

.wronganswer {
    border: 2px solid red;
    text-decoration: line-through;
    color: red;
}

.RightMenu {
    background-color: white;
    color: black;
    /*display: none;*/
    right: 0px;
}

.dropdown-title {
    color: blue;
}

.answer-feedback {
    color: red;
    position: relative;
    bottom: -25px;
    left: -115px;
}

.failed {
    color: #cc0000;
}

.passed {
    color: green;
}

.show_feedback {
    color: #aaaaaa;
}

#show_passage1 {
    background-color: yellow;
    display: none;
}

#show_passage2 {
    background-color: yellow;
    display: none;
}

.thumbnail {
    height: 530px;
}

/*content color*/

.orange_title {
    color: #f18700;
}

.red_title {
    color: red;
}

.blue_title {
    color: #144272;
}

.select-xs {
    width: 40%;
}

.btn-white {
    background-color: #ffffff;
    color: #ff7c00;
}

.btn-white:hover,
.btn-white:active {
    background-color: #ffffff;
    color: #ff7c00;
}

.btn-orange {
    /* background-color: #f18700; */
    background-color: #ff7c00;
    color: white;
}

.btn-orange:hover,
.btn-orange:active {
    /* background-color: #e77200; */
    background-color: #fe9233;
    color: white;
}

.btn-orange:focus {
    box-shadow: 0 0 0 0.2rem rgb(240 140 0 / 50%);
}

.btn-blue,
.btn-primary {
    background-color: var(--blue);
    opacity: 80%;
    color: white;
    border-color: var(--blue);
}

.btn-blue:hover,
.btn-blue:active,
.btn-blue:focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--blue);
    opacity: 100%;
    color: white;
    border-color: var(--blue);
}

.btn-blue:disabled,
.btn-primary:disabled,
.btn-blue.disabled,
.btn-primary.disabled {
    background-color: var(--blue);
    opacity: 60%;
    color: white;
    border-color: var(--blue);
}

.btn-head-nevigation,
.default-fourth-hyperlink {
    height: calc(50px + 8px);
}

.btn-head-nevigation .btn-blue,
.btn-head-nevigation .btn-primary {
    opacity: 100%;
}

.btn-head-nevigation .btn-blue:focus,
.btn-head-nevigation .btn-primary:focus {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.btn-orange:focus {
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 50%);
}

.btn-lightblue {
    background-color: #12a6c5;
    color: white;
}

.btn-lightblue :hover {
    background-color: #144272;
    color: white;
    opacity: 0.9;
}

.courses-outline {
    border: black 1px solid;
    width: 40%;
}

.course-item {
    border-bottom: #d6d3d3 0.5px solid;
}

.course-item img {
    margin-top: 10%;
    width: 80%;
    height: 80%;
}

.course-item li :hover {
    background-color: #cfedff;
    opacity: 0.9;
}

.feedback-mail {
    position: fixed;
    right: 30px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    color: white;
    background-color: #53baf5;
    border-radius: 50%;
    z-index: 1;
}

.feedback-mail .far {
    margin: 10px;
    font-size: 40px;
}

html {
    scroll-behavior: smooth;
}

/*cart*/

.param {
    margin-bottom: 7px;
    line-height: 1.4;
}

.param-inline dt {
    display: inline-block;
}

.param dt {
    margin: 0;
    margin-right: 7px;
    font-weight: 600;
}

.param-inline dd {
    vertical-align: baseline;
    display: inline-block;
}

.param dd {
    margin: 0;
    vertical-align: baseline;
}

.shopping-cart-wrap .price {
    color: #144272;
    font-size: 18px;
    font-weight: bold;
    margin-right: 5px;
    display: block;
}

var {
    font-style: normal;
}

.media img {
    margin-right: 1rem;
}

.img-sm {
    width: 200px;
    max-height: 150px;
    object-fit: cover;
}

.img-default {
    /* max-width: 1500px;
    max-height: 60vh;
    width: 100%;
    height: auto;
    display: block; */
    width: 100%;
    max-width: clamp(
        300px,
        100%,
        800px
    ); /* 最小300px，最大800px，但不超過容器寬 */
    height: auto;
    display: block;
    margin: 1em auto;
}

.img-fullwidth {
    width: 100%;
    height: auto;
}

*:not(.clicksound) > .img-flexible.img-default {
    cursor: zoom-in;
}

*:not(.clicksound) > .img-flexible.img-fullwidth {
    cursor: zoom-out;
}

.white-text {
    color: white;
}

.course_level {
    margin: 150px;
    width: 350px;
    height: 50px;
    background-color: #144272;
    color: white;
    border-radius: 50px;
    z-index: 1px;
}

/*********************** course hover *******************/

.box14 {
    position: relative;
}

.box15,
.box17,
.box18 {
    box-shadow: 0 0 5px #7e7d7d;
    text-align: center;
}

.rwd-table tr:nth-of-type(2n) {
    background: #eee;
}

.rwd-table th,
.rwd-table td {
    margin: 0.5em 1em;
}

.rwd-table {
    min-width: 100%;
}

.box14:before {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.35s ease 0s;
}

.box14:hover:before {
    opacity: 1;
}

.box14 img {
    width: 100%;
    height: auto;
}

.box14 .box-content {
    width: 90%;
    height: 90%;
    position: absolute;
    top: 5%;
    left: 5%;
}

.box14 .box-content:after,
.box14 .box-content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    transition: all 0.7s ease 0s;
}

.box14 .box-content:before {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    transform: scale(0, 1);
    transform-origin: 0 0 0;
}

.box14 .box-content:after {
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    transform: scale(1, 0);
    transform-origin: 100% 0 0;
}

.box14:hover .box-content:after,
.box14:hover .box-content:before {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.15s;
}

.box14 .title {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    margin: 25px 0;
    opacity: 0;
    transform: translate3d(0, -50px, 0);
    transition: transform 0.5s ease 0s;
}

.box14:hover .title {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.box14 .post {
    font-size: 14px;
    color: #fff;
    padding: 10px;
    margin-left: 100px;
    background: #d79719;
    opacity: 0;
    border-radius: 5px;
    transform: translate3d(0, -50px, 0);
    transition: all 0.7s ease 0s;
}

.box14 .icon,
.box15 .icon {
    padding: 0;
    list-style: none;
}

.box14:hover .post {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.15s;
}

.box14 .icon {
    width: 100%;
    margin: 0;
    position: absolute;
    bottom: -10px;
    left: 0;
    opacity: 0;
    z-index: 1;
    transition: all 0.7s ease 0s;
}

.box14:hover .icon {
    bottom: 20px;
    opacity: 1;
    transition-delay: 0.15s;
}

.box14 .icon li a {
    display: block;
    width: 50px;
    height: 50px;
    float: left;
    text-align: center;
    display: inline-block;
    line-height: 40px;
    border: 1px solid #fff;
    border-radius: 40px;
    font-size: 14px;
    color: #fff;
    margin-left: 5%;
    transition: all 0.4s ease 0s;
}

.box14 .icon li a:hover {
    background: #d79719;
    opacity: 0.8;
    border-color: #d79719;
}

/*@media only screen and (max-width:990px){.box14{margin-bottom:30px}*/

/*rwd table*/

.rwd-table {
    background: #fff;
    overflow: hidden;
}

.rwd-table tr:nth-of-type(2n) {
    background: #eee;
}

.rwd-table th:first-child,
.rwd-table td:first-child {
    padding-left: 0;
}

.rwd-table th:last-child,
.rwd-table td:last-child {
    padding-right: 0;
}

.rwd-table th,
.rwd-table td {
    margin: 0.5em 1em;
}

.rwd-table {
    min-width: 100%;
}

.rwd-table th {
    display: none;
}

.rwd-table td {
    display: block;
}

.rwd-table td:before {
    content: attr(data-th) " : ";
    font-weight: bold;
    width: 6.5em;
    display: inline-block;
}

.rwd-table th,
.rwd-table td {
    text-align: left;
}

.rwd-table th,
.rwd-table td:before {
    color: #d20b2a;
    font-weight: bold;
}

@media (min-width: 480px) {
    .rwd-table td:before {
        display: none;
    }

    .rwd-table th,
    .rwd-table td {
        display: table-cell;
        padding: 0.25em 0.5em;
    }

    .rwd-table th:first-child,
    .rwd-table td:first-child {
        padding-left: 0;
    }

    .rwd-table th:last-child,
    .rwd-table td:last-child {
        padding-right: 0;
    }

    .rwd-table th,
    .rwd-table td {
        padding: 1em !important;
    }
}

/*rwd-img*/

.image-wrap {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow-x: hidden;
}

.hader {
    position: relative;
    width: 100%;
}

/*course*/

/* .col-md-4 {
    display: inline-block;
    margin-left: -10px;
}

.col-md-4 img {
    width: 100%;
    height: auto;
} */

body .carousel-control-prev-icon,
body .carousel-indicators li,
body .carousel-control-next-icon {
    background-color: #000;
}

/* span.carousel-control-prev-icon {
    position: relative;
    bottom: 40px;
    right: 40px;
} */

/* span.carousel-control-next-icon {
    position: relative;
    bottom: 40px;
} */

/*TREE*/

/*Now the CSS*/

* {
    margin: 0;
    padding: 0;
}

.tree ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    padding-top: 20px;
    position: relative;

    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;

    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

/*We will use ::before and ::after to draw the connectors*/

.tree li::before,
.tree li::after {
    content: "";
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 1px solid #ccc;
    width: 50%;
    height: 20px;
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #ccc;
}

/*We need to remove left-right connectors from elements without
any siblings*/

.tree li:only-child::after,
.tree li:only-child::before {
    display: none;
}

/*Remove space from the top of single children*/

.tree li:only-child {
    padding-top: 0;
}

/*Remove left connector from first child and
right connector from last child*/

.tree li:first-child::before,
.tree li:last-child::after {
    border: 0 none;
}

/*Adding back the vertical connector to the last nodes*/

.tree li:last-child::before {
    border-right: 1px solid #ccc;
    border-radius: 0 5px 0 0;
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
    border-radius: 5px 0 0 0;
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/

.tree ul ul::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #ccc;
    width: 0;
    height: 20px;
}

.tree li a {
    border: 1px solid #ccc;
    padding: 5px 10px;
    text-decoration: none;
    color: #666;
    /* font-family: arial, verdana, tahoma; */
    font-size: 20px;
    display: inline-block;

    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;

    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

/*Time for some hover effects*/

/*We will apply the hover effect the the lineage of the element also*/

/*.tree li a:hover, .tree li a:hover+ul li a {
  background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
}
*/

.tree a:hover {
    background: #c8e4f8;
    color: #000;
    border: 1px solid #94a0b4;
}

/*Connector styles on hover*/

/*.tree li a:hover+ul li::after,
.tree li a:hover+ul li::before,
.tree li a:hover+ul::before,
.tree li a:hover+ul ul::before{
  border-color:  #94a0b4;
}
*/

.tree i {
    display: none;
}

.teacher-info {
    width: 100%;
    background-color: white;
    box-shadow: 2px 2px 2px rgba(20%, 20%, 40%, 0.5);
}

.teacher-info .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #f8f9fa;
    background-color: #2098d1;
    border-color: #dee2e6 #dee2e6 #fff;
}

.whygo-orange-pattern img {
    position: absolute;
}

.whygo-orange-pattern p {
    position: relative;
    z-index: 1;
}

.blue-rectangle {
    border-left: 4px solid #2098d1;
    padding: 8px;
    margin-top: 10px;
}

/*new sidebar*/

@keyframes swing {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(10deg);
    }

    30% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    60% {
        transform: rotate(5deg);
    }

    70% {
        transform: rotate(0deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes sonar {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.page-wrapper .sidebar-wrapper,
.sidebar-wrapper .sidebar-brand > a,
.sidebar-wrapper .sidebar-dropdown > a:after,
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:before,
.sidebar-wrapper ul li a i,
.page-wrapper .page-content,
.sidebar-wrapper .sidebar-search input.search-menu,
.sidebar-wrapper .sidebar-search .input-group-text,
.sidebar-wrapper .sidebar-menu ul li a,
#show-sidebar,
#close-sidebar {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/*----------------page-wrapper----------------*/

.page-wrapper {
    height: 100vh;
}

.page-wrapper .theme {
    width: 40px;
    height: 40px;
    display: inline-block;
    border-radius: 4px;
    margin: 2px;
}

.page-wrapper .theme.chiller-theme {
    background: #1e2229;
}

/*----------------toggeled sidebar----------------*/

.page-wrapper.toggled .sidebar-wrapper {
    left: 0px;
}

@media screen and (min-width: 768px) {
    .page-wrapper.toggled .page-content {
        padding-left: 300px;
    }
}

/*----------------show sidebar button----------------*/

#show-sidebar {
    position: fixed;
    left: 0;
    top: 10px;
    border-radius: 0 4px 4px 0px;
    width: 35px;
    transition-delay: 0.3s;
}

.page-wrapper.toggled #show-sidebar {
    left: -40px;
}

/*----------------sidebar-wrapper----------------*/

.sidebar-wrapper {
    width: 260px;
    height: 100%;
    max-height: 100%;
    position: fixed;
    top: 0;
    left: -300px;
    z-index: 999;
}

.sidebar-wrapper ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar-wrapper a {
    text-decoration: none;
}

/*----------------sidebar-content----------------*/

.sidebar-content {
    max-height: calc(100% - 30px);
    height: calc(100% - 30px);
    overflow-y: auto;
    position: relative;
}

.sidebar-content.desktop {
    overflow-y: hidden;
}

/*--------------------sidebar-brand----------------------*/

.sidebar-wrapper .sidebar-brand {
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.sidebar-wrapper .sidebar-brand > a {
    text-transform: uppercase;
    font-weight: bold;
    flex-grow: 1;
}

.sidebar-wrapper .sidebar-brand #close-sidebar {
    cursor: pointer;
    font-size: 20px;
}

/*--------------------sidebar-header----------------------*/

.sidebar-wrapper .sidebar-header {
    padding: 20px;
    overflow: hidden;
}

.sidebar-wrapper .sidebar-header .user-pic {
    float: left;
    width: 60px;
    padding: 2px;
    border-radius: 12px;
    margin-right: 15px;
    overflow: hidden;
}

.sidebar-wrapper .sidebar-header .user-pic img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.sidebar-wrapper .sidebar-header .user-info {
    float: left;
}

.sidebar-wrapper .sidebar-header .user-info > span {
    display: block;
}

.sidebar-wrapper .sidebar-header .user-info .user-role {
    font-size: 12px;
}

.sidebar-wrapper .sidebar-header .user-info .user-status {
    font-size: 11px;
    margin-top: 4px;
}

.sidebar-wrapper .sidebar-header .user-info .user-status i {
    font-size: 8px;
    margin-right: 4px;
    color: #5cb85c;
}

/*-----------------------sidebar-search------------------------*/

.sidebar-wrapper .sidebar-search > div {
    padding: 10px 20px;
}

/*----------------------sidebar-menu-------------------------*/

.sidebar-wrapper .sidebar-menu {
    padding-bottom: 10px;
}

.sidebar-wrapper .sidebar-menu .header-menu span {
    font-weight: bold;
    font-size: 14px;
    padding: 15px 20px 5px 20px;
    display: inline-block;
}

.sidebar-wrapper .sidebar-menu ul li a {
    display: inline-block;
    width: 100%;
    text-decoration: none;
    position: relative;
    padding: 8px 30px 8px 20px;
}

.sidebar-wrapper .sidebar-menu ul li a i {
    margin-right: 10px;
    font-size: 12px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 4px;
}

.sidebar-wrapper .sidebar-menu ul li a:hover > i::before {
    display: inline-block;
    animation: swing ease-in-out 0.5s 1 alternate;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown > a:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
    font-style: normal;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    background: 0 0;
    position: absolute;
    right: 15px;
    top: 14px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu ul {
    padding: 5px 0;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li {
    padding-left: 25px;
    font-size: 13px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 10px;
    font-size: 8px;
}

.sidebar-wrapper .sidebar-menu ul li a span.label,
.sidebar-wrapper .sidebar-menu ul li a span.badge {
    float: right;
    margin-top: 8px;
    margin-left: 5px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a .badge,
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a .label {
    float: right;
    margin-top: 0px;
}

.sidebar-wrapper .sidebar-menu .sidebar-submenu {
    display: none;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown.active > a:after {
    transform: rotate(90deg);
    right: 17px;
}

/*--------------------------side-footer------------------------------*/

.sidebar-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    display: flex;
}

.sidebar-footer > a {
    flex-grow: 1;
    text-align: center;
    height: 30px;
    line-height: 30px;
    position: relative;
}

.sidebar-footer > a .notification {
    position: absolute;
    top: 0;
}

.badge-sonar {
    display: inline-block;
    background: #980303;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    position: absolute;
    top: 0;
}

.badge-sonar:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid #980303;
    opacity: 0;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: sonar 1.5s infinite;
}

/*--------------------------page-content-----------------------------*/

.page-wrapper .page-content {
    display: inline-block;
    width: 100%;
    padding-left: 0px;
    padding-top: 20px;
}

.page-wrapper .page-content > div {
    padding: 20px 40px;
}

.page-wrapper .page-content {
    overflow-x: hidden;
}

/*------scroll bar---------------------*/
/* 
::-webkit-scrollbar {
    width: 5px;
    height: 7px;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: #525965;
    border: 0px none #ffffff;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background: #525965;
}

::-webkit-scrollbar-thumb:active {
    background: #525965;
}

::-webkit-scrollbar-track {
    background: transparent;
    border: 0px none #ffffff;
    border-radius: 50px;
}

::-webkit-scrollbar-track:hover {
    background: transparent;
}

::-webkit-scrollbar-track:active {
    background: transparent;
}

::-webkit-scrollbar-corner {
    background: transparent;
} */

/*-----------------------------chiller-theme-------------------------------------------------*/

.chiller-theme .sidebar-wrapper {
    background: #31353d;
}

.chiller-theme .sidebar-wrapper .sidebar-header,
.chiller-theme .sidebar-wrapper .sidebar-search,
.chiller-theme .sidebar-wrapper .sidebar-menu {
    border-top: 1px solid #3a3f48;
}

.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu,
.chiller-theme .sidebar-wrapper .sidebar-search .input-group-text {
    border-color: transparent;
    box-shadow: none;
}

.chiller-theme .sidebar-wrapper .sidebar-header .user-info .user-role,
.chiller-theme .sidebar-wrapper .sidebar-header .user-info .user-status,
.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu,
.chiller-theme .sidebar-wrapper .sidebar-search .input-group-text,
.chiller-theme .sidebar-wrapper .sidebar-brand > a,
.chiller-theme .sidebar-wrapper .sidebar-menu ul li a,
.chiller-theme .sidebar-footer > a {
    color: #818896;
}

.chiller-theme .sidebar-wrapper .sidebar-menu ul li:hover > a,
.chiller-theme .sidebar-wrapper .sidebar-menu .sidebar-dropdown.active > a,
.chiller-theme .sidebar-wrapper .sidebar-header .user-info,
.chiller-theme .sidebar-wrapper .sidebar-brand > a:hover,
.chiller-theme .sidebar-footer > a:hover i {
    color: #b8bfce;
}

.page-wrapper.chiller-theme.toggled #close-sidebar {
    color: #bdbdbd;
}

.page-wrapper.chiller-theme.toggled #close-sidebar:hover {
    color: #ffffff;
}

.chiller-theme .sidebar-wrapper ul li:hover a i,
.chiller-theme
    .sidebar-wrapper
    .sidebar-dropdown
    .sidebar-submenu
    li
    a:hover:before,
.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu:focus + span,
.chiller-theme .sidebar-wrapper .sidebar-menu .sidebar-dropdown.active a i {
    color: #16c7ff;
    text-shadow: 0px 0px 10px rgba(22, 199, 255, 0.5);
}

.chiller-theme .sidebar-wrapper .sidebar-menu ul li a i,
.chiller-theme .sidebar-wrapper .sidebar-menu .sidebar-dropdown div,
.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu,
.chiller-theme .sidebar-wrapper .sidebar-search .input-group-text {
    background: #3a3f48;
}

.chiller-theme .sidebar-wrapper .sidebar-menu .header-menu span {
    color: #6c7b88;
}

.chiller-theme .sidebar-footer {
    background: #3a3f48;
    box-shadow: 0px -1px 5px #282c33;
    border-top: 1px solid #464a52;
}

.chiller-theme .sidebar-footer > a:first-child {
    border-left: none;
}

.chiller-theme .sidebar-footer > a:last-child {
    border-right: none;
}

/*Ludo @media additions*/

/*iPhone 5 media 320px width*/

@media only screen and (max-width: 320px) {
    .navbar-toggler {
        /* margin-top: 1rem!important;
        margin-left: 1rem!important; */
    }
}

@media only screen and (max-width: 414px) {
    #home-footer {
        text-align: center;
    }

    #whygo-footer-text {
        display: none;
    }
}

/*/Ludo additions*/

/* IELTS ONLINE LOGO */

.logo-IELTS {
    /* background-image: url("./test/img/ILET.png");
    padding: 50px 50px 0 0;
    width: 550px;
    display: block;
    margin-top: 10px;
    text-indent: -99999px;
    background-repeat: no-repeat; */
    opacity: 100%;
}

.logo-IELTS .logo-img {
    height: 2.8rem;
}

@media (max-width: 360px) {
    .logo-IELTS .logo-img {
        height: 1.8rem;
    }
}

@media (max-width: 260px) {
    .logo-IELTS .logo-img {
        height: 1.2rem;
    }
}

/* @media (max-width: 862px) {
    .logo-IELTS {
        background-image: url("./test/img/logo 03.png");
        height: 41px;
        width: 330px;
    }
}
@media (max-width: 768px) {
    .logo-IELTS  {
        background-image: url("./test/img/IELTS-LOGO-768.png");
        height: 37px;
        width: 300px;
    }
}

@media (max-width: 540px) {
    .logo-IELTS  {
        background-image: url("./test/img/IELTS-LOGO-542.png");
        height: 25px;
        width: 200px;
        transform: translateX(45%);
    }
}

@media (max-width: 425px) {
    .logo-IELTS  {
        background-image: url("./test/img/IELTS-LOGO-542.png");
        height: 25px;
        width: 200px;
        transform: translateX(25%);
    }
}
@media (max-width: 375px) {
    .logo-IELTS  {
        margin-top: 10px;
        transform: translateX(21%);
    }
}

@media (max-width: 360px) {
    .logo-IELTS  {
        margin-top: 10px;
        transform: translateX(16%);
    }
}


@media (max-width: 320px) {
    .logo-IELTS  {
        background-image: url("./test/img/IELTS-LOGO-431.png");
        height: 36px;
        widows: 191px;
        margin-top: -47px;
        transform: translateX(11%);
    }
} */

.clicksound {
    cursor: url("../images/cursor/cursor-sound16.ico"),
        url("../images/cursor/cursor-sound.svg"), pointer;
}

#countdownWidgetSwitch {
    cursor: pointer;
    margin-top: -3px;
    font-size: 20px;
    padding-right: 1em;
    color: var(--gray);
}

#countdownWidgetSwitch.active {
    color: var(--blue);
}

/* when not-fullscreen */
#splitviewSwitchParent {
    display: none;
}

.fullscreen #splitviewSwitchParent.haveAppendix {
    display: block;
}

/* #splitviewSwitchParent.fullscreen.haveAppendix {
    display: block;
} */

#questionSplitviewSwitcher {
    display: none;
}

.fullscreen #questionSplitviewSwitcher.questionSplitViewEnabled {
    display: block;
}

/* #questionSplitviewSwitcher.fullscreen.questionSplitViewEnabled {
    display: block;
} */

.questionSplitview {
    flex-wrap: nowrap;
}

.questionSplitview .col-content {
    position: relative;
    min-width: 300px;
    max-width: calc(100% - 300px);
}

.questionSplitview .col-input {
    min-width: 300px;
    max-width: calc(100% - 300px);
}

.questionSplitview .col-content::after {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 8px;
    border-right: 1px solid;
    top: 0;
    right: 0;
    border-left: 1px solid;
    cursor: ew-resize;
}

.questionNoteDiv {
    background-color: wheat;
    padding: 0.5em;
    border-radius: 0.5em;
    margin-left: -15px;
}

#header_block .dropdown-toggle:after {
    display: none;
}

.user-function-menu:not(.login-sign-up) {
    height: auto;
    max-height: 80vh;
    overflow-x: hidden;
    min-width: 300px;
}

.user-function-menu .dropdown-item {
    padding: 10px;
    color: #3f3f3f;
    opacity: 80%;
}

.user-function-menu li {
    margin: 0 0.5rem;
}

.user-function-menu li a:hover {
    background-color: #cecece;
}

@media (max-width: 991.98px) {
    #header_block {
        max-height: 100vh;
        overflow-y: auto;
    }
}

div.dtsp-panesContainer div.dtsp-titleRow {
    margin-bottom: -20px;
}

div.dtsp-panesContainer div.dtsp-title {
    margin-left: 0.5em;
    font-weight: bold;
}

div.dtsp-panesContainer button.dtsp-clearAll {
    position: absolute;
    /* right: 30px; */
    z-index: 100;
}

.page-link {
    color: var(--blue);
    background-color: var(--white);
    opacity: 80%;
}

.page-link:hover,
.page-link:active,
.page-link:focus {
    color: var(--blue);
    opacity: 100%;
}

.page-link.active {
    color: var(--white);
    background-color: var(--blue);
    opacity: 80%;
}

.page-link.active:hover,
.page-link.active:active,
.page-link.active:focus {
    color: var(--white);
    background-color: var(--blue);
    opacity: 100%;
}

.dropdown-item.active,
.dropdown-item:active {
    color: var(--white);
    background-color: var(--blue);
    opacity: 80%;
}

.dropdown-item.active:hover,
.dropdown-item:active:hover {
    color: var(--white);
    background-color: var(--blue);
    opacity: 100%;
}

.testscore_detail {
    z-index: 100;
}

/* exercises_list */

.exercises_list div,
.exercises_list p {
    line-height: 2em;
}

.answer_context img {
    width: unset;
}

.list-style-none {
    list-style-type: none;
}

.list-style-disc {
    list-style-type: disc;
}

.list-style-circle {
    list-style-type: circle;
}

.list-style-square {
    list-style-type: square;
}

.list-style-upper-alpha {
    list-style-type: upper-alpha;
}

.list-style-decimal {
    list-style-type: decimal;
}

.list-style-lower-alpha {
    list-style-type: lower-alpha;
}

.audio-player {
    height: 50px;
    width: 100%;
    max-width: 500px;
    background: var(--media-player-gray);
    box-shadow: 0 0 20px 0 #2b2b2baa;
    /* font-family: arial; */
    color: var(--media-player-green);
    font-size: 16px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 6px auto;
    border-radius: 5px;
}

.audio-player .timeline {
    background: var(--media-player-gray);
    width: 100%;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 #0008;
}

.audio-player .timeline .progress {
    background: var(--media-player-green);
    width: 0%;
    height: 100%;
    transition: 0.25s;
    border-radius: unset;
}

.audio-player .controls {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0 20px;
}

.audio-player .controls > * {
    display: flex;
    justify-content: center;
    align-items: center;
}

.audio-player .controls .name {
    width: 100%;
    text-align: center;
}

.audio-player .controls .toggle-play {
    width: 50px;
    font-size: 25px;
}

.audio-player .controls .toggle-play.play {
    cursor: pointer;
    position: relative;
    left: 0;
    height: 0;
    width: 0;
    border: 12px solid #0000;
    border-left: 20px solid white;
}

.audio-player .controls .toggle-play.play:hover {
    transform: scale(1.1);
}

.audio-player .controls .toggle-play.pause {
    height: 15px;
    width: 20px;
    cursor: pointer;
    position: relative;
}

.audio-player .controls .toggle-play.pause:before {
    position: absolute;
    top: 0;
    left: 0px;
    background: white;
    content: "";
    height: 15px;
    width: 3px;
}

.audio-player .controls .toggle-play.pause:after {
    position: absolute;
    top: 0;
    right: 8px;
    background: white;
    content: "";
    height: 15px;
    width: 3px;
}

.audio-player .controls .toggle-play.pause:hover {
    transform: scale(1.1);
}

.audio-player .controls .time {
    display: flex;
}

.audio-player .controls .time > * {
    padding: 2px;
}

.audio-player .controls .volume-container {
    width: 20px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.audio-player .controls .volume-container .volume-button {
    height: 26px;
    display: flex;
    align-items: center;
}

.audio-player .controls .volume-container .volume-button .volume {
    transform: scale(0.7);
    font-size: 30px;
}

.audio-player .controls .volume-container .volume-slider {
    position: absolute;
    left: -3px;
    top: 15px;
    z-index: -1;
    width: 0;
    height: 15px;
    background: white;
    box-shadow: 0 0 20px #000a;
    transition: 0.25s;
    display: none;
}

.audio-player .controls .volume-container:hover .volume-slider {
    left: -123px;
    width: 120px;
    display: unset;
}

.audio-player .controls .volume-container input.volume-slider[type="range"] {
    overflow: hidden;
    -webkit-appearance: none;
    background-color: white;
}

.audio-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-webkit-slider-runnable-track {
    height: 10px;
    -webkit-appearance: none;
    color: var(--media-player-green);
    margin-top: -1px;
}

.audio-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-webkit-slider-thumb {
    width: 1px;
    -webkit-appearance: none;
    height: 10px;
    cursor: ew-resize;
    background: var(--media-player-green);
    box-shadow: -80px 0 0 80px var(--media-player-green);
}

/** FF*/
.audio-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-moz-range-progress {
    background-color: var(--media-player-green);
}

.audio-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-moz-range-track {
    background-color: white;
}

/* IE*/
.audio-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-ms-fill-lower {
    background-color: var(--media-player-green);
}

.audio-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-ms-fill-upper {
    background-color: white;
}

.audio-area {
    position: sticky;
    top: 0;
    /* z-index: 10; */
}

.video-player {
    margin: auto;
    width: 100%;
    max-width: calc(100% - 30px);
    background: var(--media-player-gray);
    box-shadow: 0 0 20px 0 #2b2b2baa;
    /* font-family: arial; */
    color: var(--media-player-green);
    font-size: 16px;
    overflow: hidden;
    display: grid;
    grid-template-rows: calc(100% - 67px) 6px auto;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .video-player {
        max-width: 768px;
    }
}

@media (min-width: 992px) {
    .video-player {
        max-width: 900px;
    }
}

@media (min-width: 1200px) {
    .video-player {
        max-width: calc(60vw);
    }
}

.video-player .video {
    position: relative;
}

.video-player .video video {
    width: 100%;
    margin: 0;
    padding: 0;
}

.video-player .video video::-webkit-media-controls-enclosure {
    background-color: unset;
}

.video-player .video::before {
    display: none;
    background-color: #f0f8ff;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    align-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 600;
    color: var(--blue);
    white-space: pre-wrap;
}

.video-player.non-vidio .video::before {
    content: attr(data-question-string);
    display: flex;
}

.video-player.prep-time-acitve .video::before {
    content: attr(data-prep-time);
    display: flex;
}

.video-player.record-acitve .video::before {
    content: attr(data-record);
    display: flex;
}

.video-player .timeline {
    background: var(--media-player-gray);
    width: 100%;
    position: relative;
    box-shadow: 0 2px 10px 0 #0008;
}

.video-player .timeline.cursor {
    cursor: pointer;
}

.video-player .timeline .progress {
    background: var(--media-player-green);
    width: 0%;
    height: 100%;
    transition: 0.25s;
    border-radius: unset;
}

.video-player .controls {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0 20px;
    height: 53px;
}

.video-player .controls > * {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-player .controls .name {
    width: 100%;
    text-align: center;
}

.video-player .controls .name .next-question {
    border: 1px solid;
    padding: 0px 10px;
    border-radius: 5px;
}

.video-player .controls .name .next-question:hover {
    color: var(--media-player-gray);
    background-color: var(--media-player-green);
    cursor: pointer;
}

.video-player .controls .toggle-play {
    width: 50px;
    font-size: 25px;
}

.video-player .controls .toggle-play.play {
    cursor: pointer;
    position: relative;
    left: 0;
    height: 0;
    width: 0;
    border: 12px solid #0000;
    border-left: 20px solid white;
}

.video-player .controls .toggle-play.play:hover {
    transform: scale(1.1);
}

.video-player .controls .toggle-play.pause {
    height: 15px;
    width: 20px;
    cursor: pointer;
    position: relative;
}

.video-player .controls .toggle-play.pause:before {
    position: absolute;
    top: 0;
    left: 0px;
    background: white;
    content: "";
    height: 15px;
    width: 3px;
}

.video-player .controls .toggle-play.pause:after {
    position: absolute;
    top: 0;
    right: 8px;
    background: white;
    content: "";
    height: 15px;
    width: 3px;
}

.video-player .controls .toggle-play.pause:hover {
    transform: scale(1.1);
}

.video-player .controls .time {
    display: flex;
}

.video-player .controls .time > * {
    padding: 2px;
}

.video-player .controls .volume-container {
    width: 20px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.video-player .controls .volume-container .volume-button {
    height: 26px;
    display: flex;
    align-items: center;
}

.video-player .controls .volume-container .volume-button .volume {
    transform: scale(0.7);
    font-size: 30px;
}

.video-player .controls .volume-container .volume-slider {
    position: absolute;
    left: -3px;
    top: 15px;
    z-index: -1;
    width: 0;
    height: 15px;
    background: white;
    box-shadow: 0 0 20px #000a;
    transition: 0.25s;
    display: none;
}

.video-player .controls .volume-container:hover .volume-slider {
    left: -123px;
    width: 120px;
    display: unset;
}

.video-player .controls .volume-container input.volume-slider[type="range"] {
    overflow: hidden;
    -webkit-appearance: none;
    background-color: white;
}

.video-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-webkit-slider-runnable-track {
    height: 10px;
    -webkit-appearance: none;
    color: var(--media-player-green);
    margin-top: -1px;
}

.video-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-webkit-slider-thumb {
    width: 1px;
    -webkit-appearance: none;
    height: 10px;
    cursor: ew-resize;
    background: var(--media-player-green);
    box-shadow: -80px 0 0 80px var(--media-player-green);
}

/** FF*/
.video-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-moz-range-progress {
    background-color: var(--media-player-green);
}

.video-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-moz-range-track {
    background-color: white;
}

/* IE*/
.video-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-ms-fill-lower {
    background-color: var(--media-player-green);
}

.video-player
    .controls
    .volume-container
    input.volume-slider[type="range"]::-ms-fill-upper {
    background-color: white;
}

.answer-marker-hide {
    box-shadow: revert !important;
    background-color: revert !important;
    color: revert !important;
}

#btnGroupPage {
    background-color: var(--teaching-header-bg);
    border-color: var(--teaching-header-bg);
    color: var(--white);
}

/* new design temp 202312 */
.sec-svg {
    line-height: 0;
    margin-top: -1px;
    margin-bottom: -1px;
}

.fullscreen .sec-svg {
    display: none;
}

.fullscreen #courseContentCard {
    border-radius: 0;
}

.lh-1 {
    line-height: 1em;
}

.z-1 {
    position: relative;
    z-index: 1;
}

.z-2 {
    position: relative;
    z-index: 2;
}

.z-3 {
    position: relative;
    z-index: 3;
}

#course_menu {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 94px);
    max-height: calc(100vh - 94px);
}

/* .bs-tooltip-bottom, */
.tooltip[x-out-of-boundaries] {
    display: none;
}

/* countdown widget */
:root {
    --countdownWidgetColor_setting: SteelBlue;
    --countdownWidgetColor_countdown: DarkSeaGreen;
    --countdownWidgetColor_pause: LightGray;
    --countdownWidgetColor_ringing: FireBrick;
}

#countdownWidget {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    width: 200px;
    height: 170px;
    border-radius: 6px;
    background-color: black;
}

#countdownWidget.invisible {
    /* width: 60px;
    height: 20px;
    right: 0 !important;
    bottom: 0 !important; */
}

#countdownWidgetAnimate {
    width: 200px;
    height: 170px;
    border-radius: 6px;
    background-color: transparent;
    position: absolute;
    z-index: -200;
    /* transition: all .5s ease; */
}

#countdownWidget.invisible #countdownWidgetAnimate {
    background-color: white;
    transform: translate(100vw, 100vh);
    width: 0px;
    height: 0px;
}

#countdownWidget.modeSetting {
    background-color: var(--countdownWidgetColor_setting);
}

#countdownWidget.modeCountdown {
    background-color: var(--countdownWidgetColor_countdown);
}

#countdownWidget.modePause {
    background-color: var(--countdownWidgetColor_pause);
}

#countdownWidget.modeRinging {
    background-color: var(--countdownWidgetColor_ringing);
}

#countdownWidgetUpper {
    display: flex;
}

#countdownWidgetLower {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#countdownWidgetHMS {
    width: 160px;
    height: 60px;
    padding-top: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-left: 10px;
    margin-right: 10px;
}

#countdownWidgetHMS > .countdownWidgetHMSchild {
    cursor: pointer;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 3px;
}

#countdownWidgetHMScolon {
    color: white;
    font-size: 30px;
}

#countdownWidgetHMScolon.hidden {
    visibility: hidden;
}

#countdownWidgetSetSeconds {
    width: 40px;
    height: 70px;
    display: flex;
    flex-direction: column;
    margin-top: 0px;
}

#countdownWidgetSetSeconds > div {
    cursor: pointer;
    user-select: none;
    background-color: white;
    width: 25px;
    height: 25px;
    margin-top: 10px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#countdownWidgetButton1,
#countdownWidgetButton2 {
    cursor: pointer;
    user-select: none;
    background-color: white;
    width: 170px;
    height: 25px;
    margin-top: 10px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#countdownWidgetButton3 {
    cursor: pointer;
    user-select: none;
    background-color: white;
    width: 170px;
    height: 60px;
    margin-top: 10px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#countdownWidgetInputMinute,
#countdownWidgetInputSecond {
    cursor: pointer;
    user-select: none;
    width: 100%;
    height: 100%;
    font-size: 44px;
    text-align: center;
    border: 0;
    border-radius: 6px;
}

#countdownWidgetInputMinute.setting,
#countdownWidgetInputSecond.setting {
    border: 3px red solid;
}

#countdownWidgetSmall {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 2000;
    right: 0;
    bottom: 0;
    width: 60px;
    height: 20px;
    color: black;
    border: 1px solid black;
    border-radius: 2px;
    background-color: white;
    font-size: 1em;
}

#countdownWidgetSmall.modeSetting {
    color: var(--countdownWidgetColor_setting);
    border: 1px solid var(--countdownWidgetColor_setting);
}

#countdownWidgetSmall.modeCountdown {
    color: var(--countdownWidgetColor_countdown);
    border: 1px solid var(--countdownWidgetColor_countdown);
}

#countdownWidgetSmall.modePause {
    color: var(--countdownWidgetColor_pause);
    border: 1px solid var(--countdownWidgetColor_pause);
}

#countdownWidgetSmall.modeRinging {
    color: var(--countdownWidgetColor_ringing);
    border: 1px solid var(--countdownWidgetColor_ringing);
}

#countdownWidgetSmallHMS {
}

#countdownWidgetHeader {
    width: 200px;
    height: 20px;
    background-color: Gainsboro;
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: center;
    cursor: grab;
}

#countdownWidgetHeader:active {
    cursor: grabbing;
}

#countdownWidget.invisible #countdownWidgetHeader {
    width: 60px;
}

#countdownWidgetPinArea {
    width: 60px;
    height: 14px;
    background-color: #ccc;
}

#countdownWidget.invisible #countdownWidgetPinArea {
    width: 0px;
}

#countdownResizeCorner > div {
    width: 10px;
    height: 10px;
    background-color: transparent;
    position: absolute;
}

#countdownResizeCorner > div:nth-child(1) {
    top: 0;
    left: 0;
    cursor: nwse-resize;
}

#countdownResizeCorner > div:nth-child(2) {
    top: 0;
    right: 0;
    cursor: nesw-resize;
}

#countdownResizeCorner > div:nth-child(3) {
    bottom: 0;
    left: 0;
    cursor: nesw-resize;
}

#countdownResizeCorner > div:nth-child(4) {
    bottom: 0;
    right: 0;
    cursor: nwse-resize;
}
