/* --------------------------------------------
	CODECONTROL.it
	Milano - Via Segantini 71

	CSS Stylesheet
-------------------------------------------- */


/* --------------------------------------------
	GENERAL RULES
-------------------------------------------- */

* {
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-font-size-adjust: 100%;
	-moz-osx-font-smoothing: grayscale;
	padding: 0;
	margin: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: black;
}
::-moz-selection {
    background: #000;
    color: #fff;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased
}
::selection {
    background: #000;
    color: #fff;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased
}
::-moz-selection {
    background: rgba(250, 250, 250, 0.99);
    color: #000;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased
}

::selection {
    background: rgba(250, 250, 250, 0.99);
    color: #000;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased
}


/* --------------------------------------------
	TYPE INFOS
-------------------------------------------- */

body {
		background: #fff;
		font-family: Helvetica, 'FormatGroteskNormal';
		cursor: url("../images/cursor.svg") 10 10, auto;
}

p {
		display: block;
		max-width: 45vw;
		max-width: 97%;
}

h1,h2,h3,h4,h5,h6 {
		font-family: Helvetica, 'FormatGroteskNormal';
		font-size: inherit;
		font-weight: normal
}

h1 {
	    text-transform: uppercase;
	    font-size: 6vw;
	    line-height: 5.3vw;
}

.font-xxs {
		font-family: Helvetica, 'FormatGroteskNormal';
		font-size: 1.5vw;
		line-height: 1.5vw;
		letter-spacing: 1.7px;
		margin-bottom: 20px;
}

.font-xs {
  	 	font-size: 1.4vw;
  	 	line-height: 1.4vw;
}
.font-s {
	    font-size: 2.4vw;
		line-height: 2.8vw;
		letter-spacing: -.3px;
}
.number {
		letter-spacing: 0px;
}
.font-m {
		font-size: 3.5vw;
	    line-height: 3.8vw;
	    letter-spacing: -1px;
}
.font-m hr {
	    height: 4.5vw
}
.font-l {
		font-family: Helvetica, 'FormatGroteskNormal';
		letter-spacing: -.35vw;
		font-size: 10.64vw;
		line-height: 9.5vw;
}
.font-xl {
	    font-size: 18vw;
	    line-height: 18vw
}

/* --------------------------------------------
	STRUCTURE
-------------------------------------------- */

html,
body,
.main,
.container-fluid,
.col-right {
    height: 100%
}

.main {
    background: inherit
}

#main a {
    text-decoration: none;
    display: inline-block;
    color: #000;
    text-decoration: none;
    /* border-bottom: none; */
    position: relative
}

#main a:hover {
    text-decoration: none;
    border-bottom: none
}

/* #main a:after {
    content: '';
    width: 100%;
    border-bottom: solid 2px #000;
    display: block;
    -webkit-transition: all .4s;
    transition: all .4s;
    float: left
}

#main a:hover:after {
    width: 0;
    height: 100%;
    float: right
} */

.container-fluid {
    width: 100%;
    background: inherit
}

.col-left {
    width: 50%;
    height: 100%;
    float: left;
    overflow: visible;
    position: fixed;
    top: 0;
    z-index: 100;
    background: inherit;
		background: transparent
}

.col-right {
    width: 50%;
		/* width: 80%; */
    float: right;
    z-index: 100
}
.col-right .box {
	padding: 0;
}

#main a {
    color: #fff
}
/* --------------------------------------------
	LINKS
-------------------------------------------- */


.blurr {
		-webkit-transition: -webkit-filter 425ms cubic-bezier(.215, .61, .355, 1);
		transition: -webkit-filter 425ms cubic-bezier(.215, .61, .355, 1);
		transition: filter 425ms cubic-bezier(.215, .61, .355, 1);
		transition: filter 425ms cubic-bezier(.215, .61, .355, 1), -webkit-filter 425ms cubic-bezier(.215, .61, .355, 1);
}

