﻿@font-face {
  font-family: Kabel;
  src: url("/co/fonts/kabel.ttf");
}

body {
	margin:75px 0 0 0;
	padding:0;
	background-color:#e6e6e6;
	font-family:"Raleway", sans-serif;
	font-size:12pt;
	overflow-x:hidden;
}
#bodycontainer {
	width:100vw;
	height:auto;
}
h1, h2, h3, h4, h5, h6 {
	font-weight:600;
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
input.nohighlight:focus {
	outline: none !important;
	-webkit-tap-highlight-color: transparent;
}
option:disabled { /* for list items in dropdown */
	color:#000;
}

.hint-icon {
	color:#ccc;
	margin:5px;
	cursor:pointer;
}

#loading {
	position:fixed;
	bottom:0; left:0;
	display:block;
	width:100%;
	padding:15px;
	text-align:center;
	background-color:rgba(0,0,0,0.5);
	color:#ffffff;
	z-index:99999;
	font-size:14pt;
}
#loading i {
	display:inline-block;
	margin-right:15px;
}
#top {
	display:none;
	position:fixed;
	top:0;
	width:100%;
	height:60px;
	background-size:100%;
	background-color:#999999;
	background-repeat:no-repeat;
	font-size:13pt;
	font-weight:600;
	color:#ffffff;
	text-align:right;
	z-index:990;
	overflow:hidden;
	box-shadow:0 0 15px rgba(0,0,0,0.5);
}
#client_link {
	position:fixed;
	left:0px;top:0px;
	width:100%; height:60px;
	cursor:pointer;
	z-index:991;
}
#top #top-banner-bg {
	position:absolute;
	top:0; left:0;
	width:100%; height:100%;
	pointer-events:none;
	object-fit:cover;
}
#top #top-banner-logo {
	position:absolute;
	top:0; left:40px;
	width:auto; height:100%;
	pointer-events:none;
}
#top > h3 {
	position:absolute !important;
	top:0; left:40px !important;
	margin:0; padding:0;
	height:100%; line-height:60px;
	text-align:left;
	pointer-events:none;
	display:block;
	width:calc(100% - 530px);
	overflow-x:hidden;
	white-space:nowrap;
}
#top ul {
	position:absolute;
	right:40px;top:0;
	height:60px; line-height:60px;
	list-style-type:none;
	margin:0; padding:0;
	z-index:992;
}
#top ul li {
	display:table-cell;
	margin:0 10px;padding:0 10px;
	vertical-align:bottom;
	height:60px;
	cursor:pointer;
}
#top ul li:hover {
	background-color:rgba(0,0,0,0.5);
	color:yellow;
	transition:0.2s;
}
#top ul li i {padding-right:10px;}
#switch_comp {
	display:none;
}
#breadcrumbs {
	position:relative;
	width:100%;
	height:25px; line-height:25px;
	margin:10px auto 15px auto;
	padding-left:45px;
	color:#000;
}
#breadcrumbs a {
	color:#0000cc;
	text-decoration:none;
}
#breadcrumbs a:hover {
	text-decoration:underline;
}
.topbar {
	padding:10px;
	background-color:#e8e8e8;
	-moz-border-radius:5px;
	border-radius:5px;
	border:1px solid silver;
	text-align:right;
	width:100%;
}

#main {
	position:relative;
	display:block;
	text-align:left;
	background-color:#fff;
	margin:0 auto 30px auto;
	padding:15px 30px 15px 30px;
	width:calc(100% - 120px);
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:0.5px solid rgba(0,0,0,0.2);
}
#main.logged-in {
	min-height:calc(100vh - 250px);
}
#main.logged-out, #main.logged-in.page-builder {
	min-height:auto;
	margin-top:15px;
}
#main:before {
	content:"CompOrganizer";
	font-family:"Kabel", "Raleway", sans-serif;
	font-size:21pt;
	text-indent:110px;
	font-weight:600;
	color:#555;
	background-image:url("/images/co.png");
	background-repeat:no-repeat;
	background-size:100%;
	background-position:0 0;
	display:block;
	width:90px; height:90px;
	position:absolute;
	left:30px; top:-50px;
	transition:0.2s ease-in-out;
	transform:translateX(-450px);
	border:5px solid #fff;
}
#main.logged-out:before {
	transform:translateX(0);
}
#loginform {
	margin:50px auto 0 auto;
	width:100%;
	max-width:400px;
}
#loginform .flex-row {
	padding:5px 0;
	display:flex;
	flex-direction:row;
	flex-wrap:nowrap;
	align-items:center;
}
#loginform label {
	white-space:nowrap;
	text-align:right;
	width:90px;
	padding-right:10px;
}
#loginform input[type="text"], #loginform input[type="password"] {
	font-size:1rem;
	width:calc(100% - 120px); height:32px;
	padding:0 5px;
}
#loginform input:focus {
	outline:none;
}
#login-button, #submit { /* later, remove the #submit ID and return it to #login-button */
	font-size:1rem;
	width:100px; height:37px;
}
#login_info {
	width:100%;
	max-width:360px;
	margin:0 auto;
	padding:15px 0;
}
@media(max-width:767px) {
	#main:before {
		width:75px; height:75px;
		font-size:18pt;
		left:15px;	
		text-indent:90px;
	}
	#loginform {
		width:100%;
		max-width:none;
		margin:50px 0 0 0;
	}
	#loginform label {display:none;}
	#loginform input[type="text"], #loginform input[type="password"] {
		width:100%;
	}
	#login-button, #submit { /* later, remove the #submit ID and return it to #login-button */
		width:100%;
	}
}
@media(max-width:450px) {
	#main:before {content:"";}
}


