/* Modal */
body.modal-active,
html.modal-active {
    overflow: hidden
}

#modal-container {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    z-index: 1
}

#modal-container.two {
    transform: scale(1);
    z-index: 99999;
}

#modal-container.two .modal-background {
    animation: fadeIn .5s cubic-bezier(.165, .84, .44, 1) forwards
}

#modal-container.two .modal-background .modal-content {
    z-index: 9999;
    opacity: 0;
    animation: scaleUp .5s cubic-bezier(.165, .84, .44, 1) forwards;
    margin-top: 50px;
    max-height: 640px;
    /* max-width:360px; */
}

#modal-container.two+.content {
    animation: scaleBack .5s cubic-bezier(.165, .84, .44, 1) forwards
}

#modal-container.two.out {
    animation: quickScaleDown 0s .5s linear forwards
}

#modal-container.two.out .modal-background {
    animation: fadeOut .5s cubic-bezier(.165, .84, .44, 1) forwards
}

#modal-container.two.out .modal-background .modal-content {
    animation: scaleDown .5s cubic-bezier(.165, .84, .44, 1) forwards
}

#modal-container.two.out+.content {
    animation: scaleForward .5s cubic-bezier(.165, .84, .44, 1) forwards
}

#modal-container .modal-background {
    display: table-cell;
    background: rgba(0, 0, 0, .8);
    text-align: center;
    vertical-align: middle
}

#modal-container .modal-background .modal-content {
    background: #fff;
    /* padding: 15px; */
    display: inline-block;
    font-weight: 300;
    max-width: 400px;
    width: 100%;
    position: relative;
    overflow-y: scroll;
    height: calc(100vh - 100px);
}

#modal-container button.close.cl-popup {
    background: 0 0;
    color: #000;
    opacity: 1;
    padding: 5px 13px
}

#modal-container .modal-background .modal-content h2 {
    font-size: 25px;
    line-height: 25px;
    margin-bottom: 15px
}

#modal-container .modal-background .modal-content p {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

#modal-container .modal-background .modal-content p strong {
    display: block;
}

#modal-container .swiper-slide {
    text-align: left;
}

#modal-container .modal-background .modal-content .modal-svg {
    display: none
}

#modal-container .modal-background .modal-content .modal-svg rect {
    stroke: #fff;
    stroke-width: 2px;
    stroke-dasharray: 778;
    stroke-dashoffset: 778
}

@keyframes fadeIn {
    0% {
        background: rgba(0, 0, 0, 0)
    }

    100% {
        background: rgba(0, 0, 0, .7)
    }
}

@keyframes fadeOut {
    0% {
        background: rgba(0, 0, 0, .7)
    }

    100% {
        background: rgba(0, 0, 0, 0)
    }
}

@keyframes scaleUp {
    0% {
        transform: scale(.8) translateY(1000px);
        opacity: 0
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1
    }
}

@keyframes scaleDown {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1
    }

    100% {
        transform: scale(.8) translateY(1000px);
        opacity: 0
    }
}

@keyframes scaleBack {
    0% {
        transform: scale(1)
    }

    100% {
        transform: scale(.85)
    }
}

