@font-face {
    font-family: 'IranSans';
    font-display: swap;
    src: url("fonts/IranSansLight.woff") format("woff");
}

.skeleton-loader {
    background-color: gainsboro;
    position: relative;
    overflow: hidden;
}

    .skeleton-loader::before {
        content: '';
        display: block;
        position: absolute;
        left: -100%;
        width: 150px;
        height: 100%;
        top: 0;
        background: linear-gradient(to right, gainsboro 0%, white 50%, gainsboro 100%);
        animation: skeleton-loader-animation 1s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
    }

@keyframes skeleton-loader-animation {
    from {
        left: -100%;
    }

    to {
        left: 100%;
    }
}

a {
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    text-decoration: none !important;
}


.ltr {
    direction: ltr;
}

.rtl {
    direction: rtl;
}

body {
    font-size: 13px;
}

body, input, textarea, h1, h2, h3, h4, h5, h6, a, select {
    font-family: 'IranSans' !important;
    direction: rtl;
}

#full-page-loader-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    display: none;
}

html {
    min-height: 1000px;
}

body.loading #full-page-loader-wrapper {
    display: block;
}

#full-page-loader-wrapper .loader {
    position: relative;
    width: 75px;
    height: 100px;
    margin: 0 auto;
    top: calc(50% - 100px);
}

#full-page-loader-wrapper .loader__bar {
    position: absolute;
    bottom: 0;
    width: 10px;
    height: 50%;
    background: #0094ff;
    transform-origin: center bottom;
    box-shadow: 1px 1px 0 rgba(0, 0, 0, .2);
}

    #full-page-loader-wrapper .loader__bar:nth-child(1) {
        left: 0px;
        transform: scale(1, 0.2);
        animation: barUp1 4s infinite;
    }

    #full-page-loader-wrapper .loader__bar:nth-child(2) {
        left: 15px;
        transform: scale(1, 0.4);
        animation: barUp2 4s infinite;
    }

    #full-page-loader-wrapper .loader__bar:nth-child(3) {
        left: 30px;
        transform: scale(1, 0.6);
        animation: barUp3 4s infinite;
    }

    #full-page-loader-wrapper .loader__bar:nth-child(4) {
        left: 45px;
        transform: scale(1, 0.8);
        animation: barUp4 4s infinite;
    }

    #full-page-loader-wrapper .loader__bar:nth-child(5) {
        left: 60px;
        transform: scale(1, 1);
        animation: barUp5 4s infinite;
    }

#full-page-loader-wrapper .loader__ball {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 10px;
    height: 10px;
    background: #34a43c;
    border-radius: 50%;
    animation: ball 4s infinite;
}

@keyframes ball {
    0% {
        transform: translate(0, 0);
    }

    5% {
        transform: translate(8px, -14px);
    }

    10% {
        transform: translate(15px, -10px)
    }

    17% {
        transform: translate(23px, -24px)
    }

    20% {
        transform: translate(30px, -20px)
    }

    27% {
        transform: translate(38px, -34px)
    }

    30% {
        transform: translate(45px, -30px)
    }

    37% {
        transform: translate(53px, -44px)
    }

    40% {
        transform: translate(60px, -40px)
    }

    50% {
        transform: translate(60px, 0)
    }

    57% {
        transform: translate(53px, -14px)
    }

    60% {
        transform: translate(45px, -10px)
    }

    67% {
        transform: translate(37px, -24px)
    }

    70% {
        transform: translate(30px, -20px)
    }

    77% {
        transform: translate(22px, -34px)
    }

    80% {
        transform: translate(15px, -30px)
    }

    87% {
        transform: translate(7px, -44px)
    }

    90% {
        transform: translate(0, -40px)
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes barUp1 {
    0% {
        transform: scale(1, .2);
    }

    40% {
        transform: scale(1, .2);
    }

    50% {
        transform: scale(1, 1);
    }

    90% {
        transform: scale(1,1);
    }

    100% {
        transform: scale(1,.2);
    }
}

@keyframes barUp2 {
    0% {
        transform: scale(1, .4);
    }

    40% {
        transform: scale(1, .4);
    }

    50% {
        transform: scale(1, .8);
    }

    90% {
        transform: scale(1, .8);
    }

    100% {
        transform: scale(1, .4);
    }
}

@keyframes barUp3 {
    0% {
        transform: scale(1, .6);
    }

    100% {
        transform: scale(1, .6);
    }
}

@keyframes barUp4 {
    0% {
        transform: scale(1, .8);
    }

    40% {
        transform: scale(1, .8);
    }

    50% {
        transform: scale(1, .4);
    }

    90% {
        transform: scale(1, .4);
    }

    100% {
        transform: scale(1, .8);
    }
}

@keyframes barUp5 {
    0% {
        transform: scale(1, 1);
    }

    40% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1, .2);
    }

    90% {
        transform: scale(1, .2);
    }

    100% {
        transform: scale(1, 1);
    }
}