#main_menu {
	width:100%;
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content:center;
	align-items:flex-start;
	align-content:flex-start;
	margin:30px 0;
}
.mainmenu_link {
	display:flex;
	flex-direction:column;
	justify-content:center;
	text-align:center;
	vertical-align:top;
	width:100px;
	padding:20px;
	margin:0;
	cursor:pointer;
}
#main_menu .mainmenu_link img {
	transition:0.2s ease-in-out;
}
#main_menu img {
	display:block;
	margin:0 auto;
	width:64px; height:64px;
	object-fit:cover;
}
#main_menu img.my-icon {
	border-radius:100%;
	-webkit-border-radius:100%;
	-moz-border-radius:100%;
	margin-top:-3px;
	border:1px solid #999;
	background-color:#ccc;
}
#main_menu .mainmenu_link:hover img {
	transform:scale(1.2);
}
#page_builder {
	width:calc(100% - 60px);
	margin: 0 30px 30px 30px;
}
#headline {
	text-align:center;
	margin:15px auto 30px auto;
	font-size:16pt;
	font-weight:500;
}
#headline img {
	vertical-align:middle;
	height:45px;
	margin-right:5px;
}
.header {
	text-align:center;
	font-size:14pt;
	margin:15px 15px 30px 15px;
}
.subheader {
	text-align:center;
	margin-top:-25px; margin-bottom:30px;
	font-size:11pt;
	color:#666;
}
.header table tr td {
	text-align:left;
	font-size:14pt;
}
div.ui-datepicker{
 font-size:9pt;
}

button, .button, .btn, input[type=button], input[type=submit] {
	cursor:pointer;
	color:#fff;
	background-color:#337ab7;
	border-color:#2e6da4;
	display:inline-block;
	padding:0 10px;
	height:30px; line-height:27px;
	border-radius:4px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	font-size:12pt;
	vertical-align:middle;
	-webkit-appearance: none;
	border-width:1px;
	border-style:solid;
}
span.btn {
	display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}
input[type=button], input[type=submit], span.btn, div.btn {font-size:10pt;}
a.button {text-decoration:none;}
button:hover, .button:hover, input[type=button]:hover, input[type=submit]:hover {
	background-color:#286090;
}
button:disabled, .button:disabled, input[type=button]:disabled, input[type=submit]:disabled {opacity:0.5; cursor:no-drop;}
.btn-sm, button .btn-sm, .button.btn-sm, input[type=button].btn-sm, input[type=submit].btn-sm {
	height:27px; line-height:22px;
	padding-left:8px; padding-right:8px;
	font-size:11pt;
	border:1px solid #2e6da4;
}
.ribbon .button {
	border:none;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	margin-right:1px;
	line-height:29px;
}
.ribbon .button.selected {
	background-color:#43a4f9;
	border-bottom:none;
}
.ribbon .button:first-child {
	border-top-left-radius:4px;
	-webkit-border-top-left-radius:4px;
	-moz-border-top-left-radius:4px;
	border-bottom-left-radius:4px;
	-webkit-border-bottom-left-radius:4px;
	-moz-border-bottom-left-radius:4px;
}
.ribbon .button:last-child {
	border-top-right-radius:4px;
	-webkit-border-top-right-radius:4px;
	-moz-border-top-right-radius:4px;
	border-bottom-right-radius:4px;
	-webkit-border-bottom-right-radius:4px;
	-moz-border-bottom-right-radius:4px;
}

