.hide {
    display: none;
}

.x-properly {
    background-color: #268a00;
    color: white;
}

.form-control[readonly].x-wrong,
.x-wrong {
    background-color: #ed1c24;
    color: white;
}

.lesson-complete {
    background-color: #bee3b0;
}

.lesson-warning {
    background-color: #ffc107;
}

.slick-prev:before,
.slick-next:before {
    color: #265d97 !important;
}

.header-form-x {
    margin-top: 18px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    text-align: right;
}

.profile-menu ul li{
    padding: 5px 15px;
    border-bottom: 0px solid #efefef;
}

.lesson-block__wrap ul {
    padding-bottom: 0;
}

.lesson-block__wrap ul:last-of-type {
    padding-bottom: 30px;
}

.slogan h1,
.slogan-lesson h1 {
    margin-top: 0;
}

.quest-quest4-variants span.select,
.quest-quest5-variants span.select {
    border: 3px solid #004185;
}

.steps-wrap ul li {
    padding: 8px 15px 4px;
    margin: 0 0 10px 0;
}

.steps-wrap ul li p {
    padding: 0;
    margin: 0;
}

.subject span, .task span, .block span {
    text-transform: none;
}

.blog-sidebar ul li a:hover, .blog-sidebar ul li.active a {
    color: #fff;
    background: #fd7f1a;
}

i.fa.acces-status {
    position: absolute;
    right: 27px;
}

.lesson-block__wrap span.quest-question input.iex2in {
    font-family: monospace !important;
}

.lesson-block__wrap span.quest-question input {
    border-bottom: 2px solid #004185;
    color: #004185;
    background-color: white;
    height: 30px;
}

.lesson-block__wrap span.quest-question input.x-properly {
    border-bottom: 2px solid #268a00;
    color: #268a00;
    background-color: white;
}

.lesson-block__wrap span.quest-question input.x-wrong {
    border-bottom: 2px solid #ed1c24;
    color: #ed1c24;
    background-color: white;
}

.dex2in.x-wrong {
    color: #ed1c24;
}

.dex2in.x-properly {
    color: #268a00;
}

.blog-content ol,
.blog-content ul {
    padding-left: 30px;
}

.blog-content ol li {
    list-style-type: decimal;
    padding-left: 10px;
}

.quest-answer {
    font-size: 24px;
}

.quest-answer * {
    display: inline !important;
    background: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
}

a.get-cert {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 12px 30px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row nowrap;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background: #fd7f19;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    max-width: 458px;
    margin: -30px 0 25px 0;
}

.contact-form label {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    display: block;
    margin-bottom: 7px;
    font-weight: normal;
}

form div.required label.control-label:after {
    content:" * ";
    color:red;
}

.lesson-block__wrap div.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    padding: 20px;
}

.approve-theory {
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    background: #265d97;
    display: inline-block;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 14px 34px;
}

.form-content div input.cbk,
.cbk {
    position: relative;
    width: auto;
    height: auto;
}

.btn-orange {
    font-size: 30px;
    color: #fff;
    max-width: 243px;
    width: 100%;
    height: 100%;
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    padding: 13px 5px 10px;
    background-color: #fd7f1a;
    border: 0;
}

.lessons-nav .steps-wrap ul li p {
    padding-right: 55px;
}

.lessons-nav .steps-wrap::after {
    content: none;
}

.blog-content div h2>a {
    font-size: inherit;
}

.header-nav ul li {
    margin: 0 8px 0 0;
}

@media only screen and (max-width: 1160px) {
    .header-nav ul li {
        margin: 0 6px 0 0;
    }
}

@media only screen and (max-width: 760px) {
    .steps-wrap i.fa.acces-status {
        font-size: 1em;
        top: 5px;
        right: 5px;
    }

    .steps-wrap ul li p {
        padding-right: 10px;
    }

    .wrapper .media-left img {
        width: 100px;
    }

    .wrapper h2 {
        font-size: 16px;
    }
}

.lesson-block__wrap div.quest-answer-raw,
.quest-answer-raw {
    font-size: 0.9em;
    background: white;
}

