﻿.registration .material-form {
    background-color: white;
    padding: 0 15px;
    color: black;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: none;
    border-radius: 0;
}

.registration .material-group input, .registration .material-group select, .registration .material-group textarea {
    border-bottom: 1px solid #197A85;
    color: black;
}

.registration .material-group .ng-empty {
    border-bottom: 1px solid #197A85;
}

.registration .material-group input:focus ~ label, .registration .material-group input.ng-not-empty ~ label, .registration .material-group select:focus ~ label, .registration .material-group select.ng-not-empty ~ label {
    color: #197A85;
}

.registration input#middlename, .registration input#firstname, .registration input#lastname {
    text-transform: capitalize;
}

.registration .relative {
    position: relative;
}

.registration .material-group .chosen-container-single .chosen-single {
    border-bottom: 1px solid #197A85;
    color: black;
}

.registration .material-group .ng-empty + .chosen-container-single .chosen-single {
    border-bottom: 1px solid #197A85;
}

.registration form .profile-section {
    padding: 40px 15px 15px 85px;
    background: url(../images/account/profile.svg) no-repeat 15px center;
    background-size: 50px 50px;
    border-bottom: 1px solid #eaeaea;
}

.registration form .email-section {
    padding: 40px 15px 15px 85px;
    background: url(../images/account/email.svg) no-repeat 15px center;
    background-size: 50px 50px;
    border-bottom: 1px solid #eaeaea;
}

.registration form .password-section {
    padding: 40px 15px 15px 85px;
    background: url(../images/account/password.svg) no-repeat 15px center;
    background-size: 50px 50px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}

.registration form .phone-section {
    padding: 40px 15px 15px 85px;
    background: url(../images/account/phone.svg) no-repeat 15px center;
    background-size: 50px 50px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}

.registration .main-container {
    background: white;
    max-width: 991px;
    margin: 0 auto;
}

.registration .form-header {
    background: #197A85;
    color: white;
    /* Ye Olde Flexbox for Webkit */
    display: -webkit-box;
    /* Tweener flexbox for IE10 */
    display: -ms-flexbox;
    /* Prefixed "new flexbox" */
    display: -webkit-flex;
    /* unprefixed standard "new flexbox" version for the rest */
    display: flex;
    align-items: center;
    padding: 5px 10px;
}

    /*.form-header img {
    max-width: 160px;
    height: auto;
}*/

    .registration .form-header img {
        max-width: 152px;
        height: 50px;
    }

.registration .form-title {
    width: 100%;
    text-align: center;
    margin-left: -100px;
    font-size: 18px;
    font-weight: normal;
}

.registration .paragraf-scroll {
    border: none;
    border-radius: 0;
    padding: 15px;
    margin-left: 0;
    margin-right: 0;
    overflow-y: auto;
    max-height: 200px;
    background: whitesmoke;
    position: relative;
}

.registration .subtitle {
    padding: 0;
    text-transform: uppercase;
}

.registration .padding-30 {
    padding: 30px !important;
}

.registration .material-form.material-inverse input[type="checkbox"] + label:before {
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    background: white;
    -moz-box-shadow: inset 0 0 0 22px #197A85;
    -webkit-box-shadow: inset 0 0 0 22px white;
    box-shadow: inset 0 0 0 22px white;
    border: 1px solid #197A85;
}

.registration .material-form.material-inverse input[type="checkbox"]:checked + label:before {
    -moz-box-shadow: inset 0 0 0 4px #197A85;
    -webkit-box-shadow: inset 0 0 0 4px #197A85;
    box-shadow: inset 0 0 0 4px #197A85;
    content: "\e876";
    font-family: material icons;
    background: #197A85;
    color: white;
    font-size: 20px;
    line-height: 21px;
}

.registration .meter {
    width: 100%;
    background: #eaeaea;
    height: 5px;
    margin: 0 15px;
}

    .registration .meter .step {
        height: 5px;
        width: 0;
        background: #197A85;
        transition: all .5s linear;
    }

        .registration .meter .step.per20 {
            width: 20%;
        }

        .registration .meter .step.per40 {
            width: 40%;
        }

        .registration .meter .step.per60 {
            width: 60%;
        }

        .registration .meter .step.per80 {
            width: 80%;
        }

        .registration .meter .step.per100 {
            width: 100%;
        }