.btn-none {
	background-color:#fff;
	color:#666;
	border:1px solid #999;
}
.btn-off, input[type=button].btn-off {
	background-color:#fff;
	color:#aaa;
	border:1px solid #aaa;
}
.btn-none:hover, .btn-off:hover {
	background-color:#ddd;
}
.btn-danger, .btn-danger:hover, .btn-danger.btn-sm,
	button.btn-danger, button.btn-danger:hover, button.btn-danger.btn-sm,
	.button.btn-danger, .button.btn-danger:hover, .button.btn-danger.btn-sm,
	input[type=button].btn-danger, input[type=button].btn-danger:hover, input[type=button].btn-danger.btn-sm
	{
		background-color: #d9534f; border-color: #d43f3a;
	}
.btn-warning, .btn-warning:hover, .btn-warning.btn-sm {background-color: #f0ad4e; border-color: #eea236;}
.btn-success, .btn-success:hover, .btn-success.btn-sm {background-color: #5cb85c; border-color: #4cae4c;}

#formtable, .formtable {margin-bottom:30px;}
#formtable table, .formtable table {width: 100%;}
.formtable .ft-row {clear:both;}
.formtable .ft-row .ft-col, .formtable .ft-row .label {display:inline-block; vertical-align:top;}

input.text, input[type=text], input[type=password], textarea {
	border: 1px solid #999;
	font-family: "Raleway", sans-serif;
	font-size:12pt;
	margin:0px;
	padding:3px 6px;
	border-radius:2px;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	background-color:#fffff0;
	box-shadow:inset 0px 0px 100px 100px #fffff0;
	-webkit-box-shadow:inset 0px 0px 100px 100px #fffff0;
	-moz-box-shadow:inset 0px 0px 100px 100px #fffff0;
}
.formtable input.text, .formtable .ft-row .onoffswitch {margin-bottom:10px;}
.formtable textarea {margin-bottom:7px;}
.formtable .ft-row input[type=radio]:last-child {
	margin-bottom:15px;
}

.formtable .ft-col small {
	display:block;
	position:relative;
	margin-top:-7px; margin-bottom:13px;
	white-space:normal;
	color:#999;
}

#formtable input.text, .formtable input.text, #formtable textarea, .formtable textarea {width:calc(100% - 15px);}
.formtable .ft-row {white-space:nowrap;}
.formtable .ft-row .ft-col {width:calc(100% - 175px); position:relative;}

#formtable textarea, .formtable textarea {height:120px;}

#formtable td, .formtable td {vertical-align:top;margin:0px;padding:5px;}
#formtable td.left, .formtable td.left, .formtable .ft-row .label {width:175px; white-space:normal;}
.spacer {height:20px;}
.input_spacer {height:10px;}
.centered, .text-center {text-align:center;}
.page-centered {
	display:flex; align-items:center; justify-content:center;
}

.formtable input.text.csz-city {
	width:calc(100% - 205px);
	float:left;
}
.formtable input.text.csz-state {
	width:25px;
	margin:0 10px;
}
.formtable input.text.csz-zip {
	width:115px;
	float:right;
}
.formtable input.date-label {
	background:none;
	border:none;
	border-bottom:1px dashed #999;
	font-size:12pt;
	padding:3px 0;
	box-shadow:none;
	-webkit-box-shadow:none;
	-moz-box-shadow:none;
}
.formtable input.date-label::placeholder {
	color:#ccc;
	opacity:1;
}
.formtable input.date-label::-ms-input-placeholder {color:#ccc;}
.formtable input.date {
	width:90px;
}

.formtable input.money {
	position:relative;
	width:calc(100% - 30px);
	padding-left:20px;
	z-index:1;
}
.formtable .ft-col .fa {height:25px; line-height:30px;}
.formtable i.push-right {
	position:relative;
	width:0;
	left:5px;
	z-index:2;
}
.formtable i.push-left {
	position:relative;
	width:0;
	left:-20px;
	z-index:2;
}
.select-container {
	display:block;
	width:calc(100% - 3px); height:25px;
	background-color:#ffffed;
	border: 1px solid #999;
	position:relative;
	overflow:hidden;
	padding: 0 0 0 0;
	margin-bottom:10px;
	vertical-align:bottom;
	border-radius:2px;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
}
.select-container select {
	border: none;
	background: transparent;
	font-size: 12pt;
	padding: 0px 15px 2px 6px;
	-webkit-appearance: none;
	width:100%; height:25px; line-height:25px;
	position:relative;
}
.select-container:after {
	content:"";
	position:absolute;
	width:0; height:0;
	border-left:8px solid transparent;
	border-right:8px solid transparent;
	border-top:12px solid #aaa;
	right:0; top:6px;
	margin-right:5px;
	pointer-events:none;
	background-color:#ffffed;
}
.select-container option:disabled {
	height:0;
	border-bottom:1px solid #ccc;
	margin:5px 0;
}

/* for fake and custom selects */
.custom-select-container {
	overflow:visible;
}
.select-container > label {
	padding-left:6px;
	font-weight:600;
}
.select-container > .options {
	display:none;
	position:absolute;
	background-color:#fff;
	border:1px solid #ccc;
	box-shadow:0 0 10px rgba(0,0,0,0.1);
	z-index:2;
}
.select-container > .options ul {
	list-style-type:none;
	margin:10px; padding:0;
}
.select-container > .options ul li {
	line-height:1.25rem;
	padding:2.5px 0;
	display:flex;
	flex-dirction:row;
	align-items:center;
	cursor:pointer;
	pointer-event:none;
}
#edit-price-modal .select-container > .options ul li input[type="checkbox"] {
	margin-right:10px;
}
.select-container > .options ul li.group-header {
	border-bottom:1px solid #ccc;
	font-weight:500;
	margin-bottom:7.5px;
}
.select-container > .options ul li.disabled {
	opacity:0.5;
	pointer-events:none;
}

.tooltipster-box {border:none !important;}
.tooltipster-content {padding:8px 10px !important;}
.tooltipster-arrow-background {top:0 !important;}
.tooltipster-arrow-border {display:none !important;}

.ui-tooltip {
	box-shadow:0 0 10px rgba(0,0,0,0.2);
	font-size:0.85em;
}

#actions {
	padding:5px 10px 0 10px;
	vertical-align:middle;
	background-color:#ccc;
}
#tabbar, .tabbar {
	width:calc(100% - 20px); height:40px;
	padding-left:20px;
	vertical-align:bottom;
	display:block;
	background-color:#ccc;
	border:1px solid #666;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	z-index:1;
}
#tabbar .tab, .tabbar .tab {
	background-color:#ccc;
	border-left:1px solid #666;
	border-right:1px solid #666;
	border-top:1px solid #666;
	border-bottom:1px solid #666;
	padding:0 15px;
	margin:-1px 0 0 -5px;
	text-decoration:none;
	position:relative;
	float:left;
	bottom:-10px;
	border-top-left-radius:20px 10px;
	-moz-border-top-left-radius:20px 10px;
	-webkit-border-top-left-radius:30px 45px;
	z-index:2;
	cursor:pointer;
	text-align:center;
	padding-left:10px; padding-right:0;
	width:auto; height:30px; line-height:30px;
	min-width:50px;
	white-space:nowrap;
}
#tabbar .tab.selected, .tabbar .tab.selected {
	border-bottom:1px solid #fff;
	background-color:#fff;
	z-index:3;
}
#tabbar .tab .fa, .tabbar .tab .fa, #tabbar .tab .fas, .tabbar .tab .fas {
	position:relative;
	padding-right:5px;
}
#tabbar .badge, .tabbar .badge {
	display:inline-block;
	position:relative;
	top:-1px;
	font-size:11pt;
	color:#fff;
	background-color:red;
	padding:0 5px;
	margin-left:7px;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	height:20px; line-height:18px;
}

