@charset "UTF-8";

/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}




/* Stili custom
   ========================================================================== 
   ========================================================================== */

@font-face {
    font-family: 'Apercu';
    src: url('../font/apercu_regular-webfont.woff2') format('woff2'),
         url('../font/apercu_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Apercu';
    src: url('../font/apercu_bold-webfont.woff2') format('woff2'),
         url('../font/apercu_bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}


body {
	font-family: 'Apercu', sans-serif;
	font-weight: 300;
	font-size: 1em;
	line-height: 1.4;
	background-color: #fff;
	color: #000;
}

strong { font-weight: bold; }
	
a {
	text-decoration: none;
	color: #000000;
}
	
a:hover {
	text-decoration: underline;
	color: #000000;
	transition: color 0.5s ease;
}

#branding {
	margin: 10px 25px;
	font-size: 1.275rem;
}
#branding h1 {
	margin: 0 0 0.55em 0;;
	font-size: 1.275rem;
}
#branding p { margin: 0; }

#branding a { 
	text-decoration: none;
	transition: opacity 0.5s ease;
}
#branding a:hover { 
	opacity: 0.5;	
}

.tapiro-link {}
.tapiro-link img {
	display: block;
	width: 35vw;
	height: auto;
	margin: 50px auto;
}

.home #caption {
	margin: 25px;
	padding: 0;
	text-align: left;
	color: #95979a;
	font-size: 1.275rem;
}

@media screen and (min-width: 768px) {
	.tapiro-link {
		position: absolute;
		top: 50%;
		left: 32.5vw;	
		transform: translateY(-50%);
	}
	
	#branding {
		position: absolute;
		top: 35px;
		left: 35px;
		font-size: 1.275rem;
	}
	
	.home #caption {
		position: fixed;
		bottom: 2.3vh;
		left: 0;
		right: 0;
		margin: 0;
		padding-left: 15px;
		padding-right: 15px;
		text-align: center;
	}
	.home #caption br { display: none; }
}

.instagram {
	position: relative;
	top: 5px;
	display: inline-block;
	width: 24px;
	height: 0;
	padding-top: 24px;
	overflow: hidden;
	background: url(../img/instagram.svg) center center no-repeat;
}


/* Works */

.logo { margin: 80px 0 50px 0; }



.close {
	display: none;
	position: absolute;
	top: 20px;
	right: 20px;
	width: 25px;
	height: 25px;
	/*background: url(../img/close.png) 0 0 no-repeat;*/
	background: url(../img/close_dark.png) 0 0 no-repeat; 
	text-indent: -999999px;
	z-index: 200;
}
/*.close[data-color="dark"] { background: url(../img/close_dark.png) 0 0 no-repeat; }*/

#logo {
	position: absolute;
	top: 2vh;
	left: 50%;
	margin: 0 0 0 -15px;
	z-index: 50;
}
#logo img { margin: 0; }

.owl-carousel {
	position: relative;
	height: 100%;
	touch-action: manipulation;
}


.page-works .owl-carousel {
	height: 53vw;
	margin-top: 8vh;
}

.page-works .owl-slide {
	width: 80vw;
	margin: auto;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}



.owl-stage-outer, .owl-stage, .owl-slide, .owl-item {
	height: 100%;
}
.page-works .owl-carousel .owl-stage-outer {
	padding-bottom: 80px;
}



.owl-text {
	/*display: none;*/
	
	position: absolute;
	bottom: -52px;
	left: 0;
	right: 0;
	padding: 15px 10px;
	color: #95979a;
	background-color: #fff;
	font-size: 1rem;
	text-align: center;
}

@media screen and (max-width: 420px){
	.owl-text.long-caption { bottom: -74px; }
}
/*.owl-text[data-color="dark"] { color: #95979a; }*/


.page-works #caption {
	display: none;
}

.owl-pre-text {
	position: absolute;
	top: 10px;
	left: 0;
	right: 0;
	color: #fff;
}
.owl-pre-text[data-color="dark"] { color: #58595B; }

.owl-prev {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	width: 25vh;
	z-index: 100;
	text-indent: -9999px;
}
.owl-next {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	width: 25vh;
	z-index: 100;
	text-indent: -9999px;
}

.page-works #caption {
	margin-top: 15px;
	padding-left: 15px;
	padding-right: 15px;
	color: #95979a;
	font-size: 1rem;
	text-align: center;
}

