﻿.relative, .switch {
    position: relative
}

.swal2-container.swal2-center > .swal2-popup {
    font-size: 14px
}

#map {
    width: 580px;
    height: 381px;
    z-index: -1
}

#loading, #loading::after, #loading > figure {
    height: 100%;
    position: absolute
}

.txt-center {
    text-align: center
}

.field-validation-error, .field-validation-error *, .validation-summary-errors * {
    color: red
}

.avBox, .sortOpt strong {
    color: #280f4e
}

.field-validation-error {
    width: 100%;
    display: block
}

.txt {
    padding: 5px;
}

#loading {
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 50;
    width: 100%
}

    #loading::after {
        content: '';
        left: 0;
        top: 0;
        width: 100%;
        background: rgba(0,0,0,.19)
    }

    #loading > figure {
        left: 50%;
        top: 50%;
        z-index: 100;
        transform: translateX(-50%)
    }

        #loading > figure > img {
            height: auto;
            object-fit: cover;
            text-align: center;
            margin: 0 auto
        }

        #loading > figure > figcaption {
            text-align: center;
            margin: 10px auto;
            padding: 10px 0;
            color: #000
        }

.sortBox {
    line-height: 25px;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-radius: 5px;
    background: #f6f7f9;
    margin-bottom: 30px
}

.sortOpt {
    display: flex;
    grid-gap: 10px;
    margin: 0
}

.sortList {
    display: flex;
    grid-gap: 20px
}

    .sortList > li a {
        color: #525252
    }

        .sortList > li a:hover, .sortList > li.active a {
            color: #d51920
        }

.avBox {
    margin: 0
}

.switch {
    display: inline-block;
    margin-top: 4px;
    width: 25px;
    height: 10px;
    border-radius: 8px;
    border: 3px solid #858f9f;
    margin-right: 15px
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0
    }

.swithbtn {
    position: absolute;
    border-radius: 34px;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s
}

    .swithbtn:before {
        border-radius: 50%;
        background: #848e9f;
        position: absolute;
        content: "";
        height: 8px;
        width: 8px;
        left: 1px;
        bottom: 1px;
        -webkit-transition: .4s;
        transition: .4s
    }

input:checked + .swithbtn {
    background: #c2edda
}

    input:checked + .swithbtn:before {
        background: #d51920;
        -webkit-transform: translateX(15px);
        -ms-transform: translateX(15px);
        transform: translateX(15px)
    }