.wrap {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    font-family: Roboto, sans-serif
}

.calmain {
    max-width: 750px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .2)
}

.calmain .switch_field.switch_metric {
    text-align: right
}

.calmain .switch_field {
    overflow: hidden;
    margin-bottom: 15px
}

.calmain .switch_field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden
}

.chosen-container-single .chosen-single,
input:not([type=submit]),
select,
textarea {
    display: inline-block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 7px 14px;
    height: 40px;
    outline: 0;
    font-size: 14px;
    font-weight: 300;
    margin: 0;
    width: 100%;
    max-width: 100%;
    transition: .25s ease;
    box-shadow: none
}

.calmain .switch_field.switch_metric label {
    border: 1px solid #000;
    color: #000;
    padding: 6px 14px
}

.calmain .switch_field label {
    display: inline-block;
    width: 100px;
    background: #fff;
    border: 1px solid #e52b0e;
    color: #e52b0e;
    font-weight: 700;
    font-size: 17px;
    text-align: center;
    text-shadow: none;
    margin-right: 1px;
    padding: 10px 20px;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
    cursor: pointer
}

.calmain .switch_field {
    overflow: hidden;
    margin-bottom: 15px
}

.calmain .switch_field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden
}

.calmain .switch_field.switch_metric input:checked+label {
    background: #000;
    color: #fff
}

.calmain .switch_field input:checked+label {
    background: #e52b0e;
    color: #fff
}

.calmain .switch_field.switch_gender label {
    width: calc(50% - 6px);
    margin-right: 6px;
    font-size: 18px;
    padding: 9px 14px;
    box-sizing: border-box;
    display: inline-block
}

.calmain .switch_field label {
    display: inline-block;
    width: 100px;
    background: #fff;
    border: 1px solid #e52b0e;
    color: #e52b0e;
    font-weight: 700;
    font-size: 17px;
    text-align: center;
    text-shadow: none;
    margin-right: 1px;
    padding: 10px 20px;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
    cursor: pointer
}

.calmain .switch_field.switch_gender label:nth-last-child(1) {
    margin-right: 0
}

.calmain .div33 {
    width: calc(33% - 3px);
    padding: 10px;
    padding-top: 0;
    padding-bottom: 0;
    display: inline-block;
    box-sizing: border-box;
    margin: 15px 0;
    vertical-align: top
}

.calmain .element label {
    color: #000;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 0;
    margin-top: 10px;
    display: block
}

.calmain input[type=number],
.select,
input[type=text] {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    margin-bottom: 5px
}

.calmain hr.divider {
    border: 2px solid #fff;
    margin-bottom: 20px;
    margin-top: 20px
}

.calculate {
    cursor: pointer;
    font-size: 20px;
    margin-top: 15px;
    background: #e52b0e;
    color: #fff;
    border: none;
    text-transform: uppercase;
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 5px
}

.normal {
    font-weight: 400
}

.normal span {
    font-weight: 600
}

.calmain h2 {
    font-size: 1.5em;
    margin: 15px 0;
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: -.02em;
    color: #e52b0e
}

.calmain .div50 {
    width: calc(49% - 0px);
    padding: 10px;
    padding-top: 0;
    padding-bottom: 0;
    display: inline-block;
    box-sizing: border-box;
    margin: 15px 0;
    vertical-align: top
}

.calmain .div75 {
    width: calc(65% - 0px);
    display: inline-block;
    box-sizing: border-box
}

.calmain .div25 {
    width: calc(24% - 2px);
    display: inline-block;
    box-sizing: border-box;
    padding: 10px;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    margin: 15px 0;
    vertical-align: top
}

.calmain input:-moz-read-only {
    background-color: #ddd !important
}

.calmain input:read-only {
    background-color: #ddd !important
}

.time input {
    width: 30% !important;
    margin-right: 1% !important;
    display: inline-block !important
}

.input50 input {
    width: 44% !important;
    display: inline-block !important;
    margin-right: 1%
}

.input50 .selects {
    width: 46% !important;
    margin-right: 1%;
    display: inline-block
}

.div40 {
    width: 39%;
    display: inline-block;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 10px
}

.div60 {
    width: 60%;
    display: inline-block;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 10px
}

.calmain input[type=number]:disabled {
    background: #f4f4f4;
    cursor: not-allowed
}

.element u {
    text-decoration: none;
    font-size: 11.5px;
    display: block;
    line-height: 15px
}

.heightfix div {
    width: 49%;
    display: inline-block;
    box-sizing: border-box
}

@media only screen and (max-width:767px) {
    .calmain .element .radios {
        width: calc(49% - 0px)
    }

    .calmain .checkmark {
        position: absolute;
        top: 15px;
        left: 7px
    }

    .calmain .element label {
        margin-bottom: 5px
    }

    .calmain .element .radios {
        width: calc(100% - 0px)
    }

    .calmain .element .radios label b {
        display: block
    }

    .activity label {
        width: calc(100% - 0px) !important;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important
    }

    .activity label .block {
        display: inline-block
    }

    .gym div b {
        margin-bottom: 15px
    }

    .gym div {
        width: 100% !important;
        margin-bottom: 10px
    }

    .gym {
        padding: 10px !important;
        height: auto !important
    }

    .gym div img {
        width: 70px
    }

    .loading {
        height: auto !important
    }

    .loading img {
        width: inherit !important
    }

    .loading .ldimg {
        left: 30% !important
    }

    .wrap h2 {
        font-size: 18px
    }

    .gym .rsdiv {
        width: calc(49% - 0px) !important
    }

    .inner {
        padding: 0
    }

    .calmain .switch_field label {
        width: 107px
    }

    .calmain .div33 {
        width: 100%;
        margin-bottom: 10px;
        padding: 0
    }

    .calmain .element h5 {
        font-size: 16px
    }

    .calmain {
        padding: 10px
    }

    .calmain input[type=number],
    .calmain input[type=text],
    .div40,
    .div60,
    .result_box.div50 {
        width: 100% !important
    }

    .m50 {
        width: 49% !important;
        padding-left: 0 !important
    }

    .m100 {
        width: 100% !important
    }

    .m50 input[type=number] {
        width: 100% !important
    }

    .m100 input[type=number] {
        width: 100% !important
    }

    .calmain .div33 {
        margin: 0
    }
}

