@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Pacifico&family=Quicksand&display=swap');

body {
    color: #414141;
    font-family: 'Quicksand', sans-serif;
}

header .header-content .contact-add li {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    text-align: center;
}

header .header-content .contact-add li .contact-info .contact-tt  h4 {  
    text-align: left;
}

.social-links li a {
    background-color: #709d9a;
}

.about-us-section .about-sec .abt-col {
    box-shadow: none;
}

.section-title {
    background-image: url('https://files.perfectlessons.pl/images/background_1.png');
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 30px;
    padding-bottom: 50px;
}

.section-title > h2  {
    font-size: 29px;
    font-weight: 600;
    margin-top: 26px;
}

.about-us-section {
    padding-top: 60px;
}

footer {
    background-color: #f2f7fd;
    padding: 0px 0 25px;
} 

footer .bottom-footer {
    border-top: none;
    padding-top: 26px;
}

.section-title-month {
    background-image: url('https://files.perfectlessons.pl/images/background_2.png');
}

.course-section {
    padding-top: 55px;
}

.course-section .courses-list .course-card:nth-child(2) {
     left: 0px; 
}

.course-section .courses-list .course-card .course-meta + span {
    margin-left: 5px;
}

.course-section .courses-list .course-card > h3 {
    margin-bottom: 5px;
}

.course-section .courses-list .course-card .posted-by > span {
    display: inline-block;
    color: #575757;
    font-size: 14.23px;
    text-transform: capitalize;
    font-weight: 500;
}

.course-section .courses-list .course-card {
    -webkit-box-shadow: 3px 1px 7px 0px rgba(145, 146, 146, 1);
    -moz-box-shadow: 3px 1px 7px 0px rgba(145, 146, 146, 1);
    box-shadow: 3px 1px 7px 0px rgba(145, 146, 146, 1);
    padding: 22px 28px 22px;
}

.course-section .courses-list .course-card2 {
    padding: 22px 10px 22px;
}

.lesson_step_title {
    display: inline-block;
    color: #888;
    font-size: 20px;
    margin-left: auto;
    font-weight: 700;
    width: 100%;
    position: relative;
}

.month_box {
    position: relative;
    margin-bottom: 30px;
}

.month_box_img {
    width: 245px;
}

.coll_box {
    position: relative;
}

.coll_href {
    position: absolute;
    right: 65px;
}

.coll_attach_href {
    position: absolute;
    right: 5px;
}

.card {
    border: none;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
    -webkit-transition: all 0.3s ease-in-out, background 0s, color 0s, border-color 0s;
    transition: all 0.3s ease-in-out, background 0s, color 0s, border-color 0s;
}

.timeline .timeline-item:not(:last-child) {
    padding-bottom: 1.8rem;
}

.timeline .timeline-item {
    position: relative;
    padding-left: 2.5rem;
    border-left: 1px solid #EBE9F1;
}

.timeline .timeline-item .timeline-point.timeline-point-indicator {
    left: -0.412rem;
    top: 0.07rem;
    height: 12px;
    width: 12px;
    border: 0;
    background-color: #7367F0;
}
.timeline .timeline-item .timeline-point {
    position: absolute;
    left: -0.85rem;
    top: 0;
    z-index: 2;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 1.75rem;
    width: 1.75rem;
    text-align: center;
    border-radius: 50%;
    border: 1px solid #7367F0;
    background-color: #FFFFFF;
}

.timeline .timeline-item .timeline-point.timeline-point-indicator:before {
    content: '';
    background: rgba(115, 103, 240, 0.12);
    height: 20px;
    width: 20px;
    display: block;
    position: absolute;
    top: -0.285rem;
    left: -0.285rem;
    border-radius: 50%;
}

.timeline .timeline-item .timeline-event {
    position: relative;
    width: 100%;
    min-height: 4rem;
}

.mr-1, .mx-1 {
    margin-right: 1rem !important;
}

.timeline .timeline-point-secondary.timeline-point-indicator {
    background-color: #82868B !important;
}

.timeline .timeline-point-secondary {
    border-color: #82868B !important;
}

.timeline .timeline-item .timeline-event .timeline-event-time {
    font-size: 0.85rem;
    color: #888;
}

.card-body {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.5rem;
}

footer {
background-color: #f6f6f6;
    height: 110px;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    position: relative;
    bottom: 0px;
    margin: auto;
    width: 100%;
}

.wrapper {
    position: relative;
    min-height: 100vh;
}

.left_element {
    text-align: right;
}

.course-section .courses-list .course-card .course-meta + a {
    display: inline-block;
    color: #155799;
    font-size: 18px;
    font-weight: 700;
}

.group_img {
    width: 185px;
    position: relative;
    right: -95px;
    bottom: 45px;
}

.set_img {
    width: 105px;
    position: relative;
    left: 285px;
    bottom: 75px;
}

.month_en {
    font-family: 'Quicksand', sans-serif;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

.month_pl {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    color: #fff;
}

.month_box_text{
    position: absolute;
    top: 20px;
    color: #000;
    width: 100%;
    text-align: center;
    right: 39px;
}
 .panel-group .panel-default {
    border-color: transparent;
}

.panel-group .panel {
    margin-bottom: 0;
    border-radius: 4px;
}

.panel .panel-heading {
    border: 0px solid;
    background-color: #fff;
    -webkit-box-shadow: 3px 1px 7px 0px rgba(145, 146, 146, 1);
    -moz-box-shadow: 3px 1px 7px 0px rgba(145, 146, 146, 1);
    box-shadow: 3px 1px 7px 0px rgba(145, 146, 146, 1);
    border-radius: 25px;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 55px;
    padding-top: 35px;
    margin-top: 15px;
}

.panel-default>.panel-heading {

}

.panel .panel-title {
    width: 100%;
    height: 57px;
    display: table;
    padding: 0 30px;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
}
.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}