.registration .tab-content {
    min-height: 400px;
    overflow-x: visible;
}

.registration .action-buttons {
    /* Ye Olde Flexbox for Webkit */
    display: -webkit-box;
    /* Tweener flexbox for IE10 */
    display: -ms-flexbox;
    /* Prefixed "new flexbox" */
    display: -webkit-flex;
    /* unprefixed standard "new flexbox" version for the rest */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*TAB WIZZARD*/
.registration .tab-content h2 {
    color: #197A85;
    text-transform: none;
    font-size: 24px;
    font-weight: 400;
    margin: 30px 0 30px 0;
}

.registration .input-box {
    /* Ye Olde Flexbox for Webkit */
    display: -webkit-box;
    /* Tweener flexbox for IE10 */
    display: -ms-flexbox;
    /* Prefixed "new flexbox" */
    display: -webkit-flex;
    /* unprefixed standard "new flexbox" version for the rest */
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 20px auto;
    position: relative;
    z-index: 1;
}

.registration label.Male {
    display: block;
    width: 180px;
    height: 180px;
    padding: 0;
    background: url(../images/account/gender-male.png) no-repeat;
    background-size: 100% auto;
}

.registration label.Female {
    display: block;
    width: 180px;
    height: 180px;
    padding: 0;
    background: url(../images/account/gender-female.png) no-repeat;
    background-size: 100% auto;
}

    .registration label.Male:hover, .registration label.Female:hover {
        background-position: center -180px;
    }

.registration input[type="radio"]:checked + label {
    background-position: center -360px;
}

.registration label.Male:before, .registration label.Female:before {
    display: none;
}

.registration .center-input-box {
    max-width: 400px;
    margin: 50px auto;
}

.registration .material-inverse .datepicker-dd .datetimepicker, .registration .material-inverse .datepicker-dd .datetimepicker .table td, .registration .material-inverse .datepicker-dd .datetimepicker .table th {
    color: white;
}

.registration #dateofbirth {
    background: whitesmoke;
    padding: 15px;
    width: 100%;
    max-width: 400px;
    height: 270px;
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

    .registration #dateofbirth .table > thead:first-child > tr:first-child > th {
        border-top: 0;
        background: #197A85;
        color: white;
        border-radius: 0;
    }

    .registration #dateofbirth .table > thead:first-child > tr:last-child > th {
        border-top: 0;
        background: lightgrey;
        color: #197A85;
        border-radius: 0;
    }

    .registration #dateofbirth th.switch.ng-binding {
        background: white !important;
        color: #197A85 !important;
    }

    .registration #dateofbirth.datetimepicker span {
        background: white;
        border-radius: 0;
    }

        .registration #dateofbirth.datetimepicker span.active {
            background: #197A85;
        }

.registration .height-box {
    width: 180px;
    height: 180px;
    background: url(../images/account/height.png) no-repeat center;
    background-size: 100% auto;
    position: relative;
}

.registration .weight-box {
    width: 180px;
    height: 180px;
    background: url(../images/account/weight.png) no-repeat center;
    background-size: 100% auto;
    position: relative;
}

.registration .systolic-box {
    width: 180px;
    height: 180px;
    background: url(../images/account/systolic.png) no-repeat center;
    background-size: 100% auto;
    position: relative;
}

.registration .diastolic-box {
    width: 180px;
    height: 180px;
    background: url(../images/account/diastolic.png) no-repeat center;
    background-size: 100% auto;
    position: relative;
}

.registration .controll-buttons button {
    width: 50px;
    height: 50px;
    background: #197A85;
    color: white;
    border: none;
    border-radius: 50%;
    font-weight: bold;
    box-shadow: 0 2px 3px rgba(0,0,0,.3);
    font-size: 25px;
    line-height: 0;
    margin: 0 5px;
    position: relative;
}

    .registration .controll-buttons button span {
        /* height: 0; */
        display: block;
        position: absolute;
        top: 50%;
        /* bottom: 0; */
        width: 100%;
        right: 0;
        margin-top: -2px;
        /* width: 5px; */
        align-items: center;
        justify-content: center;
        margin-right: 0;
    }

.registration .controll-buttons {
    text-align: center;
    margin: 20px;
}

    .registration .controll-buttons button:active {
        background: #025590;
        box-shadow: none;
        outline: none;
    }

    .registration .controll-buttons button:focus {
        outline: none;
    }

