/*
Theme Name:   Sicalipsis Child
Theme URI:    http://sicalipsis.com/
Description:  Sicalipsis Theme
Author:       Marcos de la Torre
Author URI:   http://sicalipsis.com
Template:     twentyseventeen
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  sicalipsis
*/

/* Layout */

body,
button,
input,
select,
textarea {
    font-family: 'Roboto', arial, sans-serif;
    font-style: normal;
    font-weight: 300;
}

.wrap {
	padding-left: 1em;
    padding-right: 1em;
}

.panel-content .wrap {
    padding-top: 2em;
    padding-bottom: 0;
}

@media screen and (min-width: 48em) {
	.wrap,
	.navigation-top .wrap {
		max-width: 1400px;
	}
}

@media screen and (min-width: 90em) {
	.wrap,
	.navigation-top .wrap {
		max-width: 1800px;
	}
}

*:focus {
	outline: none !important;
}

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.title,
.subtitle {
    margin: 0 0 0.75em;
    padding: 1.5em 0 0;
	line-height: 1.4;
	font-size: 1.2em;
    font-weight: 400;
    text-align: center;
}

.title {
	font-family: 'Libre Baskerville';
	font-style: italic;
	text-transform: uppercase;
	line-height: 1.4;
	letter-spacing: 4px;
	color: #666;
}

.subtitle {
	color: #333;
	opacity: .5;
}

/* Navigation Top */

.navigation-top {
	position: absolute;
	z-index: 11;
	right: 0;
	/*font-family: 'Neuton';*/
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 4px;
	background: transparent;
	border: none;
}
.navigation-top a,
.navigation-top a:hover {
	color: #fff;
}
.main-navigation__svgIcon svg {
	display: inline-block !important;
	font-size: 18px;
}
.main-navigation__htmlIcon a {
    transform: scale(1.8);
    margin-right: 1px;
}
@media screen and (min-width: 48em) {
	.navigation-top {
		position: relative;
		float: right;
		width: auto;
	}
	.main-navigation a {
		padding: 3.5em 1em;
	}
	.navigation-top .current-menu-item > a,
	.navigation-top .current_page_item > a {
	    color: #fff;
	}
	.navigation-top .current-menu-item:not(.main-navigation__svgIcon) > a:after,
	.navigation-top .current_page_item:not(.main-navigation__svgIcon) > a:after,
	.navigation-top .current-menu-item:not(.main-navigation__svgIcon) > a:before,
	.navigation-top .current_page_item:not(.main-navigation__svgIcon) > a:before {
	    content: "~";
	    position: absolute;
	    opacity: .7;
	}
	.navigation-top .current-menu-item > a:before,
	.navigation-top .current_page_item > a:before {
	    left: 0;
	}
	.navigation-top .current-menu-item > a:after,
	.navigation-top .current_page_item > a:after {
		right: 0
	}
}
@media screen and (min-width: 68.75em) {
	.main-navigation a {
		padding: 3.5em 1.25em;
	}
}
@media screen and (max-width: 48em) {
	.navigation-top--toggled-on {
		overflow: hidden;
	}
	.navigation-top--toggled-on .site-branding {
		position: fixed !important;
	}
	.main-navigation .main-navigation__iconInstagram {
		position: absolute;
		bottom: 50px;
		transform: translateX(calc(25vw - 14px)) scale(1.25);
	}
	.main-navigation .main-navigation__iconFacebook {
		position: absolute;
		bottom: 50px;
		transform: translateX(calc(50vw - 14px)) scale(1.25);
	}
	.main-navigation .main-navigation__iconPhone {
		position: absolute;
		bottom: 50px;
		transform: translateX(calc(75vw - 14px)) scale(1.25);
	}
	.site-branding {
		z-index: 13;
	}
	.navigation-top {
		z-index: 12;
	}
	.main-navigation > div > ul {
		position: fixed;
	    display: flex !important;
	    flex-direction: column;
		justify-content: space-evenly;
		pointer-events: none;
	    top: 0;
	    left: 0;
		height: 100%;
		width: 100%;
		padding: 20% 0 calc(20% + 50px);
    	text-align: center;
		border: none;
		background: #222222;
		opacity: 0;
		transform: scale3d(.9, .9, .9);
		transition: all .3s;
	}
	.main-navigation li {
		border: none;
	}
	.main-navigation.toggled-on {
		position: fixed;
	}
	.main-navigation.toggled-on	> div> ul {
		opacity: 1;
		transform: scale3d(1, 1, 1);
		pointer-events: unset;
	}
}
.menu-toggle {
	position: absolute;
	z-index: 1;
	top: 0;
    right: 0;
	margin: 0;
	padding: 40px 30px;
}
.menu-toggle .icon {
	margin: 0;
    width: 1.2em;
    height: 1.2em;
    fill: #fff;
}
.menu-toggle:hover,
.menu-toggle:focus {
	background: transparent !important;
}

