/*
Theme Name: AndreaCasadio 2023
Author: Riccardo Piras
Author URI: http://www.riccardopiras.com/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, blue, gray, red, white, yellow, dark, light, one-column, two-columns, right-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: AndreaCasadio

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

* {
    box-sizing: border-box;
}

#wpadminbar {
    display: none;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

body {
    background-color: #f0f1f2;
    overflow: hidden;
    margin: 0;
    height: calc(100vh - 0px);
    padding-top: calc(6.25vw - 0px);
    transition: background-color 0.3s ease-in-out;
}

body.page-template-template-photos {
    overflow: hidden;
    position: relative;
    padding-top: 0px;
}

body.category {
    overflow: hidden;
    position: relative;
    padding-top: 0px;
}

a, a:hover, a:active, a:focus {
    outline: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

/* Reset max-height when in full screen mode */
video:-webkit-full-screen {
    max-height: 100%;
}

video:-moz-full-screen {
    max-height: 100%;
}

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

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: normal;
}

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

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

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

figure {
    margin: 0;
}

hr {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

select {
    text-transform: none;
}

button {
    overflow: visible;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
    opacity: .5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: 0.4375em;
    padding: 0;
}

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

input[type="search"] {
    -webkit-appearance: textfield;
}

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

fieldset {
    border: 1px solid #d1d1d1;
    margin: 0 0 1.75em;
    padding: 0.875em;
}

fieldset > :last-child {
    margin-bottom: 0;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

optgroup {
    font-weight: bold;
}


/**
 * 2.0 - Genericons
 */

.dropdown-toggle {
    display: none;
}


/**
 * 3.0 - Typography
 */

body,
button,
input,
select,
textarea {
    color: #000;
    /*text-rendering: geometricPrecision;*/
    font-family: 'AGaramondPro-Regular', serif;
    font-size: 15px;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    margin: 0;
    text-rendering: geometricPrecision;
}

p {
    margin: 0 0 1.75em;
}

/**
 * 4.0 - Elements
 */

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0px !important;
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

hr {
    background-color: #d1d1d1;
    border: 0;
    height: 1px;
    margin: 0 0 1.75em;
}

ul,
ol {
    margin: 0 0 1.75em 1.25em;
    padding: 0;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
    margin-left: 1.5em;
}

li > ul,
li > ol {
    margin-bottom: 0;
}

dl {
    margin: 0 0 1.75em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 0 1.75em;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
    vertical-align: middle;
}

del {
    opacity: 0.8;
}

table,
th,
td {
    border: 1px solid #d1d1d1;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.75em;
    table-layout: fixed;
    /* Prevents HTML tables from becoming too wide */
    width: 100%;
}

/* CUSTOM */

/*.container {
	width:1200px;
}*/

/*#portrait_message {
	display:none;
}

#portrait_message {
	background:#f0f1f2;
	width:100%;
	height:100vh;
}

#portrait_message > div {
	display: table-cell;
    position: relative;
    text-align: center;
    top: -15vw;
    vertical-align: middle;
}

#portrait_message > div span {
	display:block;
	color:#000;
	font-family: 'BrandonGrotesque-Regular';
	font-size:1em;
	text-transform:uppercase;
	margin-bottom:1.5em;
	letter-spacing:0.2em;
}

#portrait_message > div span:before {
	display:block;
	margin:24px auto;
	width:7px;
	height:2px;
	content:" ";
	background:#000;
}

#portrait_message > div p {
	display:block;
	color:#000;
	opacity:0.5;
	font-family: 'AGaramondPro-Regular', serif;
	font-size:2em;
	margin-top:1em;
	letter-spacing:0.05em;
}

#portrait_message > div p strong {
	font-weight:bold;
	color:#636466;
}

#portrait_message > div > img {
	width:17%;
}
*/


/* HEADER */
.page-header {
    opacity: 1;
    background: none;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0 4.16vw;
    border: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 1000;
    height: calc(6.25vw - 0px);
    line-height: 6.25vw;
    transition: opacity 1.5s ease-in-out 1.5s;
}

.page-template-template-about {

    background-image: url(/wp-content/themes/andreacasadio/images/andrea-casadio.jpg);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 50% auto;

}

@media screen and (min-aspect-ratio: 16/11) {

    .page-template-template-about {

        background-position: left top;

    }

}

.page-template-template-about .page-header, .page-template-template-photos .page-header, .category .page-header {
    transition: opacity 0s ease-in-out 0s;
}

.preload .page-header {
    opacity: 0;
}

/*.home .page-header {
	background-image:url(images/menu_gradient.png);
	background-repeat:repeat-x;
	background-position:left top;
	background-size:auto 100%;
}*/

#logo {
    font-family: 'BrandonGrotesque-Regular';
    font-size: 1.5em;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: inline-block;
    color: #000;
    text-decoration: none !important;
    font-weight: normal;
}

.home #logo {
    color: #f0f1f2;
}

