@import url('reset.css');
@import url('bootstrap.min.css');
@import url('other.css');
@import url('font-awesome.min.css');

@import url('https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=cyrillic,cyrillic-ext,latin-ext');
/* font-family: 'Montserrat', sans-serif; */

/* General */
body, p, h1, h2, h3, h4, h5, h6, a, span, tr td  {
    font-family: 'Montserrat';
}

h2 {
font-size: 1.1em !important;
}

.neg-margin {
    margin-left: -15px !important;
}

.null-pad {
    padding: 0 !important;
}

.null-margin {
    margin: 0 !important;
}

.upper {
    text-transform: uppercase;
}

.padding-left {
    padding-left: 15px !important;
}

.margin-top {
    margin-top: 15px;
}

.margin-bottom {
    margin-bottom: 15px;
}

.margin-left {
    margin-left: 50px !important;
}

.half {
    width: 50% !important;
}

.border {
    border: 1px solid #ced4da;
    color: #7495ad;
    padding: 10px;
    word-break: break-all;
    line-height: 20px;
}

.danger {
    color: #dc3545 !important;
}

.text-alert {
    color:rgb(255, 193, 7) !important;
}

.success {
    color: #3c7a1d !important;
}

.white {
    color: #fff !important;
}

.full {
    width: 100%;
}

.color-link {
    color: #3ec9cb;
    transition: 0.3s;
}

.color-link:hover {
    color: #1a2042;
}

.title,
.inactive-link {
    color: #7495ad;
}

.large {
    font-size: 20px;
}

.buttons {
    margin-top: 30px;
}

.slow-opacity {
    opacity: 0.3;
}

.border-bottom {
    border-bottom: 1px solid #aaa;
    padding-bottom: 15px;
}

ul.none,
ol.none {
    list-style: none !important;
}

.alert ul,
.alert ol {
    margin-bottom: 0 !important;
}

ul.circle {
    list-style-type: circle;
    margin-left: 15px;
}

ol.decimal {
    list-style-type: decimal;
    padding-left: 15px;
}

.vertical-bottom {
    vertical-align: bottom;
}

button, .btn, input, select, option,
button:focus, .btn:focus, input:focus, select:focus, option:focus,
button:active, .btn:active, input:active, select:active, option:focus, .form-control:focus {
    outline: none !important;
    box-shadow: none;
}

select:focus {
    border-color: #ced4da !important;
}

.alert.no-bgr {
    background: none;
    border: none;
    padding: 0;
}

.dropdown-item.active, .dropdown-item:active {
    background: none !important;
}

::placeholder {
    font-size: 14px;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: 500;
}

.btn-green {
    background: #3ec9cb;
    border-color: #3ec9cb;
    color: #fff;
}

.btn-green:hover {
    color: #3ec9cb !important;
    background: #fff;
}

/* End general */

/* Teacher theory info */
.yellow-bgr {
    padding: 10px;
    background: #f7f1d0;
    color: #333;
    margin-bottom: 15px;
}

.blue-bgr {
    padding: 5px;
    background: #cfdde8;
    border:1px solid #add1ed;
    color: #333;
    font-weight: 500;
}

.orange-bgr {
    padding: 10px;
    background: burlywood;
    color: #333;
    font-weight: 500;
}

.orange {
    color: #e96c03;
}

/* General panel */
.general .left {
    background: #f5f5f5;
    padding: 15px;
    min-height: 100vh;
}

.general .content {
    margin-bottom: 30px;
}

.general .bar-responsive:hover {
    cursor: pointer;
}

.general .bar-responsive i {
    font-size: 22px;
}

.general .back-side.active {
    display: block;
}

#sidebar.active {
    margin-left: 0;
    transition:all 1s;
}

.general .logo img {
    width: 75%;
}

.general .border-bottom {
    border-bottom: 1px solid #aaa;
    margin: 20px 0;
}

.general .pages .link,
.general .pages .link a {
    color: #222;
    transition: 0.3s;
    margin: 7px 0;
    display: block;
}

.general .pages .link:hover,
.general .pages .link:hover a,
.general .pages .link a:hover {
    color: #3ec9cb;
    cursor: pointer;
}

.general .pages .link i {
    margin-right: 5px;
}

.general .left .contacts {
    border-top: 1px solid #ddd;
    width: 90%;
    position: absolute;
    left: 15px;
    margin-top: 15px;
}

.icard-route img {
    max-width: 100%;
}

.general .right {
    position: relative;
}

.general .right #sidebar {
    position: absolute;
    left: 0;
    z-index: 1000;
}

.general .pages h3,
.general .contacts h3 {
    color: #999;
    text-transform: uppercase;
    margin-top: 20px;
    word-spacing: 1px;
    font-size: 15px;
}

.general .contacts a {
    display: block;
    margin-top: 10px;
    color: #222;
    transition: 0.3s;
}

.general .contacts a:hover,
.green-blue {
    color: #3ec9cb;
}

.general .top-nav {
    padding-bottom: 20px;
}

.general .top-nav .user-image,
.general .top-nav .dropdown {
    display: inline-block;
    vertical-align: middle;
}

.general .top-nav .dropdown .type {
    color: #7495ad;
    font-size: 14px;
}

.general .top-nav .user-image img {
    border-radius: 50%;
    width: 30%;
}

.general .top-nav .icon.general img {
    width: 40px;
    height: 40px;
}

.general .top-nav .dropdown button {
    border: none;
    background: none;
}

.dropdown-menu.show {
    left: -40px !important;
    top: 20px !important;
}

.general .top-nav .dropdown button span {
    display: block;
}

.general .top-nav .left-message p {
    color: #7495ad;
}

.general .top-nav .col-sm-6 {
    display: inline-block;
    max-width: 48%;
    flex: none;
}

.general .top-nav .dropdown-toggle::after {
    position: absolute;
    right: -10%;
    top: 50%;
}

.general .top-nav .dropdown .dropdown-menu a {
    color: #333;
    transition: 0.3s;
}

.general .top-nav .dropdown .dropdown-menu a.exit {
    display: block;
}

.general .top-nav .dropdown .dropdown-menu a:hover {
    color: #3ec9cb;
}

.general .content .row .col-md-9 {
    padding: 0;
}

/* Flag version*/
.general .flag {
    color: #333;
    display: inline-block;
    margin-top: 15px;
}

.general .flag img {
    vertical-align: middle;
    border: 1px solid #ccd2dc;
}

/* Admin panel items */
.items .descr {
    margin: 20px 0;
    line-height: 20px;
}

.items .descr p {
    color: #7495ad;
    margin-bottom: 15px;
}

.items .descr p.group-info {
    margin-top: 10px;
    width: 100%;
}

.items .descr a {
    color: #3ec9cb;
    transition: 0.3s;
}

.items .descr a i {
    font-size: 20px;
}

.items .descr a.all {
    border-bottom: 1px solid #3ec9cb;
}

.items .item-info .twenty {
    width: 10%;
}

.items .item-info .twenty img {
    width: 50%;
}

/* Teachers */
.groups.teachers  h2 {
    margin-top: 0;
}

.teachers  h2 {
    display: block;
    font-size: 20px;
    margin-top: 15px;
}

.teacher .contacts-teacher a {
    display: inline-block;
    margin: 0 10px 0 0;
}

.teacher .contacts-teacher a i {
    padding-right: 7px;
}

.items.teacher .item {
    box-shadow: none;
    border: none;
    margin-top: 10px;
}

.content .teacher .item .icon img {
    vertical-align: middle;
    border-radius: 50%;
}

.content .teacher .info .icon,
.content .teacher .info .item-info,
.content .teacher .info .item-btn {
    display: inline-block;
}

.content .teacher .info .item-btn i {
    font-size: 20px;
    margin-left: 7px;
}

.content .teachers form input.search-query {
    border-right: 0;
}

.content .teachers form .btn-basic {
    border: 1px solid #ced4da;
    border-left: 0;
    border-radius: 0;
}

.items .descr a:hover {
    color: #7495ad;
    border-color: #7495ad;
}

.content .item {
    border: 1px solid #eee;
    padding-right: 0;
    padding-left: 0;
    box-shadow: 1px 1px 1px#eee;
}

.content .selectize-input .item {
    border: none;
    box-shadow: none;
}

.content .item.no-border {
    border: none;
    box-shadow: none;
    margin-top: 10px;
}

.items .course-item {
    margin: 5px 12px;
    max-width: 23%;
}

.items .course-item:last-child {
    margin-right: 0 !important;
}

.items .item-info {
    background: #fff;
    padding: 10px;
    transition: 0.3s;
}

.items .course-item .item-info {
    margin-bottom: 0;
}

.items .item-info.user {
    padding: 10px 0;
}

