:root {
	--secondary: #93ca15;
	--primary: #00b2b1;
	--primary-darker: #008E8D;
	--tertiary: #00804d;
	/* --accent: #A0F6D2;*/
	--darker: #028C8B;
	--alert:#8C0202;
	--alertLight:#FF8F8F;
	--lightgrey:#F0F0F0;
	--lightgreen:#99cc99;
	--mediumgrey:#B7B7B7;
	--darkgrey:#696969;
	--menumain:#263544;
	--menuactive:#1d2531;
	--menuhover:#263040;
	--menulink:#b7c0cd;
	--menuscroll-bar-bg-color:#1d2531;
	--menuscroll-bar-color:#F0F0F0;
	--mainbg:rgb(242, 247, 251);
	--mainscroll-bar-color:white;
	--mainscroll-bar-bg-color:#263544;
	--white:#fff;
	--light-accent:#E3EBEC;
	--offwhite:#EEE;
	--dark-accent:#2F4858;
	/* Added for box or card [ Remove if needed ]*/
	--red: hsl(0, 78%, 62%);
	--cyan: hsl(180, 62%, 55%);
	--orange: hsl(34, 97%, 64%);
	--blue: hsl(212, 86%, 64%);
	--varyDarkBlue: hsl(234, 12%, 34%);
	--grayishBlue: hsl(229, 6%, 66%);
	--veryLightGray: hsl(0, 0%, 98%);
}
html.dark{
	--offwhite:#263544;
	--mainbg:#666;
	--white:#e5e5e5;
}

/*
	--secondary: #93ca15;
	--primary: #00b2b1;
	--primary-darker: #008E8D;
	--tertiary: #00804d;
	 --accent: #A0F6D2;
	--darker: #028C8B;
	--alert:#8C0202;
	--lightgrey:#F0F0F0;
	--lightgreen:#99cc99;
	--mediumgrey:#B7B7B7;
	--darkgrey:#696969;
	--menumain:#263544;
	--menuactive:#1d2531;
	--menuhover:#263040;
	--menulink:#b7c0cd;
	--menuscroll-bar-bg-color:#1d2531;
	--menuscroll-bar-color:#F0F0F0;
	--mainbg:rgb(242, 247, 251);
	--mainscroll-bar-color:white;
	--mainscroll-bar-bg-color:#263544;
	--white:#fff;
	--red: hsl(0, 78%, 62%);
	--cyan: hsl(180, 62%, 55%);
	--orange: hsl(34, 97%, 64%);
	--blue: hsl(212, 86%, 64%);
	--varyDarkBlue: hsl(234, 12%, 34%);
	--grayishBlue: hsl(229, 6%, 66%);
	--veryLightGray: hsl(0, 0%, 98%);
	*/
 

  
html{
		min-height: 100%;
}
body {
	background: #fff;
	color: #000;
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
	font-size: 14px;
	margin: 0;
	overflow-x: hidden;
	margin:0;
	padding:0;
	box-sizing: content-box;
	display: flex;
	flex-direction: column;
	height: 100dvh;
	overflow-y: hidden;
	box-sizing: border-box;
}
body.print {
	overflow-y: visible;
	height:auto;
	display:block;
}
body.print ::-webkit-scrollbar { display: none; }
button{
	font-size: 14px;
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
}
a{
	text-decoration: none;
	color:inherit;
}
a.link{
	text-decoration: underline;
	color: var(--tertiary);
}
h3{
	/*color:var(--primary);*/
}
h2{
	color:var(--darkgrey);
}

input:read-only {
    background-color: var(--lightgrey);
    color: var(--darkgrey);
   
}
div.flash:empty{
	display: none;
}
div.flash{
	background-color: var(--alert);
	padding:5px;
	color: var(--lightgrey);
}
div.flash a{
	color: blue;
	text-decoration: underline;
}

div.error{
	border:1px solid var(--alert);
	background-color: var(--alertLight);
}
._ModalOverlay{
	width:100%;
	height: 100%;
	z-index: 10000;
	background-color: rgba(0,0,0,.70);
	position: fixed;
	top:0;
	left:0;
	overflow: hidden;
}
._ModalContainer{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgb(248,248,248);
	border-radius: 5px;
	border: 1px solid #e5e5e5;
	color:#000;
	max-width: 80%;
}
._LowerModalContainer{
	position: fixed;
	bottom:0;
	height: 95%;
	left: 50%;
	transform: translateX(-50%);
	background-color: rgb(248,248,248);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border: 1px solid #e5e5e5;
	color:#000;
	max-width: 1200px;
	width:100vw;
	overflow-x: hidden;
	transition: .5s ease-in;


}
._LowerModalContainer.offscreen{
	height:0;
}
._ModalHeader{
	padding-right: 25px;
	padding-left: 25px;
}
._ModalBody{
	padding: 25px;
	max-height: 80vh;
	overflow-y:auto;
	overflow-x:hidden;
	min-width: 40vw;
}
._LowerModalContainer ._ModalBody{
		padding: 0px;
}
/* window bar: drag the window by it; minimize to a bar in the bottom right (the overlay stays, lighter) */
._ModalBar{
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 4px 6px 4px 14px;
	box-sizing: border-box;
	border-bottom: 1px solid #e5e5e5;
	border-radius: 5px 5px 0 0;
	background: #eef1f4;
	cursor: move;
	user-select: none;
	touch-action: none;
}
._ModalTitle{
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 600;
	color: #1d2733;
}
._ModalBar ._ModalMinimize{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: #4a5563;
	cursor: pointer;
}
._ModalBar ._ModalMinimize:hover{ background: rgba(0,0,0,.08); }
._ModalBar ._ModalMinimize:focus-visible{ outline: 2px solid #29a8a3; outline-offset: 1px; }
._ModalBar ._ModalMinimize .fa{ padding: 0; font-size: 13px; }
._ModalContainer._Dragging{ box-shadow: 0 18px 50px rgba(0,0,0,.35); }
._ModalContainer._Dragging ._ModalBar{ cursor: grabbing; }
._ModalContainer._Minimized{
	top: auto !important;
	left: auto !important;
	right: 16px;
	bottom: 16px;
	transform: none !important;
	width: 300px !important;
	min-width: 0 !important;
	max-width: calc(100vw - 32px);
	box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
._ModalContainer._Minimized > :not(._ModalBar){ display: none !important; }
._ModalContainer._Minimized ._ModalBar{ border-bottom: 0; border-radius: 5px; cursor: default; }
._ModalOverlay._ModalOverlayMin{ background-color: rgba(0,0,0,.25); }
._ModalFooter{
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	padding: 0 25px 15px 0;
	gap:10px;
}
._ModalScroll{
	max-height: 79vh;
	overflow-y: auto;
}
a._ModalClose{  }
a._ModalClose:hover {
	text-decoration: none;
	cursor:pointer;
}
.comments h5 {
	margin: 10px; 
	display: grid;
}
.trail h5 {
	grid-template-columns: auto auto auto;
}
.trail h5 span:nth-child(2) {
	text-align: center;
}
.trail li{
	word-wrap: break-word
}
/* Audits */
.auditheader{
	flex-direction: row;
}
.auditactions{
	display: flex;
}
/* header */
#header{
	display: flex;
	flex-direction: row;
	background-color: var(--offwhite);
	border-bottom: 1px solid var(--primary);
}
#header div.logo{
	padding:5px 0 0 10px;
}
#header div.logo img{
	height:55px;
}
#header #headernotifications{

	display: flex;
	padding-right: 25px;
}
#header #headerprofile{
	background-color: var(--secondary);
	height: 45px;
	width: 45px;
	display: flex;
	margin-top: auto;
	margin-bottom: auto;
	margin-right:25px;
	justify-content: center;
	text-align: center;
	border-radius: 50%;
}
#header #headerprofile > div{
	margin-top: auto;
	margin-bottom: auto;
	font-size: 18px;

	color:#fff;
	}