.ccbar {
	display:block;
	width:100%;height:30px;
	background-image:url('/images/bar.jpg');
	-webkit-border-top-left-radius: 8px;
	-moz-border-radius-topleft: 8px;
	border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	-moz-border-radius-topright: 8px;
	border-top-right-radius: 8px;
	overflow:hidden;
	position:relative;
}
.ccbar * {font-size:11pt;}

.ccbar_inner {
	display:inline-block;
	position:absolute;
	margin-left:5px;
	color:#ffffff;
	text-transform:uppercase;
	border-color:green;
	height:30px;
	overflow:hidden;
	white-space:nowrap;
	width:calc(100% - 300px);
	z-index:4;
}
.ccbar_inner2 {
	display:inline-block;
	position:absolute;
	right:0; top:0;
	z-index:5;
}

.ccbar_move {
	width:27px;height:30px;cursor:move;
	position:absolute;
	left:5px; top:5px;
}

.ccbar_textdesc {
	width:100%;height:20px;padding:5px 5px 0px 20px;overflow:hidden;white-space:nowrap;
	margin-left:10px;
}

.ccbar_description {
	display:none;
	position:relative;left:10px;top:2px;width:100%;height:20px;
	white-space:nowrap;
}

.ccbar_inputdesc {
	display:inline-block;color:gray;width:100%;margin-left:20px;border:none;
	height:20px;position:relative;top:2px;padding-left:10px;padding-right:10px;
	cursor:pointer;
}

.cc_ok {
	display:inline;position:absolute;right:15px;top:4px;color:#fff;background-color:green;font-size:8pt;padding:3px 3px 3px 3px;
	border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;
}

.ccbar_inner2 ul {
	height:30px;
	display:inline-block;
	margin:0 15px 0 0;
	border-left:1px solid #666;
	padding:0;
}
.ccbar_inner2 ul li {
	display:inline-block;
	padding:0 10px;
	border-right:1px solid #666;
}
.ccbar_inner2 ul li a {
	display:inline-block;
	height:30px; line-height:30px;
	color:#fff;
	text-decoration:none;
}