.items .course-item:hover .item-info,
.items .course-item:active .item-info,
.items .course-item:focus .item-info {
    color: #fff;
    background: #3ec9cb;
}

.items .course-item:hover span {
    color: #fff;
}

.items .course-item span {
    transition: 0.3s;
}

.items .item-info .first {
    color: #333;
    margin-bottom: 5px;
    display: block;
    transition: 0.3s;
}

.items .item-info .second {
    color: #7495ad;
    display: block;
    transition: 0.3s;
}

/* Video */
.content .course-video iframe {
    width: 100%;
    height: 450px;
}

.vp-center {
    justify-content: baseline !important;
}

.content .item img {
    width: 100%;
}

.content img {
    width: 100%
}

.content .groups .item {
    margin-bottom: 15px;
    padding-right: 7px;
}

.content .groups .item .icon img {
    width: 75%;
    border-radius: 50%;
}

.content .groups .item.teacher .icon img {
    width: 65px;
    height: 65px;
    overflow: hidden;
    object-fit: cover;
}

.content .admin-groups .groups .item .icon img {
    width: 60%;
    margin-bottom: 0;
    vertical-align: inherit;
}

.content .admin-groups .groups .item .image {
    margin-top: 10px;
}

.content .groups .col-2.icon {
    margin: 0 auto;
}

.content .groups .icon,
.content .groups .item-info,
.content .groups .item-btn {
    display: inline-block;
    vertical-align: middle;
}

.icon.name {
    margin: 0 auto;
    color: #fff;
    position: relative;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #777;
    line-height: 41px;
}

.user-image .icon {
    position: relative;
}

.content .item .icon.name {
    margin: 17px auto;
}

.content .user-profile .icon.name {
    margin: 0;
    vertical-align: bottom;
}

.icon .unread-messages {
    position: absolute;
    background: rgb(255, 193, 7);
    border-radius: 50%;
    font-size: 14px;
    bottom: -10px;
    right: -3px;
    height: 20px;
    width: 20px;
    line-height: 20px;
}

.icon.name.teacher {
    height: auto;
    width: auto;
    border-radius: 0;
    background: none;
    line-height: normal;
}

.listMessages .unread-message {
    background: #efefef !important;
    font-weight: 500;
}

.content .groups.teachers .item-btn.settings {
    position: absolute;
    top: 33%;
}

.content .groups .resp .item {
    max-width: 32%;
    margin-right: 5px;
}

.content .groups.teachers .item-btn.settings.view-students {
    top: 25%;
}

.content .groups.teachers .item-btn.settings a {
    color: #7495ad;
    transition: 0.3s;
}

.content .groups.teachers .item-btn.settings a:hover {
    color: #3ec9cb !important;
}

.content .groups.teachers .item-btn.settings a i {
    font-size: 24px;
}

.content i.fa-comments-o {
    font-size: 20px;
    color: #7495ad;
}

.content .checkboxChat {
    width: auto !important;
    margin-right: 15px;
}

.content .groups .col-sm-2.icon,
.content .teacher .col-sm-2.icon  {
    max-width: 14% !important;
}

.content .groups .modules .col-sm-2.icon {
    padding: 0;
}

.content .groups .group-image {
    max-width: 75%;
    margin: 15px 0;
}

.content .groups.teachers .group-image {
    max-width: 100%;
    padding-left: 0;
}

.content .groups.teachers .zoom {
    margin-left: auto;
    padding: 0;
}

.user-certificates {
    margin-bottom: 30px;
}

.user-certificates .certificate-item {
    display: inline-block;
    max-width: 31%;
    margin-bottom: 15px;
}

.user-certificates .certificate-item a {
    border: 1px solid #ddd;
    padding: 15px;
    transition: 0.3s;
    display: inline-block;
}

.user-certificates .certificate-item img {
    max-width: 50%;
    display: block;
    margin: 0 auto 15px;
}

.user-certificates .certificate-item .second {
    display: block;
    margin: 5px 0;
    color: #333;
    transition: 0.3s;
    height: 40px;
    overflow: hidden;
}

.certificates-page .user-certificates .certificate-item {
    max-width: 16%;
}

.user-certificates .certificate-item a:hover {
    box-shadow: 1px 1px 1px #ccc;
    border-color: #ccc;
}

.user-certificates .certificate-item a:hover .second {
    color: #3ec9cb;
}

.certificates-page .user-certificates .certificate-item .second {
    height: 50px;
}

.user-certificates .certificate-item .second.date,
.certificates-page .user-certificates .certificate-item .second.date {
    height: auto;
    color: #777;
}

/* Remove default margin row */
.content .groups .row {
    margin-right: 0;
    margin-left: 0;
}

.content .groups .item-btn .btn.download-homework {
    vertical-align: baseline;
}

.content .groups .item-btn.teacher-module .btn {
    vertical-align: middle;
    margin-right: 10px;
}

.content .groups .item-btn .btn {
    background: #3ec9cb;
    color: #fff;
    vertical-align: bottom;
    outline: none;
    border: 1px solid #3ec9cb;
    transition: 0.3s;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.content .groups .item-btn .btn:hover {
    background: #fff;
    color: #3ec9cb;
}

/* Homework button */
#homeworkAdd label.btn {
    max-width: 50%;
    border: 1px solid #ccc;
}

#homeworkAdd .file-data {
    padding-top: 5px;
}

.buttons.homework {
    margin-top: 70px;
}

.content .homework-content {
    background: #ccc;
    padding: 10px;
    border-radius: 5px;
    color: #444;
    min-height: 100px;
    line-height: 22px;
}

.content .homework-content p {
    margin: 5px 0;
}

.content .homeworks .item-btn .btn {
    background: #ccc;
    color: #fff;
    border-color: #ccc;
}

.content .homeworks .item-btn .btn:hover {
    color: #999 !important;
}

.content .homeworks .item-btn .btn-success {
    color: #fff;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.content .homeworks .item-btn .btn-success:hover {
    color: #ddd !important;
}

.content .homeworks .item-btn i {
    margin-right: 5px;
}

.content #homeworksPage #groupModules ol {
    padding-left: 15px;
}

.content #homeworksPage #groupModules ol li {
    line-height: 20px;
    margin-bottom: 10px;
}

.content .groups .modules h3 {
    font-weight: bold;
    font-size: 17px;
    vertical-align: top;
    color: #333;
}

.content .groups .modules .item {
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #eee;
}

.content .items.students .item.col-lg-6 a {
    display: block;
    position: relative;
    transition: all 0.15s;
}

.content .items.students .item a:hover {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

.content .items.students .item {
    margin-bottom: 15px;
}

.content .items.students .item .live-streaming strong:hover {
    text-decoration: underline;
}

.content .items.students .image,
.content .items.students .info {
    display: inline-block;
    max-width: 48%;
}

.content .items.students .info {
    vertical-align: top;
    margin-top: 10px;
}

.content .items.last-groups .info {
    vertical-align: middle;
}

.content .items.last-groups .info-date {
    margin-top: 0;
}

.content .items.last-groups .item a {
    padding: 7px 0;
}

.content .items.last-groups .item a:hover h2,
.content .items.last-groups .item a:hover .second {
    color:#3ec9cb;
}

.content .homeworkGroups p {
    margin: 0;
}

@media screen and (min-width: 992px) {
    .content .items.students .image {
        padding: 0;
    }
}

.content .items.students .info .teacher {
    margin-top: 20px;
}

.content .items.students .image .item-info {
    display: block;
    text-align: center;
}
@media screen and (max-width: 1560px) {
    .content #profilePage .items.students .item-info {
        display: none;
    }
}
@media screen and (min-width: 1561px) {
    .content #profilePage .items.students .image .item-info {
        display: none;
    }
    .content #profilePage .items.students .item-info {
        transition: all 0.15s;
        position: absolute;
        bottom: 14px;
        right: 14px;
        border-radius: 6px;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
    }

    .content #profilePage .items.students .item a:hover > .item-info {
        background: #3ec9cb;
        color: #fff;
    }
}

.content .items.students .info h2 a,
.content .items.students .info h2 {
    color: #333;
    font-size: 20px;
    transition: 0.3s;
    display: block;
}

.content .items.students .info h3 {
    color: #555;
    font-size: 18px;
    margin: 15px 0 30px;
}

.content .items.students .info h2 a:hover {
    color: #3ec9cb;
}

.content .items.students .info .second {
    color: #777;
}

.content .items.students .info .icon {
    max-width: 25%;
}

.content .items.students .info .icon,
.content .items.students .info .item-info {
    display: inline-block;
}

.content .items.students .info .payments {
    margin-top: 20px;
}

.content .payments img {
    max-width: 100% !important;
    width: auto;
}

