﻿.nd-all-pages .content.trips-page {
    width: 100%;
    padding-left: 20px;
    padding-right: 32px;
    max-width: 100%;
}

    .trips-page > div {
        width: 100%;
    }

    .trips-page .trips {
        border: none;
        background:#F9FAFB;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .trips-page .dropdown .drop-menu .chk-area.chk-checked {
        border: none;
    }

    .trips-page .chk-area.customForm-class-type3 span {
        left: -5.5px
    }

.trips-page .dropdown .dropdown-toggle:before {
    position: absolute;
    background-image: url(../../Images/newDesign/TriangleSmallDown.svg);
    background-repeat: no-repeat;
    background-position: left;
    width: 24px;
    height: 24px;
    background-color: white;
    border-color: white;
    margin: 0;
    top: 11px;
    right: 6px;
    border: none;
}

    .trips-page .trips .calendar-filter {
       // margin-top: 94px;
       margin-top: 0px;
        padding: 0px;
        background: transparent;
    }

            .trips-page .trips .calendar-filter h3 {
                float: none;
                display: block;
                font-family: NotoSans;
                font-size: 20px;
                font-weight: 400;
                line-height: 28px;
                letter-spacing: 0px;
                text-align: left;
                margin-bottom: 23px;
            }

            .trips-page .trips .calendar-filter.style2 .cols {
                margin: 0;
            }

            .trips-page .trips .calendar-filter.style2 .block {
                width: 100%;
            }

                .trips-page .trips .calendar-filter.style2 .block cols {
                    margin: 0;
                    width: 100%;
                }

                .trips-page .trips .calendar-filter.style2 .block > .cols > .col:first-child {
                    width: 100%;
                }

                .trips-page .trips .calendar-filter.style2 .block > .cols > .col {
                    padding: 0;
                }

            .trips-page .trips .calendar-filter.style2 .cols .col, 
            .trips-page .expenses .calendar-filter.style2 .cols .col {
                width: 100%;
    
                padding-left: 0px;
                padding-right: 0px;
                height: 100%;
            }


            .trips-page .trips .calendar-filter.style2 .cols .col .cols .col.after {
                position: relative;
            }

                .trips-page .trips .calendar-filter.style2 .cols .col .cols .col.after:after {
                    content: '';
                    position: absolute;
                    background-image: url('../../Images/newDesign/TriangleSmallDown.svg');
                    background-repeat: no-repeat;
                    background-position: left;
                    background-color: white;
                    right: 1px;
                    top: 16px;
                    width: 31px;
                    height: 15px;
                    cursor: pointer;
                }

           

                .trips-page .trips .calendar-filter.style2 .cols .col .cols .col .form-control::placeholder,
                .trips-page .calendar-filter.style2 .cols .col:not(.border-tag-tasks-task-types) table tbody tr td input.form-control::placeholder {
                    color: transparent;
                }

                .trips-page .trips .calendar-filter.style2 .cols .col .cols .col .form-group,
                .trips-page .trips .calendar-filter.style2 .cols .col .cols .col table, .trips-page .trips .calendar-filter.style2 .cols .col .cols .col span {
                    height: 100%;
                }

            .trips-page .trips .calendar-filter.style2 .cols .cols {
                display: grid;
                grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
                grid-gap: 24px;
                margin: 0;
                height: 48px;
            }

                .trips-page .trips .calendar-filter.style2 .cols .cols:nth-child(2) {
                    padding-top: 16px;
                }

    .trips-page .calendar-block .heading-block {
        display: flex;
        margin-top: 96px;
        margin-bottom: 24px;
    }


.trips-page .trips .calendar-filter.style2 .btn-box{
    padding-top: 9px;
    padding-left: 30px;
}
.trips-page .trips .calendar-filter.style2 .export-excel-btn {
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   margin: 0px;
}

.trips-page .trips .calendar-filter.style2 .btn:not(.export-excel-btn) {
    //bottom: -99px;
    //right: 0px;
    //margin-right: 0px;
    position: initial;
}

    .trips-page .trips .calendar-filter.style2 .cols .col .cols .col span table tbody tr td input {
        padding-right: 44px;
    }

    .trips-page .calendar-block .heading-block.type2 h3 {
        width: auto;
        font-family: NotoSans;
        font-size: 20px;
        font-weight: 400;
        line-height: 28px;
        letter-spacing: 0px;
        text-align: left;
    }

        .trips-page .calendar-block .heading-block.type2 h3 span {
            font-family: NotoSans;
            font-size: 16px;
            font-weight: 400;
            line-height: 20px;
            letter-spacing: 0px;
            text-align: left;
        }

    .trips-page .toggle-cols {
        background: white;
    }