.site-header .menu-scroll-down {
    position: absolute;
    bottom: 10px;
    top: initial;
    z-index: 11;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
@media screen and (max-width: 48em) {
	.site-header .menu-scroll-down {
		display: block;
		color: #fff;
	}
	.site-header .menu-scroll-down .icon {
	    -webkit-transform: rotate(90deg);
	    -ms-transform: rotate(90deg);
	    transform: rotate(90deg);
	}
}

/* Site Header */

.site-header {
	height: 105px;
	min-height: inherit;
    background-color: #222222;
}

.home .custom-header-media:before {
	display: none;
}

/* Site Branding */

@media screen and (min-width: 30em) {
	.site-branding {
		padding: 0;
	}
}
.site-branding {
	position: relative !important;
	z-index: 13;
	float: left;
	margin: 3px -7px 0 !important;
	padding: 0;
	width: auto !important;
}
.site-branding-text {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 50%;
	width: calc(100% - 50px);
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
}

/* Logo */

.custom-logo-link img {
	max-height: 100px !important;
}

/* Custom Header Media */

.custom-header-media:before {
	height: 100% !important;
	background: rgba(0, 0, 0, 0.3);
	pointer-events: none;
}

/* Site Header Single Pages and Pages with Featured Image */

.single .site-header .stamp {
    display: block;
	margin: 0 auto 10px;
    background-image: url(/wp-content/themes/sicalipsis/img/stamp.png);
    background-size: 100%;
    height: 50px;
    width: 80px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
	.single .site-header .stamp {
	    background-image: url(/wp-content/themes/sicalipsis/img/stamp@2x.png);
	    background-size: 80px 50px;
	}
}
.single .site-header .entry-title,
body.has-featured-image .site-header .entry-title {
	margin-bottom: 4px;
	/*font-family: 'Neuton';*/
	/*font-family: 'Crimson Text';*/
	/*font-family: 'Playfair Display';*/
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 7px;
	color: #fff;
}
.single .site-header .entry-excerpt {
	font-size: 14px;
}
.single .site-header .entry-excerpt p {
	margin-bottom: 0;
	/*font-family: 'Mr De Haviland';*/
	/*font-family: 'Lora';*/
	opacity: .5;
    letter-spacing: 1px;
}
.single .site-header .entry-excerpt p:before,
.single .site-header .entry-excerpt p:after {
	content: "·";
	display: inline-block;
}
.single .site-header .entry-excerpt p:before {
	margin-right: 10px;
}
.single .site-header .entry-excerpt p:after {
	margin-left: 10px;
}
@media screen and (min-width: 48em) {
	.single .site-header .entry-title,
	body.has-featured-image .site-header .entry-title {
		font-size: 20px;
		letter-spacing: 8px;
	}
}
.single .custom-header-media {
	z-index: 0;
}
.single .custom-header-media img {
	position: absolute;
	width: 100%;
}

/* HEADER KENBURNS */

.has-featured-image:not(.page-contact) .site-header,
.single-foto .site-header,
.page-photos .site-header {
	height: calc(100vh - 150px);
    min-height: 450px;
}/*
.has-featured-image:not(.page-contact) .custom-header-media img,
.single-foto .custom-header-media img,
.single-video .custom-header-media img {
	animation: kenburns 20s ease;
	animation-fill-mode: forwards;
	-webkit-animation: kenburns 20s ease;
	-webkit-animation-fill-mode: forwards;
	-moz-animation: kenburns 20s ease;
	-moz-animation-fill-mode: forwards;
}

@-webkit-keyframes kenburns {
	0% {
		-webkit-transform-origin: bottom left;
		-moz-transform-origin: bottom left;
		transform-origin: bottom left;
		transform: scale3d(1, 1, 1);
		-webkit-transform: scale3d(1, 1, 1);
		-moz-transform: scale3d(1, 1, 1);
	}
	100% {
		transform: scale3d(1.2, 1.2, 1.2);
		-webkit-transform: scale3d(1.2, 1.2, 1.2);
		-moz-transform: scale3d(1.2, 1.2, 1.2);
	}
}*/

/* PAGE VIDEOS */

.page-videos .site-header {
	height: 0;
	min-height: unset;
	/*padding-bottom: 56.25%;*/
	padding-bottom: 100vh;
	transition: padding-bottom .5s;
}
.page-videos .site-header .header-video {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
}
.page-videos .site-header.ended {
	padding-bottom: 105px;
}
@media screen and (min-width: 48em) {
	.logged-in.page-videos .site-header {
		padding-bottom: calc(100vh - 32px);
	}
}
@media screen and (max-width: 48em) {
	.page-videos .site-header {
		padding-bottom: calc(100vh - 100px);
	}
}

/* PAGE VIDEO */

.single-video .site-header {
	height: 350px !important;
	min-height: unset !important;
}
.single-video .site-branding-text {
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
}
.single-video .custom-header-media img {
	object-position: center 10%;
}
@media screen and (min-width: 48em) {
	.single-video .site-content .wrap {
		max-width: 1200px;
	}
}

/* PAGE DISSENY */

.page-design .vp-portfolio__items-style-default .vp-portfolio__item {
	margin-bottom: 0 !important;
}
.page-design .vp-portfolio__items-style-default .vp-portfolio__item-overlay {
	display: none;
}
.vp-portfolio.vp-portfolio__loading .vp-portfolio__items-wrap,
.vp-portfolio.vp-portfolio__loading .vp-portfolio__thumbnails-wrap,
.vp-portfolio.vp-portfolio__loading .vp-portfolio__filter-wrap,
.vp-portfolio.vp-portfolio__loading .vp-portfolio__sort-wrap,
.vp-portfolio.vp-portfolio__loading .vp-portfolio__pagination-wrap {
	opacity: unset;
}

/* HEADER VIDEO */
/*
.single-video .site-header {
	min-height: inherit;
	animation: minifyHeader 3s ease;
	animation-fill-mode: forwards;
	-webkit-animation: minifyHeader 3s ease;
	-webkit-animation-fill-mode: forwards;
	-moz-animation: minifyHeader 3s ease;
	-moz-animation-fill-mode: forwards;
}
.single-video .site-branding-text {
	animation: minifyHeaderTitle 3s ease;
	animation-fill-mode: forwards;
	-webkit-animation: minifyHeaderTitle 3s ease;
	-webkit-animation-fill-mode: forwards;
	-moz-animation: minifyHeaderTitle 3s ease;
	-moz-animation-fill-mode: forwards;
}
.single-video .custom-header-media:before {
	animation: minifyHeaderBg 3s ease;
	animation-fill-mode: forwards;
	-webkit-animation: minifyHeaderBg 3s ease;
	-webkit-animation-fill-mode: forwards;
	-moz-animation: minifyHeaderBg 3s ease;
	-moz-animation-fill-mode: forwards;
}

@-webkit-keyframes minifyHeader {
	0% {
		height: calc(100vh - 150px);
	}
	80% {
		height: calc(100vh - 150px);
	}
	100% {
		height: 105px;
	}
}
@-webkit-keyframes minifyHeaderTitle {
	0% {
		opacity: 0;
	}
	25% {
		opacity: 1;
	}
	80% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		pointer-events: none;
	}
}
@-webkit-keyframes minifyHeaderBg {
	0% {
		background: rgba(33, 33, 33, 1);
	}
	25% {
		background: rgba(33, 33, 33, .3);
	}
	80% {
		background: rgba(33, 33, 33, .3);
	}
	100% {
		background: rgba(33, 33, 33, .8);
	}
}
*/
/* Site Content */

@media screen and (min-width: 48em) {
	.site-content {
	    padding: 2.5em 0 0;
	}
}

/* Remove sidebar */

@media screen and (min-width: 48em) {
	.has-sidebar:not(.error404) #primary {
		float: inherit;
		width: inherit;
	}
}