.registration .metric input {
    background: none !important;
    border: none;
    text-align: center;
    color: #197A85;
    font-size: 40px;
    width: 100%;
    outline: none !important;
    height: 50px;
}

.registration .metric div {
    font-size: 18px;
    color: #898989;
    text-align: center;
    width: 100%;
    font-weight: 400;
}

.registration .imperial div.short {
    font-size: 30px;
    color: #898989;
    text-align: center;
    width: 5px;
    font-weight: bold;
}

.registration .metric {
    position: absolute;
    bottom: 20px;
}

.registration .imperial {
    position: absolute;
    bottom: 40px;
    /* Ye Olde Flexbox for Webkit */
    /*display: -webkit-box;*/
    /* Tweener flexbox for IE10 */
    /*display: -ms-flexbox;*/
    /* Prefixed "new flexbox" */
    /*display: -webkit-flex;*/
    /* unprefixed standard "new flexbox" version for the rest */
    display: block;
    align-items: center;
    /* justify-content: center; */
    width: 180px;
    margin-left: 0;
}

    .registration .imperial input {
        background: none !important;
        border: none;
        text-align: center;
        color: #197A85;
        font-size: 34px;
        /* max-width: 50px !important; */
        outline: none !important;
        height: 50px;
        text-align: right;
        min-width: 0;
        width: 28% !important;
    }

.registration .small-font input {
    font-size: 34px;
    height: 40px;
}

.registration .switch-metric {
    /* Ye Olde Flexbox for Webkit */
    display: -webkit-box;
    /* Tweener flexbox for IE10 */
    display: -ms-flexbox;
    /* Prefixed "new flexbox" */
    display: -webkit-flex;
    /* unprefixed standard "new flexbox" version for the rest */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .registration .switch-metric label:before {
        display: none !important;
    }

    .registration .switch-metric label {
        padding: 5px 10px !important;
        /* border: 1px solid blue !important; */
        width: 100px;
        background: #eaeaea;
        text-align: center;
        border-right: 1px solid lightgrey;
    }

        .registration .switch-metric label.no-border {
            border: none;
        }

    .registration .switch-metric input[type="radio"]:checked + label {
        background: #197A85;
        color: white !important;
    }

.registration .bmi-box {
    width: 100px;
    height: 100px;
    background: #eeefef;
    border-radius: 50%;
    /* Ye Olde Flexbox for Webkit */
    display: -webkit-box;
    /* Tweener flexbox for IE10 */
    display: -ms-flexbox;
    /* Prefixed "new flexbox" */
    display: -webkit-flex;
    /* unprefixed standard "new flexbox" version for the rest */
    display: flex;
    align-items: center;
    /* Your grandparents flexbox for old Webkit */
    -webkit-box-orient: vertical;
    /* Prefixed new syntax: */
    -webkit-flex-direction: column;
    /* (Same syntax for weird IE tweener) */
    -ms-flex-direction: column;
    /* unprefixed new syntax */
    flex-direction: column;
    justify-content: center;
    margin: -60px auto 50px auto;
    border: 1px solid #c8c8c8;
    color: #898989;
}

    .registration .bmi-box input {
        background: none;
        border: none;
        color: #197A85;
        font-size: 20px;
    }

.registration .switch-metric .radio:first-child label {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.registration .switch-metric .radio:last-child label {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border: none;
}

.registration form .nav-tabs {
    display: none;
}

.registration .material-group label {
    color: #999999;
}

.registration .info-tooltip {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #197A85;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 12px;
    line-height: 15px;
    margin-top: -32px;
    left: 60px;
    cursor: default;
}

.registration .ng-invalid.ng-dirty {
    border-color: #197A85 !important;
}

    .registration .ng-invalid.ng-dirty ~ label {
        color: #197A85 !important;
    }

    .registration .ng-invalid.ng-dirty ~ .bar:after, .registration .ng-invalid.ng-dirty:focus ~ .bar:after {
        background: #197A85 !important;
    }

    .registration .ng-invalid.ng-dirty.ng-touched, .registration .ng-invalid.ng-touched {
        border-color: #f77777 !important;
    }

        .registration .ng-invalid.ng-dirty.ng-touched ~ label, .registration .ng-invalid.ng-touched ~ label {
            color: #f77777 !important;
        }

        .registration .ng-invalid.ng-dirty.ng-touched ~ .bar:after, .registration .ng-invalid.ng-dirty.ng-touched:focus ~ .bar:after, .registration .ng-invalid.ng-touched ~ .bar:after, .registration .ng-invalid.ng-touched:focus ~ .bar:after {
            background: #f77777 !important;
        }

.registration .input-box.date-input {
    /* Your grandparents flexbox for old Webkit */
    -webkit-box-orient: vertical;
    /* Prefixed new syntax: */
    -webkit-flex-direction: column;
    /* (Same syntax for weird IE tweener) */
    -ms-flex-direction: column;
    /* unprefixed new syntax */
    flex-direction: column;
}

.registration .birthday-result {
    padding: 0 30px;
    font-size: 18px;
    color: #197A85;
    /* height: 105px; */
    background: whitesmoke;
    width: 100%;
    max-width: 400px;
    text-align: center;
    font-weight: bold;
    height: 40px;
}

.registration .phone-note {
    color: #197A85;
}

.registration button.clear-phone {
    background: none;
    border: none;
    color: #197A85;
    width: 100%;
    text-align: right;
    outline: none !important;
}

    .registration button.clear-phone:hover {
        color: #197A85;
        opacity: 0.8;
    }

.registration .clear-phone i {
    font-size: 10px;
}

.registration .material-inverse .chosen-container-single .chosen-single div b {
    background: url(../images/chosen-sprite-inverse.png) no-repeat 0 7px;
}

.registration .material-inverse .chosen-container-single .chosen-single abbr {
    background: url(../images/chosen-sprite-inverse.png) -42px 1px no-repeat;
}

.registration #pledge {
    font-weight: 400;
    font-style: normal;
    color: #FFFFFF;
    float: right;
}

.registration .help-box {
    max-width: 991px;
    margin: 0 auto;
    display: block;
}

.registration .help-label {
    cursor: pointer;
    color: #197a85;
    margin-left: 5px;
    padding: 0;
    margin-bottom: 5px;
    opacity: 0.8;
}

.registration .help-label:hover {
    color: #197a85;
    opacity: 1.0;
}

.registration .account .account-help, .registration .pledge .account-help, .registration .terms .account-help {
    display: block !important;
}

.registration .steps .steps-help {
    display: block !important;
    margin-right: -15px !important;
}

.registration .material-group .chosen-search input[type=text] {
    color: black;
    background: lightgrey url(../images/chosen-search.png) no-repeat 100% 7px;
    padding: 0 5px;
    font-size: 14px;
}

.registration #dateofbirth .table > thead th:focus {
    outline: none !important;
    opacity: 0.9;
}

