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

 }
@media screen and (max-width: 991px) {
    .videoBlock {
        width: 100%;
        box-sizing: border-box;
        background: #fff;
        height: 600px;
        padding: 30px 25px 50px;
    }
    #overlay {
        left: -30px;
    }
    #main_menu{
        display: none;
    }

    #header{width: 100%!important; height: 110px;}
    #content{width: 100%!important; min-height: 0!important;}
    #footer{width: 100%!important;display: none!important;}
	.cart-button,
    .cart-button2 {
		position: absolute;
		right: 60px;
        top: 35px;
	}
    .bootstrap-wrapper .cart-button,
    .page .cart-button {
        position: relative;
        right: auto;
        top: auto;
        margin-top: 20px;
    }
    .cart-button__text {
        color: red;
    }
    #main_menu_mobile{
        z-index: 100;
        overflow-x: hidden;
        display: none;
        position: fixed;
        padding: 0 0 25px 0!important;
        width: 100%!important;
        height: 100%!important;
        top:0!important;
        right:-100%;
        background: #fff!important;
    }
    .submenu_mobile{
        display: none;
    }
    .active .submenu_mobile{
        display: none;
    }
    .submenu_mobile .parent{
        color: white!important;
    }
    #main_menu_mobile ul li{
        display: block!important;
        text-align: left!important;
        padding: 15px!important;
        background: none!important;
        text-transform: uppercase;
    }
    #main_menu_mobile ul li ul {
        margin-top: 15px;
    }
    #main_menu_mobile a{
        color: black;
        font-size: 16px;
		height: 35px;
    }
	
	#main_menu_mobile a img {
		max-height: 35px;
	}
	
	
    #main_menu_mobile .first_lvl a{

    }


    #main_menu_mobile .submenu_mobile a{
        color: #a5a5a5;
        font-size: 12px;
    }
    #contacts{
        display: none;
        position: absolute;
        right: 10px;
        /*top:45px!important;*/
        top:70px!important;
        right: -9px!important;
        font-size: 10px!important;
    }

    #header #logo{

    }
	.alter_h1 {
        /*top: 10px;
        left: -85px;
        position: relative;*/
        top: -65px;
    	left: 100px;
    	position: relative;
        text-align: left; /*new*/
        display: block; /*new*/
        width: 33%; /*new*/
	}
	.logo_str{
		margin: 0;
        padding-left: 20px;
        padding-right: 20px;
        position: relative;
        justify-content: flex-start;
        gap: 0 16px;
	}
    .cart-button
    .header-shadow{
        top:110px!important;
    }

    #footerRight{
        display: none;
    }

    #bx-composite-banner{
        display: none;
    }
    #footer #footerLeft{
        margin-left:10px;
    }
    .burger_menu{
        width: 24px;
        height: 20px;
        background: url(img/burger.png);
        background-size: cover;
        display: block;
        position: absolute;
        right: 15px;
        top: 47px;
    }
    #header img#logo {
        width: 70px;
        margin-top: 18px;
        height: auto;
        background: none;
    }

    .opened #logo{
        left: 0!important;
    }
    .opened .burger_menu{
        /*left: 110px!important;*/
        /*left: 275px!important;*/
    }
    .call_button {
        width: 35px;
        /*margin-left: 118px;*/
        margin-top: -33px;
        display: block;
    position: absolute;
    right: 277px;
    }

}
@media screen and (max-width: 991px) {
	.bottom_block_menu a{
        display: block;
        float: left;
        margin: 5px;
        width: 35px;
        height: 35px;
        background: url(img/social.png) no-repeat top left;
        margin-bottom: 25px;
    }
}


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

    .page{
        width: calc(100% - 10px)!important;
        margin: 0 0 0 0!important;
    }
    .marked{
        width: 100%!important;
        font-size: 16px!important;
    }
    .share_block{
        top:20px;
        margin: 0!important;
        right: 10px!important;
        display: none!important;
    }
    #breadcrumbs{
        /*display: none;*/
        margin-top: 6px!important;
        margin-left: 15px;
        margin-bottom: -13px;
        color: #EA2131;
    }
    #breadcrumbs a {
        color: #EA2131;
    }
    #breadcrumbs{
        position: relative;
    }
    #bx_breadcrumb_0 {
        display: none;
    }
