﻿/* Smartphones (portrait and landscape) */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
}

/* Smartphones (landscape) */
@media only screen and (min-width : 321px) {
    .dataTables_wrapper {
        font-size: .9em;
    }
}

/* Smartphones (portrait) */
@media only screen and (max-width : 320px) {
}

@media only screen and (max-width : 991px) {
    .dataTables_wrapper {
        width: 100%;
        font-size: .9em;
        margin-bottom: 15px;
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }

    .h1, h2, h3, h4, h5, h6 {
        margin-top: 20px;
        width: 100%;
    }

    form {
        width: 100%;
    }

    .container-signin {
        width: 300px !important;
    }

    .container-signin .btn {
        width: 100%;
    }
}

/* iPads (portrait and landscape) */
@media only (max-device-width : 991) {
    .dataTables_wrapper {
        width: 100%;
        font-size: .9em;
        margin-bottom: 15px;
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }

    .h1, h2, h3, h4, h5, h6 {
        margin-top: 20px;
        width: 100%;
    }

    .btn {
        width: auto;
    }

    form {
        width: 100%;
    }

    .container-signin {
        width: 300px !important;
    }

    .container-signin .btn {
        width: 100%;
    }
}

/* iPads (landscape) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
}

/* iPads (portrait) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
}

/* iPad 3 (landscape) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
}

/* iPad 3 (portrait) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
}

/* Desktops and laptops  */
@media only screen and (min-width : 1224px) {
    .dataTables_wrapper {
        font-size: 1em;
    }
}

/* Large screens ----------- */
@media only screen and (min-width : 1824px) {
    .dataTables_wrapper {
        font-size: 1.2em;
    }
}

/* iPhone 4 ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
}
