/*
 Theme Name:     Divi eLife
 Theme URI:      https://www.elegantthemes.com
 Description:    Divi eLife
 Author:         Danut Florian
 Author URI:     https://www.danutflorian.com
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */
/* Selection */
body *::selection {
   background: #e41f3a;
   color: #FFF;
}
#hero *::selection {
   background: rgba(0, 0, 0, 0.99);
   color: #FFF;
}
/* Map */

#map g circle.animate {
    animation: lightup 2s;    
}

@keyframes lightup {
    0 {
        fill: rgba(255, 255, 255, .4);
    }
    50% {
        fill: rgba(255, 255, 255, .7);
    }
    100% {
        fill: rgba(0,0,0,.1);
    }
}
/* Main header */

#home-header {
    transition: background .4s;    
}

.backgrounds-holder {
    position: absolute !important;
    top: 0; left: 0;
    bottom: 0; right: 0;
    z-index: 1 !important;
    padding-top: 0 !important;
}

.backgrounds-holder .et_pb_code_inner {
    min-height: 100%;
}

.backgrounds-holder .background {
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    transition: opacity .4s, clip-path .4s;
}

.backgrounds-holder .background.background--red {
    background-image: radial-gradient(circle at center,#ce001e 0%,#e41f3a 100%)!important;
}

.backgrounds-holder .background.background--yellow {
    background-image: radial-gradient(circle at center,#ffbb42 0%,#e41f3a 100%)!important;
    opacity: 0;
}

.backgrounds-holder .background.background--green {
    background-image: radial-gradient(circle at center,#2fecbb 0%,#13604c 100%)!important;
    opacity: 0;
}

body.inputFocused .backgrounds-holder .background.background--yellow,
body.inputFocused.buttonHover .backgrounds-holder .background.background--green {
      opacity: 1;
}

/* Footer language */
#footer-language {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top: 1px solid rgba(19, 96, 76, .17);
    padding: 30px 0;
}
#footer-language div {
    position: relative;
}
#footer-language div #language-select {
    display: none;
}
#footer-language div #language-select+label {
    position: relative;
    cursor: pointer;
}
#footer-language div #language-select+label i {
    transition: transform .4s;
    will-change: transform;
}
#footer-language div #language-select+label+ul {
    position: absolute;
    bottom: 25px;
    list-style: none;
    background: white;
    padding: 0;
    width: 100%;
	min-width: 155px;
    padding: 5px;
    box-shadow: 0 0 4px rgba(14, 72, 57, 0.35);
    border-radius: 4px;
    overflow: hidden;
    max-height: 0px;
    opacity: 0;
    transition: all .4s;
    visibility: hidden;
}
#footer-language div #language-select+label+ul li a {
    display: block;
    padding: 5px 10px;
    color: #13604C;
}
#footer-language div #language-select+label+ul li a:hover {
    background: rgba(0, 0, 0, .03);
}
#footer-language div #language-select:checked+label i {
    transform: rotate(180deg);
}
#footer-language div #language-select:checked+label+ul {
    max-height: 200px;
    opacity: 1;
    visibility: visible;
}


/* Call to action */

#footer-call-to-action {
    transition: all .3s;
    transform: scale(0.8) translateY(-100px);
    border-radius: 10px;
    box-shadow: 0px 10px 50px #939fa9;
    margin-bottom: -130px;
    will-change: transform;
}

#footer-call-to-action .et_pb_blurb {
    transition: transform .3s;
    will-change: transform;
}
#footer-call-to-action .action-button-holder  {
	transition: all .3s;
}
#footer-call-to-action.expanded {
    transform: scale(1.01) translateY(0) rotate(-2deg);
    border-radius: 0px;
    margin-bottom: 0px;
}

#footer-call-to-action.expanded .action-button-holder {
    transform: rotate(2deg);
}

/* Footer social */

.footer-widget.last a {
    color: #e41f3a;
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    background: white;
    box-shadow: 0 0 4px rgba(19, 96, 76, .12);
    text-align: center;
    border-radius: 50%;
    font-size: 1.2em;
    margin-right: 10px;
    transition: .3s all;
}
.footer-widget.last a:hover {
    background: #e41f3a;
    color: white !important;
    cursor: white;
}
.footer-widget.last a:last-child {
    margin-right: 0;
}