.content .payments form {
    margin: 20px 0;
}

.live-streaming {
    white-space: nowrap;
}

.live-streaming::before {
    content: "";
    border-radius: 50%;
    width: 8px;
    height: 8px;
    display: inline-block;
    background-color: #ff0000;
    margin-right: 8px;
    -webkit-animation: blink-dot 1s infinite;
    -moz-animation: blink-dot 1s infinite;
    animation: blink-dot 1s infinite;
}

@keyframes blink-dot {
    0% {
        transform: scale(1);
        opacity: .25
    }
    50% {
        transform: scale (1, 5);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: .0;
    }
}

.live-streaming strong {
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    text-transform: uppercase;
    background-color: red;
    color: #fff;
    padding: 3px 6px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    -webkit-transform: skewY(-15deg);
    -ms-transform: skewY(-15deg);
    transform: skewX(-15deg);
}

.info .live-streaming strong {
    transform: none;
    background: none;
    color: red;
    text-transform: none;
    font-size: 16px;
    padding: 0;
}

.info .live-streaming::before {
    display: none;
}

.content .payments form {
    margin: 20px 0;
}

.content .student .payments .course-title {
    color: #555 !important;
}

.content .student .payments .course-title.danger {
    color: #dc3545 !important;
    font-weight: bold;
    font-size: 20px;
}

.content .student .payments .danger {
    color: #dc3545 !important;
    font-weight: 600;
}

.content .student .payments table a {
    color: #333;
}

.content .student .payments table a.btn {
    color: #fff;
}

.content .student .payments table a:hover {
    color: #ccc;
    border-color: #ffc107 !important;
}

.content .student .payments table {
    border-collapse:separate;
    border-spacing: 0 1em;
    margin-bottom: 50px;
    border: 1px solid #eee;
    text-align: center;
}

.content .student .payments table .btn {
    display: block;
    margin: 0 auto;
}

.content .admin .payments table .btn {
    display: block;
}

.content .student .payments table th {
    padding-top: 0;
}

.content .student .payments table th,
.content .admin .payments table th {
    color: #7495ad;
    border-bottom: 1px solid #ced4da;
    padding-bottom: 10px;
    margin-right: 10px;
}

.content .student .payments table td {
    font-size: 15px;
    color: #333;
}

.content .student .payments table td .status {
    background: #28a745;
    padding: 5px;
    font-size: 14px;
    border-radius: 10px;
    color: #fff;
}

/* Admin teacher */
.items .course .item-info a {
    color: #3ec9cb;
    transition: 0.3s;
    display: block;
}

.items .course .item-info:hover a,
.items .course-item:hover a {
    color: #fff;
}

/* Login */
.login {
    background: url('../img/login.jpg') center center;
    background-size: cover;
    padding: 30px 0;
    margin: 0 auto;
    color: #fff;
    min-height: 100vh;
}

.login .alert {
    width: 90%;
    margin: 0 auto;
    padding: .75rem 0;
}

.login .alert li {
    margin-bottom: 7px;
    font-weight: normal;
}

.login .row {
    display: block;
}

.login .logo img {
    width: 25%;
}

.login h2, .login h1 {
    margin: 50px 0;
}

.login.raffle h2 {
    font-size: 28px !important;
}

.login.raffle ul {
    font-weight: bold;
}

.login form {
    background: #fff;
    width: 50%;
    margin: 0 auto;
    padding: 20px 0;
    border-radius: 10px;
}

.login.raffle form {
    width: 60%;
}

.login form label {
    text-align: left !important;
    margin-bottom: 10px;
    color: #333;
    font-size: 15px;
}

.login form input.form-control {
    width: 85%;
    margin: 0 auto 20px;
    background: #f5f5f5;
    height: 45px;
}

input.form-control:focus {
    border-color: #ced4da;
}

.login form input[type="submit"] {
    background: #3ec9cb;
    color: #fff;
    text-transform: uppercase;
    transition: 0.3s;
    border: 2px solid #3ec9cb;
    height: auto;
}

.login form input[type="submit"]:hover {
    color: #3ec9cb;
    background: #fff;
}

.login form a {
    color: #3ec9cb;
    margin: 30px 0 10px;
    display: block;
    transition: 0.3s;
}

.login form a.close {
    padding-right: 5px;
    color: auto;
    margin: 0;
    color: #000;
}

.login form a:hover {
    color: #1a2042;
}

.login .questions {
    margin-top: 50px;
}

.login .questions p {
    margin: 10px 0;
}

.login .questions a {
    color: #3ec9cb;
    transition: 0.3s;
}

.login .questions a:hover {
    color: #fff;
}

.login .questions a.site {
    color: #fff;
    transition: 0.3s;
}

.login .questions a.site:hover {
    color: #3ec9cb;
}

.login .login-languages a {
    padding-left: 10px;
}

.login .g-recaptcha {
    margin-left: 40px;
    margin-bottom: 15px;
}

/* Add content */
.content .add-info h2 {
    margin-bottom: 40px;
    font-size:22px;
    font-weight: 500;
    color: #555;
}

.content .add-info h4 {
    font-size: 18px;
}

h3 {font-size: 20px;}

.content .add-info h3 {
    margin-bottom: 40px;
}

.content .add-info form label {
    display: block;
    color: #7495ad;
    margin-bottom: 7px;
    font-size:15px;
}

.content .add-info form input:not([type="submit"]),
.content .add-info form select,
.content .add-info textarea {
    background: #eee;
    color: #7495ad;
    margin-bottom: 15px;
    border: none;
    padding: 10px;
    outline: none;
    width: 100%;
}

.content .add-info form select {
    padding: 5px 10px;
}

.content .add-info textarea {
    resize: none;
    height: 75px;
}

.content .add-info form .col-sm-4 {
    display: inline-block;
    max-width: 30%;
}

.content .add-info form select option:hover {
    background: #999 !important;
}

.content .add-info form .item-btn {
    max-width: 20%;
    background: #3ec9cb;
    border: 2px solid #3ec9cb;
    color: #fff;
    margin: 30px auto 0;
    transition: 0.3s;
}

.content .add-info form .item-btn:hover {
    background: #fff;
    color: #3ec9cb;
}

.alert p {
margin-bottom: 0;
}

.content .add-info .alert-danger li {
    margin-bottom: 7px;
}

/* Module */
.content .module .descr a {
    color: #7495ad;
}

.content .module .descr a:hover {
    color: #3ec9cb;
}

/* Tabs*/
section {
    padding: 20px 0;
}

#tabs{
    color: #7495ad;
}

#tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #f3f3f3;
    background-color: transparent;
    border-color: transparent transparent #f3f3f3;
    border-bottom: 4px solid !important;
    font-size: 20px;
}

.nav-tabs .nav-link.active {
    color: #3ec9cb !important;
}

#tabs #nav-live .question {
    text-align: center;
    margin: 50px auto;
}

#tabs #nav-live .question button {
    margin-top: 30px;
    border-color: #3ec9cb;
    background: #3ec9cb;
}

#tabs .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    color: #7495ad;
    font-size: 18px;
}

#tabs,
#tabs .col-12 {
    width: 100%;
}

.modules #tabs #nav-theory .info,
.modules #tabs #nav-theory .items,
.modules #tabs .tab-content .col-xl-6 {
    display: inline-block !important;
}

.modules #tabs .tab-content #nav-theory .new-element {
    background: #ccc;
    font-weight: bold;
    border-radius: 10px;
    padding: 15px 10px;
    margin: 15px 0 7px;
}

.modules #tabs .tab-content #nav-theory .item-btn,
.modules #tabs .tab-content #nav-theory .info-element {
    display: inline-block;
    vertical-align: middle;
}

.modules #tabs .tab-content #nav-theory .info-element {
    line-height: 20px;
}

.modules #tabs .tab-content #nav-homework ol,
.modules #tabs .tab-content #nav-exer ol,
.homework-page ol,
.content .homework-content ol {
    list-style: decimal;
}

.homework-page ol ,
.homework-page ul,
.modules #tabs .tab-content #nav-homework ol,
.modules #tabs .tab-content #nav-homework ul,
.modules #tabs .tab-content #nav-exer ul,
.modules #tabs .tab-content #nav-exer ol,
.content #homeworksPage #groupModules ol {
    padding-left: 15px;
}

.modules #tabs .tab-content #nav-homework ul,
.modules #tabs .tab-content #nav-exer ul,
.homework-page ul,
.content .homework-content ul {
    list-style: disc;
}

