.top-bar {
    background-color: #003d5c;
}

.top-bar-menu {
    display: inline-flex;
    list-style: none;
}

.top-bar-menu li a {
    color: white;
    font-weight: bold;
    font-size: 15px;
    font-family: sans-serif;
    margin-left: 3.5rem;
    text-decoration: none;
    vertical-align: text-top;
}

.top-bar-menu li a:hover {
    color: yellow;
    transition: 300ms;
}

.navbar {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}

.navbar-dark .navbar-toggler {
    color: white !important;
}

.navbar-dark :focus,
.navbar-dark .navbar-toggler:active,
.navbar-dark .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-dark .navbar-toggler:hover {
    border-radius: 15px;
    transition: 200ms;
    color: yellow !important;
}

.icon-caption {
    font-weight: 500;
    color: white;
    align-self: center;
    margin: auto;
    font-size: 18px;
}

.navbar-toggler .material-icons {
    font-size: 28px;
}

.header-main {
    background-color: #dceff5;
    text-align: center;
}

.header-main-display {
    display: inline-flex;
    align-items: center;
}

.header-main-text {
    padding-top: 1rem;
    padding-bottom: 0.6rem;
    color: black;
    font-size: 25px;
    text-align: left;
    color: #003d5c;
    font-family: sans-serif;
    margin-left: 1rem;
}

#lower-line {
    color: #0484ab;
    font-weight: bold;
    font-size: 21px;
    text-align: center;
}

.header-main-logo {
    height: 92px;
    width: 92px;
}

#header-main-small {
    text-align: center;
    font-weight: 600;
}

.header-content {
    text-align: center;
}

.content-menu {
    background-color: white;
    text-align: center;
    display: inline-flex;
}

.content-menu-header {
    font-size: 18px;
    font-family: sans-serif;
    color: #003d5c;
    font-weight: 600;
}

.dropbtn {
    background-color: #fdb813;
    color: white;
    padding: 6px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
}

.physics .dropbtn {
    background-color: #0484ab;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgb(201, 200, 200);
    transition: 400ms;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown:hover .dropbtn {
    background-color: #2199e8;
    transition: 400ms;
}

.physics .dropdown .header-general-tabs {
    background-color: #003d5c;
}

.physics .dropdown .header-general-tabs:hover {
    background-color: #279dd8;
}

.about-header {
    background-color: #60befe;
    color: white;
    font-weight: bold;
    font-size: 26px;
    padding: 8px;
    margin-top: 7px;
    padding-right: 6%;
}

.about-top-right-table {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.5;

}

.about-top-second-right-table {
    margin-top: 4%;
    font-size: 17px;
}

.about-more-team {
    font-size: 20px;
    font-weight: 500;
}

.about-top-left-table {
    font-size: 17px;
}

.about-top-left-second-table {
    font-size: 17px;
    margin-top: 4%;
}

.footer-main {
    margin-top: 4%;
    text-align: center;
}

.footer-links {
    display: inline-flex;
}

.footer-individual-links {
    margin: 25px;
    font-size: 16px;
    color: #0484ab;
    transition: 0.2s;
}

.footer-individual-links:hover {
    color: #003d5c;
    font-weight: 600;
    transition: 0.2s;
}

.footer-lower-colour-break {
    background-color: #0484ab;
    height: 18px;
}

.footer-hr-seperator {
    width: 85%;
    margin: auto;
    text-align: center;
    border: 3px solid rgb(85, 84, 84);
    border-radius: 5px;
    margin-bottom: 1%;
    margin-top: 0.5%;
}

.products-left-table-header {
    color: #0484ab;
    font-size: 20px;
    font-weight: bold;
}

.products-tabs {
    color: black;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.6;
}

.nav-link {
    color: black !important;
}

.nav-link.active {
    color: #0484ab !important;
}

.products-domino {
    font-size: 1.5rem;
    color: #7030a0;
    font-weight: bold;
}

.products-hours {
    color: #48bdfe;
    font-weight: bold;
    font-size: 18px;
}

.login_form {
    background: #e6f3ff;
    text-align: center;
    border: 2px solid #48bdfe;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.login_guests {
    margin-top: 1%;
    background-color: #e6f3ff;
    border: 2px solid #48bdfe;
    text-align: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.login-headers-text {
    font-size: 22px;
    font-weight: 500;
}

input:disabled {
    cursor: not-allowed;
    pointer-events: all;
}

button:disabled {
    cursor: not-allowed;
    pointer-events: all !important;
}

textarea:disabled {
    cursor: not-allowed;
    pointer-events: all;
}

.contact-input {
    width: 75%;
    border-width: 2px;
    border-radius: 10px;
    border-color: cornflowerblue;
    margin-bottom: 2%;
}

.contact-email-links {
    letter-spacing: 1px;
    font-size: 18px;
}

.contact-email-links:hover {
    color: #003d5c;
    font-weight: 600;
    transition: 0.2s;
}

.contact-row-main {
    margin-top: 2% !important;
    margin-bottom: 4%;
    background-color: #e6e6e6;
}

.contact-row-main-text {
    font-size: 20px;
    color: #0484ab;
    font-weight: 500;
    text-align: right;
    padding: 2%;
}

.contact-form {
    display: inline-flex;
    margin-bottom: 5%;
    margin-right: 2%;
}

.contact-send-button-main {
    text-align-last: center;
}

.contact-send-button-text {
    background-color: #3b84ab;
    color: white;
    font-size: 18px;
    font-weight: 500;
    border-radius: 10px;
    border-color: #3b84ab;
}

.contact-message-content {
    width: 90%;
    height: 93%;
}

.contact-form-result {
    margin: auto;
    padding: 1 10px;
    width: fit-content;
    font-weight: 500;
    font-size: 20px;
    transition: 0.2s;
    border-radius: 15px;
    text-align: center;
}

.index-main-background {
    background: url(../img/indexMainBackground.jpg) no-repeat;
    height: 100%;
}

/* BOOK GALLERY */

#gallery {
    width: 98%;
    background: url("../img/bookGalleryBackground.jpg") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
    padding: 2.5rem 0 4.3rem;
}

.customGallerySlide {
    width: 194px;
}

.customGalleryRow {
    display: inline-block;
    margin-right: 8%;
}

.customGalleryRow .customGallerySlide {
    background: white;
    padding: 20px;
    margin: 5px;
    position: relative;
    float: right;
    height: 340px;
}

.customGalleryRow .customGallerySlide .customOverlay {
    display: none;
    position: absolute;
    height: 100%;
    width: 194px;
    margin: -20px -20px 0px 0px;
    background-color: rgba(0, 0, 0, 0.6);
}

.customGalleryRow .customGallerySlide:hover .customOverlay {
    display: block;
}

.customGalleryRow .customGallerySlide:hover .customOverlay button {
    position: absolute;
    width: 8.5rem;
    padding: 0.90625rem 0.9rem;
    top: 50%;
    right: 16%;
}

.book-gallery-button {
    border: 2px solid #fdb813;
    color: #fdb813;
    border-radius: 25px;
    background-color: transparent;
}

.book-gallery-button:hover,
.book-gallery-button:focus {
    border-color: #af7e0c;
    color: #af7e0c;
}

.book-gallery-main-header {
    color: #0484ab;
    font-weight: 500;
}

.help-manager-header {
    color: rgb(128, 0, 128);
    font-size: 30px;
    font-weight: 600;
}

.help-manager-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 40px;
}