input {
    margin: 0;
}

/* Button */
a,
button {
    cursor: pointer;
    margin: 0;
}
.button {
    color: white;
    font-size: 16px;
    padding: 15px 30px;
    margin: 35px 0;
    border-radius: 4px;
    display: inline-block;
    transition: all .3s;
    background: linear-gradient(to right, #58b9ac 25%, #13604c 75%);
    background-size: 400% 100%;
    background-position: 0 0;
}
.button:hover {
    background-position: 100% 0;
}

/* Hero */
#hero .devices-image {
    margin-top: 100px;
}
header #et-top-navigation, header nav#top-menu-nav {
    width: 100%;
}
header #et-top-navigation #top-menu {
    float: none;
    display: flex;
    align-items: center;
    width: 100%;
}
header #et-top-navigation #top-menu .spacer {
    flex: 1 1 auto;
    opacity: 0;
}
header #et-top-navigation #top-menu .spacer a {
    cursor: default;
}
header #et-top-navigation .logo {
    font-size: 1.5em;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    text-transform: uppercase;
}
header #et-top-navigation .logo span {
	color: white !important;
}
header #et-top-navigation .login a {
    padding: 8px 30px !important;
    border: 1px solid black;
    border-radius: 4px;
    transition: all .3s;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+33,ffffff+66&0+33,1+66 */
    background: linear-gradient(to right, rgba(0,0,0,0) 33%, rgba(0,0,0, 1) 66%);
    background-size: 302% 100%;
    background-position: 0 0;
}
header #et-top-navigation .login:hover a {
    color: #13604c;
    background-position: 100% 0;
}
header.et-fixed-header #et-top-navigation .logo span {
	color: #e41f3a !important;
}
header.et-fixed-header #et-top-navigation .login {
    border-color: #6A7975;
}

header.et-fixed-header #et-top-navigation .login a {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 33%, rgba(255, 255, 255, 1) 66%);
    background-size: 302% 100%;
}

header.et-fixed-header #et-top-navigation .login a:hover {
    color: black !important;
}

header #et-top-navigation .login:hover a {
    color: #FFF;
    opacity: 1;
    background-position: 100% 0;
}
header.et-fixed-header #et-top-navigation .login a {
    border-color: #6A7975;
}

header.et-fixed-header#main-header {
    box-shadow: 0 1px 4px rgba(6, 32, 35, .3) !important;
}
header #et-top-navigation li a {
    padding-bottom: 0 !important;
}
header #et-top-navigation li {
    margin-bottom: 22px !important;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content { 
	width: 100%
}

/* Form Stuff */

form.form--small {
    max-width: 100%;
    margin: 0 auto;
    font-size: 14px;
    margin-top: 40px;
}

form.form--small > p {
	display: flex;
	width: 100%;
}

#hero form.form--small {
    margin-top: 50px;
}

