/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


/*My CSS*/

/****************************************************/
/* horizental scroll hide during animation */
/***************************************************/
.brx-body {
    overflow-x: hidden !important;
}

.brxe-logo img {
    object-fit: contain;
}

ul#menu-main-menu-1>li:first-child>a {
    background-image: url(images/logo-white.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 15px;
    color: transparent;
    /* margin: 20px 0; */
    /* background-size: auto 80%; */
}

#brxe-jbxmqx i {
    display: none;
}





/* assistance */
.asist-wrpr {
    position: fixed;
    bottom: 20px;
    right: 40px;
    z-index: 999;
    font-family: Montserrat, sans-serif !important;
    font-size: 14px;
}

#asis-opener {
    padding: 16px;
    font-size: 0;
    color: #002c5b;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 1px 3px 0px #002c5b;
    transition: all 0.6s ease;
}

#asis-opener:hover,
#asis-opener:focus {
    font-size: 16px;
    padding: 16px 24px;
}

#asis-opener img {
    width: 20px;
}

.dflex {
    display: flex;
}

.asist-win {
    position: absolute;
    bottom: 64px;
    /* background: #fff; */
    width: 290px;
    right: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px -5px #000;
    overflow: hidden;
    height: calc(100vh - 200px);
    min-height: 50vh;
    flex-direction: column;
    justify-content: space-between;
    display: none;
    max-height: 700px;
}


.asis-hd-wrpr {
    gap: 10px;
    line-height: 5px;
}

.asis-head {
    justify-content: space-between;
    padding: 10px;
    background: #002b5c;
    color: #fff;
}

.asis-hd-wrpr img {
    width: 25px;
    margin-top: 4px;
}

.asis-body {
    height: calc(100% - 47px);
    background: #f8f6f6;
    flex-direction: column;
    justify-content: flex-end;
}

.asis-foot {
    min-height: 100px;
    padding: 10px;
    box-shadow: 0 3px 13px 0 #000;
    flex-wrap: wrap;
    gap: 7px;
    background: #fff;
    flex-direction: row;
    align-content: flex-start;
}

.asis-data {
    padding: 10px;
}

.asis-opt {
    cursor: pointer;
}

.asis-opt,
.asis-qa,
.asis-ans,
.asis-view-all {
    background: #dbd7d7;
    padding: 5px 15px;
    border-radius: 5px;
    color: #002b5c;
    font-weight: 500;
    width: fit-content;
}

.asis-qa-wrpr,
.asis-data {
    gap: 5px;
    flex-direction: column;
}

.asis-qa, .asis-view-all {
    background: #002b5c;
    color: #fff;
    display: inline-block;
}

.asis-ans {
    background: #cadcfa;
    margin-left: auto;
    cursor: pointer;
}

.asis-data {
    overflow-y: auto;
    transition: height 0.5s ease
}

.asis-qa,
.asis-ans {
    animation: easeInFromBottom 0.3s ease-in-out;
    position: relative;
}
.asis-qa a {
    text-decoration: underline;
    color: #03c4e3;
}

/* Animation for new messages easing in from the bottom */
@keyframes easeInFromBottom {
    0% {
        position: relative;
        bottom: -10px;
        opacity: 0;
    }

    100% {
        position: relative;
        bottom: 0;
        opacity: 1;
    }
}

.asis-qa-wrpr.asis-loading {
    position: relative;
    top: 30px;
    left: 10px;
}

.asis-loading img {
    width: 40px;
    border-radius: 30px;
    height: 20px;
    object-fit: cover;
    position: absolute;
    top: -16px;
}

.asis-stat:before {
    content: "";
    width: 5px;
    height: 5px;
    background: #06f706;
    display: inline-block;
    margin-right: 5px;
    border-radius: 5px;
}

.asis-stat {
    color: #06f706;
}

.asis-cls {
    font-size: 17px;
    padding: 0px 5px;
    line-height: 10px;
    border-radius: 20px;
    background: transparent;
    color: #fff;
    border: 1px solid;
    width: 20px;
    height: 20px;
    margin-top: 4px;
}

#asis-contact div {
    margin-bottom: 5px;
}

#asis-contact label {
    margin-bottom: 2px;
    font-size: 12px;
    color: #002b5c;
}

#asis-contact button {
    background: #002b5c;
    color: #fff;
    padding: 10px;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
    letter-spacing: 1.5px;
}

.asis-opt.selected {
    color: #fff;
    background: #002b5c;
}

.asis-items {
    overflow-x: auto;
    gap: 12px;
}

.asis-item {
    border: 1px solid #e5e1e1;
    padding: 6px;
    width: calc(50% - 6px);
}

.asis-opt.confirm-btn {
    background: #002b5c url("./images/send-message.png") no-repeat center;
    color: #fff;
    background-size: 20px;
    font-size: 0;
    padding: 0 12px;
    position: absolute;
    bottom: 4px;
    z-index: 999;
    right: 4px;
    width: 36px;
    height: 34px;
}

.asis-item a {
    display: block;
    text-align: center;
    border: 1px solid #002b5c;
    color: #002b5c;
    font-size: 12px;
    font-weight: 500;
}

.asis-item a:hover {
    color: #fff;
    background: #002b5c;
}

.asis-item h5 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 7px 0;
}

.asis-view-all {
    padding: 8px 16px;
    width: fit-content;
    margin: 16px 0 25px;
    font-weight: 600;
}

.asis-ans:before {
    content: "\270E";
    position: absolute;
    font-size: 14px;
    left: 0;
    top: 2px;
    padding: 0 8px;
    transition: all 0.5s ease;
    opacity: 0;
}

.asis-ans:hover:before {
    opacity: 1;
    left: -31px;
}
.brx-popup-content {
  position: relative;
}

.button.undefined {
    background: #071f3f;
    border: none;
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}
.button.undefined:after {
    font-family: FontAwesome;
    content: "\f054";
    margin-left: 8px;
}


.asis-ops {
    height: 100%;
    overflow: auto;
    background: #fff;
}
.asis-ops > img {
    width: 135px;
    margin: 15px;
}
.asis-ops > h5, .asis-ops > p {
    color: #002c5b;
    margin-left: 18px;
    line-height: 18px;
    font-size: 14px;
}
.asis-ops > h5 {
    font-size: 18px;
    margin-bottom: 8px;
}
.asis-op {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 10px 10px 15px;
    border-bottom: 1px solid #ececec;
    font-size: 12px;
    line-height: 14px;
    color: #363636;
}
.asis-op img {
    width: 40px;
}
.asis-op img:last-child {
    width: 10px;
}
.asis-op h5 {
    font-size: 15px;
    line-height: 22px;
    color: #002c5b;
}


@media only screen and (max-width: 580px) {
    #brxe-jbxmqx {
        font-size: 0 !important;
    }

    #brxe-jbxmqx i {
        display: block;
        font-size: 25px;
        left: -5px;
    }

    .asist-win {
        width: 320px;
        right: 0;
    }
}