﻿html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Myriad Pro', Arial, serif;
    font-size: 16px;
    line-height: 1.1875;
    font-weight: normal;
    width: 100%;
    min-width: 300px;
    min-height: 100vh;
    background: white;
    color: black;
    padding: 0;
    margin: 0;
    letter-spacing: 0.02em;
    background: linear-gradient(128.73deg, rgba(255, 255, 255, 0.5) 36.91%, rgba(129, 207, 240, 0.5) 90.61%);
}


*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

.page {
    min-height: 100vh;
    background-image: url(/img/bg-t2.png), url(/img/bg-b2.png);
    background-repeat: no-repeat, no-repeat;
    background-position: 100% 0, 0 100%;
    background-size: 100% auto, 100% auto;
}

.uppercase {
    text-transform: uppercase;
}

.icon:before {
    margin: 0;
}

.strong,
strong,
b {
    color: #505050;
    font-weight: bold;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: black;
}

    label i.icon,
    a i.icon {
        margin-right: 0.7em;
    }

    label i.icon-post,
    a i.icon-post {
        margin-left: 0.7em;
        margin-right: 0;
    }

    a.link {
        text-decoration: underline;
    }

.c-gray {
    color: #505050
}

.c-orange {
    color: #F16036;
}

.relative {
    position: relative;
}

.nowrap {
    white-space: nowrap;
}

.d-static {
    position: static;
}

.d-fixed {
    position: fixed;
}

.pt5 {
    padding-top: 5px;
}

.pt22 {
    padding-top: 22px !important;
}

.mt4 {
    margin-top: 4px !important;
}

.mt9 {
    margin-top: 9px !important;
}

