/* CSS Document */

/*
////////// External CSS
*/

@import url('jquery/jquery-ui.css');
@import url('colpick.css');
@import url('select2.css');
@import url('fancybox.css');
@import url('redactor.css');
@import url('fonts/main.css');
@import url('fonts/awesome.css');
@import url('datatables.css');
@import url('sizes.css');
@import url('animate.css');

/*
////////// Reset CSS
*/

@import url('reset.css');

/*
////////// Main Classes & Text
*/

html {
	background: #f9f9f9;
	overflow-y: auto;
	overflow-x: auto;
}

body { 
	font-size:11px; 
	min-width:1000px;
	font-family:'Roboto', sans-serif;
}

a { 
	text-decoration:none; 
	outline:none;
	color:#222; 
}

.clear { clear:both; }
.left { float:left; }
.right { float:right; }
.center { margin:0 auto; }
.show { display:block; }
.hide { display:none; }
.txt-left { text-align:left; }
.txt-right { text-align:right; }
.txt-center { text-align:center; }
.capitalize { text-transform:capitalize; }
.uppercase { text-transform:uppercase; }
.lowercase { text-transform:lowercase; }
h1,h2,h3,h4,h5,h6 { font-weight:600; }

.ellipsis {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.green { color:#149803 !important; }
.red { color:#a60d20 !important; }

pre {
	margin: 15px;
	border: 1px solid #ddd;
	padding: 10px;
	font-family: "Courier New";
	background: #FFFFFF;
}

.bold {
	font-size:12px;
	text-transform:uppercase;
	font-weight:500;
	letter-spacing:0.5px;
}

/*
////////// Logo
*/

div#logo {
	margin: 200px auto 20px auto;
	height:215px;
	width:400px;
	background:url(../img/logo.svg) top left no-repeat;
	background-size:400px 215px;
}

/*
////////// Effects & Tools
*/

.dark { background:#fbfbfb; }
.darker { background:#f4f4f4; }
.light { background:#fff; }
.yellow { background:#fefded; }
.highlight { background-color:#ffff99; }
.highlighted { background-color:#fffcda; }
.marked { background-color:#ffb2b2; }

a,
a:hover,
input[type=submit],
input[type=submit]:hover {
	transition:background 0.5s;
}

.flash {
	-moz-animation:flash 2s ease-out;
	-moz-animation-iteration-count:1;
	-webkit-animation:flash 2s ease-out;
	-webkit-animation-iteration-count:1;
	-ms-animation:flash 2s ease-out;
	-ms-animation-iteration-count:1;
}

@-webkit-keyframes flash {
	0% { background-color:none; }
	50% { background-color:#fbf8b2; }
	100% {background-color:none; }
}

@-moz-keyframes flash {
	0% { background-color:none; }
	50% { background-color:#fbf8b2; }
	100% { background-color:none; }
}

@-ms-keyframes flash {
	0% { background-color:none; }
	50% { background-color:#fbf8b2; }
	100% { background-color:none; }
}

.dot-top { border-top:1px dotted #ccc; }
.dot-bottom { border-bottom:1px dotted #ccc; }

div#loading {
	position:absolute;
	height:100px;
	width:100px;
	top:0;
	right:0;
	bottom:0;
	left:0;
	margin:auto;
	background:url(../img/loading_big.gif) center center no-repeat transparent;
	background-size:100px 100px;
	z-index:100;
}

div#spinner {
	margin:0 auto;
	width:500px;
	height:300px;
	background:url(../img/loading_big.gif) center center no-repeat transparent;
	background-size:50px 50px;
}

div.spinner-grid {
	margin:10px 0;
	width:100%;
	height:30px;
	background:url(../img/loading_big.gif) center center no-repeat transparent;
	background-size:30px 30px;
}

div#spinner_popup {
	margin:0 auto;
	width:100%;
	height: 175px;
	background:url(../img/loading_big.gif) center center no-repeat transparent;
	background-size:50px 50px;
}

div#loader {
	margin:0 auto 20px auto;
	width:50px;
	height:50px;
	background:url(../img/loading_big.gif) center center no-repeat transparent;
	background-size:50px 50px;
}

/*
////////// Form Elements
*/

input,
textarea {
	-webkit-appearance:none;
	font-family:inherit;
}

input:focus,
textarea:focus {
	outline:none;
}

input[type=radio] {
	float:left;
	border:none;
}

input[type=text],
input[type=password] {
	height:30px;
	width:100%;
	padding:0 8px;
	border:1px solid #ddd;
	border-radius:4px;
	background:#fff;
	font-size:12px;
}

input[type=text].big {
	height:35px;
	padding:0 8px;
}

textarea {
	width:100%;
	padding:8px;
	border:1px solid #ddd;
	border-radius:4px;
	background:#fff;
	resize:none;
	font-size:12px;
}

input[type=checkbox],
input[type=radio] {
	display:none;
}

input[type=checkbox] + label.check,
input[type=radio] + label.check,
div.checkbox {
	display:block;
	height:18px;
	width:18px;
	font-size:11px;
	color:#666;
	line-height:18px;
	border-radius:4px;
	border:1px solid #ddd;
	vertical-align:middle;
	background:#fff;
	cursor:pointer;
}

input[type=checkbox]:checked + label.check,
input[type=radio]:checked + label.check,
div.checkbox.check {
	background:url(../img/check@2x.png) center center no-repeat #fff;
	background-size:16px 16px;
}

input[type=checkbox] + label.lang,
input[type=radio] + label.lang {
	display:block;
	height:25px;
	width:25px;
	line-height:23px;
	text-align:center;
	color:#555;
	border-radius:4px;
	border:1px solid #ccc;
	background:#fff;
}

input[type=checkbox]:checked + label.lang,
input[type=radio]:checked + label.lang {
	background:#a60d20;
	border:none;
	color:#fff;
	line-height:25px;
}

div.day-selector ul {
	list-style:none;
	display:inline-table;
	border:1px solid #ddd;
	border-radius: 4px;
	height:30px;
	background: #fff; background: -moz-linear-gradient(top,  #fff 0%, #ddd 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#ddd));
	background: -webkit-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: -o-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: -ms-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: linear-gradient(to bottom,  #fff 0%,#ddd 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#ddd',GradientType=0 );
}

div.day-selector ul li {
	float:left;
}

div.day-selector ul li input[type=checkbox] + label.day {
	display:block;
	width: 40px;
	height:28px;
	line-height:28px;
	color:#999;
	border-top:none;
	border-bottom:none;
	border-left:1px solid #fff;
	border-right:1px solid #ddd;
	border-radius:0;
	text-align:center;
}

div.day-selector ul li input[type=checkbox]:checked + label.day {
	color:#222;
	background: #ddd;
	background: -moz-linear-gradient(top,  #ddd 0%, #fff 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ddd), color-stop(100%,#fff));
	background: -webkit-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: -o-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: -ms-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: linear-gradient(to bottom,  #ddd 0%,#fff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddd', endColorstr='#fff',GradientType=0 );
}

div.day-selector ul li:first-child input[type=checkbox] + label.day {
	border-radius: 4px 0 0 4px;
}

div.day-selector ul li:last-child input[type=checkbox] + label.day {
	border-radius: 0 4px 4px 0;
	border-right:1px solid #fff;
}

input[type=radio] + label.level {
	float:left;
	margin:0 3px 0 0;
	display:block;
	height:25px;
	width:25px;
	line-height:25px;
	text-align:center;
	color:#555;
	border-radius:4px;
	border:1px solid #ccc;
	background:#fff;
}

input[type=radio]:checked + label.level {
	background:#a60d20;
	border:none;
	color:#fff;
}

div.color-box {
	height:30px;
	width:30px;
	border-radius:4px;
	border:1px solid #ddd;
}

div.color-box div.sample {
	margin:4px;
	height:20px;
	width:20px;
}

/*
////////// Validator
*/

label.error,
p.error {
	float:right;
	padding:2px;
	color:#a60d20;
	font-size:11px;
}

div.time label.error,
div.time p.error {
	float:left;
}

div#check_class label.error,
div#radio_release label.error,
div#check_pay label.error {
	float:none;
	font-size:18px;
	line-height:18px;
	color:#a60d20;
	font-weight:bold;
}

input#tot_quote.error,
input.quote_value.error {
	border-color:#a60d20;
}

input.list.error {
	color:#a60d20;
}

input.error-notice {
	border:1px solid #e6a0a0;
	background:#f7e2e2;
}

/*
////////// Buttons
*/

a.text,
a.text-big,
a.icon,
a.icon-med,
a.icon-big,
a.toggle,
input.text,
input.text-big,
input.icon,
input.icon-med,
input.icon-big,
button.text,
button.text-big,
button.icon,
button.icon-med,
button.icon-big {
	display:block;
	cursor:pointer;
	text-align:center;
	text-decoration:none;
	color:#555;
	border:1px solid #ccc;
	border-radius:4px;
	background: #fff;
	background: -moz-linear-gradient(top,  #fff 0%, #ddd 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#ddd));
	background: -webkit-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: -o-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: -ms-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: linear-gradient(to bottom,  #fff 0%,#ddd 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#ddd',GradientType=0 );
}

a.text:hover,
a.text-big:hover,
a.icon:hover,
a.icon-med:hover,
a.icon-big:hover,
a.toggle:hover,
a.toggle#active,
input.text:hover,
input.text-big:hover,
input.icon:hover,
input.icon-med:hover,
input.icon-big:hover,
button.text:hover,
button.text-big:hover,
button.icon:hover,
button.icon-med:hover,
button.icon-big:hover {
	color:#222;
	background: #ddd;
	background: -moz-linear-gradient(top,  #ddd 0%, #fff 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ddd), color-stop(100%,#fff));
	background: -webkit-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: -o-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: -ms-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: linear-gradient(to bottom,  #ddd 0%,#fff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddd', endColorstr='#fff',GradientType=0 );
}

a.text,
input.text,
button.text {
	height:30px;
	min-width:75px;
	padding:0 10px;
	text-transform:capitalize;
	line-height:28px;
}

a.text-big,
input.text-big,
button.text-big {
	height:35px;
	min-width:75px;
	padding:0 10px;
	text-transform:capitalize;
	line-height:33px;
}

a.icon,
input.icon,
button.icon {
	padding:0;
	height:25px;
	width:25px;
	line-height:1.7em;
	white-space:nowrap;
}


a.icon-med,
input.icon-med,
button.icon-med {
	padding:0;
	height:30px;
	width:30px;
	font-size:16px;
	line-height:1.85em;
	white-space:nowrap;
}

a.icon-big,
input.icon-big,
button.icon-big {
	padding:0;
	height:35px;
	width:35px;
	line-height:2.25em;
	white-space:nowrap;
}

a.button {
	padding:0;
	height:23px;
	width:23px;
	line-height:21px;
	text-align:center;
	color:#555;
}

a.button:hover {
	color:#222;
}

.ok {
	display:block;
	height:22px;
	color:#9ee59e;
}

.ko {
	display:block;
	height:22px;color:#e6a0a0;
}

/*
////////// Margins
*/

.ml-5 { margin-left:5px; }
.ml-10 { margin-left:10px; }
.ml-15 { margin-left:15px; }
.ml-20 { margin-left:20px; }
.mr-5 { margin-right:5px; }
.mr-10 { margin-right:10px; }
.mr-15 { margin-right:15px; }
.mr-20 { margin-right:20px; }
.mb-5 { margin-bottom:5px; }
.mb-10 { margin-bottom:10px; }
.mb-15 { margin-bottom:15px; }
.mb-20 { margin-bottom:20px; }
.mt-5 { margin-top:5px; }
.mt-10 { margin-top:10px; }
.mt-15 { margin-top:15px; }
.mt-20 { margin-top:20px; }

/*
////////// Paddings
*/

.pl-5 { padding-left:5px; }
.pl-10 { padding-left:10px; }
.pl-15 { padding-left:15px; }
.pl-20 { padding-left:20px; }
.pr-5 { padding-right:5px; }
.pr-10 { padding-right:10px; }
.pr-15 { padding-right:15px; }
.pr-20 { padding-right:20px; }
.pb-5 { padding-bottom:5px; }
.pb-10 { padding-bottom:10px; }
.pb-15 { padding-bottom:15px; }
.pb-20 { padding-bottom:20px; }
.pt-5 { padding-top:5px; }
.pt-10 { padding-top:10px; }
.pt-15 { padding-top:15px; }
.pt-20 { padding-top:20px; }

/*
////////// Override z-index
*/

.lowindex {
	position: relative;
	z-index: 2 !important;
}

.midindex {
	position: relative;
	z-index: 4500 !important;
}

.topindex {
	position: relative;
	z-index: 9000 !important;
}

/*
////////// Page Containers & Wrappers
*/

header {
	width:100%;
	height:65px;
	padding:5px 0;
	background:#fff;
	border-bottom:1px solid #e9e9e9;
}

header.fixed {
	position: fixed;
	top: 0;
	height: 115px;
	padding: 0;
	z-index:8010;
	border: none;
}

header.filler {
	height: 115px;
	padding: 0;
	border: none;
}

footer.credit {
	position:fixed;
	bottom:0;
	z-index:9999;
	background:#fff;
	border-top:1px solid #e9e9e9;
	width:100%;
	font-size:10px;
	line-height:20px;
	text-align:center;
}

div.wrapper {
	margin:0 auto;
	padding:0 10px;
	width: 100%;
	/*width:calc(100% - 30px);*/
	min-width:1100px;
}

div.wrapper-login {
	margin:150px auto;
	width:510px;
}

div.wrapper-bottom-bar {
	position: fixed;
	width: 100%;
	padding:0 5px;
	left: 0;
	bottom: 25px;
	z-index: 8010;
}

div.menu-container {
	height:40px;
	width:100%;
	background:#36a9e1;
}

div.scroll-container {
	width:100vw;
	overflow-x:scroll;
}

div.table-container {
	padding:20px 10px;
	margin:0 auto 40px auto;
	width: 100%;
	/*width:calc(100% - 30px);*/
	min-width:2000px;
}

div.main-container {
	padding:20px 10px;
	margin:0 auto 40px auto;
	width: 100%;
	/*width:calc(100% - 30px);*/
	min-width:1100px;
}

div.grid-container {
	padding:20px;
	margin:0 auto 40px auto;
	width:calc(100% - 30px);
	min-width:1100px;
}

div.calendar-container {
	position: fixed;
	top:115px;
	padding:20px 15px 0 15px;
	margin:0 auto;
	width:100%;
	min-width:1100px;
	background: #f9f9f9;
	z-index: 4;
}

div.bc-container {
	width:100%;
	height:75px;
	padding:10px;
	border-bottom:1px solid #ccc;
	background:url(../img/logo_background.svg) center center no-repeat #f5f5f5;
	background-size:225px 55px;
}

div.button-bar {
	margin:0 0 10px 0;
	width:100%;
}

div.button-bar div.line {
	height: 35px;
	width: 1px;
	background: #ddd;
	margin: 0 15px;
}

/*
////////// Common Elements
*/

div.separator {
	margin:10px 0;
	height:2px;
	width:100%;
	background:#ccc;
	border-bottom:1px solid #fff;
}

p.title {
	padding:0 0 0 10px;
	line-height:35px;
	font-size:20px;
	color:#222;
}

p.subtitle {
	padding:0 0 0 10px;
	font-size:20px;
	line-height:40px;
	color:#222;
}

/*
////////// Login
*/

p#error {
	display:none;
	padding:0 0 10px 0;
	text-align:center;
	font-size:10px;
	color:#cc0000;
}

/*
////////// Breadcrumb
*/

p#bc_link {
	float:left;
	line-height:20px;
	color:#444;
}

p#bc_link span {
	padding:0 3px 0 2px;
	color:#444;
}

p#bc_link a {
	color:#444;
}

p#bc_link a:hover {
	color:#111;
}

p#bc_title {
	float:left;
	padding:2px 0 0 0;
	font-size:24px;
	color:#222;
}

p#bc_object {
	float:right;
	font-size:24px;
	color:#222;
}

/*
////////// Notice Box
*/

div.error_box,
div.success_box,
div.warn_box {
	margin:10px 0 20px 0;
	font-family:'DroidSans';
}

div.error_box {
	border:1px solid #e6a0a0;
	background:#f7e2e2;
}

div.success_box {
	border:1px solid #9ee59e;
	background:#e2f7e2;
}

div.warn_box {
	border:1px solid #fde800;
	background:#fffcda;
}

div.error_box div.wrp,
div.success_box div.wrp,
div.warn_box div.wrp {
	padding:15px;
}

div.error_box p,
div.success_box p,
div.warn_box p {
	font-size:16px;
	color:#050708;
}

div.error_box ul,
div.success_box ul,
div.warn_box ul {
	list-style-type:disc;
	margin:10px 0 0 15px;
	color:#050708;
	line-height:20px;
}

/*
////////// Main Menu & Editor Menu & Toggle Menu
*/

nav ul {
	list-style:none;
	position:relative;
}

nav ul::after {
	content: "";
	clear:both;
	display:block;
}

nav ul > li {
	float:left;
	margin:0 10px 0 0;
}

nav ul li:hover > ul {
	display:block;
}

nav ul li.single:hover,
nav ul li.multi:hover {
}

nav ul > li:hover > a {
	color:#fff;
}
nav ul li a,
nav ul li p {
	display:inline-block;
	height:40px;
	line-height:40px;
	font-size:12px;
	color:#fff;
	padding:0 10px;
	font-weight:400;
}

nav ul li p {
	font-size: 14px;
	padding:0 0 0 10px;
}

nav ul ul {
	display: none;
	position: absolute;
    top:100%;
	padding:5px;
	background:#fff;
	min-width:120px;
	border:1px solid #d8dee4;
    box-shadow:0 5px 5px -5px rgba(0, 0, 0, 0.1);
    z-index:9999;
}

nav ul ul::before {
    border-bottom:8px solid #d8dee4;
    border-left:8px solid transparent;
    border-right:8px solid transparent;
    content:"";
    display:inline-block !important;
    left:14px;
    position:absolute;
    right:auto;
    top:-8px;
	box-shadow:0 5px 5px -5px rgba(0, 0, 0, 0.1);
}

nav ul ul::after {
    border-bottom:7px solid #fff;
    border-left:7px solid transparent;
    border-right:7px solid transparent;
    content:"";
    display:inline-block !important;
    left:15px;
    position:absolute;
    right:auto;
    top:-7px;
}

nav ul ul li {
	float:none;
	position:relative;
	height:30px;
	margin:0;
}

nav ul ul li a {
	display:block;
	height:30px;
	line-height:30px;
	padding:0 10px;
	color:#5f5f5f;
}

nav ul ul li a:hover {
	background:#f7f7f7;
	color:#262626;
}

nav ul ul ul {
	position:absolute;
	left:100%;
	top:0;
}

div.editor-menu {
	margin:0 0 10px 0;
	height:35px;
}

div.editor-menu ul {
	list-style:none;
	display:inline-table;
	border:1px solid #ccc;
	border-radius: 4px;
	height:33px;
	background: #fff; background: -moz-linear-gradient(top,  #fff 0%, #ddd 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#ddd));
	background: -webkit-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: -o-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: -ms-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: linear-gradient(to bottom,  #fff 0%,#ddd 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#ddd',GradientType=0 );
}

div.editor-menu ul li {
	float:left;
}

div.editor-menu ul a,
div.editor-menu ul li input[type=submit] {
	display:block;
	padding:0 10px;
	min-width:80px;
	height:33px;
	line-height:33px;
	color:#555;
	border-top:none;
	border-bottom:none;
	border-left:1px solid #fff;
	border-right:1px solid #ccc;
	border-radius:0;
	text-align:center;
}

div.editor-menu ul li a:hover,
div.editor-menu ul li a#active {
	color:#222;
	background: #ddd;
	background: -moz-linear-gradient(top,  #ddd 0%, #fff 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ddd), color-stop(100%,#fff));
	background: -webkit-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: -o-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: -ms-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: linear-gradient(to bottom,  #ddd 0%,#fff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddd', endColorstr='#fff',GradientType=0 );
}

div.editor-menu ul li:first-child a,
div.editor-menu ul li:first-child input[type=submit] {
	border-radius: 4px 0 0 4px;
}

div.editor-menu ul li:last-child a,
div.editor-menu ul li:last-child input[type=submit] {
	border-radius: 0 4px 4px 0;
	border-right:1px solid #fff;
}

ul.toggle {
	display:inline-block;
	list-style-type:none;
}

ul.toggle li {
	float:left;
	margin:0 5px 0 0;
}

ul.toggle li a {
	width:30px;
	line-height:28px;
}

/*
////////// Portal
*/

div.switcher-wrapper {
	padding: 15px;
}

ul.portal {
	list-style-type: none;
	text-align: center;
}

ul.portal li {
	float: none;
	display: inline-block;
	margin:0 15px;
}

ul.portal li a {
	display: block;
	width: 200px;
	padding: 30px 0;
	color: #c6c6c6;
	text-transform: uppercase;
	font-size: 18px;
	border: 1px solid #c6c6c6;
}

ul.portal li a:hover {
	border: #36a9e1;
	background: #36a9e1;
	color: #fff;
}

div.login-box {
	display: none;
	background: #36a9e1;
	color: #fff;
	width: 430px;
	margin:0 auto;
}

div.login-box div.icon {
	float: left;
	width: 200px;
	padding: 30px 0;
	color: #fff;
	text-transform: uppercase;
	font-size: 18px;
	text-align: center;
}

div.login-box div.form {
	float: right;
	width: 230px;
	padding: 10px;
}

div.login-box div.form i {
	color: #fff;
}

input.login {
	border-radius: 0;
}

/*
////////// Grids
*/

div.table-wrapper {
	width: 100%;
	height: 250px;
	overflow: auto;
}

div.calendar-wrapper {
	display: table;
	position: relative;
	width: 100%;
	min-width: 1100px;
	overflow: scroll;
	top:87px;
}

div.grid-hour {
	position: fixed;
	padding: 12px 0 30px 0;
	width: 45px;
	z-index: 3;
	background: #f9f9f9;
}

div.grid-hour.sx {
	left:0;
}

div.grid-hour.dx {
	right:0;
}

div.grid-calendar {
	position: absolute;
	left: 45px;
	width: 100%;
	z-index: 1;
}

div.grid-calendar.fixed {
	width:calc(100% - 90px);
}

table.hour {
	border-collapse:collapse;
	width:100%;
}

table.hour td {
	height:30px;
	padding: 0;
	vertical-align: middle;
}

table.hour td.filler {
	height: 27px;
}

table.hour td.full {
	font-size:12px;
	font-weight: 500;
}

table.hour td.half {
	font-size:11px;
	color: #444;
}

table.hour td.quarter {
	font-size:10px;
	color: #666;
}

table.grid,
table.planning,
table.head-planning {
	border-collapse:collapse;
	width:100%;
    transition: box-shadow 0.2s ease-in 0s;
	border:1px solid #e9e9e9;
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.1);
}

table.head-planning {
	position: fixed;
	left:45px;
	z-index: 2;
}

table.planning {
	position:absolute;
	top: 54px;
	z-index: 1;
}

table.planning,
table.head-planning {
	table-layout: fixed;
}

div.grid-calendar.fixed table.head-planning {
	width:calc(100% - 90px);
	min-width: 1010px;
}

table.planning td.filler,
table.head-planning td.filler {
	border:#f9f9f9;
	background:#f9f9f9;
}

table.grid tr.row:hover {
	background:#ffffcc;
}

table.grid.tabular tr.odd:hover,
table.grid.tabular tr.even:hover {
	background:#ffffcc;
}

table.grid td,
table.grid th,
table.planning td,
table.head-planning td {
	height:36px;
	line-height:25px;
	vertical-align:middle;
	padding:0px 8px;
	border:1px solid #f0f0f0;
}

table.planning td,
table.head-planning td {
	position: relative;
	height:30px;
	padding: 0;
	border:1px solid #ddd;
}

table.planning td.selected,
table.head-planning td.selected {
	background: #ddd;
}

table.planning td.today,
table.head-planning td.today {
	background: #75a6ff;
}

table.planning td a {
	position: absolute;
	top:0;
	display:block;
	width:100%;
	height:29px;
}

table.planning td div {
	position:absolute;
	width:calc(100% - 1px);
	padding:2px 5px;
	z-index:10;
	left: 1px;
	border:1px solid #fff;
}

table.planning td div.doc {
	color:#ccc;
	line-height:30px;
	font-size: 10px;
	text-align: right;
	border:none;
	padding: 0 10px;
	z-index:9;
}

table.planning td span.checkup {
	position: absolute;
	top: 4px;
	right: 4px;
	display: block;
	float: right;
	width: 20px;
	height: 20px;
	line-height: 18px;
	color:#444;
	background: #fff;
	border: 1px solid #aaa;
	border-radius: 50em;
	z-index:11;
	text-align: center;
	text-transform: uppercase;
}

table.grid td p {
	line-height:normal;
}

table.grid td div.img {
	width:75px;
	height:75px;
	margin:0 auto;
}

table.grid td div.thumb {
	width:50px;
	height:50px;
	margin:0 auto;
}

table.grid td div.doc {
	width:50px;
	height:50px;
	line-height: 50px;
	background:#f4f4f4;
	color:#666;
	font-size:12px;
	text-align:center;
	margin:0 auto;
}

table.grid td div.no-img {
	width:75px;
	height:75px;
	line-height: 75px;
	margin:0 auto;
	background:#fff;
	border:1px solid #ddd;
	color:#ccc;
	text-align:center;
}

table.grid td.bold {
	font-size:12px;
	text-transform:uppercase;
	font-weight:500;
	letter-spacing:0.5px;
}

table.grid td.action {
	padding:5px;
}

table.grid td.input {
	padding:0 8px;
}

table.grid td.pre {
	font-weight: bold;
	font-size: 12px;
	letter-spacing: 1px;
}

table.grid thead,
table.planning thead,
table.head-planning thead {
	vertical-align:middle;
	background:#fff;
	color:#282828;
	font-size:11px;
	text-transform:uppercase;
	font-weight:500;
	letter-spacing:0.5px;
}

table.grid thead td,
table.grid thead th,
table.planning thead td,
table.head-planning thead td {
	padding:5px 8px;
	height:16px;
	line-height:16px;
}

table.head-planning thead td.surgery {
	padding:5px 0;
	font-size: 10px;
}

table.grid thead.no-filter td {
	padding:5px 8px;
	border:1px solid #f0f0f0;
}

table.grid thead a {
	display:block;
	color:#282828;
}

table.grid td.head {
	vertical-align:middle;
	color:#282828;
	font-size:11px;
	text-transform:uppercase;
	font-weight:500;
	letter-spacing:0.5px;
	padding:5px 8px;
	height:16px;
	line-height:16px;
}

div.expand {
	padding:10px 5px;
}

div.expand div.type {
	float:left;
	color:#666;
	line-height:33px;
	height:35px;
	width:35px;
	border:1px solid #f0f0f0;
	background:#fff;
	margin:0 3px 0 0;
	font-size:21px;
	text-align:center;
}

div.expand div.table {
	float:left;
	width:calc(100% - 38px);
}

div.expand p.empty {
	color:#282828;
	font-size:11px;
	line-height:33px;
	text-transform:uppercase;
	font-weight:500;
	letter-spacing:0.5px;
	border:1px solid #f0f0f0;
	background:#fff;
	padding:0 10px;
}

div.color-sample {
	height:25px;
	width:25px;
	border-radius:4px;
	border:1px solid #ddd;
	background:#fff;
}

div.color-sample div {
	margin:3px;
	height:17px;
	width:17px;
}

p.label-sample {
	line-height:30px !important;
}

div.scroll-performance {
	width: 100%;
	max-height: 300px;
	overflow: auto;
}

a.accordion-table {
	display: block;
	width: 100%;
	height:35px;
	line-height:35px;
	padding:0 10px;
	border:1px solid #f0f0f0;
	color:#282828;
	text-transform: uppercase;
	background: #fff;
	margin: 2px 0;
	font-weight: bold;
}

/*
////////// Editor Boxes
*/

div.col-half {
	margin:0 0 20px 0;
	width:calc(50% - 10px);
	background:#fff;
    border:1px solid #e9e9e9;
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.1);
}

div.col-full,
div.col-media {
	margin:0 0 20px 0;
	width:100%;
	background:#fff;
    border:1px solid #e9e9e9;
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.1);
}

div.col-btn {
	width:100%;
	padding:15px;
	background:#fff;
    border:1px solid #e9e9e9;
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.1);
}

div.col-filler {
	width:100%;
	height: 75px;
}

div.col-full.accordion {
	margin: 0 0 5px 0;
}

div.col-half h2,
div.col-full h2,
div.col-media h2 {
	color:#212121;
	margin:0 10px;
	font-size:12px;
	line-height:40px;
	letter-spacing:0.5px;
	padding:0 0 0 2px;
	border-bottom:1px solid #ccc;
	text-transform:uppercase;
}

div.col-half h2.nb,
div.col-full h2.nb,
div.col-media h2.nb {
	border:none;
}

div.col-half div.wrp,
div.col-full div.wrp {

}

div.col-half div.wrp div.form,
div.col-full div.wrp div.form {
	padding:15px 18px;
}

div.col-full div.wrp div.scroll {
	margin:0 auto;
	padding:15px 0;
	overflow-x:scroll;
	width:calc(100% - 36px);
}

div.col-full div.wrp div.scroll div.table {
	width:100%;
	min-width:1800px;
}

div.col-half div.wrp div.box,
div.col-full div.wrp div.box {
	padding:10px;
}

div.col-full div.wrp div.media {
	padding:15px 22px;
	height:200px;
	overflow-y:auto;
}

div.preview .redactor-box,
div.col-half div.form .redactor-box,
div.col-full div.form .redactor-box {
	border: 1px solid #ddd;
}

div.preview .redactor-box,
div.col-half div.form .redactor-toolbar,
div.col-full div.form .redactor-toolbar {
	border-top:none;
}

div.redactor-editor h2 {
	color:#000;
	margin:0;
	font-size: 24px;
	margin-bottom: .7em;
	line-height:normal;
	letter-spacing:normal;
	padding:0;
	border: none;
	text-transform:uppercase;
}

div.inline {
	padding:5px 10px;
	color:#444;
	line-height:30px;
}

div.field {
	display:table;
	padding:5px 0;
	height:30px;
	width:100%;
}

div.field p.label {
	float:left;
	font-size:11px;
	color:#222;
	line-height:30px;
	min-width:150px;
}

div.field p.label-long {
	float:left;
	font-size:11px;
	color:#222;
	line-height:30px;
	min-width:200px;
}

div.field p.notice {
	border:1px solid #fde800;
	background:#fffcda;
	border-radius: 4px;
	padding:0 8px;
	line-height: 28px;
	font-size: 12px;
}

div.field div.input,
div.field div.check,
div.field div.lang-check {
	float:right;
	width:calc(100% - 150px);
}

div.field div.check-free {
	float:right;
	width: 30px;
}

div.field div.input-color {
	float:right;
	width:calc(100% - 190px);
}

div.field div.input-add {
	float:right;
	width:calc(100% - 185px);
}

div.field div.input div.hour {
	float: left;
	margin: 0 10px 0 0;
	width:75px;
}

div.field div.input div.min {
	float: left;
	width:75px;
}

div.head {
	width: 100%;
}

div.body {
	width: 100%;
	max-height: 253px;
	overflow: auto;
	box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.1);
}

div.field div.input-extra div.type {
	float:right;
	width:30px;
}

div.field div.input-extra div.value {
	float:right;
	width:60px;
}

div.field div.input-extra div.text {
	float:right;
	width:calc(100% - 250px);
}

div.field input.special {
	border:1px solid #9ee59e;
	background:#e2f7e2;
}

div.field div.input input.warning {
	border:1px solid #fde800;
	background:#fffcda;
}

div.field div.check {
	padding:6px 0 0 0;
}

div.field div.lang-check {
	padding:2.5px 0 0 0;
}

div.check-list {
	float:left;
	width:119px;
	padding:0 5px;
}

div.check-list p.menu {
	margin:0 0 5px 0;
	font-size:12px;
	line-height:30px;
	border-bottom:1px solid #eee;
	text-align:center;
}

div.check-list p.label {
	float:left;
	font-size:9px;
	color:#222;
	line-height:25px;
}

div.check-list div.check {
	float:left;
	padding:3px 5px 0 0;
}

div.sep-list {
	float:left;
	height:200px;
	width:1px;
	background:#eee;
}

/*
////////// Media Boxes
*/

p.no-result {
	line-height:100px;
	font-size:14px;
	text-align:center;
	color:#666;
}

iframe#downloadBox {
	display:none;
	visibility:hidden;
}

/*
////////// Popups
*/

div.popup {
	min-width:300px;
	max-width:600px;
}

div.popup-medium {
	width:500px;
}

div.popup-large {
	width:900px;
}

div.popup-huge {
	width:1000px;
}

div.popup-debug {
	width:900px;
	height:600px;
	overflow:hidden;
}

div.popup h2,
div.popup-medium h2,
div.popup-large h2,
div.popup-huge h2,
div.popup-debug h2 {
	color:#212121;
	margin:0 10px;
	font-size:12px;
	line-height:40px;
	letter-spacing:0.5px;
	padding:0 0 0 2px;
	border-bottom:1px solid #ccc;
	text-transform:uppercase;
}

div.popup h2 a,
div.popup-medium h2 a,
div.popup-large h2 a,
div.popup-huge h2 a,
div.popup-debug h2 a {
	margin-top:10px;
}

div.popup input[type=text],
div.popup input[type=password],
div.popup textarea {

}

div.popup div.box,
div.popup-medium div.box,
div.popup-large div.box,
div.popup-huge div.box{
	padding:15px;
}

div.popup div.box div.col-half,
div.popup-medium div.box div.col-half,
div.popup-large div.box div.col-half,
div.popup-huge div.box div.col-half{
	border: none;
	box-shadow: none;
	padding: 0;
	margin: 0;
}

div.popup-debug div.box {
	margin:15px;
	width:870px;
	height:530px;
	overflow:auto;
}

div.popup div.box-media {
	padding:15px 30px;
}

div.popup p.empty {
	line-height:60px;
	text-align:center;
}

div.popup div.box p.det {
	margin:0 0 20px 5px;
	line-height:1.5;
}

div.popup div.box p.txt,
div.popup-medium div.box p.txt {
	line-height:1.5;
	text-align:center;
	margin:10px 0 15px 0;
}

div.popup div.separator,
div.popup-medium div.separator {
	margin:10px 0;
	height:1px;
	width:100%;
	background:#ccc;
	border:none;
}

div.popup div.filler,
div.popup-medium div.filler {
	width: 100%;
	height: 500px;
}

div.preview p.ph {
	border-radius: 4px;
	border:1px dashed #ddd;
	line-height: 200px;
	text-align: center;
	color: #ccc;
	font-size: 16px;
}

/*
////////// Uploader
*/

div#files_uploaded { display:none; }

p#counter {
	width:30px;
	height:30px;
	line-height:28px;
	border:1px solid #ddd;
	border-radius:4px;
	color:#222;
	text-align:center;
}

.uploadifive-button {
	box-sizing:content-box;
	padding:0 5px;
	text-transform:capitalize;
	cursor:pointer;
	text-align:center;
	text-decoration:none;
	color:#555;
	font-size:11px;
	line-height:28px;
	border:1px solid #ccc;
	border-radius:4px;
	background: #fff;
	background: -moz-linear-gradient(top,  #fff 0%, #ddd 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#ddd));
	background: -webkit-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: -o-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: -ms-linear-gradient(top,  #fff 0%,#ddd 100%);
	background: linear-gradient(to bottom,  #fff 0%,#ddd 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#ddd',GradientType=0 );
}

.uploadifive-button:hover {
	color:#222;
	background: #ddd;
	background: -moz-linear-gradient(top,  #ddd 0%, #fff 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ddd), color-stop(100%,#fff));
	background: -webkit-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: -o-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: -ms-linear-gradient(top,  #ddd 0%,#fff 100%);
	background: linear-gradient(to bottom,  #ddd 0%,#fff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddd', endColorstr='#fff',GradientType=0 );
}

.uploadifive-queue-item {
	background-color: #F5F5F5;
	border: 1px solid #ddd;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin-top:5px;
	width:100%;
	padding: 10px;
}

.uploadifive-queue-item .close {
	background: url(../img/cancel_icon.png) 0 0 no-repeat;
	float: right;
	height:	16px;
	text-indent: -9999px;
	width: 16px;
}

.uploadifive-queue-item .progress {
	background-color: #E5E5E5;
	margin-top: 10px;
	height: 3px;
	width: 100%;
}

.uploadifive-queue-item .progress-bar {
	background:#333;
	height:3px;
	width:1px;
}

div#queue-multi {
	margin:5px 0;
	border:1px dashed #ddd;
	border-radius:4px;
	padding:10px;
	min-height:120px;
	background:url(../img/dnd@2x.png) center center no-repeat #fff;
}

/*
////////// Media Boxes
*/

p.no-result {
	line-height:100px;
	font-size:14px;
	text-align:center;
	color:#666;
}

iframe#downloadBox {
	display:none;
	visibility:hidden;
}

table.media-box {
	border-collapse:collapse;
	width:100%;
	transition: box-shadow 0.2s ease-in 0s;
	border:1px solid #e9e9e9;
}

table.media-box td {
	height:40px;
	line-height:40px;
	vertical-align:middle;
	padding:5px 8px;
	border:1px solid #f0f0f0;
}


table.media-box td.img {
	vertical-align:middle;
	padding:5px;
	border:1px solid #f0f0f0;
}

table.media-box td.img div {
	height:40px;
	width:40px;
}

table.media-box td.doc {
	height:40px;
	width:40px;
	vertical-align:middle;
	padding:5px;
	border:1px solid #f0f0f0;
	background:#f4f4f4;
	color:#333;
	font-size:15px;
	text-transform:uppercase;
	text-align:center;
}

table.media-box thead {
	vertical-align:middle;
	background:#fff;
	color:#282828;
	font-size:11px;
	text-transform:uppercase;
	font-weight:500;
	letter-spacing:0.5px;
}

table.media-box thead td {
	height:16px;
	line-height:16px;
}

/*
////////// Pagination
*/

div.pagination {
	margin:15px 0;
}

div.pagination ul {
    border-radius: 4px;
    margin:10px 0;
    padding-left:0;
	list-style:none;
}

div.pagination ul > li:first-child > a {
	border-radius:4px 0 0 4px;
    margin-left:0;
}

div.pagination ul > li:last-child > a,
div.pagination ul > li:last-child > p {
	border-radius:0 4px 4px 0;
    margin-left:-1px;
}

div.pagination ul > li > a,
div.pagination ul > li > p {
	float:left;
    background:#fff;
    border:1px solid #ddd;
    color:#555;
    margin-left:-1px;
    padding:6px 12px;
    position:relative;
}

div.pagination ul > li > a:hover {
    background:#f7f7f7;
	color:#222;
}

div.pagination ul > li > a#active {
    background:#a60d20;
	border-color:#a60d20;
	color:#fff;
}

div.pagination p.total {
	float:right;
	border:1px solid #ddd;
	border-radius:4px;
	padding:6px 12px;
	text-align:center;
	background:#fff;
}

/*
////////// Info Box
*/

div.box_info { margin:0 0 40px 0; height:26px; padding:0 15px; }
div.sep { margin:0 5px 40px 5px; height:26px; width:1px; border-right:1px dotted #ccc; }
div.box_info p.label { font-size:9px; line-height:10px; color:#666; }
div.box_info p.info { color:#222; font-size:10px; }

/*
////////// Header Info
*/

div#header_info { margin:2.5px; }
div#header_info span.com { font-size:13px; padding:0 0 2px 0; }
div#header_info span.lbl { font-size:11px; color:#666; font-style:italic; }
div#header_info span.txt { font-size:11px; color:#222; }

/*
////////// Note
*/

div.performance-note {
	width: 100%;
	padding: 6px 10px 10px 10px;
	border:1px solid #fde800;
	background:#fffcda;
	border-radius: 4px;
}

div.performance-note h3 {
	font-size:15px;
	padding: 0 0 3px 0;
	color:#050708;
	font-weight: normal;
}

/*
////////// Javascript Disabled
*/

div.no-java {
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	height: 100vh;
	width: 100vw;
	background: rgba(255,255,255,0.6);
	z-index: 9999;
}

div.no-java p {
	position:absolute;
	height:22px;
	width:100%;
	top:0;
	right:0;
	bottom:0;
	left:0;
	margin:auto;
	z-index:100;
	font-family: "Times New Roman", Times, serif;
	color: #666;
	font-size: 22px;
	text-align: center;
}

/*
////////// Responsivness
*/

@media only screen and (min-width: 320px) and (max-width: 1200px) {
	.hideable {
		display:none;
	}
}

@media only screen and (min-width: 320px) and (max-width: 1600px) {
	div.wrapper,
	div.main-container,
	div.grid-container { 
		width:100%;
	}
}

/*
////////// Print Layout
*/

@media print {
	header,footer,div.menu-container,div.bc-container,div.editor-menu,div.separator,div.button-bar {
		display: none !important;
	}
	div.main-container,
	div.calendar-container {
		padding: 0;
		margin: 0;
		width: 100%;
		min-width: 100%;
	}
	div.wrapper-chart {
		width: 100%;
		margin: 0 0 250px 0;
	}
}