@keyframes scaleForward {
    0% {
        transform: scale(.85)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes quickScaleDown {
    0% {
        transform: scale(1)
    }

    99.9% {
        transform: scale(1)
    }

    100% {
        transform: scale(0)
    }
}

.lsdd-modal-header h4 {
    font-size: 18px;
    margin: 0 0 10px;
    text-align: left;
    font-weight: 500;
}

.close-icon {
    cursor: pointer;
}

.close-icon svg {
    width: 20px;
    float: right;
    margin-top: -30px;
}

.modal-content .container {
    padding: 0;
}

.modal-content .row {
    text-align: left;
}

.modal-content .btn {
    font-weight: 500;
}

@media (min-width:320px) and (max-width:480px) {
    #modal-container.two .modal-background .modal-content {
        margin: 0;
        height: 100vh;
        width: 100vw;
    }
}

/*------------------------ Zakat Calculator ------------------------*/

.zakat-calculator .swiper-slide {
    padding: 5px 13px;
    width: auto;
}

.zakat-calculator .lsdd-card {
    margin: 5px 10px;
    padding: 0;
}



.zakat-calculator label{
    font-size: 14px;
}

.zakat-calculator small{
    line-height: normal;
    color: #595959;
    /* margin: 5px 10px; */
}

.lsdd-content.zakat-calculator{
    min-height: auto;
}

.zakat-calculator .swiper-tabs-content .swiper-slide {
    padding: 0;
}

/* .total-price{
    height: 36px;
} */



.zakat-calculator .lsdd-card-body{
    background-color: #fff;
}

.zakat-calc-instruction{
    padding: 0 10px 10px;
}


.lsddonation .form-group-currency label {
    color: #6C6C6C;
    font-weight: 500;
    margin-bottom: 3px;
    display: block
}

.lsddonation .form-group-currency .input-group-currency {
    position: relative
}

.lsddonation .form-group-currency span.currency {
    position: absolute;
    left: 15px;
    color: #8c8c8c;
    font-weight: 500;
    top: 52%;
    font-size: 13px;
    /* transform: translateY(-50%) */
}

.center-position {
    position: relative;
    margin: 0 auto !important;
    width: 300px !important;
}


.total-price h2{
    margin: 0;
}

.breakdown p strong{
    display: block;
}

.breakdown p{
    font-size: 13px;
    font-weight: 500;
    color: #8c8c8c;
    margin: 0;
    padding: 0;
}

.lsdd-calc-state{
    padding: 10px;
    float:left;
}

.lsdd-calc-box {
    padding: 10px;
    text-align: right;
}

.lsdd-zakat-form{
    margin: 10px auto;
}

#zakat.mobile-zakat {
    max-width: 480px;
}

#zakat.mobile-zakat .swiper-slide {
    width: 80%;
}

#zakat .swiper-slide figure {
    line-height: normal !important;
}

/* .zakat-calculator .swiper-container{
    margin-bottom: 5px;
} */

.lsdd-modal-header {
    padding: 15px 15px 0;
}

#modal-container .modal-background .modal-content h2{
    margin-bottom: 0;
}

p.instruct{
    font-size: 12px;
    color: #595959;
    line-height: normal;
    margin: 0;
    padding: 0;
}

@media (min-width: 320px) and (max-width: 480px) {
    .lsdd-calc-state{
        padding: 10px;
    }
    
    .lsdd-calc-box {
        padding: 10px;
        text-align: right;
    }
}

.swiper-container-free-mode>.swiper-wrapper{
    width: 100%;
}

.zakat-calculator .swiper-tabs-nav .swiper-wrapper {
    transform: translate3d(0px, 0, 0) !important;
}
.zakat-calculator .swiper-container{
    padding-bottom: 10px;
}


.lsdd-zakat-input input {
    font-size: 15px;
    width: 85% !important;
    background: #fff;
    font-weight: 600;
}

.lsdd-zakat-input input,
.zakat-calculator input {
    text-align: right;
}

.lsdd-form-control {
    padding: .6rem 10px;
    width: 100%;
    background: #fff;
    border: 1px solid #EAEAEA;
    /* box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.31) 0px 0px 1px 0px; */
}

.swiper-tabs-nav .swiper-slide.swiper-slide-thumb-active {
    font-weight: 600;
    color: var(--lsdd-color);
    border-color: var(--lsdd-color);
    border-bottom: 1px solid;
}

.zakat-calculator .swiper-slide {
    padding: 8px 8px;
    cursor: pointer;
    /* margin: 0 !important; */
}
.total-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.lsdd-card.zakat-card .col-6{
    padding: 10px;
}

.zakat-calculator .lsdd-card .lsdd-card-body{
    padding: 0;
}

.zakat-calculator .lsdp-label{
    margin: 0 !important;
}

.swiper-tabs-nav .swiper-slide {
    font-size: 14px;
    text-align: center;
    /* padding: 10px; */
    border-bottom: 2px solid transparent;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    color: #B7BAC1;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    width: auto;
}

.zakat-calculator .no-p{
    padding: 0 !important;
}
.zakat-fitr.swiper-slide {
    width: 100% !important;
}
  