.panel .panel-title a {
    display: block;
    color: #333333;
    display: table-cell;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    transition: all 0.4s linear 0s;
    vertical-align: middle;
    text-decoration: none;
}


.panel .panel-title span {
    float: right;
    font-size: 15px;
    padding-right: 30px;
    font-family: "Open Sans", sans-serif;
    color: #333333;
    line-height: 20px;
}



.month_lesson_box img {
    width: 175px;
}

.month_box_text2{
    right: 0px;
}

.lesson_title{
    font-family: 'Pacifico', cursive;
    font-size: 21px;
}

.lesson_title_pl {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
}

.wrapper {
  background-image: url(https://files.perfectlessons.pl/images/back1.png), url(https://files.perfectlessons.pl/images/back2.png);
  background-position: right bottom, left top;
  background-repeat: no-repeat, no-repeat;
}

.lecture {
    font-size: 15px;
    color: #3e3d3d;
    padding-top: 10px;   
}

.border-line {
    border-top: 1px solid #709d9a;
}

.btn-default {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    font-family: Poppins, sans-serif;
    background-color: #709d9a;
    height: 80px;
    line-height: 20px;
    padding: 20px 40px;
    position: relative;
    border-radius: 30px;
    transition: all 0.4s ease-in-out;
    margin-right: 15px;
}

.btn-default .text {
    font-size: 12px;
    font-weight: normal;
}

.btn-default i {
    color: #709d9a;
}

.btn-default:hover {
    background-color: #709d9a;
}

.course-card i {
    color: #709d9a;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: #709d9a;
    border-bottom: 1px solid rgba(0,0,0,.125);
    color: #fff;
    font-family: 'Pacifico', cursive;
    font-size: 18px; 
}

.timeline_1 {
    background-color: #a9c8c6 !important;
}

.timeline_2 {
    background-color: #fbc580 !important;
}

.timeline_3 {
    background-color: #afc1b1 !important;
}

.timeline_4 {
    background-color: #f5d7d9 !important;
}

.timeline_5 {
    background-color: #e8e6e2 !important;
}

.timeline_6 {
    background-color: #fc9d8c !important;
}

.timeline_7 {
    background-color: #bcc9ce !important;
}

.timeline_8 {
   background-color: #e8d1bb !important;
}

.timeline_9 {
    background-color: #a8c4c2 !important;
}

.timeline_10 {
    background-color: #ecbedc !important;
}

.card-body {
    padding: 2.5rem;
}

.lesson_step_title_presents {
    display: inline;
    color: #888;
    font-size: 18px;
    margin-right: auto;
    font-weight: 700;
    padding-left: 15px;
    padding-top: 8px;
}

.timeline_content {
    padding: 15px 25px;
    color: #414141;
}

.element_box {
    margin-bottom: 15px;
    background-color: #fff;
    padding: 47px 20px 50px;
    border: 1px solid #888;
    border-radius: 20px;
}

.element_box_2 {
    padding: 27px 20px 50px;
}

.elem_box {
    border: 1px solid #888;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.element_box_header {
    margin-bottom: 15px;
}

.element_active {
    border: 2px solid #f9b493;
}

.active_radio {
    text-align: right;
}

h2 {
    color: #fff;
    font-family: 'Quicksand', sans-serif;
}

h3 {
    font-family: 'Quicksand', sans-serif;
}

.section-title > h2 {
    color: #fff;
}

.section-title p {
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
}

.course-section .courses-list .course-card > h3 {
    text-transform: none;
}

.lesson_title{
    margin-left: 15px;
}

.lesson_en_title {
    color: #575757;
    font-weight: bold;   
}

.element_desc_pl {
    color: #709d9a;
    margin-top: 10px;
    font-size: 13px;
    line-height: 20px;
}

.element_desc_pl p{
    color: #709d9a;
    margin-top: 10px;
    font-size: 13px;
    line-height: 20px;
}

.element_desc_pl strong { font-weight: bold !important; }

.element_desc {
    color: #414141;
    font-size: 15px;
    line-height: 25px;
    font-family: 'Quicksand', sans-serif;
}

.element_desc p{
    color: #414141;
    font-size: 15px;
    line-height: 25px;
    font-family: 'Quicksand', sans-serif;
}

.element_desc strong { font-weight: bold !important; }

.step_descript{
    border-radius: 15px;
}

.panel .panel-body {
    padding: 55px 15px 15px 15px;
}

.panel-default>.panel-heading+.panel-collapse>.panel-body {
    border-top-color: #ddd;
}
.panel-group .panel-heading+.panel-collapse>.list-group, .panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: 1px solid #ddd;
}

.card-title {
    font-size: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}

.card-title span {
    font-size: 14px;
}

.sidebar .widget-tags ul li a, .sidebar .widget-tags ul li span {
    display: inline-block;
    color: #fff;
    font-size: 14.23px;
    border: 1px solid #fc775f;
    border-radius: 30px;
    padding: 8px 16px;
    background-color: #fc775f;
}

.img-responsive {
    width: 100%;
    margin: auto;
}

.about-us-section .about-sec .abt-col {
    padding: 0px;
    margin-bottom: 15px;
}

.course-meta img {
    width: 150px;
}

.lesson-card{
    margin-top: 0px !important;
}

.step_img {
    width: 100px;
}

h3.class_name {
    color: #575757 !important;
    font-weight: bold !important;
}

.class_name a{
    color: #575757 ;
    font-weight: bold;
}

.months_group_img {
    width: 245px;
    position: absolute;
    top: 70px;
    left: 72%;
}

.group_title_box {
    position: relative;
}

.course-section .courses-list {
    margin-top: 120px;
}

.course-section .courses-list-mini {
    margin-top: 0px;
}

