/*============================================================================================*/
/* 1.  STRUCTURE */
/*============================================================================================*/
/*-------- Typography --------*/

/*General links color*/
a {
    color: #54a8c7;
    text-decoration: none;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    outline: none;
}

a:hover,
a:focus {
    color: #272727;
    text-decoration: none;
    outline: none;
}

a.animated_link {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    /*font-size: 21px;*/
    color: #54a8c7 !important;
}

a.animated_link:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -5px;
    opacity: 1;
    left: 0;
    background-color: #54a8c7;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

a.animated_link:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

a.animated_link.active {
    position: relative;
    text-decoration: none;
    color: #54a8c7;
}

a.animated_link.active:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -5px;
    opacity: 1;
    left: 0;
    background-color: #54a8c7;
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

/*-------- Preloader and Loader --------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    background-color: #fff;
    z-index: 999999;
}

[data-loader="circle-side"] {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    -webkit-animation: circle infinite .95s linear;
    -moz-animation: circle infinite .95s linear;
    -o-animation: circle infinite .95s linear;
    animation: circle infinite .95s linear;
    border: 2px solid #333;
    border-top-color: rgba(0, 0, 0, 0.2);
    border-right-color: rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(0, 0, 0, 0.2);
    border-radius: 100%;
}

#loader_form {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    background-color: #fff;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 999999;
    display: none;
}

[data-loader="circle-side-2"] {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    -webkit-animation: circle infinite .95s linear;
    -moz-animation: circle infinite .95s linear;
    -o-animation: circle infinite .95s linear;
    animation: circle infinite .95s linear;
    border: 2px solid #333;
    border-top-color: rgba(0, 0, 0, 0.2);
    border-right-color: rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(0, 0, 0, 0.2);
    border-radius: 100%;
}

@-webkit-keyframes circle {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes circle {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes circle {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes circle {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.page-header {
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: 50%;
}

.page-header .container {
    z-index: 1;
}

.border-radius-lg {
    border-radius: 0.75rem;
}

/*============================================================================================*/
/* 2.  FORM ELEMENTS */
/*============================================================================================*/
input#website {
    display: none;
}

#top-wizard {
    padding-bottom: 10px;
}

#location {
    font-size: 1rem;
    color: #54a8c7;
    font-weight: 500;
}

#progressbar {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    background-color: #f0f0f0;
}

/*-------- Form --------*/
.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-group.terms {
    background-color: #f0f0f0;
    padding: 12px 0 0 0;
    text-align: left;
    padding: 8px 5px 5px 8px;
}

.form-group.terms .container_check {
    margin-bottom: 3px;
}

.form-group i {
    font-size: 18px;
    font-size: 1.125rem;
    position: absolute;
    right: 5px;
    top: 11px;
    color: #ccc;
    width: 25px;
    height: 25px;
    display: block;
    font-weight: 400 !important;
}

.form-control {
    border: 1px solid #e8e8e8;
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
    font-size: 0.875rem;
    height: calc(2.65rem + 2px);
}

.form-control:focus {
    box-shadow: none;
    border-color: #28509c;
}

/* Checkbox style */
.container_check {
    display: block;
    position: relative;
    font-size: 14px;
    font-size: 0.875rem;
    padding-left: 30px;
    line-height: 1.3;
    margin-bottom: 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: 400;
}

.container_check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.container_check input:checked ~ .checkmark {
    background-color: #1dbe72;
    border: 1px solid transparent;
}

.container_check .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.container_check .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.container_check input:checked ~ .checkmark:after {
    display: block;
}

/*-------- Buttons --------*/
#bottom-wizard {
    text-align: center;
    margin-top: 10%;
}


button.forward,
button.btn-success {
    border: none;
    color: #fff;
    text-decoration: none;
    transition: background .5s ease;
    -moz-transition: background .5s ease;
    -webkit-transition: background .5s ease;
    -o-transition: background .5s ease;
    display: inline-block;
    cursor: pointer;
    outline: none;
    text-align: center;
    /*background: #1dbe72;*/
    background: #54a8c7;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    line-height: 1;
    padding: 12px 30px;
}