.modules #tabs .tab-content #nav-homework ul li,
.modules #tabs .tab-content #nav-homework ol li,
.modules #tabs .tab-content #nav-exer ol li,
.modules #tabs .tab-content #nav-exer ul li,
.homework-page ol li,
.homework-page ul li,
.content .homework-content ul li,
.content .homework-content ol li {
    margin: 7px 15px;
    color: #444;
    line-height: 20px;
}

content #nav-exer i,
content #nav-exer em {
    font-style: italic;
}

.modules #tabs .tab-content #nav-homework ul li,
.modules #tabs .tab-content #nav-homework ol li {
    line-height: 24px;
}

.modules #tabs .tab-content #nav-homework ul.circle,
.modules #tabs .tab-content #nav-exer ul.circle,
.homework-page ul.circle {
    list-style-type: circle;
}

.homework-page p {
    line-height: 20px;
    margin-bottom: 10px;
}

#popupPayment p {
margin-bottom: 15px;
}

#popupPayment dd,
#popupPayment dt {
margin-bottom: 7px;
}

.modal video {
    max-width: 100%;
}


/* Kids academy examples */
.modules #tabs .tab-content #nav-theory .info-element.col-md-10 {
    max-width: 80%;
}

.modules #tabs .tab-content #nav-theory .examples li {
    padding: 10px;
    background: #f9f9f9;
    color: #333;
}

.modules #tabs .tab-content #nav-theory .examples li .example-element {
    margin-top: 10px;
}

.modules #tabs .tab-content #nav-theory .examples li .example-element img {
    max-width: 50%;
    width: auto;
}

.modules #tabs .tab-content .exercise-item {
    margin-bottom: 30px;
}

.modules #tabs .tab-content .exercise-item h3 {
    font-weight: bold;
}

.modules #tabs .tab-content #code_editor .innerbox {
	position: relative;
	float: left;
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
	height: 300px;
	border: 2px solid #ccc;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 500;
    resize: none;
    line-height: 19px;
}
.modules #tabs .tab-content #code_editor .preview {
	width: 100%;
	border: 2px solid #ccc;
	min-height: 400px;
}
.modules #tabs .tab-content #code_editor .wrap_code {
    font-weight: bold;
    color: #666;
    font-size: 18px;
    margin-bottom: 2px;
}
.modules #tabs .tab-content #code_editor .wrap_code i {
	margin-right: 2px;
	color: #47b2ef;
}
.modules #tabs .tab-content #code_editor iframe {
	position: relative;
	width: 100%;
	min-height: 350px;
}
.modules #tabs .tab-content #code_editor .logo {
	position: absolute;
	bottom: 0;
	right: 0;
}
.modules #tabs .tab-content #code_editor h3 {
    font-size: 30px;
    border-bottom: 2px solid #ccc;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 20px;
}
.modules #tabs .tab-content #code_editor p {
	padding: 50px 0;
	font-size: 18px;
}
.modules #tabs .tab-content #code_editor span {
	display: block;
    color: #5e9e11;
    font-weight: bold;
    padding: 50px 0 30px;
    font-size: 20px;
}

.modules #tabs .tab-content #nav-theory .examples li .element {
    font-weight: bold;
}

.modules #tabs .tab-content .description {
    vertical-align: top;
}

.modules #tabs h3 {
    margin:15px 0;
    color: #555;
    font-weight: 500;
}

.modules #tabs p {
    color: #555;
    margin-bottom: 10px;
    line-height: 22px;
    width: 100%;
}

.modules #tabs .error-block p {
    margin-bottom: 0;
}

.modules #tabs p img {
    max-width: 50%;
    margin: 15px auto;
}

.modules #tabs .material a {
    font-size: 20px;
}

.modules #tabs .material a i {
    font-size: 30px;
    vertical-align: middle;
    margin-right: 7px;
}

.modules #tabs a {
    color: #3ec9cb;
    transition: 0.3s;
}

.modules #tabs a.btn,
.modules #tabs .pagination .active a {
    color: #fff;
}

.modules #tabs a:hover {
    color: #7495ad;
}

.modules #tabs .text-bgr {
    background: #f5f5f5;
    padding: 10px;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 15px;
}

.modules #tabs .tab-content .material {
    margin-bottom: 25px;
}

.modules #tabs .tab-content .material tr td {
    vertical-align: middle;
}

.modules #tabs .tab-content .material tr td img {
    margin: 0 auto;
    max-width: 50%;
}

.modules #tabs .tab-content .material tr td a {
    color: #555;
}

.modules #tabs .tab-content .material tr td a:hover {
    color: #3ec9cb;
}

/* Test page */
#popupFinalTest ol.decimal {
    padding-left: 15px;
    list-style-type: decimal;
}

#popupFinalTest ol.points {
    text-align: center;
}

#popupFinalTest h5 {
    text-align: center;
    width: 100%;
    margin: 0;
}

#popupFinalTest ul {
    list-style: disc;
    padding-left: 15px;
}

#popupFinalTest ul ul {
    list-style: circle;
    padding-left: 15px;
}

#popupFinalTest .general-list li {
    margin-bottom: 0;
}

#popupFinalTest .general-list > li {
    margin-bottom: 10px;
}

.final-test #timeModule,
.final-test #timePractice,
.final-test #timeLeft,
.final-test #time {
    color: #499c9e;
    font-weight: bold;
    font-size: 20px;
}

.final-test .exam-points {
    margin-top: 30px;
}

.final-test .exam-points p {
    color: #31415d;
}

.final-test .exam-points ul {
    list-style: disc;
    padding-left: 15px;
}

.final-test .exam-points ul li {
    margin: 5px 0;
}

.final-test .timeLeft {
    font-size: 18px;
    position: fixed;
    top: 0;
    left: 50%;
    background: #bfbfb4;
    padding: 10px;
    z-index: 1000;
}

.final-test .test li {
    margin-bottom: 30px;
}

.final-test .test .test-number {
    color: #555;
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    display: block;
    font-weight: 500;
}

.final-test .test .test-image-answer {
    margin-left: 50px;
}

.final-test .test .question {
    margin-bottom: 10px;
    line-height: 20px;
    font-size: 15px;
}

.final-test .test label {
    margin-bottom: 7px;
    display: block;
    color: #555;
    margin-left: 15px;
    font-size: 15px;
}

.final-test .test .checkblock {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.final-test .test .checkblock input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.final-test .test .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #eee
}

.final-test .test .checkblock input:checked ~ .checkmark {
    background-color: #3ec9cb;
}

.final-test .test .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.final-test .test .checkblock input:checked ~ .checkmark:after {
    display: block;
}

.final-test .test h2 {
    color: #3ec9cb;
    margin-bottom: 30px;
    font-size: 24px !important;
}

.final-test .test .btn.join {
    background-color: #3ec9cb;
    border-color: #3ec9cb;
    margin-top: 30px;
}

.final-test .alert {
    padding: 0;
}

.final-test .alert .form-group {
    padding: 10px;
}

.final-test .test .btn.join:hover {
    background: #fff;
    color: #3ec9cb;
}

.final-test .test-image img {
    max-width: 50%;
    margin-bottom: 15px;
    width: auto;
}

.final-test .questions-content {
    margin-top: 25px;
}

.final-test .questions-content textarea {
    width: 100%;
    height: 200px;
    padding: 7px;
}

.final-test .small {
    font-size: 14px;
}

.final-test .test-practice-content {
    margin: 20px 0 30px;
}

.module-final-test {
    margin-bottom: 90px !important;
}

.practice-points {
    margin: 30px 0;
}

.practice-points input[type="text"] {
    max-width: 40%;
    display: block;
    padding:5px;
    border-radius: 7px;
}

.practice-points .alert {
    margin-left: -20px;
}

.practice-points .alert p,
.modal .alert p {
    padding: 5px;
}

/* Poll */
.poll-page h2 {
    margin-bottom: 25px;
    color: #3ec9cb;
}

.poll-page form {
    margin-top: 30px;
}

.poll-page .controls {
    display: flex;
    margin-bottom: 25px;
}

.poll-page .question {
    font-weight: 500;
}

.poll-page .controls .question-title {
    width: 45%;
    color: #555;
    font-size: 15px;
}

.poll-page .controls .radio {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.poll-page input[type="text"] {
    width: 75%;
    border: 1px solid #ccc;
    color: #333;
    padding: 5px;
    margin-top: 15px;
}

.poll-page .alert {
    padding: 5px;
}

.poll-statistics > div.chart-statistic {
    margin-bottom: 70px;
    height: 370px;
    width: 100%;
}

.poll-statistics .questions-items {
    margin: 20px 0 !important;
}

.poll-statistics .questions-items p.italic {
    color: #999;
}

.final-test .controls .checkmark {
    position: relative;
}

/* Teacher theory */
.modules #tabs #nav-teacher ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modules #tabs #nav-teacher ul li {
    list-style: disc;
    line-height: 20px;
    padding-left: 15px;
}

