/*basic reset*/
* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    background: #333; /* fallback for old browsers */
}

body {
    font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif;
    background: transparent;
}

/*form styles*/
#clinVarAdd {
    text-align: center;
    position: relative;
    margin-top: 30px;
}

#clinVarAdd fieldset {
    background: white;
    border: 0 none;
    border-radius: 0px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;

    /*stacking fieldsets above each other*/
    position: relative;
}

/*Hide all except first fieldset*/
#clinVarAdd fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/

#clinVarAdd input, #clinVarAdd textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    color: #2C3E50;
    font-size: 14px;
}
#clinvar_condition_container input[type=search] {
min-width: 100%;
background-color: transparent;
border: none !important;
font-size: inherit;
padding: 0;
}


#clinVarAdd input:focus, #clinVarAdd textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #0d6efd;
    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*/
#clinVarAdd .action-button {
    width: 150px;
    background: #0d6efd;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#clinVarAdd .action-button:hover, #clinVarAdd .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #0d6efd;
}

#clinVarAdd .action-button-previous {
    width: 150px;
    background: #C5C5F1;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#clinVarAdd .action-button-previous:hover, #clinVarAdd .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #C5C5F1;
}

/*headings*/
.fs-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    float: left;
    position: relative;
    letter-spacing: 1px;
}

#progressbar.steps-5 li {
  width: 20%;
}

#progressbar.steps-7 li {
  width: 14.28%;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 24px;
    height: 24px;
    line-height: 26px;
    display: block;
    font-size: 12px;
    color: #333;
    background: white;
    border-radius: 25px;
    margin: 0 auto 10px auto;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    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: #0d6efd;
    color: white;
}

/* Not relevant to this form */
.dme_link {
    margin-top: 30px;
    text-align: center;
}
.dme_link a {
    background: #FFF;
    font-weight: bold;
    color: #0d6efd;
    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;
}

/* Prevent usage of dark mode for checkboxes and radiobuttons */
input[type='checkbox']{
  color-scheme: only light;
}
input[type='radio']{
  color-scheme: only light;
}
