﻿@import url('responsive/colors.css');

.top-menu,
.mobile-footer-links {
    display: none;
}


/*DataTables*/

    /*Grid View */

    .section_grid {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 10px
}



header, footer {
    width: 100%;
    text-align: center;
    align-content: center;
    display: table;
}
header {
    top: 0;
}
footer {
    width: 100%;
    bottom: 0;
    font-size: 10px;
    vertical-align: top;
    padding: 10px;
    margin-bottom:10px;
}

@media print {
    footer {
        position: fixed;
    }
    .content-block, p {
        page-break-inside: avoid;
    }

    html, body {
        width: 210mm;
        height: 297mm;
    }
}

    .span-link {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1;
        /* fixes overlap error in IE7/8, 
     make sure you have an empty gif */
        background-image: url('empty.gif');
    }


    .notification-count {
        top: 14px;
        position: relative;
        cursor: pointer;
    }

    .popover {
        width: 500px;
        cursor: pointer;
        color: orangered;
    }

    .phoneframe {
        padding: 5px;
        background: url('../images/phone.jpg') no-repeat;
        height: 350px;
        width: 160px;
    }

    .msgpreview {
        margin: 45px 0 0 20px;
        color: #fff;
        width: 120px;
        height: 200px;
        overflow: auto;
        font-size: 11px;
    }



    /*
 * Page: Login & Register
 * ----------------------
 */
    .login-logo,
    .register-logo {
        font-size: 35px;
        text-align: center;
        margin-bottom: 25px;
        font-weight: 300;
    }

        .login-logo a,
        .register-logo a {
            color: #444;
        }

    .login-page,
    .register-page {
        background: #d2d6de;
    }

    .login-box,
    .register-box {
        width: 360px;
        margin: 7% auto;
    }

    @media (max-width: 768px) {
        .login-box,
        .register-box {
            width: 90%;
            margin-top: 20px;
        }
    }

    .login-box-body,
    .register-box-body {
        background: #fff;
        padding: 20px;
        border-top: 0;
        color: #666;
    }

        .login-box-body .form-control-feedback,
        .register-box-body .form-control-feedback {
            color: #777;
        }

    .login-box-msg,
    .register-box-msg {
        margin: 0;
        text-align: center;
        padding: 0 20px 20px 20px;
    }

    .helpinfo,
    .inlinehelp {
        color: brown;
        padding-bottom: 5px !important;
    }

    .helpinfo {
        margin-bottom: 0 !important;
    }

    .inlinehelp {
        font-size: 12px;
        color:brown;
    }

    .social-auth-links {
        margin: 10px 0;
    }



    .app-header.navbar .logo i {
        width: 50px;
        height: 30px;
        float: left;
        background: url('../images/sacc/sacc.svg') no-repeat center center;
        /*background-image: url('../libsacc/sacc.svg');*/
        /*animation: fa-spin 5s infinite linear reverse;*/
    }


    .app-header.navbar .logo b {
        float: left;
        margin-left: 4px;
    }

    /* Loading Style buttons Animation */
    @-webkit-keyframes ld {
        0% {
            transform: rotate(0deg) scale(1);
        }

        50% {
            transform: rotate(180deg) scale(1.1);
        }

        100% {
            transform: rotate(360deg) scale(1);
        }
    }

    @-moz-keyframes ld {
        0% {
            transform: rotate(0deg) scale(1);
        }

        50% {
            transform: rotate(180deg) scale(1.1);
        }

        100% {
            transform: rotate(360deg) scale(1);
        }
    }

    @-o-keyframes ld {
        0% {
            transform: rotate(0deg) scale(1);
        }

        50% {
            transform: rotate(180deg) scale(1.1);
        }

        100% {
            transform: rotate(360deg) scale(1);
        }
    }

    @keyframes ld {
        0% {
            transform: rotate(0deg) scale(1);
        }

        50% {
            transform: rotate(180deg) scale(1.1);
        }

        100% {
            transform: rotate(360deg) scale(1);
        }
    }

    .loading {
        position: relative;
        opacity: .8;
        color: transparent !important;
        text-shadow: none !important;
    }

        .loading:hover,
        .loading:active,
        .loading:focus {
            cursor: default;
            color: transparent;
            outline: none !important;
            box-shadow: none;
        }

        .loading:before {
            content: '';
            display: inline-block;
            position: absolute;
            background: transparent;
            border: 1px solid #fff;
            border-top-color: transparent;
            border-bottom-color: transparent;
            border-radius: 50%;
            box-sizing: border-box;
            top: 50%;
            left: 50%;
            margin-top: -12px;
            margin-left: -12px;
            width: 24px;
            height: 24px;
            -webkit-animation: ld 1s ease-in-out infinite;
            -moz-animation: ld 1s ease-in-out infinite;
            -o-animation: ld 1s ease-in-out infinite;
            animation: ld 1s ease-in-out infinite;
        }

    .btn-default.loading:before {
        border-left-color: #333333;
        border-right-color: #333333;
    }

    .btn-lg.loading:before {
        margin-top: -16px;
        margin-left: -16px;
        width: 32px;
        height: 32px;
    }

    .btn-sm.loading:before {
        margin-top: -9px;
        margin-left: -9px;
        width: 18px;
        height: 18px;
    }

    .btn-xs.loading:before {
        margin-top: -7px;
        margin-left: -7px;
        width: 14px;
        height: 14px;
    }


    .b-r {
        border-right: 1px solid #e7eaec;
    }

    .hr-line-dashed {
        border-top: 1px dashed #e7eaec;
        color: #ffffff;
        background-color: #ffffff;
        height: 1px;
        margin: 20px 0;
    }

    .hr-line-solid {
        border-bottom: 1px solid #e7eaec;
        background-color: rgba(0, 0, 0, 0);
        border-style: solid !important;
        margin-top: 15px;
        margin-bottom: 15px;
    }


    @keyframes speciallinksanimation {
        0% {
            background-color: green;
            left: 0px;
            top: 0px;
        }

        50% {
            background-color: yellow;
            left: 10px;
            top: 0px;
        }
        /*50% {
        background-color: blue;
        left: 20px;
        top: 20px;
    }

    75% {
        background-color: green;
        left: 0px;
        top: 20px;
    }*/

        100% {
            background-color: grey;
            left: 0px;
            top: 0px;
        }
    }


    .iacdtail {
        color: brown;
        font-weight: 200;
    }

        .iacdtail:hover {
            color: var(--theme-primary);
            outline: none;
            text-decoration: underline;
        }

    .speciallink a {
        /* color: brown;

    width: 10px;
    height: 10px;*/
        position: relative;
        animation-name: speciallinksanimation;
        animation-duration: 1s;
    }

    .required:after {
        content: "*";
        font-weight: bold;
        color: red;
    }

    .top-buffer {
        margin-top: 15px;
        padding: 5px 10px 5px 10px;
    }

    .numericCol {
        text-align: right;
    }

    .detail-lbl {
        font-weight: bold;
        padding-left: 5px;
        padding-right: 5px;
    }


    .pgheaderval {
        padding-left: 20px;
    }



    .sum {
        text-align: right !important;
    }

    .txt {
        text-align: left !important;
    }

    table tbody tr td {
        padding: 2px !important;
    }

    .table-bordered-solid > tbody > tr > td {
        border: 1px solid !important;
        height: 1px !important;
    }

    .table-bordered-solid th {
        border: 1px solid !important;
        background-color: #F5F5F6;
    }







    .invoice-total > tbody > tr > td:last-child {
        border-bottom: 1px solid #DDDDDD;
        text-align: right;
        width: 15%;
    }


    .saccreceipt {
        height: 100px;
        border-collapse: separate;
        border: 1px solid !important;
        border-radius: 6px;
        -moz-border-radius: 6px;
    }

        .saccreceipt th {
            border: 1px solid !important;
            height: 1px;
        }

        .saccreceipt td {
            border-right: solid 1px;
            border-left: solid 1px;
        }


    .invinfo {
        font-size: 11px;
        vertical-align: top;
        border: none !important;
        padding: 2px
    }

    .invfooter {
        font-size: 10px;
        vertical-align: top;
        padding: 10px;
    }



    .revdetail {
        font-size: 12px;
        padding-left: 10px;
    }

    .saccinvoice {
        height: 200px;
        border-collapse: separate;
        border: 1px solid !important;
    }

        .saccinvoice th {
            border: 1px solid !important;
            height: 1px;
        }

        .saccinvoice td {
            border: solid 1px;
        }

    .itemdetail {
        display: block;
        font-size: 11px;
        padding-left: 10px;
    }
    /* Column widths are based on these cells */
    .row-date {
        width: 10%;
    }

    .row-item {
        width: 55%;
    }

    .row-qty {
        width: 8%;
    }

    .row-price {
        width: 12%;
    }

    .row-subtotal {
        width: 15%;
    }

    .row-totals {
        font-weight: 600;
        text-decoration: underline;
    }


    /*Printing CSS*/


    @page {
        size: A4;
        margin: 0;
    }

    @media print {

        body {
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
            background-color: #FAFAFA;
            font: 12pt "Tahoma";
        }

        * {
            box-sizing: border-box;
            -moz-box-sizing: border-box;
        }

        .page {
            width: 210mm;
            min-height: 297mm;
            /*padding: 20mm;*/
            padding: 0;
            /*margin: 10mm auto;*/
            margin: 0;
            /*border: 1px #D3D3D3 solid;
    border-radius: 5px;*/
            position: relative;
            border: 0px;
            background: white;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        }

        .subpage {
            padding: 1cm;
            border: 5px red solid;
            height: 257mm;
            outline: 2cm #FFEAEA solid;
        }

        html, body {
            width: 100%;
            height: 297mm;
            margin: 0;
            box-shadow: 0;
            /*overflow: visible !important;
        float: none;*/
        }


        .content {
            margin: 0;
            border: initial;
            border-radius: initial;
            width: initial;
            min-height: initial;
            box-shadow: initial;
            background: initial;
            page-break-after: always;
        }

        body {
            background: rgb(204,204,204);
        }

        page {
            background: white;
            display: block;
            margin: 0 auto;
            margin-bottom: 0.5cm;
            box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
        }

            page[size="A4"] {
                width: 21cm;
                height: 29.7cm;
            }

                page[size="A4"][layout="portrait"] {
                    width: 29.7cm;
                    height: 21cm;
                }

            page[size="A3"] {
                width: 29.7cm;
                height: 42cm;
            }

                page[size="A3"][layout="portrait"] {
                    width: 42cm;
                    height: 29.7cm;
                }

            page[size="A5"] {
                width: 14.8cm;
                height: 21cm;
            }

                page[size="A5"][layout="portrait"] {
                    width: 21cm;
                    height: 14.8cm;
                }
    }


    .dataTables_scrollBody thead {
        visibility: hidden;
    }

    .group {
        background-color: #333 !important;
        font-size: 12px;
        color: #fff !important;
        opacity: 0.7;
        text-transform: capitalize;
    }

    .hidden {
        display: none;
    }


    /*//Customised form*/
    @media (min-width: 1280px) {

        .companyinfo {
            color: #fff;
            border-bottom: 0 solid transparent;
            float: left;
            margin-left: 20%;
            font-family: 'Bookman Old Style' !important;
            text-align: center;
            display: compact;
        }

            .companyinfo .coname {
                /*background-color: #246C75;*/
                font-size: 14px !important;
            }

            .companyinfo .coaddress {
                /*background-color: #246C75; */
                font-size: 9px !important;
            }
    }

    @media (max-width: 1280px) {


        .companyinfo {
            display: none;
        }
    }




    tb_collateral {
        width: 100%;
        color: brown
    }


        tb_collateral thead th {
            text-transform: uppercase;
            border: 1px solid;
        }

        tb_collateral tbody td:first-child,
        tb_collateral tbody th:first-child {
            display: none;
        }







    #tb_grp td:first-child {
        display: none;
    }

    #tb_grp td {
        text-align: left;
    }


    #tb_col td:first-child {
        display: none;
    }



    #tb_col td {
        text-align: right;
    }

        #tb_col td:nth-child(2) {
            text-align: left;
        }

    #tb_summary tr td {
        border: 1px solid;
        height: 1px;
    }

    #tb_summary td:not(:nth-child(1)) {
        text-align: right;
    }

    #tb_summary .footerrow {
        font-weight: 600;
        text-decoration: double;

    }

    #tb_summary .footercolumn {
        font-weight: 600;
        text-decoration: double;
    }


    /*Rotate Headers*/