/* PAGE */

.page p {
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

/* Post Navigation */

.post-navigation .nav-subtitle {
	display: none;
}

.post-navigation .nav-title-icon-wrapper {
	position: unset;
}

/* Post Images */
/*
.entry-content p {
	display: flex;
	flex-wrap: wrap;
	margin-left: -2px;
	margin-right: -2px;
}*/
.entry-content img {
	flex: 100%;
	text-align: center;
	line-height: 100px;
	object-fit: cover;
	width: 100%;
	padding: 5px;
	box-sizing: border-box;
}
.entry-content img.two {
	flex: 50%;
	width: 50%;
}
.entry-content img.three {
	flex: 33.33%;
	width: 33.33%;
}
.wp-block-columns {
  	justify-content: center;
}
.wp-block-column {
  	max-width: 98ch;
	margin-bottom: 0;
}

/* PhotoBlock Lightbox */
/*
body .mfp-bg {
	background-color: #222;
	opacity: 1;
}

body .mfp-arrow:after {
	border-top-width: 8px;
	border-bottom-width: 8px;
}

body .mfp-arrow-left:after {
	border-right-width: 10px;
}

body .mfp-arrow-right:after {
	border-left-width: 10px;
}

body .mfp-arrow-right:before,
body .mfp-arrow-left:before {
	border: none;
}

body.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
	position: fixed;
	padding: 40px;
	width: auto;
	line-height: 0;
	font-weight: 300;
}

body .mfp-arrow-right:hover,
body .mfp-arrow-left:hover,
body.mfp-zoom-out-cur .mfp-image-holder .mfp-close:hover,
body .mfp-arrow-right:focus,
body .mfp-arrow-left:focus,
body.mfp-zoom-out-cur .mfp-image-holder .mfp-close:focus {
	background-color: transparent;
}

body .mfp-counter {
	position: fixed;
	top: initial;
	right: 20px;
	bottom: 20px;
}

body img.mfp-img {
	padding: 20px 0;
}

body .mfp-figure:after {
	display: none;
}
*/
/* PHOTOBLOCKS */
/*
.photoblocks-gallery .pb-block .pb-image {
	transition: transform 3s cubic-bezier(0.07, 0.72, 0.24, 1), -webkit-transform 3s cubic-bezier(0.07, 0.72, 0.24, 1);
	transform: scale(1);
	will-change: transform, opacity;
}

.photoblocks-gallery .pb-block:hover .pb-image {
	transform: scale(1.03);
}
*/
/* VP PORTFOLIO  */

.vp-filter__style-default {
	margin-bottom: 37px;
}

.vp-filter__style-default .vp-filter__item > * {
	font-size: 12px;
	font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
	color: #aaa;
	border: none;
}

.vp-filter__style-default .vp-filter__item:not(.vp-filter__item-active) > a:hover {
	color: #222;
	border: none;
}

.vp-filter__style-default .vp-filter__item.vp-filter__item-active > * {
	color: #222;
	background: transparent;
	border: none;
}

.vp-portfolio__item-wrap .vp-portfolio__item-img-wrap::before {
	margin-top: 66.67% !important;
}

.vp-portfolio__item-img img {
    padding: 0;
}

.vp-portfolio__items-style-default .vp-portfolio__item {
	margin-bottom: 20px !important;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.075);
}