/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.uk-text-very-small {
    font-size: 10px;
}

.uk-button-default-primary {
    background-color: white;
    border: 1px solid #0f6ecd;
    color: #0f6ecd;
}

    .uk-button-default-primary:hover {
        color: white;
        background-color: #0f6ecd;
    }

.uk-button[disabled],
.uk-button[disabled]:hover {
    background-color: #f7f7f7;
    color: gray;
    border: 1px solid gainsboro;
}

.uk-button-success {
    background-color: #40a0a3;
    color: #fff;
    border: 1px solid transparent
}

    .uk-button-success:focus, .uk-button-success:hover {
        background-color: #397c7f;
        color: #fff
    }

    .uk-button-success.uk-active, .uk-button-success:active {
        background-color: #397c7f;
        color: #fff
    }

[uk-tab] li.uk-active a {
    color: #0f6ecd;
    font-weight: bold;
    border-color: #0f6ecd;
}

.uk-inline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .uk-inline-list li {
        display: inline-block;
    }

.gray-rounded-button {
    display: block;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    color: gray;
}

    .gray-rounded-button:hover {
        background-color: #e7e7e7;
        color: black;
    }

.tippy-box {
    background-color: white;
    box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.2);
    color: black;
}

    .tippy-box[data-placement^='top'] > .tippy-arrow::before {
        border-top-color: white;
    }

    .tippy-box[data-placement^='bottom'] > .tippy-arrow::before {
        border-bottom-color: white;
    }

    .tippy-box[data-placement^='left'] > .tippy-arrow::before {
        border-left-color: white;
    }

    .tippy-box[data-placement^='right'] > .tippy-arrow::before {
        border-right-color: white;
    }

.links-dropdown {
    padding: 0;
    width: 250px;
    background-color: white;
}

    .links-dropdown a {
        display: block;
        padding: 10px;
        color: gray;
    }

        .links-dropdown a:hover {
            background-color: #efefef;
            color: black;
        }

[uk-spinner] {
    color: #0094ff;
}

tox-mbtn,
tox-mbtn__select-label {
    font-family: 'IranSans' !important;
}

.tagify__dropdown__item:hover,
.tagify__dropdown__item--active {
    background-color: #f1f1f1 !important;
    color: black;
}

    .tagify__dropdown__item:hover .meta,
    .tagify__dropdown__item--active .meta {
        color: black;
    }

    .tagify__dropdown__item:hover .title,
    .tagify__dropdown__item--active .title {
        color: black;
    }

.tagify__dropdown__item .title {
    margin: 0 0 5px 0 !important;
}

.tagify__dropdown__item .meta {
    margin: 5px 0 0 0 !important;
    color: gray;
    font-size: 0.8em;
}

#chat-container {
    position: fixed;
    bottom: 0;
    left: 50px;
    z-index: 999;
    display: inline-block;
}

