@media (max-width: 479px)
{
    /*---------------
        Main styles
    ---------------*/
    :root
    {
        --font_size: 14px;
        --font_size_title: 25px;
    }


    .cont
    {
        padding: 0 15px;
    }
	.page_content {
		padding: 150px 0 100px;
	}



    .block_head
    {
        margin-bottom: 20px;
    }

    .block_head .title
    {
        line-height: 29px;
    }



    .form .line
    {
        margin-bottom: 15px;
    }

    .form .rate .stars > label
    {
        margin-left: 3px;
    }

    .form input[type=checkbox] + label
    {
        font-size: 14px;
    }

    .form .submit .exp
    {
        line-height: 20px;
    }



    /*---------------
        Header
    ---------------*/
    header .logo img
    {
        height: 60px;
    }


    header .phone a
    {
        font-size: 17px;
    }


    header .mob_menu_link
    {
        margin-left: 10px;
    }



    /*---------------
        Sidebar
    ---------------*/



    /*---------------
        Main section
    ---------------*/
    .first_section
    {
        height: 480px;
    }

    .first_section .info
    {
        width: 290px;
    }

    .first_section .title
    {
        font-size: 24px;
        line-height: 32px;
    }

    .first_section .link
    {
        min-width: 0;
        margin-top: 20px;
    }



    .courses .course .name
    {
        font-size: 18px;
    }

    .courses .course .desc
    {
        font-size: 13px;
        line-height: 18px;
    }



    .advantages .flex
    {
        margin-left: 0;
    }

    .advantages .flex > *
    {
        width: 100%;
        margin-left: 0;
    }



    .shedule .tabs button
    {
        font-size: 18px;
        line-height: 30px;
    }


    .shedule .course .name
    {
        font-size: 18px;
        line-height: 22px;
    }



    .teachers .teacher
    {
        font-size: 15px;
        line-height: 21px;
    }



    .video_about .link:after
    {
        background-size: auto 75px;
    }



    .reviews .review
    {
        padding: 15px;
    }

    .reviews .review .info
    {
        width: 100%;
        margin-top: 12px;
    }

    .reviews .review .rating > * + *
    {
        margin-left: 3px;
    }


    .reviews .add_review
    {
        padding: 30px 20px;
    }

    .reviews .add_review .title
    {
        font-size: 25px;
        line-height: 27px;

        margin-bottom: 20px;
    }



    .certs
    {
        height: 415px;
        margin-bottom: 40px;
        padding-top: 65px;

        background-position: 50% -5px;
        background-size: auto calc(100% + 60px);
    }

    .certs .or
    {
        font-size: 16px;
        line-height: 22px;

        width: 70px;
    }

    .certs .flex a
    {
        max-width: calc(50% - 35px);
    }



    .it_will_work .info .name
    {
        font-size: 18px;
        line-height: 22px;
    }
	
	.payment_result {
		padding: 45px 20px;
	}



    /*---------------
        Footer
    ---------------*/
    footer
    {
        padding-bottom: 30px;
    }


    footer .logo
    {
        font-size: 13px;
    }


    footer .phone a
    {
        font-size: 17px;
    }
	
	.ticket_buy {
		width: 100%;
	}
	.tickets_wrapper {
		width: 100%;
		overflow-x: scroll;
		padding-bottom: 15px;
	}
	.tickets_wrapper > div {
		width: 405px;
	}
	
	.seats_addCart {
		flex-direction: column;
		align-items: start;
		gap: 20px;
	}
	
	.ticket_cart_price {
		font-size: 14px;
	}
	.cart_table_footer {
		margin-top: 20px;
	}
	.cart_table_row {
		gap: 20px;
	}
    
    
.fotorama__nav, .fotorama__stage {
    max-width: 100%!important;
}
.fotorama__wrap--css3 .fotorama__nav__shaft, .fotorama__wrap--css3 .fotorama__stage__shaft, .fotorama__wrap--css3 .fotorama__thumb-border {
    max-width: 100%!important;
}
.teachers .teacher .foto img {
    max-width: 100%!important;
}

    /*---------------
        PopUp
    ---------------*/
    .fancybox-slide--html .fancybox-close-small
    {
        width: 50px;
        height: 50px;
        padding: 8px;
    }


    .modal
    {
        padding: 30px 35px;
    }


    #success_modal .title
    {
        font-size: 20px;
        line-height: 26px;
    }
}
