﻿/*///////////////////for Milestone////////////////////*/
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container-fluid.my-custom-container {
    margin: 0;
    padding: 0;
    width: 100%;
}
/*--for Milestone--*/
.timeline {
    position: relative;
    width: 100%;
}

.timeline-box {
    padding: 5px;
    width: 40%;
    height: 230px;
    position: relative;
    left: 5%;
    text-align: right;
}

    .timeline-box:nth-child(2n) {
        left: 53.5%;
    }

    .timeline-box:nth-child(2n+1)::after {
        right: -11.5%;
    }

    .timeline-box:nth-child(2n)::after {
        left: -8%;
    }

.timeline-container {
    padding: 8px;
}


#timeline-divider {
    position: absolute;
    width: 0;
    top: 3%;
    left: 50%;
    border: 2px dashed #7c3c20;
    height: 95%;
}

    #timeline-divider .timeline-traveller {
        position: absolute; /* not sticky */
        left: 50%;
        transform: translateX(-50%); /* center horizontally on the line */
        z-index: 2;
    }

        #timeline-divider .timeline-traveller i {
            transform: rotate(90deg); /* plane faces right */
            color: #2857a4;
            font-size: 28px; /* adjust size */
        }

.kwalitymile-s-sec {
    height: 400px;
    overflow: auto;
}

.kpl-kwalitymile-s {
    min-height: 100%;
}


.timeline-traveller {
    height: 110px;
}

/*///////////////////for Milestone////////////////////*/


section {
    margin: 0;
}

@media screen and (max-width: 900px) {

    div#kpl {
        display: none;
    }

    #mobilev {
        display: inherit !important;
    }

    .kwalitymile-s-content > p {
        width: 100% !important;
        padding: 0px 75px 0px 0px !important;
    }
}

#mobilev {
    display: none;
}

.mv .kwalitymile-s {
    max-width: none !important;
    width: 95% !important;
}





/*////////////////////MileStone End/////////////////////////*/

@media screen and (max-width: 900px) {

    div#kpl {
        display: none;
    }

    #mobilev {
        display: inherit !important;
    }

    .kwalitymile-s-content > p {
        width: 100% !important;
        padding: 0px 75px 0px 0px !important;
    }
}

#mobilev {
    display: none;
}

.mv .kwalitymile-s {
    max-width: none !important;
    width: 95% !important;
}


/*/////////////////////////////////////////////////////*/





/*----Milestone*/
.kwalitymile-s-sec {
    float: left;
    width: 100%;
    padding: 30px 0px;
    position: relative;
    background-image: url('https://www.kwalitypharma.com/images/mile-bg.jpg');
    background-repeat: repeat;
    background-position: center;
    background-size: 180px;
}

.kwaliti-kpl h1 {
    text-align: center;
    width: 100%;
    font-size: 34px;
    color: #7c3c20;
    padding: 18px 0 0;
    text-shadow: 0px 2px 2px #cc835e;
}

.kwaliti-kpl {
    float: left;
    width: 100%;
    padding: 10px 0px 30px 0px;
}

.kwalitymile-s-right .kwalitymile-s-content .kwalitymile-s-year {
    left: -48px;
}

div.kpl-kwalitymile-s {
    float: left;
    width: 100%;
    padding: 0 0px;
}

.kwalitymile-s-sec .kwalitymile-s {
    background: #ec823b none repeat scroll 0 0;
    color: #ffffff;
    display: inline-block;
    float: left;
    margin: 0 0 63px auto;
    max-width: 410px;
    min-height: 100px;
    padding: 15px 15px 15px 12px;
    position: relative;
    width: 100%;
    border-radius: 8px;
}

.kwalitymile-s-right .kwalitymile-s {
    float: right;
}

.kwalitymile-s-content > p {
    display: table-cell;
    float: none;
    /* font-family: 'DINPro-Light'; */
    font-size: 16px;
    line-height: 17px;
    margin: 0;
    text-align: left;
    vertical-align: middle;
    width: 344px;
    padding: 0px 15px 0px 0px;
}

.kwalitymile-s-content {
    display: table;
    height: 84px;
    width: 100%;
}

.kwalitymile-s-right .kwalitymile-s-content > p {
    padding: 0 0 0 70px;
    width: 100%;
}

