@font-face {
    font-family: 'Awesome';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/local/templates/education/fonts/awesome/fa-regular-400.woff2") format("woff2"),
        url("/local/templates/education/fonts/awesome/fa-regular-400.ttf") format("truetype");
}

@font-face {
    font-family: 'Awesome Solid';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("/local/templates/education/fonts/awesome/fa-solid-900.woff2") format("woff2"),
        url("/local/templates/education/fonts/awesome/fa-solid-900.ttf") format("truetype");
}

@font-face {
    font-family: 'Awesome Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/local/templates/education/fonts/awesome/fa-brands-400.woff2") format("woff2"),
        url("/local/templates/education/fonts/awesome/fa-brands-400.ttf") format("truetype");
}

/*-------------*/


@font-face {
    font-family: 'Montserrat';
    src: url('/local/templates/education/fonts/montserrat/regular.woff2') format('woff2'),
        url('/local/templates/education/fonts/montserrat/regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/local/templates/education/fonts/montserrat/medium.woff2') format('woff2'),
        url('/local/templates/education/fonts/montserrat/medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/local/templates/education/fonts/montserrat/semibold.woff2') format('woff2'),
        url('/local/templates/education/fonts/montserrat/semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/local/templates/education/fonts/montserrat/bold.woff2') format('woff2'),
        url('/local/templates/education/fonts/montserrat/bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Vars */
:root {
    --bgcolor: #3578ca;
    --bgcolorhover: #3c87e3;
    --title-color: #333;
}

/* General */
* {
    -webkit-tap-highlight-color: transparent;
}

*::selection {
    background-color: var(--bgcolor);
    color: #fff;
}

body *,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat';
    font-size: 15px;
    font-weight: 400;
    line-height: 130%;
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body.fixed {
    overflow: hidden;
}

.container {
    max-width: 1280px;
    padding: 0 15px;
    margin: 0 auto;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

img {
    max-width: 100%;
}

a {
    color: #000;
    text-decoration: none;
}

h1,
h2,
h3,
b,
strong {
    font-weight: 600;
    color: var(--title-color);
    margin: 0;
}

h1 {
    font-size: 35px;
    line-height: 110%;
    margin: 20px 0 30px;
}

h2 {
    font-size: 29px;
    line-height: 110%;
}

/* Buttons */
.btn-default {
    cursor: pointer;
    color: #fff;
    line-height: 100%;
    background-color: var(--bgcolor);
    border: 0;
    border-radius: 5px;
    transition: .1s ease;
}

.btn-border {
    cursor: pointer;
    color: var(--bgcolor);
    line-height: 100%;
    background-color: #fff;
    border: 1px solid var(--bgcolor);
    border-radius: 5px;
    transition: .1s ease;
}

.btn-default:hover {
    background-color: var(--bgcolorhover);
}

/* Form */
input[type="text"],
input[type="password"],
input[type="number"],
textarea,
select {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    transition: all .1s;
}

textarea {
    resize: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--bgcolor);
}

button {
    font-family: 'Montserrat';
    font-weight: 500;
}

@media (min-width: 992px) {
    body.fixed {
        padding-right: 15px;
    }

    /* Buttons */
    .btn-border:hover {
        color: #fff;
        background-color: var(--bgcolor);
    }
}

@media (max-width: 992px) {

    /* General */
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    #bx-panel {
        display: none !important;
    }
}

@media (max-width: 576px) {

    /* General */
    .container {
        padding: 0 10px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 26px;
    }
}

/* Header */
.header {
    margin-top: 20px;
}

.header .container {
    align-items: center;
}

.header .icon-menu {
    display: none;
}

.header .logo {
    margin-right: 30px;
}

.header .logo a {
    font-size: 25px;
    font-weight: 700;
    color: var(--title-color);
    line-height: 100%;
}

.header .btn-menu {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 0 15px;
    height: 40px;
    margin-right: 20px;
    align-items: center;
}

.header .btn-menu::after {
    content: '\f078';
    font-family: 'Awesome Solid';
    font-size: 12px;
    line-height: 100%;
    text-align: center;
    margin-left: 10px;
    width: 15px;
}

.fixed .header .btn-menu::after {
    content: '\f00d';
}

.header .search {
    height: 40px;
}

.header .search form {
    height: inherit;
}

.header .search input[type="text"] {
    padding: 0 10px 2px;
    width: 450px;
    height: inherit;
    vertical-align: 4px;
}

.header .menu {
    font-size: 12px;
    font-weight: 600;
    text-align: right;
    text-transform: uppercase;
    color: var(--title-color);
    flex-grow: 1;
}

.header .menu a:not(:last-child) {
    margin-right: 25px;
}

/* Nav */
.fixed .nav {
    display: block;
}

.nav {
    width: 100%;
    height: calc(100vh - 80px);
    margin-right: 15px;
    background-color: #fff;
    position: fixed;
    top: 80px;
    left: 0;
    z-index: 10;
    display: none;
}

.nav .container {
    height: 100%;
}

.nav ul,
.nav li {
    list-style-type: none;
}

.main-menu {
    margin: 0;
    padding: 20px 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.main-menu>li:not(:first-child) {
    margin-top: 25px;
}

.main-menu .cat-name {
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: var(--bgcolor);
    text-align: right;
    line-height: 100%;
    width: 255px;
    display: block;
}

.main-menu li:not(.active) .cat-name {
    font-weight: 600;
    color: var(--title-color);
    opacity: 0.4;
}

.main-menu .cat-name::after {
    content: '\f054';
    font-family: 'Awesome Solid';
    font-size: 14px;
    margin-left: 15px;
}

.main-menu li:not(.active) .submenu {
    display: none;
}

.main-menu .submenu {
    font-weight: 500;
    margin: 0;
    padding: 0 0 25px 55px;
    width: calc(100% - 255px);
    max-height: 100%;
    position: absolute;
    top: 20px;
    left: 255px;
    display: flex;
    flex-wrap: wrap;
    overflow: auto;
}

.main-menu .submenu li {
    margin: 0;
    padding: 0 25px 25px 0;
    width: 50%;
}

/* Greeting */
.greeting {
    padding: 80px 0;
    margin-top: 60px;
    background: url('/local/templates/education/img/courses.png') right/50% no-repeat;
    align-items: center;
    justify-content: space-between;
}

.greeting .txt {
    max-width: 45%;
}

.greeting .txt p {
    line-height: 160%;
}

.greeting h1 {
    color: #0562d0;
}

.greeting h1+p {
    margin-top: 30px;
}

/* Main */
.main {
    margin-top: 40px;
    flex-grow: 1;
}

.main-heading {
    font-size: 13px;
    color: #656e7c;
    align-items: center;
    margin-bottom: 20px;
}

.main-heading .last-updated {
    flex-grow: 1;
    text-align: right;
}

.section {
    line-height: 150%;
    margin-top: 40px;
}

/* Single page */
.single {
    line-height: 160%;
    margin-top: 30px;
}

.single h1 {
    margin-bottom: 25px;
}

.single h2 {
    margin: 30px 0;
}

.single ul.list {
    padding: 0;
    margin: 20px 0 20px 10px;
    list-style-type: none;
}

.single ul.list li {
    padding: 2px 0 2px 23px;
    position: relative;
}

.single ul.list li:after {
    content: '';
    width: 12px;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: 12px;
    left: 0;
}

.single ul+p {
    margin-top: 30px;
}

.single a {
    color: var(--bgcolor);
    font-weight: 500;
    text-decoration: underline;
}

/* Footer */
.footer {
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
    background-color: #333;
}

.footer .container {
    align-items: center;
}

.footer a {
    color: inherit;
}

.footer .logo a {
    font-size: 25px;
    font-weight: 700;
    line-height: 100%;
}

.footer .logo .hint {
    font-size: 12px;
    line-height: 150%;
    margin-top: 10px;
}

.footer .menu {
    font-size: 13px;
    text-align: right;
    flex-grow: 1;
}

.footer .menu a:not(:last-child) {
    margin-right: 30px;
}

/* Error */
.page-error {
    margin-top: 80px;
}

.page-error .notice {
    text-align: center;
    padding: 80px 0 90px;
    /*border: 1px solid #ccc;*/
    border-radius: 15px;
}

.page-error .notice::before {
    font-family: 'Awesome Solid';
    font-size: 60px;
    color: #cb3c3c;
    line-height: 100%;
    display: inline-block;
}

.page-error:not(.empty-cat) .notice::before {
    content: '\f071';
}

.page-error.empty-cat .notice::before {
    content: '\f017';
}

.page-error .notice p,
.page-error .notice h1 {
    margin-top: 10px;
}

/* Closed */
.offline {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
}

.offline h2 {
    font-size: 20px;
    margin: 15px 0 0;
}

.offline svg {
    height: 150px;
    opacity: 0.5;
}

.offline p {
    font-size: 15px;
    line-height: 150%;
    margin: 15px 0 0;
}

.offline .container {
    max-width: 576px;
}

/* Popup */
.popup-promocode {
    display: none;
}

.mfp-content .popup-promocode {
    display: flex;
    flex-direction: column;
}

.popup-promocode {
    width: 480px;
    margin: 0 auto;
    padding: 30px 20px 40px;
    background-color: #fff;
    border-radius: 10px;
}

.popup-promocode .text {
    line-height: 140%;
    margin: 10px 0;
}

.popup-promocode .title {
    font-size: 21px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 10px;
}

.popup-promocode .label {
    margin-top: 10px;
}

.popup-promocode .label.warning {
    color: red;
}

.container-promocode {
    padding: 3px;
    margin-top: 10px;
    align-items: center;
    justify-content: space-between;
    border: 1px dashed var(--bgcolor);
    border-radius: 5px;
}

.popup-promocode .name-promocode {
    padding-left: 10px;
}

.popup-promocode .name-promocode input {
    font-size: 16px;
    font-weight: 700;
    color: var(--title-color);
    line-height: 100%;
    text-transform: uppercase;
    background: none;
    border: 0;
}

.popup-promocode .btn-copy {
    cursor: pointer;
    width: 36px;
    height: 36px;
    background: #f2f3ff;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.popup-promocode .btn-copy:hover {
    background: #e8eaff;
}

.popup-promocode .btn-copy::before {
    content: '\f0c5';
    font-family: 'Awesome Solid';
    font-size: 14px;
    color: var(--bgcolor);
}

.popup-promocode .btn-copy.check::before {
    content: '\f00c';
}

.popup-promocode .btn-more {
    font-size: 12px;
    text-transform: uppercase;
    width: 100%;
    padding: 16px 0;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .header .menu a {
        transform: opacity .1s ease;
    }

    .header .menu a:hover {
        opacity: 0.7;
    }

    .main-menu .cat-name li,
    .main-menu .submenu li a {
        transform: .1s ease;
    }

    .main-menu li:hover .cat-name {
        font-weight: 700;
        opacity: 1;
    }

    .main-menu .cat-name:hover {
        color: var(--bgcolor);
        opacity: 1;
    }

    .main-menu .submenu li a:hover {
        color: var(--bgcolor);
    }

    .single a:hover {
        text-decoration: none;
    }

    .footer .menu a:hover {
        text-decoration: underline;
    }
}

@media (max-width: 1280px) {

    /* Header */
    .header .logo a {
        font-size: 22px;
    }

    .header .btn-menu {
        font-size: 11px;
        height: 35px;
    }

    .header .btn-menu span {
        margin-top: 1px;
    }

    .header .btn-menu::after {
        font-size: 12px;
        margin-top: -1px;
    }

    .header .menu {
        font-size: 11px;
    }

    .header .search {
        height: 35px;
    }

    .header .search input[type="text"] {
        width: 350px;
    }

    /* Nav */
    .nav {
        top: 65px;
        height: calc(100vh - 65px);
    }

    .main-menu .cat-name {
        font-size: 17px;
    }

    /* Greeting */
    .greeting {
        margin-top: 0;
    }

    /* Footer */
    .footer .logo a {
        font-size: 22px;
    }
}

@media (max-width: 992px) {

    /* Header */
    .header {
        margin-top: 0;
        padding-top: 15px;
    }

    .header .logo {
        order: 1;
    }

    .header .menu {
        margin-right: 30px;
        order: 2;
    }

    .header .btn-menu {
        margin-right: 0;
        order: 3;
    }

    .header .search {
        display: none;
    }

    .fixed .header .search {
        padding: 15px;
        width: 100%;
        height: auto;
        background-color: #fff;
        border-top: 1px solid #E6E9EF;
        display: block;
        position: absolute;
        top: 65px;
        left: 0;
        z-index: 20;
    }

    .fixed .header .search input[type="text"] {
        width: 100%;
        height: 40px;
        background-color: #f8f8f8;
    }

    .fixed .header .search input[type="text"]:focus {
        background-color: #fff;
    }

    /* Nav */
    .nav {
        height: calc(100vh - 120px);
        top: 120px;
    }

    .main-menu .cat-name {
        width: 235px;
    }

    .main-menu .submenu {
        width: calc(100% - 215px);
        left: 215px;
    }

    /* Main */
    .main-heading {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .main-heading .last-updated {
        margin-top: 5px;
    }

    /* Greeting */
    .greeting {
        padding: 20px 0 40px;
        background: none;
    }

    .greeting .txt {
        max-width: 75%;
    }

    /* Footer */
    .footer .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer .menu {
        text-align: left;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
    }

    .footer .menu a:not(:first-child) {
        margin-top: 5px;
    }
}

@media (max-width: 768px) {

    /* Nav */
    .main-menu .submenu {
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .main-menu .submenu li {
        padding-right: 0;
        width: auto;
    }

    /* Greeting */
    .greeting .txt {
        max-width: initial;
    }

    .footer {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {

    /* Header */
    .header {
        padding-bottom: 15px;
        background-color: var(--bgcolor);
        border-bottom: 1px solid #E6E9EF;
    }

    .header .container {
        justify-content: space-between;
    }

    .header .logo {
        margin-right: 0;
    }

    .header .logo a {
        color: #fff;
    }

    .header .menu,
    .header .btn-menu {
        display: none;
    }

    .fixed .header .menu {
        width: calc(100% - 20px);
        padding-bottom: 20px;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        display: flex;
        position: absolute;
        top: 125px;
        z-index: 10;
    }

    .fixed .header .menu a {
        font-size: 17px;
        font-weight: 700;
        line-height: 100%;
        text-transform: none;
        color: var(--title-color);
        padding: 10px 0;
    }

    .fixed .header .search {
        padding: 15px 10px;
        border-top: 0;
        top: 57px;
    }

    .header .icon-menu {
        display: block;
        position: relative;
        order: 2;
    }

    .header .icon-menu.active {
        z-index: 110;
    }

    .header .icon-menu .bar1,
    .icon-menu .bar2,
    .icon-menu .bar3 {
        width: 22px;
        height: 2px;
        background-color: #fff;
        margin: 5px 0;
        transition: 0.4s;
    }

    .header .icon-menu.active .bar1 {
        transform: rotate(-45deg) translate(-4px, 5px);
    }

    .header .icon-menu.active .bar2 {
        opacity: 0;
    }

    .header .icon-menu.active .bar3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Nav */
    .nav {
        overflow: auto;
        margin-top: 76px !important;
    }

    .main-menu {
        padding: 0;
    }

    .main-menu>li {
        padding: 15px 0;
        margin: 0;
    }

    .main-menu>li:not(:last-child) {
        border-bottom: 1px solid #E6E9EF;
    }

    .main-menu>li:not(:first-child) {
        margin-top: 0;
    }

    .main-menu .cat-name {
        text-align: left;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .main-menu li:not(.active) .cat-name {
        font-weight: 700;
        opacity: 1;
    }

    .main-menu .cat-name::after {
        content: '\f078';
    }

    .main-menu .active .cat-name::after {
        content: '\f077';
    }

    .main-menu .submenu {
        padding: 0;
        width: initial;
        position: relative;
        top: 0;
        left: 0;
        overflow: initial;
    }

    .main-menu .submenu li {
        padding: 8px 0;
    }

    .main-menu .submenu li:first-child {
        padding-top: 16px;
    }

    /* Main */
    .main {
        margin-top: 20px;
    }

    /* Popup */
    .popup-promocode {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        padding: 30px 15px;
        border-radius: 0;
        justify-content: center;
        overflow-y: auto;
    }

    .popup-promocode .mfp-close {
        top: 5px;
        right: 5px;
    }
}