/*------------------
    IFRACT
------------------*/


h13{
    font-size: 1.5em ;
    color: #6613a4;
    font-weight: 550;

}

.hidden{
    display: none !important;
}
.hidden2{
    display: none !important;
}
.col-3-w{
    /*width: 33% !important;*/
    display: inline-flex;
}

.col-8 {
    width: 65% !important;
    display: inline
}

#tool-bone{
    /* margin-top: 265px; */
    font-size: 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    margin: .0em auto .1em auto;
    text-align: left;
    background-color: #F5F7FF ;   
     /* old background #FFF */
    /* max-width: 830px; */ /* Close to apply the new UI */
}
#tool-bone .predict-input-5 {
     width: 7.4em !important;
}
#tool-bone .mtop-40{
    margin-top: 42px;
}
#tool-bone .mtop-20{
    margin-top: 22px;
}
.panel-light{
    border: 1px solid #d9d9d9;
    border-radius: .5em;
    /* background-color: #F3F5F9  #f0f1f2 ; */ /* Close to apply the new UI */
    background-color: #FFF;
    color: #434241;
    padding: 0.8rem 0.8rem 0.8rem 0.8rem;
    box-shadow:
    0 1.8px 1.2px rgba(0, 0, 0, 0.007),
    0 3.7px 2.3px rgba(0, 0, 0, 0.014),
    0 6.5px 6px rgba(0, 0, 0, 0.015),
    0 12.3px 7.9px rgba(0, 0, 0, 0.016),
    0 21.8px 15.4px rgba(0, 0, 0, 0.026),
    0 50px 40px rgba(0, 0, 0, 0.03);
}
.bone-page-form{
    margin: 0;
    padding: 0 0 1em 0;
    font-size: 1.15em;
}
.bone-page-form h2{
    font-size: 2.25em;
    margin: 0 0 0.1em 0;
    color: #434241
}
#tool-bone .panel-light{
    border-radius: 1em;
    /* padding: 1.5em; */ /* Close to apply the new UI */
    margin: 0em 0em 1.5em 0em;
}
#tool-bone .form-group{
    border: none;
    padding: 0;
    margin: 0;
    margin-top: 20px;
}

#tool-bone .predict-input{
    width: 18%;
    padding: 0.3em 0.4em 0.3em 0.4em !important;
    border: #434241 0.15em solid;
    border-radius: 0.3em;
    font-size: 1em !important;
    height: auto;
}
#tool-bone .name-input input{
    margin: 0.4em 1em 0 0;
    padding: 0;
}
#tool-bone .lb-input{
    display: inline;
    margin-right: 15px;
    font-size: 1.2em;
}
#tool-bone p{
    /*margin: 0em 0em 1.25em 0em;*/
    /*margin: 0em 0em 0.75em 0.75em;*/
    align-items: center; /* vertical */
    justify-content: center; /* horizontal */
    line-height: 1.5em;
}

#v-img {
    display: inline;
}

#p-img {
    display: inline;
}

#p2-img {
    display: inline;
}

/*-------------------------- radio button-------------------------- */

#tool-bone .radios-item:first-of-type {
    margin-top: 0;
}
#tool-bone .radios-item {
    margin: 1.6em 0 1.5em 0;
    padding: 0;
}

/* Close to apply the new UI */
/* #tool-bone [type="radio"]:checked, #tool-bone [type="radio"]:not(:checked) {
    position: absolute;
    left: -1em;
    opacity: 0;
}
#tool-bone [type="radio"]:checked + label, #tool-bone [type="radio"]:not(:checked) + label, #tool-bone #disclaimer +label{
    position: relative;
    padding-left: 2.8em;
    cursor: pointer;
    line-height: 2em;
    display: inline-block;
} */

.mtop-20 .disease + label{
    position: absolute;
    left: 0px;
}

#tool-bone .radios_label {
    padding: 0;
    margin: 0 35px;
}
#tool-bone input, #tool-bone optgroup, #tool-bone select, #tool-bone textarea {
    font-size: 100%;
    line-height: 1.45em;
    /* margin: 0; */
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1;
}