.trips-page .calendar-block .calendar-holder {
    margin: 0px;
}

    .trips-page .calendar-block .calendar-holder > .table > div > table > thead > tr,
    .trips-page .calendar-holder > .table > div > table > tbody > tr {
        padding-left: 25px;
        display: grid;
        grid-template-columns: 0% 9% 6.5% 18% 6% 14% 9% 11% 9% 5% 5% 6%;
        background: white;
        height: 75px;
    }

        .trips-page .calendar-holder > .table > div > table > tbody > tr {
            display: none;
        }

            .trips-page .calendar-holder > .table > div > table > tbody > tr:first-child {
                display: grid;
            }


            .trips-page .calendar-block .calendar-holder > .table > div > table > tbody > tr:first-child {
                border-top-left-radius: 8px;
                border-top-right-radius: 8px;
            }

        .trips-page .calendar-block  .calendar-holder > .table > div > table > tbody > tr:last-child {
            border-bottom-left-radius: 8px;
            border-bottom-right-radius: 8px;
        }

.trips-page table tbody .itemRow {
    position: relative;
}

.trips-page table tbody .itemRow td {
    padding: 0;
}

    .trips-page table tbody .itemRow:not(:last-child) td {
        border-bottom: 1px solid #d0d4d3;
    }

        .trips-page table tbody .itemRow td.infotd a.infobtn {
            background: url('../../Images/newDesign/Travel Status.svg');
            font-size: 0px;
        }

        .trips-page .form-group .custom-combobox .custom-combobox-input {
            padding-left: 15px;
        }

    .trips-page .custom-combobox .custom-combobox-toggle {
       // right: 6px;
    }

.trips-page table tbody tr th,
.trips-page table tbody tr th a,
.trips-page table thead tr th,
.trips-page table thead tr th a,
.table table th:nth-child(10),
.table table th:nth-child(11),
.table table th:nth-child(12),
.table table th:nth-child(13) {
    background: white;
    font-family: NotoSans;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
    color: #343440 !important;
    width: 100% !important;
}

    .trips-page .table table td:nth-child(1n), .trips-page .table table td .flex {
        display: flex;
        align-items: center;
        width: 100%;
        height: 100%;
    }

.trips-page .table-search table tbody tr:not(:last-child) td {
    border-bottom: 1px solid #d0d4d3;
}

    .trips-page table tbody .itemRow td, .trips-page table tbody .itemRow td p {
        background: white;
        font-family: NotoSans;
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: 0px;
        text-align: left;
        color: #343440;
    }

        .trips-page table tbody .itemRow td:nth-child(2) {
            text-decoration: none !important;
            color: #485879;
        }