.vp-portfolio__items-style-default .vp-portfolio__item-meta {
	padding: 15px 0;
}

.vp-portfolio__items-style-default .vp-portfolio__item-meta-title {
    font-family: 'Libre Baskerville';
	font-size: .9em;
    /*font-weight: 400;
    font-style: italic;*/
    text-transform: uppercase;
    letter-spacing: 4px;
}

.vp-portfolio__item-img::before, .vp-portfolio__thumbnail-img::before {
	background: none;
}

@media screen and (max-width: 48em) {
	.vp-portfolio__items-style-default .vp-portfolio__item-meta-title {
		font-size: .8em;
		letter-spacing: 3px;
	}
}

.vp-portfolio__items-style-default .vp-portfolio__item-meta-title a:hover {
	color: #000;
	box-shadow: none;
}
.vp-portfolio__items-style-default .vp-portfolio__item-meta-excerpt {
	opacity: .5;
    font-size: .9em;
    letter-spacing: 1px;
}
/*
.vp-portfolio__items-style-default .vp-portfolio__item-meta-excerpt {
	font-family: 'Mr De Haviland';
	word-spacing: .2em;
    opacity: .5;
	font-size: 1.5em;
}
*/
.vp-portfolio__items-style-default .vp-portfolio__item-meta-excerpt:before,
.vp-portfolio__items-style-default .vp-portfolio__item-meta-excerpt:after {
	content: "·";
	display: inline-block;
}
.vp-portfolio__items-style-default .vp-portfolio__item-meta-excerpt:before {
	margin-right: 5px;
}
.vp-portfolio__items-style-default .vp-portfolio__item-meta-excerpt:after {
	margin-left: 5px;
}

