/* Загрузка шрифтов */
@font-face {
    font-family: 'OfficinaSansWinСТТ'; /* Гарнитура шрифта */
    src: url('../../fonts/officinasanswinctt.eot'); /* Для IE5-8 */
    src: local('../../officinasanswinctt'), url('fonts/officinasanswinctt.ttf'); /* Для остальных браузеров */
}

@font-face {
    font-family: 'OfficinaSansCBold';
    src: url('../../fonts/officinasanscbold.eot');
    src: url('../../fonts/officinasanscbold.eot?#iefix') format('embedded-opentype'),
    url('../../fonts/officinasanscbold.woff') format('woff'),
    url('../../fonts/officinasanscbold.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'officinasanscitalic';
    src: url('../../fonts/officinasansc_bookitalic-webfont.eot');
    src: url('../../fonts/officinasansc_bookitalic-webfont.eot?#iefix') format('embedded-opentype'),
    url('../../fonts/officinasansc_bookitalic-webfont.woff2') format('woff2'),
    url('../../fonts/officinasansc_bookitalic-webfont.woff') format('woff'),
    url('../../fonts/officinasansc_bookitalic-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


.rl-result-item-book, .rl-result-item-more, .rl-submit, .rl-booking-submit {
    color: white !important;
}

.rl-preloader {
    position: relative;
    background: #fbefdc !important;
    color: #fbefdc;
}

.rl-preloader:after {
    position: absolute;
    top: 29%;
    left: 44%;
    color: black;
    content: "Загрузка...";
}

body {
    background: #ffffff; /* белый */
    font-size: 18px;
    background-position: top right, top left;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed;
    margin: 0;

}

h1{
    font-size: 2rem;
    font-family: 'OfficinaSansCBold';
    text-align: center;
}

h2{
    font-size: 1.5rem;
    font-family: 'OfficinaSansCBold';
    text-align: center;
}

h3 {
    font-size: 1.1875rem;
    font-family: 'OfficinaSansCBold';
    text-align: center;
    margin-bottom: 10px;
}

h4 {
    font-size: 1rem;
    font-family: OfficinaSansCBold;
    text-align: center;
}

p {
    font-family: 'OfficinaSansWinСТТ';
    font-size: 18px;
    margin: 0 0 30px 0;
}

ol,li {
    font-family: 'OfficinaSansWinСТТ';
    font-size: 18px;
}

.orange {
    color: #ff6600;
}

.green {
    color: #71aa43;
}

.nav_menu{
    display: none;
}


.font_bold {
    font-family: 'OfficinaSansCBold';
    font-size: 22px;
    vertical-align: top;
}

.font_bold a, .orange a {
    font-family: 'OfficinaSansCBold';
    vertical-align: top;
    color: #ff6600;
    text-decoration: none;
}

.font_bold a:hover {
    text-decoration: underline;
}

/* Автобусные экскурсии курсор*/
table td.pointer_hover:hover {
    cursor: pointer;
}

.font_bold_no_size {
    font-family: 'OfficinaSansCBold';
}

.font_bold_no_size a {
    font-family: 'OfficinaSansCBold';
    color: #ff6600;
    text-decoration: none;
}

.font_bold_no_size a:hover {
    text-decoration: underline;
}

.font_reg_no_size {
    font-family: 'OfficinaSansWinСТТ';
}

.font_reg_no_size a {
    font-family: 'OfficinaSansWinСТТ';
    color: #ff6600;
    text-decoration: none;
}

.font_reg_no_size a:hover {
    text-decoration: underline;
}

#DivContainer {
    width: auto; 
    background: #ffffff; /* белый */
}

#program p {
    margin: 10px;
}

#price p {
    margin: 10px;
}

.blockBuy {
    width: 100%;
    margin: 0 auto;
    background: whitesmoke; /* первый фон светлее зелёный #eef6e0*/
    font-family: OfficinaSansCBold;
    border: 1px solid #71aa43;
}

.blockBuy p {
    margin: 10px 5px;
    font-family: OfficinaSansCBold;
    text-align: center;
}

