﻿
body {
    /*background-color:#e7ecf8;*/
    background-color: #fff;

}

/*scrollbar*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #a7a7a7;
}
h5{ font-size:1.2rem; }

 /*layout page css*/
.card-balance{ background: linear-gradient(82.27deg, #3c488d 30.13%, #505dad 127.45%)!important; color:#fff;
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 3px;
    border: 1px solid #565656;
}
.card-balance h5{    font-weight: 100;
    font-size: 16px;}


/*btn*/

.btn-primary{color: #fff;
    background-color: #1443a9;
    font-size: 1.1rem; 
    border-color: #1443a9;
    padding: 8px 24px;}
.btn-outline-primary{ font-size: 1.1rem;
    border-color: #1443a9; padding: 6px 20px; color: #1443a9;}
.btn-authenticate .btn-primary {
    height: 42px;
    width: 100%;
}

.btn-authenticate .btn-primary:hover, .btn-authenticate .btn-primary:focus,
.btn-primary:hover, .btn-primary:focus,
.btn-outline-primary:hover, .btn-outline-primary:focus {
   color: #fff;
   background-color: #0b2f7c;
   border-color: #0a58ca;
   box-shadow: 0 0 0 2px white, 0 0 0 3px #1443a9;
     }

.btn-link {
   color: #1443a9;
   font-weight: bold;
   text-decoration: none;
 }

.btn-link:hover {
   background: transparent;
}
.accordion-button{    color: #22263f;
   
    padding: 10px 20px;
    background: #4955a126;}



/*heading*/
 .app-menu > ul > li.active-page > a, .app-menu > ul > li.open > a, .app-menu > ul > li > a:hover , .active{
            color: #1443a9;
            font-weight: 600;
            background: #fff;
        }
.app-menu > ul > li > a > i:(.has-sub-menu){
      color: #4956a2;
}
.user-name{ letter-spacing: 1px; color: #1443a9; }
.text-primary{ color:#1443a9!important; }




.nav-tabs .nav-link{padding: 12px 0px;}
.nav-tabs .nav-item{ margin-right:28px; }
.nav-tabs .nav-item:last-child{ margin-right:0px; }

.nav-tabs:hover ~ .indicator {
  transform: scaleX(1);
}
.indicator {
    position: absolute;
    height: 2px;
    background-color: #4854a0;
    /* top: calc(100% - 2px); */
    transition: all 0.3s ease-in-out;
    transform: scaleX(0);
    bottom: 10px;
}
 .nav-tabs .nav-link, 
 .nav-pills .nav-link {
        display: flex;
        align-items: center;
        letter-spacing: 0.5px;
        font-weight: 600;
    }


/*form*/
.input-group-text{ height:42px; cursor:pointer;}
.form-control, .form-select {
     font-size: 1.1rem;
     height: 42px;
     margin-bottom: 30px;
}
::placeholder{ font-size: 1.1rem; font-weight:100; }

 .form-check-input {
    width: 1.2em;
    height: 1.2em;
}

 .form-check-input[type=checkbox] {
    border-radius: 0em;
}
 .form-check-input:checked {
    background-color: #1443a9;
    border-color: #1443a9;
}

.form-label{color: #999;}


.table tr td{ font-weight: 400; color:#444; }
.table tr th {
        background: #5e5e5e;
        color: #fff !important;
    }

/*modal*/ 
.modal-title {
    font-size: 18px;
    color: #1443a9;
}

/*alert*/
.alert.alert-style-light.alert-danger{ color: #302e2e;
    font-weight: 500;
    font-size: 1.1rem; }


.card{ border: 1px solid rgb(0 0 0 / 8%); border-radius:10px;}
.card_title{display: flex; align-items: center;
    color: #5a5a5a;}
.verification .card{ width:48%;}



/*multistep form*/
#msform {
	text-align: center;
	position: relative;
    height: 65vh;
}
#msform fieldset {
	padding: 40px 30px;
	box-sizing: border-box;
	margin: 0 2%;
    width: 96%;
	position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
	display: none;
}

#msform fieldset .card-title h6{ text-align:left;}


#progressbar {
    margin-top: 30px;
	margin-bottom: 0px;
	overflow: hidden;
	counter-reset: step;
    display: flex;
    justify-content: center;
    padding-left: 0px;
}
#progressbar li {
	list-style-type: none;
	color: #7a7979;
	font-size: 16px;
    width: 22.33%;
    padding: 10px;
    margin-right: 70px;
    background: #fff;
    border: 1px solid #a7a7a7;
    color: #6c6b6b;
    display: flex;
    justify-content: start;
    align-items: center;
    float: left;
    position: relative;
    border-radius:3px;
    font-size: 15px;
}
#progressbar li:last-child{ margin-right:0px; }
#progressbar li .check-circle{display:none; }

#progressbar li:before {
	/*content: counter(step);
	counter-increment: step;*/
	width: 33px;
    margin-right: 12px;
    line-height: 25px;
    display: block;
    font-size: 16px;
	color: #333;
	background: white;
	border-radius: 3px;
	/*margin: 0 auto 5px auto;*/
}
/*progressbar connectors*/
#progressbar li:after {
	content: '';
	width: 100%;
	height: 1px;
	background: white;
	position: absolute;
	left: -50%;
	top: 21px;
	z-index: -1; 
}
#progressbar li:first-child:after {
	content: none; 
}
#progressbar li.active{
	border: 2px solid #198754;
	color: #198754;
}
#progressbar li.active .check-circle{ display:block;}