/*    .bx-breadcrumb :last-child{
        display: none;
    }*/

    #content h1{
        font-size: 38px!important;
        width: 90%!important;
        overflow: hidden;
        text-overflow: ellipsis;
    }

   .text_block{
       width: 100%!important;
       padding: 5px!important;
       font-size: 15px!important;
       /*text-align: justify!important;*/
   }

    .content_table{
        margin: 0!important;
        width: 100%!important;
        overflow: visible!important;
        z-index: 1!important;
    }
    .content_table td{
        font-size: 12px;
    }

    .content_table td:nth-child(1){
        padding: 0 0 0 20px!important;
        width: 50%!important;
    }
    .content_table .desc td:first-child{
        background: url(/bitrix/templates/aldocoppola_v2/css/img/icons.png) -5px 5px no-repeat;
    }

    .content_table .desc .checked{
        background: url(/bitrix/templates/aldocoppola_v2/css/img/icons2.png) 0px 5px no-repeat!important;
    }


    #content h2{
        font-size: 22px!important;
        overflow: hidden;
        text-overflow: ellipsis;

    }
    p{
        font-size: 15px;
        /*text-align: justify;*/
        line-height:18px;
        margin-bottom: 10px!important;
    }
    .page_center{
/*         width: 100%!important; */
        width: calc(100% - 20px) !important;
        left: 0!important;
        padding: 20px 10px!important;
    }
    .gallery_list li:nth-child(1){
        margin-left: 0!important;
    }
    .container-fluid{
        margin-top:60px;
    }
    .gallery_list li{
        width: 48%!important;
        height: auto!important;
    }
    .image_frame{
        position: relative;
        width: 100%!important;
        height: auto!important;
    }
    .image_frame img{
        width: 100%!important;
        min-height: 0;
    }
    .portofolio_details{
        width: 100%!important;
    }
    .hleft{
        width: 100%!important;
    }
    .year_filter{
        width: 100%!important;
        padding-top: 60px!important;
    }
    .time{
        width: 48%!important;
        height: auto!important;
        margin: 3px!important;
    }
    .time img {
        width: 100%!important;
        height: auto!important;
    }
    .year_filter a{
        width: 33px;
    }
    div.news-list img.preview_picture{
        margin: 0!important;
    }
    div.contacts{
        padding-top: 0!important;
    }
    div.contacts img{
        padding-bottom: 30px!important;
    }
    div.contacts div.info{
        margin-left: 0!important;
    }
    div.contacts div.info .right{
        margin-left: 0px!important;
    }
    div.contacts div.img{
        width: 100%!important;
    }


    .back_btn{
        cursor: pointer;
        display: block;
        margin-top: -30px;
        margin-left: 10px;
        position: absolute;
        padding: 10px 30px;
        background: url(img/back.png) top left no-repeat;
    }
    .news-item img{
        display: none;
        width: 48%!important;
        height: 100%!important;
        margin: 1px!important;
    }
    .news-item p{
        display: none;
    }
    .news-item img:nth-child(1){
        display: inline-block!important;
    }
    .news-item img:nth-child(2){
        display: inline-block!important;
    }

    .elements{
        width: 100%!important;
        margin: 10px 0 10px 0!important;
    }
    .country{
        width: 100%!important;
    }
    .adress_content{
        padding: 25px 0!important;
    }
    .adress_img{
        float: none!important;
        height: 175px;
        width: 96%;
        bottom: 175px;
    }
    .minimap{
        position: relative!important;
        margin: 10px 0;
        width: 90%!important;
    }
    .minimap .bx-google-map{
        width: 100%!important;
    }

    .end_text{
        margin: 30px 0 0 0!important;
        font-size: 10px;
    }

    .tittle {
        padding: 20px 0 0 0;
        font-size: 18px;
    }

    .submenu_mobile li:last-child{
        border-bottom: 0px!important;
    }

    .bottom_block_menu{
        margin: 25px 0 25px 0;
    }

    
    .bottom_block_menu a:nth-child(2){
        background-position: -45px 0;
    }
    .bottom_block_menu a:nth-child(4){
        background-position: -135px 0;
    }
    .bottom_block_menu > div{
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .bottom_block_menu span{
        color: #8f9090;
        text-transform: uppercase;
        font-size: 10px;
    }

    .first_lvl > li > .parent:after{
        display: none;
        content: "";
        width: 16px;
        height: 9px;
        position: absolute;
        right: 10px;
        background: url(img/icon_m1.png);
        background-size: cover;
    }
    .first_lvl li > .parent.active:after{
        content: "";
        width: 16px;
        height: 9px;
        position: absolute;
        right: 10px;
        background: url(img/icon_m2.png);
        background-size: cover;
    }

    .map-box-content-area_void, .map-box-content-area_selected{
        padding: 10px;
    }

    .img_block{
        width: 100%!important;
    }

    .news-list .desc{
        width: 93%!important;
        height: 44%!important;
    }
    .description{
        margin-left: 0!important;
        margin-top: 45px!important;
    }
    .thumb{
        width: 48%!important;
        height: auto!important;
    }
    .contacts p{
        color: #a3a3a3!important;
    }
    .contacts strong{
        color: white!important;
        font-family: 'PFBeauSansProLightRegular',sans-serif!important;
    }
    .contacts .adr{
        color: #a3a3a3!important;
    }
    .ttl {
        font-size: 20px!important;
    }
    .checked{
        overflow: visible!important;
        height: auto;
    }
    .content_table td:first-child::after{
        width: 50%;
    }
    .checked div{
        padding:10px;
        margin-top: 5px;
        z-index: 100;
        position: absolute;
        width: 202%;
        left:-10px;
        background-color: black;
        border-top: 1px solid red;
        border-bottom: 1px solid red;
    }

    .map-box-content-area_selected .elements{
        font-size: 10px!important;
        text-transform: uppercase!important;
        color: #acacac!important;
    }
    .map-box-content-area_selected .elements a{
        color: #acacac!important;
    }
    .adress_block{
        height: 465px;

    }

    .adress_img{
        pointer-events: none!important;
    }
    #main_menu_mobile ul li.active{
        padding: 15px 15px 15px 15px!important;
    }
    .content_table td:nth-child(2){
        white-space: nowrap;
    }

    img.mobile{
        margin: 20px auto;
        text-align: center;
        display: block;
        width: 100%;
    }

    form[name=SIMPLE_FORM_2] .right-column{
        margin-left: 0!important;
        width: 100%!important;
    }
    form[name=SIMPLE_FORM_2] .right-column textarea{
        width: 100%!important;
    }
    .right-column .red_btn{
       padding: 5px 25%!important;
        margin: 0 auto!important;
    }

    #content form .left-column{
        width: 100%!important;
    }

    .wrapper{
        display: flex;
        flex-direction: column;
    }

    .rmenu{
        position: inherit!important;
        margin-left: 12%;
        margin-top: 50px;
        order: 3;
        padding-bottom: 50px;

    }
    .text_block {
        order: 1;
    }
    .prices{
        order: 2;
    }



}

@media only screen and (min-width: 647px) and (max-width: 975px){
    .call_button {
        margin-top: -18px;
    }
}

@media screen and (max-width: 720px) {
	#footerLeft12 {
		display: none;
	}
}

@media screen and (max-width: 600px) {
	.call_button {display:none}
}

@media screen and (max-width: 500px) {
	.alter_h1 {display:none}
}