* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#adminslist_table {
    margin: 2% !important;
}

#userview_container {
    margin: .5%;
    border: 5px solid #002E6D;
    height: calc(100vh - 100px);
}

#userview_iframe {
    width:100% !important;
    height: calc(100vh - 110px);
    border: none;
}

.fixed-top {
    top: 0;
}

.suggestion-list {
    cursor: pointer;
}

.suggestion-search-icon {
    margin: 0 1%;
}

@media screen and (min-width: 768px) {
    .suggestion-box {
        margin-top: 80px;
        margin-left: 10px;
        position: fixed;
        width: 60%;
        max-height: 40%;
        background-color: #fff;
        z-index: 99;
        overflow-y: auto;
        border: 1px solid grey;
        border-radius: 5px;
    }
}

@media screen and (max-width: 768px) {
    .suggestion-box {
        margin-top: 10px;
        margin-left: 10px;
        position: fixed;
        width: 95%;
        max-height: 40%;
        background-color: #fff;
        z-index: 99;
        overflow-y: auto;
        border: 1px solid grey;
        border-radius: 5px;
    }
}


/* .indicateChange {
    background-color: #fab300c5;
} */


/* Back to top */

@media screen and (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

#back-to-top-link {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1;
    background-color: #002E6D;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-decoration: none;
    padding-top: 8px;
    color: white;
    text-align: center;
    vertical-align: middle;
}


/* End of back to top */

.downloadPDF,#downloadPDF {
    border-radius: 20px;
    width: 100px;
    border: 1px solid rgb(190, 190, 190);
    outline: none
}

#add-resource {
    background-color: #00a585;
    border-radius: 25px;
    width: 20%;
    padding-left: 1%;
    padding-right: 1%;
    margin-top: auto !important;
    margin-bottom: auto !important;
    padding-top: 2% !important;
    padding-bottom: 2% !important;
    text-align: center;
}

#registered_success {
    position: fixed;
    left: 50%;
    top: 22%;
    background-color: #00a585;
    color: #002E6D;
    width: 40%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    padding: 4px;
    text-align: center;
    z-index: 1;
}

#unsaved_changes {
    position: fixed;
    left: 50%;
    top: 15%;
    background-color: #fab500;
    color: #002E6D;
    width: 40%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    padding: 4px;
    text-align: center;
    z-index: 1;
}

#login,
#sign_up {
    color: white !important;
    background-color: #002E6D !important;
    margin-right: 2%;
    border-radius: 4px;
}

#login:hover,
#sign_up:hover {
    color: #002E6D !important;
    background-color: #fab500 !important;
}

.edit-user-details,
.edit-resources-details {
    border: none;
    background-color: transparent;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    /* width: 100%; */
}

.edit-user-details:focus {
    color: #00a585;
    background-color: white;
    border-radius: 3px;
}

.contenteditable {
    outline: none;
}

.contenteditable:focus {
    color: #00a585;
    background-color: white;
    border-radius: 3px;
}

.displayType {
    display: none !important;
}

#videoDropdownBox,
#formsDropdownBox {
    background-color: #00a585;
}

#videoDropdownBox a,
#formsDropdownBox a {
    color: #002E6D;
}

#total-users-div,
#total-resources-div {
    text-decoration: underline;
    color: #002E6D;
}

.form-font {
    font-family: montserrat, 'Open sans' !important;
    font-size: 20px !important;
}

.editThis {
    border: 1px solid #002E6D;
    padding: 8% 20%;
    border-radius: 20px;
}

.editThis,
.deleteThis {
    cursor: pointer;
    color: #002e6d !important;
}

.deleteThis:hover {
    color: red !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

#navbar-tabs a:hover {
    background-color: #fab500;
}

#navbar-tabs a {
    padding-left: 10px;
    padding-right: 10px;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,46,109,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler {
    border-color: rgb(0, 46, 109);
    border: none;
    outline: none;
}

#submit-button {
    background-color: #00a585;
    color: white;
    outline: none !important;
    border: none !important;
}


/* Responsive top nav below */

.topnavresponsive::after {
    content: "";
    clear: both;
    display: table;
}

.topnavresponsive {
    overflow: hidden;
    background-color: #00a58442
}

#user_search {
    margin-top: 4px;
    margin-bottom: 3px;
    height: 50px;
    border: none;
    border-radius: 2px;
}

textarea:focus,
input:focus {
    outline: none;
}

