* {
    font-family: Avenir, sans-serif;
}

h3 {
    font-size: 22px;
}

h5 {
    font-size: 14px;
    font-weight: bold;
}

span {
    font-size: 14px;
}

.btn {
    width: 100%;
    height: 36px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    margin: 5px 0;
    padding: 0;
}

.btn:disabled {
    opacity: 0.2;
}

.btn-secondary {
    border: none;
    background-color: #eeeeee;
    color: #000;
}

.btn-secondary:hover {
    background-color: #dddddd;
}

.btn-secondary:disabled:hover {
    background-color: #6c757d;
}

.dialogue,
.constructor-form {
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 30px);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.dialogue {
    width: 350px;
}

.constructor-form {
    width: 500px;
}

.dialogue-image {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.dialogue-image img {
    position: relative;
    align-self: center;
}

.dialogue-image img,
.dialogue-text {
    width: 326px;
    max-width: 100%;
}

.dialogue-text {
    display: flex;
    flex-direction: column;
    align-self: center;
    text-align: center;
    margin: 12px 0;
}



.dialogue-buttons {
    margin: 32px 0;
}

.footer {
    position: fixed;
    background-color: #ffffff;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
}

form .form-control {
    border-radius: 0;
    border-color: #e2e2e2;
    height: 36px;
    line-height: 36px;
}

form label {
    position: relative;
    width: 100%;
}

.form-group {
    position: relative;
}

.form-control.is-invalid {
    background: none;
}

.status {
    content: '';
    background: #1e80fa url(../img/ok.svg) no-repeat center center;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    right: 10px;
    top: 37px;
    border-radius: 50%;
    transition: 300ms;
    transition-timing-function: ease-in-out;
    opacity: 0;
}

.form-control.is-invalid+.status {
    background: #d33f2b url(../img/error.svg) no-repeat center center;
    opacity: 1;
}

.subtitle {
    margin-top: .25rem;
    display: block;
}

form label,
form input::placeholder{
    font-size: 14px;
}

form input::placeholder {
    color: #c4c4c4!important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.overlay {
    position: fixed;
    display: flex;
    justify-content: center;
    left: 0;
    top: 0;
    width: 100%;
    /*min-height: 100%;*/
    background-color: rgba(0,0,0,.5);
    display: none;
}

.overlay.overlay-step-2 {
    min-height: 100%;
    z-index: 3;
}

.overlay .card {
    width: 500px;
    max-width: 100%;
    border-radius: 0;
    align-self: center;
}

.overlay .card p {
    font-size: 14px;
}

.overlay .card .card-title {
    font-size: 16px;
    margin-top: 50px;
}

.overlay .card p {
    margin-bottom: 16px;
}

.overlay .card .business-name {
    margin-bottom: 40px;
}

.overlay .card-footer {
    display: flex;
    justify-content: flex-end;
    background-color: #ffffff;
    border-color: #e2e2e2;
}

.overlay .card-footer .btn{
    margin: 4px 0px 4px 9px;
}

.card {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
    margin-bottom: 32px;
}

.card-selector {
    display: none;
}

.card-selector + label {
    position: absolute;
    top: 16px;
    left: 16px;
    height: 20px;
    width: 20px;
    background: transparent url(../img/ok-grey.svg) no-repeat center center;
    border-radius: 50%;
}

.card-selector + label:hover {
    cursor: pointer;
}

.card-selector:checked + label {
    background: #1e80fa url(../img/ok.svg) no-repeat center center;
}

.card-body {
    padding: 18px;
}

.card-body a,
.card-text {
    font-size: 14px;
}

.card-body a{
    font-weight: bold;
}

.card-body a:hover {
    text-decoration: none;
    color: #007bff!important;
}

.card-body .preview span{
    display: inline-block;
    position: relative;
    width: 23px;
    height: 16px;
    background: transparent url(../img/eye.svg) no-repeat center center;
    top: 3px;
}

.card-img-top {
    /*height: 145px;*/
}

.close {
    height: 21px;
    width: 21px;
    background-image: url(../img/cross.png);
    opacity: 1;
    position: absolute;
    right: 50px;
    top: 50px;
    background-size: contain;
    display: block;
    cursor: pointer;
}

.theme-preview {
    display: none;
    background-color: rgba(0,0,0,.7);
    color: #fff;
    padding: 50px 0 0 0;
    position: absolute;
    /*min-height: 5500px;*/
}

.theme-preview .container {
    position: relative;
}

.theme-preview h3,
.theme-preview p {
    font-weight: 200;
}

.theme-preview p {
    font-size: 14px;
    max-width: 90%;
}

.theme-preview button {
    position: absolute;
    right: 0;
    top: 0;
}

.slick-slide {
    height: auto;
}

.slick-arrow {
    height: 62px;
    width: 62px;
    border-radius: 50%;
    border: none;
    color: transparent;
    background-color: transparent;
    position: absolute!important;
    top: 30vh!important;
}

.slick-next {
    background-image: url(../img/slick-next.svg);
    right: -85px!important;
}

.slick-prev {
    background-image: url(../img/slick-prev.svg);
    left: -85px!important;
}

.step-2-error {
    font-size: 20px;
    line-height: 20px;
    padding: 15px 0 15px 10px;
    margin-bottom: 20px;
    background: #d33f2b;
    color: #ffffff;
}

@media (min-width: 768px) {
    .btn {
        width: 86px;
        margin: 0 10px;
    }

    .dialogue-image {
        margin: 36px 0;
    }

    .dialogue-text {
        margin: 20px 0;
    }

    .status {
        right: -30px;
    }
}

@media (min-width: 1024px) {
    .dialogue-text {
        margin: 32px 0;
    }
}
.progress-step-2,
.progress-step-3,
.progress-step-4,
.progress-step-5{
    /*position: absolute;*/
    top: 0;
    left: 0;
    height: 3px;
    background-color: #1e80fa;
}

.progress-step-2 {
    width: 20%;
}

.progress-step-4 {
    width: 35%;
    margin-bottom: 100px;
}

.progress-step-5 {
    position: absolute;
    width: 50%;
}

@media (max-width: 1399px) {
    .theme-preview .container {
        margin-top: 40px;
    }
}

.abs-loader {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0.5;
    z-index: 99999;
}

.abs-loader .loader {
    max-width: calc(100% - 30px);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.card.card-item {
    min-height: 350px;
}

.card__wrapper img.card-img-top {
    margin-bottom: 15px;
}

.card__wrapper h5.card-title {
    margin-bottom: 15px;
    padding: 10px;
}

.card__wrapper p.card-text {
    padding: 10px;
}

.card__wrapper .required-locations__wrapper {
    padding: 15px 10px;
    border-top: 1px solid #808080;
}

.card__wrapper .required-locations__wrapper label {
    cursor: pointer;
    margin-bottom: unset;
}

.card__wrapper label#required-location-label {
    margin-right: 15px;
}