.in_project #logo {
    color: #000;
}

#menuSwitch {
    opacity: 0.25;
    cursor: pointer;
    display: block;
    height: 22px;
    right: calc(4.16vw + 48px);
    top: calc((6.25vw - 22px) * 0.5);
    width: 24px;
    z-index: 20000;
    position: absolute;
    transition: opacity 0.25s ease-in-out;
}

#menuSwitch > img {
    display: block;
}

#menuSwitch:hover {
    opacity: 1;
}

#menuPicto {
    border-radius: 50px;
    cursor: pointer;
    display: block;
    height: 22px;
    right: 4.16vw;
    top: calc((6.25vw - 22px) * 0.5);
    width: 30px;
    z-index: 20000;
    position: absolute;
}

.menuBar {
    display: block;
    height: 2px;
    overflow: hidden;
    position: absolute;
    width: 30px;
}

.home .menuBar {
    background-color: #f0f1f2;
}

.in_project .menuBar, .page-template-template-about .menuBar, .page-template-template-photos .menuBar, .category .menuBar {
    background-color: #000;
}

.menuBarTop {
    top: 0px;
}

.menuBarMid {
    top: 10px;
}

.menuBarBtm {
    top: 20px;
}

.menuTransition {
    transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
}

.menuBarTopTransform {
    top: 10px !important;
    transform: rotate(45deg);
}

.menuBarBtmTransform {
    top: 10px !important;
    transform: rotate(-45deg);
}

/* MENU */

#site-header-menu {
    opacity: 0;
    height: 22px;
    line-height: 22px;
    position: absolute;
    right: calc(4.16vw + 22px);
    top: -300px;
    transform: translate3d(50px, 0, 0);
    transition: opacity 0.25s ease-in-out 0s, transform 0.25s ease-in-out 0s;
}

.active#site-header-menu {
    top: calc((6.25vw - 20px) * 0.5);
    opacity: 1;
    transform: translate3d(0px, 0, 0);
}

#site-navigation {
    background: none;
    border: none;
    margin: 0;
    height: 22px;
}

#container-primary-menu {
    border: none;
    background: none;
}

.navbar-header {
    background: none;
}

.navbar {
    border-radius: 0px;
}

.navbar {
    margin-bottom: 0px;
    min-height: 22px;
    position: relative;
}

.primary-menu {
    display: inline-block;
    margin: 0 auto;
    padding: 0px;
}

.language_menu {

    position: relative;
    margin-left: 2.45rem;
    margin-right: 1rem;

}

/*.language_menu:before {
	
	content: "//";
    color: #787879;
    position: absolute;
    left: -1.5em;

}*/

.menu-primary-menu-container, .menu-primary-menu-inglese-container {
    display: inline-block;
}

.primary-menu > li {
    position: relative;
    list-style: none;
    float: left;
    height: 22px;
}