.admin-panel-top-header {
    background-color: #003d5c;
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 10px;
    font-weight: 500;
}

.admin-panel-navbar {
    background-color: #4fb6e9;
}

.admin-panel-navbar-links {
    display: block;
    color: white;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    padding: 7px;
    border-radius: 15px;
    transition: 0.2s;
}

.admin-panel-navbar-links:hover {
    color: white;
}

.admin-panel-navbar .nav-item {
    flex-grow: 1;
    text-align: center;
}

.admin-panel-navbar .nav-item:hover {
    background-color: #003d5c;
    color: white;
    transition: 0.2s;
}

.main-login-form-inputs {
    text-align: center;
    width: 75%;
    margin-bottom: 2%;
    border-color: #0e7dbb;
    border-radius: 20px;
    margin-top: 2%;
}

.main-login-form-submit-button {
    font-weight: 500 !important;
    width: 28%;
}

.platform-login-error {
    font-size: 20px;
    color: black;
    background-color: red;
    border-radius: 15px;
    font-weight: 500;
    padding: 5px;
}

.admin-logoutButton {
    float: right;
    font-size: 16px;
    color: white;
    background: none;
    border-color: snow;
    border-radius: 10px;
    font-weight: 500;
}

.admin-logoutButton:hover {
    border-color: yellow;
    color: yellow;
}

.container {
    margin-top: 20px;
}

table.admin-users {
    width: 100%;
    text-align: center;
}

table.admin-users tr:first-of-type {
    background-color: #003d5c;
    color: white;
}

table.admin-users th {
    padding: 10px;
}

table.admin-users tr:not(:first-of-type) {
    transition: 0.1s;
}

table.admin-users tr:not(:first-of-type):nth-child(even) {
    background-color: #d1e0eb;
}

table.admin-users tr:not(:first-of-type):hover {
    background-color: #a5cde7;
}

.admin-table-addAdmin {
    float: right;
    margin-bottom: 20px;
}

.managment-error {
    background-color: red;
    border-radius: 15px;
    font-size: 18px;
    padding: 5px;
    font-weight: 500;
}

.managment-success {
    background-color: #11af11;
    border-radius: 15px;
    font-size: 18px;
    padding: 5px;
    font-weight: 500;
}

.management-infoText {
    font-size: 18px;
    font-weight: 500;
}

