.btwidget_container {
    position: fixed;
    background-color: white;
    padding: 0px 0px 0px 0px;
}

.btwidget_header {
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 12pt;
    text-align: right;
}

.btwidget_heading {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 26px;
    padding: 10px;
    background: linear-gradient(180deg, #315a73 0%, #577891 100%);
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.closeButton {
    font-size: 14px;
    color: #FFF;
    margin-left: 15px;
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    padding: 10px 10px;
    cursor: pointer;
}

.btwidget_content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    color: #315a73;
    margin: 15px 15px 0px 15px;
}

.submitBtn input {
    zoom: 1;
    background: 0;
    font-size: 16px;
    border: 0;
    color: #fff;
    cursor: pointer;
}

.submitBtn input, .submitBtn a {
    padding: 11px 23px 6px 10px;
    height: 40px;
    z-index: 2;
    position: relative;
    cursor: pointer;
}

.submitBtn {
    display: inline-block;
    border: 0;
    font-size: 12px;
    color: #FFF;
    background-color: #0056a1;
    text-align: left;
    min-height: 22px;
    position: relative;
    -moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.33);
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.33);
    cursor: pointer;
}

    .submitBtn > i.submitIcon, .submitBtn > i.flightIcon {
        background-position: -5px -5px;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 0;
        right: -20px;
    }

    .submitBtn > .submitIcon {
        background-image: url('../../images/submit.png');
        background-repeat: no-repeat;
        display: block;
        cursor: pointer;
    }

.btwidget_error {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    color: #1A2E5A;
    text-align: center;
}

.btwidget_footer {
    background-color: #315a73;
    color: #fff;
    padding: 5px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    text-align: right;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

    .btwidget_footer a {
        color: #808080;
    }

.btchat-input {
    display: flex;
    padding: 10px;
}

    .btchat-input input {
        flex: 1;
        border: none;
        padding: 10px;
        border-radius: 5px;
        margin-right: 10px;
        border: 1px solid #ddd;
        font-family: Arial, Helvetica, sans-serif;
        color: #354e5f;
        background-color: #f1fde8;
    }

        .btchat-input input[type="submit"],
        .btchat-input input[type="button"] {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            background-color: #991a1f;
            color: #fff;
            cursor: pointer;
        }

            .btchat-input input[type="submit"]:hover,
            .btchat-input input[type="button"]:hover {
                background-color: #721216;
            }

.footer-separator {
    border-top: 1px solid #ddd;
    margin: 0 15px;
}

@media only screen and (max-width: 900px) {
    .btwidget_container {
        position: fixed;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        width: 90%;
    }

    .btwidget_footer {
        width: 100%;
        padding-right: 10%;
    }
}

@media only screen and (min-width: 901px) {
    .btwidget_container {
        position: fixed;
        width: 400px;
        border: 1px solid #ccc;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        -webkit-box-shadow: 5px 5px 5px 0px rgba(119, 119, 119, 1);
        -moz-box-shadow: 5px 5px 5px 0px rgba(119, 119, 119, 1);
        box-shadow: 5px 5px 5px 0px rgba(119, 119, 119, 1);
    }

    .btwidget_footer {
        -webkit-border-bottom-right-radius: 5px;
        -webkit-border-bottom-left-radius: 5px;
        -moz-border-radius-bottomright: 5px;
        -moz-border-radius-bottomleft: 5px;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
    }
}

/* contact us tab css style */
#contact-us-tab {
    position: fixed;
    background-color: #315a73;
    color: white;
    padding: 5px 15px 5px;
    font-weight: bold;
    text-align: center;
    z-index: 9999;
    cursor: pointer;
    transition: background-color 0.3s ease;
    top: 20%;
    right: 40px;
    transform: rotate(-90deg);
    transform-origin: right top;
    border-radius: 10px 10px 0 0;
}

    #contact-us-tab:hover {
        background-color: #417596;
    }

#contact-us-widget {
    display: none;
    position: fixed;
    top: 0%;
    right: 40px;
    background: white;
    border: 1px solid #ccc;
    padding: 0;
    width: 360px;
    z-index: 10000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 6px;
    max-height: 800px;
}

    #contact-us-widget .form-control {
        border: 1px solid #ced4da !important;
        background: none !important;
        box-shadow: none;
        border-radius: 0.25rem;
        padding: 0.375rem 0.75rem;
        transition: border-color 0.2s ease-in-out;
    }

        #contact-us-widget .form-control:focus {
            border-color: #80bdff;
            outline: 0;
            box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
        }

        #contact-us-widget .form-control.is-valid {
            border: 1px solid #28a745 !important;
        }

        #contact-us-widget .form-control.is-invalid {
            border: 1px solid #dc3545 !important;
        }



/*
    Temp to align with default and added overflow rule
*/

#airchatcontactus label {
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-bottom: 8px !important;
    margin-top: 0px !important;
}

#contact-us-widget .form-control {
    padding: 6px 12px 6px 12px !important;
    height: auto !important;
    font-size: 16px !important;
}

#contact-us-widget .form-group {
    margin-bottom: 16px !important;
}

#airchatcontactus [type=submit] {
    font-size: 13px !important;
    font-weight: 400 !important;
}

#airchatcontactus .btwidget_footer a {
    color: #fff;
}

#contact-us-tab {
    font-family: Arial !important;
    font-size: 16px !important;
}

#airchatcontactus .invalid-feedback{
    margin-top: 4px !important;
}

#contact-us-widget {
    overflow-y: auto !important;
}