@charset "UTF-8";

button {
    outline: none;
}

button::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner {
   border: 0;
}

button:focus {
  outline: none !important;
}

.og-h1,
.og-h2,
.og-h3,
.og-h4,
.og-h5,
.og-h6 {
    color: #1C3673;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 16px;
/*    line-height: 1.3;*/
}

.og-h1 {
    font-size: 26px;
}

.og-h2 {
    font-size: 30px;
}

.og-h3 {
    font-size: 24px;
}

.og-h4 {
    font-size: 20px;
}
.og-h4.small{
    font-size: 18px;
}



.og-h5 {
    font-size: 18px;
}

.og-h6 {
    font-size: 16px;
}

.text_block>*:first-child {
    margin-top: 0 !important;
}

.text_block>*:last-child {
    margin-bottom: 0 !important;
}

.text_block {
    color: #000;
}

.text_block h1,
.text_block h2,
.text_block h3,
.text_block h4,
.text_block h5,
.text_block h6 {
    color: #163771;
    text-transform: uppercase;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

.text_block h1 {
    font-size: 34px;
    margin-bottom: 2rem;
}

.text_block h2 {
    font-size: 30px;
}

.text_block h3 {
    font-size: 24px;
}

.text_block h4 {
    font-size: 20px;
}

.text_block h5 {
    font-size: 18px;
}

.text_block h6 {
    font-size: 16px;
}

.text_block ul,
.text_block ol {
    margin-bottom: 2rem;
}

.text_block ul li {
    padding-left: 30px;
}

.text_block ul li:before {
    content: '';
    width: 0.8rem;
    height: 0.1rem;
    background: #F04037;
    position: absolute;
    left: 0;
    top: 0.8rem;
}

.text_block li {
    position: relative;
}

.input-field {
    margin-bottom: 20px;
}

.input-field label {
    display: block;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    color: #333333;
}

.form-control {
    width: 100%;
    border: 2px solid #D6D6D6;
    height: 60px;
    line-height: normal !important;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0 15px 0 25px;
    font-size: 18px;
    text-transform: uppercase;
    color: #000;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    -webkit-appearance: none;
}

input.form-control::-webkit-input-placeholder {
    color: #D9D9D9;
    opacity: 1;
}

input.form-control::-moz-placeholder {
    color: #D9D9D9;
    opacity: 1;
}

textarea.form-control::-webkit-input-placeholder {
    color: #D9D9D9;
    opacity: 1;
}

textarea.form-control::-moz-placeholder {
    color: #D9D9D9;
    opacity: 1;
}

.og-btn {
    cursor: pointer;
}

.og-btn-wide {
    width: 100%;
}

.og-btn-transparent {
    color: #F04037;
    background: transparent;
}

.og-btn-transparent:hover {
    color: #fff;
}

.og-btn-big {
    height: 36px;
    line-height: 32px;
    min-width: 210px;
    font-size: 16px;
}

.og-btn-red {
    background: #ff2c2b;
}

.article-btn {
    position: relative;
    cursor: pointer;
    border: 2px solid #163771;
    height: 32px;
    line-height: 27px;
    background: transparent;
    font-size: 15px;
    color: #163771;
    font-weight: bold;
    padding: 0 20px;
    outline: none;
    -webkit-appearance: none;
}

.article-btn:hover {
    border-color: #ff2c2b;
    background: #ff2c2b;
    color: #ffffff;
}

.article-btn:hover .icon {
    border-color: #fff;
}

.article-btn:hover .icon svg {
    fill: #fff;
}

.article-btn+.article-btn {
    margin-left: 40px;
}

.article-btn .icon {
    position: relative;
    height: 100%;
    width: 53px;
    display: inline-block;
    vertical-align: top;
    border-right: 2px solid #163771;
    margin-left: -20px;
    margin-right: 13px;
}

.article-btn .icon svg {
    fill: #163771;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.article-btn .socials {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    bottom: 100%;
    background: #fff;
    -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.08);
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 100;
    transition: 0.2s;
}