.primary-menu > li > a {
    display: block;
    font-family: 'BrandonGrotesque-Regular';
    font-size: 0.8em;
    letter-spacing: 0.2em;
    color: #787879;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0 1.13em 0 0;
    transition: color 0.25s ease-in-out;
}

.primary-menu > li > a > span, .title_project > span {
    font-family: 'AGaramondPro-Italic', serif;
}

.primary-menu > li > a:after {
    content: "|";
    margin-left: 1.13em;
}

.primary-menu > li:last-child > a {
    padding: 0px;
}

.primary-menu > li:last-child > a:after {
    content: "";
    margin: 0px;
}

.primary-menu > li.current_page_item > a, .primary-menu > li.current-page-ancestor > a, .primary-menu > li > a:hover {
    color: #000;
}

.cinema .primary-menu > li.current_page_item > a, .cinema .primary-menu > li.current-page-ancestor > a, .cinema .primary-menu > li > a:hover {
    color: #f0f1f2;
}

.primary-menu > li > a:after {
    color: #787879 !important;
}

.cinema .primary-menu > li > a:hover {
    opacity: 1;
    color: #f0f1f2;
}

/* HOMEPAGE */
/*.home.page {
	background-image:url(/wp-content/themes/andreacasadio/images/bg-min.jpg);
	background-position:center top;
	background-size:cover;
	background-repeat: no-repeat;
	background-attachment:fixed;
}*/

.list_projects {
    position: relative;
    /*left:4.167vw;*/
    left: 0px;
    margin: 0px;
}

#bgvid {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    transition: opacity 1s ease-in-out 0s;
}

.fluid-homepage {
    height: calc(100vh - 0px);
}

.homepage_blocks {
    backface-visibility: hidden;
    transform: translate3d(0, 3em, 0);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70% auto;
    position: relative;
    top: 1.33vw;
    height: 25vw;
    display: table;
    padding: 7vw 0 1.333vw 0;
    transition: opacity 0.25s ease-in-out;
    opacity: 0;
    text-align: center;
    text-decoration: none;
    transition: transform 0.5s ease-in-out 0s, top 0.25s ease-in 0s;
}

.show_block {
    transform: translate3d(0, 0, 0);
    opacity: 0.5;
}

.homepage_blocks > img {
    width: 70%;
    margin-bottom: 1.5rem;
}

.homepage_blocks.show_block:hover {
    cursor: pointer;
    text-decoration: none;
    backface-visibility: hidden;
    top: 0px;
    opacity: 1 !important;
}

.homepage_blocks.second {
    top: calc(8.33vw + 1.33vw);
}

.homepage_blocks.second:hover {

    top: 8.33vw;

}

.homepage_blocks.third {
    top: calc(16.66vw + 1.33vw);
}

.homepage_blocks.third:hover {
    top: 16.66vw;
}

.homepage_blocks > p {
    width: 100%;
    font-size: 1.2em;
    display: block;
    opacity: 0;
    transform: translate3d(0, 1vw, 0);
    position: relative;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    margin: 0.5rem 0 0 0;
}

.homepage_blocks.show_block:hover > p {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.homepage_blocks > p > span.label {
    font-family: 'AGaramondPro-Italic';
    font-size: 1.2em;
    color: #787879;
    font-weight: normal;
}

.homepage_blocks > p > span.text {
    display: inline-block;
    margin-left: 0.33em;
    font-family: 'BrandonGrotesque-Regular';
    font-size: 1em;
    text-transform: uppercase;
    color: #f0f1f2;
    letter-spacing: 0.2em;
}

.spacer {
    cursor: default;
    z-index: -1;
    min-height: 25vw;
}

/* HOMEPAGE LISTA */
#vis_block {
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    position: absolute;
    height: calc(100vh - 0px);
    width: calc(100vw - 0px);
    top: 0;
    left: 4.16vw;
    overflow: hidden;
    z-index: -10;
    transform: scale(0.5) translate3d(0, 0, 0);
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out 0s;
}