.blurr:hover {
		-webkit-filter: blur(4px);
		filter: blur(4px);
		color: #a3a3a3;
}
.borderb {
	border-bottom: 2px solid #fff;
}
#main a.borderb:hover  {
	border-bottom: 2px solid transparent;
}
.btn-toggle:hover {
    border-bottom: 2px solid transparent;
}

a.normal-link {
    border-bottom: solid 2px #000 !important
}
a.normal-link:hover {
    border-bottom: solid 2px transparent !important
}
/* a.normal-link:after,
a.normal-link:hover:after {
    display: none !important
} */
a.normal-link {
    border-bottom: solid 2px #fff !important
}
.popup a {
    border-bottom: solid 1px #fff !important
}
a,
a:hover,
.btn-toggle,
.btn-toggle-close,
.posizione:hover,
.btn-gallery,
.btn-close,
button,
button:hover,
.form-button,
button[type=submit],
.master-close,
.popup-gallery--video:hover {
    cursor: url("../images/cursor_pointer.svg") 10 10, pointer !important
}


/* --------------------------------------------
	AFTER ETC
-------------------------------------------- */

/* .btn-toggle:after {
    border-bottom: solid 2px #fff
}
.font-s .btn-toggle:after {
    border-bottom: solid 1px #fff !important
}
.col-right .font-s a {
    border-bottom: solid 1px #fff !important
} */

/* --------------------------------------------
	POSIZIONE
-------------------------------------------- */

.posizione {
    position: absolute
}
.posizione span {
    opacity: 0;
    -webkit-transition: all .2s;
    transition: all .2s;
    position: absolute;
    top: 4px;
    right: 0;
    margin-right: -5.5vw;
    text-indent: -99999px;
    background: url(../images/external.svg) no-repeat;
    width: 4vw;
    height: 100%
}
.posizione:hover span {
    opacity: 1
}
.posizione span {
    background-size: 100%
}

/* --------------------------------------------
	POPUP
-------------------------------------------- */

.popup a {
    text-decoration: none;
    border-bottom: solid 1px #000 !important
}
.popup a:after {
    display: none !important;
    visibility: hidden
}
.popup a:hover {
    border-bottom: solid 1px transparent !important
}
.popup a:hover:after {
    display: none !important
}


/* --------------------------------------------
	INTRO CLASSES
-------------------------------------------- */