.lnk-dv {
     margin-top: 0px; 
     margin-bottom: 30px;
} 

.shopping_list{
    border: 1px solid #709d9a;
    padding: 15px;
    border-radius: 20px;
    -webkit-box-shadow: 8px 7px 26px -9px rgba(168, 169, 171, 1);
-moz-box-shadow: 8px 7px 26px -9px rgba(168, 169, 171, 1);
box-shadow: 8px 7px 26px -9px rgba(168, 169, 171, 1);
}

.shopping_list h3 {
    font-weight: bold;
    color: #709d9a;
}

.shopping_list hr {
    border-color: #709d9a;
}

.shopping_list ul {
    padding-left: 20px;
}

.shopping_list .fa {
    color: #709d9a;
}

.shopping_list ul li {
    font-family: 'Pacifico', cursive;
}

.structure_list{
    border: 1px solid #fc775f;
    padding: 15px;
    border-radius: 20px;
    -webkit-box-shadow: 8px 7px 26px -9px rgba(168, 169, 171, 1);
-moz-box-shadow: 8px 7px 26px -9px rgba(168, 169, 171, 1);
box-shadow: 8px 7px 26px -9px rgba(168, 169, 171, 1);
}

.structure_list h3 {
    font-weight: bold;
    color: #fc775f;
}

.structure_list hr {
    border-color: #fc775f;
}

.play_thumb {
    width: 100%;
    margin: 0 auto;
    margin-top: 15px;
    -webkit-box-shadow: 7px 3px 11px -3px rgba(174, 175, 179, 1);
-moz-box-shadow: 7px 3px 11px -3px rgba(174, 175, 179, 1);
box-shadow: 7px 3px 11px -3px rgba(174, 175, 179, 1);
}

.lesson_social_box {
    text-align: center;
    margin-bottom: 35px;
}

.month_text {
    text-align: center;
    padding-bottom: 25px;
}

.widget-title-text {
    float:left;
    text-align: left;
}

.widget-title-text h3 {
    padding-top: 5px;
    color: #000;
}

.sidebar .widget-title {
    padding: 10px 25px;
}

.widget-title-text h4 {
    padding-top: 5px;
    color: #414141;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
}

.widget-title a{
    display: inline;
}

.element_right {
    float: right;
}

.element_right img {
    width: 40px;
    top: 5px;
    position: relative;
}

.clear {
    clear: both;
}

.structure_list h3, .shopping_list h3 {
    font-size: 16px;
    letter-spacing: 1px;
}

.structure_list {
    margin-bottom: 35px;
    padding: 10px 15px !important;
}

.info_img {
    width: 40px;
}

.attach_img {
    width: 40px;
}

.btn-watch {
    height: 40px;
    padding: 0px 40px;
    line-height: 40px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.film_text {
    margin-top: 15px;
    font-style: italic;
}

.shopping_img {
    width: 45px;
}

.main_shopping_box {
    text-align: right;
}

.attach_box {
    border-top: 1px solid #709d9a;
    margin-top: 15px;
    padding: 20px;
}

.timeline-event .panel .panel-heading {
    box-shadow: none;
    border: 2px solid transparent;
    background-color: #f9f9f9;
}

.timeline_border_1 {
    border-color: #a9c8c6 !important;
}


.timeline_border_2 {
    border-color: #fbc580 !important;
}


.timeline_border_3 {
    border-color: #afc1b1 !important;
}


.timeline_border_4 {
    border-color: #f5d7d9 !important;
}

.timeline_border_5 {
    border-color: #e8e6e2 !important;
}


.timeline_border_6 {
    border-color: #fc9d8c !important;
}


.timeline_border_7 {
    border-color: #bcc9ce !important;
}

.timeline_border_8 {
   border-color: #e8d1bb !important;
}

.timeline_border_9 {
    border-color: #a8c4c2 !important;
}

.timeline_border_10 {
    border-color: #ecbedc !important;
}

.btn-lesson {
    width: 100%;
}

.video_element {
    text-align: center;
}

.h-100 {
    height: 100% !important;
}

.authincation-content {
    border: 2px solid #888;
    border-radius: 5px;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.auth-form {
    padding: 50px 50px;
}

.text-left {
    text-align: left !important;
}

.auth-form img {
    vertical-align: middle;
    border-style: none;
    width: 150px;
}

.btn-block {
    background-color: #709d9a;
    border-color: #709d9a;
}

header .header-content .logo {
    -ms-flex: 0 0 33%;
    flex: 0 0 23%;
    max-width: 23%;
}

header .header-content .contact-add {
    margin-left: auto;
    -ms-flex: 0 0 57.5%;
    flex: 0 0 70.5%;
    width: 70.5%;
    max-width: 70.5%;
}

header .header-content .contact-add li {
    -ms-flex: 0 0 50%;
    flex: 0 0 30%;
    max-width: 30%;
    text-align: center;
}

header .header-content .contact-add li:first-child {
    flex: 0 0 25%;
    max-width: 25%;
}

header .header-content .contact-add li:last-child {
    flex: 0 0 35%;
    max-width: 35%;
    text-align: right;
}

#logout {
    cursor: pointer;
}

.main_structure {

}

.element_left {
    float:left;
    padding-left: 15px;
}
.element_right img{
    top: 15px;
}

.mini_element img {
    top: 5px;
}

.orange_text h3 {
    color: #fc775f;
}

.main_structure .structure_list:hover {
    box-shadow: 0 0 20px rgba(21, 87, 153, 0.09);
    transform: scale(1.05);
}

.timeline_11 {
    background-color: #8dc0d7 !important;
}

.timeline_border_11 {
    border-color: #8dc0d7 !important;
}

.timeline_border_11 .lesson_step_title a{
    /*color: #8dc0d7 !important;
    text-shadow: -1px -1px 0 #666, 1px -1px 0 #666, -1px 1px 0 #666, 1px 1px 0 #666;*/
}

.step_box {
    border: 1px solid #ddd;
    border-radius: 15px;
    background-color: #f0f0f0;
    padding: 20px;
    margin-bottom: 20px;
}

.step_box label {
    margin-bottom: 15px;
    margin-top: 15px;
    font-weight: bold;
}

#lesson_form label {
    margin-bottom: 15px;
    margin-top: 15px;
    font-weight: bold;
}