/* Close to apply the new UI */
/* #tool-bone [type="radio"]:checked + label:before, #tool-bone [type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2em;
    height: 2em;
    border: 0.15em solid #434241;
    border-radius: 100%;
    background: #fff;
    box-sizing: border-box;
}
#tool-bone [type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
#tool-bone [type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
#tool-bone [type="radio"]:checked + label:after, #tool-bone [type="radio"]:not(:checked) + label:after {
    content: '';
    width: 1em;
    height: 1em;
    background: #434241;
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
} */

#tool-bone [name=disclaimer]{
    border: 0.15em solid #434241;
    border-radius: 100%;
    height: 30px;
    width: 35px;

} 

.disea  {
    width: 100%;
}
.diseases input[type="checkbox"]{
    border: 0.15em solid #434241;
    border-radius: 100%;
    height: 30px;
    width: 35px;
    position: relative;
}
.radios-item .form-checkbox-input{
    position: relative;
    cursor: pointer;
    line-height: 2em;
    display: inline-block;
    top: -7px;
    
}
#tool-bone .btn1{
    background-color: #6613a4;
    color: #f7f4f0;
    padding: 0.4em 1.4em 0.4em 1.4em;
    font-size: 1.5em;
    /*font-weight: 700;
    border: none;*/
    border: 0.15em solid #6613a4;
    min-width: 5em;
    margin: 0 auto 0 auto;
    text-align: center;
    /*border-bottom: 0.125em #f7f4f0 solid;*/
    border-radius: 0.5rem;
    cursor: pointer;

}

.btn1 {
    box-shadow:
    0 1.8px 1.2px rgba(0, 0, 0, 0.027),
    0 3.7px 2.3px rgba(0, 0, 0, 0.044),
    0 6.5px 6px rgba(0, 0, 0, 0.045),
    0 12.3px 7.9px rgba(0, 0, 0, 0.046),
    0 21.8px 15.4px rgba(0, 0, 0, 0.086),
    0 50px 40px rgba(0, 0, 0, 0.12);
}

#tool-bone .btn1:not(.heartage-locked):hover, #tool-bone .btn1:not(.heartage-locked):focus {
    background-color: #F3F5F9;
    color: #6613a4;
    border: 0em #6613a4;
    border: 0.15em solid #6613a4;
    /*border-bottom: 0.125em #6613a4 solid;*/
}
.btn-line{
    padding: 30px !important;
}
.gr-center{
    margin-top: 20px;
    margin-left: 25%;
}
.gr-center button{
    border-radius: 30px;
}
.interpret{
    text-align: center;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    font-size: 2rem;
}
.dtl-frac
{
   /*display: block !important;*/
    margin-top: 20px;
}

.estimates-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #707070;
}

.main-container{
    margin-bottom: 50px;
}
.ratingChart-container{
    width: 95%;
    margin: auto;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 1rem;
    padding-bottom: 1em;
    padding-top: 1em;
}
.inner-ratingChart{
    width: 90%;
    margin: auto;
}

.estimates-div{
    display: flex;
    align-items: center;
}
.estimates-h3{
    letter-spacing: 0.07em;
}
.estimates-p{
    margin-left: 2em;
    opacity: 0.36;
    font-size: 1.6em;
}

.good-p{
    font-size: 1.4em;
}
.good-p  svg{
    margin-right: 0.5em;
}

.estimates-charts-row{
    margin-top: 1em;
}
.chart-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 1.3em;
    align-items: center;
}

.rate-div{
    vertical-align: middle;
    flex: 0 0 22%;
}

.oneline-div{
    flex: 0  0 62%;
    background: #E1E1E1;
    border-radius: 4px;
}

.colorful-line-div{
   border-radius: 4px;
}

.percent-div{
    flex: 0 0 5%;
    display: flex;
    vertical-align: middle;
    justify-content: flex-end;
}

.rate-p{
    margin: 0.9em 0;
}
.percent-p{
    margin: 0.6em 0;
}

#Best{
    background: #FF3D3D;
    width: 40%;
}

#Good{
    background:  #50E181;
    width: 70%;
}
#medium{
    background: #FF723D;
    width: 50%;
}
#bad{
    background: #71F79F;
    width: 20%;
}
#verybad{
    background: #FF3D3D;
    width: 40%;
}

