@font-face {
  font-family: "Apercu";
  src: url("https://optimists.in/wp-content/themes/optimists/fonts/Apercu-Regular.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Apercu";
  src: url("https://optimists.in/wp-content/themes/optimists/fonts/Apercu-Bold.otf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Apercu";
  src: url("https://optimists.in/wp-content/themes/optimists/fonts/Apercu-Medium.otf") format("truetype");
  font-weight: medium;
  font-style: normal;
}

@font-face {
  font-family: "CircularStd";
  src: url("https://optimists.in/wp-content/themes/optimists/fonts/CircularStd-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

body {
    font-family: 'Apercu';
    background-color: #364783;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'CircularStd';
}



html {
    height: 100%;
    overflow-x:hidden;    
}

.top-header .col-md-3{
    text-align:center;
}

.top-header .col-md-3{
    color:#fff;
}

.top-header .col-md-3 input{
    padding:10px;
    margin-top:20px;
}

.top-header .col-md-3 img{
    padding:15px;
    margin-top:25px;
}

/*form styles*/
#msform {
    text-align: center;
    position: relative;
    margin-top: 30px;
}

#msform fieldset {    
    padding: 20px 5px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}
.logo{
    text-align:center;
}
.logo img{
    width:100px;
    margin:auto;
    padding:10px;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/
#msform input, #msform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 25px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    color: #2C3E50;
    font-size: 13px;
}

#msform input:focus, #msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #20b77b;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

/*buttons*/
#msform .action-button {
    border: 0 none;
    border-radius: 25px 0px 25px 25px;
    cursor: pointer;
    padding: 10px 15px;
    margin: 0px 0px;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 300 !important;
    background-color: #8dc73f;
    
}


#msform .action-button-previous {
    width:auto;
    border:none;
    display:none;
}

/*headings*/
.fs-title {
    font-size: 30px;
    color: #fff !important;
}

.fs-subtitle {
    font-size: 22px;
    color: #8dc73f;
    margin-bottom: 20px;
    font-family: "Apercu";
}

.notice {
    font-size: 16px;
    color: #ff8787;
    margin-bottom: 10px;
    font-family: "Apercu";
    margin-top: 10px;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
    padding-top:20px;
    padding-left:0px;
}

#progressbar li {
    list-style-type: none;
    color: #fff;
    font-size: 18px;
    width: 25%;
    float: left;
    position: relative;
}
#progressbar li::marker {
  color: blue;
}
@media only screen and (max-width:768px){
    #progressbar li {
        font-size:14px;
    }
    #progressbar{
        margin-bottom:0px;
        padding-left:0px;
    }
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 35px;
    height: 42px;
    line-height: 48px;
    display: block;
    font-size: 18px;
    color: #364783;
    margin: 0 auto 10px auto;
    margin-top: -12px !important;
    background-image: url(images/white-blood-icon.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1; /*put it behind the numbers*/
}


#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before, #progressbar li.active:after {
    background-image: url(images/green-blood-icon.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
   
   
}


/* Not relevant to this form */
.dme_link {
    margin-top: 30px;
    text-align: center;
}
.dme_link a {
    background: #FFF;
    font-weight: bold;
    color: #ee0979;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 5px 25px;
    font-size: 12px;
}

.dme_link a:hover, .dme_link a:focus {
    background: #C5C5F1;
    text-decoration: none;
}

/* Select Pill css */
.pill-container {

  margin: auto;
  display: block;
          flex-direction: row;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}
.pill-container input[type="checkbox"] {
  opacity: 0;
  /*position: fixed;*/
  width: 0;
  visibility:hidden;
  padding:0px !important;
  margin:0px !important;
}
.pill-container label.selector{
    margin:0px;
}

.pill-container input[type="radio"] {
  opacity: 0;
  /*position: fixed;*/
  width: 0;
  visibility:hidden;
  margin:0px !important;
  padding:0px !important;
}

.selector {

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #364783;
  font-weight: 600;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-flex: 1;
          flex-grow: 1;
  cursor: pointer;
  background: #fff;
  border-right: 0;
  border-radius: 20px;
  height: 50px;
  margin:10px;
}
.selector:hover {
  background: #b1c8fb;
  color: #364783;
}

input[type="checkbox"]:checked + label {
  background: #3b89e8;
  color: white;
}

input[type="radio"]:checked + label {
  background: #3b89e8;
  color: white;
}

/* select pill css end */
/* mobile x scroll issue */
.row {
    margin-right: 0px;
    margin-left: 0px;
}
/* mobile x scroll issue end*/


#firstName{
    color: #8dc73f;
}
.back-to-home-button{
    margin-bottom:20px;
}