/*
Theme Name: Haeger Holding ecards 2023
Author: F.Rahim | Marketing
Description: Custom made Theme
Requires at least: 5.9
Tested up to: 6.1
Requires PHP: 5.6
Version: 1
Text Domain: haeger

Haeger Holding WordPress Theme, (C) 2023 Haeger
*/

:root{
    --hh-white: #fff;
    --hh-black: #1D1F22;
    --hh-lightgold: #EDE6D6;
    --hh-gold: #C0B08A;/*#D09026;*/
    --hh-altgold: #9B8C69;/*#D09026;*/
    --hh-darkgold: #61512C;/*#D09026;*/
    --hh-lightgrey: #f4f5f6;
    --hh-lightgrey2: #e9ebed;
    --hh-lightsteel: #868e99;
    --hh-darkgrey: #2F3238;
    --hh-darkgrey-70: #555B64;
    --hh-input-border-color: #C8CBD1;
    --hh-input-button-color-disabled: #A7ACB5;
    --hh-text-shadow: 0 4px 4px rgba(0,0,0,0.25);
}


html,
body {
    font-size: 16px;
    font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 140%;
    background: var(--hh-white);
    color:var(--hh-darkgrey);
    position: relative;
}

section {
    background: var(--hh-white);
}

a {
    transition: 0.2s ease-in-out;
    color: var(--hh-altgold);
    text-decoration:none;
}
a:hover {
    color: var(--hh-altgold);
    text-decoration:underline;
}

p {
    line-height: 145%;
    font-family: "Source Sans Pro", helvetiva, arial, sans-serif;
}

ul{
    list-style: none;
    padding-left: 0.5rem;
}

footer ul li,
.content ul li{
    background: url('assets/img/icon-list-arrow-dark.png') left top 5px / 8px transparent no-repeat;
    padding-left: 16px;
}

.content ul.list-col-2 {
    columns: 2;
}

h1, h2, h3,
h4, h5, h6,
.h3, .h4{
    font-weight: 600;
    font-family: "Source Sans Pro", helvetiva, arial, sans-serif;
}

h1 {
    font-size: 36px;
    line-height: 120%;
}
h2 {
    font-size: 30px;
    line-height: 120%;
}

h3, .h3 {
    font-size: 24px;
    line-height: 120%;
}
h4, .h4 {
    font-size: 20px;
    line-height: 120%;
}

b, strong {
    font-weight: 600;
}

small {
    color:#7A7A7A
}

.btn_hh {
    width: 100%;
    padding: 8px 32px;
    display: inline-block;
    text-align: center;
    border: 1px solid var(--hh-darkgrey);
    text-transform: uppercase;
    margin-top: 1rem;
    border-radius: 3px;
    font-size: 0.875rem;
    transition: 0.3s ease-in-out;
    text-decoration: none;
    min-width:168px;
}
.btn_dark {
    background: var(--hh-darkgrey);
    color: var(--hh-white);
}
.btn_dark:hover {
    background: var(--hh-white);
    color: var(--hh-darkgrey);
    border-color: var(--hh-darkgrey);
}

.btn_gold{
    background-color: var(--hh-altgold);
    border-color: var(--hh-altgold);
    color: var(--hh-white);
}
.btn_gold:hover{
    background-color: var(--hh-darkgold);
    color: var(--hh-white);
}

button[disabled].btn_hh {
    opacity: 0.5;
    cursor: not-allowed;
}

button[disabled].btn_hh:hover {
    background: var(--hh-darkgrey)!important;
    color: #fff;
}

.logged-in nav {
    /*top: 62px;*/
}

nav{
    position:absolute;
    top:30px;
    width: 100%;
}
nav .site-title,
nav .site-title a{
    color: #fff;
    font-size: 26px;
    font-weight: 600;
}
nav .site-title a:hover{
    text-decoration:none
}

#stage{
    min-height: 70vh;
}

#stage-mobile-img figure {
    margin-bottom:0;
}

#stage .copy {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: var(--hh-lightsteel);
}

#stage h2 {
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 4px 8px rgba(0,0,0,0.15);
    margin-bottom: 1.6rem;
}

#stage p {
    font-size:20px;
    color:#fff;
}

#steps {
    padding: 90px 0
}

#steps .step {
    position:relative;
}

#steps .step::after {
    content: "";
    top: 2px;
    height: 100%;
    left: 25px;
    background: var(--hh-altgold);
    width: 1px;
    position: absolute;
}
#steps .step-3::after {
    height:0;
}

#steps h2 {
    font-size: 30px;
    margin-bottom: 46px;
}

#steps h3 {
    margin-bottom: 1rem;
}

#steps .step_image figure img {
    width: 140px;
    height: 140px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--hh-lightgold);
    margin: 0 auto 20px;
}

#steps .stepno {
    color: #fff;
    background: var(--hh-altgold);
    height: 30px;
    width: 30px;
    line-height: 30px;
    font-size: 20px;
    border-radius: 50%;
    float:left;
    margin: 0 13px 100px 0;
    z-index: 2;
    position: relative;
    text-align: center;
}

