﻿.material-form {
    background-color: white;
    padding: 0 15px 15px 15px;
    color: black;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: none;
    border-radius: 0;
}

.material-group input, .material-group select, .material-group textarea {
    border-bottom: 1px solid #197A85;
    color: black;
}

.material-group .ng-empty {
    border-bottom: 1px solid #197A85;
}

.material-group label {
    color: #197A85;
}

.form-note {
    color: #197A85;
}

.material-group input:focus ~ label, .material-group input.ng-not-empty ~ label, .material-group select:focus ~ label, .material-group select.ng-not-empty ~ label {
    color: #197A85;
}

input#middlename, input#firstname, input#lastname {
    text-transform: capitalize;
}

.material-group .chosen-container-single .chosen-single {
    border-bottom: 1px solid #197A85;
    color: black;
}

.material-group .ng-empty + .chosen-container-single .chosen-single {
    border-bottom: 1px solid #197A85;
}

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;
}

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;
}

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;
}

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;
}

.main-container {
    background: white;
    /*max-width:991px;*/
    margin:0 auto;
}

.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;
}*/

.form-header img {
    max-width: 152px;
    height: 50px;
}

.form-title {
    width: 100%;
    text-align: center;
    margin-left: -160px;
    font-size: 18px;
    font-weight: normal;
}

.paragraf-scroll {
    border: none;
    border-radius: 0;
    padding: 15px;
    margin-left: 0;
    margin-right: 0;
    overflow-y: auto;
    max-height: 200px;
    background: whitesmoke;
}

.subtitle {
    padding: 0;
    text-transform: uppercase;
}

.padding-30 {
    padding:30px !important;
}

.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;
}

.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;
}

.material-form.material-inverse input[type="checkbox"]:checked + label:before {
    content: "\e876";
    font-family: material icons;
    background: #197A85;
    color: white;
    font-size: 20px;
    line-height: 21px;
}

.meter {
    width: 100%;
    background: #eaeaea;
    height: 5px;
    margin: 0 15px;
}

.meter .step {
    height:5px;
    width:0;
    background: #197A85;
    transition: all .5s linear;
}

.meter .step.per20 {
    width:20%;
}
.meter .step.per25 {
    width:25%;
}
.meter .step.per33 {
	width:33%;
}
.meter .step.per40 {
    width:40%;
}
.meter .step.per50 {
    width:50%;
}
.meter .step.per60 {
    width:60%;
}
.meter .step.per66 {
	width: 66%;
}
.meter .step.per75 {
    width:75%;
}
.meter .step.per80 {
    width:80%;
}
.meter .step.per100 {
    width:100%;
}

.tab-content {
    min-height: 400px;
    overflow-x: visible;
}

.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*/
.tab-content h2 {
    color: #197A85;
    text-transform: none;
    font-size: 24px;
    font-weight: 400;
    margin: 30px 0 30px 0;
}

.no-text-transform {
    text-transform: none !important;
}

.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;
}

label.Male {
    display: block;
    width: 180px;
    height: 180px;
    padding: 0;
    background: url(../images/account/gender-male.png) no-repeat;
    background-size: 100% auto;
}

label.Female {
    display: block;
    width: 180px;
    height: 180px;
    padding: 0;
    background: url(../images/account/gender-female.png) no-repeat;
    background-size: 100% auto;
}

label.Male:hover, label.Female:hover {
    background-position: center -180px;
}

input[type="radio"]:checked+label {
    background-position: center -360px;
}

label.Male:before, label.Female:before {
    display: none;
}

.center-input-box {
    max-width: 400px;
    margin: 50px auto;
}

.material-inverse .datepicker-dd .datetimepicker, .material-inverse .datepicker-dd .datetimepicker .table td, .material-inverse .datepicker-dd .datetimepicker .table th {
    color:black;
	outline: none;
}

.material-inverse .datepicker-dd .datetimepicker .table td .past, .material-inverse .datepicker-dd .datetimepicker .table td .future {
    color: #999;
}

.material-inverse .datepicker-dd .datetimepicker .day.future {
    color: darkgrey;
}

