@font-face {
	font-family: 'Poppins-Regular';
	src: url('../fonts/Poppins-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Poppins-Medium';
	src: url('../fonts/Poppins-Medium.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Poppins-SemiBold';
	src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

body{
    background-color: white;
    height: 100%;
    overflow: hidden;
}

@media all and (max-width:767px){
    .astropay{
        overflow:auto;
    }
}

#wpcontent{
    padding:0px;
}

.notice{
    display:none;
}

.astropay{
    vertical-align: middle;     
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.astropay-container{
    background-color: white;
    position:relative;
    top:0;
    left:0;
    width: 98%;
    
    margin: auto;
    text-align: center;
    font-family: 'Poppins-Regular', sans-serif;      
    /*box-shadow: 10px 10px 5px rgb(224, 224, 224); */
    color: #2D2D2D; 
}

.astropay-container .row {
    display: flex;
  }
  
.astropay-container  .column30 {
    flex: 25%;
  }
.astropay-container  .column70 {
    flex: 75%;    
    position: relative;
  }

  .astropay-container  .left-pane{
      background-color: #F5F5F5;
      /*background-color:#00000087;*/
      /*border-radius: 0px 50px 0px 0px;*/
      border-radius: 10px 10px 10px 10px;
      height: 724px;
      padding-top: 65px;
      padding-left: 61px;
      padding-right:61px;
      text-align: left;
  }

  .astropay-container  .left-pane .welcome{
      margin-top: 5vh;
      /*margin-bottom: 54px;*/
      text-align: left;
      font-weight: 800;
      font-size: 28px;
  }
  .astropay-container  .left-pane p{
    text-align: left;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;    
}

  .astropay-container  .left-pane .left-pane-img{
      margin-top: 10vh;
      /*max-height: 100px;*/
      max-width: 100%;
      object-fit: contain;
  }

  .astropay-container a{
      color: #20D5BE;
      font-weight: 800;
      text-decoration: none;

  }

.astropay-container .right-pane{
    max-width: 500px;
    margin: auto;
    font-size: 12px;
    position: relative;
}
.astropay-container .right-pane .skip{
text-align: center;
}
.astropay-container .right-pane h2{
    margin-top: 10vh;
    margin-bottom: 5vh;
    font-weight: 800;
    font-size: 24px;
    line-height: 30px;
}

.astropay-container  .right-pane p{
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.astropay-container  .right-pane p.form-row{
    margin-top: 8px;
    margin-bottom: 18px;
}

.astropay-container  .right-pane .submit{
    padding-bottom: 1vh;
}

.astropay-container .right-pane input, .astropay-container .right-pane select{
    min-width: 100%;
    text-align: center;    
    border-color: #B9B9C3;
    color: #B9B9C3;
    border-style: solid;
    border-radius: 8px;
    line-height: 20px;
    height: 60px;
}

.astropay-container .right-pane input, .astropay-container .right-pane select{
    margin-top: 0px;
}


.astropay-container .right-pane label{
    text-align: left;
    font-weight: 800;
    padding-left: 10px;
}

.astropay-container .right-pane .environment-switch{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0 24px 0;
    font-size: 14px;
}

.astropay-container .right-pane .switch{
    position: relative;
    display: inline-block;
    width: 100%;
    height: 60px;
}

.astropay-container .right-pane .switch input{
    opacity: 0;
    width: 0;
    height: 0;
    min-width: 0;
}

.astropay-container .right-pane .slider{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #E4E4E7;
    transition: .3s;
    border-radius: 8px;
    border: 1px solid #B9B9C3;
}

.astropay-container .right-pane .slider:before{
    position: absolute;
    content: "";
    height: calc(100% - 6px);
    width: calc(50% - 4px);
    left: 3px;
    top: 3px;
    background-color: #20D5BE;
    transition: .3s;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.astropay-container .right-pane .slider .label-production,
.astropay-container .right-pane .slider .label-test{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    z-index: 1;
    transition: color .3s;
}

.astropay-container .right-pane .slider .label-production{
    left: 0;
    color: white;
}

.astropay-container .right-pane .slider .label-test{
    right: 0;
    color: #2D2D2D;
}

.astropay-container .right-pane .switch input:checked + .slider:before{
    transform: translateX(calc(100% + 2px));
}

.astropay-container .right-pane .switch input:checked + .slider .label-production{
    color: #2D2D2D;
}

.astropay-container .right-pane .switch input:checked + .slider .label-test{
    color: white;
}

.astropay-container form{
    text-align : left;
}

#astropay-env-sandbox{
    display: none;
}

.astropay-container input[type='submit']{
    background-color: #20D5BE;
    border-radius: 50px;
    border: 0px;
    color: white;    
    height: 40px;
}
.astropay-container input[type='submit']:hover{
    background-color: white;
    border-radius: 50px;
    border: 1px solid #20D5BE;
    color: #20D5BE;    
}



/*modal*/
/* The Modal (background) */
/*.astropay-onboarding .modal {
    display: none; 
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;    
  }*/
  
  /* Modal Content/Box */
  /*.astropay-onboarding  .modal-content {
    background-color: #fefefe;
    margin: 10px auto; 
    padding: 20px;
    width: 90%;
    margin: auto;
    border-radius: 16px; 
    color: #2D2D2D;
    font-family: 'Mulish', sans-serif; 
    text-align: center;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    vertical-align: middle;   
    
    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: center;
    gap: 25px;
  }
  
  .astropay-onboarding .modal-content  h2{
      font-size: 24px;
  }
    
  .astropay-onboarding .modal-content  p{
    font-size: 16px;
}*/
/* The Close Button */
.astropay-onboarding .close {
    color: #2D2D2D;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
  
.astropay-onboarding .close:hover,
.astropay-onboarding .close:focus {
    color: #2D2D2D;
    text-decoration: none;
    cursor: pointer;
}
/*
#astropay-ok .close{
    color: #027A48;
}
#astropay-error .close{
    color: #20D5BE;
}
#astropay-ok .modal-content{
    background-color: #D7FDE6;   
}
#astropay-error .modal-content{
    background-color: #FFE5E5;    
}*/
  

.astropay-onboarding{
    background-color: white;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw; 
}

.exit-onboarding{
    position: fixed;
    right: 10px;
    top: 50px;
    z-index: 9999;
}




/*modal*/
/* The Modal (background) */
.astropay-onboarding .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;    
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .astropay-onboarding .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    width: 50%; /* Could be more or less, depending on screen size */
    max-width: 500px;
    border-radius: 16px;    
    min-height: 325px;
    color: #2D2D2D;
    font-family: 'Mulish', sans-serif; 
    text-align: center;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 40px;
    vertical-align: middle;     
  }
  
  .astropay-onboarding .modal-content  h2{
      font-size: 24px;
  }
    
  .astropay-onboarding .modal-content  p{
    font-size: 16px;
}
  /* The Close Button */
  .astropay-onboarding .close {
    color: #2D2D2D;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .astropay-onboarding .close:hover,
  .astropay-onboarding .close:focus {
    color: #2D2D2D;
    text-decoration: none;
    cursor: pointer;
  }

  .astropay-onboarding #astropay-ok button{
      background-color: #04CE6D;
      border-radius: 50px;
      border: 0px;
      color: white;    
      height: 40px;
      padding-left: 25px;
      padding-right: 25px;
      margin-top: 20px;
  }
  .astropay-onboarding #astropay-ok button:hover{
    background-color: white;
    border-radius: 50px;
    border: 1px solid #04CE6D;
    color: #04CE6D;    
    cursor: pointer;
}

.astropay-onboarding #astropay-error button{
    background-color: #FF1515;
    border-radius: 50px;
    border: 0px;
    color: white;    
    height: 40px;
    padding-left: 25px;
    padding-right: 25px;
    margin-top: 20px;
}
.astropay-onboarding #astropay-error button:hover{
  background-color: white;
  border-radius: 50px;
  border: 1px solid #FF1515;
  color: #FF1515;    
  cursor: pointer;
}