﻿/*==============================================================================
################################################################################
CAS Theme is made specifically for Philippine Skylander's Inc's Central Accounting System, 
An official project of DataReachSolutions Team.
How to use:
    1. Ctrl+F
    2. Find it then check if the class/html_tag you want to edit is available 
    3. If not, create one
    4. Make sure it falls under the right min-width dimension of the screen. 
        example for a tablet device: 
            @media (min-width: 768px) { 
                <class/tag>{
                        <insert style here>
                    }
            }
    5. #4 is there to handle different screen sizes. so if u want that same style on other screen sizes,
        Ctrl+F it. if it doesn't show up just make one for your desired screen size like in the first steps.
        Put them in ASCENDING ORDER if you're gonna make a new one.
        Convention in finding one:
            "SW<sizeinpixels>PX"
        Where:
            SW = stands for screen width
            PX = pixels
            sizeinpixels = a numerical value of screen width in pixels
        Example: 
            sw1024px
            > if you want to look for the css of devices with min screen width of 1024 pixels.
    6. If you're making a new one for different screen size, follow the commented part just before the styling starts:
        like this:
        /*==============================================================================
        ################################################################################
        START OF SW1024PX
        "/ 
        ( asterisk is just replaced here to not force-close this instructions/comment)
        so it would be easier to find later. 
        those pound signs are for those brave souls that tries to manually scroll this css file.
    7. Once done, end it appropriately with:
        /*
        END OF SW1024PX 
        ================================================================================"/ 
        Difference(s) on #6:
            1. no more pound ('#') signs at the 2nd line
================================================================================*/
/*==============================================================================
################################################################################
START OF GenCSS Vals
*/

/* Scrollbars */
.sidebar::-webkit-scrollbar {
    width: 0.45em;
    height: 100%;
}
.sidebar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(100,100,100,0.8);
    border-radius: 5px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(100,150,170,0.8);
}



@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  user-select: none;
  box-sizing: border-box;
  z-index: 0;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
}
html {
    /*background: white;*/
    background: rgba(244,244,244,1);
}
body {
    /*background: white;*/
    background: rgba(244,242,244,1);
}

.main-content{
    margin-top: -32px;
    margin-left: 132px;
}



/* pagination */
.nav-pagination {
    display: block;
    z-index: -10;
}


.nav-pagination *{
    vertical-align: middle;
    font-size: 12px;
}

.nav-pagination .material-icons{
    padding: 1px;
    font-size: 14px;
    font-weight: bold;
    padding: 0px;
}

.help-block ul {
    list-style-type: none;
}

.btn-warning{
    font-weight: 500;
}
.btn-primary, .btn-secondary, .btn-success, .btn-danger, .btn-warning, .btn-info, .btn-dark{
    box-shadow: 0px 1px 3px 0px black;
}

.btn-primary:hover, .btn-secondary:hover, .btn-success:hover, .btn-danger:hover, .btn-warning:hover, .btn-info:hover, .btn-dark:hover {
    box-shadow: none;
}

/* FORMS */
.form-box {
    display: inline-block;
    border-radius: 4px;
    max-width: 320px;
    background: white;
    box-shadow: 2px 2px 4px 2px gray;
    margin: 24px 9px 24px 9px;
    padding-bottom: 12px;
    vertical-align: middle;

}

.form-box * {
    font-family: Cambria;
}

.form-box label {
    margin: 0px;
}

.form-box-subsection{
    font-size: 22px;
    font-weight: bold;
    background: #eee;
    line-height: 48px;
    padding: 6px;
}

.form-top {
    background-color: #F3D16A;
    font-family: Cambria;
    vertical-align: middle;
    line-height: 40px;
    border-radius: 4px 4px 0px 0px;
    margin-bottom: 16px;
    font-size: 24px;
}

.two-fa{
    font-size: 20px !important;
    padding: 4px 24px 4px 24px;
    line-height: 28px;
}

.form-body{
    padding-left: 24px;
    padding-right: 24px;
}

.form-textbox:after, .long-form-textbox:after {
    background-color: transparent !important;
}

.form-textbox {
    border: none;
    background-color: white;
    resize: none;
    outline: none;
    border-bottom: 1px solid rgba(150,190,255,1);
    padding: 2px 12px 2px 12px;
    margin: 2px 0px 4px 0px;
    width: 256px;
    border-radius: 3px;
}