.block_overflow {

    overflow: hidden !important;

}

#vis_list {
    -webkit-overflow-scrolling: touch;
    padding-top: 6.25vw;
    opacity: 0;
    position: absolute;
    height: calc(100vh - 0px);
    width: calc(100vw + 20px);
    padding-right: 20px;
    top: -9999px;
    left: -9999px;
    overflow: hidden;
    z-index: 500;
    transform: scale(2) translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    transition: transform 0.25s ease-in-out 0s, opacity 0.25s ease-in-out 0s, left 0s ease-in-out 0.25s, top 0s ease-in-out 0.25s;
}

#vis_block.active {
    -webkit-backface-visibility: hidden;
    z-index: 500;
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    transition: transform 0.25s ease-in-out 0s, opacity 0.25s ease-in-out 0s;
    overflow-y: scroll;
}

#vis_list.active {
    -webkit-backface-visibility: hidden;
    top: 0px;
    left: 0px;
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
    transition: transform 0.25s ease-in-out 0s, opacity 0.25s ease-in-out 0s;
    overflow-y: scroll;
}

#vis_list.in_transition, #vis_block.in_transition {
    overflow: hidden;
    transition: transform 0s ease-in-out 0s;
}

.single_project_list {
    -webkit-backface-visibility: hidden;
    transform: scale(1) translate3d(0, 0, 0);
    cursor: pointer;
    position: relative;
}

.single_project_list:last-child {
    margin-bottom: 7vw;
}

#vis_list.active .single_project_list {
    -webkit-backface-visibility: hidden;
    transition: transform 0s ease-in-out 0.25s;
    transform: scale(1) translate3d(0, 0, 0);
}

.single_project_list .logo_project_block {
    opacity: 0.5;
    height: calc(8.333vw - 0px);
    position: relative;
    text-align: center;
    top: 3.8vw;
    transition: opacity 0.25s ease-in-out;
    margin-top: -2vw;
}

.single_project_list:hover {
    -webkit-backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.single_project_list:hover .logo_project_block, .single_project_list:active .logo_project_block {
    opacity: 1;
    -webkit-backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.single_project_list .logo_project_block > img {
    position: relative;
    bottom: 1em;
    width: auto;
    height: 4.5vw;
}

.cover_project_block {
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    display: block;
    height: 0px;
    padding-bottom: 56.24999999999993%;
    width: 100%;
    border: 1px solid #636466;
    margin-bottom: 0.72em;
}

.single_project_list .list_description {
    text-align: center;
}

.single_project_list p {
    text-align: center;
    display: block;
    font-family: 'AGaramondPro-Italic';
    font-size: 1.2em;
    margin: 0;
    color: #787879;
}

.single_project_list {
    margin-bottom: 3em;
}

.single_project_list p span {
    font-family: "BrandonGrotesque-Regular";
    color: #f0f1f2;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

#overlay_anteprime {
    position: absolute;
    top: 0px;
    left: 0px;
    width: calc(100vw - 0px);
    height: 0px;
    background-color: transparent;
    z-index: 10;
    transition: background-color 0.25s ease-in-out 0s, height 0s linear 0.6s;
    transform: translate3d(0, 0, 0);
}

.active#overlay_anteprime {
    height: calc(100vh - 0px);
    background-color: rgba(0, 0, 0, 0.85);
    transition: background-color 0.25s ease-in-out 0s, height 0s linear 0s;
}


/* PROGETTI */
.preload #container_projects {
    opacity: 0;
}

#container_projects {
    opacity: 1;
    transition: opacity 1s ease-in-out 0s;
    overflow: hidden;
    height: calc(100vh - 0px);
    min-width: 100%;
    list-style: none;
    padding: 0px;
    margin: 0px;
    position: absolute;
    top: 0px;
    left: 0px;
}

