html {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

body {
    background-color: #ecf0f4;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;    
    font-size: 14px;
    color: darkslategray;
    font-family: "Helvetica", "Arial", sans-serif;
}

.dashboard {
    position: fixed;
    width: 100%;
    height: 100%;
    /*overflow-y: auto;*/
    z-index: 0;
}

.toppanel {
    background-color: #0066cc; /*#fff;*/
    position: fixed;
    top: 0;
    margin-left: 250px;
    width: calc(100% - 250px);
    height: 70px;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
    transition: 0.5s;
}

.toppanel img {
    float: left;
    margin-top: 18px;
    margin-left: 15px;
    height: 35px;
    cursor: pointer;
    filter: invert(100%);
}

#openmenu_btn {
    display: none;
}

#top_username {
    float: right;
    height: 70px;
    max-width: 500px;
    /*width: 100px;*/
    padding-top: 10px;
    padding-right: 20px;
    text-align: right;
    color: white;
}

#top_logout {
    float: right;
    width: 70px;
    height: 70px;
    margin-right: 10px;
}

.sidepanel {
    height: 100%;
    width: 280px;
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    background-color: #0b132b;
    overflow-x: hidden;
    transition: 0.5s;
}

.sidepanel a {
    padding: 18px 15px 18px 32px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidepanel a:hover {
    background-color: rgba(0,0,0,.4);
}

.sidenav_header {
    top: 0;
    width: 250px;
    padding: 10px 0 10px 10px;
    transition: 0.3s;
}

.sidenav_logo {
    height: 50px;
}

.sidenav_btn {
    cursor: pointer;
}

.sidenav_submenu {
    overflow-y: hidden;
    max-height: 0px;
    /*height: 0px;*/
    transition: 0.3s;
}

.sidenav_submenu a {
    background-color: #0b2b40;
    padding-left: 50px;
}

.logo {
    width: 100%;
    text-align: center;
    height: 50px;
}

.logo img {
    width: 125px;
}

.logo_text {
    height: 50px;
    width: 180px;
    margin-left: 55px;
    font-family: 'Titillium Web', Arial, sans-serif !important;
}

#t_up {
    float: left;
    margin-top: -62px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

#t_down {
    float: left;
    margin-top: -48px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.closebtn {
    top: 20px;
    right: 10px;
    position: absolute;
    font-size: 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: none;
}

.mainpanel {
    margin-left: 280px;
    margin-top: 70px;
    width: calc(100% - 280px);
    height: calc(100% - 70px);
    overflow-y: auto;
    z-index: 1;
    transition: 0.5s;
}

.panel_content {
    padding: 20px 20px 0 20px;
}

#content {
    background-color: #fff;
    padding: 40px;
    /*width: 100%;*/
    height: auto;
}

h2 {
    margin-top: 0;
}

.textbox {
	background: #f2f2f2;
	padding: 5px;
	border: 1px solid #dddfe1;
	text-align: justify;
	word-break: break-word;
}

.parag {
    word-break: break-word; 
    text-align: justify;
}

table td {
    word-break: break-word;
}

.tab {
    width: max-content;
}

.tab thead tr {
    border: 1px solid dodgerblue;
}

.tab th {
    background: dodgerblue;
    color: white;
    width: auto;
}

.tab td, .table_mob td {
    border: 1px solid #dddfe1;
}

td.fitwidth {
    width: 1px;
    white-space: nowrap;
}

.th-default th {
    background: #f2f2f2;
    color: unset;
}

.clk {
    cursor: pointer;
    color: blue;
}
 
.clk:hover {
    text-decoration: underline;
}
 
.table_mob tr:nth-child(even) {
    background-color: lavenderblush;
}

.tab_tr_link {
    cursor: pointer;
}

.tab_tr_disable {
    background: #f2f2f2;
    color: slategray;
}

.tab_tr_link:hover {
    /*background-color: lightyellow !important;*/
    background-color: lightblue !important;
}

.tab_bar {
    padding: 0 15px;
    /*background: royalblue;*/
    height: 30px;
    border-bottom: medium solid royalblue;
}
 
.tab_btn {
    margin-top: 2px;
    margin-right: 0.5px;
    margin-left: 0.5px;
    float: left;
    cursor: pointer;
    background: deepskyblue;
    width: auto; /*120px;*/
    height: 28px;
    /*padding: 10px 15px;*/
    border: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.tab_btn-sel {
    margin-top: 0;
    margin-right: 0.5px;
    margin-left: 0.5px;
    float: left;
    cursor: pointer;
    background: royalblue;
    width: auto; /*120px;*/
    height: 30px;
    /*padding: 10px 15px;*/
    border: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.tab_cont {
    position: relative;
    visibility: visible;
}

.tab_cont-hid {
    visibility: hidden;
    position: absolute;
    top: 0;
}

.top_btn_nav {
    float: left;
    width: 35px;
    height: 25px;
}

.top_btn_nav img {
    width: 25px;
}

.button_div input {
    float: left;
    margin-top: 0;
    margin-right: 100px;
}

.button_div #submit {
    /*float: right;*/
    margin-top: 0;
    margin-right: 50px;
}

.accordion {
    background-color: dodgerblue;
    color: white;
    margin-bottom: 5px;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 14px;
    font-weight: bold;
}

.accordion:hover {
    background-color: deepskyblue;
}

.accordion:after {
  content: '+'; /* Unicode character for "plus" sign (+) */
  font-size: 14px;
  float: right;
  margin-left: 5px;
}

.acc_active:after {
  content: "-"; /* Unicode character for "minus" sign (-) */
}

.acc_panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.window_bk {
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
    display: none;
    overflow: auto;
}

.window, .window_small {
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 260px;
    transform: translate(-50%, -50%);
    /*margin: -140px 0 0 -182px;*/
    /*padding: 20px;*/
}

.window .header {
    background: royalblue;
    margin-bottom: 10px;
    padding: 20px;
    height: 30px;
}

.window .header h3 {
    float: left;
    color: white;
    margin: 5px 0;
}

.window .header input {
    float: right;
    margin: 0;
}

.window .content {
    padding: 20px;
    height: 280px;
    width: 290px;
}

.window .content .cont-list {
    height: 250px;
    overflow-y: auto;
}

.window .footer {
    padding: 0 20px;
    height: 35px;
}

.window .footer input {
    float: left;
}

.window .footer button {
    float: right;
}

.divsub_acc {
    padding: 10px 50px 10px 50px;
}

.input_num::-webkit-outer-spin-button,
.input_num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input_num[type=number] {
    -moz-appearance: textfield;
}

@media screen and (max-width: 600px) {
    .window {
        width: 90%;
    }
    
    .window_small {
        width: 90%;
        left: 50%;
    }
    
  .table_mob {
    width: 100%;
    font-size: 12px;
  }
  
  .table_mob thead {
    display: none;
  }

  .table_mob tr, .table_mob td {
    border-bottom: 1px solid #ddd;
  }

  .table_mob tr {
    margin-bottom: 8px;
  }
  
  .table_mob td {
    display: flex;
  }
  
  .table_mob td::before {
    content: attr(label);
    font-weight: bold;
    width: 120px;
    min-width: 120px;
    text-align: left;
  }

    .divsub_acc {
        padding: 10px 0px 10px 0px;
    }
    
    #top_username {
        max-width: 200px;
    }
    
    .btn_add_prod button, #btn_presmod, #btn_pdfcli, #btn_pdfofi, #btn_presdel {
        width: 100%;
    }
}
