/*
 Theme Name:   Mikal Theme
 Theme URI:    http://it2b.es
 Description:  Mikal Theme based on Divi from Elegant Themes
 Author:       it2b, Fiona Marí, Ángela Russi, Alejo Palacio, Luis Mas
 Author URI:   http://it2b.es
 Template:     Divi
 Version:      1.0.0
 Text Domain:  mikal
*/

/* General styles */
small,
.small {
	font-size: 13px;
}
.primary-color {
	color: #000000;
}
.fullheight-section {
	min-height: 100vh;
}
.et_pb_row {
	width: 100%;
	max-width: 100%;
}
@media screen and ( min-width: 768px ) {
	h1,
	h2,
	.et_pb_toggle_title {
		font-size: 35px;
		font-weight: 700;
	}
	h1:lang(de),
	h2:lang(de),
	.et_pb_toggle_title:lang(de) {
		font-size: 30px;
	}
}
@media screen and ( max-width: 980px ) {
	body {
		font-size: 13px;
	}
	h1,
	h2,
	.et_pb_toggle_title {
		font-size: 25px;
		font-weight: 700;
	}

	.fullheight-section .et_pb_row {
		padding: 0;
	}
}

/* Header */
.et_mobile_menu li a {
	font-weight: 400;
	text-transform: uppercase;
}
#top-menu .current-menu-item a,
.et_mobile_menu .current-menu-item a {
	font-weight: 600;
}
@media ( min-width: 981px ) {
	.et_fullwidth_nav #main-header .container {
		width: 90%;
		padding: 0;
	}
}
@media screen and ( max-width: 980px ) {
	.wpml-ls-current-language {
		display: flex;
	}
	.et_mobile_menu .menu-item-has-children > a {
		background-color: rgba(255,255,255,0);
	}
	#main-header .et_mobile_menu .wpml-ls-current-language .sub-menu {
		display: flex !important;
		padding: 0;
	}
	.wpml-ls-current-language .sub-menu a {
		padding: 10px 12px;
	}
}

/* Footer */
#footer-bottom .container {
	width: 90%;
    max-width: 100%;
}
.credits {
	display: inline-block;
	line-height: 1em;
}
.credits::before {
	content: '';
	display: inline-block;
	height: 1em;
	width: 17px;
	margin-right: 3px;
	background: url(images/it2b.png) center/contain no-repeat;
	vertical-align: bottom;
}
@media screen and ( max-width: 1440px ) and ( min-width: 980px ) {
	#footer-bottom .et-social-icons {
		padding-right: 40px;
	}
}
/* Contact float */
#contact-float {
	position: fixed;
	bottom: 27px;
    right: 20px;
	z-index: 1000;
}
.float-icon {
	display: block;
	width: 60px;
    height: 60px;
	border-radius: 60px;
    line-height: 60px;
	background-color: #000000;
	border-color: #ffffff;
	box-shadow: 0 0 8px rgba(0,0,0,0.5);
	animation-name: pulse;
	animation-iteration-count: infinite;
	animation-fill-mode: both;
	animation-duration: 2s;
}
.toggle-info {
	background: #f15a25 url('images/contact.svg') center/40px no-repeat;
}
.whatsapp-icon {
	background: #f15a25 url('images/whatsapp.svg') center/40px no-repeat;
}
.info-container {
	position: absolute;
    right: 30px;
    bottom: 30px;
	width: 251px;
	padding: 20px;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 0 8px rgba(0,0,0,0.3);
	z-index: -1;
}
.info-container h5 {
	font-size: 15px;
	text-transform: uppercase;
    font-weight: 700;
}
.info-container h5,
.info-container ul {
	transition: .5s;
}
.info-container.closed h5,
.info-container.closed ul {
	visibility: hidden;
	opacity: 0;
}
.info-container li {
	margin-bottom: 5px
}
@media screen and ( min-width: 981px ) {
	.whatsapp-icon {
		display: none;
	}
}
@media screen and ( max-width: 980px ) {
	.info-container,
	.toggle-info  {
		display: none !important;
	}
}

/* Contact Form Module */
.et_pb_contact_field[data-id="acceptance"] .et_pb_contact_field_options_title {
	display: none;
}

