@import url("https://use.typekit.net/afr0nfd.css");

.social-img {width:39px !important; height:39px !important}

.Letter_Gothic_Std_Medium{
	font-family: letter-gothic-std, monospace;
	font-weight: 400;
	font-style: normal;
}

.Letter_Gothic_Std_Slanted{
	font-family: letter-gothic-std, monospace;
	font-weight: 400;
	font-style: italic;
}

.Letter_Gothic_Std_Bold{
	font-family: letter-gothic-std, monospace;
	font-weight: 700;
	font-style: normal;
}

.Letter_Gothic_Std_Slanted{
	font-family: letter-gothic-std, monospace;
	font-weight: 700;
	font-style: italic;
}

.font600{
	font-weight:600;
}

.font700{
	font-weight:700;
}

.uk-logo{
	white-space: nowrap;
}

.tm-main{
	padding-top:0px !important;
}

svg[data-svg~=receiver]{
    transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -ms-transform:rotate(135deg);
    -o-transform:rotate(135deg);
}

.home .tm-header .uk-navbar {
    border-bottom: none;
}

@media screen and (max-width:1100px){
	.uk-logo{
		font-size:26px;
	}
}

.social-toolbar a, .social-toolbar a:link, .social-toolbar a:visited{
	text-transform: uppercase;
	color: #909295;
	font-size: 16px;
}

.social-toolbar .icone-social-toolbar{
	margin-right:15px;
	margin-left:15px;
}


@media screen and (max-width:767px){
	.social-toolbar{
		flex-direction: column;
		text-align: left !important;
	}
}

/*
.tm-header .uk-navbar-right:after{
	content: "";
	border-bottom: 1px solid #000000;
	display:block;
	position:absolute;
	width:100%;
	height:1px;
	bottom:0px;
	right:0px;
}
*/

.tm-header .uk-navbar{
	border-bottom: 1px solid #000000;
	padding-top:20px;
}

/*SUBMENU*/

.cardi-sottomenu{
	border-bottom: 1px solid #BABABA;
	background: #fff;
}


.uk-subnav{
	padding-top:4px;
	padding-bottom:4px;
}


@media screen and (max-width:960px){
	
	.cardi-sticky-section.uk-sticky-fixed{
		top: 60px !important;
	}
	
	.cardi-sottomenu > .uk-subnav{
		justify-content: center !important;
	}
	
	.cardi-sottomenu > .uk-subnav a{
		font-size:16px !important;
	}
	
}
/*SUBMENU*/

/*TYPOGRAPHY*/

@media screen and (max-width:960px){
	
	.uk-heading-medium{
		font-size:30px !important;
	}	
	
	.uk-heading-small{
		font-size:25px !important;
	}
	
	.uk-h3{
		font-size:18px !important;
	}
	
	.uk-h4{
		font-size:16px !important;
	}
	
	.uk-h5{
		font-size:15px !important;
	}
	
}

/*FINE TYPOGRAPHY*/

/*EXHIBITION*/

.video-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
}
		
.video-container iframe,.video-container object,.video-container embed {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}

.exhibition-prenotazione-btn {border: 1px solid;
    padding: 5px 20px;
    margin-top: 10px;
text-decoration:none !important}

.exhibition-prenotazione-btn:hover {text-decoration:none !important}

.exhibition-prenotazione-btn .uk-icon {vertical-align: 2px;}


.exhibitions-archive-item .uk-position-cover{
	background: rgba(0, 0, 0, 0.5);
    transition: all 500ms 100ms cubic-bezier(.15,.41,.57,.89);
}

.exhibitions-archive-item:hover .uk-position-cover{
	background: rgba(0, 0, 0, 0.2);
    transition: all 500ms 100ms cubic-bezier(.15,.41,.57,.89);
}

.exhibitions-archive-content{
	position:relative;
}

.uk-overlay:before{
    content:"";
    position:absolute;
    display:block;
    left: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: width 400ms cubic-bezier(.4,.76,.79,.88);
    z-index:0;
}

.exhibitions-archive-item:hover .uk-overlay:before{
    width: 100%;
	transition: width 400ms 100ms cubic-bezier(.4,.76,.79,.88);
}