table {
    border-collapse:separate;
    border-spacing: 0 1em;
}

table.default {
    border-collapse: none;
    border-spacing: 0;
}

table.default tr td,
table.default tr th {
    border: 1px solid #eee;
}

table.default tr th {
    font-weight: 500;
}

.table td, .table th {
    padding: .5rem;
    border-top: none;
    vertical-align: middle;
}
.table-responsive-sm.students {
    width: 100%;
}

.table-responsive-sm.students tr {
    background: #fff;
    box-shadow: 1px 1px 1px 1px #ddd;
    margin-bottom: 10px;
}

.table-responsive-sm.students tr td {
    vertical-align: middle;
}

.table-responsive-sm.students .icon {
    width: 10%;
}

/* Delete elements */
.delete-descr {
    margin-bottom: 10px;
    line-height: 22px;
}

.delete-descr strong,
.content .homework-content strong {
    font-weight: 600;
}

.content .homework-content em {
    font-style: italic;
}

/* Profile */
.profile .admin span,
.profile .admin a,
.profile .admin .second {
    color: #333;
    display: inline-block;
    margin-bottom: 15px !important;
    font-size: 17px !important;
}

.profile .user-badges {
    max-width: 10%;
}

.profile .items .descr {
    margin-bottom: 0;
}

.profile .items.students .item a {
    display: block;
}

.profile .awards-page {
    background: none;
}

.profile .awards-page .rules .child-item {
    left: 25%;
    bottom: -30%;
}

.profile .awards-page .title {
    color: #7495ad;
}

.profile .awards-page img {
    max-width: 100%;
}

/* Pagination */
.page-item.active .page-link {
    background-color: #3ec9cb;
    border-color: #3ec9cb;
}

.page-link {
    color: #3ec9cb;
}

.page-link:hover {
    color: #7495ad;
}

.page-link:focus {
    box-shadow: none;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #17a2b8;
}

.breadcrumb a:hover {
    color: #7495ad;
}

/* Payment add */
.content .payment-item {
    border: 1px solid #eee;
    padding: 10px 0;
    margin: 15px 10px;
}

.content .exercisePage .exercise-item {
    border: 1px solid #eee;
    padding: 10px 0;
}

/* Certificates */
.button-download {
    margin-left: 10px;
}

.search-certificates .form-control {
    color: #6c757d !important;
    font-size: 15px !important;
}

/* Awards page */
.awards-page {
    background: url('../img/awards/background.jpg') no-repeat center center;
    background-size: cover;
    padding: 30px 0 50px;
    color: #fff;
}

.awards-page.kids img {
    max-width: 100%;
}

.awards-page .title {
    color: #fff;
}

.awards-page .parent-item {
    border: 3px solid #b38e4f;
    position: relative;
}

.awards-page .parent-item.results {
    min-height: 270px;
    background: rgb(28,42,51);
    background: linear-gradient(90deg, rgba(28,42,51,1) 0%, rgba(40,82,90,1) 35%, rgba(54,127,133,1) 100%);
}

.awards-page .parent-item.results ul {
    margin-bottom: 0;
    padding: 8px 0;
}

.awards-page .child-item {
    border: 3px solid #b38e4f;
    position: absolute;
    background: #1b2233;
    text-align: center;
    padding: 15px 25px;
    bottom: -10%;
    left: 25%;
}

.awards-page .parent-item.all-points {
    background: url('../img/awards/points-image.png') no-repeat center center;
    background-size: cover;
    width: 100%;
    position: relative;
}

.awards-page .parent-item.all-points img {
    margin-top: 35px;
    width: 50%;
}

.awards-page .parent-item.all-points .points {
    font-size: 26px;
    margin: 101px auto;
}

.awards-page .parent-item.all-points .points span {
    display: block;
}

.awards-page .parent-item.all-points .points .all {
    font-size: 36px;
}

.awards-page .results ul li {
    padding: 6px;
    background: rgb(28,42,51);
    background: linear-gradient(90deg, rgba(28,42,51,1) 0%, rgba(40,82,90,1) 35%, rgba(54,127,133,1) 100%);
    margin: 0;
}

.awards-page .results ul li .percentage {
    background: #2f3a69;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 14px;
    margin: 0 auto;
    text-align: center;
}

.awards-page .results ul li .percentage span {
    display: block;
    font-size: 13px;
    padding-top: 30px;
}

.awards-page .results ul li:nth-child(2) {
    border-top: 2px solid #2e8d7b;
    border-bottom: 2px solid #2e8d7b;
}

.awards-page .results ul li .margin-top {
    margin: 27px 0;
}

.awards-page .results ul li a {
    color: #fff;
    transition: 0.3s;
}

.awards-page .results ul li a:hover {
    color: #aaa;
}

.awards-page .items {
    margin-bottom: 30px;
}

.awards-page .rules .parent-item {
    max-width: 75%;
}

.awards-page .rules .child-item {
    padding: 7px;
    bottom: -15%;
    font-size: 14px;
    left: 30%;
}

.awards-page .percentage-slider {
    padding-top: 30px;
}

.awards-page .percentage-slider .progress {
    background-color: #1b2233;
    border: 2px solid #b38e4f;
    height: 24px;
}

.awards-page .percentage-slider .progress-bar {
    border-right: 3px solid #b38e4f;
    background: rgb(53,78,115);
    background: linear-gradient(90deg, rgba(53,78,115,1) 0%, rgba(76,162,157,1) 35%, rgba(102,255,204,1) 100%);
}

#awardModal .modal-content {
    border: 3px solid #b38e4f;
    color: #b38e4f;
    text-align: center;
}

#awardModal .modal-content .btn-primary {
    background-color: #b38e4f;
    border-color: #b38e4f;
}

.awards-page .percentage-slider .points {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
}

.awards-page .percentage-slider .points span {
    font-weight: bold;
    color: #b38e4f;
    font-size: 20px;
}

.awards-page .presents .present-item {
    margin-bottom: 50px;
}

.awards-page .awards-content {
    margin-bottom: 50px;
}

.awards-page .presents .present-item.future img {
    padding-top: 20px;
}

.awards-page .present-item.future .child-item {
    padding: 15px 35px;
}

.awards-page .header .awards hr {
    top: 65px;
}

.awards-page  .header .awards .title {
    margin: 30px auto;
}

.awards-page .presents .present-item .parent-item {
    padding-bottom: 30px;
}

.awards-page .presents .present-item .parent-item .counts span {
    font-weight: bold;
}

.awards-page .instructions {
    margin: 50px 0;
}

.awards-page .instructions a {
    color: #fff;
    border: 3px solid #b38e4f;
    background: #365476;
    width: 25%;
    font-size: 20px;
    padding: 15px;
    transition: 0.3s;
}

.awards-page .instructions.points a {
    background: transparent;
}

.awards-page .instructions a:hover {
    transition: 5.4s;
    background: linear-gradient(90deg, rgba(53,78,115,1) 0%, rgba(76,162,157,1) 55%, rgb(98, 147, 130) 100%);
}

.awards-page .instructions .card {
    border: 3px solid #b38e4f;
    /* color: #365476; */
    color: #fff;
    margin-top: 40px;
    line-height: 26px;
    background: linear-gradient(90deg, rgb(53, 78, 115) 0%, rgb(76, 162, 157) 75%, rgb(98, 147, 130) 100%);
}

.awards-page .instructions ul {
    list-style-type: ' ★ ';
    padding-left: 15px;
    color: #b38e4f;
}

.awards-page .instructions ul li {
    color: #fff;
}

.awards-page .instructions ul li ol {
    list-style: decimal;
    padding-left: 15px;
    margin: 10px 0;
}

.awards-page .instructions table {
    color: #fff;
    text-align: center;
}

.awards-page .instructions table tr td,
.awards-page .instructions table tr th {
    border: 1px solid #fff;
}

.awards-page .awards {
    position: relative;
}

.awards-page .awards .title {
    width: 25%;
    margin: 50px auto;
    padding: 15px;
    background: #1b2233;
    font-size: 22px;
    position: relative;
    z-index: 5;
}

.awards-page .awards hr {
    position: absolute;
    border: 2px solid #b38e4f;
    width: 45%;
    margin: 0 auto;
    top: 23px;
    left: 27%;
}

.awards-page .awards .badge-item {
    position: absolute;
    left: -2px;
    bottom: -35px;
    max-width: 20%;
    z-index: 5;
}

.awards-page .awards .child-item {
    left: 19%;
}

.awards-page .awards .present-item .parent-item {
    background: rgba(27, 34, 51, 0.5);
}

.awards-page .awards .present-item .parent-item .counts {
    margin: 10px 0 5px;
}

