﻿

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media all and (max-width: 767px) {
    :root {
        font-size: 14px;
    }

    .mobile-hide {
        display: none !important;
    }

    .form-control, .RadInput, .sub-form .form-control, .sub-form .RadInput {
        height: 3rem !important;
        letter-spacing: 0.15px;
        line-height: 1.5rem;
    }

    .input-group-text {
        height: 3rem;
        line-height: 2rem;
    }

    .RadInput {
        width: 100% !important;
    }

        .RadInput input, .sub-form .RadInput input {
            height: 3rem !important;
            /*font-size: 14px !important;*/
        }

    .main-footer .btn-link, .main-footer .btn-tcas-outline {
        font-size: 12px !important;
        line-height: 12px !important;
    }

    .horizontal-form .form-group .input-label {
        /*  width: 100%;
        text-align: left;*/
    }

    .horizontal-form .form-group .input-control {
        /* width: 100%;*/
    }


    .grid-item-with-label {
        border: none !important;
        display: block;
        font-size: 15px !important;
        padding-bottom: 0px !important;
        padding-top: 0px !important;
        text-align: left !important;
        vertical-align: middle;
        margin-bottom: 10px;
    }

        .grid-item-with-label:before {
            content: attr(data-label);
            float: left;
            text-transform: uppercase;
            font-weight: bold;
            width: 40%;
            text-align: left;
            height: 100%;
        }
}

@media screen and (max-width: 550px) {
    .grid-header {
        width: 100% !important;
    }

    .grid-header, .grid-side-bar {
        font-size: 12px;
    }

    .grid-item-with-label {
        font-size: 12px !important;
    }

        .grid-item-with-label:before {
            width: 60%;
        }

    .grid-item i {
        font-size: 26px;
    }


    .tcas-table {
        border: 0;
        width: 100% !important;
    }

        .tcas-table caption {
            font-size: 1.3em;
        }

        .tcas-table th {
            display: none;
        }

        .tcas-table tr {
            border: none !important;
        }

        .tcas-table td {
            border: none !important;
            display: block;
            font-size: 15px !important;
            padding-bottom: 0px !important;
            padding-top: 0px !important;
            padding-left: 0px !important;
            text-align: left !important;
            height: 40px;
            /*line-height: 40px;*/
            vertical-align: middle;
        }

            .tcas-table td span {
                font-size: 15px !important;
            }

            .tcas-table td:before {
                content: attr(data-label);
                float: left;
                font-size: 15px;
                text-transform: uppercase;
                font-weight: bold;
                padding: 0px 13px 0px;
                width: 50%;
                text-align: left;
                margin-right: 10px;
                height: 100%;
                background: var(--tcas-theme-header-bg) !important;
                color: var(--tcas-theme-header-font-color) !important;
            }

            .tcas-table td:first-child {
                padding-top: 5px !important;
            }

        .tcas-table .mobile-only {
            display: block;
        }
}

@media all and (max-width: 500px) {
    .grid-item-with-label:before {
        width: 65%;
    }

    .grid-item i {
        font-size: 20px;
    }
}

@media all and (max-width: 370px) {
}


@media (max-width: 991.98px) {
}

@media (max-width: 1199.98px) {
}

@media (min-width: 992px) {
}

@media (min-width:768px) {
}

@media (min-width: 576px) {
    .stickytop {
        position: sticky !important;
    }

    .horizontal-form textarea.form-control {
        height: 100% !important;
    }

    .horizontal-form .form-group .input-label {
        flex: 0 0 auto;
        width: 33.33333333%;
        text-align: right;
        padding-top: 0.5rem;
    }

    .horizontal-form .form-group .input-control {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .horizontal-form .form-group .input-label.input-label-lg {
        width: 41.66666667%;
    }

    .horizontal-form .form-group .input-control.input-control-sm {
        width: 58.33333333%;
    }

    .mw-800 {
        --bs-modal-width: 800px;
    }
}