/* RESPONSIVE VIDEO */

.embed-container {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.embed-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* BUTTONS */

.btn-outline {
	padding: 10px;
	color: #fff;
	border: 2px solid #fff;
	border-radius: 3px;
	transition: all .3s;
}
.btn-outline:hover {
	padding-left: 30px;
	color: #444;
	background-color: #fff;
}
.btn-outline svg {
	margin-left: 5px;
    font-size: 12px;
	transition: all .3s;
}
.btn-outline:hover svg {
    transform: translateX(30px);
    color: #fff;
}

/* PAGE VIDEO */
/*
.video-template-default .site-header {
	height: 80vh;
	min-height: inherit;
	transition: height .3s;

}
.video-template-default .entry-excerpt {
	margin-bottom: 35px;
}
.video-template-default .header-video {
	display: none;
	background-color: #222;
}
.video-template-default .header-video.embed-container {
    position: relative;
    height: 80vh;
    padding-bottom: 0;
    overflow: hidden;
}
.video-template-default .navigation-top .main-navigation,
.video-template-default .site-branding,
.video-template-default .site-branding-text,
.video-template-default .custom-header-media {
	transition: opacity .5s;
}
.video-template-default .custom-header-media:before {
	pointer-events: none;
}
.video-template-default .app-video-header.play .wp-post-image {
	display: none;
}
.video-template-default .app-video-header.play .header-video,
.video-template-default .app-video-header.pause .header-video {
	display: block;
}
.video-template-default .app-video-header.play,
.video-template-default .app-video-header.play .embed-container,
.video-template-default .app-video-header.pause,
.video-template-default .app-video-header.pause .embed-container {
	height: 100vh;
}
.video-template-default .app-video-header.play .custom-header-media:before {
	opacity: 0;
}
.video-template-default .app-video-header.play .btn-outline,
.video-template-default .app-video-header.pause .btn-outline {
	display: none;
}

@media screen and (min-width: 48em) {
	.admin-bar.video-template-default .app-video-header.play,
	.admin-bar.video-template-default .app-video-header.play .embed-container,
	.admin-bar.video-template-default .app-video-header.pause,
	.admin-bar.video-template-default .app-video-header.pause .embed-container {
		height: calc(100vh - 32px);
	}
	.video-template-default .app-video-header.play .navigation-top,
	.video-template-default .app-video-header.play .site-branding,
	.video-template-default .app-video-header.play .site-branding-text {
		pointer-events: none;
		opacity: 0;
	}
	.video-template-default .app-video-header.play .site-branding-text,
	.video-template-default .app-video-header.pause .site-branding-text {
		padding-top: 175px;
	}
	.video-template-default .app-video-header.pause .navigation-top {
		opacity: 1;
	}
}

@media screen and (max-width: 48em) {
	.admin-bar.video-template-default .app-video-header.play,
	.admin-bar.video-template-default .app-video-header.play .embed-container,
	.admin-bar.video-template-default .app-video-header.pause,
	.admin-bar.video-template-default .app-video-header.pause .embed-container {
		height: calc(100vh - 46px);
	}
	.embed-container,
	.video-template-default .site-header {
		padding-bottom: 80vh;
	}
	.video-template-default .app-video-header.play .navigation-top .main-navigation,
	.video-template-default .app-video-header.play .site-branding,
	.video-template-default .app-video-header.play .site-branding-text {
		opacity: .3;
	}
	.video-template-default .app-video-header.play .navigation-top .main-navigation.toggled-on {
		opacity: 1;
	}
	.video-template-default .app-video-header.play .site-branding-text {
		pointer-events: none;
	}
	.video-template-default .app-video-header.play .site-branding-text,
	.video-template-default .app-video-header.pause .site-branding-text {
		top: 95%;
	}
	.video-template-default .app-video-header.pause .btn-outline {
		opacity: 1;
	}
}
*/

/* NINJA FORMS */

.nf-form-cont {
    max-width: 500px;
    margin: 0 auto;
}

.nf-field-element input,
.nf-field-element select,
.nf-field-element textarea {
    border-color: #ddd;
    transition: border-color .3s;
}

.nf-field-element select:focus,
.nf-field-element textarea:focus {
    border-color: #333;
}

.nf-field-element select {
    height: 3em !important;
    background-color: #fff;
}

.nf-form-fields-required {
	display: none;
}

.text-info .nf-field-label {
	display: block !important;
    margin-bottom: 20px;
    font-style: italic;
    font-size: 14px;
}

.text-info .nf-field-label label {
    color: #999;
}

.nf-error-msg,
.ninja-forms-req-symbol {
    font-size: .9em;
}

/* Contact Page */

.page-contact {
	background-color: #444;
}

.page-contact:after {
	content: "";
	position: fixed;
	top: 0;
    z-index: -1;
	height: 100vh;
	width: 100vw;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	opacity: .5;
}

.page-contact .site-header,
.page-contact .site-content-contain {
	background-color: transparent;
}

.page-contact .custom-header-media img {
	display: none;
}

.page-contact h3 {
	margin-bottom: 50px;
	font-family: 'Libre Baskerville';
	font-size: 1em;
	text-transform: uppercase;
	letter-spacing: 4px;
}

.page-contact h3,
.page-contact .submit-wrap,
.page-contact .nf-after-form-content {
	text-align: center;
}

.page-contact .html-container .nf-field-label {
	margin: 0 auto;
}

.page-contact,
.page-contact h3,
.page-contact label,
.page-contact .text-info .nf-field-label label {
	color: #fff;
}

.page-contact .nf-error-msg,
.page-contact .ninja-forms-req-symbol {
    color: #ff6363;
}

.page-contact .nf-field-element input,
.page-contact .nf-field-element select,
.page-contact .nf-field-element textarea {
	background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}

.page-contact .nf-field-element input:focus,
.page-contact .nf-field-element select:focus,
.page-contact .nf-field-element textarea:focus {
    border-color: #fff;
}

.page-contact .nf-field-element input[type=button] {
	background-color: rgba(255,255,255,.9);
	color: #444;
}

.page-contact .nf-field-element input[type=button]:hover,
.page-contact .nf-field-element input[type=button]:focus {
	background-color: #fff;
}

.page-contact:after {
    -webkit-animation: fadein 2s;
       -moz-animation: fadein 2s;
        -ms-animation: fadein 2s;
         -o-animation: fadein 2s;
            animation: fadein 2s;
}
.page-contact.colors-dark .nf-field-element input[type=button] {
    background-color: rgba(255,255,255,.9);
    color: #444;
}
.page-contact.colors-dark .site-footer {
    border-top: 1px solid rgba(0, 0, 0, .2);
}

/* Dark mode */
.page-contact.colors-dark .site-header,
.page-contact.colors-dark .site-content-contain,
.page-contact.colors-dark .navigation-top,
.page-contact.colors-dark .main-navigation ul {
	background: inherit;
}
.page-contact.colors-dark .nf-field-element input,
.page-contact.colors-dark .nf-field-element select,
.page-contact.colors-dark .nf-field-element textarea {
	background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}
.page-contact.colors-dark .main-navigation.toggled-on > div > ul {
	background: #222;
}

/* EFFECTS */

/* Fade In */

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: .5; }
}