#caption a {
	color: inherit;
	text-decoration: none;
	transition: color 0.5s ease;
}
#caption a:hover {
	color: #000;
}

@media screen and (min-width: 1025px){

	.page-works .owl-carousel {
		height: 85vh;
		margin-top: 7.5vh;
	}
	
	.page-works #caption {
		display: block;
		position: fixed;
		bottom: 2.3vh;
		left: 0;
		right: 0;
		margin: 0;
		font-size: 1.275rem;
	}
	
	.page-works .owl-carousel .owl-stage-outer {
		padding-bottom: 0;
	}

	.owl-text {
		display: none;
	}
	
}


@media screen and (min-width: 1024px){
	/*a, .page-works .owl-carousel .owl-nav .owl-prev, .page-works .owl-carousel .owl-nav .owl-next {
		cursor: url('../img/tapiro.png'), pointer;
	}*/
	
	#caption {
		bottom: 2.6vh;
		font-size: 1.2rem;
	}	
}

@media screen and (max-height: 480px){
	#caption {
		position: static;
		margin-top: 420px;
		padding-bottom: 15px;
	}
	
	.page-works #caption {
		margin-top: 15px;	
	}
	.page-works .owl-carousel {
		margin-top: 12vh;
	}
	
}



/*
@keyframes bgchange {
    0%   {background-color: #48EED3;}
    25%  {background-color: #FFFF55;}
    50%  {background-color: #FF7351;}
    100% {background-color: #48EED3;}
}

body.home {
	background-color: red;
    animation-name: bgchange;
    animation-duration: 9s;
	animation-iteration-count: infinite;
}
*/


/*
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;

    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;

    z-index: 1001;
}

    #loader:before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #e74c3c;

        -webkit-animation: spin 3s linear infinite;
        animation: spin 3s linear infinite;
    }

    #loader:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #f9c922;

        -webkit-animation: spin 1.5s linear infinite;
          animation: spin 1.5s linear infinite;
    }

    @-webkit-keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);
            -ms-transform: rotate(0deg);
            transform: rotate(0deg);
        }
        100% {
            -webkit-transform: rotate(360deg);
            -ms-transform: rotate(360deg);
            transform: rotate(360deg);
        }
    }
    @keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);
            -ms-transform: rotate(0deg);
            transform: rotate(0deg);
        }
        100% {
            -webkit-transform: rotate(360deg);
            -ms-transform: rotate(360deg);
            transform: rotate(360deg);
        }
    }

    #loader-wrapper .loader-section {
        position: fixed;
        top: 0;
        width: 51%;
        height: 100%;
        background: #BCBEC0;
        z-index: 1000;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    #loader-wrapper .loader-section.section-left {
        left: 0;
    }

    #loader-wrapper .loader-section.section-right {
        right: 0;
    }

    .loaded #loader-wrapper .loader-section.section-left {
        -webkit-transform: translateX(-100%);
            -ms-transform: translateX(-100%);
                transform: translateX(-100%);

        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  
                transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    }

    .loaded #loader-wrapper .loader-section.section-right {
        -webkit-transform: translateX(100%);
            -ms-transform: translateX(100%);
                transform: translateX(100%);

-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  
        transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    }
    
    .loaded #loader {
        opacity: 0;
        -webkit-transition: all 0.3s ease-out;  
                transition: all 0.3s ease-out;
    }
    .loaded #loader-wrapper {
        visibility: hidden;

        -webkit-transform: translateY(-100%);
            -ms-transform: translateY(-100%);
                transform: translateY(-100%);

        -webkit-transition: all 0.3s 1s ease-out;  
                transition: all 0.3s 1s ease-out;
    }
    
    .no-js #loader-wrapper {
        display: none;
    }
    .no-js h1 {
        color: #222222;
    }

    #content {
        margin: 0 auto;
        padding-bottom: 50px;
        width: 80%;
        max-width: 978px;
    }
*/  