#container_projects > ul {
    min-width: 10000vw;
    overflow: hidden;
    list-style: none;
    margin: 0px;
    padding: 0px;
    position: absolute;
    height: calc(100vh - 0px);
    top: 0px;
    left: 0px;
}

#container_projects li {
    float: left;
    overflow: hidden;
    height: calc(100vh - 0px);
    width: calc(100vw - 0px);
    position: relative;
    transform: translate3d(0, 0, 0);
}

.single-progetti {
    background-color: #f0f1f2;
    transition: background-color 0.25s ease-in-out;
}

.single-progetti footer {
    display: none;
}

/*.pagina_progetto {
	padding-top:4.16vw;
	width:100%;
	height:calc(100vh - 0px);
	position:absolute;
	left:100vw;
	top:0px;
	z-index:-1;
	display:none;
}*/

.pagina_progetto, .pagina_progetto.active {
    transition: background-color 0.25s ease-in-out;
    background: #f0f1f2;
    left: 0vw;
    top: 0px;
    z-index: 9999;
    display: block;
    padding-top: 6.25vw;
    width: 100%;
    height: calc(100vh - 0px);
    position: absolute;
}

.title_project {
    font-family: 'BrandonGrotesque-Regular';
    letter-spacing: 0.2em;
    font-size: 1em;
    text-align: center;
    line-height: 8.33vw;
    color: #787879;
    text-transform: uppercase;
    transform: rotate(-90deg);
    transform-origin: calc(50vh - 0px) calc(50vh - 0px);
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: -1;
    width: 100vh;
    height: 8.33vw;
    transition: color 0.25s ease-in-out;
}

.fluid-homepage .title_project {
    z-index: 0;
    position: fixed;
}

.cinema .title_project {
    color: #f0f1f2;
    opacity: 1;
}

.navigation-projects {
    display: table;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 1;
    height: calc(100vh - 0px);
    width: calc(8.33vw - 0px);
}

.navigation-projects > div {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.navigation-projects a {
    cursor: pointer;
    display: block;
    font-family: 'AGaramondPro-Regular', serif;
    font-size: 3em;
    line-height: 0.52;
    color: #787879;
    text-decoration: none;
    transition: color 0.25s ease-in-out;
}

.navigation-projects a:hover {
    color: #3c3c3d;
}

.cinema .navigation-projects a {
    color: #f0f1f2;
}

.media-player {
    /*width: 83.333vw;*/
}

.bottom_project {
    background: none;
    position: absolute;
    bottom: 0px;
    display: none;
    width: 100%;
    height: calc(6.25vw - 0px);
    line-height: 6.25vw;
}

.bottom_project > div {
    color: #787879;
    height: calc(6.25vw - 0px);
    font-family: 'AGaramondPro-Italic';
}

.bottom_project > div > a {
    text-rendering: geometricPrecision;
    font-size: 1.2em;
    line-height: 6.25vw;
    color: #787879;
    font-family: 'AGaramondPro-Italic';
}

.bottom_project > div > a:hover, .bottom_project > div > a:active {
    text-decoration: line-through;
}

.bottom_project > div > a:focus {
    text-decoration: none;
}

.cinema .bottom_project > div, .cinema .bottom_project > div > a {
    color: #787879;
}

.cinema, .cinema .pagina_progetto {
    background-color: #000;
}

.cinema #logo {
    color: #f0f1f2;
}

.cinema .menuBar {
    background-color: #f0f1f2;
}

.info_window {
    z-index: 50;
    display: table;
    background: rgba(240, 241, 242, 0.95);
    position: absolute;
    top: 0px;
    left: -9999px;
    width: calc(100vw - 0px);
    height: calc(100vh - 0px);
    opacity: 0;
    transition: left 0s linear 0.25s, opacity 0.25s ease-in-out 0s;
}