.article-btn.active .socials {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.article-btn .socials:before {
    content: "";
    position: absolute;
    bottom: -6px;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.03);
    height: 12px;
    width: 12px;
    transform: rotate(45deg);
    background: #fff;
    z-index: 2;
    left: 50%;
    margin-left: -6px;
}

.article-btn .socials a {
    display: block;
    width: 60px;
    height: 60px;
    line-height: 56px;
    text-align: center;
}

.article-btn .socials a:hover svg {
    fill: #163771;
}

.article-btn .socials svg {
    max-height: 50%;
    display: inline-block;
    vertical-align: middle;
}

.og-left-sidebar {
    background: #EEF5FE;
    padding: 30px 20px 30px 30px;
    margin-right: -30px;
}

.og-left-sidebar .searchdocform {
    position: relative;
    padding: 0;
    margin-bottom: 15px;
}

.og-left-sidebar input.btnin {
    width: calc(100% - 75px);
    margin: 0;
    vertical-align: top;
}

.og-left-sidebar input.btnisub {
    width: 60px;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
}

.og-left-sidebar .custom-control:last-child {
    margin-bottom: 0;
}

.custom-control.check-style {
    min-height: 27px;
    line-height: 27px;
    font-size: 15px;
    text-transform: uppercase;
}

.custom-control.check-style label {
    color: #163771;
    font-weight: 700;
    font-size: 14px;
}