@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: .5; }
}

@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: .5; }
}

@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: .5; }
}

@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: .5; }
}

/* Contact Page Split Theme */
/*
.page-contact {
	background-color: #444;
}

@media screen and (min-width: 48em) and (max-width: 68.75em) {

	.page-contact:after {
		width: 30%;
	}
	
	.site-content .wrap {
	    max-width: 70%;
	    margin-right: 0;
	}
}

@media screen and (min-width: 68.75em) {

	.page-contact:after {
		width: 50%;
	}
	
	.site-content .wrap {
	    max-width: 50%;
	    margin-right: 0;
	}
}
*/

/* Footer */

.site-footer {
    border-top: 1px solid rgba(0, 0, 0, .07);
}

.site-info {
	text-align: center;
    float: unset;
    width: unset;
}

/* SLIDER */

.home .site-header {
	height: calc(100vh - 150px);
    min-height: 450px;
}

.slider,
.slider__wrapper,
.slider__item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.slider__item {
	display: none;
}
.slider__item img {
	object-fit: cover;
    object-position: center;
    height: 100%;
	width: 100%;
}
.slider__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 8px;
    color: #fff;
}
.slider__arrow {
    -webkit-transition: all .3s;
        -ms-transition: all .3s;
         -o-transition: all .3s;
            transition: all .3s;
	opacity: 0; 
}
@media screen and (max-width: 48em) {
	.slider__arrow {
		opacity: .5;
	}
}
.slider:hover .slider__arrow {
	opacity: .5;
}
.slider__prev,
.slider__next {
	position: absolute;
	top: 50%;
	width: 24px;
	height: 24px;
	transform: translateY(-12px);
}
.slider:hover .slider__arrow:hover {
	opacity: 1;
}
.slider__prev {
	left: 15px;
}
.slider__next {
	right: 15px;
}
.slider svg {
	fill: #fff;
}
/*
.home .site-header {
	height: 600px;
	min-height: inherit;
}

.n2-section-smartslider {
	position: absolute !important;
	top: 0;
}

.n2-section-smartslider .slider-title .n2-ss-item-content {
	font-family: 'Libre Baskerville' !important;
	font-size: 18px !important;
	text-transform: uppercase !important;
	letter-spacing: 8px !important;
}
*/