.cinema .info_window {
    background: rgba(0, 0, 0, 0.9);
}

.info_window.active {
    transition: left 0s linear 0s, opacity 0.25s ease-in-out 0s;
    opacity: 1;
    left: 0px;
}

.info_window > .row {
    display: table-cell;
    vertical-align: middle;
}

.info_window > .row > div {
    padding: 0px;
}

.info_window .info_logo {
    max-width: 135px;
}

.info_window .info_claim {
    display: block;
    color: #000;
    font-family: 'BrandonGrotesque-Regular';
    font-size: 1em;
    text-transform: uppercase;
    margin-bottom: 1.6em;
    letter-spacing: 0.1em;
}

.info_window .info_claim:before {
    display: block;
    margin: 24px auto;
    width: 7px;
    height: 2px;
    content: " ";
    background: #000;
}

.info_window > .row .content_info {
    color: #787879;
    text-align: center;
    margin: 0px;
    font-size: 2em;
    line-height: normal;
    text-rendering: geometricPrecision;
}

.info_window > .row .content_info strong {
    font-family: 'AGaramondPro-Bold';
    color: #3c3c3d;
    opacity: 1;
}

.cinema .info_window .info_claim {
    color: #f0f1f2;
    opacity: 1;
}

.cinema .info_window .info_claim:before {
    background: #f0f1f2;
    opacity: 1;
}

.cinema .info_window > .row .content_info strong {
    font-family: 'AGaramondPro-Bold';
    color: #f0f1f2;
}

.info_window > .row .content_info em {
    font-family: 'AGaramondPro-Italic';
    font-style: normal;
}

.info_window .close_info_container {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: calc(6.25vw - 0px);
    line-height: 6.25vw;
    text-align: center;
}

.info_window .close_info {
    display: inline-block;
    font-family: 'AGaramondPro-Italic';
    color: #787879;
    font-size: 1.2em;
    text-decoration: none;
}

.info_window .close_info:hover {
    text-decoration: line-through;
}

/* FINE PROGETTI */

/* ABOUT */
.page-template-template-about {
    overflow-y: scroll;
    padding-top: 0px;
}

.cinema.page-template-template-about {
    overflow-y: hidden;
}

.page-template-template-about footer {
    display: none;
}


.about-page .col-xs-6 {
    padding-left: calc((8.333vw * 0.5) - 1em);
}

.about-page .col-xs-4 {
    height: calc(100vh - 6.25vw - 6.25vw);
}

.about-page .content_about {
    height: 100%;
    overflow-y: scroll;
    position: absolute;
    top: 0;
    right: -17px;
    padding-right: 10%;
    padding-left: 0;
    padding-top: calc(6.25vw - 0px);
    -webkit-overflow-scrolling: touch;
}

.about-page .content_about > #about_description span, .about-page .content_about > .contact_block > span {
    display: block;
    font-family: 'BrandonGrotesque-Regular';
    color: #fff;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.25em;
}


.about-page .content_about > #about_description span::before, .about-page .content_about > .contact_block > span::before {
    display: block;
    margin: 1em 0;
    width: 7px;
    height: 2px;
    content: " ";
    background: #fff;
}

.about-page .content_about > #about_description {
    padding-top: 3em;
}

.about-page .content_about > #about_description p {
    text-rendering: geometricPrecision;
    color: #787879;
    font-size: 2em;
    line-height: normal;
    margin: 0px;
}

.about-page .content_about > #about_description p strong {
    font-family: 'AGaramondPro-Bold';
    color: #fff;
    font-weight: normal;
}

.about-page .content_about > #about_description p em {
    font-family: 'AGaramondPro-Italic';
    font-style: normal;
}

.contact_block {
    vertical-align: top;
    display: inline-block;
    width: 50%;
    margin: 4rem 0;
}

.contact_block #contact_phone {
    font-size: 1.33em;
    text-decoration: none;
}