#top-nav-discounts {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
    text-align: center;
    background-color: white;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    color: black;
    width: 250px;
    transition: bottom 0.5s;
}

    #top-nav-discounts.invisible {
        bottom: -100%;
    }

    #top-nav-discounts .header {
        background: linear-gradient(45deg, #0f6ecd, #5091d1);
        background-size: cover;
        background-color: #0f6ecd;
        color: white;
        font-size: 1.4em;
        padding: 15px;
        font-weight: bold;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    #top-nav-discounts .content {
        padding: 10px;
    }

        #top-nav-discounts .content > div {
            margin: 10px 0;
        }

    #top-nav-discounts .discount-amount {
        font-size: 1.2em;
        font-weight: bold;
    }

    #top-nav-discounts .discount-label {
        display: inline-block;
        background-color: red;
        border-radius: 10px;
        color: white;
        padding: 5px 10px;
        margin-top: -4px;
        box-shadow: 0 0 0 3px white;
        font-weight: bold;
        margin-left: 5px;
        margin-right: 5px;
        font-size: 1.1em;
    }

    #top-nav-discounts [uk-icon] {
        position: absolute;
        right: -30px;
        top: 0px;
        background-color: white;
        border-radius: 50%;
        width: 25px;
        height: 25px;
        line-height: 25px;
        border: 1px solid gainsboro;
    }

    #top-nav-discounts .count-down {
        background-color: red;
        display: inline-block;
        padding: 10px 10px 7px 10px;
        border-radius: 5px;
    }

    #top-nav-discounts [uk-countdown] > span {
        color: white;
        padding: 10px;
        border-radius: 5px;
        line-height: 20px;
        text-align: center;
        font-size: 1.8em;
        font-family: arial;
    }

@media only screen and (max-width: 600px) {
    #top-discount-banner-container {
        font-size: 0.8em;
    }
}

#top-discount-banner {
    display: block;
    padding: 0 10px;
    margin-top: 0 !important;
}

    #top-discount-banner.no-padding {
        padding: 0 !important;
    }

#top-discount-banner-container {
    margin-top: 0 !important;
}

    #top-discount-banner-container.hide {
        display: none;
    }

#top-discount-banner .count-down {
    background-color: rgba(255,255,255,0.9);
    display: inline-block;
    padding: 10px 10px 7px 10px;
    border-radius: 5px;
}

    #top-discount-banner .count-down > div {
        color: #9a3a21;
        font-weight: bold;
    }

#top-discount-banner [uk-countdown] > span.mini {
    color: #9a3a21;
    padding: 10px;
    border-radius: 5px;
    line-height: 20px;
    text-align: center;
    font-size: 1.8em;
    font-family: arial;
    font-weight: bold;
}

#top-discount-banner .discount-remain {
    color: #9a3a21;
    font-weight: bold;
}

#top-discount-banner > div {
    height: 80px;
    color: white;
}

#top-discount-banner .title {
    font-size: 1.5em;
    font-weight: bold;
}

#top-discount-banner .uk-label-warning {
    padding: 5px;
    border-radius: 4px;
}

#top-discount-banner .discount-code {
    background-color: rgba(255,255,255,0.6);
    color: #9a3a21;
}

#top-discount-banner .box {
    font-weight: bold;
    display: inline-block;
    padding: 15px;
    border-radius: 5px;
}

#top-discount-banner .close {
    position: absolute;
    right: -10px;
    top: -10px;
    color: gray;
    background-color: white;
    border-radius: 50%;
    border: 1px solid gainsboro;
    width: 20px;
    height: 20px;
    line-height: 25px;
    text-align: center;
}