/* Forms */
.et_pb_contact p input, .et_pb_contact p textarea {
    -webkit-appearance: none;
    width: 100%;
	padding: 16px;
    border-width: 0;
    border-radius: 0;
    font-size: 14px;
    color: #999;
}
.et_pb_contact p input,
.et_pb_contact p select,
.et_pb_contact p textarea {
	border-bottom: 1px solid;
	background-color: #fff;
}
.et_pb_contact p input[type=checkbox] + span.wpcf7-list-item-label i,
.et_pb_contact p input[type=radio] + span.wpcf7-list-item-label i {
	content: "";
    width: 18px;
    height: 18px;
	border-bottom: 1px solid;
    background-color: #fff;
    font-style: normal;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-right: 6px;
}
.et_pb_contact p input[type=checkbox] + span.wpcf7-list-item-label i::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
.et_pb_contact p input[type=checkbox]:checked + span.wpcf7-list-item-label i::before {
	content: "\f158";
    font-family: dashicons;
	background-color: #000000;
    color: #ffffff;
    width: 17px;
    height: 17px;
    font-size: 17px;
    line-height: 17px;
}
.et_pb_contact p input:focus,
.et_pb_contact p select:focus,
.et_pb_contact p textarea:focus,
.et_pb_contact p input[type=checkbox]:checked + span.wpcf7-list-item-label i {
	border-color: #8f8f8f;
}
.et_pb_contact span.wpcf7-list-item {
	margin: 0;
}
.wpcf7-form .et_pb_contact {
	margin-left: -3%;
}
.more-info-toggle {
	border: none;
	color: #8f8f8f;
	background-color: transparent;
}
p.et_pb_contact_field {
    padding: 0 0 0 3%;
    margin-bottom: 3%;
    background-position: 50%;
    background-size: cover;
}
.et_pb_contact p input[type=checkbox],
.et_pb_contact p input[type=radio] {
	margin: 0;
    width: auto;
    max-width: none;
    padding: 0;
    display: none;
}
@media ( min-width: 768px ) {
	.et_pb_contact .et_pb_contact_field_half {
	    width: 50%;
	    float: left;
	}
}
@media ( max-width: 767px ) {
	.et_pb_column .et_pb_contact p.et_pb_contact_field_half {
	    width: 100%;
	    margin-right: 0;
	}
}
/* Accordions */
.et_pb_module.et_pb_toggle {
	width: 95%;
	max-width: 530px;
	margin-left: auto;
	margin-right: 0;
}
.home .et_pb_module.et_pb_toggle {
	max-width: 470px;
}
.et_pb_toggle_item {
	padding-right: 5%;
	border: none;
	transition: background-color .5s;
}
.et_pb_toggle_item.et_pb_toggle_close {
	background-color: rgba(255,95,0,.4);
}
.et_pb_toggle_item.et_pb_toggle_open {
	background-color: rgba(255,255,255,.9);
}
.et_pb_toggle_title {
	text-transform: uppercase;
}
.et_pb_toggle_close .et_pb_toggle_title,
.et_pb_toggle_close h5.et_pb_toggle_title,
.et_pb_toggle_close .et_pb_toggle_content {
	color: #fff;
}
.et_pb_toggle_open .et_pb_toggle_title,
.et_pb_toggle_open h5.et_pb_toggle_title {
	color: #8f8f8f;
}
.et_pb_toggle .et_pb_toggle_title:before,
.et_pb_toggle .et_pb_toggle_title:before {
	content: '\4c';
	font-size: 40px;
	color: #fff;
	transition: .5s;
}
.et_pb_toggle:hover .et_pb_toggle_title:before {
	color: #8f8f8f;
}
.et_pb_toggle_open .et_pb_toggle_title::before {
	display: block !important;
	content: '\4b';
}
.et_pb_toggle_content {
	text-align: justify;
}

/* Fullheight slider */
.fullheight-section .et_pb_module.et_pb_slider {
	position: absolute;
	top: -81px;
	left: 0;
	right: 0;
	z-index: -1;
}
.fullheight-section:not(:last-child) {
	margin-bottom: 80px;
}
.fullheight-section.et_pb_section_first .et_pb_module.et_pb_slider {
	top: -161px;
}
.fullheight-section .et_pb_slides .et_pb_empty_slide.et_pb_container {
	min-height: 100vh;
}
@media screen and ( max-width: 980px ) {
	.fullheight-section:not(:last-child) {
		margin-bottom: 50px;
	}
	.fullheight-section:not(.et_pb_section_first) .et_pb_module.et_pb_slider {
		top: -50px;
	}
	.fullheight-section.et_pb_section_first .et_pb_module.et_pb_slider {
		top: -130px;
	}
}

/* Blurb Module */
.et_pb_blurb_position_left .et_pb_main_blurb_image,
.et_pb_blurb_position_right .et_pb_main_blurb_image {
	width: 16px;
	vertical-align: middle;
}
.et_pb_blurb_position_left .et-pb-icon,
.et_pb_blurb_position_right .et-pb-icon {
	font-size: 16px;
}

/* Social media Module */
.et_pb_social_media_follow .et_pb_social_icon a.icon {
	border-radius: 32px;
	background-color: #ff6100 !important;
}

/* Contact page */
.contact-row a {
	color: inherit;
}
.contact-row a:hover {
	color: #8f8f8f;
}
.contact-row .et_pb_column_1 {
	padding: 20px;
}

/* Animations */
@-webkit-keyframes pulse {
    from,to {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1)
    }

    50% {
        -webkit-transform: scale3d(1.05,1.05,1.05);
        transform: scale3d(1.05,1.05,1.05)
    }
}

@keyframes pulse {
    from,to {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1)
    }

    50% {
        -webkit-transform: scale3d(1.05,1.05,1.05);
        transform: scale3d(1.05,1.05,1.05)
    }
}

/* German responsive adjustments */
@media screen and ( max-width: 410px ) {
	body:lang(de) {
		font-size: 12px;
	}
	h1:lang(de),
	h2:lang(de),
	.et_pb_toggle_title:lang(de) {
		font-size: 20px;
	}
	body:lang(de) .et_pb_module.et_pb_toggle {
		width: 97%;
	}
	body:lang(de) .et_pb_toggle_item {
		padding-right: 3%;
	}
	body:lang(de) .et_pb_toggle_close,
	body:lang(de) .et_pb_toggle_open {
		padding: 11px;
	}
}
