/*
Theme Name: Small Forward Productions
Author: KMSTUDIO
Version: 1.0
*/

html { font-size: 18px; }
body {
    position: relative;
	background-color: #fff;
	color: #000;
	font-family: sans-serif;
	font-weight: 400;
	padding: 0;
	margin: 0;
}

b, strong { font-weight: 600; }
strong.color { color: #00a4cd; }

a {
	color: #00a4cd;
	-webkit-transition: color 300ms linear,
				background-color 300ms linear,
                border 300ms linear;
	-o-transition: color 300ms linear,
				background-color 300ms linear,
                border 300ms linear;
	transition: color 300ms linear,
				background-color 300ms linear,
                border 300ms linear;
    text-decoration: none;
}
a:hover {
	color: #000;
    text-decoration: none;
}
a,
a:hover,
a:link,
a:visited,
a:active {
	outline: none;
}

.debug {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 200px;
    background-color: #000;
    color: #fff;
    z-index: 99999;
    font-size: 0.8rem;
    padding: 0.5rem;
}

.overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    opacity: 1;
    transition: opacity 800ms;

}
.overlay-bg.inactive {
    opacity: 0;
    pointer-events: none;
}


/*--- STILI GENERALI */
#slider-wide {
    margin-bottom: 2rem;
    height: 70vh;
    box-shadow: 0px 6px 10px -2px gray;
}
#slider-wide .swiper-slide .bg {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    transform: scale(1);
    transition: transform 12s linear;
}
#slider-wide .swiper-slide.swiper-slide-active .bg {
    transform: scale(1.2);
}
.mini-container {
    width: 900px;
    margin: 0 auto;
}
.box-item-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}
.box-item-menu .item {
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
    background-color: #00a4cd;
    padding: 1.5rem 1.5rem;
    margin-left: -0.4rem;
    clip-path: polygon(13px 50%, 0% 0%, calc(100% - 15px) 0%, 100% 50%, calc(100% - 15px) 100%, 0% 100%);
    transition: background 300ms ease-in-out;
}
.box-item-menu .item:first-child {
    margin: 0;
}
.box-item-menu .item a {
    color: #fff; 
}
.box-item-menu .item:hover,
.box-item-menu .item.active {
    background-color: #808080;
}
.share-on {
	cursor: pointer;
	position: relative;
	display: inline-block;
}
.share-on > a.share-btn {
	color: #00a4cd;
	font-size: 1.5rem;
	text-decoration: none;
	display: inline-block;
	text-align: center;
    line-height: 1;
    transition: opacity 300ms linear;
}
.share-on > a.share-btn:hover {
	text-decoration: none;
	opacity: .7;
}
.share-on[data-position='left'] .share-box-socials {
	right: 15px;
}
.share-on[data-position='left'] .share-box-socials:after {
	border-bottom: 5px solid transparent;
	border-right: 5px solid #000;
	border-top: 5px solid #000;
	border-left: 5px solid transparent;
	right: 0;
}
.share-on[data-position='right'] .share-box-socials {
	left: 15px;
}
.share-on[data-position='right'] .share-box-socials:after {
	border-bottom: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #00a4cd;
	border-left: 5px solid #00a4cd;
	left: 0;
}
.share-on .share-box-socials {
	position: absolute;
	cursor: auto;
	bottom: 45px;
	white-space: nowrap;
	background-color: #00a4cd;
	box-sizing: border-box;
	opacity: 0;
	-webkit-transform: scale(0);
			transform: scale(0);
	-webkit-transform-origin: right bottom;
			transform-origin: right bottom;
	transition: transform 200ms, opacity 200ms !important;
	z-index: 1;
}
.share-on .share-box-socials:after {
	position: absolute;
	bottom: -10px;
	display: block;
	content: '';
	width: 0;
	height: 0;
}
.share-on .share-box-socials a {
	display: inline-block;
	padding: 5px;
	color: #fff !important;
	text-align: center;
	transition: background-color 400ms,
                color 400ms !important;
	box-sizing: border-box;
}
.share-on .share-box-socials a:hover {
	background-color: #1a1a1a;
    color: #fff !important;
}
.share-on .share-box-socials a:first-child:after {
	content: "";
    position: absolute;
    bottom: -10px;
    display: block;
    width: 0;
    height: 0;
    border-bottom: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #1a1a1a;
    border-left: 5px solid #1a1a1a;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 400ms;
}
.share-on .share-box-socials a:hover:first-child:after {
	opacity: 1;
}
.share-on[data-position='right'] .share-box-socials .share-btn:first-child:after {
    border-bottom: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #1a1a1a;
    border-left: 5px solid #1a1a1a;
    left: 0;
}
.share-on[data-position='left'] .share-box-socials .share-btn:last-child:after {
    border-bottom: 5px solid transparent;
	border-right: 5px solid #1a1a1a;
	border-top: 5px solid #1a1a1a;
	border-left: 5px solid transparent;
    right: 0;
}
.share-on .share-box-socials .share-btn:after {
    content: "";
    position: absolute;
    bottom: -10px;
    z-index: 1;
    -webkit-transition: border 400ms !important;
    -o-transition: border 400ms !important;
    transition: border 400ms !important;
}
.share-on[data-position='right'] .share-box-socials .share-btn:first-child:hover:after {
    border-bottom: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    border-left: 5px solid #fff;
}
.share-on[data-position='left'] .share-box-socials .share-btn:last-child:hover:after {
    border-bottom: 5px solid transparent;
	border-right: 5px solid #fff;
	border-top: 5px solid #fff;
	border-left: 5px solid transparent;
}
.share-on.opened .share-box-socials {
	transition: transform .3s cubic-bezier(0,.74,.16,1.13), opacity .6s;
	-webkit-transform: scale(1);
			transform: scale(1);
    opacity: 1;
}
.share-on.opened > a.share-btn {
    
}
.page-title {
    background: rgb(36,28,49);
    background: -moz-linear-gradient(180deg, rgba(36,28,49,0.7) 0%, rgba(128,128,128,0.2) 100%);
    background: -webkit-linear-gradient(180deg, rgba(36,28,49,0.7) 0%, rgba(128,128,128,0.2) 100%);
    background: linear-gradient(180deg, rgba(36,28,49,0.7) 0%, rgba(128,128,128,0.2) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#241c31",endColorstr="#808080",GradientType=1);
    padding: 1.5rem 0 2.5rem;
    margin: 0 0 2rem 0;
    clip-path: polygon(100% 0, 100% 100%, 50% 75%, 0 100%, 0 0);
}
.page-title h1 {
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
}
.content-wordpress {
    
}
.content-wordpress h2 {
	font-weight: 600;
	text-transform: none;
	font-size: 1.8rem;
	margin: 2.3rem 0 1.2rem 0;
	padding: 0;
}
.content-wordpress h3 {
	font-weight: 600;
	text-transform: none;
	font-size: 1.5rem;
	margin: 2rem 0 1rem 0;
	padding: 0;
}
.content-wordpress h4 {
	font-weight: 600;
	text-transform: none;
	font-size: 1.2rem;
	margin: 1.5rem 0 0.5rem 0;
	padding: 0;
}
.content-wordpress ul {
    margin: 0 0 1rem 1rem;
    padding: 0;
}
.content-wordpress ul li {
	margin: 0 0 0.4rem 0;
	padding: 0;
	line-height: 1.3;
}
.googlemaps {
    margin-bottom: 1rem;
}
.paging {
    margin-top: 1rem;
}
.paging ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.paging ul li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.paging ul li a {
	color: #1a1a1a;
	font-weight: 400;
    font-size: 0.8rem;
    padding: 0rem 0.3rem;
    display: inline-block;
    text-decoration: none;
}
.paging ul li strong {
	background-color: #00a4cd;
	color: #fff;
	font-weight: 400;
    font-size: 0.8rem;
    padding: 0rem 0.3rem;
    display: inline-block;
}
.paging ul li a:hover {
	background-color: #00a4cd;
	color: #fff;
    text-decoration: none;
}
.paging ul li:after {
	content: "-";
    font-weight: 400;
    margin: 0 2px;
}
.paging ul li:last-child:after {
	content: "";
    margin: 0;
}


/*--- NAVIGATION RESPONSIVE */
nav.nav-responsive {
	position: fixed;
	top: 0;
	bottom: 0;
	height: 100%;
	background-color: #1a1a1a;
	z-index: 9999;
	padding: 0;
	opacity: 0;
	transition: all 300ms;
    width: 400px;
}
nav.nav-responsive.position-left {
	transform: translateX(-100%);
	left: 0;
}
nav.nav-responsive.position-right {
	transform: translateX(100%);
	right: 0;
}
nav.nav-responsive.expanded {
    transform: translateX(0%);
    transition: all 600ms;
    opacity: 1;
}
nav.nav-responsive header {
	margin: 1.2rem 0 2rem 0;
    padding: 0 0.5rem;
}
nav.nav-responsive header .logo {
	
}
nav.nav-responsive header .logo img {
	width: 150px;
}
nav.nav-responsive header .menu-close {
	
}
nav.nav-responsive header .menu-close span {
	cursor: pointer;
	font-size: 2rem;
	transition: background-color 600ms,
				color 600ms,
				transform 500ms cubic-bezier(.67,-0.09,.58,1);
	transform: rotate(0deg);
	display: block;
	color: #fff;
}
nav.nav-responsive header .menu-close span:hover {
	transform: rotate(180deg);
    color: #00a4cd;
}
nav.nav-responsive header .menu-close span:before {
	width: auto;
    margin: 0;
}
nav.nav-responsive ul {
	padding: 2rem 0;
	margin: 0;
	list-style-type: none;
}
nav.nav-responsive ul li {
	padding: 0;
	margin: 0;
	text-transform: uppercase;
	list-style-type: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}
nav.nav-responsive ul li ul {
	padding: 0;
	margin: 0 0 10px 0;
}
nav.nav-responsive ul li ul li {
	text-transform: none;
}
nav.nav-responsive ul li ul li a {
	
}
nav.nav-responsive ul li a {
	color: #fff;
	display: block;
	padding: 0.4rem 1rem;
	text-decoration: none;
}
nav.nav-responsive ul li a:hover {
	color: #00a4cd;
	background-color: #fff;
	text-decoration: none;
}
nav.nav-responsive ul.own-socials {
    margin: 0 0 2rem 0;
    padding: 0;
    list-style-type: none;
}
nav.nav-responsive ul.own-socials li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 1.8rem;
}
nav.nav-responsive ul.own-socials li a {
    color: #fff;
    padding: 0;
}
nav.nav-responsive ul.own-socials li a:hover {
    color: #00a4cd;
    background: none;
}
nav.nav-responsive ul li a:not([href]) {
	color: #fff;
}
nav.nav-responsive ul li a:not([href]):hover {
	background-color: transparent;
	color: #fff;
	cursor: default;
}
nav.nav-responsive .logos {
    
}
nav.nav-responsive .logos .logo {
    width: 100px;
    margin-right: 2rem;
}
nav.nav-responsive .logos .logo:last-child {
    margin-right: 0;
}


