@font-face {
    font-family: pfdintextpro-bold;
    src: url('/fonts/PFDinTextPro/pfdintextpro-bold.ttf');
}

@font-face {
    font-family: pfdintextpro-light;
    src: url('/fonts/PFDinTextPro/pfdintextpro-light.ttf');
}

@font-face {
    font-family: pfdintextpro-medium;
    src: url('/fonts/PFDinTextPro/pfdintextpro-medium.ttf');
}

@font-face {
    font-family: pfdintextpro-regular;
    src: url('/fonts/PFDinTextPro/pfdintextpro-regular.ttf');
}

.robo-wrapper {
    position: relative;
    z-index: 251;
    transition: all 0.3s ease;
}

.robo-wrapper:hover {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.75);
}

#robo {
    background: #829baf;
    border-bottom: 3px solid #b5cdd9;
    color: #216481;
    transition: color, background 0.3s;
    overflow: auto;
}

.robo-icon {
    position: relative;
    width: 60px;
    height: 60px;
    float: left;
    background-color: #829baf;
    border-right: 1px solid #5b89a7;
    transition: inherit;
    overflow: hidden;
}

.robo-wrapper:hover .robo-icon {
    border-right-color: #b5cdd9;
}

.robo-icon img {
    position: absolute;
    right: -10px;
    bottom: -5px;
    width: 55px;
    height: 55px;
    opacity: 0.8;
    transition: opacity .2s;
}

.robo-wrapper:hover img {
    opacity: 1;
}

.robo-short-message {
    width: 100%;
    height: 60px;
    padding-right: 10px;
    box-sizing: border-box;
}

.robo-short-message span {
    display: inline-block;
    margin-left: 20px;
    font-size: 13px;
    line-height: 25px;
    font-family: pfdintextpro-bold, sans-serif;
    color: #ffffff;
    text-transform: uppercase;
}

.short-message {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-left: 80px;
    padding: 5px 10px;
    background-color: #ffffff;
    text-decoration: none;
}

.short-message:before {
    content: '';
    position: absolute;
    top: 10px;
    left: -13px;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 13px solid #ffffff;
}

.count-messages {
    font-size: 16px;
    font-family: pfdintextpro-regular, sans-serif;
    letter-spacing: 1px;
    color: #ef5d68;
}

.show-all-messages {
    font-size: 10px;
    text-decoration: underline;
    text-transform: uppercase;
    color: #0072bf;
    background-color: transparent;
    border: none;
}

.short-message:hover .show-all-messages {
    text-decoration: none;
}

#robo-messages {
    position: absolute;
    top: 100%;
    display: none;
    width: 740px;
    padding: 0 5px;
    background-color: #ffffff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.75);
}

.messages-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 30px 0 80px;
    border-bottom: 1px solid #e9e9e9;
}

.messages-header span {
    font-family: pfdintextpro-bold, sans-serif;
    font-size: 13px;
    line-height: 30px;
    text-transform: uppercase;
    color: #759cb0;
}

.messages-header img {
    width: 15px;
    height: 15px;
    cursor: help;
}

.recommendations-shell {
    display: inherit;
    align-items: center;
}

#show-recommendations {
    position: relative;
    font-family: pfdintextpro-medium, sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    text-decoration: underline;
    text-transform: uppercase;
    color: #000000;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#show-recommendations:hover {
    text-decoration: none;
}

.messages-header .btn-close {
    position: absolute;
    top: 5px;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    background: url('/admin/static/images/svg/robo/x-big.svg') no-repeat center;
}

.messages-main {
    position: relative;
}

.robo-active {
    position: absolute;
    top: 5px;
    left: 5px;
}

.robo-active img {
    width: 45px;
    height: 45px;
}

.new-message {
    padding: 5px 0;
}

.new-message .shell {
    position: relative;
    background-color: #fff9db;;
}

.new-message .shell:before {
    content: '';
    position: absolute;
    top: 50px;
    left: -13px;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 13px solid #fff9db;
}

.last-message {
    padding: 5px;
    margin: 0 -5px;
    background-color: #f5f5f5;
}

.last-message:not(:last-child) {
    border-bottom: 1px solid #e9e9e9;
}

.shell {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 80px;
    padding: 10px 25px 10px 40px;
    background: no-repeat 13px 13px;
    background-size: 20px;
    transition: background-color 0.3s ease;
}

.last-message .shell:hover {
    background-color: #fff9db;
}

.message-item {
    position: relative;
}

.new-message .btn-close,
.last-message .btn-close {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    background: url('/admin/static/images/svg/robo/x-small.svg') no-repeat center;
}

.new-message .btn-close {
    top: 10px;
    right: 5px;
}

.last-message .btn-close {
    top: 10px;
    right: 10px;
}

.shell p {
    width: 420px;
    padding-right: 10px;
    font-family: pfdintextpro-regular, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
}

.new-message .shell p {
    color: #000000;
}

.last-message .shell p {
    color: #808080;
}

.last-message .shell:hover p {
    color: #000000;
}

.start-scaning {
    position: relative;
    margin-bottom: 20px;
    font-family: pfdintextpro-regular, sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: underline;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.new-message .start-scaning {
    color: #0072bf;
}

.last-message .start-scaning {
    color: #808080;
}

.last-message .shell:hover .start-scaning {
    color: #0072bf;
}

.start-scaning:hover {
    text-decoration: none;
}

.yellow-icon {
    background-image: url('/admin/static/images/svg/robo/warning-yellow.svg');
}

.red-icon {
    background-image: url('/admin/static/images/svg/robo/warning-red.svg');
}

.scroll {
    max-height: 513px;
    overflow-y: scroll;
}

.scroll .last-message {
    margin: 0;
    padding-right: 0;
    padding-left: 0;
}

@media screen and (max-width: 1200px) and (min-width: 781px) {

    .robo-short-message span {
        margin-left: 5px;
        line-height: 20px;
    }

    .short-message {
        display: block;
        text-align: right;
        padding: 0 5px;
    }

}

@media screen and (max-width: 780px) {

    .short-message {
        width: 210px;
    }

    #robo-messages {
        width: 100%;
        box-sizing: border-box;
    }

}

@media screen and (max-width: 512px) {

    .messages-header {
        padding: 0 15px 0 0;
    }

    .messages-main {
        padding-top: 70px;
    }

    .shell {
        margin-left: 0;
    }

    .new-message .shell:before {
        top: -6px;
        left: 26px;
        transform: rotate(90deg);
    }

}