@media only screen and (max-width:1600px){
    .ratingChart-container{

        font-size: 90%;
    }
}



@media only screen and (max-width:1400px){

    .ratingChart-container{

        font-size: 78%;
    }


    .rate-div{
        flex: 0 0 15%;
    }
    .oneline-div{
        flex: 0  0 75%;
    }

    .estimates-h3{
        letter-spacing: 0.05em;
    }
}




@media only screen and (max-width:1200px){

    .ratingChart-container{

        font-size: 68%;
    }
    .estimates-h3{
        font-size: 2em;
    }


}



@media only screen and (max-width:992px){

    .ratingChart-container{

        font-size: 60%;
    }

    .estimates-h3{
        font-size: 1.8em;
        letter-spacing: 0.03em;
    }

    .estimates-p {
        font-size: 1.4em;
    }

    .good-p svg{
        width:0.6em;
        height: 0.6em;
    }
}



@media only screen and (max-width:768px){

    .ratingChart-container{

        font-size: 48%;
    }


    .estimates-p {
        font-size: 1.2em;
    }


}




@media only screen and (max-width:576px){

    .ratingChart-container{

        font-size: 62%;
    }



    .ratingChart-container{
        border-radius: 0;
        width:90%
    }


    .rate-div{
        flex: 0 0 25%;
    }
    
    .oneline-div{
        flex: 0  0 60%;
    }
        
    .percent-div{
        flex: 0 0 10%;
    }
    .estimates-p {
        font-size: 1.5em;
        margin-left: 1em;
    }
   
    .good-p svg{
       margin-right: 1.3em;
    }

    
}


@media only screen and (max-width:480px){

    .ratingChart-container{
        padding-top: 2em;
        padding-bottom: 2em;
    }
    .estimates-charts-row {
        margin-top: 1.5em;
    }
    
    .rate-div{
        flex: 0 0 30%;
    }
    
    .oneline-div{
        flex: 0  0 60%;
    }
        
    .percent-div{
        flex: 0 0 12%;
    }
}

@media (max-width:810px)
{
    .age-lb{
        margin-left: 0px !important;
    }
    .lb-input{
        margin-left: 0px !important;
    }
    #tool-bone .radios_label {
        padding: 0;
        margin: 7px 25px;
    }
    .row{
        display: block !important;
    }
    .col-8{
        width: 65% !important; 
    }
}
@media (max-width:375px)
{
    .col-8{
        width: 35% !important;
    }
    .btn-line{
        padding: 10px !important;
    }
    .gr-center{
        margin-left: 0 !important;
    }
    .interpret{
        margin-left: 0 !important;
        text-align: center;
    }
}
@media (max-width:414px)
{
    .col-8{
        width: 75% !important;
    }

    .btn-line{
        padding: 10px !important;
    }
    .gr-center{
        margin-left: 0 !important;
    }
    .interpret{
        margin-left: 0 !important;
        text-align: center;
    }
}
@media (max-width:375px)
{
    .col-8{
        width: 75% !important;
    }
    .btn-line{
        padding: 10px !important;
    }
    .gr-center{
        margin-left: 0 !important;
    }
    .interpret{
        margin-left: 0 !important;
        text-align: center;
    }
}
.result-page{
    opacity: 1;
    animation: fade 1s linear;
    max-width: 55rem;
    margin: auto;

}
@keyframes fade {
    0%,100% {opacity: 0}
    100% {opacity: 1}
}
#result-page-skeage {
    opacity: 1;
    animation: fade 1s linear;
}
/* ------------------------- */
.avatar {  
width: 25px;
height: 25px;
border-radius: 50%;
display: inline-block;
position: relative;
background-image: url(../img/question2.png);
background-size: cover;
background-position: center;
/* margin-left: 500px ;
margin-top: 200px; */
}

.avatar::before,
.avatar::after {
--scale: 0;
--arrow-size: 10px;
--tooltip-color: #333;

position: absolute;
top: -.25rem;
left: 50%;
transform: translateX(-50%) translateY(var(--translate-y, 0)) scale(var(--scale));
transition: 150ms transform;
transform-origin: bottom center;
}

