md-card {
    background-color: #e62937;
    color: #fff;
}
.popup {
    padding: 10px;
    border-bottom: 1px solid #e1e1e1;
}

.popup:last-child {
    border-bottom: none;
}

md-toolbar:not(.md-menu-toolbar) {
    background-color: white;
    color: black;
    border-bottom: 1px solid #c7c6c6;
}

md-tabs.md-default-theme md-ink-bar, md-tabs md-ink-bar {
    background: #005297;
}

md-tabs .md-tab.md-active {
    color: #005297;
}

.md-primary {
    float: right;
}

md-input-container:not(.md-input-invalid).md-input-focused .md-input {
    border-color: #54b82d;
}

md-input-container:not(.md-input-invalid).md-input-focused label {
    color: #54b82d;
}

.main-tab-two {
    overflow-y: auto;
    padding: 8px;
}

.md-button {
    white-space: normal;
    letter-spacing: 0em;
    text-transform: none;
    text-align: left;
    line-height: 20px;
    margin: 0px;
}

md-dialog .md-dialog-content {
    padding: 20px 15px 20px 15px;
}

hr {
    margin-top: 10px;
}

footer > md-toolbar:not(.md-menu-toolbar) {
    border-bottom: none;
}

.switch_dx {
    padding-left: 20px;
    margin: 0 0 10px 0;
}

.switch_text {
    min-height: 50px;
    padding-bottom: 20px;
    color: rgba(0,0,0,0.38);
    line-height: 1.42857143;
    font-weight: 400;
}

md-switch.md-default-theme.md-checked.md-primary .md-bar, md-switch.md-checked.md-primary .md-bar {
    background-color: rgba(84,184,45,0.5);
}

 md-switch.md-checked.md-primary .md-thumb {
     background-color: rgb(84,184,45);
 }

 md-card {
    background-color: #e62937;
    color: #fff;
 }

 md-switch .md-bar {
     width: 39px;
     height: 17px;
 }

 md-switch .md-thumb {
     height: 24px;
     width: 24px;
 }

/* iPhone 5 */
label, .md-button  {
    font-size: 15px;
}

.number_points {
    font-size: 25px;
}

.points {
    font-size: 11px;
}

.points_risk {
    font-size: 15px;
    padding: 9px 0 0 15px;
}

.risk_box {
    border-left: 1px solid white;
}

.risk_info {
    font-size: 15px;
    color: #fff;
}

.md-toolbar-tools h2 {
    font-size: 18px;
}

@media only screen /* iPhone 6 */
  and (min-device-width: 375px)
  and (max-device-width: 667px)
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 2)
{
    label, .md-button  {
        font-size: 17px;
    }

    .number_points {
        font-size: 27px;
    }

    .points {
        font-size: 13px;
    }

    .points_risk {
        font-size: 17px;
        padding: 9px 0 0 15px;
    }

    .risk_box {
        border-left: 1px solid white;
    }

    .risk_info {
        font-size: 17px;
        color: #fff;
    }

    .md-toolbar-tools h2 {
        font-size: 20px;
    }
}

@media only screen /* iPhone 6plus */
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 3)
{
    label, .md-button  {
        font-size: 19px;
    }

    .number_points {
        font-size: 29px;
    }

    .points {
        font-size: 15px;
    }

    .points_risk {
        font-size: 19px;
        padding: 9px 0 0 15px;
    }

    .risk_box {
        border-left: 1px solid white;
    }

    .risk_info {
        font-size: 19px;
        color: #fff;
    }

    .md-toolbar-tools h2 {
        font-size: 22px;
    }
}

 @media only screen  /*iPad */
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2)
{
    label, .md-button  {
        font-size: 20px;
    }

    .number_points {
        font-size: 30px;
    }

    .points {
        font-size: 16px;
    }

    .points_risk {
        font-size: 20px;
        padding: 11px 0 0 15px;
    }

    .risk_box {
        border-left: 1px solid white;
    }

    .risk_info {
        font-size: 20px;
        color: #fff;
    }

    .md-toolbar-tools h2 {
        font-size: 23px;
    }
}

@media only screen  /*iPad Pro */
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2)
{
    label, .md-button  {
        font-size: 20px;
    }

    .number_points {
        font-size: 30px;
    }

    .points {
        font-size: 16px;
    }

    .points_risk {
        font-size: 20px;
        padding: 11px 0 0 15px;
    }

    .risk_box {
        border-left: 1px solid white;
    }

    .risk_info {
        font-size: 20px;
        color: #fff;
    }

    .md-toolbar-tools h2 {
        font-size: 23px;
    }
}  