* {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: 'Montserrat', sans-serif;
}
/*
*   VARIABLES 22-03-2020
*/
:root {
    --main-bg-color: #2D2E4F;
    --main-red-color: #FF4961;
    --main-green-color: #49ff9a;
}

body {
    width: 100%;
    height: 100%;
    color: #464855;
    font-size: 100%;
}


.main {
    width: 100%;
    height: 100vh;
}
    /*
*   ESTILOS PARA EL CHAT
*/

    .main > .header {
        width: 100%;
        height: 65px;
        background: white;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #EDEEF4;
    }

.header #menu {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

    .header #menu .icon {
        font-size: 20px;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.main > .content {
    width: 100%;
    height: calc(100% - 66px);
    display: flex;
    overflow: hidden;
    background-color: #ccc;
}

    .main > .content .video-content {
        overflow: auto;
        width: calc(100% - 350px);
        height: 100%;
        margin-left: 15%
    }

        .main > .content .video-content .header-video {
            width: 100%;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 16px;
        }

            .main > .content .video-content .header-video p {
                margin-left: 40px;
            }

                .main > .content .video-content .header-video p span {
                    margin-left: 5px;
                    font-size: 12px;
                    background: #FF4961;
                    color: white;
                    padding: 2px;
                    border-radius: 4px;
                }


        .main > .content .video-content .video {
            width: 100%;
            height: calc(100% - 50px);
            display: flex;
            justify-content: center;
            margin-top: 3%;
        }

    .main > .content .chat-content {
        width: 350px;
        height: 100%;
        background: white;
        display: flex;
        flex-direction: column;
        border-left: 1px solid #EDEEF4;
        position: relative;
        z-index: 1;
    }

        .main > .content .chat-content .sesion {
            width: 100%;
            height: 15%;
            border-bottom: 1px solid #EDEEF4;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

            .main > .content .chat-content .sesion .image {
                width: 60px;
                height: 60px;
                border-radius: 50%;
                overflow: hidden;
                margin: 15px 0 15px 15px;
                border: 1px solid #EDEEF4;
            }

                .main > .content .chat-content .sesion .image img {
                    width: 100%;
                    height: 100%;
                }

            .main > .content .chat-content .sesion .text {
                font-size: 12px;
                margin: 10px 0 0 10px;
            }

                .main > .content .chat-content .sesion .text span {
                    font-size: 12px;
                    color: var(--main-red-color);
                    font-weight: bold;
                }

                .main > .content .chat-content .sesion .text span {
                    font-size: 12px;
                    color: var(--main-red-color);
                    font-weight: bold;
                }

        .main > .content .chat-content .chat {
            /*width: 100%;*/
            /*height: 100%;*/
            overflow: auto;
        }

        .main > .content .chat-content .text-send {
            /*width: 100%;*/
            height: auto;
            display: flex;
            align-items: center;
            border-top: 1px solid #EDEEF4;
            position: absolute;
            bottom: 0;
        }

            .main > .content .chat-content .text-send .emojionearea {
                width: 100%;
                height: 60px;
                outline: none;
                padding: 0 10px !important;
                font-size: 12px;
                color: #6B6F82;
                outline: none;
                border: none;
                box-shadow: none;
            }

                .main > .content .chat-content .text-send .emojionearea:focus {
                    box-shadow: none !important;
                }

                .main > .content .chat-content .text-send .emojionearea .emojionearea-editor {
                    top: 15px;
                }

                .main > .content .chat-content .text-send .emojionearea .emojionearea-button {
                    top: 15px;
                }



            .main > .content .chat-content .text-send .icons {
                width: 70px;
                display: flex;
                align-items: center;
                justify-content: space-around;
            }

        .main > .content .chat-content .chat .message {
            padding: 1px 20px;
            font-size: 10px;
            margin-top: 10px;
            display: flex;
            flex-direction: column;
        }

            .main > .content .chat-content .chat .message .body {
                width: fit-content;
                max-width: 80%;
                display: flex;
                padding: 5px 10px;
                border-radius: 8px;
            }

                .main > .content .chat-content .chat .message .body p {
                    word-break: break-word;
                }

                    .main > .content .chat-content .chat .message .body p span {
                        display: inline-block;
                        width: 100%;
                        text-align: end;
                        font-size: 10px;
                        font-weight: bold;
                        position: relative;
                        left: 5px;
                        top:12px;
                        /*margin-top: 5px;*/
                    }

            .main > .content .chat-content .chat .message .title {
                font-weight: bold;
                margin-bottom: -5px;
            }

        .main > .content .chat-content .chat .transmitter {
            align-items: flex-start;
        }

            .main > .content .chat-content .chat .transmitter .body {
                background-color: #cadde4;
            }

        .main > .content .chat-content .chat .receiver .body {
            background-color: var(--main-red-color);
            color: white;
        }

        .main > .content .chat-content .chat .receiver {
            align-items: flex-end;
        }

.info-video {
    padding: 20px 50px;
}

    .info-video .title {
        display: flex;
        justify-content: space-between;
    }

        .info-video .title p {
            color: var(--main-bg-color);
            font-size: 18px;
            font-weight: bold;
        }

    .info-video .description {
        color: var(--main-bg-color);
        font-size: 14px;
        font-weight: 400;
        margin-top: 20px;
    }

    .info-video .title span {
        font-size: 14px;
    }
/*
*   ESTILOS PARA EL PIE DE PAGINA
*/
.footer {
    background: white;
    width: 100%;
    height: auto;
    overflow: hidden;
}

    .footer .content-contact {
        margin: 50px;
    }

    .footer .content-copyright {
        border-top: 1px solid #EDEEF4;
        margin: 20px 50px;
        padding: 20px 5px;
    }

        .footer .content-copyright p {
            font-size: 12px;
            color: #6B6F82;
        }

            .footer .content-copyright p span {
                color: var(--main-bg-color);
                font-size: 16px;
                font-weight: bold;
                margin-right: 10px;
            }

    .footer .content-contact {
        display: flex;
        flex-direction: column;
    }

        .footer .content-contact .title {
            font-weight: normal;
            margin-bottom: 15px;
        }

        .footer .content-contact .body {
            font-size: 14px;
            font-weight: 300;
        }

            .footer .content-contact .body p span {
                color: var(--main-red-color);
                font-weight: bold;
                margin-top: 4px;
                text-decoration: underline;
            }

/*
*   ESTILOS REUTILIZABLES
*/

.g-btn-sub {
    background: var(--main-red-color);
    color: white;
    font-size: 14px;
    padding: 16px 34px;
    border-radius: 100px;
    line-height: 1;
    box-shadow: 0 6px 20px 0 rgba(0,0,0,.1);
    user-select: none;
    text-decoration: none;
    outline: none;
    border: none;
    cursor: pointer;
}

    .g-btn-sub:hover {
        opacity: .9;
        transform: translateY(-1px);
    }

    .g-btn-sub:active {
        transform: translateY(1px);
    }


.g-btn-chat {
    width: 15px;
    height: 15px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    cursor: pointer;
    outline: none;
}

.g-btn-chat-send {
    background-image: url('../images/paper-plane.png');
    width: 20px;
    height: 20px;
}

.g-btn-chat-smile {
    background-image: url('../images/smile.png');
}

.g-btn-chat-papeclip {
    background-image: url('../images/paperclip.png');
}

.tabs-chat {
    display: flex;
    color: #2D2E4F;
    font-weight: bold;
    font-size: 14px;
    height: 60px;
    border-bottom: 1px solid #EDEEF4;
}

.tab-title:hover {
    background-color: #fdfdfd;
}

.tab-title {
    /*width: 50%;
    height: 100%;*/
    color: #2D2E4F;
    display: flex;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

.active-tab {
    color: #FF4961;
    border-bottom: 2px solid #8ad6e2 !important;
    border-right: 2px solid #30bcd2 !important;
}

/*#documents {
    width: 100%;
    height: 100%;
}*/


.show-chat {
    transform: translate(0, 0);
}

.video-width {
    min-width: 100%;
    margin-top: 3%;
}

.btn-toggle-video {
    background-color: white;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
}

    .btn-toggle-video:hover {
        background: #eee;
        outline: none;
    }

.display-none {
    display: none
}

.display-flex {
    display: flex
}

.toggle-chat {
    background: white;
    height: 60px;
    width: 60px;
    opacity: 0.7;
    outline: none;
}

    .toggle-chat:hover {
        opacity: 1;
        cursor: pointer;
    }

    .toggle-chat:active span {
        color: red;
    }

.align-i-c {
    display: flex;
    align-items: center;
}

.hidden-video {
    width: 0 !important;
}



@media screen and (max-width: 700px) {
    .video-content {
        width: 100% !important;
        margin-left: 0% !important;
    }

    .tabs-chat {
        height: 5% !important;
    }

    .text-send {
        width: 65% !important;
    }

    .sesion {
        height: 12% !important;
    }

    .tab-titlechat {
        width: 65% !important;
    }

    .idchatborder {
        width: 65% !important;
    }

    .tab-titledocument {
        width: 35% !important;
        font-size: small;
    }

    .uploadmovilemargin {
        margin-top: -100%
    }

    .uploaddivrigth {
        margin-right: 65%;
    }

    .uploaddiv {
        bottom: 60% !important;
    }

    .labelmobile {
        margin-bottom: 60px !important;
        margin-right: 70%;
    }
}

.nuser {
    background-color: #c6dae2eb;
    border-radius: 7.5px;
    padding: 5px 12px 6px;
    text-align: center;
}

.nuseraling {
    align-items: center !important;
}

.displaynone {
    display: none;
}

.uploaddiv {
    position: absolute;
    bottom: 0;
}

.idchat {
    height: 100%;
    height: 84%;
    max-height: 84%;
}

.idchatborder {
    border-right: 2px solid #30bcd2 !important;
}


.btn-color {
    background-color: #FFDC66 !important;
    color: #000000;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.shadow {
    -webkit-box-shadow: 4px 8px 10px 9px rgba(0,0,0,0.43);
    -moz-box-shadow: 4px 8px 10px 9px rgba(0,0,0,0.43);
    box-shadow: 4px 8px 10px 9px rgba(0,0,0,0.43);
}