.avatar::before {
--translate-y: calc(-100% - var(--arrow-size));

content: attr(data-tooltip);
color: white;
padding: 30px;
border-radius: .3rem;
text-align: center;
width: max-content;
max-width: 600px;
background: var(--tooltip-color);
font-size: 15px;
}

.avatar:hover::before,
.avatar:hover::after {
--scale: 1;
}

.avatar::after {
--translate-y: calc(-1 * var(--arrow-size));

content: '';
border: var(--arrow-size) solid transparent;
border-top-color: var(--tooltip-color);
transform-origin: top center;
}

.profile-card{
width: 400px;
margin: auto;
background: #fff;
box-shadow: 0 4px 10px 0 rgba(0,0,0,0.5);
background:  linear-gradient(rgba(255, 255, 255, 1), rgba(197, 234, 249, 1));
background: #f0f1f2;
}

.image-container{
position: relative;
}
.info{
color: #6613a4;
margin-right: 16px;
}
.main-container{
padding: 20px;
}


.skill-bar{
background-color: #9FA8DA;
border-radius: 16px;
}

.progress-bar{
padding: 0.1em 16px;
border-radius: 16px;
text-align: center;
color: #fff;
background-color: #097008;
}


.progress-bar2{
padding: 0.1em 16px;
border-radius: 16px;
text-align: center;
color: #fff;
background-color: #be1010;
}

.title{
top: 2rem;
position: relative;
left: 15px;
bottom: 0;
}


#scary-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotate 1s cubic-bezier(0.46, 0.12, 0.31, 0.97);
  animation-direction: reverse;
  background: url("../images/spine.png") left 0em bottom 0em no-repeat;
  background-position: center;
  background-size: auto 100%;
  z-index: 1;
}


#scary-container1 {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotate 1s cubic-bezier(0.46, 0.12, 0.31, 0.97);
  animation-direction: reverse;
}

.round {
  /* hidden the bone 
  width: 70px;
  */
  height: 70px;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
}

.round:first-child {
  box-shadow: inset 0 -2px 5px #e9e9e9;
  box-shadow: inset 13px -2px 6px 0px rgba(0, 0, 0, 0.2);
  top: 5px;
}

.round:last-child {
  -webkit-box-shadow: inset 13px -2px 6px 0px rgba(0, 0, 0, 0.2);
  box-shadow: inset 13px -2px 6px 0px rgba(0, 0, 0, 0.2);
  top: -5px;
}

.left-bone-rounds {
  position: relative;
  left: 40px;
}

.right-bone-rounds {
  position: relative;
  right: 40px;
  transform: scale(-1, 1);
}

/* change to hidden bone */

/*.bone {
  height: 70px;
  width: 400px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(233, 233, 233);
  background: linear-gradient(
    0deg,
    rgba(233, 233, 233, 1) 0%,
    rgba(255, 255, 255, 1) 16%,
    rgba(254, 254, 254, 1) 84%,
    rgba(233, 233, 233, 1) 100%
  );*/

.bone {
  height: 70px;
  width: 400px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  ;


}.infomation-result
{
    padding: 0 40px;
    border: black solid 1px;
    border-radius: 10px;
}
.infomation-result h2{
    text-align: center;
}
.infomation-result p{
    font-size: 20px;
}
.infomation-result .value{
    margin: 10px 0px;
}
.infomation-result .actual-bmd{
    display: flex;
    justify-content: space-between;
    /* margin-bottom: -50px; */
}

.hidden-print{
    display: none;
}
@media print{
    
    .hidden-print{
        display: block !important;
    }
    .py-32 {
        display: none !important;
    }
    #tool-bone .btn1 {
        display: none;
    }
    #topnav {
        display: none;
    }
    .result-page{
        display: none;
    }
    .navbar{
        display: none;
    }
    .copyright ,#pricing
    {
        display: none;
    }
    .infomation-result{
        margin-top: -80px;
    }
    .col-3-w {
        width: 100% !important;
    }
    #v-img {
        width: 5.4px;
    }
    #second-chart{
        margin-top: 250px;
    }
    h2 {
        font-weight: bold;
    }
    #back-to-top {
        display: none !important;
    }
    footer{
        display: none;
    }
    p {
        font-size: 21px !important;
    }
    .first-chart span , .second-chart span, .third-chart span, .fourth-chart span{
        font-size: 18px !important;
    }
}
.per-chart{
  margin-top: 3px;
}