/* ============== */
/* VIDEO GALLERY */
/* ============ */

.video-gallery-header {
    font-size: 34px;
    font-weight: 500;
    color: #003d5c;
}

.video-gallery-headerDiv {
    margin-top: 20px;
}

#video {
    padding: 2rem 0;
}

#video #video_player {
    display: -ms-flexbox;
    display: flex;
    line-height: 0;
    font-size: 0;
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

#video #video_container {
    position: relative;
    background-color: #003d5c !important;
    padding: 0.5rem 0.5rem 2rem;
    width: 100%;
    height: 515px;
    margin-right: 1.125rem;
}

#video #video_container video {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
}

#video #video_player {
    height: 515px;
}

#video #video_player .video_list {
    padding: 0.875rem;
    background-color: #e6e6e6;
}

#video #video_player .video_list .list_container {
    padding-left: 0.875rem;
    height: 480px;
    overflow-y: scroll;
    width: 18.75rem;
}

#video #video_player .video_list .list_container::-webkit-scrollbar {
    width: 0.5rem;
}

#video #video_player .video_list .list_container::-webkit-scrollbar-track {
    background: #ffffff;
}

#video #video_player .video_list .list_container::-webkit-scrollbar-thumb {
    background: #0484ab;
}

#video #video_player .video_list .list_container figcaption {
    display: block;
    width: 100%;
}

#video #video_player .video_list .list_container figcaption a {
    margin-bottom: 1.1rem;
    display: -ms-flexbox !important;
    display: flex !important;
    text-decoration: none;
}

#video #video_player .video_list .list_container figcaption a .item_caption {
    width: 9.25rem;
    padding: 0 0.75rem;
}

#video #video_player .video_list .list_container figcaption a .item_caption p {
    font-size: 1rem;
    margin: 0;
    color: #3d3d3d;
    line-height: 1.2;
}

#video #video_player .video_list .list_container figcaption a .item_img {
    width: 8rem;
}

#video #video_player .video_list .list_container figcaption a .item_img a img {
    z-index: 9999;
}

#video #video_player .video_list .list_container figcaption a .item_img a img:hover {
    border: 3px solid #198eb1;
}

#video #video_player .video_list .list_container figcaption a:hover .item_img {
    width: 8rem;
}

#video #video_player .video_list .list_container figcaption a:hover .item_img img {
    border: 3px solid #198eb1;
}

#video #video_player figcaption a {
    display: block;
}

#video #video_player figcaption a img,
#video figure video {
    width: 100%;
    height: auto;
}

/* ================================= */
/* MAKE HEADER WITH RESPONSIVE LIST */
/* =============================== */

@media (max-width: 575px) {
    .dropdown:hover .dropdown-content {
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .dropdown-lg:hover .dropdown-content {
        flex-direction: column;
    }
}

.dropdown .dropdown-content a {
    text-decoration: none;
}

.delete-group-icon {
    color: darkred;
}

.delete-group-icon:hover {
    color: red;
}

.edit-group-icon {
    color: #cc9a05;
}

.edit-group-icon:hover {
    color: #ffc928;
    cursor: pointer;
}

.admin-assign-test {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.admin-assign-test-header {
    align-content: center;
}

.admin-assign-test-select {
    flex-grow: 0.3;
    height: 150px;
}

.admin-assign-test-select-box {
    border-radius: 10px;
    border-width: 2px;
    border-color: black;
    padding: 2px;
}

.edit-test-for-class-icon {
    color: #064ba3;
}

.edit-test-for-class-icon:hover {
    color: #2476df;
    cursor: pointer;
}

.manage-tests-for-class-header {
    margin-top: 20px;
    text-decoration: underline;
}

table.content-table {
    width: 100%;
    text-align: center;
}

table.content-table tr:first-of-type {
    background-color: #b9b9b9;
    color: black;
}

table.content-table tr:first-child th {
    padding: 10px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

table.content-table td {
    padding: 10px;
}

table.content-table tr:not(:first-of-type):nth-child(even) {
    background-color: #f2f2f2;
}

.content-table tr:last-child td:last-child {
    border-bottom-left-radius: 15px;
}

.content-table tr:last-child td:first-child {
    border-bottom-right-radius: 15px;
}

.login-guests-content {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 10px;
}

table.select-test-table tr:not(:first-child) th {
    text-align: right;
    padding-right: 40px;
}

table.select-test-table tr:not(:first-child) td {
    text-align: right;
    padding-right: 80px;
    cursor: pointer;
}

table.select-test-table tr:not(:first-child) td:hover {
    background-color: skyblue;
}

.select-chapter-mode {
    width: 80px;
    height: 80px;
}

.pdf-reader-warning {
    text-align: center;
    color: red;
    font-weight: 600;
    border: 2px solid;
    width: 50%;
    font-size: 18px;
    border-radius: 10px;
}

.maths-5-image {
    height: 280px;
    margin-right: 20px;
}

.book-content-background-image {
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
}
