/*
	Reponsive Elements Cosmoprof custom rule SM@27.07.2023
*/


/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}


/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
  .navbar {
    padding: 0;

  }

  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    position: relative;
  }

  .navbar>ul>li {
    white-space: nowrap;
    padding: 10px 0;
    /*padding: 10px 0 10px 28px;*/
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 0 3px;*/
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    font-size: 20px;
    font-weight: var(--font-weight-400) !important;
    line-height: 20px;
    font-family: var(--font-family-oswald) !important;
    color: var(--black);
    padding: 10px 20px !important;
    margin-left: 5px;
    text-decoration: none !important;
    text-transform: uppercase;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--color-secondary);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navbar a:hover:before,
  .navbar li:hover>a:before,
  .navbar .active:before {
    visibility: visible;
    width: 100%;
  }

  /*.navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    background-color: #C1B6DB !important;
    color: var(--white) !important;
  }*/

  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 28px;
    top: calc(100% + 30px);
    margin-top: -10px;
    padding: 10px 5px 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--white);
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 0px;
    border: 1px solid #C1B6DB;
  }

  .navbar .dropdown ul li {
    min-width: 200px;
  }

  .navbar .dropdown ul a {
    padding: 10px 20px;
    /*font-size: 15px;*/
    text-transform: uppercase;
    /*font-weight: 600;*/
    color: var(--black);
  }

  .navbar .dropdown ul a i {
    font-size: 12px;
  }

  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover>a {
    background-color: #D1C2D6 !important;
    color: var(--white) !important;
  }

  .navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}


@media (min-width: 1280px) and (max-width: 1366px) {
	.navbar .dropdown .dropdown ul {
    	left: -90%;
  	}

	.navbar .dropdown .dropdown:hover>ul {
    	left: -100%;
  	}
}

@media (min-width: 1280px) {
	.mobile-nav-show,
	.mobile-nav-hide {
		display: none;
	}
}