/* FEATURED HOME ITEM */

.featuredHomeItem__content {
    transform: translate(50%, -70px);
    display: inline-block;
    padding: 20 15px;
    width: 50%;
    text-align: center;
    background-color: #222;
    box-shadow: 0 0 20px rgba(0, 0, 0, 50%);
}

.featuredHomeItem__title {
    font-family: 'Libre Baskerville';
    font-size: .9em;
    /*font-weight: 400;
    font-style: italic;*/
    text-transform: uppercase;
    letter-spacing: 4px;
}

.featuredHomeItem__description {
	display: block !important;
    margin: 0 auto;
	text-align: center;
}

/* REVIEW HOME */

.review {
    padding: 35px;
    background-color: #333333;
}
.review:before {
    content: "”";
    position: absolute;
    height: 100%;
    width: 100%;
    font-size: 300px;
    opacity: .1;
    transform: translate(23%, -95px);
}
.review p {
    max-width: initial;
}
.review__name {
    margin-bottom: 10px;
}
.review__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.review__description {
    margin-bottom: 0;
}

/* DARK MODE */

.colors-dark .entry-content a img,
.colors-dark .comment-content a img,
.colors-dark .widget a img,
.colors-dark .vp-portfolio__items-style-default .vp-portfolio__item,
.colors-dark .vp-portfolio__items-style-default .vp-portfolio__item-meta-title a,
.colors-dark .vp-portfolio__items-style-default .vp-portfolio__item-meta-title a:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.colors-dark .vp-portfolio__items-style-default .vp-portfolio__item-meta-excerpt {
	transition: opacity .3s;
}
.colors-dark .vp-portfolio figure.vp-portfolio__item:hover .vp-portfolio__item-meta-title a {
    color: #fff;
}
.colors-dark .vp-portfolio figure.vp-portfolio__item:hover .vp-portfolio__item-meta-excerpt {
	opacity: 1
}
.colors-dark .title {
	color: #ccc;
}
.colors-dark .subtitle {
	color: #fff;
}
@media screen and (min-width: 48em) {
	.colors-dark .main-navigation ul,
	.colors-dark .navigation-top {
		background-color: transparent !important;
	}
}
@media screen and (min-width: 48em) {
	.colors-dark .site-header .menu-scroll-down {
	    color: #fff;
	}
}
.colors-dark .vp-filter__style-default .vp-filter__item > * {
	background-color: transparent;
}
.colors-dark .vp-pagination__style-default .vp-pagination__item > * {
	background-color: transparent;
	border-color: #333;
}
.colors-dark .vp-filter__style-default .vp-filter__item.vp-filter__item-active > *,
.colors-dark .vp-filter__style-default .vp-filter__item:not(.vp-filter__item-active) > a:hover {
    color: #fff;
}
.colors-dark .main-navigation .menu a,
.colors-dark .main-navigation .menu a svg {
    color: #fff;
}
.colors-dark .main-navigation .menu a:hover,
.colors-dark .main-navigation .menu a:hover svg {
    color: rgba(255, 255, 255, .75);
}

