/*--------------------
Chat
--------------------*/
.chat {
    position: relative;
    width: 100%;
    z-index: 999999;
    overflow: hidden;
    /*border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;*/
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

/*--------------------
Messages
--------------------*/
.messages {
    flex: 1 1 auto;
    /*  color: rgba(255, 255, 255, .5);
  color: #fff;*/
    overflow: hidden;
    position: relative;
    width: 100%;
}

.chat-history {
    height: 55vh;
    padding: 8px 24px;
    overflow-y: scroll;
    background: white;
}

.chat-history h4:before {
    background: #1a8a34;
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 8px;
    margin: 0 8px 0 0;
    width: 8px;
}

.chat-history h4 {
    font-size: 12px;
}

.chat-history h5 {
    font-size: 10px;
}

/*--------------------
Message Content
--------------------*/
.incoming_msg,.outgoing_msg{
  clear:both;
  width:88%;
  display: inline-block;
}
.incoming_msg{
  float:right;
}
.incoming_msg_img {
    display: inline-block;
    width: 6%;
}

.incoming_msg_img img {
    width: 32px;
    float:right;
}

.received_msg {
    display: inline-block;
    padding: 0 0 0 10px;
    vertical-align: top;
    float:left;
    text-align:left;
    width: 92%;
}

.received_msg p {
  border: solid 2px #0465ac;
  border-radius: 12px 15px 15px 0;
  font-size: 14px;
  margin: 0;
  color: #fff;
  padding: 5px 10px 5px 12px;
  width: 100%;
}

.time_date {
    color: #747474;
    display: block;
    font-size: 12px;
    margin: 8px 0 0;
}

.mesgs {
    float: left;
    padding: 30px 15px 0 25px;
    width: 70%;
}

.sent_msg p {
  border: solid 2px #ebebeb;
  border-radius: 0 15px 15px 15px;
  color: #646464;
  font-size: 14px;
  margin: 0;
  padding: 5px 10px 5px 12px;
  width: 100%;
}

.outgoing_msg {
    float:left;
    text-align:left;
    overflow: hidden;
    margin: 13px 0 13px;
}

/*--------------------
Message Box
--------------------*/
.message-box {
    flex: 0 1 42px;
    width: 95%;
    background: #fff;
    margin: 2px auto;
    padding: 10px;
    position: relative;
}

.message-box textarea:focus:-webkit-placeholder {
    color: transparent;
}

.avenue-messenger {
    opacity: 1;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    margin: auto;
    z-index: 999999;
    -webkit-transition: 0.3s all ease-out 0.1s, transform 0.2s ease-in;
    -moz-transition: 0.3s all ease-out 0.1s, transform 0.2s ease-in;
}

.avenue-messenger header {
    background: hsl(249, 33%, 46%);
    /*border-radius: 5px 5px 0 0;*/
    color: #fff;

    padding: 10px 15px;
}

.avenue-messenger header img {
    max-width: 180px;
}

.avenue-messenger div {
    font-size: 14px;
    color: #232323;
}

.right-chat {
    text-align: right;
    color: white;
    cursor: pointer;
}

.icon_close,
.icon_minim {
    color: #fff;
    cursor: pointer;
    margin-left: 5px;
}

@media only screen and (max-device-width: 667px),
screen and (max-width: 450px) {
    .avenue-messenger {
        z-index: 2147483001 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        border-radius: 0 !important;
        background: #fff;
    }

    .chat {
        border-radius: 0 !important;
        max-height: initial !important;
    }
}

@media only screen and (min-device-width: 667px) {
    div.half {
        margin: auto;
        width: 80px;
        background-color: #fff;
        border-top-left-radius: 60px;
        border-top-right-radius: 60px;
        border-bottom: 0;
        box-shadow: 1px 4px 20px rgba(22, 20, 19, 0.6);
        -webkit-box-shadow: 1px 4px 20px rgba(22, 20, 19, 0.6);
        -moz-box-shadow: 1px 4px 20px rgba(22, 20, 19, 0.6);
    }
}

/*
Css Temp
*/
.full-width-image {
    width: 100%;
    position: relative;
    z-index: 5;
}

.full-width-image img {
    width: 100%;
}

.ai_header_navigation,
.ai_header_navigation * {
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

.ai_header_navigation {
    background: rgba(0, 0, 0, 0.65);
    z-index: 50;
    width: 100%;
}

.ai_header_navigation.affix-top {
    position: fixed;
    top: 0;
}

.ai_header_navigation.affix-top.affix-none {
    position: initial;
}

.ai_header_navigation .navbar-brand img {
    padding: 0;
}

.ai_header_navigation .toolbar {
    padding: 0;
    color: #fff;
    min-height: 30px;
    position: relative;
    z-index: 51;
    background: rgba(0, 0, 0, 0.2);
    display: block;
}

.ai_header_navigation .toolbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai_header_navigation .toolbar ul li {
    float: left;
    margin-right: 22px;
    color: #929596;
    font-weight: 800;
    line-height: 30px;
}

.ai_header_navigation .toolbar ul li:last-child {
    margin: 0;
}

.ai_header_navigation .toolbar ul li a {
    color: #929596;
    font-size: 1rem;
    line-height: 30px;
    font-weight: 600;
    text-transform: uppercase;
}

.ai_header_navigation ul li a:hover,
.ai_header_navigation ul li:hover i.fa,
.ai_header_navigation ul li:hover i.glyphicon {
    color: #FFF;
    text-decoration: none;
    outline: none;
}

.ai_header_navigation .toolbar ul li .freycon-ms-browser svg path {
    fill: #929596
}

.ai_header_navigation ul li:hover .freycon-ms-browser svg path {
    fill: #ffffff;
}

.ai_header_navigation .toolbar_shadow {
    background-image: url(includes/plugins/widgets/images/header_navigation/toolbar_shadow.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 21px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 30px;
    z-index: -50;
}

.ai_header_navigation .header_shadow {
    background-image: url(includes/plugins/widgets/images/header_navigation/header_shadow.png);
    background-repeat: no-repeat;
    background-size: contain;
    padding-bottom: 21px;
    margin-bottom: -21px;
}

.ai_header_navigation .bottom-header .navbar {
    margin: 0;
    padding: 0;
}

.ai_header_navigation .navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: center center / 100% 100% no-repeat;
}

.ai_header_navigation .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(146, 149, 150, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.ai_header_navigation .navbar-toggler {
    background: transparent;
    border: 1px solid #929596;
}

.ai_header_navigation navbar-toggler:hover {
    border-color: #fff;
    -moz-box-shadow: 2px 2px 5px #fff;
    -webkit-box-shadow: 2px 2px 5px #fff;
    box-shadow: 2px 2px 5px rgba(255, 255, 255, .5);
}

.ai_header_navigation navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#fff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.ai_header_navigation .bottom-header .navbar-nav>.active>a,
.ai_header_navigation .bottom-header .navbar-nav>.active>a:hover,
.ai_header_navigation .bottom-header .navbar-nav>.active>a:focus {
    background-color: #c7081b;
    color: #fff;
}

.ai_header_navigation .bottom-header .navbar-nav>li>a {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    line-height: 25px;
    padding: 25px 10px;
}

.ai_header_navigation .bottom-header .navbar-nav a {
    color: #fff;
}

.ai_header_navigation .navbar-nav>li>.dropdown-menu {
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    right: auto;
    margin-left: 0;
    font-weight: 400;
}

.ai_header_navigation .navbar-nav .dropdown-menu {
    background: rgba(0, 0, 0, 0.65);
}

/* For root level background color on hover */
.ai_header_navigation .bottom-header .navbar-nav a:hover {
    background-color: #c7081b;
}

.ai_header_navigation .navbar-nav>li>.dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.ai_header_navigation.admin_bar {
    top: 40px !important;
}

.ai_header_navigation.affix.admin_bar {
    top: 10px !important;
}

.ai_header_navigation .bottom-header .navbar-brand {
    height: 75px;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.ai_header_navigation .bottom-header .navbar-brand img {
    max-height: 70px;
    padding: 0;
    margin: 2px 5px;
}

.ai_header_navigation .pull-right {
    float: right;
}

.ai_header_navigation i {
    background: #929596;
}

.ai_header_navigation a:hover i {
    background: #fff;
}

.ai_header_navigation i {
    position: relative;
    top: 4px;
}

.ai_header_navigation.affix {
    position: fixed;
    top: -32px;
}

.ai_header_navigation nav img {
    max-width: initial;
}

@media (max-width: 991px) {
    .ai_header_navigation .bottom-header .navbar-nav>li>a {
        padding: .5rem 1rem;
    }

    .ai_header_navigation .bottom-header .navbar {
        padding: 0;
    }

    .ai_header_navigation .navbar-nav .dropdown:hover .dropdown-menu a {
        padding: .5rem 1rem;
    }

    .ai_header_navigation .caret-right {
        margin-left: 2px;
        vertical-align: middle;
        border-top: 4px solid !important;
        border-right: 4px solid transparent !important;
        border-left: 4px solid transparent !important;
        position: unset !important;
    }

    .ai_header_navigation .bottom-header .navbar-brand {
        height: auto;
    }

    .ai_header_navigation .bottom-header .navbar-brand img {
        max-height: 50px;
        margin-top: .25rem;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .ai_header_navigation.affix .bottom-header .navbar-brand {
        height: auto;
    }

    .ai_header_navigation.affix .bottom-header .navbar-brand img {
        max-height: 50px;
        margin-top: .25rem;
        padding: 0;
    }
}

.ai_header_navigation .locations_menu {
    padding: 0;
}

.ai_header_navigation .locations_menu .nav-link {
    padding: 0 1.5rem 0 1rem;
    line-height: 31px;
}

.ai_header_navigation .locations_menu .dropdown-menu {
    position: absolute;
    left: auto !important;
    right: 0 !important;
    white-space: nowrap;
}

.ai_header_navigation .locations_menu .dropdown-menu li {
    width: 100%;
    display: block;
    border-bottom: 1px solid #ccc;
}

.ai_header_navigation .locations_menu .dropdown-menu li:last-of-type {
    border: 0;
}

.ai_header_navigation .locations_menu div,
.ai_header_navigation .company_info div {
    float: left;
    margin-right: .5rem;
}

@media (max-width: 429px) {
    .ai_header_navigation .locations_menu .dropdown-menu {
        white-space: normal;
    }

    .ai_header_navigation .locations_menu .dropdown-menu li {
        width: calc(100vw - 55px);
    }
}

@media (max-width: 479px) {
    .ai_header_navigation .toolbar ul li {
        margin-right: 0;
    }
}