.ccbutton {
	display:inline-block;
	font-size:14px;
	cursor:pointer;
	color:#fff;
	border:1px solid #fff;
	border-radius:100%;
	width:16px; height:16px; line-height:17px;
	text-align:center;
	margin-right:8px;
	position:relative; top:6px;
	vertical-align:top;
}
.ccbutton.fa-plus {background-color:#54c435;}
.ccbutton.fa-times {background-color:red;}
.ccbutton.fa-minus {background-color:orange;}

.ccbar .showhide i {
	display:inline-block;
	padding-right:5px;
	font-size:18px;
	position:relative;
	top:2px;
}
.ccbar .showhide i.fa-toggle-on {color:#54c435;}

#complist {
	margin:0 0 30px 0;
}
#complist ul {
	list-style-type:none;
	margin:0; padding:0;
}
#complist ul li {
	display:inline-flex;
	flex-direction:row;
	position:relative;
	width:calc(25% - 30px);
	padding:10px 15px;
	cursor:pointer;
}
#complist ul li .compimg {
	position:relative;
	left:0; top:0;
	width:60px; height:60px;
	object-fit:cover;
	background-color:#ccc;
	border-radius:5px;
		-webkit-border-radius:5px;
		-moz-border-radius:5px;
	float:left;
	margin-right:10px;
	overflow:hidden;
}
#complist li:hover .compimg {
	transform:scale(1.1);
	transition:0.2s ease-in-out;
}
#complist ul li .compimg img {
	position:absolute;
	width:100%; height:100%;
	left:0; top:0;
}
#complist ul li .comp-details {
	width:calc(100% - 70px);
	overflow-x:hidden;
}
#complist ul li .compname {
	font-size:14pt;
	font-weight:normal;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}
#complist ul li .organizername {
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
	color:#999;
	font-size:11pt;
	font-style:italic;
}

.add, .delete {
	position:relative;
	display:inline-block;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10pt;
	width:20px; height:20px;
	padding:0;
	border-radius:100%; -webkit-border-radius:100%; -moz-border-radius:100%; -o-border-radius:100%;
	color:#fff;
	cursor:pointer;
	text-decoration:none;
}

.add, .add:hover, .add:visited {background-color:green;}
.delete, .delete:hover, .delete:visited {background-color:red;}
.add::after {content: "+"; padding-left:2px; line-height:20px;}
.delete::after {content: "x"; padding-left:3px; line-height:18px;}
.add::after, .delete::after {
	position:absolute;
	left:4px;
}
#formtable .add, #formtable .delete {top:3px;}


table.default {
	width:100%;
	background-color:#ffffff;
	border-collapse:collapse;
}
table.default tr:nth-child(odd) {background-color:#e8e8e8;}
table.default tr:nth-child(even) {background-color:#f8f8f8;}
table.default td, table.default th {
	margin:0;
	padding:5px;
}
table.hover tr:hover {background-color:#ffffcc;}

.error {color:red !important;}
.success {color:green !important;}

.fancybox-inner {
	overflow:visible;
}
.fancybox-skin {background-color:#fff;}
.fancybox-close {
	right:10px; top:10px;
	font-weight:700;
	opacity:0.5;
}
.fancybox-close:hover, .fancybox-close:after, .fancybox-close:hover:after {
	color:#000;
	opacity:1;
	font-weight:700;
}
.fancybox-close::after {
	left:6px; top:-2px;
}

.ui-datepicker {
	padding:0;
	z-index:8040 !important;
	border:1px solid #aaa;
}
.ui-datepicker-trigger {display:none;}
.ui-datepicker-header {
	background:#ccc;
	border:none;
	padding:0.5em 0;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
}
.ui-datepicker-header .ui-widget-icon {
	background:none !important;
}
.ui-datepicker-prev .ui-datepicker-next {
	background:#fff !important;
}
.ui-icon-circle-triangle-w {background:url("/images/icons32/triangle-w.png") 0 0/16px no-repeat !important;}
.ui-icon-circle-triangle-e {background:url("/images/icons32/triangle-e.png") 0 0/16px no-repeat !important;}
.ui-datepicker .ui-datepicker-title select {
	width:calc(49% - 10px);
	margin:1px 2px;
}
.ui-datepicker table {
	border-collapse:collapse;
	margin:0 !important;
	width:calc(100% - 1px);
}
.ui-datepicker td {
	padding:0;
	font-size:11pt;
	border:1px solid #ccc;
}
.ui-datepicker table tr td:first-child {border-left:none;}
.ui-datepicker table tr td:last-child {border-right:none;}

.ui-datepicker td a.ui-state-default {
	border:none;
}
.ui-datepicker-buttonpane {
	border:none;
	margin:0 !important;
	background-color:#ccc;
}
.ui-datepicker-current, .ui-datepicker-close {
	color:#fff !important;
	background:#337ab7 !important;
	border-color:#2e6da4 !important;
}
.ui-datepicker-current:hover, .ui-datepicker-close:hover {background-color:#286090 !important;}



.onoffswitch {
	display:inline-block;
    position: relative; width: 64px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 1px solid #666666; border-radius: 21px;
}

.onoffswitch-inner {
    width: 200%; margin-left: -100%;
    -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
    float: left; width: 50%; height: 21px; padding: 0; line-height: 21px;
    font-size: 12px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    border-radius: 21px;
    box-shadow: 0px 10.5px 0px rgba(0,0,0,0.08) inset;
}

.onoffswitch-inner:before {
    content: "ON";
    padding-left: 9px;
    background-color: #47BA43; color: #FFFFFF;
    border-radius: 21px 0 0 21px;
}

.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 9px;
    background-color: #999999; color: #FFFFFF;
    text-align: right;
    border-radius: 0 21px 21px 0;
}

.onoffswitch.yesno .onoffswitch-inner:before {content: "YES";}
.onoffswitch.yesno .onoffswitch-inner:after {content: "NO";}


.onoffswitch-switch {
    width: 21px; margin: 0px;
    background: #FFFFFF;
    border: 1px solid #666666; border-radius: 21px;
    position: absolute; top: 0; bottom: 0; right: 41px;
    -moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s; 
    background-image: -moz-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 80%); 
    background-image: -webkit-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 80%); 
    background-image: -o-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 80%); 
    background-image: linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 80%);
    box-shadow: 0 1px 1px white inset;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}