.awards-page .awards .present-item a {
    color: #fff;
    transition: 0.3s;
}

.awards-page .awards .present-item a:hover {
    color: #ccc;
    opacity: 0.9;
}

.awards-page .awards .present-item .red {
    color: #ff4d4d;
    font-weight: 500 !important;
}

.awards-page .awards .present-item a.inactiveLink,
.groups .modules .inactiveLink {
    pointer-events: none !important;
}

.awards-page .awards .present-item a.inactiveLink div {
    opacity: 0.8;
}

/* Calendar */
.calendar-page h2.title {
    margin-bottom: 40px;
    font-size: 24px !important;
}

.calendar-page form input,
.calendar-page form select {
    padding: 5px 10px;
}

.fc-day-grid-event {
    padding: 5px 7px;
}

.fc-event {
    background-color: #3998c7;
}

.fc-sun,
.fc-sat {
    color:#337ab7;
    border-color: black;
    background-color: #f2e7e6;
}

.fc-month-view span.fc-title{
    white-space: normal;
    font-size: 12px;
    font-weight: 600;
    color: #eee;
}

.fc-day-grid-event .fc-time {
    color: #fff;
}

.groups .modules .inactiveLink div {
    opacity: 0.3;
}

.groups .modules .edit-module {
    color: #777;
    margin-left: 7px;
}

.groups .modules .edit-module:hover {
    color: #3ec9cb;
}

.groups .modules .edit-module i {
    margin-bottom: 20px;
}

.groups .modules .edit-module i:before {
    font-size: 20px;
}

.descr .opinion a {
    color: #17a2b8;
}

.descr .opinion a:hover {
    color: #999;
}

.descr .image-stars img {
    max-width: 25%;
    width: auto;
}

/* Messages page */
#addMessagePage .multiselect-container>li>a>label {
    margin: 0;
    height: 100%;
    cursor: pointer;
    font-weight: 400;
    padding: 3px 20px 3px 40px;
}

#addMessagePage .selectStudents {
    height: 40px !important;
}

#addMessagePage .alert-block p {
    padding: 10px;
}

#addMessagePage textarea {
    resize: both;
}

#addMessagePage input[type="checkbox"] {
    width: auto;
    margin-right: 15px;
}

#addMessagePage ul {
    min-width: 300px;
}

.groups.teachers .live-streaming.item-info {
    margin-right: -25px;
}

/* Modal info Teacher */
.teacher-description .modal-title {
    text-align: center;
    width: 100%;
}

.teacher-description .modal-header h6 {
    color: #3ec9cb;
    margin: 0;
    font-size: 18px;
}

.teacher-description .modal-body .teacher-img {
    text-align: center;
}

.teacher-description .modal-body .teacher-img img {
    margin: 20px auto;
    max-width: 50%;
}

.teacher-description .modal-body p {
    margin: 0;
}

.user-profile img {
    object-fit: cover;
    margin-bottom: 15px;
}

.items .descr ul.contacts-info {
    margin: 0;
    padding: 0;
}

.items .descr ul.contacts-info li {
    margin-bottom: 5px;
}

.items .descr .payment-btn a {
    color: #fff;
}

/* Approval popup contract */
.popupApproval {
    display: block !important;
}

.popupApproval.d-none {
    display: none !important;
}

#popupApproval .modal-dialog {
    overflow-y: initial !important
}
#popupApproval .modal-body {
  height: 700px;
  overflow-y: auto;
}

#popupApproval h2 {
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

#popupApproval ol {
    list-style-type: decimal;
}

#popupApproval ol.upper-roman {
    list-style-type: upper-roman;
}

#popupApproval ol.upper-roman li .title-terms {
    text-transform: uppercase;
    font-weight: 600;
    margin: 20px 0;
    text-align: center;
    display: inline-block;
}

#popupApproval ol.upper-roman {
    margin-left: 20px;
}

#popupApproval ol li ol li ul {
    margin-left: 30px;
}

ul.type-dash {
    list-style-type: none;
    margin-left: 15px;
}

ul.type-dash > li:before {
    content: "–";
    position: absolute;
    margin-left: -1.1em;
}

ul.type-dash > li {
    margin: 10px 0;
}

#popupApproval .error-block {
    margin-top: 15px;
}

#popupApproval .error-block .alert {
    padding: 15px;
}

#popupApproval .modal-footer {
    display: block;
}

#popupApproval #approvalInfo {
    margin-top: 25px;
}

#popupApproval #approvalInfo input {
    display: block;
    margin-bottom: 15px;
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #bbb;
    color: #333;
}

/* Popup Chat */
#popupChat {
    overflow-y: scroll;
    text-align: center;
}

#popupChat h5 {
    text-align: center;
    width: 100%;
}

#popupChat p {
    line-height: 20px;
    font-size: 15px;
}

#popupChat .popup-image {
    text-align: center;
}

#popupChat .popup-image img {
    max-width: 50%;
    width: auto;
}

#popupChat .popup-image.full img {
    max-width: 75%;
}

/* Popup Code Challenge */
#popupCode ul {
    list-style: disc;
    padding-left: 15px;
}

#popupCode ul li {
    margin: 5px 0;
}

#popupCode p {
    color: #333;
}

.footer-chat {
    background: url('../img/chat-footer.jpg') no-repeat center center !important;
    width: 500px;
    height: 500px;
    position: fixed;
    bottom: 0;
    right: 0;
    border: 1px solid #ccc;
    z-index: 1;
    display: none;
}

.footer-chat.social {
    background: url('../img/phone.png') no-repeat center center !important;
    width: 320px;
    height: 360px;
    position: fixed;
    bottom: 0;
    right: 0;
    border: 1px solid #eee;
    z-index: 1;
    display: block;
}

.footer-chat.social button span {
    font-size: 36px;
}

.footer-chat.social a {
    position: absolute;
    left: 28%;
}

.footer-chat.social a.fb {
    bottom: 28%;
}

.footer-chat.social a.inst {
    bottom: 10%;
}

/* Careers */
.careers-jobs h3 {
    margin-bottom: 30px;
}

.careers-jobs h3,
.careers-jobs h4,
.careers-jobs h5,
.careers-jobs h6 {
    color: #7495ad;
}

.careers-jobs p a {
    color: #3ec9cb;
    transition: 0.3s;
}

.careers-jobs a:hover {
    color: #1a2042;
}

.job-company-logo.delete img {
    width: 20%;
}

.careers img.img-icard {
    width: 60%;
}

.careers .other-links a {
    font-size: 18px;
}