#ecard_form {
    background: var(--hh-lightgrey2);
    padding: 90px 0
}

#ecard_form hr{
    border-top: 3px dashed;
}

#ecard_form #preview {
    width: 50%;
    height: auto;
    /*border: 1px solid var(--hh-darkgrey-70);*/
    margin-bottom: 1rem;
    border-radius: 2px;
}

#ecard_form #preview img {
    object-fit: cover;
    width: 100%;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.45);
}

#ecard_form .nav-pills {
    --bs-nav-pills-border-radius: 3px;
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: #2f3238;
    --bs-link-color: var(--hh-darkgrey);
    --bs-nav-link-padding-y: 2px;
}

#ecard_form .nav-pills .nav-item:first-child .nav-link{
    margin-right: 2.5rem;
}
#ecard_form .nav-pills .nav-link {
    background: #fff;
    border: 1px solid #bfbfbf;
    color: var(--bs-nav-pills-link-active-bg);
    border-radius: 50%;
    width: 17px;
    height: 17px;
    padding: 0;
    text-indent: 20px;
    line-height: 8px;
}
#ecard_form .nav-pills .nav-link.active {
    background: #fff;
    border: 5px solid var(--bs-nav-pills-link-active-bg);
}


#ecard_form textarea.form-control {
    min-height: 120px;
    padding:20px 16px;
}

#ecard_form .owl-nav {
    position: absolute;
    left: -60px;
    top: 42%;
    transform: translateY(-50%);
    width: 30px;
}

#ecard_form .owl-carousel .owl-dot span {
    background: #fff;
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
    margin: 0 5px;
    transition:0.2s ease-out;
}

#ecard_form .owl-carousel .owl-dot.active span {
    background: var(--hh-darkgrey);
}

#ecard_form .owl-carousel .owl-item img {
    object-fit: cover;
    width: 180px;
}

#ecard_form .owl-dots {
    margin-top: 1rem;
}
#ecard_form .owl-nav .owl-prev {
    background: url('assets/img/icon_carousel_left_active.png') center center/ 24px no-repeat transparent;
    width: 24px;
    height: 24px;
    text-indent: -999px;
    margin-bottom: 10px;
}
#ecard_form .owl-nav .owl-next {
    background: url('assets/img/icon_carousel_left_active.png') center center/ 24px no-repeat transparent;
    width: 24px;
    height: 24px;
    text-indent: -999px;
    transform: rotate(180deg);
}

#ecard_form .owl-nav .disabled {
    opacity:0.3;
}

#ecard_form .ec_select_image.selected::after {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:url('assets/img/icon_check.png') center center no-repeat rgba(47, 50, 56, 0.7);
}

#ecard_form .ec_select_image {
    display: block;
    position: relative;
    overflow:hidden;
}
#ecard_form .ec_select_image img{
    transition:0.3s ease-in-out;
}

#ecard_form .ec_select_image:not(.selected):hover img {
    transform: scale(1.05);
}

#ecard_form .form-check-input:checked {
    background-color: var(--hh-darkgrey);
    border-color: var(--hh-darkgrey);
}

#ecard_form .ec_submit #loadericon {
    margin-top: 12px;
    padding-top: 10px;
    padding-left: 10px;
}

#ecard_form .form-select:disabled {
    background-color: #eaeaea;
    color: #a9a9a9;
    cursor:not-allowed
}
form#ec_form{
    position:relative;
}
.just-validate-error-label {
    position: absolute;
    right: 1rem;
}

#ecard_form .notice {
    color:#ca7171
}

footer {
    background-color: var(--hh-darkgrey);
    padding: 30px 0;
    text-align: center;
    color: #fff;
}

footer .site-title {
    font-size: 26px;
    font-weight: 600;
}

footer a {
    color:currentColor;
    text-decoration: none;
}

footer a:hover{
    color:currentColor;
    text-decoration:underline;
}

footer .copyright{
    font-weight: 300;
    font-size: 14px;
}

footer .social-list {
    margin:0;
    padding: 0;
}

footer .social-list li {
    list-style: none;
    background: none;
    display: inline-block;
    padding: 0;
    margin-right: 10px;
}

footer .social-list li.social-instagram a {
    background: url('assets/img/icon-social-instagram.png') center center / 14px no-repeat #fff;
}
footer .social-list li.social-facebook a {
    background: url('assets/img/icon-social-facebook.png') center center / 8px no-repeat #fff;
}
footer .social-list li.social-linkedin a {
    background: url('assets/img/icon-social-linkedin.png') center center / 14px no-repeat #fff;
}
footer .social-list li.social-whatsapp a {
    background: url('assets/img/icon-social-whatsapp.png') center center / 18px no-repeat #fff;
}
footer .social-list li.social-twitter a {
    background: url('assets/img/icon-social-twitter.png') center center / 20px no-repeat #fff;
}

