@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800");

body {
    /*--primary-color: #27AAE1;*/
    --primary-color: #00ab6b;
    --text-color: #333333;
    --white-text: #FEFEFE;
    --bg-gray: #F2F2F2;
    /*--bg-btn-hover: #0082B8;*/
    --bg-btn-hover: #038C59;
    --bg-exit-btn: #da0000;
    --bg-exit-btn-hover: #b60000;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0px 2px 19px rgba(0, 0, 0, 0.05);
    --tw-border-opacity: 1;
    user-select: none;
}

html {
    font-family: 'Inter', sans-serif !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: lightgray;
}

::-webkit-scrollbar-thumb {
    background: gray;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif !important;
}

.white-bg {
    background: white !important;
}

.app-container {
    background-color: var(--bg-gray);
}

.wrapper, .wrapper-navbar {
    display: flex;
    max-width: 1090px;
    margin: 0 auto !important;
}

.flex-grow-0 {
    flex-grow: 0;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #979696 !important;
    opacity: 1; /* Firefox */
}
  
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #979696 !important;
}
  
/*::-ms-input-placeholder {*/ /* Microsoft Edge */
    /*color: #979696 !important;
}*/

.pd-0 {
    padding: 0 !important;
}

.mg-0 {
    margin: 0 !important;
}

.pt-30 {
    padding-top: 30px !important;
}

.height-80 {
    height: 80%;
}

.height-100 {
    height: 100%;
}

.mg-auto {
    margin: auto !important;
}

.mg-right-20 {
    margin-right: 20px;
}

.pd-left-right {
    padding: 0 26px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mg-bt-25 {
    margin-bottom: 25px !important;
}

.my-link {
    color: white;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 10px;
}

.my-link:hover {
    color: white;
    text-decoration: underline;
}

.transparent-btn {
    background: transparent !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    border-radius: 20px !important;
    transition-duration: .5s;
}

.transparent-btn:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.my-btn {
    border: none !important;
    background-color: var(--primary-color) !important;
    border-radius: 20px !important;
}

.my-btn:hover {
    border: none !important;
    /*background-color: #2189b5 !important;*/
    opacity: 0.8;
}

.display {
    display: block !important;
}

.hide {
    display: none !important;
}

.show-modal {
    display: block;
    /*animation: displayModal ease-in 0.3s;
    position: fixed !important;*/
}

.show-modal-from-top {
    animation: displayModal ease-in 0.3s;
    position: fixed !important;
}

.hide-modal {
    transform: translateY(-100%);
    opacity: 0;
    transition-duration: .5s;
}

.modal-form {
    margin: auto !important;
    background: white;
    border-radius: 5px;
    width: 50%;
    padding: 35px;
}

.form-popup-title {
    margin-bottom: 30px;
}

.btn-wrapper {
    display: flex;
    margin-top: 30px;
    justify-content: space-around;
}

.exit-btn {
    background: var(--bg-exit-btn) !important;
    /*margin-left: 170px;*/
}

.exit-btn:hover {
    background: var(--bg-exit-btn-hover) !important;
}

.footer {
    background: #212529;
    padding: 30px;
}

.text-center {
    text-align: center;
}

.d-block {
    display: block !important;
}

.modal-quiz-test {
    display: flex;
    z-index: 1000;
    position: fixed;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5));
}

.form-group .successful-msg {
    color: blue;
    display: block;
}

.form-group .error-msg {
    color: #ff1d1d;
    display: block;
}

.successful-msg, .error-msg {
    /*display: block;
    margin-top: 10px;*/
    text-align: center;
    color: white;
}


.popup-message {
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    position: fixed;
    /*width: 250px;*/
    top: 75px;
    right: 15px;
    /*background: white;*/
    z-index: 10;
    border-radius: 5px;
    transition-duration: 0.8s;
    opacity: 0;
    /*border: 1px solid #e3e3e3;*/
    padding: 25px 30px;
    /*box-shadow: 0 1px 4px rgba(0,0,0,.15);*/
}

.alert-text {
    margin: 0 124px 20px;
    display: block;
}

.popup-message i {
    font-size: 27px;
    margin-right: 15px;
    /* margin: 6px auto; */
    /*  display: block;
    margin-bottom: 8px;*/
}

.error-text {
    color:#ff1c1c !important;
    display: block;
    margin-top: 8px;
}

.red-bg {
    background: red !important;
}

.green-bg {
    background: #5fd05e !important;
}

.mark-color-bg {
    background: #FEBD17 !important;
    color: white;
}

.bg-selected {
    background: var(--primary-color);
    color: white;
}

.item-center {
    display: flex;
    justify-content: center;
}

@keyframes displaySubmenu {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes displayModal {
    from {
        /*display: block !important;*/
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
    
}


.tox-tinymce {
    height: 250px !important;
    width: 85% !important;
}

.tinymce-wrapper {
    display: flex;
}

.ck-content {
    height: 150px;
}

.ck.ck-editor {
    width: 85% !important;
}

.app-input:focus {
    box-shadow: none !important;
    border: 1px solid var(--primary-color) !important;
}

.app-icon {
    margin-right: 15px;
}

.bg-true {
    background: green;
    color: white;
}

.bg-false {
    background: red;
    color: white;
}

.bg-not-answer {
    background: white;
    color: black;
}

.bg-answered {
    background: #005da9;
    color: white;
}

.bg-selected h4, .bg-true h4, .bg-false h4 {
    color: white;
}

.bg-main-color {
    background: var(--primary-color);
    color: white;
}

input[type="checkbox"]:disabled {
    opacity: 1; 
}

.circle-wrapper {
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px !important;
    border-radius: 50%;
    color: white;
}

.page-list-container {
    text-align: center;
    font-size: 18px;
    margin: 30px;
}

.page-list-container a {
    width: 35px;
    height: 35px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    line-height: 35px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 4px;
    transition-duration: .4s;
    /*margin-top: 30px;*/
}

.page-list-container a:hover, .bg-selected-page {
    background: var(--primary-color);
    color: white !important;
}

.notification-wrapper {
    background: white;
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    user-select: text;
}

.notification-wrapper h1 {
    color: #FEBE16;
    text-align: center;
    margin-bottom: 20px;
}

.height-auto {
    height: auto;
}

.footer-link img {
    /*width: 200px;*/
    height: 35px;
}

.fixed {
    position: sticky;
    top: 86px;
}
