/* ---------CSS for font medium ---------- */
h1,h2,h3 ,button{
    font-weight: 500;}





/* ---------CSS for tooltip ---------- */
.tooltip {
 position: relative;
    top: -10px;
    font-size: 12px;
    border-radius: 50%;
 cursor:pointer;
    padding-top: 3px;
    padding-left: 4px;
    padding-right: 5px;
    padding-bottom: 2px;
    line-height: 12px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: #fff;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  font-size:12px;
  left: 50%;
  border: #1075F1 solid 1px;
  margin-left: -60px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 42%;
  margin-left: -5px;
  border-width: 5px;
  background-color:white;
  border-style: solid;
  border-color: #1075F1 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* ---------CSS for post swipe for the post section in smaller screens ---------- */
.light-swiper {
 /* overflow: hidden; */
  position: relative;
  padding: 10px 0;
}

.swiper-wrap {
  overflow: hidden;
  position: relative;
  min-width:1000px !important;
}

.swipe-item {
  float: left;
  position: relative;
}

.pic {
  display: block;
  position: relative;
  overflow: hidden;
}





 /* ----------CSS for Div switch in mortgage calculators page----------- */
.switch {
	position: relative;
}

.div_a {
	position: relative;
		opacity: 1;
	transition:1s;
}

.div_hover {
	background-color: white;
	position: absolute;
	opacity: 0;
	top: 1rem;


}

.switch:hover .div_a {
		opacity: 0;
		transition-duration: 300ms;
        transition-timing-function: linear;
}

.switch:hover .div_hover {
	opacity: 1;
	transition-delay:200ms;
  transition-duration: 500ms;
  transition-timing-function: linear;


}
 /* ----------CSS for Faqs section------------ */
input[class=".input_"] {
	 position: absolute;
	 opacity: 0;
	 z-index: -1;
}
/* Accordion styles */
 .tabs {
	 border-radius: 8px;
	 overflow: hidden;
	 box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}
 .tab {
	 width: 100%;
	 color: #000;
	 overflow: hidden;
}
 .tab-label {
	 display: flex;
	 justify-content: space-between;
	 padding: 1em;
	 background: #fff;
	 cursor: pointer;
	/* Icon */
}
 .tab-label::after {
     content: url(../images/business/arrowdown.png);
	 width: 1em;
	 opacity:0.5;
	 height: 1em;
	 margin-right:10px;

	 margin-top:5px;
	 text-align: center;
	 transition: all 0.35s;
	 transform: rotate(-90deg);
}
 .tab-area {
	 max-height: 0;
	 padding: 0 18px;
	 color: #000;
	 background: white;
	 transition: all 0.35s;
}
 .tab-close {
	 display: flex;
	 justify-content: flex-end;
	 padding: 1em;
	 font-size: 0.75em;
	 background: #fff;
	 cursor: pointer;
}
 input[class=".input_"]:checked + .tab-label {
	 background: #fff;
}
 input[class=".input_"]:checked + .tab-label::after {

	 transform: rotate(90deg);
}
 input[class=".input_"]:checked ~ .tab-area {
	 max-height: fit-content;
	 padding-top: 0;
	 padding-bottom: 20px;
}



/* ---------CSS for image hover Zoom-in effect---------- */

.img-wrapper {
  overflow: hidden;
}

.inner-img {
    transition: transform .2s;

  filter: brightness(100%);
}
/* .inner-imgnone{
  transition: 1s;
  filter: brightness(70%);
}
 */
.inner-img:hover {
   transform: scale(1.1);

  filter: brightness(100%);
}
/* .inner-imganone:hover {
  transform: scale(1.1);
  transition: 2s;
  opacity: 1;
  filter: brightness(100%);
}
 */


/* ---------CSS for ul   list bullets---------- */

ul.thumbsup {
list-style-image:url('../images/checking/thumbsup.png');
}


ul.cross {
list-style-image:url('../images/checking/cross.png');
}



/* ---------CSS for NEW tabs dropdown for smaller screen--------- */
.dropdown-el {
  margin-top: 10px;
  min-width: 15em;
  max-width: 20em;
  position:absolute;
  z-index:99;
  display: inline-block;
  margin-right: 1em;
  min-height: 2em;
  max-height: 2em;
  overflow: hidden;
  top: 0.5em;
  cursor: pointer;
  text-align: left;

  color: #000;
  outline: none;
  border: none;
  transition: 0.3s all ease-in-out;
}
.dropdown-el input:focus + label {
  background: #def;
}
.dropdown-el input {
  width: 1px;
  height: 1px;
  display: inline-block;
  position: absolute;
  opacity: 0.01;
}

.dropdown-el label {

    display: block;
    height: 2.4em;
    line-height: 2.5em;
    padding-left:1em;
    cursor: pointer;
    position: relative;
    transition: 0.3s color ease-in-out;

}
.dropdown-el label:nth-child(2) {
  margin-top: 2em;
  border-top: 0.06em solid #d9d9d9;
}
.dropdown-el input:checked + label {
  display: block;
  border-top: none;
  position: absolute;
  top: 0;
  width: 100%;
   margin-top: -8px;
    font-size: 20px;
}
.dropdown-el input:checked + label:nth-child(2) {
 margin-top: -8px;
    position: relative;
    font-size: 20px;
}
.dropdown-el::after {

  content: url('../images/business/arrowdown.png');
  position: absolute;
  right: 1em;
  top: 0.3em;
  opacity: 0.5;
  transition: 0.4s all ease-in-out;
  transform: rotate(-90deg);

}
.dropdown-el.expanded {
  border: 0.06em solid #EBEBEB;
  background: #fff;
  border-radius: 0.25em;
    min-width: 15em;
  max-width: 20em;
  box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 5px 0px;
  min-height: 4em;
  max-height: 25em;
  margin-bottom: 10px;
}
.dropdown-el.expanded label {
    font-size: 17px;

}
.dropdown-el.expanded label:hover {

  color: #000;
}
.dropdown-el.expanded input:checked + label {

  color: #000;
}

.dropdown-el.expanded.first input:checked + label {
    color: #fff;
}

.dropdown-el.expanded::after {
 /* transform: rotate(-90deg);  */

}



/* ---------CSS for tabs dropdown for smaller screen---------- */

.select-box {

	 position: relative;
	 display: block;

	 margin: 0 auto;
	 z-index: 99

}

 .select-box__current {
	 position: relative;
	 cursor: pointer;
	 border: 0;
}
 .select-box__current:focus + .select-box__list {
	 opacity: 1;
	 animation-name: none;
}
 .select-box__current:focus + .select-box__list .select-box__option {
	 cursor: pointer;
}
 .select-box__current:focus .select-box__icon {
	 transform: translateY(-50%) rotate(180deg);
}
 .select-box__icon {
	 position: absolute;
	 top: 50%;
	 right: 1px;
	 transform: translateY(-50%);
	 width: 18px;
	 opacity: 0.6;
	 transition: 0.2s ease;
}
 .select-box__value {
	 display: flex;
}
 .select-box__input {
	 display: none;
}
 .select-box__input:checked + .select-box__input-text {

	 display: block;
}

 .select-box__input:not(:checked)  + .select-box__input-text {

	 display: none;
}

 .select-box__input-text {
	 display: none;
	 width: 100%;
	 margin: 0;
	 font-size: 20px;
	 padding: 15px;


}
 .select-box__list {
	 position: absolute;
	 width: 100%;
	 padding: 0;
	 list-style: none;
	 opacity: 0;
	 animation-name: HideList;
	 animation-duration: 0.5s;
	 animation-delay: 0.5s;
	 animation-fill-mode: forwards;
	 animation-timing-function: step-start;
	 box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
	  background-color: #fff;
}
 .select-box__option {
	 display: block;
	 padding: 15px;
	 background-color: #fff;
}
 .select-box__option:hover, .select-box__option:focus {
	 color: #1174F1;
	 background-color: #ffffff;
}
 @keyframes HideList {
	 from {
		 transform: scaleY(1);
	}
	 to {
		 transform: scaleY(0);
	}
}



/* ---------CSS for input box ---------- */

input {
  text-align: center;
}

::placeholder {
  text-align: left;
  color:black;
}

input:placeholder-shown {
  text-align: left;
}

/* ---------CSS for radio buttons---------- */
.radio_item{
display: none !important;
    }

.label_item {
    opacity: 0;
    }

.radio_item:checked + img {
 opacity: 1;
 }

label {
cursor: pointer;
}
.radio_item:hover + img {
 opacity: 1;
 }

/* ---------CSS for  progress bar---------- */
  progress[value] {

 border-radius: 20px;
    width: 100%;
 height: 20px;
    position: relative;
    margin: 0 0 1.5em;
}

progress[value]::-webkit-progress-bar {
    background-color: #D8D8D8;
    border-radius: 20px;

}

progress[value]::-webkit-progress-value {
    position: relative;
    border:0px;
 background-color: #1075F1;
    border-radius:20px;
 transition: width 1s;
}



/* ---------CSS for progress bar 2---------- */

 .line-container {
  display: flex;
  width: 100%;}

  .progress-line {
    position: relative;
    margin: 0 auto;
    border-radius: 10px;
    width: 90%;
    background:  #d8d8d8;
    height: 20px;
    /*z-index: -1;*/
    display: flex;
    justify-content: space-between;}

.progress {
      position: absolute;
      height: 100%;
      background: gray;
      border-radius: 20px;

    }




.dot {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: transparent;
      border: 0px;}

     .current {
        background: #1075f1;
        border: 3px;
        border-color: #1075f1;
        cursor: pointer;
         z-index: 2;
      }


/* ---------CSS for inputrange--------- */
 input[type="range"] {
  border: none;
  cursor: pointer;
}
input[type="range"],
input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 1px;
  background: #c7c8c3;
}

input[type="range"]::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: none;
  margin-top: -10px;
  background: #1075f1;
}


/*---------------- css for loader icon ----------------- */
.lds-ring {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 60px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  margin: 3px;
  border: 5px solid #1075F1;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #1075F1 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}




   /*------------ CSS for select drop down   used in autobooks page -----------*/



.custom-select select {
  display: none; /*hide original SELECT element:*/
}
.custom-select {
/*   margin-top:5px; */
}
.select-selected {
  background-color: white;
}

/*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "";
    top: 18px;
    right: 10px;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-color: gray transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #000 transparent;
  top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  padding: 5px 16px;
  border: 1px solid;
  border-color: #dbdbdb;
  cursor: pointer;
user-select: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: white;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}


/*------------------------------ Date picker -------------------------------*/

input[type="date"]::-webkit-calendar-picker-indicator {

    opacity: 0.4;
    font-size:12px;
}