.colors-dark .entry-content a:focus,
.colors-dark .entry-content a:hover,
.colors-dark .entry-summary a:focus,
.colors-dark .entry-summary a:hover,
.colors-dark .comment-content a:focus,
.colors-dark .comment-content a:hover,
.colors-dark .widget a:focus,
.colors-dark .widget a:hover,
.colors-dark .site-footer .widget-area a:focus,
.colors-dark .site-footer .widget-area a:hover,
.colors-dark .posts-navigation a:focus,
.colors-dark .posts-navigation a:hover,
.colors-dark .comment-metadata a:focus,
.colors-dark .comment-metadata a:hover,
.colors-dark .comment-metadata a.comment-edit-link:focus,
.colors-dark .comment-metadata a.comment-edit-link:hover,
.colors-dark .comment-reply-link:focus,
.colors-dark .comment-reply-link:hover,
.colors-dark .widget_authors a:focus strong,
.colors-dark .widget_authors a:hover strong,
.colors-dark .entry-title a:focus,
.colors-dark .entry-title a:hover,
.colors-dark .entry-meta a:focus,
.colors-dark .entry-meta a:hover,
.colors-dark.blog .entry-meta a.post-edit-link:focus,
.colors-dark.blog .entry-meta a.post-edit-link:hover,
.colors-dark.archive .entry-meta a.post-edit-link:focus,
.colors-dark.archive .entry-meta a.post-edit-link:hover,
.colors-dark.search .entry-meta a.post-edit-link:focus,
.colors-dark.search .entry-meta a.post-edit-link:hover,
.colors-dark .page-links a:focus .page-number,
.colors-dark .page-links a:hover .page-number,
.colors-dark .entry-footer .cat-links a:focus,
.colors-dark .entry-footer .cat-links a:hover,
.colors-dark .entry-footer .tags-links a:focus,
.colors-dark .entry-footer .tags-links a:hover,
.colors-dark .post-navigation a:focus,
.colors-dark .post-navigation a:hover,
.colors-dark .pagination a:not(.prev):not(.next):focus,
.colors-dark .pagination a:not(.prev):not(.next):hover,
.colors-dark .comments-pagination a:not(.prev):not(.next):focus,
.colors-dark .comments-pagination a:not(.prev):not(.next):hover,
.colors-dark .logged-in-as a:focus,
.colors-dark .logged-in-as a:hover,
.colors-dark a:focus .nav-title,
.colors-dark a:hover .nav-title,
.colors-dark .edit-link a:focus,
.colors-dark .edit-link a:hover,
.colors-dark .site-info a:focus,
.colors-dark .site-info a:hover,
.colors-dark .widget .widget-title a:focus,
.colors-dark .widget .widget-title a:hover,
.colors-dark .widget ul li a:focus,
.colors-dark .widget ul li a:hover {
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

/* COOKIES */

.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto {
	padding: 1rem;
	border-radius: 16px;
    width: auto;
    max-width: calc(100% - 2rem);
    left: unset;
    right: 1rem;
    bottom: 1rem;
    border: none;
    background-color: #000;
	transform: translateY(calc(100% + 1rem));
}
.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto p {
	padding: 0;
	font-size: 12px;
    line-height: 16px;
}
.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto a {
	zoom: .9;
	color: #eee !important;
}
.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto a:hover {
	color: #fff !important;
}
.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-boton-creditos {
	display: none;
}
.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-boton-cerrar {
	float: right;
    display: block;
    padding: .5rem;
    background: #222;
}
.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-mostrar {
    animation: fadeOut .25s forwards;
    animation-direction: reverse;
}
.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-ocultar {
	display: none;
}
.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-animacion-abajo {
    animation: fadeOut .25s forwards;
}
@keyframes fadeOut {
	0% {
		opacity: 1;
	    transform: translateY(0);
	}
	100% {
		opacity: 0;
	    transform: translateY(calc(100% + 1rem));
	}
}
