﻿/* Mobile Fix for Android/Samsung Chrome */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-width: 320px;
}

/* Force mobile layout on screens 768px and below */
@media only screen and (max-width: 768px) {
    body {
        font-size: 16px !important;
        min-width: 320px !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #home {
        padding: 30px 0 !important;
    }

        #home h1.size-50 {
            font-size: 28px !important;
            line-height: 1.3 !important;
        }

        #home .lead.size-30 {
            font-size: 18px !important;
            line-height: 1.4 !important;
        }

    .margin-top-30 .row {
        margin-top: 15px !important;
    }

    .col-xs-12.col-sm-12.col-md-4 {
        width: 100% !important;
        float: none !important;
        margin-bottom: 15px !important;
    }

    .btn-lg {
        padding: 12px 20px !important;
        font-size: 16px !important;
        width: 100% !important;
        white-space: normal !important;
        display: block !important;
    }

    .margin-top-100 {
        margin-top: 40px !important;
    }

        .margin-top-100 h3 {
            font-size: 22px !important;
            margin-top: 20px !important;
        }

        .margin-top-100 p,
        .margin-top-100 li {
            font-size: 15px !important;
            line-height: 1.6 !important;
        }

    .row.margin-top-100 .col-xs-12 {
        width: 100% !important;
        float: none !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .row.margin-top-100 .col-sm-8,
    .row.margin-top-100 .col-sm-4 {
        width: 100% !important;
        float: none !important;
    }

    picture img,
    .img-fluid {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    footer .copyright {
        text-align: center !important;
        font-size: 14px !important;
    }

        footer .copyright .pull-right {
            float: none !important;
            text-align: center !important;
            margin-bottom: 10px !important;
            padding: 0 !important;
        }

        footer .copyright ul {
            padding-left: 0 !important;
        }

            footer .copyright ul li {
                display: block !important;
                margin: 5px 0 !important;
                font-size: 13px !important;
            }

                footer .copyright ul li:nth-child(even) {
                    display: none !important;
                }

                footer .copyright ul li a {
                    word-break: break-word !important;
                }
}

/* Extra small devices */
@media only screen and (max-width: 576px) {
    #home h1.size-50 {
        font-size: 24px !important;
    }

    #home .lead.size-30 {
        font-size: 16px !important;
    }

    .btn-lg {
        font-size: 15px !important;
        padding: 10px 15px !important;
    }
}

/* Specific fix for Samsung Internet Browser */
@supports (-webkit-appearance:none) {
    @media screen and (max-width: 768px) {
        body {
            zoom: 1 !important;
            -moz-transform: scale(1) !important;
            -webkit-transform: scale(1) !important;
            transform: scale(1) !important;
        }
    }
}