.contact_block a, .contact_block p {
    color: #787879;
}

.contact_block p {

    margin-bottom: 0;

}

.contact_block a > i {
    font-size: 1.5em;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #FFF;
    margin-right: 0.7em;
    position: relative;
    top: 0.1em;
}

.contact_block a, .contact_block p {
    font-size: 1.33em;
    text-decoration: none;
    margin-top: 0.2em;
}

.contact_block #contact_email > i {
    top: 0em;
    font-size: 0.8em;
    margin-right: 1em;
}

.contact_block a:hover > span, .contact_block a:active > span {
    text-decoration: line-through !important;
}

.anima {
    opacity: 0;
}

.anima.shown,
.no-js .anima,
.no-cssanimations .anima {
    opacity: 1 !important;
}

/* Effect 2: Move Up */
.anima.animate {
    transform: translateY(200px);
    animation: moveUp 0.65s ease forwards;
}

@keyframes moveUp {
    0% {
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes upPreload {
    0% {
    }
    100% {
        transform: translate3d(0px, 0px, 0px);
        opacity: 1;
    }
}


.preload #html5Loader {
    top: 0;
    left: 0;
    opacity: 1;
}

.unload #html5Loader {
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity 0.5s ease-in-out 0s, left 0s linear 0s, top 0s linear 0s;
}

#html5Loader {
    top: -9999px;
    left: -9999px;
    background: #f0f1f2;
    margin: 0;
    z-index: 9999;
    transform: translate3d(0px, 0px, 0px);
    opacity: 0;
    transition: opacity 0.5s ease-in-out 0s, left 0s linear 0.5s, top 0s linear 0.5s;
    position: absolute;
    width: 100%;
    height: 100vh;
    display: table;
    vertical-align: middle;
    text-align: center;
}

#html5Loader > div {
    opacity: 0;
    transform: translate3d(0, 3em, 0);
    animation: upPreload 0.5s ease forwards;
    width: 100%;
    display: table-cell;
    vertical-align: middle;
}

#html5Loader h1 {
    color: #000;
    font-family: 'BrandonGrotesque-Regular';
    font-size: 1em;
    text-transform: uppercase;
    margin-bottom: 1.6em;
    letter-spacing: 0.1em;
    vertical-align: middle;
    width: 100%;
}

#html5Loader h1:before {
    display: block;
    margin: 24px auto;
    width: 7px;
    height: 2px;
    content: " ";
    background: #000;
}

#html5Loader h2 {
    text-rendering: geometricPrecision;
    color: #787879;
    font-size: 2em;
    line-height: normal;
    margin: 0;
    text-align: center;
}

#html5Loader .loadingtext {
    padding-top: 7rem;
}

#html5Loader .loadingtext > span {
    font-family: 'AGaramondPro-Italic', serif;
    color: #959595;
    font-size: 1.3em;
}

