@media (max-width: 1200px) {
  .xx_width_1_4_pad {
  	width: calc((100% - 16px) / 2);
  }
  .xx_width_1_4_pad:nth-child(even) {
  	padding-right: 0;
  }
  .xx_width_1_4_pad:nth-child(odd) {
  	padding-left: 0;
  }
	.xx_width_1_3_pad {
		width: calc((100% - 32px) / 2);
	}
	.xx_width_1_6_pad {
		width: calc((100% - 32px) / 2);
	}
	.xx_video_demo {
		margin-top: 20%;
		width: 640px;
		height: 360px;
	}
	.xx_close_video {
		margin-top: 20%;
	}
	.xx_dialog_accessibility_text {
		overflow: auto;
		min-height: 700px;
	}
}

@media (max-width: 950px) { 
	.xx_video_demo {
		margin-top: 12%;
		width: 384px;
    height: 216px;
	}
	.xx_close_video {
		margin-top: 12%;
	}
}

@media (max-width: 799px) {
	.xx_padding_bigger_side {
	  padding-left: 24px;
	  padding-right: 24px;
	}
	.xx_padding_bigger_updown {
	  padding-top: 24px;
	  padding-bottom: 24px;
	}
	.xx_if_is_medium_hide {
		display: none;
	}
	.xx_video_demo {
		width: 384px;
    height: 216px;
	}
}

@media (max-width: 640px) {

	#xx_rivolapp_prodotto,
	#xx_rivolapp_chisiamo,
	#xx_rivolapp_successo,
	#xx_rivolapp_firsr,
	#xx_rivolapp_faq {
		padding-left: 16px;
		padding-right: 16px;
	}
	.rivapp_show_more,
	.xx_side_menu.active {
		display: block;
	}
	.xx_menu_voice_cont, 
	.xx_faq_disable,
  .xx_hide_this_at_small {
		display: none;
	}
	.xx_side_menu {
    position: absolute;
		width: 100%;
    background-color: #FFF;
    top: 130%;
    border-radius: 12px;
		box-shadow: 0px 5px 7px 0px rgba(105, 105, 105, 0.15), 0px -5px 7px 0px rgba(105, 105, 105, 0.15);
		display: none;
	}
	.xx_menu_head {
		border-radius: 0 0 12px 12px;
	}
	.xx_menu_cont {
		position: relative;
		justify-content: space-between;
	}
	.xx_side_menu_button.active {
		background-image: url('../imgs/close.svg');
	}
	.xx_side_menu_button {
		display: inline-block;
    padding: 12px;
    background-image: url('../imgs/ham.svg');
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    border: 1px solid;
    width: 16px;
    height: 12px;
	}
  .xx_width_expand_pad,
  .xx_width_1_2_pad,
	.xx_width_1_3_pad,
  .xx_width_1_4_pad,
	.xx_width_1_6_pad {
  	width: 100% !important;
  	padding-left: 0 !important;
  	padding-right: 0 !important;
  }
	
	.xx_group_wb_riv {
		position: relative;
		height: 340px;
		overflow: hidden;
	}
	.xx_card_wb_riv {
		position: absolute;
		animation: xx_slider_wb_riv 16s infinite;
		animation-fill-mode: both;
		will-change: transform, opacity;
		animation-timing-function: ease;
	}

	@keyframes xx_slider_wb_riv {
		/* destra */
		0% {
			transform: translateX(100%);
			opacity: 1;
		}
		/* centro  */
		10% {
			transform: translateX(0);
			opacity: 1;
		}
		25% {
			transform: translateX(0);
			opacity: 1;
		}
		/* sinistra */
		40% {
			transform: translateX(-100%);
			opacity: 0;
		}
		100% {
			transform: translateX(-100%);
			opacity: 0;
		}
	}

	.xx_group_wb_riv div:nth-child(1) {
		animation-delay: 0s;
	}
	.xx_group_wb_riv div:nth-child(2) {
		animation-delay: 4s;
	}
	.xx_group_wb_riv div:nth-child(3) {
		animation-delay: 8s;
	}
	.xx_group_wb_riv div:nth-child(4) {
		animation-delay: 12s;
	}
	.xx_slider_totem_cont {
		width: 50%;
		left: 30%;
	}
	.xx_slider_imgs {
		height: 580px;
	}
	.xx_slider_imgs > img {
		left: 0;
	}
	.xx_form_cont {
		padding: 16px;
	}
	.xx_form_card {
		border-radius: 24px;
	}
	.rivapp_card_square.small {
		padding-top: 50%;
	}
	.xx_img_foot {
		flex: none;
	}
	.xx_iframe_cont {
		aspect-ratio: 9 / 16;
	}

	.xx_video_demo {
		margin-top: 50%;
		width: 274px;
    height: 154px;
	}
	.xx_close_video {
		margin-top: 50%;
	}
}

@media (min-width: 640px) {

	.xx_comment {
		flex: 0 0 50%;
	}
	.xx_hide_this_at_medium {
		display: none;
	}
}
@media (min-width: 1200px) {

	.xx_section_comment {
		display: none;
	}
	.xx_comment {
		flex: 0 0 33.33%;
	}
}