.careers .careers-jobs .job-item {
    transition: 0.3s;
    border: 1px solid #ccc;
    background: #fff;
    padding: 15px 15px 0 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.careers .careers-jobs .job-item:hover {
    box-shadow: 0 0 0 2px #fff;
}

.careers .careers-jobs .job-item .job-position {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 20px;
    color: #31415d;
    font-weight: bold;
    transition: 0.3s;
}

.careers.companies .careers-jobs .job-item .job-position {
    font-size: 18px;
    font-weight: 600;
}

.careers.companies .job-company-logo {
    margin-bottom: 10px;
}

.job-company-logo {
    text-align: center;
}

.job-company-logo img {
    max-height: 50px;
    max-width: 100%;
    width: auto;
}

.careers .careers-jobs .job-item .job-position a {
    font-size: 20px;
    color: #31415d;
    font-weight: bold;
    transition: 0.3s;
}

.careers .careers-jobs .job-item.inactive {
    opacity: 0.6;
}

.careers .careers-jobs .job-item .company,
.careers .careers-jobs .job-item .type {
    color: #777;
    margin: 15px 0;
}

.careers .careers-jobs .job-item .job-link,
.careers .careers-jobs .job-item .job-type {
    color: #3ec9cb;
    transition: 0.3s;
    font-weight: 500;
}

.careers .careers-jobs .job-item .job-type {
    word-break: break-all;
}

.careers .careers-jobs .job-item .type,
.careers .careers-jobs .job-item .job-company-logo {
    text-align: center;
}

.careers .careers-contacts {
    background: url('../img/careers/contacts.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
}

.careers .careers-contacts p {
    margin: 20px 0;
}

.careers .careers-jobs p {
    margin-bottom: 20px;
}

.careers.page h3 {
    margin-bottom: 15px;
}

.careers.page ul {
    list-style-type: circle;
    padding-left: 15px;
}

.careers.page .right-section {
    background: #eee;
    padding: 15px;
}

.careers.page .right-section img {
    max-width: 50%;
}

.careers.page .right-info {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    padding: 20px 0 0;
}

.careers.page .right-info .company-name {
    color: #555;
}

.careers.page .right-info .other-info {
    color: #777;
    margin-bottom: 15px;
}

.careers.page h2 {
    color: #3ec9cb;
    font-size: 24px !important;
    margin-bottom: 30px;
}

.careers.page .right-info .other-info i {
    color: #3ec9cb;
    font-size: 20px;
    margin-right: 10px;
}

.careers.page .right-info .other-info .second-info {
    font-weight: bold;
    color: #777;
    display: block;
    padding-left: 35px;
}

.careers.page p.application {
    background: #f5f5f5;
    padding: 30px 20px;
}

.careers.page .button-back {
    margin-top: 50px;
}

.btn-outline-info:hover {
    background: #fff !important;
    color: #17a2b8 !important;
}

/* CV page */
.cv-page .left-side {
    background: #f3f3f3;
    padding: 15px;
}

.cv-page .right-side {
    padding-left: 15px !important;
}

.cv-page .user-image {
    text-align: center;
}

.cv-page .user-image img {
    max-width: 50%;
    border-radius: 50%;
}

.cv-page h3 {
    text-transform: uppercase;
    border-bottom: 1px solid #333;
    margin-top: 30px;
    padding-bottom: 10px;
}

.cv-page .personal-info .personal-info-item {
    margin: 10px 0;
    color: #555;
}

.cv-page .personal-info .personal-info-item i {
    border: 1px solid #555;
    border-radius: 50%;
    padding: 9px 25px 9px 10px;
}

.cv-page .user-description {
    border: 1px solid #eee;
    padding: 10px;
    margin: 20px 0;
}

.cv-page .user-description h4 {
    text-transform: uppercase;
    font-size: 18px;
    color:rgb(53, 78, 115)
}

.cv-page ul {
    list-style-type: disc;
    padding-left: 15px;
}

.cv-page ol {
    padding-left: 15px;
    list-style-type: decimal;
}

.cv-page em,
.cv-page i {
    font-style: italic;
}

.cv-page b,
.cv-page strong {
    font-weight: bold;
}

.cv-page i.fa {
    font-style: normal;
}

.item-info-responsive {
    display: none;
}

/* Responsive */
@media screen and (min-width: 1200px) and (max-width: 1600px) {
    .content .groups .item .icon img,
    .content .admin-groups .groups .item .icon img {
        width: 90% !important;
    }

    .content .groups .item.teacher .icon img{
        width: 60px !important;
    }

    .content .teacher-info {
        max-width: 60%;
    }

    /* Video iframe */
    .content .course-video iframe {
        width: 100%;
        height: 300px;
    }

    .modules #tabs .tab-content #code_editor .col-md-12 {
        max-width: 99.7%;
    }
}

@media screen and (min-width: 1200px) {
	.admin-groups .items .item-info .first {
        height: 22px;
        overflow: hidden;
    }
    .modules #tabs .tab-content #code_editor .col-md-12 {
        max-width: 99.4%;
    }
    .content .items.groups .row.examples {
        margin-left: -15px !important;
        width: 100% !important;
    }

    .modules #tabs #nav-theory .items {
        vertical-align: top;
        max-width: 22% !important;
    }

    .modules #tabs .tab-content .col-xl-6 {
        max-width: 48%;
    }

    .content .items.last-groups .info-date {
        text-align: right;
    }
}

@media screen and (max-width: 1250px) {
    .careers .careers-jobs .job-item .job-position {
        height: 70px;
    }

    .careers .careers-jobs .job-item .job-type i {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    .certificates-page .user-certificates .certificate-item {
        max-width: 32%;
    }

    /* Responsive table */
    .table.payments,
    .table.payments thead,
    .table.payments tbody,
    .table.payments th,
    .table.payments td,
    .table.payments tr,
    .instructions table,
    .instructions table tbody,
    .instructions table tr,
    .instructions table tr td {
        display: block;
        text-align: center;
    }
    .table.payments thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table.payments td,
    .instructions table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .table.payments td .btn {
        max-width: 50%;
        margin: 10px auto 0;
    }

    .table.payments>tbody>tr>th,
    .instructions table th {
        display: none;
    }

    .table.payments>tbody>tr>td > a {
        width: auto;
    }

    .table.payments td:before,
    .instructions table td:before {
        position: relative;
        margin-bottom: 10px;
        white-space: nowrap;
        text-align: center;
        content: attr(data-label);
        display:block;
    }

    .content .student .payments table .btn {
        max-width: 100%;
    }

    /* Awards */
    .awards .col-xl-2.hidden {
        display: none;
    }

    .awards-page .awards .child-item {
        left: 25%;
    }

    .awards-page .parent-item.all-points .points {
        font-size: 24px;
    }

    .awards-page .instructions h3 {
        margin-bottom: 30px;
    }

    .content .item .icon.name {
        margin: 0;
    }
}

@media screen and (min-width: 992px) {
    .bar-responsive {
        display: none;
    }

    .content .items.students .item.col-lg-6 {
        margin-right: 10px;
        max-width: 48%;
    }

    .content .groups .item .icon img {
        vertical-align: middle;
    }

    .content .groups .item.teacher-item {
        max-width: 48%;
        margin-right: 9px;
    }

    /* Admin group edit */
    #addNewGroup .col-md-2 {
        max-width: 15%;
    }
}

@media screen and (max-width: 992px) {
    .item-info-responsive {
        display: block;
        background: #dc3545;
        color: #fff;
        text-align: center;
        padding: 10px 0;
        margin-bottom: 10px;
    }

    .footer-chat.social {
        display: none;
    }

    .general .right .welcome-message {
        display: none;
    }

    .general .left.main {
        display: none;
    }

    .general .left {
        min-height: auto;
    }

    .general .left .contacts {
        position: relative;
        width: 100%;
        bottom: auto;
        border: none;
        left: 0;
    }

    .login .g-recaptcha {
        margin-left: 20px;
    }

    .final-test .timeLeft {
        left: 35%;
    }

    /* Tabs */
    #tabs .nav-tabs .nav-link {
        width: 100%;
    }

    #sidebar {
        margin-left: -50%;
        transition: 2s;
        top: 100px;
        bottom: 0;
        width: 100%;
        max-width: 250px;
    }

    .general .top-nav .user-image {
        text-align: center;
    }

    .content .groups .item-btn .btn {
        max-width: 100%;
    }

    .content .items.students .item {
        padding: 10px 0;
    }

    .login .questions {
        position: relative;
        bottom: 0;
        margin-top: 40px;
        left: 0;
    }

    .items .course-item {
        max-width: 46%;
    }

    .items .item-info .twenty {
        width: 100%;
    }

    .items .item-info .twenty img {
        width: 25%;
    }

    .content .items.students .image, .content .items.students .info {
        display: block;
        max-width: none;
        text-align: center;
    }

    .modules #tabs .tab-content #nav-theory .info-element {
        max-width: none;
    }

    /* Images */
    .content .course-image img {
        max-width: 75%;
    }

    .content .course-image.full img {
        max-width: 100% !important;
    }

    .careers .careers-jobs .job-item .job-position {
        height: 100px;
    }

    /* Responsive table */
    .content .student .payments table td {
        width: auto;
    }

    .table,
    .table thead,
    .table tbody,
    .table th,
    .table td,
    .table tr {
        display: block;
        text-align: center;
    }

    .table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .table td .btn {
        max-width: 50%;
        margin: 10px auto 0;
    }

    .table>tbody>tr>th {
        display: none;
    }

    .table>tbody>tr>td > a {
        width: auto;
    }

    .table td:before {
        position: relative;
        margin-bottom: 10px;
        white-space: nowrap;
        text-align: center;
        content: attr(data-label);
        display:block;
    }

    .content .student .payments table .btn {
        max-width: 50%;
    }

    /* Awards */
    .awards-page .parent-item.all-points {
        padding: 50px 0;
    }

    .awards-page .presents .badge-item {
        bottom: -2px;
    }

    .awards-page .presents .child-item {
        position: relative;
        left: 0;
        bottom: 0;
        margin: 15px auto 0;
        border: 0;
        border-top: 2px solid #b38e4f;
    }

    .awards-page .presents .present-item .parent-item {
        padding-bottom: 0;
    }

    .awards-page .parent-item.all-points .points {
        font-size: 27px;
    }

    .awards-page  .header .awards .title {
        width: 40%;
    }

    .awards-page .awards hr {
        width: 60%;
        left: 20%;
    }
}