.custom-control.check-style label:before {
    background: #fff;
    border-color: #fff;
    border-radius: 0;
    width: 27px;
    height: 27px;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.custom-control.check-style label:after {
    background: url(../img/icons/check.svg) no-repeat 50% 50%;
    background-size: contain;
    width: 14px;
    height: 10px;
    border-radius: 0;
    left: 6px;
    top: 8px;
}

.custom-control.check-style input:checked+label:before {
    background: #F14941;
    border-color: #F14941;
}

.og-content {
    margin-left: 30px;
}

.og-edu-items .main-img {
    width: 100%;
    margin-bottom: 30px;
}

.og-edu-item {
    background: #EEF5FE;
    margin-bottom: 30px;
}

.og-edu-item .og-h4 {
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.og-edu-item a {
    position: relative;
    padding: 30px;
    display: block;
    color: #163771;
}

.og-edu-item a:hover .og-h4 {
    color: #ff2c2b;
}

.og-edu-item a:hover .icon-arrow {
    background: #ff2c2b;
}

.og-edu-item a:hover .icon svg {
    fill: #ff2c2b;
    stroke: #ff2c2b;
}

.og-edu-item .icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 90px;
    height: 70px;
    line-height: 70px;
}

.og-edu-item .icon svg {
    display: inline-block;
    vertical-align: middle;
    max-height: 100%;
    fill: #163771;
    stroke: #163771;
    stroke-width: 0;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.og-edu-item .inner {
    position: relative;
    height: 100%;
    min-height: 70px;
    padding-left: 105px;
}

.og-edu-item .icon-arrow {
    width: 35px;
    height: 35px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: #163771;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.og-edu-item .icon-arrow:before {
    content: '';
    background: url(../img/icons/arrow.svg) no-repeat 50% 50%;
    background-size: contain;
    width: 10px;
    height: 15px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.og-edu-items > .row > div {
    margin-bottom: 30px;
}

.og-course-item {
    height: 100%;
    background-color: #EEF5FE;
}

.og-course-item a {
    position: relative;
    display: block;
    height: 100%;
}

.og-course-item a:hover .og-h6 {
    color: #ff2c2b;
}

.og-course-item .img {
    height: 250px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.og-course-item .descr {
    /* background: #EEF5FE; */
    padding: 30px;
}

.og-course-item .descr .og-h6 {
    font-size: 14px;
    margin-bottom: 0;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.pins {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.pin {
    height: 33px;
    line-height: 33px;
    font-size: 13px;
    font-weight: bold;
    padding: 0 13px;
    color: #ffffff;
}

.pin.-video {
    background: #F04037;
}

.pin.-new {
    background: #2BBC14;
}

.pin.-date {
    background: #1C3673;
}

.pin.-category {
    background: #C1DBFC;
}

.pin.-error {
    background: #E37070;
}

.pin.-success {
    background: #70E390;
}

.icon-youtube {
    background: url(../img/icons/play.svg) no-repeat 50% 50%;
    background-size: contain;
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 11px;
    margin-right: 10px;
}

.og-pagination {
    margin-top: 10px;
}

.og-pagination li {
    display: inline-block;
    vertical-align: top;
    width: 57px;
    height: 57px;
    line-height: 57px;
    background: #EEF5FE;
    margin-right: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.og-pagination li.active {
    background: #163771;
    color: #ffffff;
}

.og-pagination li:last-child {
    margin-right: 0;
}

.og-pagination li a {
    display: block;
    width: 100%;
    height: 100%;
    color: #163771;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.og-pagination li a:hover {
    background: #ff2c2b;
    color: #ffffff;
}

.og-course-article img {
    max-width: 100%;
}

.og-course-content {
    background: #EEF5FE;
    padding: 60px 45px;
}

.og-course-content .top {
    margin-bottom: 45px;
}

.og-course-content .bottom {
    margin-top: 50px;
}

.og-course-content .bottom .og-btn {
    margin-right: 25px;
}

.og-course-content .bottom .og-btn:last-child {
    margin-right: 0;
}

.og-course-top {
    position: relative;
}

.og-course-top .pin {
    font-size: 24px;
    height: 55px;
    line-height: 55px;
    padding: 0 24px;
}

.video-item {
    position: relative;
    cursor: pointer;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    margin-bottom: 30px;
}

.video-item+.og-course-content {
    margin-top: -30px;
}

.video-item .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.video-item.active:before {
    opacity: 0;
    visibility: hidden;
}

.video-item.active:after {
    -webkit-transform: translateX(-50%) translateY(-50%) scale(0.5);
    transform: translateX(-50%) translateY(-50%) scale(0.5);
    opacity: 0;
    visibility: hidden;
}

.video-item:hover:after {
    -webkit-transform: translateX(-50%) translateY(-50%) scale(0.85);
    transform: translateX(-50%) translateY(-50%) scale(0.85);
}

.video-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.56)), to(rgba(0, 0, 0, 0.56)));
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.56));
    -webkit-transition: 0.2s;
    transition: 0.2s;
    z-index: 10;
}

.video-item:after {
    content: '';
    background: url(../img/icons/play.svg) no-repeat 50% 50%;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 100px;
    height: 70px;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    z-index: 20;
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.og-list-icons li {
    position: relative;
    padding-left: 0 !important;
    margin-bottom: 2rem;
}

.og-list-icons li:before {
    content: none !important;
}

.og-list-icons h5 {
    text-transform: none;
    margin-bottom: 0.7rem;
    margin-top: 0;
}

.og-list-icons .icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #1C3673;
}

.og-list-icons .icon img {
    padding: 11px;
    vertical-align: middle;
    max-height: 100%;
}

.og-list-icons .icon+.descr {
    padding-left: 75px;
}

.og-course-form {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
}

.og-course-form .og-h1 {
    text-align: center;
    margin-bottom: 30px;
}

.og-course-form button[type="submit"] {
    margin-top: 30px;
}

.og-account-user {
    text-align: center;
}

.og-account-user .photo {
    margin-bottom: 25px;
}

.og-account-user .photo img {
    border-radius: 50%;
    width: 145px;
    height: 145px;
}

.og-account-user address {
    color: #163771;
}

.og-account-user address strong {
    font-size: 18px;
}

.og-account-user .links {
    margin-top: 30px;
}

.og-account-user .link {
    color: #F04037;
    border-bottom: 1px dashed transparent;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    margin-bottom: 10px;
    display: inline-block;
}

.og-account-user .link:last-child {
    margin-bottom: 0;
}

.og-account-user .link:hover {
    border-color: #F04037;
}

.og-account-tabs {
    background: #EEF5FE;
}

.og-account-tabs ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.og-account-tabs li.active a {
    color: #163771 !important;
}

.og-account-tabs li.active a:before {
    width: 100%;
    visibility: visible;
}

.og-account-tabs li a {
    position: relative;
    display: block;
    height: 85px;
    line-height: 85px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #163771;
    padding: 0 38px;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.og-account-tabs li a:hover {
    color: #ff2c2b;
}

.og-account-tabs li a .count {
    color: #ff2c2b;
    margin-left: 5px;
}

.og-account-tabs li a:before {
    content: '';
    height: 3px;
    width: 0;
    background: #1C3673;
    position: absolute;
    left: 0;
    bottom: 0;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    visibility: hidden;
}

.og-account-content {
    margin-top: 50px;
}

.og-account-article-item {
    position: relative;
    background: #EEF5FE;
    min-height: 176px;
    margin-bottom: 30px;
}

.og-account-article-item a {
    display: block;
    color: #163771;
    height: 100%;
}

.og-account-article-item a:hover h4 {
    color: #ff2c2b;
}

.og-account-article-item h4 {
    -webkit-transition: 0.2s;
    transition: 0.2s;
    margin-top: 15px;
}

.og-account-article-item .img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 182px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.og-account-article-item .img+.descr {
    width: calc(100% - 195px);
    margin-left: 195px;
}

.og-account-article-item .descr {
    position: relative;
}

.og-account-article-item .pins {
    position: relative;
    margin-left: -13px;
    width: calc(100% + 13px);
}

.og-account-article-item .pins .-date {
    font-size: 16px;
}

/*Попапы*/
/*Табы*/
.tabs-content>div {
    display: none;
}

.tabs-content>div.visible {
    display: block;
}

/*Табы*/
.pop_wrap {
    display: block !important;
}

.fancybox-container.fullscreen .fancybox-bg {
    background: #fff !important;
}

.fancybox-is-open .fancybox-bg {
    background: #333 !important;
    opacity: .3 !important;
}

.fancybox-container.fullscreen.fancybox-is-open .fancybox-bg {
    opacity: 1 !important;
}

.fancybox-container.fullscreen .pop {
    max-width: 350px;
    text-align: center;
    padding: 0 !important;
    overflow: hidden;
}

.fancybox-container.fullscreen .fancybox-button--close {
    background: #163771;
    opacity: 1;
    visibility: visible;
    color: #ffffff;
}

.fancybox-container.fullscreen .pop_reg {
    max-width: 640px;
}

.fancybox-container.fullscreen .custom-control {
    text-align: left;
}

.fancybox-container.fullscreen .custom-control input+label:before {
    border: 2px solid #D6D6D6;
}

.fancybox-container.fullscreen .custom-control input:checked+label:before {
    border-color: transparent;
}

.fancybox-inner {
    cursor: pointer;
}

.fancybox-slide:before {
    margin-right: 0 !important;
}

.fancybox-slide--current .pop {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    transform: scale(1);
}

/*.fancybox-content {
    background: transparent !important;
    padding: 0 !important;
}*/
.fancybox-slide--image .fancybox-content {
    background: #fff !important;
}
.fancybox-close-small {
    color: #333;
    right: 0;
    top: 0;
}
.fancybox-close-small:hover {
    color: #777;
}

.pop {
    display: none;
    cursor: auto;
    opacity: 0;
    visibility: hidden;
    padding: 30px !important;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.pop .og-h3 {
    text-transform: none;
}

.social-auth {
    margin-top: 45px;
}

.social-auth .row {
    margin: 0 -7px;
}

.social-auth .row>div {
    padding: 0 7px;
    margin-bottom: 14px;
}

.social-auth a {
    display: block;
    height: 42px;
    line-height: 42px;
    font-size: 18px;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.social-auth a:hover {
    opacity: 0.85;
}

.social-auth .vk {
    background-color: #4A76A8;
}

.social-auth .fb {
    background-color: #4267B2;
}

.social-auth .twitter {
    background-color: #1DA1F2;
}

.social-auth .google {
    background-color: #DB4437;
}

.og-btn-auth {
    margin-left: 15px;
}

.icon-avatar {
    display: inline-block;
    vertical-align: middle;
    width: 26px;
    height: 26px;
    border: 1px solid #fff;
    border-radius: 50%;
    margin-right: 15px;
    background: url(../img/icons/avatar.svg) no-repeat 50% 50%;
    background-size: 9px 12px;
    margin-top: -2px;
    margin-left: -5px;
}

.icon-logout {
    display: inline-block;
    vertical-align: middle;
    width: 12px;
    height: 19px;
    background: url(../img/icons/logout.svg) no-repeat 50% 50%;
    background-size: contain;
    margin-top: -2px;
    margin-left: 10px;
    margin-right: -5px;
}

.og-btn-auth .og-btn {
    text-transform: none;
    padding: 0 15px;
    font-size: 18px;
    height: 35px;
    line-height: 31px;
    white-space: normal;
    overflow: visible;
}

/*Попапы*/
@media screen and (max-width: 991px) {
    .og-account .og-left-sidebar {
        margin-right: 0;
    }

    .og-account .og-content {
        margin-left: 0;
        margin-top: 50px;
    }
}

@media screen and (max-width: 768px) {
    .og-left-sidebar {
        margin-right: 0;
    }

    .og-content {
        margin-left: 0;
        margin-top: 30px;
    }

    .og-course-item .img {
        height: 200px;
    }

    .og-course-content {
        padding: 20px;
    }

    .article-btn {
        width: 100%;
        font-size: 18px;
    }

    .article-btn .icon {
        float: left;
    }

    .article-btn+.article-btn {
        margin-left: 0;
        margin-top: 15px;
    }

    .og-course-content .bottom .og-btn {
        width: 100%;
        margin: 0;
        margin-bottom: 15px;
    }

    .og-course-content .bottom .og-btn:last-child {
        margin-bottom: 0;
    }

    .text_block h1 {
        font-size: 30px;
    }

    .text_block h2 {
        font-size: 24px;
    }

    .text_block h3 {
        font-size: 20px;
    }

    .text_block h4 {
        font-size: 18px;
    }

    .text_block h5 {
        font-size: 16px;
    }

    .text_block h6 {
        font-size: 14px;
    }

    .og-h1 {
        font-size: 30px;
    }

    .og-h2 {
        font-size: 24px;
    }

    .og-h3 {
        font-size: 20px;
    }

    .og-h4 {
        font-size: 18px;
    }

    .og-h5 {
        font-size: 16px;
    }

    .og-h6 {
        font-size: 14px;
    }

    .og-btn-big {
        font-size: 18px;
    }

    .fancybox-container.fullscreen .pop {
        padding: 50px 10px 10px !important;
    }

    .video-item:after {
        width: 60px;
        height: 40px;
    }

    .og-account-tabs ul {
        display: block;
    }

    .og-account-article-item .img {
        height: 150px;
        position: relative;
        width: 100%;
    }

    .og-account-article-item .img+.descr {
        width: 100%;
        margin-left: 0;
        padding: 20px;
    }

    .og-account-article-item .pins {
        width: 100%;
        margin-left: 0;
    }
}

@media screen and (max-width: 575.98px) {

    .og-btn-auth .og-btn {
        font-size: 0px;
        padding: 0 10px;
    }

    .icon-avatar {
        margin: 0;
    }

}