#progressbar li.active:before,  #progressbar li.active:after{
	background: #198754;
	color: white;
}
#progressbar li:before, #progressbar li:after {
    /*background: #ddd;*/
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23333' stroke-width='4' stroke-dasharray='6%2c 14' stroke-dashoffset='3' stroke-linecap='square'/%3e%3c/svg%3e");
}











@media (max-width: 1599px) {
  body, p, span{ font-size: 14px;}
  h5{font-size: 1.1rem;}
  .btn{ font-size: 0.9rem;}

  .app-menu > ul > li > a{ font-size: 14px;}
  .card-balance h5{ font-size:14px;}
  .accordion-button { font-size: 1.1rem!important; }
  .form-control, .form-select , .input-group-text, ::placeholder{ font-size:1rem; }


}

    
@media (min-width: 1200px) and (max-width: 1500px) {
    .app-sidebar{ width: 245px; }
    .app-container {
        margin-left: 245px;
        width: calc(100vw - 245px);
    }
    #progressbar li { width: 27.33%;
    font-size:14px;
    padding: 6px;
    margin-right: 30px;}


    }
#progressbar li:after{
    top:20px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    #progressbar li{width: 25.33%;
    font-size: 14px;
    margin-right: 40px;}
}


@media (max-width: 577px) {
    #progressbar{ display:grid;}
    #progressbar li{ font-size: 14px; width: 100%; margin-bottom: 30px; }
    #progressbar li:after{ width: 33%;
    height: 1px;
    left: 32%;
    top: -14px;
    transform: rotate(90deg);}

    #msform{height: 100vh;}
    #msform fieldset{ padding: 0px 35px;
    margin: 0 0%;
    width: 100%;
    } .verification .card {
    width: 100%;
}
    .kyc-form .card{ padding:15px 15px;}

    .pay-money .card {
        padding: 8px;
        width: 49%;
    }
    .pay-money .card img{ width:30%;}
    .pay-money h6 {
        font-size: 1rem;
    }

}


@media (max-width: 575px) {
    .pay-money .card {
        padding: 10px;
        width: 80%;
    }
}


/* Parsley js validation */
input.parsley-success,
select.parsley-success,
textarea.parsley-success {
  color: #468847;
  background-color: #DFF0D8;
  border: 1px solid #D6E9C6;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  color: #B94A48;
  background-color: #F2DEDE;
  border: 1px solid #EED3D7;
}

.parsley-errors-list {
  margin: -25px 0 38px;
  padding: 0;
  list-style-type: none;
  font-size: 0.9em;
  line-height: 0.9em;
  opacity: 0;
  color: #B94A48;

  transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -webkit-transition: all .3s ease-in;
}

.parsley-errors-list.filled {
  opacity: 1;
  text-transform:capitalize;
}

.success-checkmark {
    width: 91px;
    height: 105px;
    margin: 0 auto;
}
.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}     
.check-icon::before {
            top: 3px;
            left: -2px;
            width: 30px;
            transform-origin: 100% 50%;
            border-radius: 100px 0 0 100px;
 }
        
.check-icon::after {
            top: 0;
            left: 30px;
            width: 60px;
            transform-origin: 0 50%;
            border-radius: 0 100px 100px 0;
            animation: rotate-circle 4.25s ease-in;
}
        
.check-icon::before,.check-icon::after {
            content: '';
            height: 100px;
            position: absolute;
            background: #FFFFFF;
            transform: rotate(-45deg);
        }

.icon-line {
    height: 5px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}
.icon-line.line-tip {
                top: 46px;
                left: 14px;
                width: 25px;
                transform: rotate(45deg);
                animation: icon-line-tip 0.75s;
            }
            
.icon-line.line-long {
                top: 38px;
                right: 8px;
                width: 47px;
                transform: rotate(-45deg);
                animation: icon-line-long 0.75s;
            }
.icon-circle {
            top: 0px;
            left: 0px;
            z-index: 10;
            width: 75px;
            height: 75px;
            border-radius: 50%;
            position: absolute;
            box-sizing: content-box;
            border: 4px solid rgba(76, 175, 80, .5);
        }
        
        .icon-fix {
            top: 8px;
            width: 5px;
            left: 26px;
            z-index: 1;
            height: 85px;
            position: absolute;
            transform: rotate(-45deg);
            background-color: #FFFFFF;
        }


@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }
    5% {
        transform: rotate(-45deg);
    }
    12% {
        transform: rotate(-405deg);
    }
    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}