.photo-modal-bg {background-color:#fff;}
#photo-modal-body, #photo-modal-footer {width:75vw; padding:15px;}
#photo-modal-footer {text-align:center; background-color:#ccc; position:absolute; bottom:0;}
#photo-modal-body {min-height:100px; padding-bottom:75px;}
#photo-modal-body .tabbar {width:calc(100% - 22px); margin-bottom:10px;}
#photo-modal-body .tabbar .tab {width:calc(33% - 30px);}
#photo-modal-body input {
	width:calc(100% - 22px);
	padding:5px 10px;
	margin-bottom:10px;
}
#photo-modal-body .tabcontent .innercontent {
	max-height:calc(100vh - 300px);
	min-height:50vh;
	min-height:300px;
	overflow-y:scroll;
	display:flex; flex-direction:row; flex-wrap:wrap;
	white-space:normal;
	justify-content:space-between;
}
#photo-modal-body .tabcontent a {
	position:relative;
	width:20%;
	margin:20px 10px;
	text-align:center;
	font-size:10pt;
	text-decoration:none;
}
#photo-modal-body .tabcontent a.selected img {
	box-shadow:0 0 10px #337ab7;
	-webkit-box-shadow:0 0 10px #337ab7, 0 0 1px #337ab7;
	-moz-box-shadow:0 0 10px #337ab7;
}
#photo-modal-body .tabcontent a img {width:100%; margin-bottom:5px; vertical-align:top;}
#photo-modal-body #pmb-stock-list a img {margin-bottom:25px;}
#photo-modal-body #pmb-people-list a {height:auto; padding-top:20%; margin-bottom:25px; position:relative;}
#photo-modal-body #pmb-people-list a img {position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover;}

#photo-modal-body .tabcontent a span {display:block; width:100%; overflow-x:hidden; text-overflow:hidden;}
#photo-modal-body #pmb-stock-list a span {position:absolute; left:0; bottom:0;}
#photo-modal-body #pmb-people-list a span {position:absolute; left:0; bottom:-20px; z-index:5;}

#photo-modal-body #pmb-upload-button {
	height:90px; padding-top:25px; padding-bottom:25px;
	display:flex; flex-direction:column;
	color:#fff; background-color:#ccc;
	font-size:18pt;
	font-weight:bold;
	text-align:center;
	transition:0.2s ease-in-out;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
}
#photo-modal-body #pmb-upload-button:hover {
	background-color:#bbb;
}
#photo-modal-body #pmb-upload-button i {
	color:#fff;
	display:block;
	font-size:36pt;
}
#photo-modal-footer button {margin:0 5px;}