.introd {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    padding: 15px;
    z-index: 200;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.introd h1,
.introd h2,
.introd h3 {
	font-size: 3.5vw;
	line-height: 3.8vw;
	letter-spacing: -1px;
	text-transform: none;
}
.introd a {
	text-decoration: none;
	color: #000
}
.introd-frase {
}
.introd-frase span {
}

.contact {
	position: fixed;
	bottom: 0;
	right: 0;
	display: block;
	padding: 15px;
	z-index: 200;
	-webkit-box-sizing: border-box;
	box-sizing: border-box
}
.contact a {
	color: #000;
	font-size: 1.75vw;
	line-height: 1.9vw;
	letter-spacing: -1px;
	text-decoration: none;
}

.slide_caption {
	bottom: 0px;
	left: 0px;
	padding: 15px;
	position: fixed;
	text-align: left;
}
.slide_caption > div {
	/*background: #fff;*/
	clear: both;
	color: #000;
	/*display: inline;*/
	display: none;
	float: left;
	font-size: 1.75vw;
	line-height: 1.9vw;
	letter-spacing: -1px;
	padding: 0 5px;
}
.slide_caption > div > span {
	text-decoration: underline;
}
.slide_caption .slide_caption_name {
	display: inline;
}

@media (max-width: 767px) {
	.introd h1,
	.introd h2,
	.introd h3 {
		font-size: 21px;
		line-height: 25px;
	}
	.contact a,
	.slide_caption > div {
		font-size: 21px;
		line-height: 25px;
	}
	.contact {
		left: 0;
		right: auto;
	}
	.slide_caption {
		display: none;
	}
}

/* --------------------------------------------
	draggable
-------------------------------------------- */

.draggable {
	width: 20vw;
	height: auto;
	text-align: center;
	margin: auto;
	float: left;
	padding: 40px 25px;
	background: transparent;
	cursor: grab !important;
	position: absolute;
	box-shadow: 0px 0px 84px 6px #0000001f;
}
.square {
		border-radius: none;
}
.circle {
		border-radius: 100%;
}

/* --------------------------------------------
	BOX
-------------------------------------------- */

.box {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 15px;
    overflow-x: hidden
}

.col-left .box {
    height: 100%;
    overflow-y: hidden
}
.col-right {
	height: auto;
}
.col-right .box {
    padding-bottom: 13.5vw;
    padding-top: 40px;
    overflow-y: hidden;
		display: block
}

.col-right .font-s a,
.col-right .font-s a {
    position: relative !important
}

.col-right .font-s a:after {
    display: none !important
}

/* .col-right .font-s a {
    border-bottom: solid 1px #000 !important
}
.col-right .font-s a:hover {
    border-bottom: solid 1px transparent !important
} */

.row {
		position: relative;
		display: table;
		width: 100%;
		left: 0;
		padding: 26px !important;
		padding-bottom: 26px !important;
		clear: both;
		box-sizing: border-box;
		visibility: visible;
		z-index: 999;
}
.col {
	  display: table-cell;
}
.half-left {
		width: 50%;
		float: left;
		padding-right: 15px;
		clear: both;
}
.half-right {
		width: 50%;
		float: right;
}
.anch-bottom {
    position: absolute;
    bottom: 0;
    display: block;
    width: 88%;
    margin-bottom: 20px;
}

.clients__logos {
		padding: 0 !important;
		background: white;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px dotted #ebebeb;
    border-right: 1px dotted #ebebeb;
}
.client__logo {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-top: 1px dotted #ebebeb;
    border-left: 1px dotted #ebebeb;
    padding: 48px;
}

.client__logo {
    width: 25%;
}
.client__logo img {
		display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
/* --------------------------------------------
	cambioslide
-------------------------------------------- */

.cambioslide {
    display: none
}

.cambioslide-active {
    display: block
}
.cambioslide.font-l {
		background: -webkit-linear-gradient(#7f57e0, #d21515);
	 -webkit-background-clip: text;
	 -webkit-text-fill-color: transparent;
}
.cambioslide.font-l {
  background: linear-gradient(to right, #7f57e0 0%, #b74694 50%, #7f57e0 100%);
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-animation: shine 2s linear infinite;
          animation: shine 2s linear infinite;
}
@-webkit-keyframes shine {
  to {
    background-position: 200% center;
  }
}
@keyframes shine {
  to {
    background-position: 200% center;
  }
}


.col-right .box.cambioslide-point-1 {
	padding-top: 20px;
	padding-bottom: 20px;
}
.col-right .box.cambioslide-point-2 {
	 padding-top: 25px;
	 padding-bottom: 20px;
 }
.col-right .box.cambioslide-point-3 {
	 padding-top: 25px;
}
.col-right .box.cambioslide-point-4 {
	padding-bottom: 0px;
}
.col-right .box.cambioslide-point-5 {
	padding-top: 0;
	padding-bottom: 10vw;
}
.col-right .box.cambioslide-point-6 {
	padding-bottom: 16vw;
}


/* ------------------------------------------
	SOCIAL
-------------------------------------------- */

.social {
	position: absolute;
	bottom: 26px;
	margin-bottom: 0;
}
.social a {
	padding-bottom: 3px;
	border-bottom: 1px solid #fff;
	margin-left: 15px;
	font-family: 'FormatGroteskNormal';
}
.social a:hover {
	border-bottom: 1px solid transparent;
}


/* ------------------------------------------
	PANNELLI TOGGLE
-------------------------------------------- */

.popup {
    opacity: 1;
    position: fixed;
    top: 0;
    bottom: 0;
    overflow: auto;
    padding: 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 250;
    overflow-x: hidden;
    right: -100%;
    background: inherit;
    -webkit-transition: all .9s;
    transition: all .9s;
		background: #3a7dc7;

		background: linear-gradient(to right, #7f57e0 0%, #b74694 50%, #7f57e0 100%);
		background-size: 600% auto;
		-webkit-animation: shine 10s linear infinite;
		animation: shine 10s linear infinite;
}

.popup-content {
    width: 88%
}

.popup-visible {
    opacity: 1;
    left: 0
}
.popup-visible.popup-visible {
    left: 0
}

.popup-50 {
    width: 50%
}

.popup-100 {
    width: 100%
}

.btn-toggle,
.btn-toggle-close {
    text-decoration: none;
    display: inline-block;
    position: absolute;
		border-bottom: 2px solid;
}


.btn-close {
    float: right;
    height: 50px;
    width: 50px;
    right: 50.5%;
    -webkit-transition: all .2s;
    transition: all .2s;
    border: none;
    text-indent: -99999px;
    background: url(../images/close.svg)
}

#gallery .btn-close {
    background: url(../images/close_old.svg)
}

.btn-close:hover {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg)
}

.master-close {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: blue;
    display: none;
    opacity: 0;
    z-index: 50
}

.master-close--video {
    z-index: -200;
    opacity: 0
}

.noscroll {
    overflow: hidden
}


/* --------------------------------------------
	GALLERY & VIDEO
-------------------------------------------- */

.box-gallery {
    position: relative;
    min-height: 100%
}

.btn-gallery {
    top: 13.5vw;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0
}

.btn-gallery span {
    -webkit-transform: rotate(0);
    transform: rotate(0);
    display: block;
    width: 60px;
    height: 60px;
    right: 0;
    position: absolute;
    top: 70%;
    -webkit-transform: translateY(-70%);
    transform: translateY(-70%);
    -webkit-transition: all .2s;
    transition: all .2s;
    text-indent: -99999px;
    background: url(../images/plus.svg) center no-repeat;
    right: 20px;
    zoom: 1.2
}

.btn-gallery:hover span {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    margin-top: -40px
}

.box img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0
}

.imprint {
    width: 60%;
    bottom: 0
}

.popup-gallery {
    left: 100%
}

#video {
    background: transparent !important
}

.popup-gallery video {
    position: absolute;
    max-width: 90%;
    max-height: 90%;
    left: 50%;
    top: 50%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: #000
}

.cycle-slideshow {
    z-index: -1;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: hidden
}

.cycle-slideshow img {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    position: absolute
}

.cycle-slideshow div.image {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important
}

.cycle-prev,
.cycle-next {
    height: 100%;
    width: 50%;
    position: absolute;
    z-index: 200;
    top: 0;
    text-indent: -99999px;
    display: block
}

.cycle-prev {
    left: 0;
    cursor: url("../images/cursor_prev.svg") 10 10, auto
}

.cycle-next {
    right: 0;
    cursor: url("../images/cursor_next.svg") 10 10, auto
}




/* --------------------------------------------
	IMAGE HOVER
-------------------------------------------- */
.singleproject {
	margin-bottom: 10px;
}
.singleproject span.font-xs {
    display: block;
    font-size: 1.8vw;
	font-size: 2.4vw;
    line-height: 5vw;
    padding-left: 3px;
    opacity: 0;
    position: absolute;
    top: 0;
    background: black;
    width: 100%;
}

a.imgproject {
		display: block;
		width: 100%;
}

a.imgproject:hover span {
		opacity: 1;
		color: #343434;
}

.singleproject .image {
    width: 46vw;
    margin-top: -24vw;
}

a.imgproject:visited {
  	color: #232323;
}

/* #main a.imgproject {
	border-bottom: 2px solid transparent;
}
#main a.imgproject:hover {
	border-bottom: 2px solid #fff;
}
#main a.imgproject:after {
    border-bottom: none;
} */


/* --------------------------------------------
	MEDIA Q
-------------------------------------------- */


@media (max-width: 750px) {
    .col-left,
    .col-right,
    .popup {
        width: 100%;
        float: none
    }
    .col-left {
        position: static;
        height: auto
    }
		.col-right {
				padding: 60px 15px 0 15px;
		}

    .col-left .box {
        height: auto;
        display: none
    }
		.row {
		    padding: 15px !important;
		}
    .btn-close {
        right: 0
    }
		.borderb {
				border-bottom: 1px solid;
		}
		.font-xxs {
				font-size: 14px;
				line-height: 18px;
		}
    .font-s,
    .text-xs {
				font-size: 16px;
				line-height: 21px;
    }
    .font-m {
font-size: 21px;
    line-height: 25px;
    }
    .font-m hr {
        height: 9.5vw
    }
    .font-l {
        font-size: 15vw;
        line-height: 13vw
    }
    .popup-content {
        width: 85%
    }
    .introd-left,
    .introd-right {
        width: 100%;
        height: 50%
    }
    p {
        max-width: 100%;
        width: 100%;
        display: block
    }
    p.imprint {
        width: 100%
    }
    .posizione span {
        margin-right: -9vw;
        opacity: 1;
        width: 6.7vw
    }
    ul.logos li {
        height: 6vw;
        margin-right: 12vw;
        margin-bottom: 2rem
    }
    .logo-fcl {
        height: 12.1vw !important
    }
    .logo-sutd {
        height: 10vw !important
    }
}


@media (max-width: 500px) {
		.col-right {
				padding: 40px 15px 0 15px
		}
    .btn-toggle:after,
    #main a:after {
        border-bottom: solid 1px #000 !important
    }
    a.normal-link {
        border-bottom: solid 1px #000 !important
    }
    a.normal-link:hover {
        border-bottom: solid 1px transparent !important
    }
    .btn-close {
        zoom: .7
    }
		.social a {
		    display: block;
		    width: 100%;
		    margin: 0;
		    border-bottom: none;
		    padding: 0;
		}

		.col-right .box.cambioslide-point-2 {
		    padding-top: 15px;
		    padding-bottom: 15px;
		}
		.col-right .box.cambioslide-point-4 {
		    padding-bottom: 0px;
		    padding-top: 60px;
		}
		.singleproject span.font-xs {
				font-size: 16px;
			  line-height: 21px;
		    padding-left: 0;
		    opacity: 1;
		    position: relative;
		    background: transparent;
		    width: 100%;
		}

		.draggable.ui-draggable {
		    position: relative !important;
		    left: 0 !important;
		    top: 0 !important;
		}
		.draggable {
		    width: 100px;
		    padding: 20px 5px;
		}

}
@media (any-pointer: coarse) {
    .introd-typeloop {
        overflow: hidden;
        position: relative
    }
    .typeloop {
        font-size: 23vh;
        line-height: 25vh;
        position: absolute;
        white-space: nowrap;
        overflow: visible
    }
    .typeloop span {
        white-space: nowrap;
        position: relative
    }
    .typeloop-2,
    .typeloop-4 {
        line-height: 22vh
    }
    .typeloop-1 {
        top: 0vh
    }
    .typeloop-2 {
        top: 20vh
    }
    .typeloop-3 {
        top: 40vh
    }
    .typeloop-4 {
        top: 60vh
    }
}
@media (max-width: 500px) {
    .btn-toggle:after,
    #main a:after {
        border-bottom: solid 1px #fff !important
    }
    a.normal-link {
        border-bottom: solid 1px #fff !important
    }
}

.btn-toggle:after {
    border-bottom: solid 2px #fff
}

.font-s .btn-toggle:after {
    border-bottom: solid 1px #fff !important
}



/* --------------------------------------------
	MEDIA Q
-------------------------------------------- */

.slide_item {
  background-position: center center;
  background-size: cover;
  height: 100vh;
}






