/* header */
@media (max-width:768px) {

    body {
        font-size: 15px;
    }

    .page_wrapper {
        max-width: 100%;
    }

    .slider_timer {
        display: none;
    }

    .top_navbar {
        display: none;
    }

    .main_logo {
        max-width: 40%;
    }

    .main_logo img {
        max-width: 100%;
        object-fit: contain;
    }

    .wrapper {
        padding: 0 20px;
    }

    .main_slider_buttons {
        display: none;
    }

    .main_slider_h1 {
        font-size: 20px;
        text-align: center;
    }

    .main_slider_desc {
        text-align: center;
        text-overflow: ellipsis;
    }

    .main_slider_content {
        flex: 1 1;
        align-items: center;
        padding-top: 20px;
    }

    .index .header_wrapper {
        height: 400px;
    }

    .sign_up_button {
        margin: 0;
    }

    .header_top_buttons {
        margin: 20px 0;
    }

    .hamburger_menu {
        background: url('../img/0.\ მთავარი/menu_hamburger.png');
        height: 20px;
        width: 30px;
        background-size: cover;
        cursor: pointer;
        user-select: none;
    }
}

@media (max-width: 768px) {
    .sidenav {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 2;
        top: 0;
        right: 0;
        background-color: #fff;
        overflow-x: hidden;
        transition: 0.5s;
    }

    .sidenav a {
        padding: 25px 8px 15px 32px;
        text-decoration: none;
        color: #818181;
        display: block;
        transition: 0.3s;
        font-size: 16px;
        font-family: 'bpg_caps';
    }

    .sidenav .sign_up_button {
        font-family: 'bpg_caps';
        font-size: 16px;
    }

    .sidenav a:hover {
        color: #f1f1f1;
    }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 13px;
        color: #AFAFB9;
        font-size: 36px;
        margin-left: 50px;
        padding-top: 18px;
    }

    .hamburger_container {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding: 0;
        width: 100%;
    }

    .hamburger_items {
        padding: 80px 0 0 20px;
    }

    .hamburger_items .hamburger_highlight {
        color: #8032C3;
    }

    .hamburger_container .sign_up_button {
        height: 70px;
        width: 100%;
        border-radius: 0;
        border: none;
        color: white;
        position: absolute;
        bottom: 0;
    }
}


/* saswavlo */

@media (max-width: 768px) {
    .program_section_headers {
        display: none;
    }

    .program_section {
        padding: 20px 0;
    }

    .wrapper {
        max-width: 100%;
    }

    .tile_img {
        max-width: 100%;
        max-height: 220px;
    }

    .tile_top_container {
        height: 120px;
    }

    .tile_bottom_container {
        height: unset;
        padding: 1px 2px;
        margin: 6px 10px;
    }

    .tile_icon {
        width: 25px;
        height: 25px;
        margin-right: 10px;
    }

    .tile_img_overlay {
        top: 6px;
        left: 8px;
        padding: 3px 6px;
    }

    .price {
        font-size: 12px;
        margin-right: 2px;
    }

    .gel {
        font-size: 9px;
    }

    .programs_tile_bottom_container .tile_h3 {
        margin-bottom: 0px;
    }

    .tile_h3 {
        font-size: 9px;
    }

    .tile_h4 {
        font-size: 8px;
    }

    .tiles_container .tiles_row {
        padding-bottom: 10px;
    }

    .tiles_row:last-child {
        padding-bottom: 0;
    }

    .tile:last-child {
        margin-bottom: 0;
    }

    .tile_container {
        margin-right: 10px;
    }

    .hide_mobile {
        display: none !important;
    }

    .show_mobile {
        display: flex !important;
    }

    .block {
        display: block !important;
    }
}



/* gallery */
@media (max-width: 768px) {
    .photo_galley_section {
        padding: 10px 0;
    }

    .h2 {
        font-size: 20px;
    }

    .h3 {
        justify-content: center;
        color: #B2B1C2;
    }

    .nav_buttons {
        display: none;
    }

    .gallery_imgs .gallery_img {
        max-width: 100%;
        width: 100%;
        margin-right: 0px;
        height: unset;
    }

    .gallery_imgs {
        margin-right: 10px;
        width: 50%;
    }

    .gallery_imgs:last-child {
        margin-right: 0px;
    }
}


/* events and map */
@media (max-width: 768px) {
    .events_section {
        padding: 10px 0;
    }

    .events_section_headers {
        padding-bottom: 10px;
    }

    .h2 {
        margin-top: 5px;
        line-height: 2;
    }

    .h3 {
        font-size: 12px;
    }

    .events_section .tiles_row {
        flex-direction: column;
    }

    .tile {
        margin-bottom: 10px;
        margin-right: 0;
    }

    .map_section {
        max-height: 200px;
        overflow: hidden;
    }

    .map_section img {
        margin: 0 -150px -8px;
        width: 200%;
    }
}

/* footer */
@media (max-width: 768px) {
    footer {
        padding: 20px 0;
        overflow: hidden;
    }

    h3.footer_text {
        margin-bottom: 25px;
    }

    .footer_text {
        color:#C5C5D2;
        margin-bottom: 10px;
    }

    .footer_social {
        height: 30px;
        flex: 1;
    }

    .footer_social_img.ln {
        width: 10px;
    }

    .footer_social_img.fb {
        width: 8px;
    }

    .footer_social_img_cont {
        flex: 0 0 25px;
        height: 25px;
    }

    .footer_social_txt_cont {
        flex-direction: initial;
    }

    .footer_social_txt_cont span {
        font-size: 11px;
        margin-right: 5px;
    }

    .footer_social_cont {
        width: 120%;
    }

    .footer_social_txt_cont .like_count {
        font-size: 9px;
        line-height: 1.9;
    }

    .separator {
        height: 1px;
        background-color: #59577D;
        margin: 5px 0 10px;
    }
}