.material-inverse .datepicker-dd .datetimepicker .day.past {
    color: darkgrey;
}

#dateofbirth {
    background: whitesmoke;
    padding: 15px;
    width: 100%;
    max-width: 400px;
    height: 270px;
    margin: 0;
    border: none;
    border-radius: 0;
    overflow:hidden;
}

#dateofbirth .table>thead:first-child>tr:first-child>th {
    border-top: 0;
    background: #197A85;
    color: white;
    border-radius: 0;
}

#dateofbirth .table>thead:first-child>tr:last-child>th {
    border-top: 0;
    background: lightgrey;
    color: #197A85;
    border-radius: 0;
}

#dateofbirth th.switch.ng-binding {
    background: white !important;
    color: #197A85 !important;
}

#dateofbirth.datetimepicker span {
    background: white;
    border-radius: 0;
}

#dateofbirth.datetimepicker span.active {
    background: #197A85;
}

.height-box {
    width:180px;
    height: 180px;
    background: url(../images/account/height.png) no-repeat center;
    background-size: 100% auto;
    position: relative;
}

.weight-box {
    width:180px;
    height: 180px;
    background: url(../images/account/weight.png) no-repeat center;
    background-size: 100% auto;
    position: relative;
}

.systolic-box {
    width:180px;
    height: 180px;
    background: url(../images/account/systolic.png) no-repeat center;
    background-size: 100% auto;
    position: relative;
}

.diastolic-box {
    width:180px;
    height: 180px;
    background: url(../images/account/diastolic.png) no-repeat center;
    background-size: 100% auto;
    position: relative;
}

.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;
}

.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;
}

.controll-buttons {
    text-align: center;
    margin: 20px;
}

.controll-buttons button:active {
    background: #025590;
    box-shadow: none;
    outline: none;
}

.controll-buttons button:focus {
    outline: none;
}

.metric input {
    background: none !important;
    border: none;
    text-align: center;
    color: #197A85;
    font-size: 40px;
    width: 100%;
    outline: none !important;
    height: 50px;
}

.metric div {
    font-size: 18px;
    color: #898989;
    text-align: center;
    width: 100%;
    font-weight: 400;
}

.imperial div.short {
    font-size: 30px;
    color: #898989;
    text-align: center;
    width: 5px;
    font-weight: bold;
}

.metric {
    position: absolute;
    bottom: 20px;
}

.imperial {
    position: absolute;
    bottom: 40px;
}

.imperial {
    /* 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: 15px;
}

.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;
}

.small-font input {
    font-size: 34px;
    height: 40px;
}

.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;
}

.switch-metric label:before {
    display: none !important;
}

.switch-metric label {
    padding: 5px 10px !important;
    /* border: 1px solid blue !important; */
    width: 100px;
    background: #eaeaea;
    text-align: center;
    border-right: 1px solid lightgrey;
}

.switch-metric label.no-border {
     border:none;
}

.switch-metric input[type="radio"]:checked+label {
     background:#197A85;
     color:white !important;
}

.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;
}

.bmi-box input {
   background: none;
   border: none;
   color: #197A85;
   font-size:20px;
}

.switch-metric .radio:first-child label {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.switch-metric .radio:last-child label {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border: none;
}

form .nav-tabs {
    display: none;
}

.material-group label {
    color: #999999;
}

.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;
}

.ng-invalid.ng-dirty {
    border-color: #197A85 !important;
}

.ng-invalid.ng-dirty ~ label {
    color: #197A85 !important;
}

.ng-invalid.ng-dirty ~ .bar:after, .ng-invalid.ng-dirty:focus ~ .bar:after {
    background: #197A85 !important;
}

.ng-invalid.ng-dirty.ng-touched, .ng-invalid.ng-touched {
    border-color: #f77777 !important;
}

.ng-invalid.ng-dirty.ng-touched ~ label, .ng-invalid.ng-touched ~ label {
    color: #f77777 !important;
}