.coll_href:hover {
    transform: scale(1.2);
}

.coll_attach_href:hover {
    transform: scale(1.2);
}

.mini_element:hover {
    transform: scale(1.2);
}

.button_edit_box li{
    display: inline;
    
}

.button_edit_box li a {
    margin-bottom: 10px !important;
}

label {
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 15px;
}

legend {
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 19px;
    color:#fc775f;
}

.question_title {
    font-weight: bold;
    padding-bottom: 15px;
}

.question_line {
    margin-top: 25px;
    border-color: #fc775f;
    border-width: 2px;
}

.question_answer {
    padding-left: 25px;
}

.box_buttons {
    position: absolute;
    right: 25px;
    text-align: right;
}

.box_buttons a{
    display: inline;
}

.surv_title {
    font-weight: bold;
    padding-bottom: 15px;
}

.mpopup {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 30px;
    width: 550px;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 0.8rem;
}


.modal-header {
    padding: 2px 12px;
    background-color: #ffffff;
    color: #333;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}
.modal-header h2{
    font-size: 1.25rem;
    margin-top: 14px;
    margin-bottom: 14px;
    color: #fc775f;
    font-weight: bold;
}
.modal-body {
    padding: 2px 12px;
}
.modal-footer {
    padding: 1rem;
    background-color: #ffffff;
    color: #333;
    border-top: 1px solid #e9ecef;
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
    text-align: right;
}

.close {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
    right: 15px;
    position: absolute;
    top: 10px;
}
.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.dd {
    max-width: 100%;
}

.dd-handle {
    display: block;
    height: 30px;
    margin: 5px 0;
    padding: 5px 10px;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 3px;
    box-sizing: border-box;
}

.customize_link {
    text-align: right;
    position: relative;
    bottom: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 150;
}

.element_customize {
    padding-top: 20px;
    height: 400px;
    color: #709d9a;
    overflow: hidden;
    position: relative;
}

.show_more_link {
    position: absolute;
    height: 50px;
    text-align: right;
    background-color: #fff;
    border-top: 1px solid #ddd;
    width: 100%;
    bottom: 0;
    padding: 10px;
    
}

.show_more_link span{
    padding-right: 30px;
    cursor: pointer;
}

.btn-success {
    background-color: #709d9a;
    border-radius: 30px;
    border-color: #709d9a;
}

.month_title {
    border: 1px solid #888;
    background-color: #f0f0f0;
    padding: 10px;
    font-weight: bold;
}

.surv_container legend{
    color: #fc775f;
}

.pol_q_text {
    color: #414141;
    margin-bottom: 20px;
}

.question_title_pol {
    color: #709d9a;
    margin-bottom: 10px;
}

.surv_container fieldset {
    width: 100%;
}


.surv_comment {
    margin-bottom: 20px;
    width: 500px;
}

.month_box_img_mini {
    width: 175px;
}
.show_less_content {
    display: none;
}

 .section-heading {
    font-family: "Dancing Script", cursive;
    text-align: center;
    font-size: 64px;
    color: #10996d;
    margin: 0 0 70px;
  }
  
  .container_box {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    margin-left: 20px;
    margin-right: 20px;
  }
  
  .profile {
    position: relative;
    transition: all 0.3s;
  }
  
  .profile:hover {
    transform: translateY(25px);
  }
  
  .profile img {
    max-width: 100%;
    /*border-radius: 50%;
    border: 2px solid #f7f7f7;*/
    filter: drop-shadow(-20px 0 10px rgba(0, 0, 0, 0.1));
    cursor: pointer;
    width: 100%;
    z-index: 5;
  }

  .profile:not(:first-child) img {
   
  }
  
  .profile .name {
    position: absolute;
    background-color: #709d9a;
    color: #fff;
    padding: 15px 30px;
    border-radius: 100px;
    bottom: -80px; left: 50%;
    white-space: nowrap;
    transform: translate(-50%, -50px);
    letter-spacing: 1px;
    font-size: 13px;
    opacity: 0;
    transition: all 0.3s;
  }
  
  .profile .name::before {
    content: "";
    position: absolute;
    width: 15px; height: 15px;
    background-color: #709d9a;
    top: 0; left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  
  .profile img:hover + .name {
    opacity: 1;
    transform: translateX(-50%);
    box-shadow: 0 10px 20px rgba(86, 86, 198, 0.3);
   
  }
  
  .profile img:hover {
       transform: scale(1.5);
       z-index: 1;
       margin-top: 25px;
  }
  
  .clear_element {
      clear: both;
  }

  .team {
      margin-bottom: 15px;
  }
  
  .lesson_card {
      position: relative;
  }
  
  .lesson_card:hover {
      transform: scale(1.05);
      background-color: #f6f6f6;
  }
  
  .group_image {
      width: 120px;
      position: absolute;
      top:0px;
      right: 0;
  }
  
  .active_month {
      filter: drop-shadow(-2px 10px 10px #666);
      transform: scale(1.15);
  }
  
 .active_month .name{
    opacity: 1;
    transform: translateX(-50%);
    box-shadow: 0 10px 20px rgba(86, 86, 198, 0.3);
}
  .color_f4b734 {
      background-color: #f4b734 !important;
  }
  
 .color_f4b734::before {
        background-color: #f4b734 !important;
  }
  
  .color_dc8a61 {
      background-color: #dc8a61 !important;
  }
  
 .color_dc8a61::before {
        background-color: #dc8a61 !important;
  }
  
  .color_a67e72 {
      background-color: #a67e72 !important;
  }
  
 .color_a67e72::before {
        background-color: #a67e72 !important;
  }
  
   .color_bd434a {
      background-color: #bd434a !important;
  }
  
 .color_bd434a::before {
        background-color: #bd434a !important;
  }
  
    .color_a3b5bb {
      background-color: #a3b5bb !important;
  }
  
 .color_a3b5bb::before {
        background-color: #a3b5bb !important;
  }
  
  .color_76a2b2 {
      background-color: #76a2b2 !important;
  }
  
 .color_76a2b2::before {
        background-color: #76a2b2 !important;
  }
  
   .color_c2c730 {
      background-color: #c2c730 !important;
  }
  
 .color_c2c730::before {
        background-color: #c2c730 !important;
  }
  
  .color_afc1b1 {
      background-color: #afc1b1 !important;
  }
  
 .color_afc1b1::before {
        background-color: #afc1b1 !important;
  }
  
  .color_9fc7aa {
      background-color: #9fc7aa !important;
  }
  
 .color_9fc7aa::before {
        background-color: #9fc7aa !important;
  }
  
   .color_bdbf6c {
      background-color: #bdbf6c !important;
  }
  
 .color_bdbf6c::before {
        background-color: #bdbf6c !important;
  }
  
     .color_ede766 {
      background-color: #ede766 !important;
  }
  
 .color_ede766::before {
        background-color: #ede766 !important;
  }
  
  .box_buttons_bottom {
      bottom: -5px;
  }
  
  .border_f4b734 {
      border-color: #f4b734 !important;
  } 
  
  .border_a67e72 {
      border-color: #a67e72 !important;
  }
  
  .border_dc8a61 {
      border-color: #dc8a61 !important;
  } 
  
  .border_bd434a {
      border-color: #bd434a !important;
  } 
  
  .border_a3b5bb {
      border-color: #a3b5bb !important;
  } 
  
  .border_76a2b2 {
      border-color: #76a2b2 !important;
  } 
  
  .border_afc1b1 {
      border-color: #afc1b1 !important;
  } 
  
  .border_c2c730 {
      border-color: #c2c730 !important;
  } 
  
  .border_9fc7aa {
      border-color: #9fc7aa !important;
  } 
  
  .border_bdbf6c {
      border-color: #bdbf6c !important;
  } 
  
  .border_ede766 {
      border-color: #ede766 !important;
  } 
  
  .border_ffa175 {
      border-color: #ffa175 !important;
  } 
  
  .border_ede766 {
      border-color: #ede766 !important;
  } 
  

.hover-3 img:hover {
    rotate: 360deg;
  transition: rotate 1s;
}

.key_f4b734 {
    background-color: #f4b734 !important;
    border-color: #f4b734 !important;
}

.text_f4b734 {
    color: #f4b734 !important;
}

.border_f4b734 hr {
    border-color: #f4b734;
}


.key_dc8a61 {
    background-color: #dc8a61 !important;
    border-color: #dc8a61 !important;
}

.text_dc8a61 {
    color: #dc8a61 !important;
}

.border_dc8a61 hr {
    border-color: #dc8a61;
}


.key_a67e72 {
    background-color: #a67e72 !important;
    border-color: #a67e72 !important;
}

.text_a67e72 {
    color: #a67e72 !important;
}

.border_a67e72 hr {
    border-color: #a67e72;
}

.key_bd434a {
    background-color: #bd434a !important;
    border-color: #bd434a !important;
}

.text_bd434a {
    color: #bd434a !important;
}

.border_bd434a hr {
    border-color: #bd434a;
}

.key_a3b5bb {
    background-color: #a3b5bb !important;
    border-color: #a3b5bb !important;
}

.text_a3b5bb{
    color: #a3b5bb !important;
}

.border_a3b5bb hr {
    border-color: #a3b5bb;
}

.key_76a2b2 {
    background-color: #76a2b2 !important;
    border-color: #76a2b2 !important;
}

.text_76a2b2{
    color: #76a2b2 !important;
}

.border_76a2b2 hr {
    border-color: #76a2b2;
}

.key_afc1b1 {
    background-color: #afc1b1 !important;
    border-color: #afc1b1 !important;
}

.text_afc1b1{
    color: #afc1b1 !important;
}

.border_afc1b1 hr {
    border-color: #afc1b1;
}

.key_c2c730 {
    background-color: #c2c730 !important;
    border-color: #c2c730 !important;
}

.text_c2c730{
    color: #c2c730 !important;
}

.border_c2c730 hr {
    border-color: #c2c730;
}

.key_9fc7aa {
    background-color: #9fc7aa !important;
    border-color: #9fc7aa !important;
}

.text_9fc7aa{
    color: #9fc7aa !important;
}

.border_9fc7aa hr {
    border-color: #9fc7aa;
}

.key_bdbf6c {
    background-color: #bdbf6c !important;
    border-color: #bdbf6c !important;
}

.text_bdbf6c{
    color: #bdbf6c !important;
}

.border_bdbf6c hr {
    border-color: #bdbf6c;
}

.key_ede766 {
    background-color: #edd078 !important;
    border-color: #edd078 !important;
}

.text_ede766{
    color: #ede766 !important;
}

.border_ede766 hr {
    border-color: #ede766;
}

.key_eea292 {
    background-color: #eea292 !important;
    border-color: #eea292 !important;
}

.text_eea292{
    color: #eea292 !important;
}

.border_eea292 hr {
    border-color: #eea292;
}

.key_ffa175 {
    background-color: #ffa175 !important;
    border-color: #ffa175 !important;
}

.text_ffa175{
    color: #ffa175 !important;
}

.border_ffa175 hr {
    border-color: #ffa175;
}


.set_img_box {
   text-align: right;
   position: absolute;
    top: -70px;
    right: 5px;
}

.set_img_box img{
    text-align: right;
    width: 100px;
}

.ag-format-container {
  margin: 0 auto;
}


.ag-offer-block {
  padding: 50px 0 0px
}
.ag-offer_list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -moz-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  position: relative;
}
.ag-offer_item {
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  margin-left: -5px;
  margin-right: -9px;
  cursor: pointer;
}
.ag-offer_item:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)) {
  
}
.ag-offer_item:not(:nth-child(3n)) {
  
}
.ag-offer_item:nth-child(1) .ag-offer_hidden-item {
  background-color: transparent;
}
.ag-offer_item:nth-child(2) .ag-offer_hidden-item {
  background-color: transparent;
}
.ag-offer_item:nth-child(3) .ag-offer_hidden-item {
  background-color: transparent;
}
.ag-offer_item:nth-child(4) .ag-offer_hidden-item {
  background-color: transparent;
}
.ag-offer_item:nth-child(5) .ag-offer_hidden-item {
  background-color: transparent;
}
.ag-offer_item:nth-child(6) .ag-offer_hidden-item {
  background-color: transparent;
}
.ag-offer_item:hover .ag-offer_visible-item {
  opacity: 0;

  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);

  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}