.chart4{
  padding: 0px 15px;
  font-size: 16px;
}
#p-img, #p1-img, #p2-img, #p3-img, #p4-img, #p5-img{
  width: 30px;
  display: inline;
}

#text-err {
    color: red;
}


/*------------------
    CHECK BOX
------------------*/

/* Close to apply the new UI */

/* Base for label styling */
    /* [type="checkbox"]:not(:checked),
    [type="checkbox"]:checked {
        position: relative;
        left: 0;
        opacity: 0.01;
    }
    [type="checkbox"]:not(:checked) + label,
    [type="checkbox"]:checked + label {
        position: relative;
        padding-left: 2.3em;
        font-size: 1.05em;
        line-height: 1.7;
        cursor: pointer;
    } */

    /* checkbox aspect */
    /* [type="checkbox"]:not(:checked) + label:before,
    [type="checkbox"]:checked + label:before {
        content: '';
        position: absolute;
        left: -2rem;
        top: 0;
        width: 1.4em;
        height: 1.4em;
        border: 1px solid #aaa;
        background: #FFF;
        border-radius: .2em;
        box-shadow: inset 0 1px 3px rgba(0,0,0, .1), 0 0 0 rgba(203, 34, 237, .2);
        -webkit-transition: all .275s;
                transition: all .275s;
        border: 0.15em solid #434241;

    } */

    /* checked mark aspect */
    /* [type="checkbox"]:not(:checked) + label:after,
    [type="checkbox"]:checked + label:after {
        content: '✕';
        position: absolute;
        top: .495em;
        left: -1.14em;
        font-size: 1.275em;
        color: #CB22ED;
        line-height: 0;
        -webkit-transition: all .2s;
                transition: all .2s;
    } */

    /* checked mark aspect changes */
    /* [type="checkbox"]:not(:checked) + label:after {
        opacity: 0;
        -webkit-transform: scale(0) rotate(45deg);
                transform: scale(0) rotate(45deg);
    }

    [type="checkbox"]:checked + label:after {
        opacity: 1;
        -webkit-transform: scale(1) rotate(0);
                transform: scale(1) rotate(0);
    } */

    /* Disabled checkbox */
    /* [type="checkbox"]:disabled:not(:checked) + label:before,
    [type="checkbox"]:disabled:checked + label:before {
        box-shadow: none;
        border-color: #bbb;
        background-color: #e9e9e9;
    }

    [type="checkbox"]:disabled:checked + label:after {
        color: #777;
    }

    [type="checkbox"]:disabled + label {
        color: #aaa;
    } */

    /* Accessibility */
    /* [type="checkbox"]:checked:focus + label:before,
    [type="checkbox"]:not(:checked):focus + label:before {
        box-shadow: inset 0 1px 3px rgba(0,0,0, .1), 0 0 0 6px rgba(203, 34, 237, .2);
    } */

    .form-GRS{
        margin-bottom: 10px;
    }
    table {
        font-family: arial, sans-serif;
        border-collapse: collapse;
        width: 100%;
        background-color: #fff;
      }
      
      td, th {
        border: 1px solid #d3d3d3 !important;
        text-align: center !important;
        padding: 2px;
        padding-top: 0.2px;
        padding-bottom: 0.2px;
        width: 20px;

      }
      
      .input-box {
         width: 96%;
         padding:5px 2%;
         border: none;
         text-transform: uppercase;
         text-align: center;
      }
      .form-group .dialog {
        overflow-y: auto;
      }
