﻿/*Mobile specific styles*/
@media only screen and (max-device-width: 767px), handheld {

    html {
        -webkit-text-size-adjust: none;
    }

    html, body {
        background: #fff;
        color: #000;
        margin: 0;
        font-size: 13px;
    }

    h1, h2, h3, h4, h5, h6 {
        font-weight: normal;
    }

    dl {
        width: 100%;
        overflow: hidden;
        padding: 0;
        margin: 0;
    }

    dt {
        float: left;
        width: 40%;
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: 5px;
        padding: 0;
    }

    dd {
        float: left;
        width: 60%;
        padding-left: 20px;
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: 5px;
    }

    hr {
        margin-top: 8px;
        margin-bottom: 8px;
        border-top: 1px solid #c3b4b4;
    }

    .form-group {
        margin-bottom: 8px;
    }

    .modal-body {
        max-height: 350px;
        padding: 15px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal {
        position: fixed;
        overflow-y: auto; /*Disables Scrollbar*/
        top: 25%;
        right: 3%;
        left: 3%;
        width: auto;
        margin: 0;
    }

    .navbar {
        font-size: 14px;
    }

    body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
        margin: 0px;
    }

    #user-def-grid dd {
        padding-left: 0px;
    }
}

/*iPhone5 screens and smaller*/
@media only screen and (max-device-width: 350px), handheld {

    html, body {
        background: #fff;
        color: #000;
        margin: 0;
        font-size: 12px;
    }

    select {
        width: auto !important;
    }
    dt {
        float: initial;
        width: 100%;
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        padding: 0;
    }

    dd {
        float: initial;
        width: 100%;
        padding-left: 0px;
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: 5px;
    }
}