.ag-offer_visible-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  height: 100%;
  width: 100%;
  padding: 47px 60px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  -webkit-transition: .4s .3s;
  -moz-transition: .4s .3s;
  -o-transition: .4s .3s;
  transition: .4s .3s;
}
.ag-offer_img {
  height: 64px;
  width: 64px;
  margin: 0 15px 0 0;
}
.ag-offer_title {
  font-size: 22px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.ag-offer_hidden-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  padding: 30px;

  opacity: 0;

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  -webkit-transform: rotate(180deg) scale(0);
  -moz-transform: rotate(180deg) scale(0);
  -ms-transform: rotate(180deg) scale(0);
  -o-transform: rotate(180deg) scale(0);
  transform: rotate(180deg) scale(0);

  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
  transition: .6s;
}
.ag-offer_item:hover .ag-offer_hidden-item {
  opacity: 1;

  -webkit-transform: rotate(0deg) scale(1);
  -moz-transform: rotate(0deg) scale(1);
  -ms-transform: rotate(0deg) scale(1);
  -o-transform: rotate(0deg) scale(1);
  transform: rotate(0deg) scale(1);

  -webkit-transition-delay: .3s;
  -moz-transition-delay: .3s;
  -o-transition-delay: .3s;
  transition-delay: .3s;
}
.ag-offer_text {
  max-width: 100%;

  opacity: 0;

  font-size: 20px;
  color: #FFF;

  -webkit-transition: .3s .5s;
  -moz-transition: .3s .5s;
  -o-transition: .3s .5s;
  transition: .3s .5s;
}
.ag-offer_item:hover .ag-offer_text {
  opacity: 1;
}
.ag-offer_btn {
  display: block;
  padding: 10px 20px;
  border: 2px solid #FFF;

  position: absolute;
  top: 50%;
  left: 50%;

  white-space: nowrap;
  font-size: 25px;
  color: #FFF;

  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.ag-offer_btn:hover {
  border: 2px solid #0000d1;
  background-color: #FFF;

  text-decoration: none;
  color: #0000d1;
}



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

}

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

}