a.backward,
button.backward {
    border: none;
    color: #272727;
    text-decoration: none;
    transition: background .5s ease;
    -moz-transition: background .5s ease;
    -webkit-transition: background .5s ease;
    -o-transition: background .5s ease;
    display: inline-block;
    cursor: pointer;
    outline: none;
    text-align: center;
    background: #e8e8e8;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    line-height: 1;
    padding: 12px 30px;
}

.backward:hover,
.forward:hover,
.btn-success:hover {
    background: #b9dae4;
    color: #54a8c7;
}

button.btn-success a {
    color: #fff;
}

button[disabled] {
    pointer-events: none;
    cursor: not-allowed;
    opacity: .5;
}

/*-------- 3.3 Float Labels --------*/
/*!
 * Float Labels
 * @version: 3.3.9
 * @author: Paul Ryley (http://geminilabs.io)
 * @url: https://pryley.github.io/float-labels.js
 * @license: MIT
 */
.fl-form .fl-wrap {
    position: relative;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fl-form input.fl-input,
.fl-form select.fl-select,
.fl-form textarea.fl-textarea {
    width: 100%;
    outline: 0;
    font-size: 16px;
    line-height: 1.4;
    border-radius: 3px;
    border: 1px solid none;
    background-color: white;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    margin-bottom: 0;
}

.fl-form input.fl-input:-moz-placeholder,
.fl-form select.fl-select:-moz-placeholder,
.fl-form textarea.fl-textarea:-moz-placeholder {
    color: #555;
    font-weight: 400;
}

.fl-form input.fl-input::-moz-placeholder,
.fl-form select.fl-select::-moz-placeholder,
.fl-form textarea.fl-textarea::-moz-placeholder {
    color: #555;
    font-weight: 400;
}

.fl-form input.fl-input:-ms-input-placeholder,
.fl-form select.fl-select:-ms-input-placeholder,
.fl-form textarea.fl-textarea:-ms-input-placeholder {
    color: #555;
    font-weight: 400;
    color: #FFF !important;
}

.fl-form input.fl-input::-webkit-input-placeholder,
.fl-form select.fl-select::-webkit-input-placeholder,
.fl-form textarea.fl-textarea::-webkit-input-placeholder {
    color: #555;
    font-weight: 400;
}

.fl-form select.fl-select {
    position: relative;
    color: #555;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.fl-form select.fl-select::-ms-expand {
    display: none;
}

.fl-form .fl-is-active input.fl-input,
.fl-form .fl-is-active select.fl-select,
.fl-form .fl-is-active textarea.fl-textarea {
    color: #222;
    background-color: #fff !important;
    border-color: none;
}

.fl-form .fl-has-focus input.fl-input,
.fl-form .fl-has-focus select.fl-select,
.fl-form .fl-has-focus textarea.fl-textarea {
    background-color: #fff !important;
    border-color: none;
}

.fl-form label.fl-label {
    opacity: 0;
    visibility: hidden;
    display: block;
    position: absolute;
    top: -11px;
    left: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    border-top-left-radius: 3px;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

body[dir=rtl] .fl-form label.fl-label {
    left: unset;
    right: 0;
}

.fl-form .fl-is-active label.fl-label {
    opacity: 1;
    visibility: visible;
}

.fl-form .fl-has-focus label.fl-label {
    color: #555;
}

.fl-form .fl-is-required:before {
    opacity: 1;
    content: '';
    display: block;
    position: absolute;
    top: 1px;
    right: 18px;
    font-size: 14px;
    line-height: 1.75;
    color: #555;
    transition: all 0.3s ease-in-out;
    padding: 8px 0 0;
    z-index: 1;
}

body[dir=rtl] .fl-form .fl-is-required:before {
    right: unset;
    left: 18px;
}

.fl-form .fl-is-required.fl-is-active:before {
    opacity: 0;
}

.fl-form.fl-style-1 input.fl-input,
.fl-form.fl-style-1 select.fl-select,
.fl-form.fl-style-1 textarea.fl-textarea {
    padding: 8px 16px;
}

.fl-form.fl-style-1 select.fl-select {
    height: 46px;
}

.fl-form.fl-style-1 .fl-is-active input.fl-input,
.fl-form.fl-style-1 .fl-is-active select.fl-select,
.fl-form.fl-style-1 .fl-is-active textarea.fl-textarea {
    padding: 8px 16px;
}

.fl-form.fl-style-1 label.fl-label {
    top: 1px;
    left: 13px;
    background-color: transparent;
    padding: 16px 4px;
}

.fl-form.fl-style-1 label.fl-label:before {
    content: '';
    display: block;
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: white;
    z-index: -1;
}

.fl-form.fl-style-1 .fl-is-active label.fl-label {
    top: -10px;
    padding: 4px;
}

.fl-form.fl-style-1 .fl-is-active label.fl-label:before {
    top: 10px;
}

body[dir=rtl] .fl-form.fl-style-1 label.fl-label {
    left: unset;
    right: 13px;
}

.fl-form.fl-style-2 input.fl-input,
.fl-form.fl-style-2 select.fl-select,
.fl-form.fl-style-2 textarea.fl-textarea {
    padding: 16px;
}

.fl-form.fl-style-2 select.fl-select {
    height: 62px;
}

.fl-form.fl-style-2 .fl-is-active input.fl-input,
.fl-form.fl-style-2 .fl-is-active select.fl-select,
.fl-form.fl-style-2 .fl-is-active textarea.fl-textarea {
    padding: 24px 16px 8px;
}

.fl-form.fl-style-2 label.fl-label {
    top: 1px;
    left: 9.8px;
    padding: 8px 4px 4px;
}

.fl-form.fl-style-2 .fl-is-required:before {
    padding-top: 16px;
}

body[dir=rtl] .fl-form.fl-style-2 label.fl-label {
    left: unset;
    right: 13px;
}

.fl-form .fl-wrap-select:after {
    content: '';
    position: absolute;
    display: block;
    top: 1px;
    right: 6px;
    height: calc(100% - 2px);
    width: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 16'%3E%3Cpath fill='%23555' d='M 4 0 L 0 6.5 L 8 6.5 L 4 0 z M 0 9.5 L 4 16 L 4 16 L 8 9.5 z'/%3E%3C/svg%3E") no-repeat;
    background-position: 100% 50%;
    background-size: 7px 14px;
    z-index: 2;
}

body[dir=rtl] .fl-form .fl-wrap-select:after {
    right: unset;
    left: 6px;
}


/* errors */
span.fl-error {
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    font-size: 12px;
    position: absolute;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    top: -20px;
    right: -15px;
    z-index: 2;
    height: 25px;
    line-height: 1;
    background-color: #5b9bf3;
    color: #fff;
    font-weight: normal;
    display: inline-block;
    padding: 6px 8px;
}

span.fl-error:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 0 6px 6px 0;
    border-color: transparent #e34f4f;
    display: block;
    width: 0;
    z-index: 1;
    bottom: -6px;
    left: 20%;
}

.styled-select span.fl-error {
    top: -20px;
}

.terms span.fl-error {
    top: -30px;
    left: -15px;
    right: inherit;
}

/* Success */

.icon--order-success.svg:before {
    width: auto;
    margin: 0;
}

.icon--order-success svg path {
    -webkit-animation: checkmark 0.25s ease-in-out 0.7s backwards;
    animation: checkmark 0.25s ease-in-out 0.7s backwards;
}

.icon--order-success svg circle {
    -webkit-animation: checkmark-circle 0.6s ease-in-out backwards;
    animation: checkmark-circle 0.6s ease-in-out backwards;
}

/* datepicker */
input.p-picker[type="date"] {
    position: relative;
}

input.p-picker[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    color: transparent;
    background: transparent;
}