.lesson-block__wrap div.quest-answer-raw p,
.quest-answer-raw p {
    font-size: 1.1em;
    font-weight: normal;
    margin-bottom: 10px;
}

.review div.clearfix {
    margin-bottom: 20px;
}

.review div h3{
    font-size: 30px;
    font-weight: bold;
    color: #fd7f19;
    padding-bottom: 20px;
    font-family: "Open Sans", sans-serif;
    /*margin-top: px;*/
}

.review div::after {
    margin: -30px 0 11px;
}

.post-menu ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    border-bottom: 1px solid rgba(184, 184, 184, 0.47);
    margin-bottom: 40px;
}

.post-menu ul li a {
    display: block;
    padding: 10px 20px;
    line-height: 1.19;
    letter-spacing: 1.4px;
    font-size: 1.4em;
    font-family: "Source Sans Pro Regular", sans-serif;
    position: relative;
    text-transform: uppercase;
}

.post-menu ul li a:hover, .post-menu ul li a.active-post__menu {
    color: #fd7f19;
}

.post-menu {
    position: relative;
}

.price-table td, .price-table th {
    border: 1px solid #efefef;
    padding: 5px 10px;
    font-size: 1.4em;
}

.index-content a:hover{
    color:black;
    text-decoration:none;
}
.index-content{
    margin-bottom:20px;
    padding:50px 0px;

}
.index-content .row{
    margin-top:20px;
}
.index-content a{
    color: black;
}
.index-content .card{
    background-color: #FFFFFF;
    padding:0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius:4px;

}
.index-content .card:hover{
    color:black;
}
.index-content .card img{
    width:100%;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin: 10px;

}
.index-content .card h4{
    margin:20px;
}
.index-content .card p{
    margin:20px;
    opacity: 0.65;
}

.partner-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fix-media-body > .media-body {
    width: auto;
}

@media screen and (max-width: 576px){
    .fix-media-body > .media-left {
        display: block
    }
}

.but-show-answer {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    display: inline-block;
    background: #fd7f1a;
    text-transform: uppercase;
    padding: 14px 34px;
    margin-left: 20px;
}

audio {
    width: 100%;
    max-width: 1000px;
}

.embed-container {
    --video--width: 640;
    --video--height: 360;

    position: relative;
    padding-bottom: calc(var(--video--height) / var(--video--width) * 100%); /* 41.66666667% */
    overflow: hidden;
    max-width: 100%;
    background: white;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.book-slider a>img,
.book-list-item .media-left img {
    border: 2px solid #004185;
}
.book-list-item .media-left img {
    max-width: 160px;
}

.payment .payment-tab {
    background: #f0f0f0;
}
.payment h2 {
    color: #fd7f19;
}

.booklist h2.category {
    font-size: 42px;
    color: #004185;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    padding-bottom: 15px;
}
.form-content div input[type="radio"] {
    width: 1em;
    height: 1em;
    margin: 0 0 0 -1.2em;
}

.blog-content p>a {
    color: #337ab7;
}
.blog-content p>a:after {
    content: normal;
    text-decoration: #337ab7;
}

.blog-content p>a:hover {
    text-decoration: underline;
}

div.promo {
    border: 14px solid #004185;
    font-size: 0.9em;
    text-align: center;
    padding: 50px;
}

div.promo > .form-content {
    padding-right: 0;
}

.modal-content .close {
    font-size: 3em;
    margin-right: 20px;
    margin-top: 17px;
}

@media only screen and (max-width : 768px) {
    div.promo {padding: 30px;}
}

.modal#login .modal-content {
    background-color: rgba(0,0,0,.5);
}

.modal#login .modal-dialog {
    width: 100%;
    margin: 0 auto;
}

.modal#login .login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    width: 100%;
    min-height: 100vh;
    font-family: Helvetica, sans-serif;
    color: darkgray;
}


.modal#login .promo {
    background-color: #fff;
    padding: 20px 30px;
    border: 15px solid #004185;
    box-shadow: 0px 7px 24px rgba(47, 139, 202, 0.3);
    max-width: 550px;
    min-width: 550px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal#login .form-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-right: 0;
}