@media screen and (max-width:769px){
	
	.exhibitions-archive-item .uk-position-cover{
		background: rgba(0, 0, 0, 0);
		transition:none;
	}
	
	.exhibitions-archive-item:hover .uk-position-cover{
		background: rgba(0, 0, 0, 0);
	    transition: none;
	}
	
	.uk-overlay:before{
	    background: rgba(0, 0, 0, 0);
	    transition: none;
	}
	
	.exhibitions-archive-item-no-link .uk-position-cover{
		background: rgba(0, 0, 0, 0);
	}
	
	
	.exhibitions-archive-content{
		display: none;
	}
	
	.cancella-descrizione-mobile{
		display: none;
	}
	
	.exhibitions-archive-content-mobile a{
		text-decoration: none;
	}
	
	.titolo-exhibition-artista-mobile{
		font-size:22px !important;
	}
	
	.testo-data-exhibition-mobile{
		font-size:13px !important;
	}
	
	a{
		text-decoration:underline;
	}
	
	.uk-subnav a {
		text-decoration:none;
	}
	
	.uk-text-large {
		font-size: 16px;
	}
	
	.flickity-button{
		display:none;
	}
	
	.post-type-archive-magazine_cardig .uk-h2{
		font-size: 25px;
	}
	
	.rimuovi-altezza-mobile{
		margin-top:0px !important;
	}
}

@media screen and (min-width:769px){
	
	.exhibitions-archive-content-mobile{
		display: none;
	}
	
}



@media screen and (max-width:960px){
	.exhibitions-archive-luogodata > *{
		display: inline-block;
		padding-left:0.05em;
	}
	.exhibitions-archive-luogodata{
		margin-top: 0px !important;
	}
}

.show-read-more .more-text{
    display: none;
}

li.artista-submenu > a{
	color:#000000;
	padding-right:15px;
	border-right:1px solid #000;
	font-weight: 400 !important;
}

li.artista-submenu > a:hover, li.artista-submenu > a:focus, li.artista-submenu > a:active{
	color:#000000;
}

li.artista-submenu{
	display: none;
}

.filtri-archive.uk-nav>li>a {
    padding: 8px 0 0;
}


/*FINE EXHIBITION*/

/*SLIDER*/

.cardithumbslider{
	margin-left: auto;
	margin-right: auto;
	max-width:50%;
}

@media screen and (max-width:960px){
	.cardithumbslider{
		max-width:500px;
	}
}

/*.cardithumbslider ul.uk-thumbnav > li:after, .cardithumbslider ul.uk-thumbnav > li.uk-active:after {
	border:none !important;
}*/

/*.cardithumbslider ul.uk-thumbnav > li:visible:not(:first-child){
	opacity:0.4;
}*/

.cardithumbslider ul.uk-thumbnav > li > a img{
	opacity:0.4;
	height: 60px !important;
}

.cardithumbslider ul.uk-thumbnav > li.imgsliderattiva > a img{
	opacity:1;
}

.cardislideshowviews{
	max-height:500px;
}

.cardislideshowworks > li > img {
	max-height:650px;
}


.cardislideshow > *{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}


/*FLICKITY*/

/*INSTALLATION VIEW*/

.carousel{
	padding: 0 40px;
	box-sizing: border-box;
}

@media screen and (max-width:960px){
	.carousel{
		padding: 0 20px;
	}
}

@media screen and (max-width:640px){
	.carousel{
		padding: 0 15px;
	}
}

.carousel-main .carousel-cell {
	width: 100%;
	text-align: center;
	min-height: 2vh;
	height: 60vw;
	max-height: 550px;
	box-sizing: border-box;
}

.carousel-main .carousel-cell > img {
	width: auto;
    max-height: 500px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-sizing: border-box;
}