#header .notbadge{
	margin-top: auto;
	margin-bottom: auto;
}
#header i.noticon{
	font-size: 35px;
	color: var(--primary);
	position: relative;
}
#header i.noticon:hover{
	color: var(--darker);
}
#header span.notcount{
	color:#fff;
	font-size: 15px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#headerprofilecontainer{
	position: relative;
}
#headerprofilemenu{
	display: none;
	position:absolute;
	background-color: var(--menumain) ;
	flex-direction: column;
	padding:10px;
	left:-80px;
	white-space: nowrap;
	z-index: 99999;
}
#headerprofile:hover #headerprofilemenu{
	display: flex;
}
#headerprofilemenu > div{
	align-items: center;
	text-align: center;
	justify-content: center;
	display: flex;
}
#headerprofilemenu a{
	color: var(--menulink);
	text-decoration: none;
	font-size: 14px;
	white-space: nowrap;
	padding:10px 5px;
	display:flex;
	text-align: center;

}
#headerprofilemenu a:hover{
	color:#fff;
	}
#header #headerhelp{
	margin-left: auto;
	display: flex;
	padding-right: 25px;
	font-size: 30px;
	margin-top: auto;
	margin-bottom: auto;
	color: var(--primary);
}
#header #headerhelp > *{
	margin: 5px;
}
#header #headerhelp a:hover{
	color: var(--darker);
}
/* main content */
#main{
	display: flex;
	flex-direction: row;
	flex-grow: 1;
	overflow-y: auto;
	flex: 1 1 0%;
    min-height: 0;
}
body.print #main{
	overflow-y: visible;
	display:block;
}
#nav{
	display: flex;
	flex-direction: column;
	background-color: var(--menumain);
	min-width: 12%;
	overflow-y: auto;

	height: 100%;

}
#nav::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

#nav::-webkit-scrollbar-track {
    background: var(--menuscroll-bar-bg-color);
}

#nav::-webkit-scrollbar-thumb {
    background-color: var(--menuscroll-bar-color);
    border-radius: 20px;
    border: 3px solid var(--menuscroll-bar-bg-color);
}
nav > ul{
	list-style: none;
	padding:20px 0 0 0;
	margin:0;
	color:var(--menulink);
	font-size: 13px;
	z-index: 9990;
    position: relative;
}
nav > ul > li{
	padding:8px 8px 8px 10px;
	white-space: nowrap;
	text-wrap-mode: wrap;
}
nav > ul > li:hover{
	color:#fff;
	cursor: pointer;
}
nav > ul >li.active{
	background-color: var(--menuactive);
}

nav > ul > li > a{
	color: var(--menulink);
	text-decoration: none;
}
nav > ul > li > a:hover{
	color: #fff;
}
nav > ul > li > ul{
	display: none;
	list-style: none;
	padding:0 0 0 20px;
	margin:0;
}
nav > ul >li.active >ul{
		display:block;
}
nav > ul > li > ul > li:first-of-type{
	padding:8px 0;
	}
nav > ul > li > ul > li{
	padding:4px 0;
	}
nav > ul > li > ul > li > a{
	color:var(--menulink);
	text-decoration:none;
}

nav > ul > li > ul > li:hover > a{
	color:#fff;
}
nav  span.notify{
  color: white;
  background-color: var(--alert);
  border-radius: 50%;
  font-size: .75rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.2em; 
  height: 1.2em;

}
table{
width: 100%;

}
table, table td, table th
{
	
	border-spacing: 0px; 
	border-collapse: collapse;
	box-sizing: border-box;
}
table th{
	font-size: 100%;
	font-weight: normal;;
	padding:2px 5px;
	margin:2px 10px;
	border:none;
	border-bottom: #005959 solid 2px;
	
	background: #fff;
	color:#333;
	text-align: left;
    /*border-color: #005959;*/
	}
table th:first-of-type{
	
}
table th a{
	text-decoration: none;
	font-weight: bold;
	color:#333;
	text-transform: capitalize;;
}
table td{
	padding:5px;
	margin:0px;
	border-bottom: #ccc solid 1px;
	border-right: #ccc solid 1px;

}
table tr td:last-of-type{
	border-right:none;
	}
table tr td:first-of-type{
	border-left: #ccc solid 1px;
}
table td.actions
{
	text-align: center;

}
tr:nth-child(odd) {
	background: #fafafa;
}
tr:nth-child(even) {
	background: #fff;
}
table tfoot td{
	
	margin: 0 auto;
}
table tfoot td a{
	color:#000;
}
td.actions a{
	padding: 5px 10px;
    background: var(--primary);
    border: 1px #006d6d solid;
    color:#fff;
    margin:0 2px;
    display:inline-block;
    text-decoration: none;
}
td.actions a:hover{
	    background: #006d6d;
    border-color: #005959;
    cursor: pointer;
    text-decoration: none;
	}
td.actions input[type=checkbox]
{
	width: auto;
}

/* content section */
#content{
	overflow-y: auto;
	width: 100%;
	margin:0;
	display: flex;
	background-color: var(--mainbg);
	flex-direction: column;
	padding-bottom: 2em;
}
#content .maincontent{
	padding: 0 2% 2% 2%;
	overflow-x: hidden;
	position: relative;
	z-index: 1;
}
#content::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

#content::-webkit-scrollbar-track {
    background: var(--mainscroll-bar-bg-color);
}

#content::-webkit-scrollbar-thumb {
    background-color: var(--mainscroll-bar-color);
    border-radius: 20px;
    border: 3px solid var(--mainscroll-bar-bg-color);
}

