/*
	Theme Name: 		Haruka Suzuki
	Text Domain: 		harukasuzuki
	Description: 		Template di Haruka Suzukio.
	Tags: 				stylist, fashion editor
	Author: 			Valerio Del Re
	Author URI: 		https://www.nanz.it/
	Theme URI: 			https://www.nanz.it/
	Version: 			1.0	
	License: 			GNU General Public License version 3.0
	License URI: 		http://www.gnu.org/licenses/gpl-3.0.html
*/

::-webkit-scrollbar-track {
    background: transparent;
    opacity: 0;
}
::-webkit-scrollbar-track {
    background: #fff;
}
::-webkit-scrollbar-thumb {
    background: #000;
}
::-webkit-scrollbar {
    width: 10px;
}
*,*:before,*:after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
*:focus {
    outline: none
}
::selection {
    background: #000;
    color: #fff;
}
:root {
    --bianco: #fff;
}
body {
    color: #000;
    font-family: 'Karla', sans-serif;
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4, strong {
    font-weight: 700;
}
p {
    margin: 0px 0 20px 0;
    line-height: 1.7em;
}
#just-mobile {
	display: block
}
#just-desktop {
	display: none
}
.inside {
	padding: 20px;
}
.flex {
	display: flex;
}
.responsive {
    width: 100%;
    height: auto !important;
}
a { 
	text-decoration: none;
	color: #000;
    -webkit-transition: .2s color ease-in-out;
    transition: .2s color ease-in-out
}
a:focus, a:hover { 
	text-decoration: none; 
	cursor: pointer;
	color: #000;
}
.centrato {
	text-align: center;
}
.txt-piccolo {
    font-size: 14px;
    line-height: 1.4em;
}
.mainframeclass {
    display: none;
}
header, main, footer {
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    padding: 20px;
}
#logo img {
    max-width: 100px;
}
#bottom-logo img {
    max-width: 90px;
}
#top-desc, #bottom-copy {
    font-size: 11px;
}
#bottom-copy {
    margin-top:20px;
	margin-bottom: 50px;
    border-top: 1px dashed #ccc;
}
footer #bottom-logo, footer #bottom-copy {
    padding-top: 20px;
}
#torna-su {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 30px;
}
#torna-su img {
    border-radius: 50%;
    -webkit-box-shadow: 0 0px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 0px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.4);
}
nav#menu ul {
    list-style-type: none;
    margin: 0 0 40px 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
	text-transform: uppercase
}
nav#menu ul li {    
    display: inline-block;
	margin-bottom: 5px;
	text-wrap: nowrap
}
nav#menu ul li a {
    font-size: 12px;
    font-weight: 400;
    color: #000;
}
nav#menu ul li.current-menu-item a {
	font-weight: 700;
}
#top-desc, #bottom-copy {
    justify-content: space-between
}
#top-desc div, #bottom-copy div {
    width: initial;
}
.icone {
    max-width: 15px;
    vertical-align: middle;
}
.grid { 
    width:100%;
}
.grid-item { 
    margin-bottom: 40px;
    float: left;
}
.grid-item img { 
    width: 100%; 
    height:auto !important;
    margin-bottom: 5px;
}
.grid a { 
    font-weight: bold
}
input, textarea {
	border: none;
	padding: 10px;
	width: 100%;
	max-width: 400px
}
input[type=submit] {
	background-color: #000;
	color: #fff;
	width: initial
}
textarea {
	resize: none
}
.error404 #contenuto a, 
.page #contenuto a {
	color: #cc0000;
}
figure {
	margin: 0
}
.single #contenuto {
	display: flex;
	flex-direction: column
}
.single #contenuto #articolo {
	width: 100%;
	max-width: 725px
}
.single #contenuto #navigation-links, 
.single #contenuto #navigation-links nav {
	width: initial
}
.single #contenuto #articolo img {
	max-width: 100%;
	height: auto !important;
	margin-bottom: 20px
}
.nav-links {
	margin-top: 50px;
}
.nav-links a {
    font-size: 30px;
	margin-right: 20px
}
.single #contenuto h1 {
	font-size: 20px;
	margin: 0 0 40px 0
}
.wp-block-embed__wrapper {
	width: 100%;
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
	margin-bottom: 20px
}
.wp-block-embed__wrapper iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
.blocca {
    overflow: hidden !important
}
.has-text-align-center {
	text-align: center
}

