
@import url(config.css);
@import "./cn_message.css";
@import "./cn_progress.css";
@import "./cn_selectize.css";
@import "./buttons.css";
@import "./admin_info.css";
@import "./modules.css";

@font-face {
    font-family: 'Roboto';
    src: url('Roboto-Regular.ttf') format('truetype');
}  
@font-face {
    font-family: 'Roboto-Light';
    src: url('Roboto-Light.ttf') format('truetype');
}  
@font-face {
    font-family: 'Roboto-Medium';
    src: url('Roboto-Medium.ttf') format('truetype');
}  
@font-face {
    font-family: 'Roboto-Bold';
    src: url('Roboto-Bold.ttf') format('truetype');    
}  
@font-face {
    font-family: 'Roboto-Italic';
    src: url('Roboto-MediumItalic.ttf') format('truetype');
}  

* { 
    /* font-size: 1.01em !important; */
    /* font-size: 0.95rem !important;  */
    /* font: Roboto, sans-serif; */
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    /* line-height: normal; */
}
b {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    font-family: 'Roboto-Bold';    
    font-weight: 100;
    font-size: inherit;
}
i {
    font-family: 'Roboto-Italic';    
}
.content {
	background-color: initial;
	padding: 25px;
}
.logo {
    padding-left: 25px;
	padding-top: 25px;
}
.cp {    
    margin: 0px;
}
table.cp {
    border-spacing: 2px;
}
.cp td {
    height: 100%;  
}
.cp.pd td {
    padding: 0px 4px;
}
.cp tr {
    height: 2.3em;    
}
.cp tr:nth-of-type(2n) {
    background: var(--table-alternate-color);
    border-top: 1px solid #f3f3f3;
    border-bottom: 1px solid #f3f3f3
}
/* hover only tr with td inside, not th */
.cp td:hover tr {
    background-color: #f6f9fb !important;    
}
.cp tr:nth-of-type(2n):hover {
    background-color: #f6f9fb !important;    
    /* border-left: 1px solid #f00; */
}  
.datepicker tbody tr:nth-of-type(2n+1) {
    background: var(--table-alternate-color);
    border: none;
}
.cp tr.header {
    background: var(--main-color);
    color: #fff;
    font-weight: bold;
}
.trBtn td {
    height: 3.5em
}
textarea.cp {
    border: 1px solid #f3f3f3;
    background: #fff;    
    padding: 1px;
    width: 100%;
    height: 100%;    
    outline: 0px solid transparent
}
input.cp[type="datetime-local"] {
    height: 1.6em;
    width: 100%;
    border: 0px;
    /* border-bottom: 1px solid var(--main-color); */
    border-bottom: 1px solid var(--secondary-color);
}
input.cp[type="submit"] {    
    border:0px solid #eee;
    background: #f3f3f3;
    color: #000;
    padding: 1px;    
    width: 100%;
    height: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.2);
    vertical-align: baseline;        
}
input.cp:hover[type="submit"] {
    background-color: var(--main-color);
    color: #fff;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
}
input.cp:active[type="submit"] {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);    
}
input.cp[type="text"] {        
    height: 1.6em;
    width: 100%;
    border: 0px;
    /* border-bottom: 1px solid var(--main-color); */
    border-bottom: 1px solid var(--secondary-color);
}
input.cp[type="number"] {        
    height: 1.6em;
    width: 100%;
    border: 0px;    
    border-bottom: 1px solid var(--secondary-color);
}      
input.cp:focus[type="text"] {
    background-color: #fff;
    outline:none;    
    border-bottom: 2px solid var(--main-color);
}
input.cp[type="password"] {        
    height: 1.6em;
    width: 100%;
    border: 0px;
    /* border-bottom: 1px solid var(--main-color); */
    border-bottom: 1px solid var(--secondary-color);
}
input.cp:focus[type="password"] {
    background-color: #fff;
    outline:none;    
    border-bottom: 2px solid var(--main-color);
}
input.cp[readonly="true"] {    
    border-bottom: 1px solid var(--secondary-color)
}
input.cp:focus[readonly="true"] {    
    border-bottom: 1px solid var(--secondary-color)
}
input[type="time"] {
    border: none;
    outline:none;    
    width: 100px
}
input.cp:focus[type="time"] {
    background-color: #fff;
    outline:none;    
    border-bottom: 2px solid var(--main-color);
}
div.cp {
    width: 100%;
    /* background-color: #fff; */
    /* border-bottom: 1px solid var(--secondary-color); */
}
select.cp, textarea.cp {
    border:1px solid #eee;
    background: #fdfdfd;    
    padding: 1px;
    width: 100%;
    height: 100%;
}
h1, h2{
    border-left: 5px solid var(--main-color);
    padding-left: 1.5em;
    margin-top: 1em !important;
    margin-bottom: 1em !important;
    font-weight: 900 !important;
    font-size: 18pt !important;
}
h3 {
    border-left: 5px solid var(--main-color);
    padding-left: 1.5em;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 1em !important;
    margin-bottom: 1em !important;
    font-weight: 900 !important;
    font-size: 16pt !important;
}
h4 {
    border-left: 5px solid var(--secondary-color);    
    background-color: #fcfcfc;
    font-size: 14pt !important;
    font-weight: 900 !important;
    padding: 5px;
    padding-left: 1.0em;
    padding-top: 8px;
    padding-bottom: 8px;
    /* margin : 15px; */
    margin-top: 1em !important;
    margin-bottom: 1em !important;
    /* border-left: 3px solid var(--main-color); */
    /* background-color: #f3f3f3; */
}
h5 {
    border-left: 2px solid var(--secondary-color);    
    background-color: #fcfcfc;
    font-size: 12pt !important;
    font-weight: 500 !important;
    padding: 5px;
    padding-left: 1.0em;    
    margin-top: 0.5em !important;
    margin-bottom: 0.5em !important;
    color: #777;
}
h6 {
    border-bottom: 1px solid var(--secondary-color);    
    background-color: #fcfcfc;
    font-weight: bold;
}
span.select2 {
    height: 1.6em;
}
.pageheader {    
    display:flex;
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd; 
    border-spacing: 0px;
    position:fixed; 
    left:0px; 
    top:0px; 
    /* margin: 0px;  */
    overflow:hidden;     
    /* padding: 1px;   */
    /* padding-left: 2em; */
    z-index:2;
    /* background-color: var(--header-background-color); */
    background-color: #fff;
    /* flex-wrap: nowrap; */
    /* justify-content: space-between; */
    align-items: center;
    /* box-shadow: 0px -1px 1px 1px rgba(100,100,100,0.6) */
}
/* -------------  */
.input-field {    
    width: 100%;
    height: 100%;
    background-color: #fcfcfc;    
    border-radius: 2px;
    display: grid;    
    position: relative;
    padding-right: 1em;
    margin: 2px
} 
.input-field i {
    width: 48px;
    text-align: center;
    line-height: 3.5em;
    color: #acacac;
    transition: 0.5s;
    font-size: 1.1rem;
  }  
  .input-field i:hover {
    width: 48px;
    text-align: center;
    line-height: 3.5em;
    font-size: 1.1rem;
  }
  .input-field input {
    background: none;
    outline: none;
    height: 50%;
    transform: translate(0, 50%);
    width: 100%;
    line-height: 3.5em;
    border: none;
    border-bottom: 1px solid var(--main-color);
  }  
  .input-field input::placeholder {
    color: #bbb;
    font-weight: 500;
  }
  /* Font Awesome buttons */
