/* Buybox button */

.se-service-buybox {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px;
    color: #3d3d3d;
    text-align: left;
    background: #fff;
    border: 2px solid #9c0;
}

.se-service-buybox b {
    font-weight: 600;
}

.se-service-buybox-content {
    flex: 1;
}

.se-sevice-buybox-img {
    flex: 0 0 32px;
    margin: 0 5px 0 8px;
}

.se-sevice-buybox-img > img {
    max-height: 28px;
}

@media (min-width: 768px) {
    .se-service-buybox {
        padding: 8px 0;
        font-size: 13px;
    }
}

/* Modal */

.se-service-modal {
    color: #3d3d3d;
    font-size: 15px;
}

.se-service-modal b {
    font-weight: 600;
}

.se-service-modal .modal-header,
.se-service-modal-map-container .modal-header {
    position: relative;
    z-index: 1;
    border-bottom: 0;
}

.se-service-modal-map {
    width: 100%;
    height: 500px;
    max-height: 80vh;
}

/* Modal: content */

.se-service-modal-header-wrapper {
    display: flex;
    flex-direction: row;
    margin: 25px 0;
}

.se-main-service.se-sevice-buybox-img {
    flex: 0 0 50px;
    margin: 0 2rem 0 0;
}

.se-service-modal-subtitle {
    font-size: 17px;
    line-height: 24px;
    padding-top: 10px;
}

.se-service-modal .se-landing-link {
    margin: 25px 0;
}

.se-service-points-wrapper {
    margin: -20px;
    padding: 20px 25px;
    background: #f9f9f9;
}

.se-select-wrapper {
    text-align: center;
}

.se-service-points-title {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
}

@media (min-width: 768px) {
    .se-service-modal-header-wrapper {
        margin: 25px;
    }

    .se-service-modal .se-landing-link {
        margin: 50px 35px 25px 0;
    }

    .se-service-points-wrapper {
        margin: -30px -30px 0;
        padding: 25px 50px;
        border-radius: 0 0 6px 6px;
    }

    .se-select-wrapper {
        text-align: left;
    }

    .se-service-points-title {
        margin-bottom: 40px;
    }
}

.se-service-modal-city {
    padding: 0;
    font-weight: 600;
    font-size: 18px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid #9c0;
}

.se-service-modal-city::after {
    display: inline-block;
    margin-left: 6px;
    font-weight: 400;
    font-size: 12px;
    font-family: 'FontAwesome', sans-serif;
    transform: translateY(-2px);
    content: '\f078';
}

.se-service-modal-header {
    display: flex;
    flex-direction: column;
}

.se-service-modal-title {
    font-weight: 700;
    font-size: 20px;
}

.se-service-modal-button-wrapper {
    display: flex;
    justify-content: end;
}

.se-service-modal-header .se-sevice-buybox-img {
    flex: unset;
    margin: 25px 0 25px 50px;
}

.se-service-modal .se-sevice-buybox-img > img {
    max-height: 95px;
}

@media (min-width: 768px) {
    .se-service-modal-title {
        font-size: 22px;
    }
}

/* Modal: points */

.se-service-point {
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
    font-size: 14px;
}

.se-service-point-map-btn {
    margin-left: auto;
    padding-left: 20px;
    color: #0066c0 !important;
    font-size: 8px;
    cursor: pointer;
}

.se-service-points {
    margin-bottom: 40px;
}

.se-landing-link {
    width: 220px;
    margin: 20px 0 35px;
}

.se-modal-button-wrapper {
    margin-top: 25px;
}

.se-service-modal .select2-selection--single {
    border-radius: 10px !important;
}

.se-service-modal .select2-selection__rendered {
    font-size: 14px;
    line-height: 19px !important;
    color: #777 !important;
}

.se-service-modal .select2-selection {
    position: relative;
    width: 100%;
    height: 50px !important;
    padding: 3px 6px 3px 17px;
    background-color: #fff;
    border: 2px solid #e6e6e6 !important;
    display: flex !important;
    align-items: center;
}

.select2-container--open {
    z-index: 2147483699 !important;
}

.se-service-modal .select2-selection__arrow {
    top: 10px !important;
    color: var(--color-text) !important;
}

.se-modal-button-wrapper .bt.m--disabled {
    color: #fff;
    background-color: #c6c6c6 !important;
    cursor: not-allowed;
}

@media (min-width: 768px) {
    .se-service-points {
        margin-bottom: 0;
    }

    .se-service-points-container {
        display: flex;
        max-height: 242px;
        overflow: auto;
    }

    .se-service-points-item {
        flex: 0 0 35%;
    }

    .se-service-points-item + .se-service-points-item {
        margin-left: 10px;
    }

    .se-service-points-footer {
        margin-top: 20px;
        text-align: center;
    }

    .se-service-points-footer p {
        margin-bottom: 0;
    }
}

/* Modal: steps */

.se-service-steps {
    margin: 0 -30px 40px;
    padding: 30px;
}

.se-service-step {
    min-height: 60px;
    padding-left: 70px;
    background: 7px top / 40px no-repeat;
}

.se-service-step.m--1 {
    background-image: url('/modules/ordertoservice/views/img/icon-montaz-dodaj.svg');
}

.se-service-step.m--2 {
    background-image: url('/modules/ordertoservice/views/img/icon-montaz-kontakt.svg');
}

.se-service-step.m--3 {
    background-image: url('/modules/ordertoservice/views/img/icon-montaz-zaplac.svg');
}

.se-service-step-separator {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.se-service-step-separator::after {
    position: relative;
    font-family: 'FontAwesome', sans-serif;
    content: '\f078';
}

.se-service-step-title {
    display: block;
    font-weight: 600;
    font-size: 18px;
}

@media (min-width: 768px) {
    .se-service-steps {
        display: flex;
        align-items: center;
        border-radius: 0 0 6px 6px;
    }

    .se-service-step {
        flex: 0 0 30%;
        padding: 0;
        padding-top: 55px;
        text-align: center;
        background-position: center top;
    }

    .se-service-step-separator {
        flex: 1;
        transform: translateY(5px);
    }

    .se-service-step-separator::after {
        content: '\f054';
    }
}

/* Modal: steps animation */

@media (min-width: 768px) {
    .se-service-steps > div {
        opacity: 0;
        transition: opacity 0.5s;
    }

    .se-service-modal.in .se-service-steps > div {
        opacity: 1;
    }

    .se-service-modal.in .se-service-steps > div:nth-child(1) {
        transition-delay: 0.5s;
    }

    .se-service-modal.in .se-service-steps > div:nth-child(2) {
        transition-delay: 1s;
    }

    .se-service-modal.in .se-service-steps > div:nth-child(3) {
        transition-delay: 1.5s;
    }

    .se-service-modal.in .se-service-steps > div:nth-child(4) {
        transition-delay: 2s;
    }

    .se-service-modal.in .se-service-steps > div:nth-child(5) {
        transition-delay: 2.5s;
    }
}

/* Misc */

@media (min-width: 768px) {
    .se--bold-desktop {
        font-weight: 600;
    }
}