.kwalitymile-s-year {
    border: 8px solid #cc5b11;
    font-size: 21.5px;
    box-sizing: content-box;
    height: 100px;
    position: absolute;
    right: -48px;
    top: -12px;
    border-radius: 100%;
    width: 100px;
    z-index: 1;
    margin-top: 10px;
    /* transform: rotate(45deg); */
    /* -webkit-transform: rotate(45deg); */
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    background: rgb(236,130,59);
    background: -moz-linear-gradient(45deg, rgba(236,130,59,1) 0%, rgba(234,103,16,1) 47%, rgba(234,103,16,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(236,130,59,1) 0%,rgba(234,103,16,1) 47%,rgba(234,103,16,1) 100%);
    background: linear-gradient(45deg, rgba(236,130,59,1) 0%,rgba(234,103,16,1) 47%,rgba(234,103,16,1) 100%);
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ec823b', endColorstr='#ea6710',GradientType=1 );*/
}

    .kwalitymile-s-year strong {
        position: absolute;
        right: 35px;
        top: 10px;
        /*transform:rotate(-45deg) !important;
        transform:rotate(-45deg) !important;
        -webkit-transform:rotate(-45deg) !important;
        -ms-transform:rotate(-45deg) !important;
        -o-transform:rotate(-45deg) !important;*/
        z-index: 9;
    }


.kwalitymile-s img.shadow-bot {
    position: absolute;
    bottom: -71px;
    left: 0 !important;
}

.kwalitymile-s-right .kwalitymile-s img.shadow-bot {
    right: 0;
    left: auto;
}

.kwalitymile-s.red {
    background: #7c3c20;
}

.kwalitymile-s-year.red {
    background: rgb(242,130,91);
    background: -moz-linear-gradient(45deg, rgba(242,130,91,1) 0%, rgba(124,60,32,1) 0%, rgba(124,60,32,1) 50%, rgba(79,47,0,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(242,130,91,1) 0%,rgba(124,60,32,1) 0%,rgba(124,60,32,1) 50%,rgba(79,47,0,1) 100%);
    background: linear-gradient(45deg, rgba(242,130,91,1) 0%,rgba(124,60,32,1) 0%,rgba(124,60,32,1) 50%,rgba(79,47,0,1) 100%);
    /* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2825b', endColorstr='#4f2f00',GradientType=1 );*/
    border-color: #5d2810;
}

.kwalitymile-s {
    background: #3b4094;
    background: -moz-linear-gradient(top, #3b4094 0%, #252a80 100%);
    background: -webkit-linear-gradient(top, #3b4094 0%,#252a80 100%);
    background: linear-gradient(to bottom, #3b4094 0%,#252a80 100%);
    /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3b4094', endColorstr='#252a80',GradientType=0);*/
}

.section-1 {
    margin: 28px 0 0;
}

    .section-1 .kwalitymile-s:last-child {
        margin: 0 0px 41px auto;
    }

.content-section {
    float: left;
    padding: 70px 60px 30px;
    width: 100%;
    position: relative
}

    .content-section .left-sec {
        margin: 0 0 25px;
        padding: 0 46px 0 28px;
    }


.section-1.col-lg-6.col-md-6.col-sm-6.col-xs-12.kwalitymile-s-left {
    float: left;
}

.section-1.col-lg-6.col-md-6.col-sm-6.col-xs-12.kwalitymile-s-right {
    float: right;
}


@media screen and (max-width: 900px) {
    .section-1.col-lg-6.col-md-6.col-sm-6.col-xs-12.kwalitymile-s-left {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .section-1.col-lg-6.col-md-6.col-sm-6.col-xs-12.kwalitymile-s-right {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}


@media screen and (max-width: 460px) {
    .section-1 {
        margin: 0px -20px 0px -25px;
    }
}


/*///////////////////////////////////////////////////////*/


/* Opacity #2 */
.hover12 figure {
    background: #ec823b;
}

    .hover12 figure img {
        opacity: 1;
        -webkit-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
    }

    .hover12 figure:hover img {
        opacity: .5;
    }

    /*////////////////////////////////////////////////*/

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border: 3px #ec823b;
}

thead th:nth-child(1) {
    width: 12%;
}

thead th:nth-child(2) {
    width: 58%;
}

thead th:nth-child(3) {
    width: 30%;
}

th,
td {
    padding: 20px;
}

thead th,
tfoot th {
    font-family: "Rock Salt", cursive;
}


tbody td {
    text-align: center;
}

tfoot th {
    text-align: center
}

tbody tr:nth-child(odd) {
    background-color: #7c3c20;
    color: #B5C99A;
    border: 3px #ec823b;
}

tbody tr:nth-child(even) {
    background-color: #ec823b;
    color: #263A29;
    border: 3px #7c3c20;
}

tbody tr {
}

table {
    background-image: url(https://www.kwalitypharma.com/images/mile-bg.jpg);
}

tr:hover {
    color: #000000;
    font-weight: bold;
    background-image: url(https://www.kwalitypharma.com/images/mile-bg.jpg);
}

caption {
    font-size: 2em;
    color: #ec823b;
    text-align: center
}



/*//////////////////////////////////////////////*/

.modal-body {
    text-align: center;
}

.popximg {
    max-width: 100%;
    max-height: 100vh;
    margin: auto;
    display: block;
}

/*///////////////////////////////////////////////*/

img.logoxpt {
    width: 70px;
    position: absolute;
    z-index: 999;
    top: 41px;
}

@media screen and (max-width: 990px) {
    img.logoxpt {
        display: none;
    }
}

@media screen and (max-width: 760px) {
    .top-bb {
        display: none !important;
    }

    #marquee {
        display: none !important;
    }

    li.nav-item {
        padding: 0px 10px 5px 10px;
    }

    ul.navbar-nav.mr-auto {
        flex: none;
        flex-direction: inherit;
    }
}

/*/////////////////////////////////////////////*/

/* -----Milestone*/
@media screen and (max-width: 900px) {

    div#kpl {
        display: none;
    }

    #mobilev {
        display: inherit !important;
    }

    .kwalitymile-s-content > p {
        width: 100% !important;
        padding: 0px 75px 0px 0px !important;
    }
}

#mobilev {
    display: none;
}

.mv .kwalitymile-s {
    max-width: none !important;
    width: 95% !important;
}