.form-body select{
    height: 28px;
}

.form-textbox:hover, .long-form-textbox:hover {
    caret-color: rgba(115,145,255,1);
    background: rgba(150,190,255,0.2);
    border-bottom: 1px solid rgba(115,145,255,1);
    color: black;
}

.form-textbox:focus, .long-form-textbox:focus {
    caret-color: rgba(50,80,255,1);
    border-bottom: 1px solid rgba(50,80,255,1);
    box-shadow: 0px 0px 3px 1px rgba(150,190,255,0.8);
}

.input-check{
    font-size: 12px;
    font-weight: bold;
    vertical-align: top;
    justify-content: center;
}

* {
    table-layout: unset;
}
/* Table */
.table {
    border: none;
    border-radius: 3px;
    -moz-border-radius: 3px;
    box-shadow: 0px 0px 3px 1px gray;
    padding-top: 0px;
    table-layout: auto;
    width: 100%;
}
.table tr *{
   vertical-align: middle;
}
.table th{
    box-shadow: 0px 2px 0px 0px #ddd;
}

.table *{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   text-align: center;
}
.table .text-align-left{
    text-align: left;
}
.table .text-align-right {
    text-align: right;
}
.table .text-align-justify {
    text-align: justify;
}

.table-header * {
    text-align: left;
    border-spacing: 26px;
}


.table-header .btn{
    padding: 3px 6px 3px 6px;
}

.search-textbox:after {
    background-color: transparent !important;
}

.search-textbox {
    background-color: white;
    resize: none;
    outline: none;
    border-bottom: 1px groove rgba(150,190,255,1);
    border-color: rgba(150,190,255,1);
    padding: 2px 12px 2px 12px;
    margin-top: 1px;
    min-width: 164px;
    border-radius: 3px;
}

.search-textbox:hover {
    caret-color: rgba(115,145,255,1);
    background: rgba(150,190,255,0.2);
    border-bottom: 1px solid rgba(115,145,255,1);
}

.search-textbox:focus {
    caret-color: rgba(50,80,255,1);
    border-bottom: 1px solid rgba(50,80,255,1);
    box-shadow: 0px 0px 3px 1px rgba(150,190,255,0.8);
}

