/*
	Theme Name: 60
	Description: Custom Wordpress theme
	Version: 1.0
	Author: Gabriel Nastase 
	Author URI: http://gabrielnastase.com
	Tags: HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
/* jost-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/jost-v18-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* jost-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Jost';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/jost-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
body {
	font-family: 'Jost', sans-serif;
    font-size: 1.6rem;
	color:#000;
    background-color: #fff;
}
/* clear */
.clear {
    clear: both;
    height: 0;
}
img {
	max-width:100%;
	vertical-align:bottom;
    height: auto;
}
a {
	color:#000;
	text-decoration:none;
    transition: all 200ms;
}
a:hover {
	color: #aaa;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
}

input, textarea {
    padding: 10px;
    border-radius: 0;
    border: none;
    border-bottom: solid 2px #000;
    font-size: 1.4rem;
    background: none;
    transition: all 200ms;
    width: 100%;
}
input:hover, textarea:hover, input:focus, textarea:focus {
    border-bottom: solid 2px #fff;
}
textarea {
    height: 150px;
}
.wpcf7-submit {
    background: transparent;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    width: 100px;
    border-radius: 8px;
    border: solid 2px #000 ;
}
.wpcf7-submit:hover {
    border: solid 2px #000 ;
    background: #fff;
}
/* Grow */
.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: all;
  transition-property: all;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

/* Shrink */
.hvr-shrink {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: all;
}
.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
  -webkit-transform: scale(0.94);
  transform: scale(0.94);
}

.center {text-align: center;}

h1, h2 {
    font-size: 5rem;
}
.section-title {
    font-size: 6rem;
}
.big {font-size: 3.4rem;}

.bigger {font-size: 6rem;}
.no-margin {
    margin: 0!important;
}
.bg-sabbia {
    background: #eae9e4;
}
.hover-saturate {
    filter: saturate(0);
    transition: all 300ms;
}
.hover-saturate:hover {
    filter: saturate(1);
}
.dark {
    color: #fff;
}
.dark a {
    color: #ƒff;
}
.dark a:hover {
    color: #eae9e4;;
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	width:90%;
	max-width: 1150px;
	margin:0 auto;
	position:relative;
}
.narrow-wrapper {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}
.flex-container {
	display: flex;
}
.flex-reverse {
    flex-direction: row-reverse;
}
.no-margin {
    margin: 0!important;
}
.no-margin-bottom {
    margin-bottom: 0;
}
.no-margin-top {
    margin-top: 0;
}
.box-padding {
    padding: 30px;
}
.big-box-padding {
    padding: 100px 15%;
}
.content-padding {
    padding: 100px 0;
}
.content-padding-bottom {
    padding-bottom: 100px;
}
.content-padding-top {
    padding-top: 100px;
}
.first-content {
    margin-top: 140px;
}
.left {
	float: left;
}
.right {
	float: right;
}
.col-50 {
	width: 50%;
}
.col-25 {
	width: 25%;
}
.col-30 {
	width: 30%;
}
.col-70 {
	width: 70%;
}
.col-75 {
	width: 75%;
}
/* header */
.header {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	transition: all 300ms ease-out;
}

/* logo */
.logo {
    margin: 0 auto;
    position: relative;
    padding: 70px 0;
    max-width: 200px;
}

.header .nav-parent {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.header .nav {
    display: flex;
    font-weight: bold;
} 
.header .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    text-transform: capitalize;
    font-size: 1.6rem;
}
.header .nav ul li {
    margin-left: 30px;
    position: relative;
}
.header .nav ul li::before {
    content: '/';
    margin-right: 30px;
}
.header .nav ul li:first-child::before {
    display: none;
}
.nav .current-menu-item a {
   color: #bbb8ad;
}

.header-icons {
    font-size: 20px;
}
.header-icons i {
    margin-left: 10px;
}

/* menu btn */

#nav-icon3 {
  width: 25px;
  height: 25px;
  position: relative;
    float: right;
    margin-top: 2px;
  z-index: 999;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  display: none;
}

 #nav-icon3 span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #333;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}



/* menu  button */

#nav-icon3 span:nth-child(1) {
  top: 0px;
}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
  top: 10px;
}

#nav-icon3 span:nth-child(4) {
  top: 20px;
}

#nav-icon3.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

/* sidebar */
.sidebar {
    background-color: rgba(255,255,255,.97);
    position: fixed;
    z-index: 900;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    text-align: center;
    padding-top: 120px;
}
.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 2rem;
    margin: 15px 0;
}
.sidebar ul li {
    margin: 30px 0;
}

.sidebar .menu li {
    text-transform: uppercase;
}
.sidebar .current-menu-item a {
    font-weight: 700;
    text-decoration: line-through;
}
/* footer */
.footer {
    margin: 0;
    font-size: 1.2rem;
}
.footer hr {
    margin: 30px 0;
}
.footer .footer-icons {
    font-size: 20px;
    text-align: center;
}
.footer .footer-icons i {
    margin: 0 10px;
}
.footer.content-padding {
    padding: 60px 0;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/

.page-header {
    padding: 160px 0 60px 0;
}
.page-header h1 {
    font-weight: 700;
    font-size: 6rem;
    margin-bottom: 0;
}
.date {
    color: #aaa;
    margin-top: 15px;
}

.flex-3 .articolo {
    width: 31%;
    margin: 15px 1.16%;
}

.portfolioContainer {
    display: flex;
}

.portfolioContainer .grid-item {
	width: 32.33%;
	margin: .5%;
	overflow: hidden;
	position: relative;
	background: #000;
}
.portfolioContainer .grid-item .grid-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: auto;
    background: rgba(0, 0, 0, .6);
    visibility: hidden;
    opacity: 0;
    transition: all 300ms ease-in;
    display: table;
}

.portfolioContainer .grid-item img {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-property: all;
    transition-property: all;
  }
  .portfolioContainer .grid-item:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

.portfolioContainer .grid-item:hover .grid-hover {
    visibility: visible;
    opacity: 1;
}
.portfolioContainer .grid-item h3 {
    font-weight: bold;
    color: #fff;
    font-size: 1.6rem;
}
.portfolioContainer .grid-item .child {
    text-align: left;
    display: table-cell;
    vertical-align: bottom;
    padding: 20px;
}
.grid-sizer,
.grid-item {
  width: 33.33%;
}

.grid-item {
  
}

.grid-item img {
  display: block;
  width: 100%;
}
.grid:after {
    content: '';
    display: block;
    clear: both;
  }
.portfolioFilter {
    margin-bottom: 20px;
}
.portfolioFilter a {
    text-transform: lowercase;
    font-size: 2rem;
    margin-right: 20px;
}
.portfolioFilter .current {
    font-weight: 700;
    text-decoration: line-through;
}

/*------------------------------------*\
    ENERGHEIA
\*------------------------------------*/
.page-template-template-lavori-studenti .nav-parent {
    display: none;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


@media only screen and (max-width:720px) {
   

}
@media only screen and (max-width:600px) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