@media (min-width: 1200px) and (max-width: 1560px) {
    body {
        font-size: 13px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    body {
        font-size: 12px;
    }

    .homepage_blocks > p {
        font-size: 1.2em;
    }

    .about-page .col-xs-4 {
        vertical-align: top;
    }
}


@media (min-width: 768px) and (max-width: 991px) {
    body {
        font-size: 11px;
    }

    .homepage_blocks > p {
        font-size: 1.2em;
    }
}


@media (min-width: 768px) {
    .primary-menu > li.menu-item-has-children {
        overflow: hidden;
    }

    .primary-menu li.menu-item-has-children:hover {
        overflow: visible;
    }

    .primary-menu li.menu-item-has-children:hover .sub-menu {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    .sub-menu {
        min-width: 275px;
        opacity: 0;
        transform: translate3d(0, -15px, 0);
        margin: 0 0 0 -50px;
        transition: all 0.25s ease-in-out;
    }

    .sub-menu a {
        transform: translate3d(-10px, 0, 0);
        transition: all 0.25s ease-in-out 0.25s;
        opacity: 0;
    }
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: landscape) {
    /*.fluid-homepage, body, #vis_block, #vis_list, .active#overlay_anteprime, #container_projects, #container_projects > ul, #container_projects li, .pagina_progetto, .pagina_progetto.active, .navigation-projects, .info_window {
        height: -webkit-calc(100vh - 45px);
        min-height: -webkit-calc(100vh - 45px);
        max-height:-webkit-calc(100vh - 45px);
    }*/
    .title_project {
        width: -webkit-calc(100vh - 45px);
        transform-origin: calc(50vh - 22px) calc(50vh - 22px);
    }

    .navigation-projects {
        height: -webkit-calc(100vh - 45px);
    }
}

@media (max-width: 767px) {
    body {
        font-size: 10px;
    }

    /*.fluid-homepage {
        background-image:url(/wp-content/themes/andreacasadio/images/gif_mobile.gif);
        background-position:center top;
        background-size:cover;
        background-repeat: no-repeat;
        background-attachment:fixed;
    }*/
    .homepage_blocks {
        padding: 20vw 0 0;
    }

    /*.single_project_list .logo_project_block {
        top:0px;
    }*/
    .single_project_list {
        padding: 0px;
    }

    /*.single_project_list .logo_project_block > img {
        max-width:40%;
    }*/
    .info_window {
        height: calc(88vh - 0px);
        padding-top: calc(0 - 0px);
    }

    .info_window .info_claim::before {
        margin: 1em auto;
        width: 7px;
        height: 2px;
        content: " ";
        background: #000;
    }

    .info_window .info_claim {
        font-size: 1.2em;
        margin-bottom: 0.8em;
    }

    .info_window > .row .content_info {
        font-size: 1.5em;
    }

    .page-template-template-about {
        overflow: visible;
        padding-top: 8vw;
    }

    .category {
        overflow: visible;
        padding-top: 8vw;
    }

    .about-page .content_about > #about_description p {
        font-size: 1.5em;
    }

    .about-page .col-xs-8, .about-page .col-xs-4 {
        float: left;
        display: block;
    }

    .about-page, .about-page > div > div, .about-page div.col-lg-10, .about-page div.col-lg-10 > div {
        padding: 0 15px;
    }

    .contact_block {
        margin-top: 1em;
    }
}

#list_photos {
    margin-left: calc(8.333vw - 0px);
    width: 83.333vw;
}

.template_photos {
    padding: 0px;
}

#list_photos[data-columns]::before {
    content: '4 .single_photo.size-1of4';
}

.single_photo {
    float: left;
    padding: 10px;
}

.single_photo > .anima:hover, .single_photo > .anima:active {
    text-decoration: none;
}

.size-1of1 {
    width: 100%;
}

.size-1of2 {
    width: 50%;
}

.size-1of3 {
    width: 33.333%;
}

.size-1of4 {
    width: 25%;
}

.single_photo p {
    font-family: 'AGaramondPro-Regular';
    font-size: 1.2em;
    line-height: normal;
    margin: 0.5em 0 1em;
    color: #787879;
}

.single_photo img {
    max-width: auto;
    width: 100% !important;
    margin-bottom: 20px;
}

.awards__wrapper {

    display: block;
    margin: 20px auto;

}

.awards--single {

    display: inline-block;
    width: 25%;
    margin: 20px 0;

}


/*@media screen and (max-width: 480px){
	#list_photos[data-columns]::before {
		content: '1 .single_photo.size-1of1';
	}
}

@media screen and (min-width: 481px) and (max-width: 768px) {
	#list_photos[data-columns]::before {
		content: '2 .single_photo.size-1of2';
	}
}

@media screen and (min-width: 769px) {
	#list_photos[data-columns]::before {
		content: '4 .single_photo.size-1of4';
	}
}*/