#passive-message {
	position:fixed;
	left:0; bottom:-80px;
	width:calc(100vw - 30px); height:50px;
	background-color:rgba(0,0,0,0.75);
	color:#fff;
	display:flex;
	flex-direction:row;
	padding:15px;
	transition:0.2s ease-in-out;
	z-index:8011;
}
#passive-message > div {
	display:flex;
	flex-direction:column;
	justify-content:center;
}
#passive-message-icon {
	flex:1;
	font-size:30pt;
	align-items:center;
}
#passive-message-icon .fa-exclamation-triangle {color:#ffd900;}
#passive-message-content {
	flex:4;
	color:#fff;
	align-items:flex-start;
}
#passive-message.message-visible {
	bottom:0;
}


#clockin-inner {
	width:450px;
	margin:15px 0 0 0;
}
#clockin-inner input {
	width:calc(100% - 14px);
	margin-bottom:5px;
	height:25px;
}
#clockin-inner textarea {
	width:calc(100% - 18px);
	margin-bottom:5px;
	height:120px;
	padding:8px;
}
.clockin-footer {
	margin-top:10px;
	text-align:center;
}

#timelog-widget {
	position:fixed;
	right:10px; top:75px;
	width:150px; height:100px;
	background-color:rgba(0,0,0,0.5);
	border-radius:7px;
	-webkit-border-radius:7px;
	-moz-border-radius:7px;
	backdrop-filter:blur(10px);
	z-index:999;
	display:none;
}
#timelog-widget * {
	color:#fff;
	user-select:none;
	-webkit-user-select:none;
	-moz-user-select:none;
}
#timelog-widget table {
	margin:0 auto;
}
#timelog-widget td, #timelog-widget th {
	padding:0 5px;
	text-align:center;
}
#timelog-widget th {
	font-family:Arial, Helvetica, sans-serif;
	font-size:24pt;
	height:18px;
	line-height:18px;
	font-weight:500;
	position:relative;
	padding-top:12px;
	padding-bottom:4px;
}
#timelog-widget th:after {
	content:":";
	position:absolute;
	top:9px; right:-5px;
}
#timelog-widget th:last-child:after {
	content:"";
}
#timelog-widget td {
	font-size:9pt;
	text-transform:uppercase;
	color:rgba(255,255,255,0.5);
}
#timelog-buttons {
	text-align:center;
	margin-top:5px;
}
#timelog-buttons .fas {
	margin:0 2.5px;
	cursor:pointer;
	font-size:1.75em;
	transition:0.25s ease-in-out;
}
#timelog-buttons .fas:hover {
	transform:scale(1.2);
}


/* STANDARD CO MODALS --------------------------------- */

.modal-header {
	display:flex;
	flex-direction:row;
	align-items:center;
	justify-content:space-between;
	background-color:#337ab7;
	background-image: linear-gradient(#337ab7, #275d8c);
	border:none;
	padding:0 15px;
	height:45px;
}
.modal-title {
	color:#fff;
	font-size:20px;
	font-weight:normal;
	padding:0;
}
.modal-title i {
	margin-right:10px;
}
.modal-header .modal-close {
	position:relative;
	width:45px; height:45px;
	line-height:45px;
	text-align:center;
	margin-right:-15px;
	cursor:pointer;
}
.modal-header .modal-close:after {
	content:"\2715";
	color:#fff;
	font-size:20px;
	transition:0.2s ease-in-out;
	opacity:0.5;
}
.modal-header .modal-close:hover:after {opacity:1;}
.modal-body {
	padding:15px;
	background-color:#fff;
}
.modal-content {
	border:none;
}
.modal .form-row {
	margin-bottom:7.5px;
	display:flex;
	flex-direction:row;
	align-items:flex-start;
}
.modal .form-row > * {
	flex:1;
	margin-right:10px;
}
.modal .form-row > *:last-child {
	margin-right:0;
}
.modal-body .split-row  {
	display:flex;
	flex-direction:row;
	flex-wrap:nowrap;
}
.modal-body .split-row > * {flex:1;}
.modal-content label {
	font-weight:normal;
	font-size:10pt;
	margin-top:-2px;
}
.modal-content input {
	border: 1px solid #999;
	font-size: 13pt;
	margin: 0px;
	padding: 5px 7.5px;
	background-color: #fffff0;
	box-shadow: inset 0px 0px 100px 100px #fffff0;
	-webkit-box-shadow: inset 0px 0px 100px 100px #fffff0;
}
.modal-body .lock-button, .modal-body .reset-size-buttton {
	height: 32px;
	background-color: #eee;
	border: 1px solid #aaa;
	border-radius: 2.5px;
	margin-right: 5px;
	cursor: pointer;
	width: 32px;
}
.modal-body .reset-size-buttton i.fas {
	color:#000;
	margin-left:-2px;
	font-size:14px;
}
.modal-footer {
	display:flex;
	flex-direction:row;
	justify-content:center;
	padding:10px;
	background-color:#fff;
	background-image:linear-gradient(#efefef, #ccc);
	border-top:1px solid #ddd;
}
.modal-footer .btn {
	height:33px;
	margin:0 7.5px;
}

.modal-body .formtable {
	width:100%;
	margin-bottom:0;
}
.modal-body .formtable td {
	padding:5px 0;
}
.modal-body .formtable tr td:first-child {
	padding-top:10px;
	padding-right:10px;
}
.modal-body .formtable input.text {
	width:calc(100% - 13px);
	height:28px;
	margin:0; padding:0 5px;
}
.modal-body .formtable textarea {
	width:calc(100% - 13px);
	margin:0 0 -3px 0; padding:5px;
}
.modal-body .formtable .has-input-icon {
	position:relative;
}
.modal-body .formtable .has-input-icon .input-icon {
	position:absolute;
	top:6px; left:6px;
}
.modal-body .formtable .has-input-icon input {
	padding-left:20px;
	width:calc(100% - 28px);
}
.modal-body .select-container, .modal-body .select-container select {
	height:28px;
	line-height:28px;
	margin-bottom:0;
}
.modal-body .select-container:after {
	top:7.5px;
}

.modal-med, .modal-lg, .modal-xl, .modal-full {
	width:calc(100vw - 150px);
}
.modal-med, .modal-500 {max-width:500px;}
.modal-600 {max-width:600px;}
.modal-650 {max-width:650px;}
.modal-lg, .modal-750 {max-width:750px;}
.modal-xl, .modal-900 {max-width:900px;}
.modal-full {max-width:none;}


/* END MODALS */


#footer {
	text-align:center;
}
#footer-links {
	display:flex; flex-direction:row; justify-content:center;
}
#footer-links a {
	padding:5px 10px 0 0;
	color:#2e6da4;
	text-decoration:none;
}
#footer-links a:hover {text-decoration:underline;}
#footer-links a:last-child {padding-right:0;}
#footer-links a:after {
	display:inline-block;
	content:"\2022";
	margin-left:10px;
}
#footer-links a:last-child:after {
	content:"";
	margin-left:0;
}