/* time to next bmd measurement */
.calendar {
    margin:.25em 10px 10px 0;
    padding-top:5px;
    float:left;
    width:80px;
    background:#ededef;
    background: -webkit-gradient(linear, left top, left bottom, from(#ededef), to(#ccc)); 
    background: -moz-linear-gradient(top,  #ededef,  #ccc); 
    font:bold 30px/60px Arial Black, Arial, Helvetica, sans-serif;
    text-align:center;
    color:#000;
    text-shadow:#fff 0 1px 0;   
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;  
    position:relative;
    -moz-box-shadow:0 2px 2px #888;
    -webkit-box-shadow:0 2px 2px #888;
    box-shadow:0 2px 2px #888;
}
.calendar em {
    display:block;
    font:normal bold 11px/30px Arial, Helvetica, sans-serif;
    color:#fff;
    text-shadow:#00365a 0 -1px 0;   
    background:#6613a4;
    background:-webkit-gradient(linear, left top, left bottom, from(#6613a4), to(#6613a4)); 
    background:-moz-linear-gradient(top,  #6613a4,  #6613a4); 
    -moz-border-radius-bottomright:3px;
    -webkit-border-bottom-right-radius:3px; 
    border-bottom-right-radius:3px;
    -moz-border-radius-bottomleft:3px;
    -webkit-border-bottom-left-radius:3px;  
    border-bottom-left-radius:3px;  
    border-top:1px solid #00365a;
}
.calendar:before, .calendar:after {
    content:'';
    float:left;
    position:absolute;
    top:5px;    
    width:8px;
    height:8px;
    background:#111;
    z-index:1;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
    -moz-box-shadow:0 1px 1px #fff;
    -webkit-box-shadow:0 1px 1px #fff;
    box-shadow:0 1px 1px #fff;
}
.calendar:before { 
  left:11px
}   
.calendar:after {
  right:11px
}
.calendar em:before, .calendar em:after {
    content:'';
    float:left;
    position:absolute;
    top:-5px;   
    width:4px;
    height:14px;
    background:#dadada;
    background:-webkit-gradient(linear, left top, left bottom, from(#f1f1f1), to(#aaa)); 
    background:-moz-linear-gradient(top,  #f1f1f1,  #aaa); 
    z-index:2;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;
}
.calendar em:before { left:13px }   
.calendar em:after { right:13px }

/* -- CSS from styles -- */
div[class*='group'] {
    flex-direction: row;
    flex-wrap: wrap;
}

div[class*='group'] div[class^='input'] {
    flex: 0 1 100%;
}

@media only screen and (min-width: 65rem) {
    .col-1 div[class*='group'] div[class^='input'] {
        flex: 0 1 100%;
    }

    .col-2 div[class*='group'] div[class^='input'] {
        flex: 0 1 50%;
    }

    .col-3 div[class*='group'] div[class^='input'] {
        flex: 0 1 33%;
    }

    .col-4 div[class*='group'] div[class^='input'] {
        flex: 0 1 25%;
    }
}

@media only screen and (min-width:50rem) {
    .wrapper {
        flex: 0 1 100%;
    }
}

@media only screen and (max-width:65rem) and (min-width:50rem) {
    .col-1 div[class*='group'] div[class^='input'] {
        flex: 0 1 100%;
    }

    .col-2 div[class*='group'] div[class^='input'] {
        flex: 0 1 50%;
    }

    .col-3 div[class*='group'] div[class^='input'] {
        flex: 0 1 33%;
    }

    .col-4 div[class*='group'] div[class^='input'] {
        flex: 0 1 25%;
    }
}

@media only screen and (max-width:50rem) and (min-width:35rem) {
    .col-1 div[class*='group'] div[class^='input'] {
        flex: 0 1 100%;
    }

    .col-2 div[class*='group'] div[class^='input'] {
        flex: 0 1 50%;
    }

    .col-3 div[class*='group'] div[class^='input'] {
        flex: 0 1 33%;
    }

    .col-4 div[class*='group'] div[class^='input'] {
        flex: 0 1 25%;
    }
}

@media only screen and (max-width:35rem) and (min-width:30rem) {
    .col-1 div[class*='group'] div[class^='input'] {
        flex: 0 1 100%;
    }

    .col-2 div[class*='group'] div[class^='input'] {
        flex: 0 1 100%;
    }

    .col-3 div[class*='group'] div[class^='input'] {
        flex: 0 1 33%;
    }

    .col-4 div[class*='group'] div[class^='input'] {
        flex: 0 1 33%;
    }
}

@media only screen and (max-width:30rem) and (min-width:23rem) {
    .col-1 div[class*='group'] div[class^='input'] {
        flex: 0 1 100%;
    }

    .col-2 div[class*='group'] div[class^='input'] {
        flex: 0 1 100%;
    }

    .col-3 div[class*='group'] div[class^='input'] {
        flex: 0 1 50%;
    }

    .col-4 div[class*='group'] div[class^='input'] {
        flex: 0 1 33%;
    }
}

.surveyForm {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 50rem;
    margin: 0 auto;
    font-weight: 500;
    /*  font-size: 1.2rem; */
    counter-reset: index;
    margin-bottom: 0.1em;
}

.surveyForm .wrapper * {
    display: flex;
}

.wrapper {
    flex-direction: column;
}

.d-block {
    display: block !important;
}

.btn-result {
    padding: 10px;
    width: calc(100% - 10px);
    justify-content: space-around;
}

/* checkboxes & radio buttons */

div[class^='input'] {
    position: relative;
    align-items: center;
}

.checkbox {
    font-size: 0.75rem;
    line-height: 1.25rem;
}

.radio-button-group input,
.checkbox-group input {
  width: 3em;
}

input[type="checkbox"] {
    vertical-align: -10%;
    margin-right: 0.5rem;
    border-radius: .2em;
}

input[ type=checkbox],
input[ type=radio] {
    position: absolute;
    left: -1000em;
}

input[ type=checkbox]+label::before,
input[ type=radio]+label::before {
    content: "";
    width: 1.6em;
    min-width: 1.6em;
    height: 1.6em;
    border: 1px solid #ddd;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 .5em 0 0;
    padding: 0;
    position: relative;
    font-size: 103%;
    background-color: #F5F7FF;
    cursor: pointer;
}

input[ type=checkbox]:checked+label::before {
    content: "\02713";
    color: #F5F7FF;
    font-weight: bolder;
    background-color: #6613a4;
    border-radius: .2em;
    cursor: pointer;
}

input[ type=radio]+label::before {
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    cursor: pointer;
}

input[ type=radio]:checked+label::before {
    padding: .3vw;
    background-clip: content-box;
    background-color: #6613a4;
    border: .5px solid #8f8f8f;
    cursor: pointer;
}

/* checkboxes & radio buttons */

/*************************/
/*     Buiding Page      */
/*************************/

.wrap {
    /* OLD browser support */
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    -moz-box-wrap: nowrap;
    -webkit-box-wrap: nowrap;
    -ms-flexbox-wrap: nowrap;
    -moz-box-direction: column;
    -webkit-box-direction: column;
    -ms-flexbox-direction: column;
    /* END OLD browser support */

    display: flex;
    /* or inline-flex */
    flex-direction: column;
    /* or usually or row */
    justify-content: space-between;
    align-items: center;

    height: 100%;
    width: 100%;
}

.fieldset {
    padding: 0.3em;
    margin: 0.2em;
    flex-direction: column;
    /* border: 1px solid #d9d9d9; */
    /* border-radius: .5em */
    /* background-color: #f0f1f2; */
    /* color: #434241; */
}

.fieldset:last-of-type {
    flex-grow: 1;
}

.fieldset div div {
    margin: .5em 0;
    font-size: 105%;
}

.fieldset .input-text label {
    display: block;
    width: 13.7em;
}

.fieldset h4 {
    display: block;
    font-size: 1.45rem;
    font-weight: normal;
    color: #434241;
    padding: .2em 0;
    counter-increment: index;
}

.fieldset h4 * {
    display: inline;
}

.fieldset h4 small {
    font-size: 80%;
}

.fieldset h4::before {
    content: counter(index) ". ";
    margin: .2em;
}

label.input-text {
    font-weight: 700;
    font-size: 18px;
    display: block;
    float: left;
    padding: 1.5em;
    color: #757575;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    background: transparent;
}

.input-text input {
    width: 50%;
    height: 3em;
    margin-right: 1em;
    border: 1px solid #d9d9d9;
    border-radius: 0.3em;
    padding: .5em 1em;
    color: #6613a4;
    font-weight: 600;
    min-width: 35%;
    background-color: #F5F7FF;
}

.input-text input:focus {
    outline: 3px solid #6613a4;
}