/* top nav */
#top-nav {
    background-color: white;
    border-bottom: 1px solid gainsboro;
    z-index: 981 !important;
}

    #top-nav, #top-nav a {
        color: gray;
    }

        #top-nav, #top-nav a:hover {
            color: black;
        }

            #top-nav .uk-navbar-item {
                min-height: 60px;
            }

            #top-nav .logo-text {
                font-size: 1.2em;
                color: black;
            }

            #top-nav .uk-divider-vertical, #main-nav .uk-divider-vertical {
                height: 20px;
            }

            #top-nav .uk-badge {
                background-color: green;
                color: white;
            }

            #top-nav .headline {
                font-size: 0.8em;
                max-width: 200px;
            }

            #top-nav .profile-link {
                font-size: 0.85em;
                display: block;
                text-align: center;
                margin-top: 20px;
                border: 1px solid #0094ff;
                border-radius: 20px;
                padding: 10px;
                color: #0094ff !important;
            }

                #top-nav .profile-link:hover {
                    font-size: 0.85em;
                    display: block;
                    text-align: center;
                    margin-top: 20px;
                    border: 1px solid #0094ff;
                    border-radius: 20px;
                    padding: 10px;
                    background-color: #0094ff;
                    color: white !important;
                }

/* Main menu styles */

#main-nav {
    background-color: white;
    border-bottom: 1px solid gainsboro;
    z-index: 981 !important;
}

    #main-nav .uk-navbar-item {
        min-height: 50px;
    }

        #main-nav .uk-navbar-item a {
            font-weight: 600;
            color: rgb(118, 118, 118);
        }

            #main-nav .uk-navbar-item a:hover {
                color: black;
            }


    #main-nav .search-item {
        margin: 5px 0;
    }

    #main-nav .teach-button {
        color: white !important;
        font-size: 0.9em;
        padding: 0 15px;
    }

.send-content-dropdown > a {
    font-weight: normal !important;
}

/* footer styles */

#footer-section .uk-grid {
    color: white !important;
}

#footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer-section address {
    color: white;
}

#footer-section ul li {
    display: block;
    margin: 0 10px 10px;
}

#footer-section .uk-grid a {
    color: white;
}

#footer-copyright {
    text-align: center;
}

.uk-icon-button {
    color: #40a0a3 !important;
}

.courses-links li {
    margin: 0 10px;
}

#footer-info li a {
    color: gray;
}

    #footer-info li a:hover {
        color: #40a0a3;
    }

.footer-header {
    position: relative;
}

    .footer-header hr {
        border: none;
        width: 100%;
        height: 2px;
        background-color: white;
    }

    .footer-header span {
        position: absolute;
        right: 0px;
        top: -9px;
        padding-left: 8px;
        background-color: #40a0a3;
        font-weight: bold;
        font-size: 1.1em;
    }

.footer-links li {
    display: inline-block !important;
}

    .footer-links li a {
        font-size: 1.2em;
        color: white;
        font-weight: bold;
    }

.footer-about-tosinso {
    font-size: 1.1em;
    line-height: 30px;
}

/* fancy avatar */

.fancy-thumbnail-container {
    position: relative;
    border-radius: 50%;
    padding: 4px;
    border: 1px solid green;
}

    .fancy-thumbnail-container::after {
        display: block;
        content: '';
        width: 5px;
        height: 50%;
        z-index: 1;
        background-color: white;
        position: absolute;
        left: -2px;
        top: 25%;
    }

    .fancy-thumbnail-container::before {
        display: block;
        content: '';
        width: 5px;
        height: 50%;
        z-index: 1;
        background-color: white;
        position: absolute;
        right: -2px;
        top: 25%;
    }

.submit-content-button {
    border: 1px solid #0094ff;
    color: white !important;
    height: auto !important;
    padding: 8px 10px 7px;
    border-radius: 10px;
    font-size: 0.9em !important;
    font-family: IranSans;
    font-weight: normal !important;
    background-color: #0094ff;
    cursor: pointer;
}

    .submit-content-button:hover {
        border: 1px solid #0094ff;
        color: #0094ff !important;
        background-color: white;
    }

    .submit-content-button svg {
        position: relative;
        top: -2px;
    }

    .submit-content-button span {
        margin-right: 5px;
    }