.topnavresponsive a {
    float: left;
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    color: #002e6d !important;
}


/* .topnavresponsive form,
i {
    float: right;
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
} */

.topnavresponsive a:hover {
    background-color: #fab500;
}

.topnavresponsive a.active {
    background-color: #00a585;
}

.topnavresponsive .icon {
    display: none;
}

#search-submit-btn {
    margin-top: 4px;
    margin-bottom: 3px;
}


/* End of Responsive top nav below */

#hidden-table {
    display: none;
}

.trap-header {
    border-bottom: 500px solid #002d6d83;
    border-left: 0px solid transparent;
    border-right: 200px solid transparent;
    height: 0;
    width: 50%;
    /* background-color: rgba(100, 100, 100, .5) */
}

.top-logos {
    position: relative;
}

body {
    font-family: montserrat, 'Open sans' !important;
    font-size: 20px !important;
}

#the-website {
    overflow-x: hidden;
}

h4 a {
    color: #002E6D;
    font-weight: bold;
    /* overflow: visible; */
}

h4 a:hover {
    text-decoration: underline;
    color: #d00d2d;
    font-weight: bold;
}


/* h4 {
    text-align: center;
    color: #d00d2d;
} */

h1,
h2,
h3 {
    text-align: center;
    color: #002E6D;
}


/* Link animation */

#footer-background a,
h4 {
    color: #002E6D;
    text-decoration: none;
    display: inline-block;
    position: relative;
    font-weight: bold;
    padding-top: 2.5%;
}

#footer-background a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    left: 50%;
    display: block;
    height: 2px;
    background: #002E6D;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

#footer-background a:hover:after {
    width: 60%;
    left: 0;
}


/* End of animation of the links */

#footer-background {
    padding-left: 10%;
    padding-top: 2%;
    padding-bottom: 2%;
}

#the-selector {
    background-color: #00a585;
    font-size: 20px;
    border-radius: 4px !important;
    color: #002E6D !important;
}

.topic-themes {
    font-family: montserrat, 'Open sans';
    font-size: larger;
    padding-left: 3%;
    color: #002E6D;
    width: 500px;
    /* padding: 5px; */
}

.dropdown-menu a {
    display: block;
    padding-left: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    /* background-color: #fab500; */
}

.dropdown-menu a:hover {
    background-color: #fab500;
    text-decoration: none;
    height: 100%;
}


/* .topic-themes:hover {
    text-decoration: none;
    background-color: #fab500;
    width: 100%;
} */

.topic-themes-search {
    font-family: montserrat, 'Open sans';
    font-size: 20px;
    color: #002E6D;
    border: 3px solid #002E6D;
    border-radius: 1px;
}


/* textarea:focus,
input:focus {
    outline: none;
} */


/* #search_results {
    display: none;
} */


/* .topic-description {
    padding-left: 2%;
    padding-right: 2%;
} */


/* .topic-themes:hover {
    width: 100%;
    background-color: #00a58456;
} */

nav a {
    text-decoration: none;
}

.btn {
    background-color: #758592;
}

.readmore-button {
    background-color: #00a585;
    border: none;
    border-radius: 3px;
}

.readmore-button:hover {
    padding-left: 1%;
    padding-right: 1%;
    background-color: #018d71;
}

#icon {}

#contact-message {
    width: 100%;
}

* {
    box-sizing: border-box;
}

.topnav {
    overflow: hidden;
    background-color: #e9e9e9;
}


/* .topnav a {
    float: left;
    display: block;
    color: #002E6D;
    text-align: center;
    padding: 16px 18px;
    text-decoration: none;
    font-size: 20px;
} */


/* @media screen and (min-width: 768px) {
    .form-search-2 {
        display: none;
    }
    .topnav input[type=text] {
        padding: 10px;
        font-size: 20px;
        border: 1px solid grey;
        float: right;
        width: 60%;
        background: white;
    }
    .topnav button {
        float: right;
        padding: 10px;
        background: #00a585;
        color: white;
        font-size: 20px;
        border: 1px solid grey;
        border-left: none;
        cursor: pointer;
    }
} */


/* @media screen and (max-width: 768px) {
    .search-bar {
        display: none;
    }
    .topnav input[type=text] {
        padding: 10px;
        font-size: 20px;
        border: 1px solid grey;
        float: left;
        width: 60%;
        background: white;
    }
    .topnav button {
        float: left;
        padding: 10px;
        background: #00a585;
        color: white;
        font-size: 20px;
        border: 1px solid grey;
        border-left: none;
        cursor: pointer;
    }
} */