.ng-invalid.ng-dirty.ng-touched ~ .bar:after, .ng-invalid.ng-dirty.ng-touched:focus ~ .bar:after, .ng-invalid.ng-touched ~ .bar:after, .ng-invalid.ng-touched:focus ~ .bar:after {
    background: #f77777 !important;
}

.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;
}

.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;
}

button.clear-phone {
    background: none;
    border: none;
    color: #9fc7eb;
    width: 100%;
    text-align: right;
    outline:none!important;
}

button.clear-phone:hover {
    color: #197A85;
}

.clear-phone i {
    font-size:10px;
}

.material-inverse .chosen-container-single .chosen-single div b {
    background: url(../images/chosen-sprite-inverse.png) no-repeat 0 7px;
}

.material-inverse .chosen-container-single .chosen-single abbr {
    background: url(../images/chosen-sprite-inverse.png) -42px 1px no-repeat;
}

#pledge {
    font-weight: 400;
    font-style: normal;
    color: #FFFFFF;
    float: right;
}

.help-box {
    max-width:991px;
    margin:0 auto;
}

.help-label {
    display:none !important;
    cursor: pointer;
    color:#539ed4;
    margin-left:5px;
    padding:0;
    margin-bottom:5px;
}

.account .account-help, .pledge .account-help, .terms .account-help {
    display:block !important;
}

.steps .steps-help {
    display:block !important;
    margin-right: -15px !important;
}

.related-members {
	max-width: 100% !important;
}

.material-form.material-inverse.related-members {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.related-members h2 {
    color: #197A85;
    text-transform: none;
    font-size: 20px;
}

.related-members .material-group .ng-empty + .chosen-container-single .chosen-single {
    border-bottom: 1px solid #197A85;
}

.related-members .material-group .chosen-container-single .chosen-single {
    color: black;
	border-bottom: 1px solid #197A85;
}

.center-input-box {
    max-width: 400px;
    margin: 50px auto;
}

.related-members .datetimepicker span {
    color: black;
}

.related-members .datetimepicker .past, .related-members .datetimepicker .future {
    color: #999;
}

.related-members .datetimepicker .table td, .related-members .datetimepicker .table th {
    color: black;
}

.related-members .datetimepicker .table td.past, .related-members .datetimepicker .table td.future {
    color: #999;
}

.related-members #dateofbirth.datetimepicker span.active {
    color: white;
}

.imperial input, .imperial div {
    float: left;
}

input#heightAnother {
    width: 50% !important;
}

.datetimepicker .past, .datetimepicker .future {
    color: #999;
}

#dateofbirth .table>thead:first-child>tr:first-child>th:focus {
   outline:none;
}

@media all and (max-width:1366px) {
    body {
        /* padding-top: 20px; */
    }
}

@media all and (max-width:767px) {
.form-header {
    display: block;
    text-align: center;
}
.form-title {
    margin-left: 0;
}
body {
        padding-top: 0;
    }
.controll-buttons {
    margin: 20px 0;
}
.bmi-box {
    margin: -30px auto 50px auto;
}

button.clear-phone {
    width: auto;
    display: inline-block;
    float: left;
    margin-bottom: 15px;
    padding: 0;
    color:#197A85;
}
}

@media all and (max-width:480px) {
    label.Male, label.Female {
        width: 140px;
        height: 140px;
    }
    label.Male:hover, label.Female:hover {
        background-position: center -140px;
    }

    input[type="radio"]:checked+label {
        background-position: center -280px;
    }
    .height-box, .weight-box {
        width: 140px;
        height: 140px;
    }
    .imperial input {
    font-size: 30px;
    max-width: 60px !important;
    padding: 0;
    }
    .imperial {
    margin-left: 0;
    }
    .imperial {
        bottom: 25px;
    }
    .metric input {
    font-size: 28px;
    padding-top: 20px;
    }
    .metric {
    position: absolute;
    bottom: 10px;
    }
    .metric div {
    font-size: 14px;
    }
    .systolic-box {
        width: 140px;
        height: 140px;
    }
    .diastolic-box {
        width: 140px;
        height: 140px;
    }
}