.islands-link {
    display: block;
    text-align: center;
    border: 1px solid gainsboro;
    padding: 15px;
    border-radius: 2px;
    color: rgb(42, 42, 42);
}

#main-discount-banner .main-discount-container {
    background-size: cover;
    height: 120px;
    background-position: center center;
    background-image: url(/banner/banner_80.png);
}

#main-discount-banner .count-down {
    background-color: red;
    color: white;
    padding: 20px 17px 17px 20px;
    border-radius: 10px;
}

#main-discount-banner .timer-container {
    position: absolute;
    left: 70px;
    top: 20px;
}

#main-discount-banner .count-down .uk-countdown-number {
    color: white;
    font-size: 1.8em;
    margin: 0 4px;
    font-weight: bold;
    display: inline-block;
    width: 20px;
}

#main-discount-banner .discount-remain {
    margin-top: 5px;
    font-weight: bold;
    font-size: 1em;
}

#main-discount-banner .mobile-text {
    display: none;
}

#main-discount-banner .mobile-text-small {
    display: none;
}

@media only screen and (max-width: 1260px) {
    #main-discount-banner .main-discount-container {
        background-size: cover;
        height: 90px;
    }

    #main-discount-banner .count-down {
        padding: 10px;
        border-radius: 10px;
    }

    #main-discount-banner .timer-container {
        position: absolute;
        left: 11%;
        top: 13px;
    }

    #main-discount-banner .count-down .uk-countdown-number {
        font-size: 1.2em;
        width: 10px;
    }
}

@media only screen and (max-width: 1000px) {
    #main-discount-banner .main-discount-container {
        background-size: cover;
        height: 90px;
    }

    #main-discount-banner .count-down {
        padding: 10px;
        border-radius: 10px;
    }

    #main-discount-banner .timer-container {
        position: absolute;
        left: 45px;
        top: 13px;
    }

    #main-discount-banner .count-down .uk-countdown-number {
        font-size: 1.2em;
        width: 10px;
    }
}

@media only screen and (max-width: 850px) {
    #main-discount-banner .main-discount-container {
        background-image: url(/banner/banner_80_mobile.png) !important;
        background-size: cover;
        height: 100px;
    }

    #main-discount-banner .count-down {
        padding: 10px;
        border-radius: 10px;
    }

    #main-discount-banner .timer-container {
        position: absolute;
        left: 10px;
        top: 5px;
    }

    #main-discount-banner .count-down .uk-countdown-number {
        font-size: 1.2em;
        width: 10px;
    }
}

@media only screen and (max-width: 630px) {
    #main-discount-banner .main-discount-container {
        background-image: url(/banner/banner_80_mobile.png) !important;
        background-size: cover;
        height: 90px;
        background-position: right;
    }

    #main-discount-banner .count-down {
        padding: 10px;
        border-radius: 10px;
    }


    #main-discount-banner .timer-container {
        position: absolute;
        left: 10px;
        top: 5px;
    }

    /* #main-discount-banner .count-down .uk-countdown-number { */
    /*     font-size: 1.2em; */
    /*     width: 10px; */
    /*     display: none; */
    /* } */
    /* */
    /* #main-discount-banner .count-down .discount-remain { */
    /*     display: none; */
    /* } */

    #main-discount-banner .mobile-text {
        display: none;
        font-size: 0.8em;
        font-weight: bold;
    }
}

@media only screen and (max-width: 539px) {
    #main-discount-banner .main-discount-container {
        background-image: url(/banner/banner_80_mobile.png) !important;
        background-size: cover;
        height: 70px;
        background-position: right;
    }

    #main-discount-banner .count-down .discount-remain {
        display: none;
    }

    #main-discount-banner .mobile-text {
        display: none;
    }

    #main-discount-banner .mobile-text-small {
        display: none;
        font-size: 0.7em;
    }
}