.mt13 {
    margin-top: 13px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.mt30 {
    margin-top: 30px !important;
}

.mt40 {
    margin-top: 40px !important;
}

.mt50 {
    margin-top: 50px !important;
}

.mr1em {
    margin-right: 1em;
}

.mr10 {
    margin-right: 10px;
}

.mr20 {
    margin-right: 20px;
}

.mb6 {
    margin-bottom: 6px !important;
}

.mb13 {
    margin-bottom: 13px !important;
}

.mb250 {
    margin-bottom: 250px !important;
}

.fw900 {
    font-weight: 900;
}

.fw-bold {
    font-weight: bold;
}

.fw-normal {
    font-weight: normal;
}

.fs14 {
    font-size: 14px;
    line-height: 17px;
}

.fs30 {
    font-size: 30px;
    line-height: 37px;
}

.fs150 {
    font-size: 150%;
    line-height: 1.233333333333333;
}

.red {
    color: #F93943 !important;
}

.border-top {
    border-top: 1px solid #CCCCCC;
}

.w100p {
    width: 100% !important;
}

.relative {
    position: relative;
}

.float-block {
    display: block;
    padding: 10px 12px;
    background: #FFFFFF;
    color: #171725;
    border-radius: 10px;
}

@media (min-width: 576px) {

    .mb13-sm {
        margin-bottom: 13px !important;
    }

    .mb26-sm {
        margin-bottom: 26px !important;
    }

    .mt0-sm {
        margin-top: 0 !important;
    }

    .mt50-sm {
        margin-top: 50px !important;
    }
}

@media (min-width: 768px) {
    .mt0-md {
        margin-top: 0 !important;
    }

    .mt4-md {
        margin-top: 4px !important;
    }

    .mt30-md {
        margin-top: 30px !important;
    }

    .mt55-md {
        margin-top: 55px !important;
    }

    .mt100-md {
        margin-top: 100px !important;
    }

    .mt180-md {
        margin-top: 180px !important;
    }

    .pt6-md {
        padding-top: 6px !important;
    }
}

@media (min-width: 992px) {
    .pt5-lg {
        padding-top: 5px !important;
    }

    .pt22-lg {
        padding-top: 22px !important;
    }

    .mt40-lg {
        margin-top: 40px !important;
    }

    .mt50-lg {
        margin-top: 50px !important;
    }

    .mt60-lg {
        margin-top: 60px !important;
    }

    .mt180-lg {
        margin-top: 180px !important;
    }

    .mt0-lg {
        margin-top: 0px !important;
    }

    .mt9-lg {
        margin-top: 9px !important;
    }

    .mt250-lg {
        margin-top: 250px !important;
    }

    .mb13-lg {
        margin-bottom: 13px !important;
    }
}

@media (min-width: 1300px) {
    .mt0-xl {
        margin-top: 0 !important;
    }

    .mt100-xl {
        margin-top: 100px !important;
    }

    .mt280-xl {
        margin-top: 280px !important;
    }

    .pt22-xl {
        padding-top: 22px !important;
    }
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.underline {
    text-decoration: underline;
}

.fright {
    float: right;
}

.smaller {
    font-size: 80%;
}

.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

ul.nav > li {
    margin-right: 2em;
}

    ul.nav > li:last-child {
        margin-right: 0;
    }

    ul.nav > li > a {
        display: inline-block;
    }

.nav-fill {
    justify-content: space-between;
}

ul.nav-fill > li {
    margin-right: 0;
}


@media (min-width: 1300px) {
    .nav-fill-xl {
        justify-content: space-between;
    }

    ul.nav-fill-xl > li {
        margin-right: 0;
    }
}

.btn {
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    line-height: 40px;
    height: 60px;
    width: 190px;
    text-align: center;
    vertical-align: middle;
    background: #016A4D;
    border: 2px solid #006444;
    color: white;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    font-family: 'Roboto Flex', Arial, serif;
    border-radius: 6px;
}

.btn-auto-width {
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.btn:hover {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25);
    transform: scale(1.02);
}

.btn-gray {
    background: #C7CDD6;
    border-color: #C7CDD6;
}

    .btn-gray .icon {
        color: inherit;
    }


.btn-80-height {
    line-height: 80px !important;
    height: 80px !important;
}

.btn-tr-wh {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-tr-rd {
    background: transparent;
    border: 2px solid #F93943;
    color: #F93943;
}

    .btn-tr-wh:hover,
    .btn-tr-rd:hover {
        background: #F93943;
        border: 2px solid #F93943;
        color: white;
        box-shadow: none;
    }

.btn-tr-bl {
    background: transparent;
    border: 2px solid #233E70;
    color: #808080;
}

    .btn-tr-bl:hover {
        background: #233E70;
        border: 2px solid #233E70;
        color: white;
        box-shadow: none;
    }

.btn-fs14 {
    font-size: 14px;
    line-height: 40px;
    height: 40px;
}

.form-lang,
.form-logout {
    width: auto;
    display: block;
    font-size: 12px;
    line-height: 40px;
    height: 40px;
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 10px;
}

.form-logout {
    background: #EDEDED;
    color: #F16036;
    border-color: #EDEDED;
}


header {
    position: relative;
    padding-top: 70px;
    padding-bottom: 25px;
}

@media (min-width: 420px) {
    header {
        padding-top: 110px;
    }
}


@media (min-width: 640px) {
    header {
        padding-top: 150px;
    }
}


@media (min-width: 860px) {
    header {
        padding-top: 180px;
    }
}


@media (min-width: 1280px) {
    header {
        padding-top: 250px;
    }
}


.uname {
    /* margin-top: 12px; */
    font-size: 14px;
    display: inline-block;
    margin-bottom: 6px;
}

header img.logo {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}





#content {
    padding-bottom: 110px;
}

@media (min-width: 440px) {
    #content {
        padding-bottom: 130px;
    }
}

@media (min-width: 500px) {
    #content {
        padding-bottom: 190px;
    }
}


@media (min-width: 640px) {
    #content {
        padding-bottom: 213px;
    }
}


@media (min-width: 710px) {
    #content {
        padding-bottom: 200px;
    }
}

@media (min-width: 800px) {
    #content {
        padding-bottom: 250px;
    }
}


