@font-face {
    font-family: 'proxima_nova_regular';
    src: url('/assets/font/ProximaNova/ProximaNova-Regular.ttf'), url('/assets/font/ProximaNova/ProximaNova-Regular.eot'); /* Removed leading "." I think it was causing font to not load */
}

#chat-frame {
    background-color: white;
    width: 416px;
    height: 500px;
    z-index: 10;
    border-radius: 0px 0px 14px 14px;
}

#chat-window {
    display: none;
    -webkit-overflow-scrolling: touch;
}

#chat-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    background-color:#7E394D ;
}

.toggle-icon {
    background-image: url("/assets/icons/toggle-icon.png"); /* Removed leading "." */
    background-repeat: no-repeat;
    background-size: cover;
    height: 25px;
    width: 25px;
    margin: auto 0px auto 0px;
}

.toggle-icon-open {
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipV;
    -ms-filter: "FlipV";
}

.close-text {
    font-size: 12px;
    font-weight: 300;
    margin: auto 0px auto 0px;
}

.btn_iconClose {
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin-right: -40px;
    margin-top: 8px;
    float: right;
}

.header-text {
    font-size: 16px;
    font-family: 'proxima_nova_regular' !important; /* Added !important to use custom font. */
    margin: 10px 0px 0px 0px;
    padding-left: 55px;
    color: #ffffff;
    font-weight: normal;
}

.item-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: #093552;
}

.link-icon {
    background-image: url("/assets/icons/link-icon.png"); /* Removed leading "." */
    background-repeat: no-repeat;
    background-size: cover;
    height: 24px;
    width: 30px;
    margin: 0px auto 8px auto;
}

#main-container {
    max-height: 100%;
    position: fixed;
    overflow: hidden;
    bottom: 0px;
    right: 20px;
    width: 416px;
    background: linear-gradient(90deg, #252525 0%, #313131 100%);
    color: white;
    font-size: 1.3rem;
    border-radius: 14px 14px 14px 14px;
    line-height: 1;
    transition: all .3s ease-out;
    cursor: pointer;
    margin-right: 1rem;
    z-index: 99999;
    margin-bottom: 70px;
}


.headerDown {
    width: 310px;
    height: 50px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-family: 'proxima_nova_regular' !important; /* Added !important to use custom font. */
    padding-top: 5px; 
}

.CTA {
    position: fixed;
    overflow: hidden;
    bottom: 0px;
    right: 20px;
    width: 293px;
    height: 52px;
    background-color: #7E394D;
    border-radius: 14px 14px 14px 14px;
    transition: all .3s ease-out;
    margin-right: 4.5rem;
    margin-bottom: 9px;
    z-index: 502;
    
}

.CTA_text {
    color: white;
    font-size: 15px;
    font-family: 'proxima_nova_regular' !important; /* Added !important to use custom font. */
    margin-left: 10px;
    line-height: 1;
    margin-top: -19px;
    font-weight: normal;
}

.CTA_text_newline {
    color: white;
    font-size: 15px;
    font-family: 'proxima_nova_regular' !important; /* Added !important to use custom font. */
    margin-left: 10px;
    line-height: 1;
    margin-top: 2px;
    font-weight: normal;
}

.cross_on_bot_icon {
    display: block;
    transform: rotate(45deg);
    font-size: 22px;
    margin: 0px -11px 0px 28px;
    cursor: pointer;
    color: white;
    margin-left: 181px;
    margin-top: 0px;
}

.CTA_text_container {
    margin-left: -163px;
    margin-top: 13px;
}

.CTA_text_container_close {
    margin-left: -163px;
}

.cross_on_close_icon {
    display: block;
    transform: rotate(45deg);
    font-size: 22px;
    margin: 0px -13px 0px 28px;
    cursor: pointer;
    color: white;
    margin-left: 173px;
    margin-top: -10px; /* Changed from -8px to -10px so it's not on top of letter. */
    position: relative;
    left: 90px;
    font-family: 'proxima_nova_regular' !important; /* Added to match font, Added !important to use custom font. */
}
.logo_img {
    height: 40px;
    width: 40px;
    float: left;
    padding-left: 8px;
}

.logo_img_down {
    height: 66px;
    width: 66px;
    float: left;
    padding-left: 16px;
    margin-top: -10px;
}

.bot-icon {
    height: 70px;
    width: 70px;
    position: fixed;
    overflow: hidden;
    bottom: 0px;
    right: 0px; /* Changed from 20px to 0px */
    color: white;
    font-size: 1.3rem;
    border-radius: 14px 14px 0px 0px;
    line-height: 1;
    transition: all .3s ease-out;
    cursor: pointer;
    z-index: 99999;
}


.headerUp {
    width: 100%;
    height: 41px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-family: 'proxima_nova_regular' !important; /* Added !important to use custom font. */
    font-size: 22px;
    padding-top: 5px;
}

span.sub_head {
    font-size: 10px;
    font-family: 'proxima_nova_regular' !important; /* Added !important to use custom font. */
    margin: 2px 0px 0px 55px;
    color: #ffffff;
    display: block;
}

.icon_up {
    width: 20px;
    margin-left: -30px;
}

@-moz-document url-prefix() {
    .icon_up {
        width: 20px;
        margin-left: -25px;
    }
    .btn_iconClose {
        margin-right: -35px;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .btn_iconClose {
        margin-right: -35px;
    }
    .icon_up {
        width: 24px;
        margin-left: 0px;
    }
}

.close_icon {
    float: right;
    width: 30px;
    margin-right: 30px;
    background: transparent;
    border: none;
    display: flex;
}





.icon_close {
    /* margin-top: 5px; */
    position: relative;
    right: 0px;
    height: 20px;
    cursor: pointer;
}

.minMax_close{
    position: relative;
    right: 10px;
    height: 20px;
    cursor: pointer;
}
.redHeader {
    height: 6px;
    background-color: #BB0000;
}

/* Responsive chat for 200% and small screens */

#main-container.open {
    width: 100%;
    height: 100%;
    margin: 0;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
}

@media only screen and (max-width: 959px) {
    #main-container.open {
        width: 100%;
        height: 100%;
        margin: 0;
        right: 0;
        left: 0;
        top: 0;
        bottom: 0;
    }
    /* #main-container #chat-wrapper, #main-container #chat-wrapper #chat-window, #main-container #chat-wrapper #chat-window #chat-frame {
        width: 100%;
        height: 100%;
    } */
    
}

/* Align backdrop to the left so it doesn't conflict with Ava chat */
#backTop {
        left: 40px !important;
        bottom: 20px !important;
}