.bottom_gif {
    position: relative;
    margin: 10px 0 0 0;
    background-image: url(/img/bottom.jpg); /* Путь к фоновому изображению */
    width: 100%;
    height: 170px;
    border: 1px solid #000000;
}

/* Трансформация картинки */
#move_pic:hover .move-left {
    transform: translate(-400px, 0);
    -webkit-transform: translate(-400px, 0); /** Safari & Chrome **/
    -o-transform: translate(-400px, 0); /** Opera **/
    -moz-transform: translate(-400px, 0); /** Firefox **/
}

/* добавляем параметр перемещения в класс .object
inear: перемещение происходит постоянной скоростью от начала и до конца.
ease: перемещение начинается медленно и затем набирает скорость.
ease-in: перемещение начинается медленно.
ease-out: перемещение заканчивается медленно.  */
.object {
    position: absolute;
    transition: all 2s ease-in-out;
    -webkit-transition: all 2s ease-in-out; /** Chrome & Safari **/
    -moz-transition: all 2s ease-in-out; /** Firefox **/
    -o-transition: all 2s ease-in-out; /** Opera **/
}

/* размещаем объект (картинку автобуса) справа. */
.van {
    top: 125px;
    left: 168px;
}
/* Конец трансформации картинки */

/* Выпадающее меню Сведения образования */
.educat-menu-sub-menu { 
   display: none; } 
   
.educat-menu-sub-menu li a {
    text-decoration: none;}


.educat-menu-main-item:focus ~ .educat-menu-sub-menu, 
.educat-menu-main-item:active ~ .educat-menu-sub-menu, 
.educat-menu-sub-menu:hover { 
   display: block; } 
/* Конец выпадающего меню */

.centered_buy{
    text-align: center;
}

.h5_educat{
    text-align: left;
    padding-left: 25px;}

.educat_table {
  border-collapse: collapse;
  text-align: left; 
  width: 100%;
}
.educat_table th {
/*  padding: 10px 8px;*/
  border-top: 2px solid lightgrey;
  font-size: 14px;
}
.educat_table td {
  padding: 9px 0;
  border-top: 2px solid lightgrey;
  font-size: 16px;
}

.educat_table td ul li{

  font-size: 16px;
}

.educat_table tr:hover {
  background-color: whitesmoke;
}

.no_margin_before_ul{
    margin: -20px 0 0; 
}

.tech-support{
        font-size: 15pt;
        font-weight: bold;
        font-family:OfficinaSansWinСТТ;
    }


.card_footer{
    display: block;
/*    height: 100px;*/
    background-color: #ffffff;
/*    border: 1px solid lightgrey;*/
    border-radius: 12px;
    width:310px;
    margin: auto 5px;
}

.card_footer:hover {
    box-shadow: 4px 8px 16px lightgrey;
}

.partners_card{
    display: none;
}

.img_rto{
    width: 100%;
    height: auto;
    margin-top: 3px;
    border-radius: 12px;
}



.gdm tr:hover{ 
    cursor: pointer;
}

.gdm2 td{
    border-radius: 5px;
}

.gdm2 tr:hover{ 
    background: #ff6600; /* Цвет фона */
    color: black;
    cursor: pointer;
}

.lygota_hover a{
    text-decoration: none;
    color: black;
}

.lygota_hover a:hover {
    text-decoration: underline;
    color: #ff6600;
}

.center_vacancy{
    display: flex;
    flex-direction: row;  
    justify-content: center;
}
.card_vacancy {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 480px;
  margin: 5px 10px;
  border-radius: 10px;
}

.card_vacancy:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.container_vacancy {
  padding: 2px 16px;
}


/* Header ------------------------------------*/
    #header {
        display: flow-root;
        box-sizing: content-box;
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
/*        margin-bottom: 30px;*/
    }

    .header_container {
        display: flex;
        position: relative;
    }

    .header_logo{
        width: 70%;
        position: absolute;
        top: 80%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

    #mobile_upper_phones_table{
        width: 100%;
        margin:15px 0;
    }

    #desk_upper_phones_table{
        display: none;
    }