@media (min-width: 768px) and (max-width: 979px) {
  .ag-format-container {
    width: 750px;
  }

}

@media (min-width: 980px) and (max-width: 1161px) {
  .ag-format-container {
    width: 960px;
  }

}

.course-card2:hover .img-responsive {
    transform: scale(1.3);
}

/* ********  note amination ******* */

.parent-note
{position: relative;
width: auto;}
.music-icon{
position: absolute;
left: 20px;
top: -30px;
transition: leftr 0.5s ease;
width:30px;
opacity:0%;}
@keyframes note-move {
  from { 
    transform: translatex(0%);
    opacity: 100%;
}
  to { 
    transform: translatex(15ch);
    opacity: 100%;
}}
.parent-note:hover .music-icon{
animation: note-move 2500ms alternate infinite ease-in-out;}

.link_next {
    margin-top: 15px;
}

.note_div {
    position: relative;
}

.note_img {
    width: 25px;
    position: absolute;
    top: 3px;
    right: 5px;
}

.mini_note {
    width: 15px;
    margin-right: 6px;
}

.mini_note2 {
    width: 25px;
    margin-right: 6px;
}

.hidden {
    display: none;
}

.download_element {
    position: absolute;
    bottom: 25px;
    right: -10px;
}

.elem_div {
    position: relative;
}

.right-elem {
    text-align: right;
}

.btn-color-f4b734 {
    background-color: #f4b734;
}

.btn-color-dc8a61 {
    background-color: #dc8a61;
}

.btn-color-a67e72 {
    background-color: #a67e72;
}

.btn-color-bd434a {
    background-color: #bd434a;
}

.btn-color-a3b5bb {
    background-color: #a3b5bb;
}

.btn-color-76a2b2 {
    background-color: #76a2b2;
}

.btn-color-afc1b1 {
    background-color: #afc1b1;
}

.btn-color-c2c730 {
    background-color: #c2c730;
}

.btn-color-9fc7aa {
    background-color: #9fc7aa;
}

.btn-color-bdbf6c {
    background-color: #bdbf6c;
}

.btn-color-ede766 {
    background-color: #ede766;
}

.btn-color-eea292 {
    background-color: #eea292;
}

.btn-color-ffa175 {
    background-color: #ffa175;
}