.fabtn {
    color: #acacac;
}
.fabtn:hover {
    color: var(--main-color);
    transition: 0.2s;
}

.cn_progress {
    width: 75px;
    text-align: center
}
.cn_progress_item {
    justify-content: center;
    padding: 5px;
    margin: 2px;
    border-radius: 3px;
}

.push {
    margin-left: auto;
}
.cn_row {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* margin: 5px;     */
}
.cn_row > div {
    display: flex;
    flex-direction: row;    
    align-items: center;    
}
.cn_row_item {
    flex-grow: 1;
    margin: 2px;
    /* background-color: #f3f3f3; */
}
.cn_row > div.cn_with_margin {
    margin: 5px
}
.with-shadow {    
    /* box-shadow: 0 3px 5px rgba(0, 0, 0, 0.19), 0 2px 2px rgba(0, 0, 0, 0.23) !important */
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.01), 0 1px 1px rgba(0, 0, 0, 0.2) !important
    
}
.alternate_color > .cn_row:nth-of-type(2n) {
    background-color: #fafafa;
}
/* ----- */
.cn_msg {    
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: #22222233;
}
.cn_workingMsg {
    background: rgb(184, 219, 232);
    color: rgb(43, 92, 148)
}
.cn_errorMsg {
    background: #faa;
    color: #f00;
}
.cn_okMsg {
    background: #afa;
    color: rgb(22, 100, 22);
}
.cn_warningMsg {
    color: rgb(157, 122, 17);
}
/* cn page ------------------- */
.cn_page_header {
    background-color: #fff; 
    color: #000;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 48px;
    padding-left: 0px;
    padding-right: 0px;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.2),0 1px 1px -2px rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12);
    z-index:899
}
.cn_page_header img {    
    margin-right: 12px;
    /* border-radius: 25%; */
}
.cn_content {
	margin-top: 0px;
    background-color: initial;
	padding: 25px;
}
.cn_version {
    position: fixed;
    bottom: 0px;
    right: 0px;
    font-size: 8pt;
    color: #aaa
}
.cn_seperator {
    display: flex;
    justify-content: center;
    width: 10px;
    max-width: 10px;
    padding: 0px;
    margin-left: 5px;
    margin-right: 5px;
    color: #eee;
}
.cn_item_gap {
    gap: 35px
}
.cn_item_gap_small {
    gap: 5px
}
.cn_content-with-margin div {
    margin: 5px    
}

div.cn_proprow_column {
    padding-left: 2rem;
    display: flex; 
    align-items: center; 
    height: 100%; 
    width: 100%;
}

.cn_card_section {
    /* border: 1px solid #f3f3f3;  */
    padding: 10px;
}
.cn_card_section td { 
    padding: 5px;
}
div.cn_card {    
    background-color: #fcfcfc !important;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    padding: 25px
}