footer .social-list li a {
    width: 26px;
    height: 26px;
    background: #fff;
    display: block;
    border-radius: 50%;
}

#ec_event_loading.act{
    opacity:1
}

#ec_event_loading {
    margin-top: 44px;
}

.lds-dual-ring {
    opacity:0;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-top: 23px;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 30px;
    height: 30px;
    margin: 0;
    border-radius: 50%;
    border: 3px solid #9b8c69;
    border-color: #9b8c69 transparent #9b8c69 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#ecv_header {
    height: 90px;
    background-color: var(--hh-lightsteel);
}

#ecard_view{
    padding: 100px 0
}

#ecard_view #ec_printversion {
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.45);
    min-height: 200px;
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 1rem;
}
#ecard_view #ec_printversion img{
    width: 100%;
}
.btn_print{
    background: url('assets/img/icon_printing.png') center center / 20px no-repeat transparent;
    width: 30px;
    height: 30px;
    border: 0;
    margin-top: 10px;
}

#ec_text {
    font-size: 20px;
    padding:60px 40px;
}

.prep {
    display:none;
    color: #509a26;
}
.prep-3 {
    color: #b41616;
}

.prep-3 div {
    display: inline;
}

.icon-error,
.icon-check{
    position: relative;
    display: inline-block;
    width: 10px;
    margin-right: 5px;
}
.icon-check::before {
    content: "";
    position: absolute;
    left: 0;
    top: -6px;
    width: 16px;
    height: 2px;
    background-color: #509a26;
    transform: rotate(-54deg);
}
.icon-check::after {
    content: "";
    position: absolute;
    left: -2px;
    top: -3px;
    width: 6px;
    height: 2px;
    background-color: #509a26;
    transform: rotate(35deg);
}

.icon-error::after{
    content: "";
    position: absolute;
    left: 0;
    top: -6px;
    width: 16px;
    height: 2px;
    background-color: #b41616;
    transform: rotate(45deg);
}
.icon-error::before{
    content: "";
    position: absolute;
    left: 0;
    top: -6px;
    width: 16px;
    height: 2px;
    background-color: #b41616;
    transform: rotate(-45deg);
}

#ec_loading {
    margin: 50% auto;
    display: table;
}
.wave-loading {
    display: flex;
}
.wave-loading .dot {
    position: relative;
    width: 0.8em;
    height: 0.8em;
    margin: 0.6em;
    border-radius: 50%;
}
.wave-loading .dot::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: wave 1.5s ease-out infinite;
}
.wave-loading .dot:nth-child(1) {
    background: var(--hh-lightsteel);
}
.wave-loading .dot:nth-child(1)::before {
    animation-delay: 0.2s;
}
.wave-loading .dot:nth-child(2) {
    background: var(--hh-darkgrey-70);
}
.wave-loading .dot:nth-child(2)::before {
    animation-delay: 0.4s;
}
.wave-loading .dot:nth-child(3) {
    background: var(--hh-darkgrey);
}
.wave-loading .dot:nth-child(3)::before {
    animation-delay: 0.6s;
}
.wave-loading .dot:nth-child(4) {
    background: var(--hh-gold);
}
.wave-loading .dot:nth-child(4)::before {
    animation-delay: 0.8s;
}
.wave-loading .dot:nth-child(5) {
    background: var(--hh-darkgold);
}
.wave-loading .dot:nth-child(5)::before {
    animation-delay: 1s;
}

@keyframes wave {
    50%, 75% {
        transform: scale(2);
    }
    80%, 100% {
        opacity: 0;
    }
}

@media(min-width:480px){
    .btn_hh {
        width: auto;
    }
}
@media(min-width:768px){
    #stage .copy {
        padding-top: 50%;
        padding-bottom: 0;
        background-color: transparent;
    }
    #stage h2 {
        font-size: 36px;
    }
    #steps h2 {
        font-size: 50px;
    }
    #steps .stepno {
        margin: 0 auto 1rem;
        float:none;
    }

    #steps .step::after{
        content:"";
        position:absolute;
        top: 191px;
        left:50%;
        width:50%;
        height: 1px;
        background: var(--hh-altgold);
    }
    #steps .step-2::after{
        left:0;
        width:100%;
    }
    #steps .step-3::after{
        left:0;
    }
    #ecard_form #preview {
        width: 100%;
    }
}

@media(min-width: 1024px){
    #stage .copy {
        padding-top: 25%;
    }
}
@media(min-width: 1280px){
    #stage .copy {
        padding-top: 18%;
    }
    #stage h2 {
        font-size: 48px
    }

    .pe-md-10{
        padding-right:10rem;
    }
    #ecard_form #preview img {
        object-fit: cover;
        width: 300px;
    }
    .just-validate-error-label {
        right: 10rem;
    }
}

@media(min-width: 1440px){
    #ecard_form #preview img {
        width: 260px;
    }
}

@media(min-width: 1650px){
    #stage h2 {
        font-size: 66px;
    }
}