/* Dropdown Button */
.dropdown-btn {
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown-action {
    display: inline;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    border-radius: 2px;
    box-shadow: 0px 8px 16px 2px rgba(0,0,0,0.2);
    z-index: 10;
    margin-left: 42px !important;
}

/* Optiion to Initially Show Dropdown content */
.show-content {
    display: inline;
    position: relative;
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    text-decoration-line: underline;
    text-underline-offset: 4px;
}

.show-content:hover{
    text-decoration-line: none;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    border-radius: 3px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown-action:hover .dropdown-content {
    display: block;
}


/* Managenav */
.btn-managenav .btn-secondary{
    margin-left: 12px;
    margin-right: 12px;
    background-color: transparent;
    color: darkslategray;
    box-shadow: none;
}

.btn-managenav .btn-secondary:hover {
    text-decoration-line: underline;
    text-underline-offset: 4px;
}
    /*
END OF GenCSS Vals
================================================================================*/


/*==============================================================================
################################################################################
START OF SWdefaultPX
*/

a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* Header-partial */
.header-partial * {
    color: #222;
    font-weight: normal;
    vertical-align: middle;
}

.header-index-link:hover{
    text-decoration-line: none;
}
.header-index-link:hover *{
    color: gray;
}
.header-return-icon {
    font-size:  30px;
}
.header-index-text, .header-action-text{
    font-size: 22px;
}
.header-return-icon {
    font-size: 18px !important;
}
.header-index-icon{
    font-size: 32px !important;
}
/*
END OF SWdefaultPX
================================================================================*/
/*==============================================================================
################################################################################
START OF SW320PX
*/
@media (min-width: 320px) {
}

/*
END OF SW320PX
================================================================================*/



/*==============================================================================
################################################################################
START OF SW640PX
*/
/*@media (min-width: 640px) {*/

.main-content {
    padding-top: 128px;
    padding-left: 170px;
    transition: padding-left 0.8s;
}

.main-content.slide-content {
    padding-left: 45px;
    transition: padding-left 0.6s;
}

/* Navbar */
.nav-bar {
    position: fixed;
    background: rgba(70,70,70,1);
    color: white;
    height: 77px;
    width: 100%;
    z-index: 101 !important;
    /*border-radius: 10px 10px 0px 0px;*/
}
.nav-bar:hover,
.nav-bar:hover .system-title{
    background: #486FAB;
}

.topnav-logo {
    position: fixed;
    left: 20px;
    top: 2px;
    z-index: 104;
    content: url(images/cas-logo-white_fill-black_outline-no-text-transparent.png);
    height: 30px;
    width: 30px;
    border-radius: 10px;
    padding: 2px;
    border: 2px groove white;
    margin: 5px 0px 5px 0px;
}

a:hover .topnav-logo {
    content: url(images/cas-logo-black_outline-no-text-transparent.png);
    background: white;
}

.system-title {
    position: fixed;
    z-index: 104;
    top: 9px;
    left: 50px;
    background: rgba(70,70,70,1);
}

.system-title a {
    font-family: Calibri;
    vertical-align: middle;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-shadow: -1px -1px 0 #222, 1px -1px 0 #222, -1px 1px 0 #222, 1px 1px 0 #222;
}

.system-title a:hover {
    color: #222;
    font-weight: 900;
    text-shadow: -1px -1px 0 rgba(255,255,255,1), 1px -1px 0 rgba(255,255,255,1), -1px 1px 0 rgba(255,255,255,1), 1px 1px 0 rgba(255,255,255,1);
    text-decoration-line: none;
}

.login-partial {
    position: fixed;
    right: 100px;
    top: 10px;
}

.login-partial span,
.login-name {
    position: relative;
    top: 1px;
    font-family: Calibri;
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-shadow: -1px -1px 0 #222, 1px -1px 0 #222, -1px 1px 0 #222, 1px 1px 0 #222;
}


.login-partial form {
    position: fixed;
    right: 10px;
    top: 4px;
}

.logout-icon {
    position: relative;
    top: 2px;
}

.login-partial a,
.login-partial button {
    text-decoration: none;
    font-family: Calibri;
    vertical-align: middle;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-shadow: -1px -1px 0 #222, 1px -1px 0 #222, -1px 1px 0 #222, 1px 1px 0 #222;
}

a:hover.topnav-text {
    color: #222;
    font-weight: 600;
    text-shadow: -1px -1px 0 rgba(255,255,255,1), 1px -1px 0 rgba(255,255,255,1), -1px 1px 0 rgba(255,255,255,1), 1px 1px 0 rgba(255,255,255,1);
    text-decoration-line: none;
}

.topnav-text button:hover,
.login-partial a:hover{
    text-decoration: none;
    color: #222;
    font-weight: 900;
    text-shadow: -1px -1px 0 rgba(255,255,255,1), 1px -1px 0 rgba(255,255,255,1), -1px 1px 0 rgba(255,255,255,1), 1px 1px 0 rgba(255,255,255,1);
    text-decoration-line: none;
}


/* SideNav */
/* Tooltip */
.tooltip-txt,
.tooltip-txtsub {
    display: none;
}

li:hover .tooltip-txt.show-txt,
li ul li:hover .tooltip-txtsub.show-txtsub {
    transform: translateY(0px);
    animation: float 2.5s ease-in-out infinite;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 15px;
    border-radius: 6px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 8px;
    position: relative;
    font-family: Calibri;
    display: block;
}

li:hover .tooltip-txt.show-txt,
li ul li:hover .tooltip-txtsub.show-txtsub {
    transform: translateY(0px);
    animation: float2 2.5s ease-in-out infinite;
    content: ".";
    font-weight: bolder;
    -webkit-text-fill-color: white;
    text-align: left;
    font-size: 16px;
    text-shadow: 2px 2px 4px blue, 2px 2px 2px green, 1px 1px 2px blue;
    box-shadow: 3px 2px rgba(0,0,0,0.8);
    width: 120px;
    height: 28px;
    line-height: 16px;
    border-radius: 6px;
    background-color: rgba(70,70,70,0.8);
    position: fixed;
    display: block;
    top: 55px;
    left: 90px;
    z-index: 120;
}

.tooltip-base {
    border-top: 2px groove rgba(81,81,81,0.7);
    margin-top: 10px;
    -moz-border-radius-bottomright: 6px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-2px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-2px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Sidebar */
.btn-sidebar {
    position: fixed;
    vertical-align: middle;
    margin-top: 80px;
    margin-left: 205px;
    cursor: pointer;
    transition: left 0.3s ease;
    font-weight: 600;
    color: white;
    text-shadow: -1px -1px 0 #222, 1px -1px 0 #222, -1px 1px 0 #222, 1px 1px 0 #222;
    height: 32px;
    width: 32px;
}

.btn-sidebar span {
    font-size: 32px;
}

.btn-sidebar:hover {
    color: #222;
    text-shadow: -1px -1px 0 rgba(255,255,255,1), 1px -1px 0 rgba(255,255,255,1), -1px 1px 0 rgba(255,255,255,1), 1px 1px 0 rgba(255,255,255,1);
}

.btn-sidebar.click span:before {
    margin-left: -225px;
    content: '\f054';
}

.sidebar {
    position: fixed;
    width: 210px;
    height: 100%;
    margin-top: 77px;
    left: 0px;
    background: rgba(255, 255, 255, 1);
    transition: left 0.3s ease;
    overflow-y: scroll;
    overflow-x: visible;
    padding-right: 5px;
    padding-left: 5px;
    z-index: 100 !important;
    box-shadow: rgba(150,190,255,1) 0px 5px 0px 0px 10px;
}

.sidebar.show {
    left: -125px;
}

.sidebar.text {
    color: rgba(41,41,41,1);
    font-size: 14px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.nav-sidebar ul {
    background: rgba(255, 255, 255, 0.75);
    height: 100%;
    width: 100%;
    list-style: none;
}

.nav-sidebar ul li {
    margin-top: 4px;
    line-height: 24px;
}

.nav-sidebar ul li a {
    position: relative;
    color: rgba(41,41,41,1);
    text-decoration: none;
    font-size: 12px;
    padding-left: 10px;
    font-weight: 500;
    display: block;
    width: 100%;
    border-left: 5px solid transparent;
    padding-top: 5px;
    padding-bottom: 5px;
}

.nav-sidebar ul li.active a {
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(1,43,112,1) 0%, rgba(21,68,145,1) 16%, rgba(44,89,168,1) 47%, rgba(49,98,176,1) 100%);
    border-top-right-radius: 6px;
    color: white;
}

.nav-sidebar ul li a:hover {
    text-decoration-line: none;
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(1,43,112,1) 0%, rgba(21,68,145,1) 16%, rgba(44,89,168,1) 47%, rgba(49,98,176,1) 100%);
    border-top-right-radius: 6px;
    color: rgba(255, 255, 255, 1);
}

.nav-sidebar ul ul {
    position: static;
    display: none;
}

.nav-sidebar ul .show-rfp.show_rfp {
    display: block;
}

.nav-sidebar ul .show-apv.show_apv {
    display: block;
}

.nav-sidebar ul .show-cv.show_cv {
    display: block;
}

.nav-sidebar ul .show-je.show_je {
    display: block;
}
.nav-sidebar ul .show-accounts.show_accounts {
    display: block;
}

.nav-sidebar ul .show-registers.show_registers {
    display: block;
}

.nav-sidebar ul ul li {
    line-height: 24px;
    border-top: none;
    border-bottom: none;
}

.nav-sidebar ul li ul li a {
    font-size: 12px;
    color: rgba(21,21,21,1);
    padding-left: 20px;
}

.nav-sidebar ul li.active ul li a {
    color: rgba(41,41,41,1);
    background: rgba(255, 255, 255, 0.7);
    border-left-color: transparent;
}

.nav-sidebar ul li ul li a:hover {
    text-decoration-line: none;
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(1,43,112,1) 0%, rgba(21,68,145,1) 16%, rgba(44,89,168,1) 47%, rgba(49,98,176,1) 100%);
    border-top-right-radius: 6px;
    color: rgba(255, 255, 255, 1);
}

.nav-sidebar ul li a span {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s;
}

.nav-sidebar ul li a span.rotate {
    transform: translateY(-50%) rotate(90deg);
}

.nav-sidebar ul li a div.material-icons {
    position: absolute;
    right: 30px;
}

.subnav-arrow {
    display: none;
}

.subnav-arrow.show-arrow {
    display: flex;
    position: absolute;
    left: 162px;
    top: 14px;
}

.subnav-icon {
    left: 152px;
}

.nav-divider {
    border-top: 1px solid rgba(81,81,81,1);
    margin-top: 4px;
}

.nav-sidebar ul li .cas-logo {
    border-radius: 10px;
}

.nav-sidebar ul li:hover .cas-logo {
    text-decoration-line: none;
    border-bottom: 2px groove darkslategray;
}

.nav-sidebar ul li:hover .cas-logo.slide-logo {
    text-decoration-line: none;
    border: none;
}

.cas-logo {
    content: url(images/cas-logo.png);
    margin-left: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 120px;
    background-color: white;
    padding-left: 10px;
    padding-right: 10px;
}

.cas-logo.slide-logo {
    content: url(images/material-icon-home.png);
    height: 26px;
    width: 26px;
    margin-left: 125px;
    background-color: transparent;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    border: none;
}

li:hover .cas-logo.slide-logo {
    content: url(images/material-icon-home-white.png);
}

.footer-nav.hide-footer {
    color: white;
}

/* Home Index */
.title-box {
    box-shadow: 2px 2px 5px 4px gray;
    border-radius: 4px;
    max-width: 320px;
    background: white;
}

.title-text {
    font-family: Arial;
    font-weight: normal;
    font-size: 20px;
    color: #222;
}

.title-image {
    height: 184px;
}

.login-btn a {
    font-family: Cambria;
    font-weight: bold;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 28px;
}

.register-btn a {
    font-family: Cambria;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 28px;
}

/* auth-box */
.auth-box {
    border-radius: 4px 4px 0px 0px;
    max-width: 320px;
    background: white;
    box-shadow: 2px 2px 4px 2px gray;
}

.auth-box *{
    font-family: Cambria;
}

.auth-box label{
    margin: 0px;
}

.top-form {
    background-color: #F3D16A;
    font-family: Cambria;
}

.auth-textbox:after{
    background-color: transparent !important;
}
.auth-textbox {
    border: none;
    background-color: white;
    resize: none;
    outline: none;
    border-bottom: 1px solid rgba(150,190,255,1);
    padding: 2px 12px 2px 12px;
    margin: 2px 0px 4px 0px;
    width: 256px;
    border-radius: 3px;
}

.auth-textbox:hover {
    caret-color: rgba(115,145,255,1);
    background: rgba(150,190,255,0.2);
    border-bottom: 1px solid rgba(115,145,255,1);
}

.auth-textbox:focus {
    caret-color: rgba(50,80,255,1);
    border-bottom: 1px solid rgba(50,80,255,1);
    box-shadow: 0px 0px 3px 1px rgba(150,190,255,0.8);
}

.text-danger-div{
    padding-left: 24px;
    padding-right: 24px;
}
/*}*/
/*
END OF SW640PX
================================================================================*/

/*
    Home top-bottom nav
*/
.top-btn {
    transition: all 0.3s ease-in;
    position: fixed;
    bottom: 0;
    right: 0;
    display: inline-flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin: 0 1em 1em 0;
    border-radius: 50%;
    padding: 0.1em;
    width: 40px;
    height: 40px;
    background-color: rgb(30 110 190 / 0.6);
    z-index: 9999999;
}

.top-btn.show {
    visibility: visible;
    opacity: 1;
}

.top-btn.hide {
    visibility: hidden;
    opacity: 0;
}

.top-btn svg {
    fill: #000;
    width: 20px;
    height: 12px;
    vertical-align: middle !important;
}

.top-btn:hover {
    background-color: rgb(30 50 255);
}

.top-btn:hover svg {
    fill: #ddd;
}

.screen-reader-text {
    position: absolute;
    clip-path: inset(50%);
    margin: -1px;
    border: 0;
    padding: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    word-wrap: normal !important;
    clip: rect(1px, 1px, 1px, 1px);
}

.screen-reader-text:focus {
    display: block;
    top: 5px;
    left: 5px;
    z-index: 100000;
    clip-path: none;
    background-color: #eee;
    padding: 7px 11px 7px;
    width: auto;
    height: auto;
    text-decoration: none;
    line-height: normal;
    color: #444;
    font-size: 1em;
    clip: auto !important;
}

.bottom-btn {
    transition: all 0.3s ease-in;
    position: fixed;
    top: 64px;
    right: 0;
    display: inline-flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin: 0 1em 1em 0;
    border-radius: 50%;
    padding: 0.1em;
    width: 40px;
    height: 40px;
    background-color: rgb(30 110 190 / 0.6);
    z-index: 9999999;
}

.bottom-btn.show {
    visibility: visible;
    opacity: 1;
}

.bottom-btn.hide {
    visibility: hidden;
    opacity: 0;
}

.bottom-btn svg {
    width: 20px;
    height: 12px;
    vertical-align: middle !important;
}

.bottom-btn:hover {
    background-color: rgb(30 50 255);
}

.bottom-btn:hover svg {
    fill: #ddd;
}

.svg-bottom {
    transform: scaleY(-1);
}

.screen-reader-text-bottom {
    position: absolute;
    clip-path: inset(50%);
    margin: -1px;
    border: 0;
    padding: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    word-wrap: normal !important;
    clip: rect(1px, 1px, 1px, 1px);
}

.screen-reader-text-bottom:focus {
    display: block;
    top: 5px;
    left: 5px;
    z-index: 100000;
    clip-path: none;
    background-color: #eee;
    padding: 7px 11px 7px;
    width: auto;
    height: auto;
    text-decoration: none;
    line-height: normal;
    color: #444;
    font-size: 1em;
    clip: auto !important;
}

/*
    End of Home top-bottom nav
*/

/* Print */
.fastener-mark{
    display: none;
}

.btn-print *{
    color: white;
}
.btn-print:hover{
    cursor: pointer;
}


.invoice-box {
    margin-top: 24px;
    background-color: white;
    padding: 32px;
    box-shadow: 2px 2px #555, -2px -2px #888, -2px 2px #aaa, 2px -2px #aaa;
    border-radius: 8px;
}

.invoice-logo {
    height: 128px;
}

/*.invoice-signature{
    display: none;
}*/

.signature-line {
    margin-top: 20px;
    border-top: 0.5px solid;
}

.invoice-buttons{
    margin-top: 24px;
}

.invoice-table {
    margin-top: 24px;
    margin-bottom: 64px;
}

.invoice-purpose{
    display: none;
}

@media print { 
    .no-print{
        display: none !important;
    }

    .fastener-mark.fastener-mark-show{
        display:block;
    }

    .fastener-top {
        position: absolute;
        margin-left: 50%;
        margin-top: 2%;
        width: 18px;
        vertical-align: middle;
        justify-content: center;
        border: 0.02em solid #ddd;
        padding: 1px;
        border-radius: 8px;
    }

    .fastener-left {
        position: absolute;
        margin-top: 70%;
        margin-left: 1%;
        width: 18px;
        vertical-align: middle;
        justify-content: center;
        border: 0.02em solid #ddd;
        padding: 1px;
        border-radius: 8px;
    }

    .invoice-table {
        min-height: 480px !important;
    }

    .invoice-signature {
        display: flex;
    }

    div.main-content{
        position: fixed;
        margin: 0px !important;
        padding-left: 128px !important;
    }

    @page {
        margin: 0; /* this affects the margin in the printer settings */
    }

    .main-content{
        margin: 0;
        padding: 0;
        top: 2%;
    }

    .invoice-purpose{
        display: block;
    }

}

/*APV FORMS*/
.apv-form-box {
    border-radius: 4px;
    background: white;
    box-shadow: 2px 2px 4px 2px gray;
    margin: 24px 9px 24px 9px;
    padding-bottom: 12px;
    vertical-align: middle;
    max-width: 940px;

}

.apv-form-box * {
    font-family: Cambria;
}

.apv-form-box .row{    
    margin-left: 12px;
    margin-right: 12px;
}

.apv-form-box label {
    font-weight: bold;
    margin: 0px;
    margin-top: 12px;
}

.long-form-textbox {
    border: none;
    background-color: white;
    resize: none;
    outline: none;
    border-bottom: 1px solid rgba(150,190,255,1);
    padding: 2px 12px 2px 12px;
    margin: 2px 0px 4px 0px;
    width: 80%;
    border-radius: 3px;
}


/*Remove spin button to input type number*/
#childTable input::-webkit-outer-spin-button,
#childTable input::-webkit-inner-spin-button {
     display: none; /*<- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

#childTable input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}


/* item row class for dynamic row quantity tables */

.item-row{
    height: 56px;
    padding-right: 50px;
}
.item-row .btn{
    margin-right: 12px;
}
.padding-row{
    padding: 4px 20px 4px 20px;
}
.tr-cutout {
    border-bottom: 2px dashed darkslategray;
}

/* invoice info */
.invoice-info-top,
.invoice-info-bottom {
    border: 2px solid darkslategray;
    padding-top: 8px;
    padding-bottom: 12px;
}
.invoice-info-top td,
.invoice-info-bottom td{
    padding-right: 32px;
    vertical-align: top;
}
.invoice-info-top-title,
.invoice-info-bottom-title {
    font-weight: bold;
}
.td-border-bottom{
    border-bottom: 1px solid darkslategray;
    padding-right: 0px !important;
    min-width: 164px;
}

.invoice-info-bottom {
    border-top: none;
    min-height: 96px !important;
}
.invoice-info-bottom-cv{
    min-height: 12px !important;
}
.td-indent{
    text-indent: 24px;
    text-align: justify;
}

/* table print */
.table-print{
    border: 2px solid darkslategray;
    border-top: none;
    border-bottom: none;
    padding-top: 16px;
}
.table-print-voucher {
    border: none;
}
.table-print table{
    width: 100%;
}

.table-print thead th{
    border-bottom: 1px solid darkslategray;
    padding-right: 32px;
    padding-bottom: 4px;
    
}

.table-print td{
    padding-right: 32px;
    padding-top: 3px;
    padding-bottom: 3px;
}

/* table div */
.table-div {
    border-left: 2px solid darkslategray;
    border-right: 2px solid darkslategray;
}

/* table total */
.table-total{
    border: 2px solid darkslategray;
    border-top: none;
}
.table-total-voucher {
    border: none;
}
.table-total table{
    width: 100%;
}
.table-total th {
    padding-right: 32px;    
    padding-top: 3px;
    padding-bottom: 6px;
}
.border-top-double {
    border-top: 3px double darkslategray;
}
.border-total-voucher {
    border-top: 3px double darkslategray;
    border-bottom: 2px solid darkslategray;
}
.table-total-buffer{
    color: transparent;
}

/* table amount */
.table-amount{
    border: 2px solid darkslategray;
    border-top: none;
    padding: 6px 0px 6px 0px;
}
.table-amount-label {
    font-weight: bold;
    padding-bottom: 6px;
}
.border-mid{
    border-right: 1px solid darkslategray;
}
.table-amount-cv{
    min-height: 240px !important;
}
.table-amount-word {
    text-align: center;
    text-underline-offset: 3px;
    text-decoration: underline;
    text-transform: uppercase;
}
.table-amount-numeric {
    text-align: center;
    font-weight: bold;
}

/* table-signature */
.table-signature{
    border: 2px solid darkslategray;
    border-top: none;
    padding-top: 8px;
    padding-bottom: 8px;
}
.table-signature-label{
    text-transform: uppercase;
    vertical-align: top;
    text-align: center;
    font-weight: bold;
    height: 56px;
}
.table-signature-value{
    text-align: center;
    border-bottom: 1px solid darkslategray;
}

/* btn print */
.btn-print{
    color: white !important;
}

.toast {
    top: 40px;
    right: 50px;
}

/* image upload */
.img-upload{
    margin-top: 32px;
}
.img-upload .img-label{
    font-weight: bold;
    text-transform: uppercase;
}
.img-upload input{
    min-height: 40px;
    text-align: center;
    vertical-align: middle;
}
.img-upload input:hover{
    cursor: pointer;
}


.border-none{
    border: none !important;
}
.border-topbot{
    border-left: none !important;
    border-right: none !important;
    border-top: 2px solid darkslategray;
    border-bottom: 2px solid darkslategray;
}

.invoice-particulars{
    padding-top: 16px;
    padding-bottom: 16px;
}
/* text decoration */
.text-underline {
    text-underline-offset: 3px;
    text-decoration-line: underline;
}