/*bread crumbs*/
.breadcrumbs{
	padding:10px;
	display: flex;
	height: 30px;

}
.breadbanner{
	margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    padding: 0 20px 0 5px;
    color: var(--menulink);
    font-size: x-small;
}
.breadbannerimportant{
	font-weight: bolder;
	color: red;
}
.breadbanner-min{
	margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
	display: none;
}
.breadbanner-min i{
	font-size: x-large;
	color: red;
}
.breadbanner-min-text{
	overflow-wrap: break-word;
}
.breadicon{
	background-color: var(--secondary);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	text-align: center;
	flex-direction: column;
	align-items: center;
	color: #fff;
	font-weight: bold;
}
.breadicon > div{
	margin-top: auto;
	margin-bottom: auto;
}
.breadtext{
	margin-top: auto;
	margin-bottom: auto;
	padding:0 0 0 5px;
	/*	color: var(--menulink);*/
	color: var(--menumain);
}
.breadtext-min{
	margin-top: auto;
	margin-bottom: auto;
	padding:0 0 0 5px;
	/*	color: var(--menulink);*/
	color: var(--menumain); /* Changes to a more darker color - --menulink is hard to see on mobile */
	display: none;
}
/* dashboard */
.dashcontainer{
	margin:0;
	padding:0;	
	width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 auto;
    margin-bottom: 2em;
}
.d-small{
	flex: 0 0 23%;
    max-width: 23%;
}
.d-medium{
	flex: 0 0 45%;
    max-width: 45%;
}
.d-large{
	flex: 0 0 90%;
    max-width: 90%;
}
.widget{
	background-color: var(--white);
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.07);
	text-align: center;
	margin:8px;
	display:flex;
	flex-direction: column;
	padding:18px 20px;
	overflow: auto;
}
/* widget title: left, with an optional icon (<h3><i class="fa-regular fa-clock"></i>Timeclock</h3>) */
.widgethead{
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
	margin-bottom: 14px;
}
/* a pill pushed to the right of the title (<span class="widget-pill">2 Remaining</span>) */
.widgethead .widget-pill{
	margin-left: auto;
}
.widgethead h3{
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}
.widgethead h3 i{
	color: var(--primary);
	font-size: 20px;
}
/* the widget's main action: a full-width button (Clock In / Clock Out, Do a Check-in) */
.widget a.btn.widget-action{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	padding: 14px;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
}
/* a label + value under a divider (Last punch: Fri, Oct 20, 4:58 PM) */
.widget .widget-meta{
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #e8e8e8;
	color: #555;
	font-size: 13px;   /* status text */
	line-height: 1.6;
}
.widget .widget-meta strong{
	display: block;
	color: var(--black, #222);
	font-size: 12px;   /* dates */
	font-weight: 600;
}
/* on a phone the title gets its own line, with the pill (or tabs) underneath */
@media (max-width: 450px) {
	.widgethead{
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.widgethead .widget-pill{
		margin-left: 0;
	}
}
/* a small rounded label (Bronze, 2 Remaining, You) */
.widget-pill{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #e0f5f5;
	color: var(--primary-darker);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
.widget-pill.green{
	background: #f0f7dc;
	color: #5f8a00;
}
/* a text link with an arrow (View full calendar →) */
.widget a.widget-link{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--primary-darker);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.widget a.widget-link:hover{
	text-decoration: underline;
}
/* nothing to show yet: a grey icon, a line of text and an optional widget-link */
.widget .widget-empty{
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 0;
	color: #555;
	font-size: 14px;
}
.widget .widget-empty > i{
	color: var(--darkgrey);
	font-size: 34px;
}
.widget .widget-empty p{
	margin: 0;
}
.widget.full{
	width: 100%;
}
.widgetcontent{
	display: flex;
	flex-direction:column;
	justify-content: center;

}
.widgetfoot{
	padding:10px;
}
.widgetfoot a:hover{
	color:var(--mediumgrey);
}
/*silk elements*/
.silk{
	display: flex;
}
.silk.card{

	flex-direction: column;
	margin:10px;
}

.silk.card.small{
	padding: 10px;
}
.silk.card.small.link:hover{
	cursor:pointer;
	background-color: var(--lightgrey);
	border-radius: 20px;
}
.silk .cardcontent{}
.silk .cardcontnet .cardcount{
	font-size: 20px;
	line-height: 25px;
	background-color: var(--primary);
	border-radius: 50%;
	width:50px;
	height: 50px;
	vertical-align: center;
	text-align: center;
	color:#fff;
	display:flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
	border-bottom: 1px solid var(--lightgrey);
}
.silk .cardcontnet .cardimg img{
	height: 50px;
}
.silk .cardcontnet .cardcount > div {
	margin-top: auto;
	margin-bottom: auto;
}
.silk.detail{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	background-color: var(--white);
	padding:10px;
	border-radius: 8px;
	/*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
}
.silk.detail.row{
	box-shadow: none;
	display: flex;
	flex-direction: column;
	width: auto;
	min-width: 200px;
	padding:0 ;
	border: 1px solid var(--mediumgrey);
}
.silk.detail.label{
	box-shadow: none;
	color:var(--primary);
	padding:3px
	font-size: 120%;
	justify-content:center;
}
.silk.detail.item >div{
	display: flex;
	justify-content: center;
}
.silk.detail.item{
	box-shadow: none;
	font-weight: bold;
	flex-direction: column;
	padding:10px 10px;
	justify-content: center;
	border-top:1px solid var(--mediumgrey);
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.break{
	border-bottom: 1px solid var(--lightgrey);
	margin: auto 10%;
}
.row{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
}
.row.equal > * {
	flex:1;
}
#bingoboard{
	display: flex;
	flex-direction: row;
	margin:0 auto;
}
form.bingoform{
	display: flex;
	margin: 0 auto;
	flex-direction: column;
}
#bingoboard .bcol{
	display: flex;
	flex-direction: column;
}
#bingoboard .bcol:last-of-type{
	border-right:1px solid var(--mediumgrey);
	}
#bingoboard .bcell{
	width:40px;
	height: 40px;
	border-left:1px solid var(--mediumgrey);
	border-top:1px solid var(--mediumgrey);
	display: flex;
	justify-content: center;
	align-items: center;
}
#bingoboard .bcell:last-of-type{
	border-bottom:1px solid var(--mediumgrey);
}
#bingoboard .bcell.spot{
	background-color: #ff6666;
}
#bingoboard input{
	height: 40px;
	width: 40px;
}
/* Box or Card 10/07/2022 */
.box p {
    color: var(--grayishBlue);
}
.silk.box {
    border-radius: 5px;
    box-shadow: 0px 20px 10px -20px var(--grayishBlue);
    padding: 30px;
    margin: 20px;  
    background: white;
}
.sm-box{
	width: 25%;
}
.md-box{
	width: 50%;
}
.lg-box{
	width: 100%;
}
.green-box{
	border-top: 3px solid var(--secondary);
}
.cyan-box {
    border-top: 3px solid var(--cyan);
}
.red-box {
    border-top: 3px solid var(--red);
}
.blue-box {
    border-top: 3px solid var(--blue);
}
.orange-box {
    border-top: 3px solid var(--orange);
}

.related-container{
	display: flex;
	flex-direction: column;
	background-color: var(--veryLightGray);
	border-radius: 5px;
	border: 1px solid var(--secondary);
	padding:10px;
}
.related-row:nth-of-type(even){
	background-color: white;
}
.related-row{
	display: flex;
	flex-direction: row;
	padding:5px 2px;
	border-bottom: 1px solid var(--mediumgrey);
}
.related-row .input.action.save{
	display: none;
}
.related-row.modified .input.action.save{
	display: flex;
	color: var(--secondary);
}
.related-row .input{
	display: flex;
	flex-direction: column;
}
.related-row .input.action{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-end;
}
.related-row .input.action i{
	padding:0 10px 3px 10px;
	font-size: 130%;
}
.related-row form{
	display: flex;
}
.related-row .input.action i:hover{
	cursor: pointer;
	color:var(--primary);
}
/* css for add and edit forms*/
input,textarea,select,.silkselect{
  padding: 12px 20px;
  font-size: 1rem;
  border-width:2px;
  border-style: solid;
  border-color: var(--grayishBlue);
  border-radius: 4px;
  text-align: left;
  outline: transparent;
  width: 100%;
  box-sizing: border-box;
}

textarea{
	height: 200px;
}

input[type=submit],input[type=file],.form button, .form input[type=radio], .form input[type=checkbox]
{
	width: auto;
}
.form table input[type=checkbox]
{
	float: left;
	margin-top: 5px;
}
.form input[type=checkbox]{
	width: 20px;
	height: 20px;
}

.form{
	display: flex;
	box-sizing: border-box;
} 
.form div.input{
	padding: 10px;
	box-sizing: border-box;
}
.form div.input.error{
	border:1px solid var(--alert);
	background-color: var(--alertLight);
}
.form div.input.error .message{
	color: white;
}
.form div.input.row{
	flex-direction: row;
	border-bottom: var(--mediumgrey) solid 1px;

}
/*.form div.input.row:nth-of-type(even){
		background-color: var(--lightgrey);
		border-bottom: var(--mediumgrey) solid 1px;
	}*/
.form div.input.row .label{
	font-weight: bold;
	width:220px;
}
.form div.input.row .data{

}
.form label{
	color: var(--varyDarkBlue);
	text-transform: capitalize;
	font-size: 110%;
	font-weight: bold;
	display: block;
}
.form input{
	
}
.form{
	background-color: var(--white);
	box-sizing: border-box;
	display: flex;
	border-radius: 4px;
	padding: 10px;
	border: 1px solid var(--mediumgrey);
}
.form.single-col form{
	width: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}
.form.single-col{
	width: 100%;
	flex-direction: column;
}
.form .two-col{
	display: flex;
	flex-direction: row;
  	flex-wrap: wrap;
  	box-sizing: border-box;
}
.form .two-col > div.dark{
	background-color: var(--lightgrey);
}
.form .two-col > div{
	width: 50%;
}

.form .two-col > div.full {
	width: 100%;
}
.silkselect{
	background: white;
}
.silkselectgroup{
	font-weight: bolder;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: unset;
    pointer-events: none;
}
/*.silkselect > div{
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
}*/
.silkselect.readonly{
	background-color: var(--lightgrey);
	color: var(--mediumgrey);
}
.silkselectbody{
	background-color: white;
	padding: 11px 0 0 0;
	width: 100%;
	display: none;
}
.silkselectsearch{
	background-color: var(--mainbg);
	font-style: italic;
	padding: 2px;
	display: inline-block;
	border: 1px solid var(--lightgrey);
	border-bottom: 1px solid var(--darkgrey);
	width: 100%;
}
.silkselectlist{	
	height: 200px;
	overflow-y: scroll;
	overflow-x: hidden;
	padding: 5px 0 0 0;
}
.silkselectlist > div{
	padding: 2px;
}
.silkselectlist > div:hover{
	background-color: var(--lightgrey);
	cursor: pointer;
}
.silkselectmultiitem{
	background-color: var(--mainbg);
	border: 1px solid var(--mediumgrey);
	border-radius: 3px;
	padding: 5px;
	display:inline-block;
}
/*buttons*/
a.btn,a.button,input[type="submit"],button.btn{
	background-color: var(--primary);
	padding: 7px 15px;
	border-radius: 5px;
	border: 2px solid var(--mediumgrey);
	color: var(--white);
	display: inline-block;
}
a.btn:hover,a.button:hover, input[type="submit"]:hover, button.btn:hover{
	background-color: var(--primary-darker);
	cursor: pointer;
}
a.btn.btn-small
{
	padding:5px 8px;
	border: 1px solid var(--mediumgrey);
	font-size: 75%;
	font-weight: normal;

}
/*button{
	padding: 5px 10px;
    background: #006600;
    border: 1px #006d6d solid;
    color:#fff;
    margin:0 2px;
}
button:hover{
    background: #006d6d;
    border-color: #005959;
    cursor: pointer;
}*/
input[type="submit"]{}

/*silk-tabs*/
silk-tabs{
	background-color: var(--white);
	margin:20px 0;
	/*border:1px solid var(--mediumgrey);*/
	display: block;
	width:100%;
	height: max-content;
}
silk-tabs div.tabmenu
{
	background-color: var(--lightgrey);
	display: flex;
	flex-direction: row;
	overflow: auto;
}
silk-tabs div.tabmenu div.active{
	/*background-color: var(--white);*/
	border-bottom: 4px solid var(--secondary);
	font-weight: bold;
	margin-left:5px;
}
/*silk-tabs div.tabmenu div.tab:nth-of-type(1)
{
	margin-left:5px;

}*/
silk-tabs div.tabmenu div.empty{
	flex:2;
}
silk-tabs div.tabmenu div{
	padding: 10px;
	/*border-bottom:1px solid var(--mediumgrey);*/
	cursor: pointer;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	margin-top: 3px;
}
silk-tab {
	display: none;
}
silk-tab.active {
	display: block;
}	
/* silk bool */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--mediumgrey);
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.knob{
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
  text-align: center;

}
.slider.readonly, .slider.checked.readonly{
	background-color: var(--mediumgrey);
	cursor:no-drop;
}
.slider.readonly .knob, .slider.checked.readonly .knob{
	background-color: var(--lightgrey);
}
.slider.checked{
	background-color: var(--primary);
}
.slider.checked .knob{
	left:30px;
}

/*Comments element*/
.comments > div:nth-of-type(odd)
{
	background-color: var(--lightgrey);
}
.comments > div
{
	border-bottom: 1px solid var(--mediumgrey);
	margin:0;
	padding: 10px 0;
}

/* Item list */
.itemlisthead{
	display:flex;
}
.itemlisthead input, .itemlisthead select{
	padding:0;
}
.itemlisthead > div{
	padding-right: 20px;
	align-content: flex-end;
}
.itemlisthead > div > span{
	margin-top: auto;
	margin-bottom: auto;
	padding-bottom: 4px;
}

.divTable
{
   display:  table;
   padding: 25px 0;
   width: 100%;
   table-layout: fixed;
}

.divRow
{
   display:table-row;
   width:auto;
   box-sizing: border-box;
   background-color:var(--white);

}
.divRow.head{
	display:table-row;
	font-size: 100%;
	font-weight: bold;
	padding:2px 5px;
	margin:2px 10px;
	border:none;
	border-bottom: #005959 solid 2px;
	position: sticky;
    top: 0px;
	background: var(--white);
	color:#333;
	text-align: left;
}
.divRow.head > div:first-of-type{
	border-left:none;
}
.divRow.head > div:last-of-type{
	border-right: none;
}
.divRow > div {
    display:table-cell;
	padding:5px;
	margin:0px;
	border-bottom: #ccc solid 1px;
	border-right: #ccc solid 1px; 
	align-content: center;
}
.divRow > div:first-of-type{
	border-left:#ccc solid 1px;;
}
.divRow:nth-of-type(even){
	background-color: #fafafa;
}

/*silk-pw*/
i.silkpw{
	display: inline-block;
	position: absolute;
	font-size:18px;
	margin-top:15px;
	margin-left:-25px;
	color:#666;
	cursor: pointer;
	z-index: 3000;
}
/* private messages on a ticket (SA / MIS and the ticket owner only): highlighted in amber */
.comment.private-reply{
	margin: 6px 0;
	border: 1px solid #f3d38b;
	border-left: 4px solid #e0a100;
	border-radius: 5px;
	background: #fff8e6;
}
.comment.private-reply .comment-border-link{ background-color: rgba(224, 161, 0, 0.25); }
.private-badge{
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-left: 10px;
	padding: 2px 8px;
	border-radius: 5px;
	background: #e0a100;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.private-badge .fa{ padding: 0; font-size: 11px; }
.reply-private{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 8px 0;
	padding: 8px 10px;
	border: 1px dashed #e0a100;
	border-radius: 5px;
	background: #fffaf0;
	color: #7a5200;
	font-weight: 600;
	cursor: pointer;
}
.reply-private[hidden]{ display: none; }
.reply-private input{ width: auto; margin: 0; }
.reply-private small{ flex-basis: 100%; font-weight: normal; color: #8a6a1f; }
.reply-private:has(input:checked){ border-style: solid; background: #fff1cc; }
/* one reply to several tickets (silk-massreply, in the default modal) */
.silk-massreply{ display: block; width: min(640px, 100%); max-width: 100%; }
.silk-massreply h3{ margin: 0 0 12px; }
.silk-massreply .mr-list{ display: flex; flex-direction: column; margin-bottom: 14px; max-height: 240px; overflow-y: auto; border: 1px solid #e6e9ed; border-radius: 5px; background: #fff; }
.silk-massreply .mr-item{ display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 12px; cursor: pointer; font-weight: normal; }
.silk-massreply .mr-item + .mr-item{ border-top: 1px solid #f1f3f5; }
.silk-massreply .mr-item:hover{ background: #f8fafb; }
.silk-massreply .mr-item input{ width: auto; height: auto; margin: 0; flex: none; }
.silk-massreply .mr-item input + span::after{ content: none; } /* not the form's valid-input tick */
.silk-massreply .mr-main{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.silk-massreply .mr-main small{ color: #6b7684; font-size: 12px; }
.silk-massreply .mr-status{ flex: none; font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 5px; background: #fff4e0; color: #a35a00; }
.silk-massreply .mr-closed .mr-status{ background: #e7f6ec; color: #17803d; }
.silk-massreply .mr-blocked{ opacity: .5; cursor: not-allowed; }
.silk-massreply .mr-result{ flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; }
.silk-massreply .mr-result:empty{ display: none; }
.silk-massreply .mr-result .fa{ padding: 0; }
.silk-massreply .mr-ok .mr-result, .silk-massreply .mr-good{ color: #17803d; }
.silk-massreply .mr-fail .mr-result, .silk-massreply .mr-bad, .silk-massreply .mr-error{ color: #b42318; }
.silk-massreply .mr-label{ display: block; margin: 14px 0 6px; font-weight: 600; }
.silk-massreply silk-editablediv .text-area{ min-height: 120px; max-height: 40vh; overflow-y: auto; padding: 10px 12px; border: 1px solid #dfe3e8; border-radius: 5px; background: #fff; }
.silk-massreply .mr-note{ margin: 6px 0 0; font-size: 12px; color: #6b7684; }
.silk-massreply .mr-actions{ display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.silk-massreply .mr-count{ margin-right: auto; color: #5f6b7a; font-size: 13px; }
.silk-massreply .mr-send[disabled]{ opacity: .5; cursor: not-allowed; }
.silk-massreply .mr-send .fa{ padding: 0; }
.mr-summary ul{ margin: 6px 0 0; padding-left: 18px; text-align: left; }
/* RD 7/12/2024 Added for replies silk component */
.comment{
    position: relative;
}
.comment-thread {
    max-width: 100%;
    padding: 0 5px;
    background-color: #fff;
    border: 1px solid transparent; /* Removes margin collapse */
}
.m-0 {
    margin: 0;
}
.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.comment-heading {
    display: flex;
    align-items: center;
    height: 50px;
    font-size: 14px;
}
.comment-info {
    color: rgba(0, 0, 0, 0.5);
    margin-left: 10px;
}
.comment-author {
    color: rgba(0, 0, 0, 0.85);
    font-weight: bold;
    text-decoration: none;
}
.comment-author:hover {
    text-decoration: underline;
}
.replies {
    margin-left: 20px;
}
.comment-border-link {
    display: block;
    position: absolute;
    top: 50px;
    left: 0;
    width: 12px;
    height: calc(100% - 50px);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    background-color: rgba(0, 0, 0, 0.1);
    background-clip: padding-box;
}
.comment-border-link:hover {
    /*background-color: rgba(0, 0, 0, 0.3);*/
}
.comment-body {
    padding: 0 20px;
    padding-left: 28px;
    overflow: hidden;
}
.comment-body *{
	height: auto;
	width: auto;
}
.replies {
    margin-left: 28px;
}
.comment summary {
    position: relative;
    list-style: none;
    cursor: pointer;
}
.comment summary::-webkit-details-marker {
    display: none;
}
.comment:not([open]) .comment-heading {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.comment-heading .edit {
    display: inline-block;
    position: absolute;
    right: 5px;
    align-self: center;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
}
.validity{
  padding-right: 15px;
}
input[type="tel"] + span {
  padding-right: 30px;
}

input[type="tel"]:invalid + span::after {
  position: absolute;
  content: "✖";
  padding-left: 5px;
  color: #8b0000;
}

input[type="tel"]:valid + span::after {
  position: absolute;
  content: "✓";
  padding-left: 5px;
  color: #009000;
}
/** Two rows top col full, second row 3 cols **/
.onetwocol{
  display: grid;
  grid-template-areas:
    "input input input"
    "leftcol centercol rightcol";
  grid-template-columns: 1fr 3fr;
}
.topcenter{
	grid-area: input;
}
.leftcol{
	grid-area: leftcol;
} 
.centercol{
	grid-area: centercol;
} 
.rightcol{
	grid-area: rightcol;
}        
.text-area{
    height: 200px;
    margin: 5px;
    padding: 12px 20px 5px 5px;
    font-size: 1rem;
    border-width: 2px;
    border-style: solid;
    border-color: var(--grayishBlue);
    border-radius: 4px;
    text-align: left;
    outline: transparent;
    width: 100%;
    box-sizing: border-box;
    resize: both;
    overflow: auto;
}
div.text-area{
	height: fit-content;
	min-height: 200px;
}
.text-area *{
	margin: 0;
	padding: 0;
}
.media-selection{
	display: grid;
	background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    text-align: center;
    padding: 5px;
    margin: 5px;
}
/*** ***/
silk-report input{
	width: 100% !important;
}
silk-report input, textarea, select, .silkselect {
	/*padding: 6px 20px !important;*/
}
silk-report input[type="date"]{
    font-family: 'lucida grande', verdana, helvetica, arial, sans-serif;
}
/**thumbnail, images, and visual elements **/
silk-dynamic-el img{
	padding: 0.25rem;
    max-width: 100%;
    width: 100% !important;
    height: 100% !important;
    line-height: 60px;
    font-size: xxx-large;
    text-align: center;
    object-fit: fill !important;
}
.img-thumbnail {
    padding: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: xxx-large;
    text-align: center;
    object-fit: fill !important;
    position: relative;
}
.img-thumbnail-xl {
    padding: 0.25rem;
    max-width: 100%;
    width: 250px;
    height: 250px;
    line-height: 60px;
    font-size: xxx-large;
    text-align: center;
    object-fit: fill !important;
    position: relative;
}
.thumbnail-container{
    width: 175px !important;
    height: 175px !important;
}
.thumbnail-container img{
	padding: 0.25rem;
    max-width: 100%;
    width: 100% !important;
    height: 100% !important;
    line-height: 60px;
    font-size: xxx-large;
    text-align: center;
    object-fit: fill !important;
}
input:invalid + span::after {
/*  position: absolute;*/
  content: "✖";
  padding-left: 5px;
  color: red !important;
}

input:valid + span::after {
/*  position: absolute;*/
  content: "✓";
  padding-left: 5px;
  color: green !important;
}
.important {
	font-size: x-large;
	color: red;
}
/* Sizes */
.xl {
	width: 90% !important;
	height: 90% !important;
}
/* Hides element with display */
.hide {
	display: none !important;
}
/* Hides with visivility - Can be use on forms */
.hidevisible{
	width: 0;
	height: 0;
	padding: 0;
	margin: 0;
	border: unset !important;
	visibility: hidden;
}
/* Round push buttons */
.buttons {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 5px;
  font-size: 31px;
  height: 130px;
  width: 130px;
  box-shadow: 0 2px 4px darkslategray;
  cursor: pointer;
  transition: all 0.2s ease;
}

.buttons:hover {
 background-color: #65b9e6;
}

.buttons:active {
  box-shadow: 0 0 2px darkslategray;
  transform: translateY(2px);
}

.buttons {
  margin-bottom: 10px;
}

.round-1 {
  border-radius: 5%;
}

.round-2 {
  border-radius: 10%;
}

.round-3 {
  border-radius: 20%;
}

.round-4 {
  border-radius: 30%;
}

.round-5 {
  border-radius: 40%;
}

.round-6 {
  border-radius: 70%;
}

*[readonly="readonly"]{
	background-color: #f0f0f0;
}

.w-50{
	width: 50%;
}
.w-60{
	width: 60%;
}
.w-70{
	width: 70%;
}
.w-80{
	width: 80%;
}
.w-90{
	width: 90%;
}
.w-100{
	width: 100%;
}
fieldset{
	border: unset;
    padding: 5px;
    margin: 10px;
    box-sizing: border-box;
    width: 100%;
}
fieldset legend{
	font-size: large;
	font-weight: 900;
	color: black;
}

.input_copy {
    background-color: var(--lightgrey);
    color: var(--darkgrey);
    height: 40px !important;
    padding: 7px 20px !important;
    border-radius: 5px !important;
    font-size: 1rem;
    border-width: 2px;
    border-style: solid;
    border-color: var(--grayishBlue);
    border-radius: 4px;
    text-align: left;
    outline: transparent;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* This container helps the thumbnail behave as if it were an unscaled IMG element */
.htmlthumbnail-container {
  width: 100%;
  display: inline-block;
  position: relative;
  background-color: var(--lightgrey);
}

/* Image Icon for the Background */
.htmlthumbnail-container::before {
  position: absolute;
  left: ~"calc(50% - 16px)";
  top: ~"calc(50% - 18px)";
  opacity: 0.2;
  display: block;
  -ms-zoom: 2;
  -o-transform: scale(2);
  -moz-transform: scale(2);
  -webkit-transform: scale(2);
}

/* This is a masking container for the zoomed iframe element */
.htmlthumbnail-iframe {
  -ms-zoom: @thumbnail-zoom;
  -moz-transform: scale(@thumbnail-zoom);
  -moz-transform-origin: 0 0;
  -o-transform: scale(@thumbnail-zoom);
  -o-transform-origin: 0 0;
  -webkit-transform: scale(@thumbnail-zoom);
  -webkit-transform-origin: 0 0;
  height: 600px;
}

/* This facilitates the fade-in transition instead of flicker. It also helps us maintain the illusion that this is an image, since some webpages will have a preloading animation or wait for some images to download */
.htmlthumbnail-iframe div {
/*  opacity: 0;*/
  transition: all 300ms ease-in-out;
  width: 100%;
  height: 100%;
}

/* Add spacing on last .form actions div  */
.form .two-col > div:last-child {
	width: 100%;
}
.hidden{
	display: none !important;
}

silk-progressbar{
	width: 100%;
    padding: 5px;
}
silk-progressbar .main {
	display: block;
  	width: 100%;
  	background-color: #ddd;
  	border-radius: 5px;
  	height: 30px;
}

silk-progressbar .inner{
	width: 0%;
	height: 30px;
	background-color: #04AA6D;
	text-align: center;
	line-height: 30px;
	color: white;
}


dialog{
  z-index: 9999;
  display: none;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
  color: #000;
}
dialog[open]{
  display: block;
  border: unset;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  /*z-index: 9999;*/
  position: fixed;
    /*transform: translate(-50%, -50%);*/
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
dialog .container{
	max-width: 1272px;
    margin: 0 auto;
    padding: 0;
    background-color: rgb(248,248,248);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*border-radius: 24px;*/
}
dialog form{
    padding: 25px;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 40vw;
    border: 1px solid var(--mediumgrey);
    background-color: white;
    width: unset;
}
dialog .btn{
	padding: 10px;
	margin: 10px;
}

.mobile-menu{
	display: none;
	text-align: center;
}
.slidemenu{
	background-color: var(--white);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    /*text-align: center;*/
    margin: 8px;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.slidemenu .row {
    align-items: center;
    ustify-content: unset;
    display: flex;
    flex-direction: unset; 
    flex-wrap: unset; 
    width: 100%;
    overflow: auto;
}

.slidemenu details {
   	/*margin-right: 40px; */
     /*margin-left: 40px;*/
    padding: 5px;
}

.mobile-menu summary {
  writing-mode: vertical-lr;
  text-align: center;
}
.mobile-menu summary::marker {
  font-size: 0;
}
.slidemenu summary::after {
/*  content: "III";
  letter-spacing: -1px;*/
}
.slidemenu summary:hover {
  /*transform: scale(1.1);*/
}
.slidemenu summary::marker {
  /*font-size: 0;*/
}
.slidemenu summary::-webkit-details-marker {
  display: none;
}
.slidemenu details[open] .menu {
  animation-name: menuAnim;
}
.slidemenu details[open] summary::before {
  /*content: "X";*/
}
.slidemenu details[open] summary::after {
  /*content: "";*/
}
.slidemenu .menu {
  height: 0;
  width: fit-content;
  border-radius: var(--cornerRad);
  background-color: var(--veryLightGray);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  animation: closeMenu 300ms ease-in-out forwards;
}
.slidemenu .menu a {
  /*padding: 12px 24px;*/
  margin: 0 16px;
  color: var(--secoColor);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  text-align: center;
  transition: filter 200ms linear 0s;
}
.slidemenu .menu a:nth-of-type(1) {
  /*padding-top: 24px;*/
}
.slidemenu .menu a:nth-last-of-type(1) {
  border-bottom: none;
}
.slidemenu .menu a:hover {
  filter: brightness(150%);
}
.slidemenu details::before {
  content: "Menu options";
  color: var(--secoColor);
  position: absolute;
  margin-left: -60px;
  padding: 10px 10px;
  opacity: 0.4;
}
silk-tabs details::before {
	content: attr(data-before-content) !important;
}
.slidemenu details[open]::before {
  animation: fadeMe 300ms linear forwards;
}
/** Vertical tabs **/
.vertical-tab {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    position: relative;
}
.flex-box{
	display: flex;
    flex-wrap: wrap;
}
.vertical-tab .card, .card .cardcontnet{
	overflow-y: unset !important;
}
.cardlabel{
	text-align: center;
}
.vertical-tab .card {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 10%;
}
.vertical-tab .cardimg {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
    overflow: hidden;
}
.vertical-tab .img-thumbnail {
    padding: 0.25rem;
    border-radius: 0.25rem;
    max-width: 100%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: xxx-large;
    text-align: center;
}
.vertical-tab .vertical-toggle{
	display: none;
}
.vertical-tab .tabmenu{
	width: 30%;
}
silk-tabs[vertically="true"] {
	position: relative;
}
silk-tabs[vertically="true"] .vertical-toggle{
	display: none;
}
silk-tabs[vertically="true"] #sidebarToggleTop[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
	position: absolute;
}
silk-tabs[vertically="true"] .sidebarToggleTop{
	cursor: pointer;
	color: var(--white);
	padding: 7px 15px;
	background-color: var(--primary);
	border-radius: 5px;
}
silk-tabs[vertically="true"] silk-tab{
	width: 100%;
}
silk-tabs[vertically="true"] .flex-box{
	justify-content: center;
}
.show-tabmenu {
	display: block !important;
	width: 100% !important;
    position: absolute;
    height: 100vh;
    top: 10px;
    z-index: 999;
}
.slidecontent{
	width: 100%;
}
@keyframes menuAnim {
  0% {
    height: 0;
  }
  100% {
    height: auto;
  }
}
@keyframes fadeMe {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
  }
}
.currency::before {
  content: "$";
  margin-right: 2px;
}
.silk-stack-container{
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 5px;
}
.silk-stack-box{
	position: relative;
	width: auto;
	height: auto;
	overflow: visible;
	padding: 10px;
}
.silk-stack-grow {
	position: absolute;
	bottom: 3px;
	right: 3px;
	border: solid black;
	border-width: 0 13px 13px 0;
	display: inline-block;
	padding: 10px;
	cursor: pointer;
	transition: all 500ms;
}
.silk-stack-del {
	position: absolute;
	top: 2px;
	right: 50%;
	font-size: x-large;
	cursor: pointer;
	transition: all 500ms;
}
.silk-stack-shrink {
	transition: all 500ms;
	position: absolute;
	top: 3px;
	left: 3px;
	border: solid black;
	border-width: 13px 0 0 13px;
	display: inline-block;
	padding: 10px;
	cursor: pointer;
}
.silk-stack-del:hover{
	font-size: xx-large;
}
.silk-stack-shrink:hover, .silk-stack-grow:hover{
	padding: 15px;
}
.silk-stack-move:hover{
	font-size: xx-large;	
}
.silk-stack-move {
	transition: all 200ms;
	position: absolute;
	top: 2px;
	left: 15px;
  	cursor: move;
  	font-size: x-large;
}
.silk-stack-remove:hover{
	font-size: xx-large;	
}
.silk-stack-remove {
	transition: all 200ms;
	position: absolute;
	top: 2px;
	right: 50%;
  	cursor: pointer;
  	font-size: x-large;
}
silk-stack {
	display: block;
	width: 100%;
	height: 100%;
  	/*background-size: 42px 42px;*/
  	/*background-image:*/
    /*linear-gradient(to right, #f1ecec 1px, transparent 1px),*/
    /*linear-gradient(to bottom, #f1ecec 1px, transparent 1px);*/
}
.maincontent:has(> silk-dashboard) {
	height: 100%;
}
.dashboard-container-setting{
	display: flex;
}
.dashboard-container-setting .btn{
	font-size: 10px;
}
silk-dashboard {
	display: block;
	height: -webkit-fill-available;
	/*overflow: hidden;*/
}
silk-dashboard .silk-stack-container{
	padding: 0;
}
silk-dashboard silk-tabs {
	display: block;
	/*height: -webkit-fill-available;*/
	overflow: hidden;
	margin: 0;
}
silk-dashboard silk-tabs .slidemenu{
	height: -webkit-fill-available;
	overflow: hidden;
	margin: 0;
}
silk-dashboard silk-tabs div.tabmenu{
	overflow: unset;
}
silk-dashboard silk-tabs .slidemenu silk-tab{
	height: -webkit-fill-available;
}
.disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
  pointer-events: none;
}

.mobile-table{
	display: none;
}
  .dev-console-wrap {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Hidden checkbox drives the open/close state — no JS needed */
  .dev-console-toggle {
    display: none;
  }

  /* The arrow tab */
  .dev-console-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    color: #555;
    font-size: 13px;
    user-select: none;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
  }
  .dev-console-tab:hover { background: #252525; color: #999; }

  /* Arrow icon — CSS triangle, no icon font needed */
  .dev-console-tab::before {
    content: '';
    display: block;
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid currentColor;
    transition: transform 0.25s ease;
  }

  /* The drawer panel */
  .dev-console-drawer {
    width: 98vw;
    max-height: 0;
    overflow: hidden;
    background: #0d0d0d;
    border-top: 1px solid #2a2a2a;
    border-left: 1px solid #2a2a2a;
    border-right: 1px solid #2a2a2a;
    border-radius: 6px 6px 0 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    order: -1; /* sit above the tab in flex column */
  }

  /* Open state — checkbox checked */
  .dev-console-toggle:checked ~ .dev-console-drawer {
    max-height: 90vh;

  }
  .dev-console-toggle:checked ~ .dev-console-tab::before {
    transform: rotate(180deg);
  }

  /* Inner header bar */
  .dev-console-bar {
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 30px;
    border-bottom: 1px solid #1e1e1e;
    gap: 10px;
  }
  .dev-console-bar-label {
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3a3a3a;
    flex: 1;
  }

  /* Scrollable log output */
  .dev-console-output {
    overflow-y: auto;
    max-height: 85vh;
    padding: 10px 14px;
    font-family: ui-monospace, "Cascadia Code", "Fira Code", Menlo, monospace;
    font-size: 12px;
    line-height: 1.8;
    color: #b0b0b0;
    white-space: pre-wrap;
    word-break: break-all;
  }
/*  .dev-console-output::-webkit-scrollbar { width: 4px; }
  .dev-console-output::-webkit-scrollbar-track { background: transparent; }
  .dev-console-output::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 99px; }*/

  silk-stack {
 	--main-padding: 160px;
 	--red: red;
 	--blue: blue;
 	--gray: grey;
 	display: block;
 	overflow: auto;
 	width: 100%;
 	height: 100%;
 	/*background-size: 42px 42px;*/
 	/*background-image:*/
 	/*linear-gradient(to right, #f1ecec 1px, transparent 1px),*/
 	/*linear-gradient(to bottom, #f1ecec 1px, transparent 1px);*/
 	silk-dashbox{
 		position: relative;
 	}
 	silk-dashcol .edit {
 		position: absolute;
	    right: 0;
	    top: 0;
	    background: hsl(0deg 0% 100%);
	    color: #000000;
 	}
 	 .menubtn {
	    background: hsl(0deg 0% 100%) !important;
	    color: #000000;
 	}
 	.cannot-move{
 		background: var(--red) !important;
 	}
 	.swap-box{
 		position: absolute;
 		width: 100%;
 		height: 100%;
 		background: var(--blue) !important;
 		top: 0;
 		z-index: 9999;
 	}
 	.move-parent{
 		background: var(--gray);
 	}
 	.swap-box i{
   		display: none;
 	}
 	.swap-box:hover{
 		opacity: 50%;
 		cursor: pointer;
 	}
 	.move-parent:hover:not(:has(*:hover)){
 		background: rgb(128 128 128 / 60%);
 		cursor: pointer;
 	}
 	.dashboardstack{
 		display: flex;
 		flex-wrap: wrap;
 		justify-content: space-between;
 	}
 	.silk-stack-move {
 	    transition: all 500ms;
 	    position: absolute;
 	    top: 2px;
 	    right: 5px;
 	    cursor: pointer;
 	    font-size: x-large;
 	}
 	[class^="box-"]{
 		border: 2px red dotted;
 		align-content: flex-start;
 		justify-content: flex-start;
 		display: flex;      
   		flex-wrap: wrap;       
 		gap: 5px;
 	    position: relative;
 	    padding-top: 8px;    
 	    padding-bottom: 8px; 
 	    padding-left: 5px;
 	    box-sizing: border-box;  
 	}
 	.locked{
 		border: unset;
 	}
 	.box-1{
 		flex-basis: 100%; 
 		min-height: 100px;
 		/*justify-content: center;*/
 	}
 	.box-2{
 		flex-basis: 75%; 
 		flex-shrink: 0;
 		min-height: 400px;
 	}
 	.box-3{
 		flex-basis: 25%;
 		min-height: 400px; 
 	}
 	.col-1{

 		/*flex: 0 1 calc((100vw - (2 * var(--main-padding))) / 4); */
 		flex: 0 0 calc(25% - 5px); 
   		box-sizing: border-box;
 	}
 	.col-2{
 		/*flex: 0 1 calc((100vw - (2 * var(--main-padding))) / 2); */
 		flex: 0 0 calc(50% - 5px); 
   		box-sizing: border-box;
 	}
 	.col-4{
 		flex: 0 1 100vw; 
 	}
 	
 }
 silk-dashboardtabwidget{
 	display: grid;
 	height:  -webkit-fill-available;
 	/*width:  -webkit-fill-available;*/
 }
 .wdiget-container{
 	display: grid;
    height: 100%;
}
/* Base placeholder style with transition */
.iTable_filter  input::placeholder {
  opacity: 1;
  transition: opacity 0.25s ease;
}

/* Fade out to completely invisible on focus */
.iTable_filter  input:focus::placeholder {
  opacity: 0;
}
 /*silk-dashboardtabwidget div{*/
 	/*height:  -webkit-fill-available;*/
 	/*width:  -webkit-fill-available;*/
 /*}*/
 /*silk-dashboardtabwidget div div:nth-child(2){*/
 	/*height:  -webkit-fill-available;*/
 	/*width:  -webkit-fill-available;*/
 /*}*/
 /*silk-dashboardtabwidget div div:nth-child(2) .widget{*/
 	/*flex: 1; */
 /*}*/

 /* Base setup to mimic Font Awesome behavior */
.fa-claude-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em; /* Perfectly aligns icon with standard text */
  background-color: currentColor; /* Forces the mask to use your text color */
  
  /* Path to your custom SVG */
  -webkit-mask-image: url('/fontawesome/claude.svg');
  mask-image: url('/fontawesome/claude.svg');
  
  /* Ensure the SVG scales smoothly */
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Optional: Change the color on hover */
.fa-custom-icon:hover {
  color: #ff4500;
}

.disabled-row {
	/* Dim the visual appearance */
	opacity: 0.5;
	position: relative;
	/* Turn the background grayish if needed */
	background-color: #f2f2f2 !important; 

	/* Block clicks, hover effects, and text selection */
	pointer-events: none;
	user-select: none;
}
.disabled-row::after {
	content: "Not available";
	right: 5%;
	top: 50%;
	font-size: xxx-large;
	position: absolute;
	font-weight: bolder;
	color: red;
}

silk-lazycarousel{
	.carousel {
		width: 200px;
	  /*position: relative;*/
	  /*max-width: 800px;*/
	  	margin: 0 auto;
	}

	/* Horizontal track with snap controls */
	.carousel-track {
	  display: flex;
	  overflow-x: auto;
	  scroll-behavior: smooth;
	  scroll-snap-type: x mandatory; /* Forces alignment on x axis */
	  scrollbar-width: none; /* Hides default scrollbar for Firefox */
	}

	.carousel-track::-webkit-scrollbar {
	  display: none; /* Hides default scrollbar for Chrome/Safari */
	}

	/* Individual slides */
	.carousel-slide {
		cursor: pointer;
	  flex: 0 0 100%; /* Ensures each slide takes exactly full width */
	  width: 100%;
	  scroll-snap-align: start; /* Snaps slide right to the left edge */
	}

	.carousel-slide img {
	  width: 100%;
	  /*height: auto;*/
	  display: block;
	  /*object-fit: cover; /* Keeps image proportions clean */
	  height: 200px;
      object-fit: contain;
	}

	/* Dot controls */
	.carousel-nav {
	  display: flex;
	  justify-content: center;
	  gap: 2px;
	  margin-top: 15px;
	}

	.nav-dot {
	  width: 12px;
	  height: 12px;
	  border-radius: 50%;
	  background-color: #ccc;
	  text-decoration: none;
	  transition: background-color 0.3s;
	}

	.nav-dot:hover {
	  background-color: #666;
	}

}