/* 2017.11.15 G.A. */

/* # DEMO # */
.chatbotContainer{
    position: absolute;
    left: 0;
    background-color: #F3EBD6;
    width: 100%;
}
.chatbotContainer h2{
    text-align: center;
}
.chatbotWindow{
    width: 25vw;
    /*background: url(/images/chatbot/vlc_chat_bg5.jpg);
    background-repeat: no-repeat;*/
    background-color: #fff;
    overflow: hidden;
    margin: 0 auto;
    background-position: center bottom 76px;    
    
}
.botHeader{
    height: 80px;
    box-shadow: 0px 50px 250px #FFF;
    padding-left: 90px;
    position: relative;
    z-index: 99;
    display: none;
}
.botHeader h4{
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 80px;
    color: #293037;
}
.botMessages{
    height: 100px;
    /* padding: 600px 85px 10px 85px; */
    padding: 20vw 14px 10px 14px;
    /* overflow: hidden; */
    overflow: auto;
}
.botInputs{
    border-top: 1px solid #ccc;
    min-height: 60px;
    position: relative;
    padding-left: 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
}
.messageInput{
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    /*line-height: 60px;*/
    /*line-height: normal;*/
    line-height: 2em;
    outline: 0;
    opacity: .7;
    padding-right: 90px;
    width: 100%;
}
.sendButton{
    height: 38px;
    width: 38px;
    background: url('/images/chatbot/sendButton4.png');
    position: absolute;
    right: 30px;
    top: 12px;
    z-index: 99;
}

.userMessageContainer {
    display: block;
    background-color: #fff;
    border-radius: 1395px;
    margin: 10px 0 10px 0;
    float: right;
    padding-right: 20px;
    padding-left: 20px;
    max-width: 70%;
}

/*.userMessage{
    background-color: #fff;
    border-radius: 5px;
    max-width: 470px;
    float: right;
    padding: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 10px;
    word-break: break-all;
    word-break: break-word;
}*/

.userMessage{
    background-color: #f2f2f2;
    font-family: 'CeraRegular', sans-serif;
    word-break: break-all;
    word-break: break-word;
    padding: 35px 35px 35px 98px;
    font-size: 0.833vw;
    color: #000;
    word-break: break-all;
    word-break: break-word;
    z-index: 10;
    background-repeat: no-repeat;
    background-size: 111px;
    background-position: left 11px center;
    display: block;
    overflow: auto;
    margin: 0;
    padding: .7vw 1.4vw;
    display: flex;
    align-items: center;
    -webkit-animation: fadein 1s;
    -moz-animation: fadein 1s;
    -ms-animation: fadein 1s;
    -o-animation: fadein 1s;
    animation: fadein 1s;
    position: relative;
    overflow: visible;
}
.userMessage:before {
    content: '';
    position: absolute;
    bottom: 8px;
    right: -5px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #f2f2f2;
}

.userPic{
    float: right;
    padding-left: 20px;
    background: url(/images/chatbot/userTriangle.png);
    background-repeat: no-repeat;
    background-position-y: 22px;
    margin-bottom: 10px;
}
.botMessageContainer{
    
    vertical-align: middle;
    /* width: 100%; */
    display: block;
    margin: 10px 0 10px 0;
    float: left;
    max-width: 70%;
    padding-right: 20px;
}
.botPic{
    float: left;
    padding-right: 20px;
    background: url(/images/chatbot/botTriangle.png);
    background-repeat: no-repeat;
    background-position: right 22px;
    margin-bottom: 10px;
}
.botMessage{
    font-size: 1.318vw;
    font-family: 'CeraRegular', sans-serif;
    color: #fff;
    word-break: break-all;
    word-break: break-word;
    z-index: 10;
    /*background: url(/images/chatbot/vendelin_head3.png);*/
    background-repeat: no-repeat;
    background-size: 104px;
    background-position: left 1px bottom;
    display: block;
    overflow: auto;
    margin: 0;
    padding: .7vw 1.4vw;
    font-size: 16px;
    display: flex;
    align-items: center;
    -webkit-animation: fadein 2s;
    -moz-animation: fadein 2s;
    -ms-animation: fadein 2s;
    -o-animation: fadein 2s;
    animation: fadein 1s;
    background-color: #333333;
    -webkit-box-shadow: 3px 3px 15px -2px rgba(0,0,0,0.52);
    -moz-box-shadow: 3px 3px 15px -2px rgba(0,0,0,0.52);
    box-shadow: 3px 3px 15px -2px rgba(0,0,0,0.52); 
    position: relative;
    overflow: visible;
    
}
.botMessage:before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: -5px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid #333333;
}
.botMessage p {
    float: left;
    max-width: 160px;
    margin-left: 30px;
    font-weight: 500;
}
.botMessage img{
    float: right;
    margin-left: 20px;
}