.card2 {
  position: relative;
  padding: 25px 32px 22px 32px;
  clip-path: circle(8% at 95% 11%);
  transition: all ease-in-out 0.3s;
  background-color: #f9f9f9;
  max-height: 0;
  cursor: pointer;
}
.card__infoicon {
  position: absolute;
  top: -3px;
  right: 28px;
  font-size: 2.1em;
  color: #000000;
  transition: ease-out 0.3s;
  cursor: pointer;
}
.card__title {
  margin: 0;
  font-size: 3em;
  line-height: 1.8;
}
.card__description {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.6;
}
.card__credits {
  margin: 0;
  padding: 4px 0;
  font-size: 1.1em;
}
.card__reference {
  display: inline-block;
  border-bottom: 1px solid transparent;
  color: #0099ff;
  text-decoration: none;
  transition: ease-in 0.3s;
}
.card__reference:hover {
  border-bottom-color: #0099ff;
}
.card2:hover, .card2:focus {
  clip-path: circle(75%);
  border-radius: 20px;
  box-shadow: 0px 3px 9px rgba(0, 0, 0, 0.12), 0px 3px 18px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  outline: none;
  max-height: 100%;
}
.card2:hover .card__infoicon, .card2:focus .card__infoicon {
  opacity: 0;
}
.card2:focus {
  box-shadow: 0px 3px 9px rgba(0, 0, 0, 0.12), 0px 3px 18px rgba(0, 0, 0, 0.08), 0px 0px 0px 4px rgba(0, 0, 0, 0.2);
}

button[data-setter] {
  outline: none;
  background: transparent;
  border: none;
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 18px;
  width: 25px;
  height: 30px;
  color: #F7958E;
  cursor: pointer;
}
button[data-setter]:hover { opacity: 0.5; }
.setters {
  position: absolute;
  left: 85px;
  top: 75px;
}
.minutes-set {
  float: left;
  margin-right: 28px;
}
.seconds-set { float: right; }
.controlls {
  position: absolute;
  left: 75px;
  top: 105px;
  text-align: center;
}
.display-remain-time {
  font-family: 'Roboto';
  font-weight: 100;
  font-size: 35px;
  color: #F7958E;
}
#pause {
  outline: none;
  background: transparent;
  border: none;
  margin-top: 10px;
  width: 50px;
  height: 50px;
  position: relative;
}
.play::before {
  display: block;
  content: "";
  position: absolute;
  top: 8px;
  left: 16px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid #F7958E;
}
.pause::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 12px;
  width: 15px;
  height: 30px;
  background-color: transparent;
  border-radius: 1px;
  border: 5px solid #F7958E;
  border-top: none;
  border-bottom: none;
}
#pause:hover { opacity: 0.8; }
.e-c-base {
  fill: none;
  stroke: #B6B6B6;
  stroke-width: 4px
}
.e-c-progress {
  fill: none;
  stroke: #F7958E;
  stroke-width: 4px;
  transition: stroke-dashoffset 0.7s;
}
.e-c-pointer {
  fill: #FFF;
  stroke: #F7958E;
  stroke-width: 2px;
}
#e-pointer { transition: transform 0.7s; }


.timer_div {
    position: fixed;
    bottom: 0px;
    right: -35px;
    z-index: 1;
}

.card-table {
    margin-bottom: 20px;
    border-radius: 10px !important;
}

.table-user thead th {
    border-color: #709d9a;
    font-weight: bold;
}

.table-user {
    text-align: left;
}

.blog-section .blog-posts .blog-post .blog-thumbnail {
    border: 1px solid #709d9a;
    border-radius: 18px;
    padding: 15px;
    background-color: #f0f0f0;
    text-align: center;
    height: 200px;
}

.blog-section .blog-posts .blog-post .blog-info .read-more {
    color: #709d9a;
    position: absolute;
    text-align: right;
    bottom: 10px;
    right: 10px;
}



.blog-section .blog-posts .blog-post .blog-info > h3{
    color: #709d9a;
}

.more_div {
    text-align: right;
}



.blog-section .blog-posts .blog-post .blog-thumbnail img{
    width: 50% !important;
    text-align: center;
}

.image_box {
    overflow: hidden;
    height: 170px;
}

.blog-section .blog-posts .blog-post .blog-thumbnail .news_image {
    width: 100% !important;
}

.blog-post {
    border-bottom: 1px solid #709d9a;
    margin-bottom: 15px;
}

.blog-info {
    min-height: 160px;
    position: relative;
}

.clear_both {
    clear: both;
}

.blog-section .blog-posts .blog-post .blog-thumbnail .category {
    background-color: #f4b734;
    font-weight: bold;
}

.blog-section .blog-posts .blog-post .blog-thumbnail .category {
    position: absolute;
    bottom: -12px;
    left: 20px;
    padding: 0 20px;
    color: #2b2b2b;
    font-size: 14.23px;
    height: 24px;
    line-height: 24px;
    background-color: #ffd31d;
    border-radius: 30px;
}


.post-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: #709d9a;
}

.post-meta {
    text-align: right;
    font-size: 0.8rem;
    
}

.btn-primary {
    
}

.comment_user {
    width: 60px;
}

.legend_box {
    bottom: 150px;
    position: relative;
    left: -55px;
    border: 1px solid #709d9a;
    border-radius: 15px;
    padding: 25px;
}

.legend_li {
    margin-bottom: 15px;
}

.legend_li div {
    display: inline;
    font-size: 0.8rem;
}

.legend_li img {
    width: 50px;
    margin-right: 15px;
}

.legend_img {
    float: left;
}

.clear {
    clear: both;
}

.subtext {
    color: #709d9a;
}

.surv_greeting {
    background-color: #a9c8c6;
}

.surv_hello_song {
    background-color: #fbc580;
}

.surv_mission {
    background-color: #afc1b1;
}

.surv_mystery_box {
    background-color: #f5d7d9;
}