@media (min-width: 1020px) {
    #content {
        padding-bottom: 290px;
    }
}

@media (min-width: 1320px) {
    #content {
        padding-bottom: 320px;
    }
}


@media (min-width: 1860px) {
    #content {
        padding-bottom: 350px;
    }
}


#content h1 {
    font-weight: bold;
    font-size: 20px;
    line-height: 36px;
    /*! color: #F76034; */
    margin: 20px 0 20px;
    text-transform: uppercase;
    /*! margin-bottom: 30px; */
}

@media (min-width: 530px) {
    #content h1 {
        font-size: 26px;
    }
}

#content p,
#content ul {
    margin: 1em 0;
}

    #content ul ul li {
        margin: .5em 0;
    }

#content div div > p:first-child {
    margin-top: 0;
}

#content ul {
    padding-left: 20px;
}

/*#content > .container {
    padding-bottom: 84px;
}*/

#content section {
    margin-top: 50px;
    position: relative;
    padding-top: 1px;
}

footer {
    background: #FFFFFF;
    color: black;
    position: relative;
    font-size: 12px;
    line-height: 14px;
    border-top: 1px solid #D9D9D9;
}

    footer .container {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    footer a {
        color: black;
        text-decoration: underline;
    }

.course-image {
    height: 450px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border-radius: 12px;
}

section.bordered {
    border-top: 2px solid #000000;
}

.course-description {
    word-break: break-word;
}


.course-file-list .ico {
    width: 32px;
    margin-right: 6px;
}

.course-file-list div {
    margin-bottom: 12px;
}

.course-file-list a {
    display: flex;
    align-items: center;
    text-decoration: underline;
}



/* modal */
.modal-open {
    overflow: hidden;
}


.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: +15000;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    background: url('/img/modal-bg.png') 0 0 repeat;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    display: -ms-flexbox;
    display: flex;
    position: relative;
    height: auto;
    padding: 0;
    background: white;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    max-height: calc(100vh - 1rem);
}

    .modal-dialog .modal-content {
        position: relative;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
        pointer-events: auto;
        outline: 0;
        max-height: calc(100vh - 1rem);
    }

    .modal-dialog .modal-header {
        padding: 24px 30px;
        position: relative;
    }

    .modal-dialog h1 {
        padding: 0;
        margin: 0 19px 0 0;
        text-align: left;
        font-weight: normal;
        font-size: 25px;
        line-height: 36px;
        color: #505050;
    }



    .modal-dialog .close {
        position: absolute;
        right: 20px;
        top: 30px;
        font-size: 15px;
        line-height: 15px;
        color: #F16036;
    }

        .modal-dialog .close:hover {
            color: #9a3315;
        }

    .modal-dialog .modal-body {
        overflow-y: auto;
        padding: 0 20px 24px 30px;
        font-size: 16px;
        line-height: 19px;
    }

        .modal-dialog .modal-body ul,
        .modal-dialog .modal-body ol,
        .modal-dialog .modal-body p {
            margin: 1em 0;
        }

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: transparent url('/img/overlay.png') 0 0 repeat;
    z-index: +1000;
}

    .overlay .loader {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: transparent url('/img/ajax-loader.gif') center center no-repeat;
    }




@media (max-width: 991px) {

    label i.icon,
    a i.icon {
        margin-right: 0.4em;
    }


    /*#content > .container {
        padding-bottom: 62px;
    }*/

    #content section {
        margin-top: 39px;
    }

        #content section h3 {
            margin: 3px 0 23px 0;
        }
}


@media (max-width: 767px) {

    #content {
        font-size: 16px;
    }

    .course-image {
        height: 350px;
        border-radius: 6px
    }
}


@media (max-width: 575px) {

    #content {
        font-size: 16px;
    }
        #content section h3.head {
            font-size: 14px;
        }

    .modal-dialog .modal-body ul,
    .modal-dialog .modal-body ol {
        padding-left: 22px;
    }

    .course-image {
        height: 200px;
    }
}
