﻿.main-timeline {
    font-family: inherit;
    position: relative;
}

    .main-timeline:after {
        content: '';
        display: block;
        clear: both;
    }

    .main-timeline .timeline {
        width: 50%;
        margin-left: 30px;
        float: right;
    }

    .main-timeline .timeline-content {
        color: #333;
        background-color: #fff;
        padding: 75px 20px 20px 90px;
        border-radius: 20px 70px 20px 20px;
        box-shadow: 0 0 15px -7px rgba(0,0,0,0.5);
        display: block;
        overflow: hidden;
        position: relative;
    }

        

        .main-timeline .timeline-content:hover {
            text-decoration: none;
        }
        

    .main-timeline .timeline-count {
        color: #49369F;
        font-size: 50px;
        font-weight: 600;
        position: absolute;
        left: 18px;
        top: 70px;
    }

    .main-timeline .timeline-icon {
        color: #fff;
        background: linear-gradient(to right, #7261C9,#49369F);
        font-size: 30px;
        text-shadow: 0 0 5px rgba(0,0,0,0.1);
        padding: 3px 15px 1px 60px;
        border-radius: 0 40px 40px 0;
        position: absolute;
        top: 15px;
        left: 0;
    }

    .main-timeline .timeline-dateValue {
        color: #fff;
        background: linear-gradient(to right, #7261C9,#49369F);
        font-size: 18px;
        text-shadow: 0 0 5px rgba(0,0,0,0.1);
        padding: 3px 20px 1px 15px;
        border-radius: 0 20px 20px 0;
        position: absolute;
        top: 15px;
        left: 0;
    }

    .main-timeline .timeline-timeValue {
        color: #fff;
        background: linear-gradient(to right, #7261C9,#49369F);
        font-size: 14px;
        text-shadow: 0 0 5px rgba(0,0,0,0.1);
        padding: 3px 20px 1px 20px;
        border-radius: 0 20px 20px 0;
        position: absolute;
        top: 53px;
        left: 0;
    }

    .main-timeline .timeline-deleteItem {
        color: #fff;
        background: linear-gradient(to right, #ff0000,#ff7b7b);
        font-size: 30px;
        font-weight: bold;
        text-shadow: 0 0 5px rgba(0,0,0,0.1);
        padding: 3px 20px 1px 20px;
        border-radius: 0 20px 20px 0;
        position: absolute;
        bottom: 60px;
        left: 0;
    }



    .main-timeline .title {
        color: #49369F;
        font-size: 20px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0 0 7px 0;
    }

    .main-timeline .description {
        font-size: 14px;
        /*letter-spacing: 1px;*/
        text-align: justify;
        /*margin: 0;*/
        margin-bottom:50px;
    }

    .main-timeline .action {
        position: absolute;
        bottom: 0;
        width: 100%;
        background: linear-gradient(to bottom, #20a3f0,#20a3f0);
        right: 0;
        /*padding: 10px 20px 5px 20px;*/
        color: white;
    }
@media (min-width: 992px) {
    .main-timeline .action .navbar {
        padding: 10px 15px 0px 0px
    }

    .main-timeline .action a {
        color: white;
        margin: 0px 5px;
        padding: 5px 10px 10px 10px;
        /*background: linear-gradient(to top, #7160c8,#4b38a1);*/
        bottom: 0;
        text-decoration: none;
        border-radius: 15px 15px 0px 0px;
        border: 1px white solid;
        border-bottom: unset;
        text-align: center;
        vertical-align: middle;
    }

    .main-timeline .description {
        font-size: 14px;
        /*letter-spacing: 1px;*/
        text-align: justify;
        /*margin: 0;*/
        margin-bottom: 40px;
    }
}

.main-timeline .action .navbar-light .navbar-toggler {
    color: unset !important;
    border-color: unset !important;
    border: unset!important;
    font-size:30px;
}

.main-timeline .action .navbar-light .navbar-toggler:focus {
    /*border: none !important;*/
}

    .main-timeline .action .navbar-light .navbar-toggler .span{
        padding:10px;
    }
    .main-timeline .action a {
        color: white;
        margin: 0px 5px;
        padding: 5px 10px 10px 10px;
        /*background: linear-gradient(to top, #7160c8,#4b38a1);*/
        bottom: 0;
        text-decoration: none;
        text-align: center;
        vertical-align: middle;
    }

    .main-timeline .timeline:nth-child(even) {
        float: left;
        margin: 0 30px 0 0;
    }

        .main-timeline .timeline:nth-child(even) .timeline-content {
            padding: 75px 90px 20px 20px;
            border-radius: 70px 20px 20px 20px;
        }

        .main-timeline .timeline:nth-child(even) .timeline-count {
            left: auto;
            right: 18px;
        }

        .main-timeline .timeline:nth-child(even) .timeline-date {
            left: auto;
            right: 18px;
        }

        .main-timeline .timeline:nth-child(even) .timeline-time {
            left: auto;
            right: 18px;
        }

        .main-timeline .timeline:nth-child(even) .timeline-icon {
            padding: 3px 60px 1px 15px;
            border-radius: 40px 0 0 40px;
            left: auto;
            right: 0;
        }
        .main-timeline .timeline:nth-child(even) .timeline-value {
            padding: 3px 20px 1px 20px;
            border-radius: 40px 0 0 40px;
            left: auto;
            right: 0;
        }

        .main-timeline .timeline:nth-child(even) .timeline-dateValue {
            padding: 3px 20px 1px 20px;
            border-radius: 40px 0 0 40px;
            left: auto;
            right: 0;
        }

        .main-timeline .timeline:nth-child(even) .timeline-timeValue {
            padding: 3px 20px 1px 20px;
            border-radius: 40px 0 0 40px;
            left: auto;
            right: 0;
        }

    .main-timeline .timeline:nth-child(4n+2) .timeline-count,
    .main-timeline .timeline:nth-child(4n+2) .title {
        color: #fff;
    }

    .main-timeline .timeline:nth-child(4n+2) .timeline-date,
    .main-timeline .timeline:nth-child(4n+2) .title {
        color: #fff;
    }

    .main-timeline .timeline:nth-child(4n+2) .timeline-time,
    .main-timeline .timeline:nth-child(4n+2) .title {
        color: #fff;
    }

    .main-timeline .timeline:nth-child(4n+2) .timeline-icon {
        background: linear-gradient(to right, #49369F,#7261C9);
    }

    .main-timeline .timeline:nth-child(4n+2) .timeline-value {
        background: linear-gradient(to right, #49369F,#7261C9);
    }

    .main-timeline .timeline:nth-child(4n+2) .timeline-dateValue {
        background: linear-gradient(to right, #49369F,#7261C9);
    }

    .main-timeline .timeline:nth-child(4n+2) .timeline-timeValue {
        background: linear-gradient(to right, #49369F,#7261C9);
    }

    .main-timeline .timeline:nth-child(4n+3) .timeline-count,
    .main-timeline .timeline:nth-child(4n+3) .title {
        color: #EF346B;
    }

    .main-timeline .timeline:nth-child(4n+3) .timeline-date,
    .main-timeline .timeline:nth-child(4n+3) .title {
        color: #fff;
    }

    .main-timeline .timeline:nth-child(4n+3) .timeline-time,
    .main-timeline .timeline:nth-child(4n+3) .title {
        color: #fff;
    }

    .main-timeline .timeline:nth-child(4n+3) .timeline-icon {
        background: linear-gradient(to right, #EF568F,#EF346B);
    }

    .main-timeline .timeline:nth-child(4n+3) .timeline-value {
       /* background: linear-gradient(to right, #EF568F,#EF346B);*/
        background: linear-gradient(to right, #49369F,#7261C9);
    }

    .main-timeline .timeline:nth-child(4n+3) .timeline-timeValue {
        /*background: linear-gradient(to right, #EF568F,#EF346B);*/
        background: linear-gradient(to right, #49369F,#7261C9);
    }

    .main-timeline .timeline:nth-child(4n+3) .timeline-dateValue {
       /* background: linear-gradient(to right, #EF568F,#EF346B);*/
        background: linear-gradient(to right, #49369F,#7261C9);
    }

    .main-timeline .timeline:nth-child(4n+4) .timeline-count,
    .main-timeline .timeline:nth-child(4n+4) .title {
        color: #ff780a;
    }

    .main-timeline .timeline:nth-child(4n+4) .timeline-date,
    .main-timeline .timeline:nth-child(4n+4) .title {
        color: #fff;
    }

    .main-timeline .timeline:nth-child(4n+4) .timeline-time,
    .main-timeline .timeline:nth-child(4n+4) .title {
        color: #fff;
    }

    .main-timeline .timeline:nth-child(4n+4) .timeline-icon {
        background: linear-gradient(to right, #ff780a,#fc8f23);
    }

    .main-timeline .timeline:nth-child(4n+4) .timeline-value {
        background: linear-gradient(to right, #49369F,#7261C9);
    }

    .main-timeline .timeline:nth-child(4n+4) .timeline-dateValue {
        background: linear-gradient(to right, #49369F,#7261C9);
    }

    .main-timeline .timeline:nth-child(4n+4) .timeline-timeValue {
        background: linear-gradient(to right, #49369F,#7261C9);
    }

@media screen and (max-width:767px) {
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even) {
        width: 100%;
        margin: 0 0 20px;
    }

        .main-timeline .timeline:nth-child(even) .timeline-content {
            padding: 75px 20px 20px 90px;
            border-radius: 20px 70px 20px 20px;
        }

        .main-timeline .timeline:nth-child(even) .timeline-count {
            left: 18px;
            right: auto;
        }

        .main-timeline .timeline:nth-child(even) .timeline-date {
            left: 18px;
            right: auto;
        }

        .main-timeline .timeline:nth-child(even) .timeline-time {
            left: 18px;
            right: auto;
        }

        .main-timeline .timeline:nth-child(even) .timeline-icon {
            padding: 3px 15px 1px 60px;
            border-radius: 0 40px 40px 0;
            left: 0;
            right: auto;
        }

        .main-timeline .timeline:nth-child(even) .timeline-value {
            padding: 3px 20px 1px 20px;
            border-radius: 0 40px 40px 0;
            left: 0;
            right: auto;
        }

        .main-timeline .timeline:nth-child(even) .timeline-dateValue {
            padding: 3px 20px 1px 20px;
            border-radius: 0 40px 40px 0;
            left: 0;
            right: auto;
        }

        .main-timeline .timeline:nth-child(even) .timeline-timeValue {
            padding: 3px 20px 1px 20px;
            border-radius: 0 40px 40px 0;
            left: 0;
            right: auto;
        }
}

@media screen and (max-width:567px) {
    .main-timeline .title {
        font-size: 18px;
    }
}


.main-timeline .title-fix {
    color: #49369F;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 7px 0;
}

.main-timeline .description b{
    font-weight:bold!important;
}

.main-timeline .timeline-content.pay-waiting {
    color: #000 !important;
    background-color: lightgreen !important;
}

.pay-waiting .title-fix {
    color:black!important;
}

.main-timeline .timeline-content.pay-unPaid {
    color: #fff !important;
    background-color: orange !important;
}

.pay-unPaid .title-fix {
    color: black !important;
}


.main-timeline .timeline-content.less-than-48 {
    color: #5f5f5f !important;
    background-color: lightgreen;
}

.less-than-48 .title-fix {
    color: black !important;
}

.admin-inactive {
    /*-webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(1px);*/
    /* width: 100px;
    height: 100px;*/
    background-color: #ff7b7b !important
}

.main-timeline .admin-active .timeline-deleteItem {
    display: none;
}