/* Burger menu---------------------------------*/
    .burger_menu{
        margin-top: 10px;
        flex-grow: 1;
        display: flex;
        gap: 35px;
        align-items: center;
    }

    .burger-checkbox {
      position: absolute;
      visibility: hidden;
    }

    .burger {
      position: relative;
      z-index: 1;
      cursor: pointer;
      display: block;
      position: relative;
      border: none;
      background: transparent;
      width: 40px;
      height: 26px;
    }
    .burger::before,
    .burger::after {
      content: '';
      left: 0;
      position: absolute;
      display: block;
      width: 100%;
      height: 4px;
      border-radius: 10px;
      background: #000;
    }
    .burger::before {
      top: 0;
      box-shadow: 0 11px 0 #000;
      transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
    }
    .burger::after {
      bottom: 0;
      transition: bottom .3s .15s, transform .3s;
    }
    .burger-checkbox:checked + .burger::before {
      top: 11px;
      transform: rotate(45deg);
      box-shadow: 0 6px 0 rgba(0,0,0,0);
      transition: box-shadow .15s, top .3s, transform .3s .15s;
    }
    .burger-checkbox:checked + .burger::after {
      bottom: 11px;
      transform: rotate(-45deg);
      transition: bottom .3s, transform .3s .15s;
    }
    .menu-list {
      top: 75px;
      left: -15px;
      position: absolute;
      display: grid;
      gap: 12px;
      margin: 0;
      background: white;
      list-style-type: none;
      transform: translateX(-100%);
      transition: .3s;
      width: 100%;
      z-index: 2;
    }

    .menu-list ul{
        list-style: none;
        padding: 5px 0;

    }

    .header_menu_list{
        padding: 5px 0;
        font-size: 16px;
        letter-spacing: 0;
    }

    .sub_menu_list{
        font-size: 18px;
        line-height: 1.55;
        list-style-type: none;
        padding-inline-start: 0px;
    }
    .header_p{
        font-size: 18px;
        padding: 5px 0 5px 15px;
        line-height: 1.55;
    }

    .header_tel{
        text-decoration: none;
        cursor: pointer;
        font-weight: 700;
    }

    .menu-item {
      display: block;
      color: black;
      font-size: 18px;
      text-decoration: none;
      padding: 5px 0 5px 15px;
      line-height: 1.55;
      font-family:OfficinaSansCBold;
    }

    .menu-item:hover {
        background: rgba(255,255,255,.2);
    }

    .burger-checkbox:checked ~ .menu-list {
      transform: translateX(0);
    }

/* слайдер для фото на главной ------------------------*/
    .slideshow {
        max-width: 960px;
        position: relative;
        margin: auto;
        padding-bottom: 10px;
    }

    @keyframes myAnimation {
      0% { opacity: 0; }
      50% { opacity: 1; }
      100% { opacity: 1; }
    }

    

    .slideshow-item img{
        vertical-align: middle;
        width:100%
    }




.first_page_text{
    margin: 0 5px;
    min-width: 310px;
    text-align: justify;
}



/* Top left text */
.top-left {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 4px;

}

/* Bottom right text */
.bottom-right {
    position: absolute;
    bottom: 15px;
    right: 16px;
}

.bottom-right a{
    color: black;
    text-decoration: none;
    background-color: rgba(255,255,255,0.5);
    border-radius: 4px;
    padding: 5px 10px;

}

#to_topBtn {
  display: none;
  position: fixed;
  bottom: 10px;
  left: 5px;
  z-index: 99;
  font-size: 18px;
  outline: none;
  background-color: rgba(255,255,255,0.8);
  color: #ff6633;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  font-family:OfficinaSansCBold; 
  border: 1px solid #ff6633;
}

#to_topBtn:hover {
  background-color: #ff6633;
}

/* swipe menu --------------------- */
#swipe_menu {
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
  height: 96px;
  margin: 20px auto;
  scroll-snap-type: x mandatory;
}

