/*form styles*/
#msform {
    text-align: center;
    position: relative;
    margin-top: 30px;
}

#msform 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*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/
#msform input, #msform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    color: #2C3E50;
    font-size: 13px;
	font-style:normal;
}

#msform input.iradio{
	width: auto;
	margin-left: 20px;
}

#msform input:focus, #msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #000;
    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 {
    width: 100px;
    background: #fff;
    font-weight: bold;
    color: #000;
    border: 1px solid #000;
    border-radius: 0;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px auto;
}

#msform .action-button:hover, #msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #000;
}

#msform .action-button-previous {
    width: 100px;
    background: #C5C5F1;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button-previous:hover, #msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #C5C5F1;
}

/*headings*/
.fs-title {
    font-size: 18px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: bold;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    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: black;
    text-transform: uppercase;
    font-size: 11px;
    width: 33.33%;
    float: left;
    position: relative;
    letter-spacing: 1px;
	z-index: 0;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 28px;
    height: 28px;
    line-height: 28px;
    display: block;
    font-size: 16px;
    color: #333;
    background: white;
    border-radius: 25px;
    margin: 0 auto 10px auto;
    border: 1px solid;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #000;
    position: absolute;
    left: -46.5%;
    top: 13px;
    z-index: -1;
}

#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: #2e7f44;
    color: white;
	border: 1px solid #2e7f44;
}

#resultado img{
    margin: 0 auto;
    max-width: 250px;
}

.cont-form-datos{
	display: flex;
    flex-wrap: wrap;
}

.input-cal {
    width: 50%;
    padding: 0px 25px 10px;
}

.iconos {
    display: flex;
    justify-content: space-evenly;
    flex-flow: wrap;
    padding: 2% 0;
}

.iconos label {
    max-width: 25%;
    padding: 1%;
    cursor:pointer;
    position:relative;
}

.iconos label:hover, .iconos label.active{
    box-shadow: 0 0 15px 1px rgb(0 0 0 / 30%);
    font-weight: 500;
    border-radius: 15%;
}

.iconos label img {
    max-width: 100px;
    width: 100%;
}

img.info-img {
    position: absolute;
    width: 25px!important;
    right: -25px;
    top: -10px;
    cursor: pointer;
    z-index: 99;
}

input[type='radio'].iradio{
    display:none!important;
}

#msform .submit.action-button{
    padding: 19px 10px;
    border: 1px solid #2e7f44;
    border-radius: 0px;
    margin-bottom: 0px;
    width: 100%;
    box-sizing: border-box;
    color: #fff!important;
    font-size: 13px;
    font-style: normal;
    margin-top: 4px;
    background-color: #2e7f44!important;
} 

.modalnutri{
    position: fixed;
    width: 100%;
    height: 100%;
    background: #31a61042;
    z-index: 99;
    top: 0;
    left: 0;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    display:none;
}

.modalnutri .cont-modal{
    background: #fff;
    padding: 25px 25px 10px;
    position: relative;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 0 15px 1px rgb(0 0 0 / 40%);
}

.modalnutri .cerrar-modal{
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 900;
}

.modalnutri .textomodal li{
    margin-bottom: 0.85rem;
}

.cerrar-btn{
    cursor: pointer;
    border: 1px solid #000;
    max-width: 100px;
    text-align: center;
    padding: 5px;
    margin: 10px auto;
}

.cerrar-btn:hover{
    border: 1px solid #000;
    color: #fff;
    background-color: #000;
}

.centrar-calc{
    margin: 0 auto;
}


@media only screen and (max-width: 700px) {
    
    #progressbar {
        padding: 0;
        margin-bottom: 20px;
    }

    #progressbar li {
        font-size: 10px;
    }
    
    #progressbar li:after{
        display: none;
    }

    .iconos label {
        max-width: 50%;
        width: 50%;
        margin-bottom: 20px;
    }

    #msform fieldset {
        padding: 20px 15px;
        width: 90%;
        margin: 0 auto;
    }

    .input-cal {
        width: 100%;
        padding: 0px 15px 10px;
    }
    
    .input-cal label {
        display: inline-block;
        font-size: 1.5rem;
    }

    #msform input, #msform textarea {
        padding: 8px 15px;
    }

    #msform .submit.action-button{
        margin-top: -10px; 
    }
}

.sub-producto{
    text-transform: capitalize;
}