.blocker {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible!important;
    z-index: 9000!important;
    box-sizing: border-box;
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
}

.blocker:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.05em
}

.blocker.behind {
    background-color: transparent;

}

.modal {
    width: 800px;
    display: none;
    vertical-align: middle;
    position: relative;
    z-index: 10000!important;
    box-sizing: border-box;
    /*width: 800px;*/
    background: #fff;
    /*padding: 15px 30px;*/
    text-align: left;

}
.modal a.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    display: block;
    width: 20px;
    height: 20px;
    text-indent: -9999px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('../img/close-grey.svg');
    transition: .4s ease-out;
    -webkit-transition: opacity .4s ease-out;
    -moz-transition: opacity .4s ease-out;
    -ms-transition: opacity .4s ease-out;
    -o-transition: opacity .4s ease-out;
    opacity: 0.5;
    filter: alpha(opacity=50);
    z-index: 60000!important;
}

.modal a.close-modal:hover {
    filter: alpha(opacity=100);
    opacity: 1.0;
}

.modal-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    padding: 12px 16px;
    border-radius: 5px;
    background-color: #111;
    height: 20px
}

.modal-spinner > div {
    border-radius: 100px;
    background-color: #fff;
    height: 20px;
    width: 2px;
    margin: 0 1px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out
}

.modal-spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s
}

.modal-spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s
}

.modal-spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s
}

@-webkit-keyframes sk-stretchdelay {
    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.5)
    }
    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%,
    40%,
    100% {
        transform: scaleY(0.5);
        -webkit-transform: scaleY(0.5)
    }
    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0)
    }
}

@media (max-width: 991px) {
	.modal {
		display: none;
		vertical-align: middle;
		position: relative;
		z-index: 10000!important;
		box-sizing: border-box;
		width: 85%;
		background: #fff;
		text-align: left;

	}
}


@media (max-width: 767px) {
    .modal {
        display: none;
        vertical-align: middle;
        position: relative;
        z-index: 10000!important;
        box-sizing: border-box;
        width: 80%;
        background: #fff;
        text-align: left;

    }
}

@media (max-width: 400px) {

    .blocker {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow-y: visible;
        z-index: 1000!important;
        box-sizing: border-box;
        background-color: #000000;
        background-color: rgba(0, 0, 0, 0.8);
        text-align: center;
    }

    .blocker:before {
        content: "";
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -0.05em
    }

    .blocker.behind {
        background-color: transparent;

    }
    .modal {
        display: none;
        vertical-align: middle;
        position: relative;
        z-index: 10000!important;
        box-sizing: border-box;
        width: 90%;
        background: #fff;
        text-align: left;
    }

    .modal a.close-modal {
        position: absolute;
        top: 16px;
        right: 16px;
        display: block;
        width: 20px;
        height: 20px;
        text-indent: -9999px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        background-image: url('../img/close-grey.svg');
        z-index: 60000!important;
        transition: .4s ease-out;
        -webkit-transition: opacity .4s ease-out;
        -moz-transition: opacity .4s ease-out;
        -ms-transition: opacity .4s ease-out;
        -o-transition: opacity .4s ease-out;
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

    .modal a.close-modal:hover {
        filter: alpha(opacity=100);
        opacity: 1.0;
    }

    .modal-spinner {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
        padding: 12px 16px;
        border-radius: 5px;
        background-color: #111;
        height: 20px
    }

    .modal-spinner > div {
        border-radius: 100px;
        background-color: #fff;
        height: 20px;
        width: 2px;
        margin: 0 1px;
        display: inline-block;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out
    }

    .modal-spinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s
    }

    .modal-spinner .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s
    }

    .modal-spinner .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s
    }

    @-webkit-keyframes sk-stretchdelay {
        0%,
        40%,
        100% {
            -webkit-transform: scaleY(0.5)
        }
        20% {
            -webkit-transform: scaleY(1.0)
        }
    }

    @keyframes sk-stretchdelay {
        0%,
        40%,
        100% {
            transform: scaleY(0.5);
            -webkit-transform: scaleY(0.5)
        }
        20% {
            transform: scaleY(1.0);
            -webkit-transform: scaleY(1.0)
        }
    }
}




