.swipe_child {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 235px;
    height: 80px;
    scroll-snap-align: start;
}

.swipe_child img{
    height: 80px;
}

#swipe_menu::-webkit-scrollbar {
    width: 0;
}



/* swipe menu --------------------- */
.swipe_pic {
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
/*  height: 253px;*/
  margin: 20px auto;
  scroll-snap-type: x mandatory;
}

.swipe_pic_child {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
}

.swipe_pic_child img{
    width: 100%;
}

.bus_pic img{
    width: auto;
}

.swipe_pic::-webkit-scrollbar {
    width: 0;
}
/*---------------------------------*/

.main_text{
    margin: 5px;
    text-align: justify;
}


/* -------- order tabale -----------  */

#edu_order_table{
    font-family:OfficinaSansWinСТТ;
    max-width:300px;
}

#edu_order_table input{
    height:25px;
    font-size:18px;
    font-weight:bold;
    width: 100%;
}

#edu_order_table textarea{
        width: 100%;
        height: 200px;
    }

.accessibility_button{
    text-align: right;
}

.access_styles {
    background: #fff;
    border: 1px solid;
    font-size: 16px;
    line-height: 28px;
    font-weight: 700;
    cursor: pointer;
    padding: 3px 16px;
    border-radius: 3px;
    text-decoration: none;
    color:#ff6600;
}

.access_styles img{
    height: 27px;
    margin-bottom: -8px;
    padding-right: 10px;
}

.access_styles:hover { 
     background: lightgrey;
     color: black;
}

.doc_icons{
    height: 21px;
    vertical-align: middle;
    padding-right: 10px;
}

.hidden_info{
    /*height: 1px; 
    width: 1px;
    overflow: hidden;*/
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.no_click {
  pointer-events: none;
  cursor: default;
}

/*---------banners----------*/
.mobile_ban img{
    width: 100%;    
}

.desk_ban{
    display:none;
}


/* ------------gallery ----------- */

.gallery{
    display:grid;
    /*grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));*/
    grid-auto-rows: 100px;
    grid-auto-flow: dense;
    grid-gap: 5px;
}

.gal-image{
    background: var(--bg) center / cover;
    border-radius: 8px;
    box-shadow: inset 0 0 15px black, 0 0 0 #000;
    transition: all 0.3s ease-in-out;
}

.gal-image:hover{
    box-shadow: inset 0 0 0 #000, 0 8px 15px #000;
}

.gal-image:nth-child(5n){
    grid-column: span 2;
    grid-row: span 2;
}

.gal-image:nth-child(2n){
    grid-row: span 2;
}

.gallery_video{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.lightbox_img_link{
    /*position: absolute;  
    top: 0;  
    left: 0;  */
    display: block;  
    width: 100%;  
    height: 100%;  
    text-decoration: none;  
    /*z-index: 1;*/
}

.orange_border_gallery{
    border: 1px solid #ff6600;
    border-radius: 10px;
    padding: 0 3px  6px 3px; 
}

.orange_border_video{
    padding: 0;
    overflow: hidden;
    height: 230px;
    margin: 10px 0;
}


/*------Teaching stuff-----------*/

.h2_for_teaching{
    text-align: left;
}

.h3_for_teaching{
    margin-bottom: 4px;
    text-decoration: underline;
    text-align: left;
}

.no_ul_margin_top{
    margin-top: 4px;
}



/* ----  Разрешение экрана более 700px ----- */

@media screen and (min-width:700px){
    body {
            background: #ffffff; /* белый */
            font-size: 24px;
            background-image: url(../../img/body_fon_right.png), url(../../img/body_fon_left_1.png);
            background-position: top right, top left;
            background-repeat: no-repeat, no-repeat;
            background-attachment: fixed;
    }

    p {
        font-size: 24px;
    }

    ol,li{
        font-size: 24px;
    }

    #DivContainer {
            width: 960px; 
            margin: 0 auto;
            background: #ffffff; /* белый */
    }

/* ------- Accessibility ---------- */

    .accessibility_button{
        margin-top: 5px;
    }

    .access_styles{
        font-size: 15pt;
        line-height: 30px;
    }

    .access_styles img{
        height: 30px;
    }


/* -------- header ---------------- */
    .burger_menu{
        display: none;
    }

    .header_logo{
        width: 100%;
        position: unset;
        top: unset;
        left: unset;
        transform: none;
    }

    #mobile_upper_phones_table{
        display: none;
    }

    #desk_upper_phones_table{
        display: table;
        font-size: 15pt;
        font-weight: bold;
        font-family:OfficinaSansWinСТТ;
    }