.carousel-nav{
	max-width:1300px;
	width:100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.carousel-nav .carousel-cell {
	display: block;
	height: 60px;
	min-width: 30px;
	max-width: 100%;
	margin-right: 10px;
	opacity:0.4;
	box-sizing: border-box;
}

.carousel-nav img.is-nav-selected {
	opacity:1;
}

/*AVAILABLE WORK*/


.carousel-available-work{
	padding: 0 40px;
	box-sizing: border-box;
}

@media screen and (max-width:960px){
	.carousel-available-work{
		padding: 0 20px;
	}
}

@media screen and (max-width:640px){
	.carousel-available-work{
		padding: 0 15px;
	}
}

.carousel-main-available-work .carousel-cell {
	width: 100%;
	text-align: center;
	min-height: 2vh;
	height: 60vw;
	max-height: 650px;
	box-sizing: border-box;
}

@media screen and (max-width:640px){
	.carousel-main-available-work .carousel-cell {
		height: 90vw;
	}
}

.carousel-main-available-work .carousel-cell > img {
	width: auto;
    max-height: 500px;
    /*position: relative;
    top: 50%;
    transform: translateY(-50%);*/
    box-sizing: border-box;
}

.carousel-nav-available-work{
	max-width:1300px;
	width:100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.carousel-nav-available-work .carousel-cell {
	display: block;
	height: 60px;
	min-width: 30px;
	max-width: 100%;
	margin-right: 10px;
	opacity:0.4;
	box-sizing: border-box;
}

.carousel-nav-available-work img.is-nav-selected {
	opacity:1;
}

.descrizione-available-works{
	box-sizing: border-box;
}


/*WORK*/


/*.carousel-work{
	padding: 0 40px;
	box-sizing: border-box;
}

@media screen and (max-width:960px){
	.carousel-work{
		padding: 0 20px;
	}
}

@media screen and (max-width:640px){
	.carousel-work{
		padding: 0 15px;
	}
}*/

.carousel-main-work .carousel-cell {
	width: 100%;
	text-align: center;
	min-height: 2vh;
	height: 100vh;
	box-sizing: border-box;
}

@media screen and (max-width:960px){
	.carousel-main-work .carousel-cell {
		height: 60vw;
	}
}

@media screen and (max-width:640px){
	.carousel-main-work .carousel-cell {
		height: 75vw;
	}
}

.carousel-main-work .carousel-cell > img {
	width: auto;
    max-height: 500px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-sizing: border-box;
    padding: 2% 2%;
}

.carousel-nav-work{
	max-width:1300px;
	width:100%;
	box-sizing: border-box;
}

.carousel-nav-work .carousel-cell {
	display: block;
	height: 60px;
	min-width: 30px;
	max-width: 100%;
	margin-right: 10px;
	opacity:0.4;
	box-sizing: border-box;
}

.carousel-nav-work img.is-nav-selected {
	opacity:1;
}

.sezione-grigia-work{
	padding-top:30px;
}



/*HOMEPAGE*/

.carousel-home{
	width:100%;
	box-sizing: border-box;
}

.carousel-home .carousel-cell {
	width: 100%;
	height: auto;
	box-sizing: border-box;
}

/*
.carousel-home .flickity-page-dots {
	bottom: -22px;
	width:100%;
}

.carousel-home .flickity-page-dots .dot {
	height: 4px;
	margin: 0;
	border-radius: 0;
}
*/

/* position outside */
.carousel-home .flickity-prev-next-button.previous {
  left: -70px;
}

.carousel-home .flickity-prev-next-button.next {
  right: -70px;
}

.slider-home-primo-testo{
	margin-top:40%;	
}

.slider-galleries-primo-testo{
	margin-top:40%;	
}

@media screen and (max-width:960px){
	.slider-home-primo-testo{
		margin-top:auto;	
	}
	
	.slider-galleries-primo-testo{
		margin-top:auto;	
	}
}

/*HOMEPAGE*/

/*FINE FLICKITY*/


/* ENQUIRE FORM */
#form-enquire .nf-form-content .list-select-wrap .nf-field-element>div, #form-enquire .nf-form-content input:not([type=button]), #form-enquire .nf-form-content textarea {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #c4c4c4 !important;
    color: #fff !important;
	padding-left:0px;

}

#form-enquire .nf-form-content textarea.ninja-forms-field {
    height: 100px;
	font-family: 'Titillium Web' !important;
	padding-left:0px;
}

#form-enquire .nf-form-content{
	padding:0px;
}

#form-enquire .nf-form-content button, #form-enquire .nf-form-content input[type=button], #form-enquire .nf-form-content input[type=submit] {
	height:auto !important;
	width:100% !important;
}

#form-enquire .nf-form-content button:hover, #form-enquire .nf-form-content input[type=button]:hover, #form-enquire .nf-form-content input[type=submit]:hover {
    background: #444;
    color: #fff;
}

#form-enquire .nf-form-content .listcheckbox-wrap li, #form-enquire .nf-form-content .listradio-wrap li {
    display: inline-block;
    margin-right: 16px !important;
}

#form-enquire .titolo-enquire-bar{
	font-size:22px !important;
}

#form-enquire .uk-offcanvas-bar {
	padding-top:10px;
}

@media screen and (max-width:960px){
	
	#form-enquire.uk-open>.uk-offcanvas-bar {
	    right: 0 !important;
	}

	#form-enquire .uk-offcanvas-bar {
	    width: 450px;
	    left: auto;
	    right: -450px;
	}
	
}

@media screen and (max-width:640px){
	#form-enquire.uk-open>.uk-offcanvas-bar {
	    right: 0 !important;
	}
	
	#form-enquire .uk-offcanvas-bar {
	    width: 100%;
	    left: auto;
	    right: -100%;
	}
	
}

#form-enquire .nf-field-label label {
	font-size:16px !important;
    font-weight: 400 !important;
}

#form-enquire #ninja_forms_required_items, #form-enquire .nf-field-container {
    margin-bottom: 5px;
}

/* FINE ENQUIRE FORM*/

/* FAIR */

.immagini-fair:hover{
	 opacity:0.6;	
}

/* FIN FAIR */

.home .footer-cardigallery{
	display:none;
}

@media screen and (max-width:767px){
	.footer-cardigallery #ninja_forms_required_items, .footer-cardigallery .nf-field-container {
		margin-bottom:5px !important;
	}
	
	.footer-cardigallery{
		padding-top: 20px;
	}
}	