.cal_invalid input {
    border-color: red !important
}

.first-div {
    padding-left: 0 !important;
    margin-left: 0 !important
}

.last-div {
    padding-right: 0 !important;
    margin-right: 0 !important
}

.heightfix div:nth-child(2) {
    float: left;
    margin-right: -5px
}

.heightfix div {
    width: 49%;
    display: inline-block;
    box-sizing: border-box
}

.heightfix input {
    width: 95% !important
}

.element u {
    text-decoration: none;
    font-size: 11.5px;
    display: block;
    line-height: 1.2
}

.heightfix div:nth-child(3) {
    float: right;
    margin-right: -5px
}

.heightfix {
    padding: 0 0 !important
}

.calmain input[type=radio] {
    height: inherit;
    width: inherit
}

.block {
    display: block
}

.calmain h4 {
    margin: 5px 0 0 0;
    background: #f4f4f4;
    padding: 10px
}

.gym {
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    background-size: cover;
    background: #fee7d5
}

.gym .rsdiv {
    width: calc(49% - -3px);
    display: inline-block;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, .7);
    -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .1);
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    border-radius: 7px;
    margin-bottom: 10px;
    vertical-align: top;
}

.gym div b {
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
    
}

.gym div span {
    font-size: 18px;
    font-weight: 600;
    display: block;
    background: #000;
    color: #fff;
    padding: 2px 10px;
    text-align: center;
}

.gym .rsdiv img {
    display: block;
    margin: 0 auto;
    margin-bottom:0px;
    max-width: 100px;
    float: left;
    background: #FFF8F2;
    padding:5px 10px;
}

.loading {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, .5);
    -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .1);
    width: 100%;
    height: 80%;
    border-radius: 15px;
    border: 1px solid #fff;
    min-height: 250px
}

.loading img {
    padding: 0 !important
}

.loading .ldimg {
    padding: 0 !important;
    background: #000 !important;
    border-radius: 50% !important;
    width: 111px !important;
    height: 111px !important;
    margin: 0 auto;
    position: absolute;
    left: 40%;
    top: 30%
}

.loading p {
    text-align: center;
    font-weight: 400
}

.font-16 {
    font-size: 14px !important;
    padding: 7px 5px
}

#calculate {
    margin-bottom: 10px !important
}

.access {
    color: red;
    background-color: #f4f4f4;
    border: 1px solid red;
    width: auto;
    text-align: left;
    padding: 20px 30px
}

.access p {
    margin: 0 0 20px 0
}

.access b {
    display: inline-block !important
}

.access .embedded {
    background: #fff;
    padding: 15px;
    color: #000;
    margin: 10px 0
}

.gcode {
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    background: #000;
    color: #fff;
    border: none;
    text-transform: uppercase;
    padding: 8px 20px;
    font-weight: 500;
    border-radius: 5px;
    text-decoration: none
}

.copycode {
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    background: #000;
    color: #fff;
    border: none;
    text-transform: uppercase;
    padding: 5px 20px;
    font-weight: 500;
    border-radius: 5px;
    text-decoration: none;
    box-sizing: border-box
}

#embeded_code {
    background: #f4f4f4;
    padding: 20px
}

#embeded_code_text {
    min-height: 80px
}

pre {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-left: 3px solid #f36d33;
    color: #666;
    page-break-inside: avoid;
    font-family: monospace;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1em 1.5em;
    display: block;
    word-wrap: break-word
}

.embedded p {
    font-size: 14px;
    margin: 0
}

.calmain .element .radios {
    margin-right: 4px !important;
    margin: 7px 0;
    display: inline-block;
    width: calc(33% - 6px);
    box-sizing: border-box;
    background: #f4f4f4;
    border-radius: 4px
}

.calmain .radios {
    display: block;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.calmain .radios {
    margin-top: 0;
    padding: 0 0 0 35px;
    margin-bottom: 10px
}

.calmain .radios label {
    display: block;
    width: 100%;
    cursor: pointer;
    margin-bottom: 10px
}

.calmain .element .radios input[type=radio] {
    transform: scale(1.2)
}

.calmain .radios input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    width: 0 !important
}

.calmain input:read-only {
    background-color: #ddd !important
}

.calmain .checkmark {
    position: absolute;
    top: 14px;
    left: 10px;
    height: 20px;
    width: 20px;
    background-color: #ddd;
    border-radius: 50%
}

.calmain .radios input:checked~.checkmark {
    background-color: #e52b0e
}

.calmain .radios input:checked~.checkmark:after {
    display: block
}

.calmain .radios .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff
}

.calmain .checkmark:after {
    content: "";
    position: absolute;
    display: none
}