/* HAMBURGER */

#ico-menu {
    height: 20px;
    margin-left: 10px;
    margin-right: 10px;
}
#ico-menu button {
    min-width: initial
}
.hamburger {
    width: 20px;
    height: 20px;
    padding: 0;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible; 
}
.hamburger.is-active .hamburger-inner {
    background-color: var(--celeste);
}
.hamburger.is-active .hamburger-inner::before {
    background-color: var(--celeste);
}
.hamburger.is-active .hamburger-inner::after {
    background-color: var(--arancione);
}
.hamburger-box {
    width: 20px;
    height: 20px;
    display: inline-block;
    position: relative; 
}
.hamburger-inner {
    display: block;
    top: 50%
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 20px;
    height: 2px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; 
}
.hamburger .hamburger-inner {
    background-color: var(--arancione);
}
.hamburger .hamburger-inner::before {
    background-color: var(--celeste);
}
.hamburger .hamburger-inner::after {
    background-color: var(--celeste);
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; 
}
.hamburger-inner::before {
    top: -8px; 
}
.hamburger-inner::after {
    bottom: -8px; 
}
.hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); 
}
.hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease; 
}
.hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--squeeze.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 
}
.hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease; 
}
.hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); 
}

/* Tablet */

@media screen and (min-width: 480px) { 	
    .grid-item { 
        width: -webkit-calc(50% - 20px);
        width:    -moz-calc(50% - 20px);
        width:         calc(50% - 20px);
    }
}

@media screen and (min-width: 768px) { 	    
    body {
        padding:20px;
    }       
    .mainframeclass {
        background: #fff;
        z-index: 999999999;
        display: block;
    }
    #mainframe-top, #mainframe-bottom {
        position: fixed;
        left: 0;
        right: 0;
        height: 20px;
        width: 100%;
    }
    #mainframe-top {
        top: 0;
    }
    #mainframe-bottom {
        bottom: 0;
    }
    header, main, footer {
        flex-direction: row;
    }  
    header div:first-child, main nav#menu, footer div:first-child {
        width: 141px;
    }
    header div:last-child, main div, footer div:last-child {
        width: -webkit-calc(100% - 141px);
        width:    -moz-calc(100% - 141px);
        width:         calc(100% - 141px);
    }
	nav#menu {
		position: -webkit-sticky;
		position: sticky;
		top: 50px;
		height: 100px;
	}
    nav#menu ul {
        list-style-type: none;
        margin: 0 0 40px 0;
        padding: 0;
        display: initial
    }
    nav#menu ul li {    
        display: block;
    }
    footer #bottom-copy {
        margin-top: 0
    }
    .grid-item { 
        width: -webkit-calc(33% - 26px);
        width:    -moz-calc(33% - 26px);
        width:         calc(33% - 26px);
    }
}

/* PC */

@media screen and (min-width: 1024px) {     
    header, main, footer {
        padding: 50px;
    } 
	main {
        padding-top: 30px;
    } 
	#just-mobile {
		display: none
	}
	#just-desktop {
		display: block
	}
	.single #contenuto {
		flex-direction: row
	}
	.single #contenuto #navigation-links {
		position: -webkit-sticky;
    	position: sticky;
		top: 50px;
    	height: 30px;
		padding-left: 30px
	}
	.nav-links {
		margin-top: 0;
	}
	.nav-links a {
		font-size: 30px;	
		margin-right: 20px
	}
}

@media screen and (min-width: 1200px) {      
    header div:first-child, main nav#menu, footer div:first-child {
        width: 180px;
    }
    header div:last-child, main div, footer div:last-child {
        width: -webkit-calc(100% - 180px);
        width:    -moz-calc(100% - 180px);
        width:         calc(100% - 180px);
    }
}