@media (max-width:1200px) {
	#complist ul li {width:calc(33% - 30px);}
}

@media (max-width:900px) {
	#top {width:100%; margin:0;}
	#top ul {right:15px;}
	#top ul li i {padding-left:5px; padding-right:5px; font-size:18pt;}
	#top ul li span {display:none;}
	#complist ul li {width:calc(50% - 30px);}
}

@media (max-width:767px) {
	
	#main {
		width:calc(100% - 60px);
		padding:15px;
	}
	
	#complist ul li {width:calc(100% - 30px);}

	body {background-color:#ddd;}
	#bodycontainer {padding-top:30px;}
	#top > h3 {width:calc(100% - 200px);
	#top img {
		left:15px;
		width:50%;
	}
	#breadcrumbs {
		background-color:rgba(0,0,0,0.25);
		background-color:#fff;
		padding:10px 15px;
		position:fixed;
		top:50px;
		z-index:989;
		transition: top 0.3s;
	}
	#main {
		margin:0;
		background:none;
		border:none;
		box-shadow:none;
	}
	#main_menu {
		margin:-15px 0 15px 0;
	}
	.mainmenu_link {
		width:75px;
		padding:20px;
	}
	#main_menu img {
		width:64px;height:64px;
	}
	
	#page_builder {
		width:calc(100% - 30px);
		margin:15px;
	}

	#tabbar, .tabbar {
		margin:0 0 0 5px; padding:0 !important;
		width:calc(100% + 5px) !important;
		border:none !important;
		background:none;
	}
	#tabbar .tab i.fa, .tabbar .tab i.fa {font-size:16pt; top:2px;}
	#tabbar .tab span, .tabbar .tab span {display:none;}
	
	#photo--body .tabcontent {width:calc(100% - 70px);}
	#photo-modal-body .tabcontent a {width:calc(33% - 20px);}
	
	.formtable .ft-row .label {
		display:block;
		width:100%;
		padding-left:5px;
	}
	.formtable .ft-row .label.empty {display:none;}
	.formtable .ft-row .ft-col {
		display:block;
		width:100%;
	}
	input.text, input[type=text], input[type=password], textarea {
		font-size:14pt;
		padding:3px 6px;
		width:100%;
		margin-bottom:5px;
	}
	.formtable input.date-label::placeholder {
		color:#aaa;
	}
	
	.mobile-stretch {
		width:100%;
		height:40px !important;
		line-height:38px !important;
		font-size:13pt !important;
	}

	#photo-modal-body, #photo-modal-footer {
		width:calc(100vw - 30px);
	}

}

@media (max-width:500px) {
	#photo-modal-body .tabcontent a {width:calc(50% - 20px);}
}