.surv_theme_song {
    background-color: #e8e6e2;
}

.surv_worksheet {
    background-color: #fc9d8c;
}

.surv_play_time {
    background-color: #bcc9ce;
}

.surv_mission_accomplished {
    background-color: #e8d1bb;
}

.surv_experiment {
    background-color: #a8c4c2;
}

.surv_learnt {
    background-color: #ecbedc;
}

.surv_general {
    background-color: #f4b734;
}

.surv_general {
    background-color: #a9c8c6;
}

.surv_overall {
    background-color: #709d9a;
}

.surv_step {
    padding: 15px;
    color: #fff;
    border-radius: 15px;
    margin-bottom: 20px;
    -webkit-box-shadow: 10px 10px 6px -6px rgba(196,194,196,1);
-moz-box-shadow: 10px 10px 6px -6px rgba(196,194,196,1);
box-shadow: 10px 10px 6px -6px rgba(196,194,196,1);
    border: 1px solid #ddd;
}

.surv_step .pol_q_text {
    font-size: 0.85rem;
    color: #fff;
}

.question_answer img {
    width: 60px;
    margin-right: 15px;
}

.question_answer img:hover {
    rotate: 360deg;
    transition: rotate 2s;
    transform: scale(1.1);
}

.btn-primary {
    background-color: #709d9a;
    border-color: #709d9a;
}

.timeline .timeline-item .timeline-event:hover {
    transform: scale(1.05);
} 

.card_surv {
    background-color: #fff;
}

.right-element {
    text-align: right;
}

.left-element {
    text-align: left;
}

header .navigation-bar nav ul li {
    margin-right: 22px;
}

header .navigation-bar nav {
    flex: 0 0 85%;
    max-width: 85%;
}

.center_element {
    text-align: center;
}

.stats_table{
    border: 1px solid #ddd;
    border-bottom: 0px !important;
    width: 100%;
    margin-bottom: 15px;
}

.stats_table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    border-right:  1px solid #ddd;
}

.bold_text {
    font-weight: bold;
}

.user_tr {
    background-color: #f4b734;
    font-weight: bold;
    font-size: 1.1rem;
}

.stats_table img {
    width: 50px;
} 

.user_heading {
    width: 100%;
    background-color: #709d9a;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 15px;
    margin-bottom: 20px;
    color: #fff;
}

.file_link {
    text-decoration: underline;
}

.responsive-menu {
    background-color: #709d9a;
}

@media (min-width: 320px) and (max-width: 1024px) {
  .timer_div {
    position: relative;
    bottom: -130px;
    left: 50px;
  }

} 

@media (max-width: 320px) {
    .ag-offer_visible-item {
    padding: 0 20px 100px;

    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

@media (min-width: 375px) and (max-width: 413px) {
    .ag-offer_visible-item {
    padding: 0 20px 120px;

    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}


@media (min-width: 414px) and (max-width: 599px) {
    .ag-offer_visible-item {
    padding: 0 20px 140px;

    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

@media (min-width: 600px) and (max-width: 767px) {
    .ag-offer_visible-item {
    padding: 0 20px 200px;

    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

@media (min-width: 768px) and (max-width: 768px) {
    .ag-offer_visible-item {
    padding: 0 20px 260px;

    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}


@media only screen and (max-width: 768px) {
  .ag-format-container {
    width: 96%;
  }

  .ag-offer_item {
    width: 50%;
    margin:  0 0 30px;
    border: 0 none !important;
    border-bottom: 1px solid #c1c1c1 !important;
  }

  .ag-offer_item:hover .ag-offer_visible-item {
    opacity: 1;

    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }
  .ag-offer_hidden-item {
    padding: 0 20px 20px;

    opacity: 1;

    position: static;

    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }
  .ag-offer_item:nth-child(1) .ag-offer_hidden-item,
  .ag-offer_item:nth-child(2) .ag-offer_hidden-item,
  .ag-offer_item:nth-child(3) .ag-offer_hidden-item,
  .ag-offer_item:nth-child(4) .ag-offer_hidden-item,
  .ag-offer_item:nth-child(5) .ag-offer_hidden-item,
  .ag-offer_item:nth-child(6) .ag-offer_hidden-item {
    background-color: transparent;
  }
  .ag-offer_item:hover .ag-offer_text {
    opacity: 1;
  }
  .ag-offer_title {
    font-weight: bold;
  }
  .ag-offer_text {
    opacity: 1;

    font-size: 18px;
    color: #000;
  }
  .ag-offer_btn {
    border: 2px solid #0000d1;
    background-color: #000080;

    position: static;

    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }
}


.extras {
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

.lesson-extra-card {
    padding: 40px !important;
}

.lesson-extra-card .group_image {
    top: 7px;
    right: 40px;
}

.lesson-extra-card-month {
    margin-right: 50px;
    margin-left: 50px;
}

.lesson-extra-card-month .group_image {
    width: 170px;
}

.courses-list-next {
    margin-top: 60px !important;
}

.lesson-extra-card-month .group_image2 {
    width: 60px;
    right: 20px;
    top: 20px;
}

.courses-list-mini {
    margin-top: 80px;
}

.blog-extras {
    min-height: 80px;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 60%; /* Could be more or less, depending on screen size */
  height: 200px;
  z-index: 0; /* Sit on top */
}

.modal-content2 {
    height: auto !important;
    padding: 45px;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

header .navigation-bar nav ul li a.active:before, header .navigation-bar nav ul li a:hover:before {
    width: 40px;
    -webkit-box-shadow: -1px 8px 10px 0px rgba(66, 68, 90, 1);
-moz-box-shadow: -1px 8px 10px 0px rgba(66, 68, 90, 1);
box-shadow: -1px 8px 10px 0px rgba(66, 68, 90, 1);
}

.modal-backdrop {
    height: auto; /* Full height */
}

