/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}


body {
    max-width: 100%;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

.navbar {
    border-radius: 0 !important;
}

.bg-green {
    background: #00c292 !important;
}

.nav-item a {
    padding: 20px 0;
    font-size: 20px;
    position: relative;
    color: #FFFFFF;
}

.main-menu-area {
    display: block !important;
}

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

td {
    vertical-align: middle !important;
}

th, td, tr {
    white-space: nowrap;
}

.error {
    margin-top: 5px;
    color: #d9534f;
}

.info-icon {
    margin-right: 3px;
}

.py-1 {
    padding: 1.5rem 0;
}

.py-2 {
    padding: 3rem 0;
}

.text-white {
    color: #ffffff;
}

.font-normal {
    font-weight: 500;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: 6rem;
}

.mb-3 {
    margin-bottom: 4.5rem;
}

.mb-2 {
    margin-bottom: 3rem;
}

.mb-1 {
    margin-bottom: 1.5rem;
}

.my-1 {
    margin: 1.5rem 0 ;
}

.detail-table tr td {
    width: 50% !important;
}

.d-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.card-px {
    padding: 0 10px;
}

.login {
    padding: 50px !important;
}

.nav .fa {
    line-height: 1.8;
}

.nav a {
    cursor: pointer;
}

.border {
    border: 1px solid #F6F8FA;
}

.vertical-center {
    margin-top: 20vh;
}

.justify-content-between {
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
}

.justify-content-end {
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: flex-end !important;
}

.justify-content-end {
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: end !important;
}

.mr-btn {
    margin-right: 10px;
}

.btn-row {
    margin-bottom: 10px;
}

.btn i, .alert i {
    margin-right: 5px;
}

.pt-0 {
    padding-top: 0;
}

.p-0 {
    padding: 0;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.no-gutters {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.pl-0 {
    padding-left: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.w-100 {
    width: 100%;
}

.normal-table-list .row {
    padding: 15px;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media (max-width: 1200px) {
    .bsc-tbl-st {
        overflow-x: scroll;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    .container {
        width: 750px !important;
    }

    .normal-table-list .card-px {
        padding: 0 !important;
    }
}

@media only screen and (max-width: 768px) {
    .card-px {
        padding: 0 !important;
    }

    .alert {
        text-align: center !important;
    }

    .sm-res-mg-t-30 {
         margin-top: 0 !important;
    }

    .welcome {
        text-align: center;
    }

    .card-px:not(:last-child) {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 300px) {
    .nav-tabs li {
        width: 100% !important;
    }

    .navbar h3 {
        font-size: 20px;
        text-align: left;
    }

    .nav-item {
        padding: 7px 0 0 0;
    }
}

@media (max-width: 767px) {
    .btn i.btn-icon {
        margin-right: 0;
    }

    .btn-text {
        display: none;
    }

    .btn-row {
        display: block !important;
    }

    .btn-row .btn {
        width: 100%;
    }

    .btn-row .btn:first-child {
        margin-bottom: 10px;
    }

    .footer {
        text-align: center;
    }

    .container {
        width: 90vw !important;
    }

    .nav-tabs li {
        width: 50%;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .card-px {
        padding: 0 !important;
    }

    .container {
        width: 90vw !important;
    }
}

@media (max-width: 1000px) {
    .invoice-sp, .bsc-tbl, .bsc-tbl-st, .bsc-tbl-bdr, .bsc-tbl-hvr, .bsc-tbl-cds, .bsc-tbl-cls {
        width: 100%;
        overflow-y: hidden;
    }
}


@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */

}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