.registration .imperial input, .registration .imperial div {
    float: left;
}

.registration input#heightAnother {
    width: 50% !important;
}

@media all and (max-width:1366px) {
    body.registration {
        padding-top: 20px;
    }
}

@media all and (max-width:767px) {
    .registration .form-header {
        display: block;
        text-align: center;
    }

    .registration .form-title {
        margin-left: 0;
    }

    body.registration {
        padding-top: 0;
    }

    .registration .controll-buttons {
        margin: 20px 0;
    }

    .registration .bmi-box {
        margin: -30px auto 50px auto;
    }

    .registration button.clear-phone {
        width: auto;
        display: inline-block;
        float: left;
        margin-bottom: 15px;
        padding: 0;
        color: #197A85;
    }
}

@media all and (max-width:480px) {
    .registration label.Male, .registration label.Female {
        width: 140px;
        height: 140px;
    }

        .registration label.Male:hover, .registration label.Female:hover {
            background-position: center -140px;
        }

    .registration input[type="radio"]:checked + label {
        background-position: center -280px;
    }

    .registration .height-box, .registration .weight-box {
        width: 140px;
        height: 140px;
    }

    .registration .imperial input {
        font-size: 30px;
        /* max-width: 35px !important; */
    }

    .registration .imperial {
        margin-left: 0;
        bottom: 25px;
        width: 145px;
    }

    .registration .metric input {
        font-size: 28px;
        height: 30px;
    }

    .registration .metric {
        position: absolute;
        bottom: 10px;
    }

        .registration .metric div {
            font-size: 14px;
        }

    .registration .systolic-box {
        width: 140px;
        height: 140px;
    }

    .registration .diastolic-box {
        width: 140px;
        height: 140px;
    }
}