/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
	
	
	
	.topbar
	, #header
	, .menubar.sticked {
		display:none !important;
	}
	
	#header-mobile {
		display:block !important;
	}
	
	#menubar {
    	padding-top: 0px !important;
    }
    
	.navbar {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		max-width: 400px;
		bottom: 0;
		transition: 0.3s;
		z-index: 9997;
	}

	.navbar ul {
	    position: absolute;
	    inset: 0;
	    padding: 50px 0 10px 0;
	    margin: 0;
	    background: rgba(255, 255, 255, 0.9); /*rgba(96, 70, 150, 0.9);*/
	    overflow-y: auto;
	    transition: 0.3s;
	    z-index: 9998;
	}
	
	.navbar li {
		border-bottom:1px solid #000;
	}
	
	.navbar a,
	.navbar a:focus {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 20px;
		font-family: var(--font-family-oswald);
		font-size: 20px;
		font-weight: var(--font-weight-500);
		color: rgba(0, 0, 0, 0.9);
		white-space: nowrap;
		transition: 0.3s;
		text-transform:uppercase;
		text-decoration:none !important;
	}

	.navbar a i,
	.navbar a:focus i {
    	font-size: 12px;
    	line-height: 0;
    	margin-left: 5px;
	}

	.navbar a:hover,
	.navbar .active,
	.navbar .active:focus,
	.navbar li:hover>a {
  		background-color: #C1B6DB !important;
    	color: var(--black);
	}

  	.navbar .getstarted,
	.navbar .getstarted:focus {
	    background: var(--color-primary);
	    padding: 8px 20px;
	    border-radius: 4px;
	    margin: 15px;
    	color: var(--white);
	}

	.navbar .getstarted:hover,
	.navbar .getstarted:focus:hover {
    	color: var(--white);
    	background: rgba(96, 70, 150, 0.8);
  	}

	.navbar .dropdown ul,
	.navbar .dropdown .dropdown ul {
	    position: static;
	    display: none;
	    padding: 10px 0;
	    /*margin: 10px 20px;*/
	    transition: all 0.5s ease-in-out;
	    background-color: #fff;
	    border: 1px solid rgba(96, 70, 150, 1);
	}

	.navbar .dropdown>.dropdown-active,
	.navbar .dropdown .dropdown>.dropdown-active {
    	display: block;
	}
	
	.navbar .dropdown>.dropdown-active li,
	.navbar .dropdown .dropdown>.dropdown-active li{
    	border-bottom:0;
	}

	.navbar .dropdown>.dropdown-active a,
	.navbar .dropdown>.dropdown-active a:focus,
	.navbar .dropdown .dropdown>.dropdown-active a,
	.navbar .dropdown .dropdown>.dropdown-active a:focus {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 20px;
		font-family: var(--font-family-ibm-plex-sans);
		font-size: 16px;
		font-weight: var(--font-weight-400);
		color: rgba(0, 0, 0, 1);
		white-space: nowrap;
		transition: 0.3s;
		/*text-transform:none;*/
		text-decoration:none;
	}

	.mobile-nav-show {
   		color: rgba(96, 70, 150, 1);
	    font-size: 40px;
	    cursor: pointer;
	    border: 1px solid var(--bs-gray-300);
	    transition: 0.5s;
	    z-index: 9999;
	    margin-right: 10px;
  	}

	.mobile-nav-hide {
	    color: rgba(96, 70, 150, 1);
	    font-size: 40px;
	    cursor: pointer;
	    border: 1px solid var(--bs-gray-300);
	    line-height: 0;
	    transition: 0.5s;
	    position: fixed;
	    right: 20px;
	    top: 20px;
	    z-index: 9999;
	}

	.mobile-nav-active {
    	overflow: hidden;
	}

	.mobile-nav-active .navbar {
    	right: 0;
	}

	.mobile-nav-active .navbar:before {
    	content: "";
	    position: fixed;
	    inset: 0;
	    background: rgba(96, 70, 150, 0.8);
	    z-index: 9996;
	}
	
	.box-special-project-22{
		background:#576776 !important;
	}
	.edu-event-box-2022{
		background:#576776 !important;
		color:#fff;
		height:auto !important;
	}
	.edu-event-box-2022-child{
		height:auto !important;
	}
	.edu-event-box-2022-child-col{
		padding-top:10px !important;
		padding-bottom:10px !important;
	}
	.edu-event-box-2022-child-col .righetta-normal.text-black{
		border-bottom-color:#fff !important;
	}
	
	
	/* new swiper carousel inc_carousel_child */
	.swiper-carouse-child .swiper-button-next, 
	.swiper-carouse-child .swiper-button-prev {
    	bottom: var(--swiper-navigation-top-offset,0%) !important;
	}
	.swiper-carouse-child .swiper-button-next, 
	.swiper-carouse-child .swiper-rtl .swiper-button-prev {
	    left: var(--swiper-navigation-sides-offset,79%) !important;
	}
	.swiper-carouse-child .swiper-horizontal>.swiper-pagination-bullets, 
	.swiper-carouse-child .swiper-pagination-bullets.swiper-pagination-horizontal, 
	.swiper-carouse-child .swiper-pagination-custom, 
	.swiper-carouse-child .swiper-pagination-fraction {
	    bottom: var(--swiper-pagination-bottom,2%) !important;
	    top: var(--swiper-pagination-top,auto) !important;
	    left: var(--swiper-navigation-sides-offset,26%) !important;
	    width: 50% !important;
	}
	
	/* a_id: 5907 */
	.mySwiper2.swiper{
		padding-bottom: 50px
	}
	.mySwiper2 .swiper-button-next, 
	.mySwiper2 .swiper-button-prev {
	    position: absolute;
	    top: auto;
	    bottom: var(--swiper-navigation-bottom-offset,0%);
	}
	.mySwiper2 .swiper-button-prev, 
	.mySwiper2 .swiper-rtl .swiper-button-next {
	    left: var(--swiper-navigation-sides-offset,40%);
	    right: auto;
	}
	.mySwiper2 .swiper-button-next, 
	.mySwiper2 .swiper-rtl .swiper-button-prev {
	    right: var(--swiper-navigation-sides-offset,40%);
	    left: auto;
	}
	.mySwiper2 .swiper-button-next:after, 
	.mySwiper2 .swiper-button-prev:after {
		color: var(--black);
		font-size: 2.3em;
	}
	
	.newsletter-box {
	    padding: 30px 0 !important;
	}

	.box-contact-form-esporre-0 {
	    padding-top: 130px !important;
    	padding-bottom: 15px !important;
	    background-size: 100% 30% !important;
	}
	
	/* catalogo ajax */
	
	#tabsCatalogue li,
	#tabsCatalogue button{
		width:100% !important;
	}
	#tabsCatalogue button:not(.active){
		border-bottom:2px solid var(--bg1) !important;;
	}
	

}




