.custom-alert {
    top: 0;
    bottom: 0;
    padding: 10px;
    background-color: transparent;
    z-index: -1;
    position: fixed;
    left: 0;
    right: 0;
    transition: background-color 0.1s;
}

.custom-alert.on {
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.custom-alert .close {
    position: absolute;
    top: 5px;
    right: 17px;
    font-size: 30px;
    line-height: 1.2;
    color: #040e44;
}

.custom-alert > .content {

    flex-direction: column;
    width: 500px;
    padding: 20px;
    background: rgb(255, 255, 255);
    min-height: 347px;
    border-radius: 5px;
    box-sizing: border-box;
    text-align: center;
    margin: auto;
    overflow-x: hidden;
    overflow-y: auto;
    display: none;
    transition: all 300ms;
    -webkit-transition: all 300ms;
}

.custom-alert > .content.show-ca {
    animation: showSweetAlert 0.3s;
}

.custom-alert > .content.hide-ca {
    animation: hideSweetAlert 0.15s forwards;
}

.custom-alert > .content > .icon {
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-radius: 50%;
    margin: 20px auto 30px;
    padding: 0;
    position: relative;
    box-sizing: content-box;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    animation: animate-icon 0.5s;
    transition: all 300ms;
    -webkit-transition: all 300ms;
}

.custom-alert > .content > .correct-icon {
    border-color: #9ddcab;
}

.custom-alert > .content > .correct-icon > .x-mark .line {
    background-color: #9ddcab;
}

.custom-alert > .content > .error-icon {
    border-color: #f27474;
}

.custom-alert > .content > .error-icon > .x-mark .line {
    background-color: #f27474;
}

.custom-alert > .content .x-mark {
    position: relative;
    display: block;
    animation: animate-x-mark 0.5s;
}

.custom-alert > .content .x-mark .line {
    position: absolute;
    height: 5px;
    width: 47px;
    display: block;
    top: 37px;
    border-radius: 2px;
}

.custom-alert > .content > .correct-icon > .x-mark .line.left {
    transform: rotate(58deg);
    left: 18px;
    width: 27px;
    top: 44px;
}

.custom-alert > .content > .correct-icon > .x-mark .line.right {
    transform: rotate(-58deg);
    top: 39px;
    right: 12px;
    width: 40px;
}

.custom-alert > .content > .error-icon > .x-mark .line.left {
    transform: rotate(45deg);
    left: 17px;
}

.custom-alert > .content > .error-icon > .x-mark .line.right {
    transform: rotate(-45deg);
    right: 16px;
}

.custom-alert .custom-alert-title {
    color: #595959;
    font-size: 30px;
    text-align: center;
    font-weight: 600;
    text-transform: none;
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 30px;
    margin-bottom: 20px;
    display: block;
    transition: all 300ms;
    -webkit-transition: all 300ms;
}

.custom-alert .custom-alert-content {
    font-size: 18px;
    text-align: center;
    font-weight: 300;
    position: relative;
    float: none;
    margin: 0;
    padding: 0;
    line-height: normal;
    color: #545454;
    display: block;
    transition: all 300ms;
    -webkit-transition: all 300ms;
}

.custom-alert .spacer {
    height: 10px;
    color: transparent;
    border: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.custom-alert button {
    border: 0;
    border-radius: 3px;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    margin: 0 5px;
    padding: 10px 32px;
    vertical-align: top;
    background-color: #3085d6;
    border-left-color: #3085d6;
    border-right-color: #3085d6;
    outline: none;
}

/* @media screen and (max-width: 580px) {
	.custom-alert > .content {
		width: 400px;
	}

	.custom-alert .custom-alert-title {
		font-size: 27px;
		line-height: 30px;
	}
}

@media screen and (max-width: 430px) {
	.custom-alert > .content {
		width: 300px;
	}

	.custom-alert .custom-alert-title {
		font-size: 18px;
		line-height: 18px;
	}

	.custom-alert .custom-alert-content {
		font-size: 15px;
	}

	.custom-alert > .content > .icon {
		width: 65px;
		height: 65px;
	}
} */

@-webkit-keyframes animate-x-mark {
    0%,
    50% {
        -webkit-transform: scale(0.4);
        transform: scale(0.4);
        margin-top: 26px;
        opacity: 0;
    }
    80% {
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
        margin-top: -6px;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        margin-top: 0;
        opacity: 1;
    }
}

@keyframes animate-x-mark {
    0%,
    50% {
        -webkit-transform: scale(0.4);
        transform: scale(0.4);
        margin-top: 26px;
        opacity: 0;
    }
    80% {
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
        margin-top: -6px;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        margin-top: 0;
        opacity: 1;
    }
}

@-webkit-keyframes animate-icon {
    0% {
        -webkit-transform: rotateX(100deg);
        transform: rotateX(100deg);
        opacity: 0;
    }
    100% {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
        opacity: 1;
    }
}

@keyframes animate-icon {
    0% {
        -webkit-transform: rotateX(100deg);
        transform: rotateX(100deg);
        opacity: 0;
    }
    100% {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes showSweetAlert {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(0);
        transform: translate(-50%, -50%) scale(0);
    }
    45% {
        -webkit-transform: translate(-50%, -50%) scale(1.05);
        transform: translate(-50%, -50%) scale(1.05);
    }
    80% {
        -webkit-transform: translate(-50%, -50%) scale(0.95);
        transform: translate(-50%, -50%) scale(0.95);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(1);
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes showSweetAlert {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(0);
        transform: translate(-50%, -50%) scale(0);
    }
    45% {
        -webkit-transform: translate(-50%, -50%) scale(1.05);
        transform: translate(-50%, -50%) scale(1.05);
    }
    80% {
        -webkit-transform: translate(-50%, -50%) scale(0.95);
        transform: translate(-50%, -50%) scale(0.95);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(1);
        transform: translate(-50%, -50%) scale(1);
    }
}

@-webkit-keyframes hideSweetAlert {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(1);
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(0.5);
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
}

@keyframes hideSweetAlert {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(1);
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(0.5);
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
}

.vh-center {
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hide-opacity {
    opacity: 0 !important;
}

.hide {
    display: none !important;
}

.show:not(.flex):not(.inline-flex) {
    display: block;
}

.show.inline-flex {
    display: inline-flex;
}

.show.flex {
    display: inline-flex;
}