﻿@import url("https://fonts.googleapis.com/css2?family=PT+Sans&display=swap");

.container-timeline {
    background: #232931;
    width: 500px;
    display: none;
    position: fixed;
    margin-top: 10%;
    /* left:50%;
    top:50%;
    transform:translateX(-50%,-50%);*/
    overflow:hidden;
    box-shadow: 2px 5px 20px rgba(119, 119, 119, 0.5);
    -webkit-animation-name: fadeIn-timeline; /* Fade in the background */
    -webkit-animation-duration: .4s;
    animation-name: fadeIn-timeline;
    animation-duration: .4s;
    animation-fill-mode: forwards;
    transition: all 1.45s;
    height: 500px;
    z-index: 99999;
}

@media (max-width:600px){
    .container-timeline {
        background: #232931;
        width: 330px;
        height: 500px;
        left: 0%;
        position: relative;
        margin-top: 10%;
        overflow-y: auto;
        overflow-x: hidden;
        display:none;
        box-shadow: 2px 5px 20px rgba(119, 119, 119, 0.5);
        -webkit-animation-name: fadeIn; /* Fade in the background */
        -webkit-animation-duration: 2.4s;
        animation-name: fadeIn-timeline;
        animation-duration: 2.4s;
    }
}

@-webkit-keyframes fadeIn-timeline {
    from {
        opacity: 0;
        transform:translateX(-100%);
        /*left: -100%;*/
      /*  top: 50%;
        transform: translateX(-50%,-60%);*/
    }

    to {
        opacity: 1;
       /* left: 50%;
        top: 50%;*/
        transform: translateX(0);
    }
}

@keyframes fadeIn-timeline {
   /* from {
        opacity: 0;
        left: 50%;
        top: 100%;
        transform: translateX(-50%,-100%);
    }

    to {
        opacity: 1;
        left: 50%;
        top: -10%;
        transform: translateX(-50%,10%);
    }*/
   from {
        opacity: 0;
        transform:translateX(-100%);
        /*left: -100%;*/
      /*  top: 50%;
        transform: translateX(-50%,-60%);*/
    }

    to {
        opacity: 1;
       /* left: 50%;
        top: 50%;*/
        transform: translateX(0);
    }
}
.container-timeline::-webkit-scrollbar{
    width:0!important;
}
.leftbox {
    top: -5%;
    left: 5%;
    position: absolute;
    width: 15%;
    bottom:0;
    height:200vh;
   box-sizing:border-box;
    display:block;
    background-color: #50d890;
    box-shadow: 3px 3px 15px rgba(119, 119, 119, 0.5);
}

nav {
    margin: 2.6em auto;
}

    nav a {
        list-style: none;
        padding: 35px;
        color: #232931;
        font-size: 1.1em;
        display: block;
        transition: all 0.5s ease-in-out;
    }

.rightbox {
   
    overflow-y: auto;
    width: 100%;
    height:100%;
    position: relative;
}
    .rightbox::-webkit-scrollbar {
        width: 0;
    }


.rb-container {
    font-family: "PT Sans", sans-serif;
    width: 50%;
    border:0px solid red;
    overflow-y: auto;
    overflow-x: hidden;
   margin:auto;
    position: relative;
}

    .rb-container ul.rb {
        margin: 2.5em 0;
        padding: 0;
        display: inline-block;
    }

        .rb-container ul.rb li {
            list-style: none;
            margin: auto;
            margin-left: 10em;
            min-height: 50px;
            border-left: 1px dashed #fff;
            padding: 0 0 50px 30px;
            position: relative;
            transform:scale(1.4);
        }

            .rb-container ul.rb li:last-child {
                border-left: 0;
            }

            .rb-container ul.rb li::before {
                position: absolute;
                left: -18px;
                top: -5px;
                content: " ";
                border: 8px solid rgba(255, 255, 255, 1);
                border-radius: 500%;
                background: #50d890;
                height: 20px;
                width: 20px;
                transition: all 500ms ease-in-out;
            }
            .rb-container ul.rb li.closed:before {
                background: #fbfbfb;
                border: 8px solid #ff0000;
            }
            .rb-container ul.rb li.orange:before {
                background: #f0ebe4;
                border: 8px solid #ea8e0b;
            }
            .rb-container ul.rb li:hover::before {
                border-color: #232931;
                cursor:pointer;
                transition: all 1000ms ease-in-out;
            }

            .rb-container ul.rb li.closed:before {
                /*    background: #fbfbfb;
                border: 8px solid #ff0000;*/
                background: #fbfbfb;
                border: 8px solid #ff0000;
            }

ul.rb li .timestamp {
    color: #50d890;
    position: relative;
    width: 100px;
    font-size: 12px;
}

.item-title {
    color: #fff;
}

.container-3 {
    width: 5em;
    vertical-align: right;
    white-space: nowrap;
    position: absolute;
}

    .container-3 input#search {
        width: 150px;
        height: 30px;
        background: #fbfbfb;
        border: none;
        font-size: 10pt;
        color: #262626;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        margin: 0.9em 0 0 28.5em;
        box-shadow: 3px 3px 15px rgba(119, 119, 119, 0.5);
    }

    .container-3 .icon {
        margin: 1.3em 3em 0 31.5em;
        position: absolute;
        width: 150px;
        height: 30px;
        z-index: 1;
        color: #4f5b66;
    }

input::placeholder {
    padding: 5em 5em 1em 1em;
    color: #50d890;
}