/* .topnav button:hover {
    background: #00a570;
} */


/* @media screen and (max-width: 700px) {
    .topnav a,
    .topnav button,
    .topnav input[type=text] {
        float: none;
        display: block;
        text-align: left;
        width: 100%;
        margin: 0;
        padding: 14px;
    }
    .topnav input[type=text] {
        border: 1px solid #ccc;
    }
} */


/* table thead,
tbody {
    word-wrap: break-word;
    overflow-x: visible;
} */


/* Top photo and text on it */

.contain {
    position: relative;
    text-align: center;
    color: #002E6D;
}


/* .top-center {
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fab500;
} */

.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
    /* background-color: #fab500; */
}

.bottom-right {
    position: absolute;
    bottom: 8px;
    right: 16px;
}

.title-top {
    visibility: hidden;
    /* display: none; */
}

@media screen and (min-width: 601px) {
    .title-top {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .top-center {
        visibility: hidden;
    }
    .title-top {
        visibility: visible;
    }
}

@media screen and (max-width: 768px) {
    .top-center {
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* background-color: #fab30094; */
    }
}

@media screen and (min-width: 769px) {
    .top-center {
        position: absolute;
        top: 15%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* background-color: #fab30094; */
    }
}

@media screen and (min-width: 1100px) {
    .top-center {
        position: absolute;
        top: 7%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* background-color: #fab30094; */
    }
}


/* .top-right {
    position: absolute;
    top: 8px;
    right: 16px;
} */


/* .centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} */


/* End of top photo and text on it */


/* Editing table colors */

.table-striped tbody tr:nth-of-type(even) {
    background-color: #00a58431;
}

thead {
    display: table-header-group;
    vertical-align: middle;
    border-color: inherit;
    background-color: #00a58469;
}


/* footer a,
#copyright {
    padding-top: 2%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
} */

footer {
    padding-left: 15%;
    padding-bottom: 4%;
    background-color: #00a585;
    color: white;
}

#address-socials {
    padding-top: 3%;
    padding-bottom: 3%;
}


/* #address-div {
    color: white;
} */

#socials a,
#copyright a {
    color: white;
}

#socials a:hover,
#copyright a:hover {
    text-decoration: none;
    color: #d00d2d;
}


/* for loader */

.loader {
    position: absolute;
    left: 50%;
    animation: rotate 1s infinite;
    height: 50px;
    width: 50px;
    transform: translate(-50%, -50%);
}

.loader:before,
.loader:after {
    border-radius: 50%;
    content: '';
    display: block;
    height: 20px;
    width: 20px;
}

.loader:before {
    animation: ball1 1s infinite;
    background-color: #d00d2d;
    /* box-shadow: 30px 0 0 #fab500; */
    margin-bottom: 10px;
}

.loader:after {
    animation: ball2 1s infinite;
    background-color: #00a585;
    box-shadow: 30px 0 0 #002E6D;
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg) scale(0.8);
        -moz-transform: rotate(0deg) scale(0.8);
    }
    50% {
        -webkit-transform: rotate(360deg) scale(1.2);
        -moz-transform: rotate(360deg) scale(1.2);
    }
    100% {
        -webkit-transform: rotate(720deg) scale(0.8);
        -moz-transform: rotate(720deg) scale(0.8);
    }
}

@keyframes ball1 {
    0% {
        box-shadow: 30px 0 0 #fab500;
    }
    50% {
        box-shadow: 0 0 0 #fab500;
        margin-bottom: 0;
        -webkit-transform: translate(15px, 15px);
        -moz-transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 #fab500;
        margin-bottom: 10px;
    }
}

@keyframes ball2 {
    0% {
        box-shadow: 30px 0 0 #00a585;
    }
    50% {
        box-shadow: 0 0 0 #00a585;
        margin-top: -20px;
        -webkit-transform: translate(15px, 15px);
        -moz-transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 #00a585;
        margin-top: 0;
    }
}

.table-sm th,
.table-sm td {
    padding: 1rem;
}


/* <style> */

body {
    font-family: Arial, Helvetica, sans-serif;
}


/* The Modal (background) */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}


/* Modal Content */

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 70%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}


/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

.modal-header {
    padding: 2px 16px;
    background-color: #00a584ad;
    color: white;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #00a584ad;
    color: white;
}