.modal#login #login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
}

.modal#login .form-content h2 {
    font-family: sans-serif;
    font-weight: 700;
    color: black;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 30px;
}

.modal#login .form-group, .modal .form-tip {
    width: 100%;
}

.modal#login .form-group input {
    max-width: 100%;
    width: 400px;
    border-radius: 4px;
    border: 1px solid #004185;
    padding: 10px 15px;
}

.modal#login .form-group .input-submit {
    color: white;
    background: #004185;
    max-width: none;
    width: 150px;
}

.modal#login .form-group .input-submit:hover {
    cursor: pointer;
    background: #003366;
    border: 1px solid #003366;
    transition: background 300ms ease-in;
}

.modal#login .form-group--submit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal#login .form-group.has-error input {
    border: 1px solid darkred;
}

.modal#login .form-label {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 10px;
    font-size: 12px;
}

.modal#login .form-label span {
    display: block;
}

.modal#login .help-block-error {
    color: darkred;
}

.modal#login .form-tip {
    font-size: 12px;
    margin-bottom: 20px;
}

.modal#login .form-tip a {
    color: #4d9ff2;
    text-decoration: none;
}

.modal#login .form-tip a:hover {
    color: #004185;
    text-decoration: underline;
}

.modal#login .form-tip p {
    margin: 0;
}

.modal#login .btn-close {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: transparent;
    font-family: Arial, sans-serif;
    border: 1px solid transparent;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal#login .btn-close:before {
    content: "+";
    display: block;
    position: relative;
    color: darkgray;
    font-size: 40px;
    transform: rotate(45deg);
    cursor: pointer;
}

@media screen and (max-width: 480px) {
    .modal#login .promo {
        max-width: none;
        min-width: 300px;
        width: 300px;
        min-height: 200px;
    }

    .modal#login #login-form {
        max-width: none;
        width: 100%;
    }

    .modal#login .form-content h2 {
        font-size: 20px;
    }

    .modal#login .promo {
        padding: 10px;
    }

    .modal#login .form-group input {
        max-width: 90%;
        width: 90%;
    }

    .modal#login .form-label {
        justify-content: center;
    }
}

.book-list-item .media-left .new-book-preview {
    border: brown;
    position: relative;
    top: -200px;
    z-index: 2;
    max-height: 50px;
    max-width: 50px;
}

@media screen and (max-width : 768px) {
    .book-list-item .media-left .new-book-preview {
        border: brown;
        position: relative;
        top: -132px;
        z-index: 2;
        max-height: 30px;
        max-width: 30px;
    }
}

.new-book-study {
    border: brown;
    position: relative;
    top: -106px;
    z-index: 2;
    max-height: 50px;
    max-width: 50px;
}

#course-list .new-book-study,
.new-study-category {
    border: brown;
    position: relative;
    top: -90px;
    z-index: 2;
    max-height: 50px;
    max-width: 50px;
}

@media screen and (max-width : 1100px) {
    .new-book-study {
        border: brown;
        position: relative;
        top: -100px;
        z-index: 2;
        max-height: 50px;
        max-width: 50px;
    }
}

@media screen and (max-width : 768px) {
    .new-book-study {
        border: brown;
        position: relative;
        top: -85px;
        z-index: 2;
        max-height: 30px;
        max-width: 30px;
    }
}

@media screen and (max-width : 768px) {
    #course-list .new-book-study,
    .new-study-category {
        border: brown;
        position: relative;
        top: -70px;
        z-index: 2;
        max-height: 30px;
        max-width: 30px;
    }
}

#course-list a.btn {
    white-space: normal;
    text-align: left;
}

#course-categories-list a.btn {
    white-space: normal;
    text-align: left;
}

.exercise-title {
    border: 5px solid #fda258;
    min-height: 77px;
    background: white;
    color: black;
    font-size: 24px;
    font-family: "Open Sans", sans-serif;
    padding: 19px 37px;
}