/*--------- navigation ----------*/

.site-routes {
    background-color: #ff6600;
    color: white;
    height: 48px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.site-routes a {
    color: white;
    text-decoration: none;
    font-family: OfficinaSansWinСТТ;
    text-transform: uppercase;
}

.nav_menu{
    display: block;
}

.nav_menu ul{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #ff6600;
    color: white;
    height: 48px;
    padding-left: 0;
    margin: 0;
}

.nav_menu li{
   list-style: none;
   font-size: 1em;
}

.nav_menu a{
    color: white;
    text-decoration: none;
    font-family: OfficinaSansWinСТТ;
    text-transform: uppercase;
}


/*------------ Banners-----------*/
.mobile_ban{
    display: none;
}

.desk_ban{
    display:block;
}


/* ----------- gallery --------- */

.gallery{
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 10px;
}


/* -------- order table -----------  */

    #edu_order_table{
        max-width:760px;
    }

    #order_table_1col{
        width: 18%;
    }

    #edu_order_table textarea{
/*        height: 300px;*/
    }

    




/* -------  bottom -------------  */
    .blockBuy {
            width: 960px;
            background-image: url(../../img/fon_chel.png); /* Путь к фоновому изображению */
            background-position: bottom; /* Положение фона */
            background-repeat: no-repeat; /* Отменяем повторение фона */
    }

    .blockBuy p {
        font-size: 19pt;
    }

    .bottom_gif {
        position: relative;
        margin: 10px 0 0 0;
        background-image: url(../../img/bottom.jpg); /* Путь к фоновому изображению */
        width: 960px;
        height: 206px;
        border: 1px solid #000000;
    }

    /* Трансформация картинки */
    #move_pic:hover .move-left {
        transform: translate(-583px, 0);
        -webkit-transform: translate(-583px, 0); /** Safari & Chrome **/
        -o-transform: translate(-583px, 0); /** Opera **/
        -moz-transform: translate(-583px, 0); /** Firefox **/
    }

    /* добавляем параметр перемещения в класс .object
    inear: перемещение происходит постоянной скоростью от начала и до конца.
    ease: перемещение начинается медленно и затем набирает скорость.
    ease-in: перемещение начинается медленно.
    ease-out: перемещение заканчивается медленно.  */
    .object {
        position: absolute;
        transition: all 2s ease-in-out;
        -webkit-transition: all 2s ease-in-out; /** Chrome & Safari **/
        -moz-transition: all 2s ease-in-out; /** Firefox **/
        -o-transition: all 2s ease-in-out; /** Opera **/
    }

    /* размещаем объект (картинку автобуса) справа. */
    .van {
        top: 89px;
        left: 583px;
        width: 376px;
    }


    .card_footer{
            display: inline-block;
            height: 100px;
            background-color: #ffffff;
            border: 1px solid lightgrey;
            border-radius: 12px;
            margin-left: 27px;
        }

    .no_margin_before_ul{
        margin: -20px 0px 40px; 
    }


    .card_footer:hover {
        box-shadow: 4px 8px 16px lightgrey;
    }

    .card_rto{
        width:40%;
    }

    .partners_card{
        display: inline-block;
        width: 23%;
    }

    .img_rto{
        width: 100%;
        height: auto;
        margin-top: 3px;
        border-radius: 12px;
    }

    .img_uroki{
        width: auto;
        height: auto;
        max-height: 100px;
        margin: 0px 59px;
    }

    .img_liga {
        width: 90%;
        margin: 15px 11px;
    }

}