/* about */
@media (max-width: 768px) {
    .about_main_section_columns {
        flex-direction: column;
    }

    .about_main_paragraph,
    .programs_main_paragraph {
        margin-right: 0px;
    }

    .about_main_section,
    .programs_main_section {
        padding: 20px 0;
    }

    .about_main_section_headers {
        position: relative;
    }

    .about_main_section_headers .h2 {
        margin-bottom: 5px;
    }

    .about_main_section_headers .h3::after {
        content: "";
        position: absolute;
        height: 2px;
        width: 40px;
        bottom: -10px;
        left: 0;
        background: #C8C8CE;
    }
}


/* programs */
@media (max-width: 768px) {
    .about_main_section_columns {
        flex-direction: column;
    }

    .about_main_paragraph,
    .programs_main_paragraph {
        margin-right: 0px;
    }

    .about_main_section,
    .programs_main_section {
        padding: 20px 0;
    }

    .programs_main_section
    .programs_tile_bottom_container {
        padding: 10px 0 10px 10px;
    }

    .programs_main_section_headers,
    .about_main_section_headers {
        position: relative;
    }

    .programs_main_section_headers .h2,
    .about_main_section_headers .h2 {
        margin-bottom: 5px;
    }

    .programs_main_section_headers .h3::after,
    .about_main_section_headers .h3::after {
        content: "";
        position: absolute;
        height: 2px;
        width: 40px;
        bottom: -10px;
        left: 0;
        background: #C8C8CE;
    }

    .tile_hover {
        display: none;
    }
    .tile_bottom a{
        width: 100%!important;
    }
    .tiles_container .tiles_row{
        display: block;
    }
    
    .tile_top_container{
        height: 30vw;
    }
}

/* news and contact */
@media (max-width: 768px) {
    .news .news .tiles_row {
        width: 100%;
    }

    .contact_header {
        padding-bottom: 80px;
        background-size: 600px;
        background-position: -220px -0px;
    }

    .contact_section {
        display: flex;
        flex-direction: column;
        padding: 0 20px;
    }

    .contact_section_headers {
        margin: 20px 0 40px;
    }

    .contact_section .wrapper {
        padding: 0;
    }

    input {
        width: 100%;    
    }

    .bar {
        width: unset;
    }

    .mr-10 {
        margin-right: 10px;
    }

    .-mhorizontal {
        display: flex;
    }

    .contact_form {
        margin-bottom: 20px;
    }

    #submit_button {
        cursor: pointer;
        border-bottom: none;
        align-self: flex-end;
        width: 150px;
        height: 40px;
        border-radius: 33px;
        background: rgb(18, 206, 200) url('../img/0. მთავარი/01_01_0005s_0000_Forma-1.png') no-repeat 47% 50%;
        box-shadow: 0 11px 18px 0 #299ce6;
        box-shadow: 0 11px 18px 0 rgba(41, 156, 230, 0.1);
        background-size: 16px;
        background-position: 110px;
        /* padding-left: 5px; */
        padding-right: 30px;
        color: white;
        font-size: 12px;
        font-family: "bpg_mrgv";
    }

    .contact .wrapper.-horizontal {
        width: 100%;
    }

    .wpb_wrapper .wpb_wrapper p {
        padding: 0 !important;
    }
}


@media (max-width: 768px) {
    .sign_up .tile_bottom_container {
        margin: 0;
        padding: 5px 10px;
    }

    .sign_up .tile {
        margin-bottom: 0;
        margin-right: 10px;
        width: 48%;
    }

    .sign_up .tiles_row.tile_bottom .tile:last-child {
        margin-right: 0;
    }

    .sign_up .tiles_row.tile_bottom:last-child .tile:last-child {
        max-width: 100%;
    }

    .sign_up .tiles_container .tiles_row {
        padding-bottom: 15px;
    }

    .sign_up_h3 {
        font-size: 12px;
    }
    .sign_up_header {
        padding-bottom: 0;
    }

    .wrapper.header_wrapper .top_right_buttons {
        padding: 20px 0;
        justify-content: center;
    }

    .sign_up_headers {
        margin: 0 0 25px;
    }

    .sign_up_header > .wrapper.header_wrapper * {
        z-index: 1;
    }

    .sign_up_column input {
        width:100%;
    }

    .sign_up_columns {
        flex-direction: column;
    }

    .sign_up_label.go_back {
        display: none;
    }

    .sign_up_columns._last {
        margin-top: 20px;
    }

    .sign_up_columns._last .sign_up_column,
    .sign_up_label {
        width: 100%;
    }

    .sign_up_button.sing_up_b {
        width: 100%;
        height: 60px;
        margin-bottom: 40px;
    }
    .sign_up_text_input {
        height: 60px;
    }

    .sign_up_math_header_bg {
        background-size: cover;
    }

    p.sign_up_h1 {
        text-align: center;
        font-size: 19px;
    }
    .sign_up .tiles_container .tiles_row {
        padding-bottom: 0;
    }
    .sign_up .tile{
        margin-bottom: 15px;
    }
    .tile_text_container{
        justify-content: space-around;
    }
    .sign_up_header .tile_h3{
        width: 100%!important;
    }
    .sign_up .tile_bottom_container {
        margin: 0;
        padding: 15px 10px;
    }
}