

/*** Custom Alert Box ***/
#jy-alert-wrap, #jy-response-wrap {
    display:none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 9999;
    border-radius: 0px;
    background-color: rgba(51, 62, 72, 0.15);
}

#jy-alert-wrap .jy-alert-box, #jy-response-wrap .jy-alert-box {
    width: 80%;
    margin: auto;
    height: 100vh;
    display: flex;
    text-align: center;
    align-items: center;
}

#jy-alert-wrap .jy-alert-inner, #jy-response-wrap .jy-alert-inner {
    width: 100%;
    display: inline-block;
    padding: 3rem;
}

@media only screen and (min-width: 768px){
  #jy-alert-wrap .jy-alert-box, #jy-response-wrap .jy-alert-box {
    width: 60%;
  }
}

@media only screen and (min-width: 992px){
  #jy-alert-wrap .jy-alert-box, #jy-response-wrap .jy-alert-box {
    width: 40%;
  }
}

/*---------------------------------------------
	Alert
---------------------------------------------*/
.jy-alert {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    min-height: 20%;
    width: 100%;
    align-items: center;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 3px;
    border: 0;
    box-shadow: 6px 5px 10px rgba(0, 0, 0, 0.08);

}
.jy-alert .icon {
    /*height: 30px;*/
    /*padding: 0 8px;*/
    /*margin-right: 15px;*/
    margin-bottom: 1rem;
    text-align: center;
    font-size: 6rem;
    line-height: 1.3rem;
    /*line-height: 30px;*/
    /*-ms-flex-preferred-size: 30px;*/
    /*flex-basis: 30px;*/
    /*-ms-flex-negative: 30;*/
    /*flex-shrink: 30; */
}
/*.jy-alert .close_ {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    padding: 0 0.8rem;*/
/*}*/
.jy-alert p {
    margin-bottom: 0;
}

.jy-alert .msg_ {
    margin-bottom: 1rem;
}

.jy-alert.success-alert {
    color: #009a00;
}
.jy-alert.success-alert .icon {
    /*background: rgba(0, 154, 0, 0.15); */
}
.jy-alert.info-alert {
    color: #246df8;
}
.jy-alert.info-alert .icon {
    /*background: rgba(36, 109, 248, 0.15); */
}
.jy-alert.warning-alert {
    color: #ffce00;
}
.jy-alert.warning-alert .icon {
    /*background: rgba(255, 206, 0, 0.15); */
}
.jy-alert.danger-alert {
    color: #ff3366;
}
.jy-alert.danger-alert .icon {
    /*background: rgba(255, 51, 102, 0.15); */
}

.jy-alert + .jy-alert {
  margin-top: 30px;
}

#jy-alert-wrap .buttons-container .button {
    margin: 0.4rem;
}

#jy-alert-wrap .close_ .button {
    color: #333e48;
    background-color: #fff;
    border: 1px solid #d65f28;
    padding: 1rem 2rem;
}

/*** Spinner Loader ***/
#jy-loader-section {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: rgba(255,255,255,0.65);
  z-index: 8888;
}

#jy-loader-section .jy-loader-block {
    display: flex;
    align-items: center;
    height: 100%;
    text-align: center;
    margin: auto;
    width: 40%;
}

#jy-loader-section .jy-inner-loader {
    width: 100%;
    display: inline-block;
}

#jy-loader-section .jy-inner-loader .jy-loader-status {
    margin: 1rem;
    font-size: 2rem;
    color: var(--gray);
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}

#jy-loader-section .spinner {
  content: '';
  box-sizing: border-box;
  width: 8rem;
  height: 8rem;
  margin: auto;
  border-radius: 50%;
  border-top: 2px solid #07d;
  border-right: 2px solid transparent;
  animation: spinner .6s linear infinite;
}

/***************************/

/* modal animation */
.fade-scale {
  transform: scale(0);
  opacity: 0;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.fade-scale.show {
  opacity: 1;
  transform: scale(1);
}