.trips-page .calendar-block  .calendar-holder > .table > div > table > thead > tr:first-child th,
.trips-page table tbody tr:first-child th {
    padding-top: 32px;
}

    .trips-page table tbody tr th a, .trips-page table tbody tr th {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .trips-page .table .task-progress > li {
        background: #BFBFBF;
        border-radius: 4px;
        width: 12px;
        height: 8px;
    }

    .trips-page .table .task-progress > li.active {
        background: #4D8063;
    }

.trips-page .table-search .task-progress > li {
    background: #BFBFBF;
    border-radius: 4px;
    width: 16px;
    height: 8px;
}

    .trips-page .table-search .task-progress > li.active {
        background: #4D8063;
    }

.trips-page .table-search td .popup-holder.popup-goto a {
    border: 0;
    padding: 0;
    background-image: url('../../Images/newDesign/Expenses/GoTo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 20px;
    height: 20px;
}

.trips-page .flex {
    display: flex;
}

.trips-page .fixedwidthellipsis {
    top: 0;
}

.trips-page .table table tbody tr:nth-child(10n) + tr td {
    border-top: none;
}


.trips-page .show-next {
    background: white;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-family: NotoSans;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0px;

    text-decoration: underline;
    cursor: pointer;
    color: #485879
}

.trips-page .dropdown .dropdown-toggle,
.trips-page .calendar-filter.style2 .cols .col .cols table tbody tr td input.form-control,
.trips-page .trips .calendar-filter.style2 .cols .col .cols .col .form-control {
    width: 100%;
    height: 48px;
    border: 1px solid #B1B8C2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-family: NotoSans;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
    padding-left: 15px;
}

.trips-page .calendar-filter.style2 .cols > .col:first-child .col {
    width: 100%;
    padding: 0;
}

.trips-page .calendar-filter.style2 .cols .col .cols table {
    margin-right: 0;
    height: 48px;
}

.trips-page .btn-goto.opener {
    border: 0;
    padding: 0;
    background-image: url('../../Images/newDesign/Expenses/GoTo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 20px;
    height: 20px;
    font-size: 0;
    border: none;
}

.trips-page .btn-more.opener {
    font-size: 0;
    line-height: 0;
    width: 7px;
    height: 7px;
    padding: 3px 11px;
    display: inline-block;
    vertical-align: top;
    margin-top: 4px;
    border: none;
}

.trips-page td.infotd > .infobtnwrapper {
    width: 24px;
    height: 24px;
}

    .trips-page .infotd .infobtnwrapper a {
        padding: 0;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #485879;
        margin:0px;
        border: none;
       // border: 2px solid #485879;
    }

.trips-page .calendar-block .toogle-cols {
    border-radius: 8px;
    box-shadow: 0px 1px 1px 0px #7D97AE1A;
    box-shadow: 0px 1px 1px 0px #7D97AE29;

}


.trips-page td.infotd > .infopopupwrapper > .events-popup.infopopup,
.trips-page td > .popup-js.popup-holder > .events-popup,
.nd-all-pages td.infotd > .infopopupwrapper > .events-popup.infopopup,
.nd-all-pages td > .popup-js.popup-holder > .events-popup {
    border: none;
    width: 100%;
    box-shadow: 0px 8px 16px rgb(125 151 174 / 12%), 0px 2px 6px rgb(125 151 174 / 4%), 0px 0px 1px rgb(125 151 174 / 4%), 0px -8px 16px rgb(125 151 174 / 12%), 0px -2px 6px rgb(125 151 174 / 4%), 0px 0px 1px rgb(125 151 174 / 4%);
}

.trips-page td.infotd > .infopopupwrapper > .events-popup.infopopup {
    left: 0;
    right: initial;
}

.nd-all-pages .events-popup.type2 .table-popup * {
    font-family: "NotoSans"
}

.trips-page td > .popup-js.popup-holder > .events-popup,
.nd-all-pages td > .popup-js.popup-holder > .events-popup {
    border-left: 8px solid #2384c6;
}

    .trips-page td > .popup-js.popup-holder > .events-popup .event-heading,
    .nd-all-pages td > .popup-js.popup-holder > .events-popup .event-heading {
        background: white !important;
        margin: 0px;
        padding-left: 0px;
    }

        .trips-page td > .popup-js.popup-holder > .events-popup .event-heading > h3,
        .nd-all-pages td > .popup-js.popup-holder > .events-popup .event-heading > h3 {
            color: #343440;
            font-family: NotoSans;
            font-size: 18px;
            font-weight: 600;
            width: 100%
        }

    .trips-page td > .popup-js.popup-holder > .events-popup:before,
    .nd-all-pages td > .popup-js.popup-holder > .events-popup:before {
        text-shadow: none;
        right: 21px;
        top: -8px;
        /*rotate: 180deg;*/
        transform: rotate(180deg);
    }

.trips-page td.infotd .infopopupwrapper > .events-popup.infopopup:before,
.nd-all-pages td.infotd .infopopupwrapper > .events-popup.infopopup:before {
    right: 76px;
    text-shadow: none;
    content: '';
}

.nd-all-pages .new-approvals-page td > .popup-js.popup-holder > .events-popup {
    padding: 12px;
}


.trips-page td.infotd .infopopupwrapper > .events-popup.infopopup > .table-popup > table > tbody > tr {
    display: grid;
    grid-template-columns: 1fr repeat(6,3fr);
    grid-column-gap: 24px;
    border: none;
}

    .trips-page td.infotd  .infopopupwrapper > .events-popup.infopopup > .table-popup > table > tbody > tr > * {
        display: flex;
        padding: 0;
        margin: 0px;
        width: 100%;
    }

    .trips-page td.infotd  .infopopupwrapper > .events-popup.infopopup > .table-popup > table > tbody > tr:first-child > * {
        min-height: 42px;
        align-items: center;
    }

    .trips-page td.infotd  .infopopupwrapper > .events-popup.infopopup > .table-popup > table > tbody > tr:not(:first-child) > * {
        min-height: 26px;
        align-items: center;
        margin-bottom: 8px;
    }

   

        @media(max-width: 1650px) {
            .trips-page table tbody .itemRow td, .trips-page table tbody .itemRow td .flex, .trips-page table tbody .itemRow td div p {
        font-size: 14px;
    }
}

@media(max-width: 1600px) {
    .trips-page table tbody tr:first-child th, .trips-page table tbody tr:first-child th a {
        font-size: 16px;
        white-space: normal;
    }
}

@media(max-width: 1560px) {
    .trips-page .calendar-block .calendar-holder > .table > div > table > tbody > tr {
        grid-template-columns: 0% 10% 8% 18% 7% 14% 9% 9% 9% 5% 5% 4%
    }
}

.trips-page table tbody tr th a, .trips-page table thead tr th {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    .trips-page table thead tr th a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

