.chatbot-body {
    width: 90%;
    margin: 0 auto;
    padding-top: 64px;

    position: relative;
}

@media screen and (min-width: 1400px) {
    .chatbot-body {
        width: 66%;
    }
}

@media screen and (min-width: 1450px) {
    .chatbot-body {
        width: 66%;
    }
}

.chatbots {
    overflow: auto;
    margin: 10px 5% 8px;
    min-width: 850px;
    width: 100%;
    padding: 0 5px;
}

.chatbot-new {
    text-align: center;
    background: #038eda;
    cursor: pointer;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 4px;
    vertical-align: middle;
    padding: 2px 22px 4px 16px;
    line-height: 32px;
    width: 132px;
    margin-left: 6%;
    margin-top: 50px;
    margin-bottom: 10px;
}

.chatbot-new img {
    vertical-align: middle;
    padding-right: 5px;
}

.chatbot-new a {
    color: #fff !important;
    letter-spacing: 0.3px;
    vertical-align: middle;
}

.bot_select, .bot_unselect:hover {
    padding: 0 24px 22px 24px;
    margin: 0 5px;
    width: 25%;
    min-width: 200px;
    position: relative;
    border: 1px solid #d3e4ee;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 10px;
    background: #e7f1f7;
    transition: all 1s cubic-bezier(.25, .8, .25, 1);
    height: 140px;
    float: left;
}

.chatbots-name {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.chatbots-name > span {
    padding-left: 10px;
    line-break: anywhere;
}

.chatbots-row {
    padding: 15px 0;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    word-wrap: normal !important;
}

.chatbot-language {
    padding: 15px 0;
    font-size: 10px;
    color: gray;
}

.bot_select ul .sub1 {
    float: left;
}

.bot_select ul li {
    display: inline;
}

.bot_unselect ul .sub1 {
    float: left;
    display: inline;
}

.bot_select ul .sub1 > img, .bot_unselect:hover ul .sub1 > img {
    border-radius: 50%;
    border: 0px;
    vertical-align: top;
}

.bot_unselect ul .sub1 > img {
    border-radius: 50%;
    filter: grayscale(10%);
    opacity: 0.9;
    transition: color 2s;
}

.bot_unselect:hover ul .sub1 > img {
    filter: grayscale(0%);
    opacity: 1;
    transition: color 2s;
}

.bot_select ul .sub3, .bot_unselect:hover ul .sub3 {
    font-size: 15px;
    color: #038eda;
    font-weight: 600;
    padding-bottom: 10px;
    float: left;
    margin: 13px;
}

.bot_unselect ul .sub3 {
    width: 60%;
    font-size: 15px;
    color: #a2a2a2;
    font-weight: 600;
    padding-bottom: 10px;
    float: left;
    margin: 13px;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    word-wrap: normal !important;

    transition: color 1s;
}

.bot_unselect {
    padding: 0 24px 22px 24px;
    margin: 0 5px;
    width: 25%;
    min-width: 200px;
    position: relative;
    border: 1px solid #d3e4ee;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 10px;
    height: 140px;
    float: left;
}

.bot_unselect:last-child {
    margin-bottom: 100px;
}

.bot_select ul .sub2, .bot_unselect:hover ul .sub2 {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    display: -webkit-box;
    margin-top: 14px;
    word-break: break-all;
    text-align: left;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    position: relative;

    cursor: pointer;
}

.bot_unselect ul .sub2 {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    display: -webkit-box;
    margin-top: 14px;
    height: 35px;
    word-break: break-all;
    text-align: left;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    position: relative;

    cursor: pointer;
}

.chatbot-menu-button {
    position: absolute;
    top: 8px;
    right: 10px;

    width: 23px;
    height: 23px;
    display: inline-block;

    background: url(/modules/chatbots/client/imgs/more_.png);
    background-repeat: no-repeat;
}

.chatbot-menu-button:hover {
    background: url(/modules/chatbots/client/imgs/more.png) no-repeat;
}

.chatbot-menu {
    position: fixed;

    top: 0;
    left: 0;

    width: 150px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ebebeb;
    box-shadow: 0 1px 11px rgba(0, 0, 0, 0.1), 0 1px 11px rgba(0, 0, 0, 0.1);

    background-color: white;

    z-index: 1000;
}

.chatbot-menu > li a {
    display: inline-block;
    width: 100%;
    height: 100%;

    padding: 5px;
    box-sizing: border-box;
    border-radius: 6px;

    cursor: pointer;
}

.chatbot-menu > li:hover a {
    background-color: #038eda;

    color: white;
}

.chatbot-menu .chatbot-menu-divider {
    height: 1px;
    background-color: #ebebeb;
    margin: 12px 0;
}

.tab {
    padding-top: 16px;
    border-bottom: 2px solid #038eda;
    height: 45px;
    display: flex;
}

.tab-body {
    height: 100%;
    overflow: hidden;
    white-space: nowrap;

    position: relative;
    top: 2px;
}

.tab-body li {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-radius: 6px 6px 0 0;
    border: 2px solid #ebebeb;
    border-bottom-color: transparent;
    position: relative;
    top: -2px;
    z-index: 10;
    font-weight: 600;
    cursor: pointer;
    width: 100px;
    text-align: center;
}

.tab-body li.select_tab {
    background-color: white;
    border-color: #038eda;
    border-bottom-color: white;

    padding-top: 12px;

    top: 0;
}

.tab-body li:hover, .prev-tab:hover, .next-tab:hover {
    background-color: #fefefe;
}

/** create chatbot */
.create-chatbot-body {
    position: relative;
    top: 65px;

    width: 90%;
    margin: 0 auto;

    padding: 50px 0;
}

.create-chatbot-row-title {
    padding: 6px 10px;
    font-size: 16px;
    font-weight: 600;
}

.create-chatbot-row {
    margin-bottom: 30px;
}

.create-chatbot-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin: 10px;

    display: inline-block;

    width: 300px;

    align-items: center;

    cursor: pointer;

    transition: border 0.5s;
}

.create-chatbot-item:hover {
    border-color: #038eda;
}

.create-chatbot-item-icon {
    border-radius: 50%;
    background-color: #e7efff;
    display: inline-block;
    width: 50px;
    height: 50px;

    vertical-align: middle;
}

.create-chatbot-item-icon img {
    width: 100%;
}

.create-chatbot-item-name {
    padding-left: 20px;
    font-size: 15px;
    font-weight: 600;
    color: #656565;
    vertical-align: middle;
}

.create-chatbot-item:hover .create-chatbot-item-name {
    color: black;
}

@media screen and (min-width: 1000px) {
    .create-chatbot-body {
        width: 60%;
    }
}