.rotate {
    /* Something you can count on */
    height: 90px;
    white-space: normal;
    transform: rotate(310deg);
    border: 1px solid;
    text-align: center;
    background: none !important
}

    .norotate {
        /* Something you can count on */
        height: 90px;
        white-space: normal;
        border: 1px solid;
        text-align: center;
    }

    .swal2-confirm {
        background-color: var(--theme-primary) !important;
    }

    .form-group .select2-container {
        position: relative;
        z-index: 2;
        float: left;
        width: 100%;
        margin-bottom: 0;
        display: table;
        table-layout: fixed;
    }
    
    
    /* COLORS */
    .text-navy {
        color: #1ab394 !important;
    }

    .text-white {
        color: #ffffff;
    }

    /*Required Fields*/


    .requiredfield {
        border: solid,1px;
        border-color: #dd4b39;
        color: #dd4b39;
    }



    .required:after {
        content: " *";
        color: red;
    }


    .asterisk_input::after {
        content: " *";
        color: #e32;
        position: absolute;
        margin: 0px 0px 0px -20px;
        font-size: xx-large;
        padding: 0 5px 0 0;
    }


    /* MAILBOX */
    .mail-box {
        background-color: #ffffff;
        border: 1px solid #e7eaec;
        border-top: 0;
        padding: 0;
        margin-bottom: 20px;
    }

    .mail-box-header {
        background-color: #ffffff;
        border: 1px solid #e7eaec;
        border-bottom: 0;
        padding: 30px 20px 20px 20px;
    }

        .mail-box-header h2 {
            margin-top: 0;
        }

    .mailbox-content .tag-list li a {
        background: #ffffff;
    }

    .mail-body {
        border-top: 1px solid #e7eaec;
        padding: 20px;
    }

    .mail-text {
        border-top: 1px solid #e7eaec;
    }

        .mail-text .note-toolbar {
            padding: 10px 15px;
        }

    .mail-body .form-group {
        margin-bottom: 5px;
    }

    .mail-text .note-editor .note-toolbar {
        background-color: #F9F8F8;
    }

    .mail-attachment {
        border-top: 1px solid #e7eaec;
        padding: 20px;
        font-size: 12px;
    }

    .mailbox-content {
        background: none;
        border: none;
        padding: 10px;
    }

    .mail-ontact {
        width: 23%;
    }

    .star-mail,
    .check-mail {
        width: 40px;
    }

    .unread td a,
    .unread td {
        font-weight: 600;
        color: inherit;
    }

    .read td a,
    .read td {
        font-weight: normal;
        color: inherit;
    }

    .unread td {
        background-color: #f9f8f8;
    }

    /* FILE MANAGER */
    .file-box {
        float: left;
        width: 220px;
    }

    .file-manager h5 {
        text-transform: uppercase;
    }

    .file-manager {
        list-style: none outside none;
        margin: 0;
        padding: 0;
    }

    .folder-list li a {
        color: #666666;
        display: block;
        padding: 5px 0;
    }

    .folder-list li {
        border-bottom: 1px solid #e7eaec;
        display: block;
    }

        .folder-list li i {
            margin-right: 8px;
            color: #3d4d5d;
        }

    .category-list li a {
        color: #666666;
        display: block;
        padding: 5px 0;
    }

    .category-list li {
        display: block;
    }

        .category-list li i {
            margin-right: 8px;
            color: #3d4d5d;
        }

        .category-list li a .text-navy {
            color: var(--theme-primary);
        }

        .category-list li a .text-primary {
            color: #1c84c6;
        }

        .category-list li a .text-info {
            color: #23c6c8;
        }

        .category-list li a .text-danger {
            color: #EF5352;
        }

        .category-list li a .text-warning {
            color: #F8AC59;
        }

    .file-manager h5.tag-title {
        margin-top: 20px;
    }

    .tag-list li {
        float: left;
    }

        .tag-list li a {
            font-size: 10px;
            background-color: #f3f3f4;
            padding: 5px 12px;
            color: inherit;
            border-radius: 2px;
            border: 1px solid #e7eaec;
            margin-right: 5px;
            margin-top: 5px;
            display: block;
        }

    .file {
        border: 1px solid #e7eaec;
        padding: 0;
        background-color: #ffffff;
        position: relative;
        margin-bottom: 20px;
        margin-right: 20px;
    }

    .file-manager .hr-line-dashed {
        margin: 15px 0;
    }

    .file .icon,
    .file .image {
        height: 100px;
        overflow: hidden;
    }

    .file .icon {
        padding: 15px 10px;
        text-align: center;
    }

    .file-control {
        color: inherit;
        font-size: 11px;
        margin-right: 10px;
    }

        .file-control.active {
            text-decoration: underline;
        }

    .file .icon i {
        font-size: 70px;
        color: #dadada;
    }

    .file .file-name {
        padding: 10px;
        background-color: #f8f8f8;
        border-top: 1px solid #e7eaec;
    }

    .file-name small {
        color: #676a6c;
    }

    .corner {
        position: absolute;
        display: inline-block;
        width: 0;
        height: 0;
        line-height: 0;
        border: 0.6em solid transparent;
        border-right: 0.6em solid #f1f1f1;
        border-bottom: 0.6em solid #f1f1f1;
        right: 0em;
        bottom: 0em;
    }

    a.compose-mail {
        padding: 8px 10px;
    }

    .mail-search {
        max-width: 300px;
    }

    .label-primary, .label-warning, .label-success {
        color: #fff !important;
        border: 0.1em solid transparent;
    }

    .label-warning {
        background-color: #f39c12 !important;
    }

    .label-success {
        background-color: #00a65a !important;
    }

    .label-primary {
        background-color: var(--theme-primary) !important;
    }

    /*
 * Page: Invoice
 * -------------
 */
    .invoice {
        position: relative;
        background: #fff;
        border: 1px solid #f4f4f4;
        padding: 20px;
        margin: 10px 25px;
    }

    .invoice-title {
        margin-top: 0;
    }


    /*
 * Misc: print
 * -----------
 */
    @media print {
        .no-print,
        .main-sidebar,
        .left-side,
        .main-header,
        .content-header {
            display: none !important;
        }

        .content-wrapper,
        .right-side,
        .main-footer {
            margin-left: 0 !important;
            min-height: 0 !important;
            -webkit-transform: translate(0, 0) !important;
            -ms-transform: translate(0, 0) !important;
            -o-transform: translate(0, 0) !important;
            transform: translate(0, 0) !important;
        }

        .fixed .content-wrapper,
        .fixed .right-side {
            padding-top: 0 !important;
        }

        .invoice {
            width: 100%;
            border: 0;
            margin: 0;
            padding: 0;
        }

        .invoice-col {
            float: left;
            width: 33.3333333%;
        }

        .table-responsive {
            overflow: auto;
        }

            .table-responsive > .table tr th,
            .table-responsive > .table tr td {
                white-space: normal !important;
            }
    }