/*** iPhone 6 in portrait & landscape */
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) {
	footer a {
	    font-size: 13px;
	    line-height: 27px;
	}
	.cookieconsent-optout-marketing .bg-text {
	    padding: 11% 20px;
	 }
	 
	 .swiper-slide-content h2{
		min-height:185px !important;
		display:block !important;
	}
	
}

/* iPhone 6 in landscape */
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) {
	.post-footer .colonna h5 {
		margin-top:0;
	}
	.footer-row-social a {
	    width: 34pxpx;
	}
	.footer-row-social li {
		margin-left:2px;
	}
}

/* iPhone 6 in portrait */
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : portrait) {
	
}

/* iPhone 6 Plus in portrait & landscape */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) {
	
}

/* iPhone 6 Plus in landscape */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : landscape) {
.post-footer .colonna h5 {
		margin-top:0;
	}
	.footer-row-social a {
	    width: 34pxpx;
	}
	.footer-row-social li {
		margin-left:2px;
	}
}

/* iPhone 6 Plus in portrait */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : portrait) {

}

/* iPhone 5 & 5S in portrait & landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) {
	
	.dashboard-area-ris-visitors-box {
	    padding: 10px 5px;
	}
	
	#formUserProfile .accordion-body {
		padding:10px 5px;
	}
	
	.counter-count {
		font-size: 40px;
	  	line-height: 50px;
	}
	.number-animate sup {
	  font-size: 17px !important;
	}
	.numeri-box p {
	  font-size: 38px;
	}
	
	.logo-box {
		padding: 40px 0px;
	}
	.post-footer .colonna {
	  	width: 100% !important;
	  	text-align: center;
	  	padding-bottom:20px;
	}
	.post-footer .colonna h5 {
		margin-top:0;
	}
	.footer-row-social a {
	    width: 34pxpx;
	}
	.footer-row-social li {
		margin-left:2px;
	}
	
}


/* iPhone 5 & 5S in landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) { 
	.post-footer .colonna h5 {
		margin-top:0;
	}
	.footer-row-social a {
	    width: 34px;
	}
	.footer-row-social li {
		margin-left:2px;
	}
	.logo-box {
		padding: 40px 0px;
	}
}

/* iPhone 5 & 5S in portrait */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) {
	
}

/* iPad in portrait & landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
	
}

/* iPad in landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { 
	.post-footer .colonna h5 {
		margin-top:0;
	}
	.footer-row-social a {
	    width: 34px;
	}
	.footer-row-social li {
		margin-left:2px;
	}
	.logo-box {
		padding: 40px 0px;
	}
}

/* iPad in portrait */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	
	
}

/* Retina iPad in portrait & landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 2) { 

}

/* Retina iPad in landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio: 2) { 
	.post-footer .colonna h5 {
		margin-top:0;
	}
	.footer-row-social a {
	    width: 34px;
	}
	.footer-row-social li {
		margin-left:2px;
	}
	.logo-box {
		padding: 40px 0px;
	}
}

/* Retina iPad in portrait */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 2) {

}

/* iPad mini in portrait & landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 1)  {
	
}

/* iPad mini in landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio: 1)  {
	.post-footer .colonna h5 {
		margin-top:0;
	}
	.footer-row-social a {
	    width: 34px;
	}
	.footer-row-social li {
		margin-left:2px;
	}
	.logo-box {
		padding: 40px 0px;
	}
}

/* iPad mini in portrait */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 1)  {
	
}


