.modals {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    display: none;
    opacity: 0;
}

.modals .v-aligner {
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.modal-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
}

.modal {
    position: relative;
    background: white;
    width: 940px;
    z-index: 21;
    margin: auto auto;
    vertical-align: middle;
}

.modal-container {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

/*.modals:before {*/
    /*content: "";*/
    /*display: inline-block;*/
    /*height: 100%;*/
    /*vertical-align: middle;*/
    /*margin-right: -0.05em;*/
/*}*/

.show-modal {
    vertical-align: middle;
    display: inline-block;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}

.close-button {
    transition: .3s;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: -55px;
    display: block;
    width: 27px;
    height: 27px;
    text-indent: -9999px;
}

.modal-container .close-button {
    padding: 0;
}

.modal-container .close-button svg {
    width: 32px;
    height: 32px;
    top: 0;
    left: 0;
}

.modal-container .close-button svg path {
    fill: #fff;
    fill-opacity: 0.3;
}

@media screen and (min-width: 992px) {
    .modal-container .close-button {
        width: 14px;
        height: 14px;
    }
    .modal-container .close-button svg {
        width: 14px;
        height: 14px;
    }
    .modal-container .close-button svg path {
        fill: rgb(84, 84, 84);
    }
}

.rules .zmdi-chevron-down:before, .rules .zmdi-chevron-up:before {
    margin-right: 10px;
}

.modal.alert .top {
    padding-top: 5px;
}

.modal.alert .bot {
    padding-bottom: 28px;
}