/*--- HEADER */
header.primary {
    background: rgb(0,113,188);
    background: linear-gradient(90deg, rgba(0,113,188,1) 0%, rgba(60,188,213,1) 100%);
    padding: 1rem 0;
}
header.primary .logo {
    
}
header.primary .logo svg {
    width: 200px;
}
header.primary .block {
	
}
header.primary .block::after {
	content: "";
    width: 1px;
    height: 3rem;
    background-color: #ddd;
    margin: 0 1.3rem;
}
header.primary .block:last-child::after {
	margin: 0;
    background: none;
    width: auto;
    height: auto;
}
header.primary .block > * {
    margin-right: 1rem;
}
header.primary .block > *:last-child {
    margin-right: 0;
}
header.primary ul.own-socials {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
header.primary ul.own-socials li {
    margin: 0 0.6rem 0 0;
    padding: 0;
    list-style-type: none;
    font-size: 1.5rem;
}
header.primary ul.own-socials li:last-child {
    margin: 0;
}
header.primary ul.own-socials li a {
    color: #fff;
}
header.primary ul.own-socials li a:hover {
    color: #1a1a1a;
}
header.primary ul.own-socials li a [class^="icon-"]::before,
header.primary ul.own-socials li a [class*=" icon-"]::before {
	margin: 0;
}
header.primary .hamburger:hover {
    cursor: pointer;
}
header.primary .hamburger svg {
    width: 40px;
}
header.primary .hamburger svg line {
    stroke: #fff;
    transition: stroke 300ms;
}
header.primary .hamburger svg:hover line {
    stroke: #1a1a1a;
}


main {
    min-height: 500px;
}


/*--- HOMEPAGE */
.intro {
    margin-bottom: 3rem;
}
.intro .mini-container {
    
}


/*--- POST (ARCHIVE) */
.post-archive {
    margin: 4rem 0 3rem;
}
.post-archive .single {
    padding: 0 1.6rem;
    margin-bottom: 4rem;
}
.post-archive .single figure {
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
}
.post-archive .single figure img {
    transform: scale(1);
    -webkit-transition: transform 300ms ease-in-out;
	-o-transition: transform 300ms ease-in-out;
	transition: transform 300ms ease-in-out;
}
.post-archive .single figure img:hover {
    transform: scale(1.1);
}
.post-archive .single article {
    margin-bottom: 0.5rem;
    min-height: 190px;
    border-bottom: 1px solid #00a4cd;
    padding: 0 0.7rem;
}
.post-archive .single h2 {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #00a4cd;
    margin: 0 0 0.1rem 0;
    line-height: 1;
}
.post-archive .single .director {
    margin-bottom: 1rem;
}
.post-archive .single .director strong {
    color: #1a1a1a
}
.post-archive .single .description {
      
}
.post-archive .single .description p {
    margin: 0;
}
.post-archive .single footer > *:first-child {
    margin-right: 0;
}
.post-archive .single footer > * {
    margin-right: 0.6rem;
}
.post-archive .single footer a.button-href {
	color: #fff;
	text-transform: uppercase;
	font-size: 0.7rem;
    font-weight: 600;
	padding: 6px 19px 5px 15px;
    position: relative;
    line-height: 1;
    clip-path: polygon(0% 0%, 100% 0, calc(100% - 5px) 50%, 100% 100%, 0% 100%);
}
.post-archive .single footer a.button-href:hover {
	background-color: #00a4cd;
    color: #fff;
    text-decoration: none;
}
.post-archive .single footer a.read-more {
	background-color: #1a1a1a;
    color: #00a4cd;
}


/*--- POST (SINGLE) */
.post-single {
    
}
.post-single .header {
    margin-bottom: 1rem;
}
.post-single .header figure {
    margin: 0 0 0.5rem 0;
}
.post-single .header .director {
    margin-bottom: 1rem;
}
.post-single .header .director strong {
    color: #1a1a1a;
}


/*--- FOOTER */
footer.primary {
    margin-top: 5rem;
    background-color: #1a1a1a;
    padding: 2rem 0;
    color: #fff;
}
footer.primary .logo {
    text-align: center;
    margin-bottom: 0.7rem;
}
footer.primary .logo img {
    width: 150px;
}
footer.primary ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
footer.primary ul li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 0.7rem;
}
footer.primary .copyright li {
    margin-right: 0.5rem;
}
footer.primary .contact {
    margin-bottom: 1rem;
}
footer.primary .contact li:after {
    content: "/";
    margin: 0 0.4rem;
}
footer.primary .contact li:last-child:after {
    content: "";
    margin: 0;
}
footer.primary .links {
    position: relative;
    padding: 8px 15px;
    background-color: #00a4cd;
    margin-bottom: 0.5rem;
}
footer.primary .links:before {
	content: "";
	position: absolute;
	top: 0;
	left: -13px;
	border-left: 13px solid transparent;
	border-right: 0px solid #00a4cd;
	border-top: 13px solid #00a4cd;
	border-bottom: 13px solid #00a4cd;
	height: 100%;
}
footer.primary .links:after {
	content: "";
	position: absolute;
	top: 0;
	right: -13px;
	border-left: 0px solid #00a4cd;
	border-right: 13px solid transparent;
	border-top: 13px solid #00a4cd;
	border-bottom: 13px solid #00a4cd;
	height: 100%;
}
footer.primary .links li {
    line-height: 1;
}
footer.primary .links li:after {
    content: "/";
    margin: 0 0.4rem;
}
footer.primary .links li:last-child:after {
    content: "";
    margin: 0;
}
footer.primary .links li a {
    color: #fff;
}
footer.primary .links li a:hover {
    color: #1a1a1a;
    text-decoration: none;
}
footer.primary .own-social ul li {
    margin-right: 0;
    font-size: 1.5rem;
}
footer.primary .own-social ul li:last-child {
    margin-right: 0;
}
footer.primary .own-social ul li a {
    color: #fff;
}
footer.primary .own-social ul li a:hover {
    color: #00a4cd;
}