@media screen and (min-width: 768px) {
    .modal.instructions .modal-dialog {
        max-width: 1200px;
    }

    .content .groups .icon.col-md-4 {
        max-width: 30%;
    }

    .modules #tabs .tab-content .material tr td a {
        margin-left: 10px;
    }

    .col-sm-6.d-inline-block {
        max-width: 49%;
    }

    .content .groups .item.image .icon img {
        margin-top: 10px;
    }

    .content .groups .item .icon img {
        margin: 5px 0;
    }

    /* Tab code editor */
    .modules #tabs .tab-content #code_editor .col-md-6 {
        max-width: 49%;
        padding-right: 0;
    }

    .btn-paypal img,
    .btn-mypos img {
        max-width: 25%;
    }
}

@media screen and (max-width: 768px) {
    .groups.teachers .live-streaming.item-info {
        margin-right: -25px;
    }

    .content .groups.teachers .resp .item {
        max-width: 49%;
    }

    .descr .image-stars img {
        max-width: 20%;
    }

    .btn-paypal img,
    .btn-mypos img {
        max-width: 40%;
    }

    .login-languages {
        margin-bottom: 15px;
    }

    .login .g-recaptcha {
        margin-left: 40px;
    }

    /* Video iframe */
    .content .course-video iframe {
        width: 100%;
        height: 300px;
    }

    .general .top-nav {
        text-align: center;
    }

    .general .top-nav .col-md-6 {
        max-width: none !important;
    }

    .general .top-nav .text-right {
        text-align: center !important;
        margin-top: 10px;
    }

    .login form,
    .login.raffle form {
        width: 90%;
    }

    .login .logo img {
        width: 90%;
    }

    .items .course-item {
        max-width: auto !important;
    }

    .items.courses {
        text-align: center;
    }

    .items .course-item {
        margin: 10px auto;
    }

    .items .course-item:last-child {
        margin-right: auto !important;
    }

    .content .groups.teachers .item-btn {
        position: relative;
        top: auto;
    }

    .content .module .groups.teachers .item-btn {
        margin-top: 15px;
    }

    .content .groups.teachers .item {
        text-align: center;
        padding: 10px 0;
    }

    .content .groups.teachers .item-btn.settings {
        position: relative;
    }

    .content .groups .resp .settings {
        top: auto !important;
    }

    .content .teacher .info .item-btn {
        margin: 10px 0;
    }

    .items .descr {
        margin: 10px 0;
    }

    .text-right {
        text-align: center !important;
    }

    .items .descr a.all {
        margin-bottom: 15px;
        display: inline-block;
    }

    .content .admin-groups .groups .item .icon img {
        width: 75%;
    }

    .content .admin-groups .groups .item.teacher .icon img {
        width: auto;
    }

    /* Table students */
    .table-responsive-sm.students tr td {
        display: block;
        border: none !important;
        text-align: center;
        padding: 0.5rem;
    }

    .table-responsive-sm.students tr .icon {
        max-width: 50%;
        width: auto;
        margin: 0 auto;
    }

    .table.items .descr {
        margin: 0;
    }

    /* Awards */
    .awards-page .parent-item.all-points {
        margin-bottom: 30px;
        padding: 30px 0 20px;
    }

    .awards-page .parent-item.parent-item.all-points .points {
        margin: 100px auto 115px;
    }

    .awards-page .rules .parent-item {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .awards-page .instructions a {
        width: auto;
    }

    .profile .awards-page .rules .parent-item {
        max-width: 75%;
        margin: 10px auto;
    }

    .awards-page .rules .child-item,
    .profile .awards-page .rules .child-item {
        position: relative;
        left: 0;
        bottom: 0;
        border: 0;
        border-top: 2px solid #b38e4f;
    }

    .awards-page .presents .badge-item {
        bottom: -5px;
    }

    .awards-page .results {
        text-align: center;
    }

    /* Chat image */
    .footer-chat {
        display: none;
    }

    .modules #tabs .tab-content #nav-theory .info-element.col-md-10 {
        max-width: none;
    }

    .careers .careers-jobs .job-item .job-type i {
        display: inline-block;
    }

    .careers .careers-jobs .job-item .job-position {
        height: auto;
    }

    .careers.page .right-info {
        text-align: center;
    }

    .certificates-page .user-certificates .certificate-item {
        max-width: 48%;
        margin-bottom: 15px;
    }

    .certificates-page .user-certificates .certificate-item .second {
        height: auto;
    }
}

@media screen and (max-width: 576px) {
    .certificates-page .user-certificates .certificate-item {
        max-width: 100%;
    }

    .margin-left {
        margin-left: 15px !important;
    }

    .profile .neg-margin {
        margin-left: 0 !important;
    }

    .login .questions a {
        display: block;
        margin-top: 10px;
    }

    .general .top-nav .dropdown-toggle::after,
    .dropdown-menu.show {
        display: none;
    }

    .general .top-nav .col-sm-6 {
        max-width: none;
    }

    .general .top-nav .col-10 {
        max-width: 80%;
    }

    .general .top-nav .col-2 {
        max-width: 15%;
    }

    .general .profile .descr {
        text-align: center;
    }

    .content .groups .resp .item {
        max-width: 100% !important;
    }

    /* Admin message add */
    .dropdown-menu.show {
        display: block;
        left: auto;
    }

    /* Sidebar */
    #sidebar {
        margin-left: -100%;
        max-width: 100%;
        top: 120px;
    }

    .items .course-item,
    .items .course-item:last-child {
        max-width: none;
        margin: 10px !important;
    }

    .content .groups .item {
        text-align: center;
        padding: 10px 0;
    }

    .content .groups .col-sm-2.icon {
        max-width: none !important;
    }

    .content .teacher .col-sm-2.icon,
    .content .items.students .info .icon {
        max-width: 40% !important;
    }

    /* .content .groups .item .icon img {
        width: 100%;
    }
*/
    .content .teacher .item {
        margin-bottom: 10px;
    }

    .content .add-info form .col-sm-4 {
        display: block;
        max-width: none;
    }

    .content .add-info form .item-btn {
        max-width: 50%;
    }

    .content .groups .item-btn .btn {
        margin-top: 10px;
    }

    .content .groups .item .icon img {
        max-width: 50%;
    }

    .content .groups .item.teacher .icon img {
        max-width: none;
    }

    .content .items.students .info h2 a,
    .content .items.students .info h2 {
        font-size: 16px;
    }

    .content .items.students .info h3 {
        font-size: 15px;
    }

    .profile .admin span,
    .profile .admin a,
    .profile .admin .second,
    .general .top-nav .dropdown button span,
    .items .item-info .first,
    .items .item-info .second,
    .teacher .contacts-teacher a,
    .items .descr p,
    .general .top-nav .dropdown,
    .general .top-nav .dropdown button,
    .general .top-nav .dropdown button span.name,
    .modules #tabs .tab-content #nav-homework ul li,
    .modules #tabs .tab-content #nav-homework ol li,
    .modules #tabs .tab-content #nav-exer ol li,
    .modules #tabs .tab-content #nav-exer ul li,
    .homework-page ol li,
    .homework-page ul li,
    .content .homework-content ul li,
    .content .homework-content ol li {
        word-break: break-word;
    }

    .teacher .contacts-teacher a {
        display: block;
    }

    .table td .btn,
    .content .student .payments table .btn {
        max-width: 75%;
    }

    .px-3,
    .tab-content .col-12,
    .tab-content .col-xl-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Video */
    .content .course-video iframe {
        max-height: 200px !important;
        min-height: auto;
    }

    /* Awards */
    .awards-page .awards .badge-item {
        bottom: -25px;
    }

    .awards-page .awards .title {
        width: 50%;
    }

    .awards-page .awards hr {
        display: none;
    }

    .awards-page .header .awards .title {
        width: auto;
    }

    /* Poll */
    .poll-page .controls {
        display: block;
    }

    /* Careers */
    .careers .careers-jobs .job-item .col-4,
    .careers .careers-jobs .job-item .col-8 {
        width: 100%;
        text-align: center;
        max-width: 100%;
        display: block;
        flex: auto;
    }

    .careers .job-company-logo img {
        max-width: 35%;
    }
}

@media screen and (max-width: 450px) {
    .g-recaptcha {
        margin-left: 25px !important;
        margin-bottom: 0;
        transform:scale(0.77);
        transform-origin:0 0;
    }

    .awards-page .awards .badge-item {
        bottom: -15px;
    }

    .awards-page .parent-item.all-points {
        min-height: 280px;
    }
}

@media screen and (max-width: 350px) {
    #sidebar {
        top: 130px;
    }

    .general .top-nav .col-2,
    .general .top-nav .col-10 {
        max-width: none;
    }

    .g-recaptcha {
        margin-left: 15px !important;
        transform:scale(0.55);
        transform-origin:0 0;
    }

    .awards-page .awards .badge-item {
        bottom: -10px;
    }

    .awards-page .awards .title {
        font-size: 16px;
    }

    .awards-page .awards .title {
        width: auto;
    }
}