form.form--small input, form.form--small button {
    height: 60px;
    line-height: 60px;
    font-size: 1em;
    border: none;
    padding: 0 25px;
    outline: none;
}
form.form--small input {
    flex: 1 1 auto;
    border-radius: 4px 0 0 4px;
}
form.form--small button {
    border-radius: 0 4px 4px 0;
    color: white;
    cursor: pointer;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 33%, rgba(0, 0, 0, 1) 66%);
    background-size: 302% 100%;
    background-position: 100% 0;
    cursor: pointer;
    transition: background-position .4s, color .2s;
}
form.form--small button:hover {
    background-position: 0 0;
    color: black;    
}
form.form--small.form--complete button:hover {
	background-position: 100% 0;
	color: white !important;
}
form.form--small.form--sunny {
    box-shadow: 0 1px 2px rgba(14, 70, 56, .25);
}
form.form--small.form--sunny button {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ff8e64+50,ffe641+100 */
    background: #ff8e64;
    /* Old browsers */
    background: -moz-linear-gradient(left, #ff8e64 50%, #ffe641 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #ff8e64 50%, #ffe641 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #ff8e64 50%, #ffe641 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ff8e64', endColorstr='#ffe641', GradientType=1);
    /* IE6-9 */
    background-size: 150% 100% !important;
    background-position: 100% 0 !important;
    transition: all .3s;
}

form.form--small.form--green {
    margin-top: 50px;
    font-size: 16px;
}
form.form--small.form--green input {
    background: rgba(6, 32, 25, .12);
}
form.form--small.form--green button {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ff8e64+0,ffe641+100 */
    margin: 0;
}
form.form--small.form--green button:hover {
    background-position: 100% 0 !important;
}

black {
	background: black;
	color: white;
	padding: 0 2px;
}

@media screen and (max-width: 600px) {
    form.form--small {
        flex-direction: column;
    }

    form.form--small input {
        border-radius: 4px 4px 0 0;
        text-align: center;
		width: 100%;
    }

    form.form--small button {
        border-radius: 0 0 4px 4px;
		width: 100%;
    }
}

/* Mobile menu */

.mobile_menu_bar.mobile_menu_bar_toggle:before {
    color: white !important;
}
#mobile_menu {
    border-color: white;
    background: white !important;
}
header #mobile_menu li.logo a {
    font-size: 18px;
}
header #et-top-navigation #mobile_menu li {
    margin-bottom: 0 !important;
}
header #et-top-navigation #mobile_menu li a {
    color: #13604c;
    padding-bottom: 10px !important;
}
#mobile_menu li.spacer a {
    display: none;
}
#mobile_menu li.login a {
    padding: 0;
    font-weight: bold;
}
@media (max-width: 980px) {
    #top-menu {
        display: none !important;
    }
}

/* Menu Phone */

#top-menu li.phone a:before {
    content: url(/wp-content/uploads/phone_outline.svg);
    top: 3px;
    position: relative;
    margin-right: 5px;
}

#top-menu li.phone a:after {
    content: url(/wp-content/uploads/phone_filled.svg);
    opacity: 0;
}

#top-menu li.phone a:hover:before {
    content: url(/wp-content/uploads/phone_filled.svg);
}

.et-fixed-header #top-menu li.phone a:before {
    content: url(/wp-content/uploads/phone_white_outline.svg);
}
.et-fixed-header #top-menu li.phone a:after,
.et-fixed-header #top-menu li.phone a:hover:before {
    content: url(/wp-content/uploads/phone_white_filled.svg);
}

/* Themed Form */

.themed form input,
.themed form textarea{
    border-radius: 4px;
    cursor: text !important;
    background: #F6F9F8;
}

.themed form textarea {
    max-width: 100%;
}

.themed form button[type=submit] {
    color: white;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 4px;
    display: inline-block;
    transition: all .3s;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 33%, rgba(0, 0, 0, 1) 66%);
    background-size: 302% 100%;
    background-position: 100% 0;
    cursor: pointer;
    transition: background-position .4s, color .2s;
}

.themed form button:hover {
    background-position: 0 0;
    color: black;    
}

.et_pb_contact_form_0 > .et_pb_contact_form_0 .et-pb-contact-message p {
    text-align: center;
}

.et_pb_contact_form_0 > .et_pb_contact_form_0 {
    box-shadow: none !important;
}

.hidden {
    visibility: hidden;
    opacity: 0;
}

#canvas {
    position: absolute;
}

.brand-image img {
    height: 25px;
}

/*
You can add your own CSS here.

Click the help icon above to learn more.
*/

.form--small button {
    position: relative;
}

.form--small svg.checkmark {
    transition: all .3s;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-block;
    stroke-width: 3;
    stroke: white;
    stroke-miterlimit: 10;
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.form--small .checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}
.form--small.form--complete svg.checkmark {
    transform: translate(-50%, -50%);
    opacity: 1;
}
.form--small.form--complete svg.checkmark .checkmark__check {
    animation: stroke .3s cubic-bezier(0.650, 0.000, 0.450, 1.000) .1s forwards;
}

.form--small button .label {
    transition: all .3s;
    display: block;
}
.form--small.form--complete button .label {
    transform: scale(0.5);
    opacity: 0;
}


@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.et_pb_circle_counter .percent p, .et_pb_number_counter .percent p {
visibility: visible;
}