.clearboth{
    clear: both;
}
.clearAfter::after{
    content: '';
    display: block;
    clear: both;
}
.time{
    opacity: .6;
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    display: block;
    text-align: center;
    margin-top: 5px;
}
.chatButtonsContainer{
    
    position: relative;
    /*top: -10px;*/
    margin-bottom: 10px;
    text-align: center;
}
.chatButtonsContainer .chatButton{
    display: inline-block;
}


.chatButtonsContainer .chatButton a {
    color: #d7b67a;
    line-height: 40px;
    display: block;
    background-color: #231F20;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Lora', serif;
    /* font-weight: 500; */
    padding: 0px 12px;
    color: #d7b67a;
    display: inline-block;
    border-radius: 1395px;
    border: 1px solid #d7b67a;    
}
.chatButtonsContainer .chatButton a:hover {
    background-color: #d7b67a;
    color: #231F20;    
    text-decoration: none;
}


.chatButtonsContainer .chatButton:nth-child(2){
    margin-left: 25px;
}

/*  # KIFEJEZÉSEK #  */
.chatbotList .expressionDiv:nth-child(even), .chatbotAnswers .answerDiv:nth-child(even){
    background-color: #f1f1f1;
}
.chatbotList .expressionDiv:nth-child(odd), .chatbotAnswers .answerDiv:nth-child(odd){
    background-color: #fdfdfd;
}
.expressionDiv, .chatbotAnswers .answerDiv{
    padding: 5px;
    border: 2px solid transparent;
}
.expressionDiv input, .szinonimaDiv input, 
#dialog-form .wordInput, 
.chatbotAnswers .answerInput,
.answerDiv .gombok input[type=text]{
    border: 1px solid #7d7d7d;
    padding: 6px;
    margin: 5px;
    border-radius: 2px;
    /*margin-top: 20px;*/
}
.chatbotAnswers .answerInput{
    width: calc(100% - 135px);
}
.chatbotList a, .chatbotAnswers a{
    padding: 5px;
    font-size: 14px;
    display: inline-block;
}
.chatbotList input, .chatbotAnswers input{
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
}
.szinonimaDiv a{
    color: red;
    cursor: pointer;
}
.szinonimaDiv a:hover{
    text-decoration: none;
}
.ui-dialog{
    font-size: 14px;
}
.dialogContent{
    text-align: center;
}
.dialogContent input, #dialog-form .wordInput{
    width: 70%;
}
.oneWordContainer{
    position: relative;
}
.wordInput.withInlineIcons{
    margin-right: 66px;
}
#dialog-form{
    position: relative;
}
.addSyn{
    /*position: absolute;
    bottom: 0;
    left: 0;*/
    padding: 5px 0;
    /*width: calc(100% - 2em)*/
    background-color: #fafafa;
    overflow: visible;
    text-align: center;
    /*z-index: 99999;*/
}
.addSyn .addSynButton{
    cursor: pointer;
}
.chatbotIndex, .chatbotList, .chatbotAnswers{
    background-color: #fff;
    padding: 30px;
    margin-top: 20px;
    font-family: 'Open Sans', sans-serif;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    border: 1px dashed #f2f2f2;
}
.chatbotIndex .indexOption{
    font-size: 18px;
    display: block;
    color: #000;
    line-height: 1.5em;    
}
.chatbotIndex .indexOption:hover{
    color: rgb(166, 22, 32);
}
.itsAnswers{
    display: none;
    text-align: center;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    padding: 10px;
}
.chatbotList .answerInput{
    display: block;
    width: 50%;
    margin: 5px auto !important;
}
.deleteWord, .deleteAnswer, .deleteExpressionButton{
    color: #ca2b2b;
}
.synButton{
    color: #2040a5;
}
/*.buttonsContainer{
    position: relative;
    padding: 15px 0;
    line-height: 30px;
}*/
.buttonsContainer {
    position: fixed;
    padding: 15px 0;
    line-height: 30px;
    bottom: 0;
    background-color: #fff;
    left: 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid #ccc;
    padding-top: 25px;
    z-index: 999;
}
.buttonsContainer input[type=submit]{
    padding: 5px;
}
.activeAction{
    position: absolute;
    width: 100%;
    left: 0;
    background-color: #fff;
}
.ui-menu-item{
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}
.chatbotAnswers .answerDiv{
    margin: 0;
}
.chatbotAnswers .answerDiv select{
    width: 100px;
    font-size: 15px;
    padding: 6px;
    border: 1px #7d7d7d solid;
    border-radius: 2px;
}
.answerDiv .simaTipus{
    display: none;
}
.answerDiv .gombTipus{
    display: block;
}
.answerDiv .gombok{
    text-align: center;
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}
.answerDiv .gombok input[type=text]{
    margin-top: 20px;
    width: 20%;
}
.answerDiv .gombok .link1{
    margin-right: 25px !important;
}
.answerDiv .gombok label{
    top: 0;
    padding-left: 6px;
    position: absolute;
    font-size: 12px;
}
.deleteCandidate{
    background-color: red !important;
}
.cancelCandidate{
    background-color: #ffd4d4 !important;
}
.filterContainer{
    text-align: right;
    margin-bottom: 10px;
}
.filterContainer input[type=text]{
    border: 1px solid #7d7d7d;
    padding: 6px;
    border-radius: 2px;
    margin: 15px 0 10px 20px;
}
.chatbotHistory{
    background-color: #fff;
    padding: 30px;
    font-size: 16px;
    line-height: normal;
    font-family: 'Open Sans', sans-serif;
}
.chatbotTitle{
    float: left;
}
.historyConversation{
    width: 585px;
    margin-left: auto;
    margin-right: auto;
    background-color: #f1f1f1;
    padding: 7px 25px 0 25px;
}
.historyConversation .botPic, .historyConversation .botMessage{
    margin-bottom: 0;
}
.historyConversation.nincsValasz{
    background-color: #f4ecec
}
.szinonimaIkon, .torlesIkon, .kifejezesTorlesIkon, .valaszIkon{
    cursor: pointer;
}
.szinonimaIkon{
    position: absolute;
    right: 33px;
    bottom: 5px;
}
.torlesIkon{
    position: absolute;
    bottom: 5px;
    right: 0;
}
.newWord{
    position: absolute;
}
.oneWordContainer{
    display: inline-block;
}
.catContainer h3{
    cursor: pointer;
    color: #000;
}
.catContainer form{
    display: none;
}
.buttonsContainer.nemFixed{
    position: static;
}
.expressions{
    min-height: 40px;
}
.ui-sortable-placeholder{
    border: 2px dashed #ccc;
    visibility: visible !important;
    background-color: #e1fcff !important;
    opacity: 1;
    z-index: 9;
}
.newCat{
    border: 1px solid #7d7d7d;
    padding: 6px;
    margin: 5px;
    border-radius: 2px;
}
.newCatContainer{
    float: left;
    min-height: 44px;
}
.newCatContainer a, .openCatsContainer a{
    line-height: 35px;
}
.newCatContainer form{
    display: none;
}
.openCatsContainer{
    float: right;
    min-height: 44px;
}
.newCatContainer input[type=submit]{
    padding: 5px;
}
.closeChatMSG {
    position: absolute;
    top: -5px;
    right: 0;
}
.botMessageContainer.popup{
    display: none;
    padding-right: 0;
}
.floatingChatbot{
    position: fixed;
    bottom: 0;
    right: 10%;
    z-index: 9999;
}
.floatingChatbot .bar{
    background-color: #333333;
    font-size: 16px;
    color: #fff;
    font-family: 'CeraLight', sans-serif;
    padding: 9px 0;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    width: 25vw;
    position: relative;
    border-top: 1px solid #f4d180;
    border-left: 1px solid #f4d180;
    border-right: 1px solid #f4d180;
}
.floatingChatbot .bar:after{
    content: '';
    position: absolute;
    right: 16px;
    width: 16px;
    height: 8px;
    top: 50%;
    transform: translate(0, -50%);
    background-image: url(/images/pb/nyil5.png);
    background-size: 100%;
}
.floatingChatbot.open .bar:after{
    transform: translate(0, -50%) rotateX(180deg);
}
.floatingChatbot .chatbotWindow{
    display: none;
    overflow: visible !important;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    box-sizing: border-box;
}
.bar2{
    height: 3.4vw;
    position: relative;
    padding-left: 7vw;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #f2f2f2;
    z-index: 99;
}
.bar2 h3{
    font-size: 1.318vw;
    font-family: 'CeraRegular', sans-serif;
    color: #f4d180;
    letter-spacing: .05em;
}
.bar2 .profilePic{
    position: absolute;
    border-radius: 50%;
    width: 5.208vw;
    border: 1px solid #f4d180;
    left: 1vw;
    top: 0;
    z-index: 9;
    opacity: 0;
    transition: top 200ms, opacity 200ms;
}
.open .bar2 .profilePic{
    top: -1vw;
    opacity: 1;
}
.chatbotList h3{
    font-size: 1.6vw;
}
.bar2 h4{
    line-height: normal;
}
@media only screen and (max-width: 1000px) {
    .chatbotWindow{
        width: 100%;
    }
    .botMessageContainer{
        max-width: 100%;
        padding-right: 0;
    }
    .chatbotContainer{
        background-color: initial;
    }
    .botInputs{
        padding-left: 10px;
    }
    .messageInput{
        font-size: 16px;
    }
}
@media only screen and (max-width: 600px) {
    .floatingChatbot{
        right: 5%;
        width: 90%;
    }
    .bar2{
        height: 15.4vw;
        padding-left: 25vw;
    }
    .bar2 h3 {
        font-size: 5vw;
    }
    .bar2 .profilePic {
        width: 18vw;
    }
    .open .bar2 .profilePic {
        top: -2vw;
    }
    .floatingChatbot .bar{
        width: 100%;
    }
    .userMessage, .botMessage {
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 0;
    }
    .botMessages {
        padding: 45vw 14px 10px 14px;
    }
    .bar2 h4{
        font-size: 4vw;
    }
   
}