html {
	font-family: 'Source Sans Pro', sans-serif;
	background-color: #dcdee2;
}

html, body {
	margin: 0;
	padding: 0;
}

textarea {
	width: 100%;
	min-height: 120px;
	border-radius: 3px;
}

textarea:focus {
	-webkit-box-shadow: 0px 0px 22px -3px rgba(97,159,235,1);
	-moz-box-shadow: 0px 0px 22px -3px rgba(97,159,235,1);
	box-shadow: 0px 0px 22px -3px rgba(97,159,235,1);	
}

#wrapper {

}

#topbar {
	z-index: 5;
	height: 50px;
	width: 100%;
	background-color: #303235;
	color: #9599a0;
	padding: 0 2%;
	box-sizing: border-box;
	position: fixed;
	left: 0;
	top: 0;
}

#topbar > div {
	/*padding: 15px 0;*/	
}

#topbar > div.button_group {
	padding: 0;
	margin-top: 5px;
	margin-left: 20px;
}

#pagetitle {
	float: left;
	/*width: 60%;*/
}

#topmenu {
	float: right;
/*	width: 30%;
	height: 100%;*/
	text-align: right;
}

.topbar_button {
	margin-right: 20px;
}

.topbar_button:last-child {
	margin-right: 0;
}

/*#messages_button {
	display: inline-block;
	background-color: #ffffff;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	text-align: center;
}
#messages_button:before {
	content: "\ea07";
	color: red;
	font-size: 18px;
	line-height: 25px;
	display: inline-block;
	font-family: 'icomoon' !important;
}*/

#logout_button {
	
}

#messages {
	position: absolute;
	right: 0;
	top: 100%;
	background-color: #ffffff;
	width: 400px;
	max-height: 500px;
	overflow-y: scroll;
	-webkit-box-shadow: -2px 2px 5px -2px rgba(107,106,107,0.75);
	-moz-box-shadow: -2px 2px 5px -2px rgba(107,106,107,0.75);
	box-shadow: -2px 2px 5px -2px rgba(107,106,107,0.75);
	display: none;
}

#messages.active {
	display: block;
}

.message {
	padding: 15px;
	border-bottom: 1px solid #c1bab4;
	text-align: left;
	box-sizing: border-box;
}

.message_type {
	display: inline-block;
	height: 20px;
	width: 20px;
	text-align: center;
	color: #000000;
}
.message_type:before {
	font-size: 18px;
	line-height: 20px;
	display: inline-block;
	font-family: 'icomoon' !important;
}
.message_type_info:before {
	content: "\ea08";
	color: #ed6c09;
}
.close_message {
	float: right;
	height: 16px;
	width: 16px;
	text-align: center;
	color: #5b5b5b;
	cursor: pointer;
}
.close_message:before {
	content: "\ea0f";
	font-size: 14px;
	line-height: 16px;
	display: inline-block;
	font-family: 'icomoon' !important;
}
.message_body_hasaction {
	cursor: pointer;
	text-decoration: underline;
	color: #2c5fa0;
}

#content {
	margin: 80px 1% 1% 1%;
	padding: 0.7%;
	box-sizing: border-box;
	background-color: #fff;
	border-radius: 4px;
	border: 1px solid #b2b3b7;
	color: #303235;
}

/* === Login section === */
#content.logincontent {
	width: 350px;
	margin: 100px auto 0 auto;
	background-color: #303235;
}
#login fieldset {
	border: none;
}
#login .inputicon {
	background-color: #fff;
	color: #303235;
}
#login_button {
	display: inline-block;
	padding: 7px;
	width: 100%;
	box-sizing: border-box;
	border-radius: 4px;
	text-align: center;
	background-color: #fff;
	color: #303235;
}
#loginfail_msg {
	display: inline-block;
	border-radius: 7px;
	box-sizing: border-box;
	padding: 5px;
	width: 100%;
	text-align: center;
	font-weight: bold;
	border: 2px solid #893f3f;
	color: #893f3f;
	background-color: #dd9e9e;
}
/* === End login section ===*/

#contentheader {
	background-color: #103863;
	color: #fff;
	border-radius: 4px 4px 0 0;
/*	padding: 0.5%;
	box-sizing: border-box;*/
}

/* === Detail View === */
#page_title {
	text-align: center;
}
.detailheader {
	background-color: #2a334c;
	/*background-color: #103863;*/
	color: #fff;
	border-radius: 10px 10px 0 0;
	padding: 7px 0;
	font-size: 120%;
	font-weight: 800;
}
/*.block > .row > .cell {*/
.cell {
	width: 25%;
}
.block > .row:last-child {
	border: none;
}
.subblock_indentifier {
	display: inline-block;
	width: 70%;
}
.subblock_subtitle {
	font-size: 90%;
	font-weight: 400;
}
.statuswrapper {
	/*display: inline-block;*/
	position: absolute;
	right: 10px;
	top: 10px;
	width: 28%;
	text-align: right;
	/*vertical-align: top;*/
}
.status {
	border-radius: 50%;
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	vertical-align: top;
}
.status_ok {
	border: 2px solid #3f8c46;
	color: #3f8c46;
	background-color: #9edda4;
}
.status_notok {
	border: 2px solid #893f3f;
	color: #893f3f;
	background-color: #dd9e9e;
}
.toggle_fold {
	display: inline-block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #103863;
	color: #103863;
	font-size: 28px;
	line-height: 40px;
	text-align: center;
	vertical-align: top;
	cursor: pointer;
}
.foldout_wrapper {
	height: 0;
	overflow: hidden;
	-webkit-transition: height 300ms ease;
	-moz-transition: height 300ms ease;
	transition: height 300ms ease;
}
/* Ticket comments */
.solution_cell {
	width: 80%;
}
.existing_ticket_comments {
	max-height: 300px;
	overflow-y: scroll;
}
.existing_ticket_comment {
	border-bottom: 1px solid #dcdee2;
}
.existing_ticket_comment_label {
	font-weight: 800;
}
/* // Ticket comments */
/* Comments block */
#comments__wrapper {
	max-height: 300px;
	overflow-y: scroll;
	width: 100%;
}
/* Report iframe*/
#report-container {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 4;
	-webkit-transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	-o-transform: translateY(-100%);
	transform: translateY(-100%);
	transition: transform 200ms ease-out;
	background-color: #fff;
}
#report-container.active {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);

}
/* Awesomplete */
.awesomplete .visually-hidden {
	display: block;
	width: 0;
} 
/* Close worksheet popup */
#ws-summary-popup {
	position: fixed;
	z-index: -1;
	-webkit-transform: scale3d(0.9,0.9,0.9);
	-moz-transform: scale3d(0.9,0.9,0.9);
	transform: scale3d(0.9,0.9,0.9);
	opacity: 0;
	transition: z-index 0ms linear 100ms, transform 100ms linear 0ms, opacity 100ms linear 0ms;
	left: 1%;
	top: 1%;
	width: 98%;
	height: 98%;
	padding: 2%;
	box-sizing: border-box;
	overflow-y: scroll;
	background-color: #ffffff;
	-webkit-box-shadow: 0px 0px 40px -10px rgba(117,117,117,1);
	-moz-box-shadow: 0px 0px 40px -10px rgba(117,117,117,1);
	box-shadow: 0px 0px 40px -10px rgba(117,117,117,1);
}
#ws-summary-popup.active {
	z-index: 9999;
	-webkit-transform: scale3d(1,1,1);
	-moz-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
	opacity: 1;
	transition: z-index 0ms linear 0ms, transform 100ms linear 0ms, opacity 100ms linear 0ms;
}
#ws-close-popup__materials,
#ws-close-popup__signature {
	border: 1px solid #dcdee2;
	border-radius: 10px;
}
#ws-close-popup__signature {
	margin-top: 20px;
}
#ws-close-popup__materials > h2,
#ws-close-popup__signature > h2 {
	background-color: #2a334c;
	display: block;
	border-radius: 10px 10px 0 0;
	color: #fff;
	margin: 0;
	padding: 10px;
}
#summary-materials-table {
	width: 100%;
}
#summary-materials-table td {
	padding: 10px 20px;
	box-sizing: border-box;
}
#summary-materials-headrow {
	font-weight: bold;
}
.summary-materials-row td {
	border-top: 1px solid #000;
}
#ws-close-popup__signature > div {
	width: 90%;
	margin-left: 5%;	
}
#signature-name-wrapper {
	text-align: center;
}
#signature-name {
	width: 100%;
	padding: 7px;
	box-sizing: border-box;
	border: 1px solid #3f3f3f;
}
#signature-image-wrapper {

}
.signature_tools {
	width: auto !important;
	margin: auto !important;
}
#close-worksheet-summary {
	/*margin: 20px;*/
}

/* Signature */
#signature_wrapper {
	text-align: center;
}
#signature_content {
	text-align: center;
	width: 100%;
}
#signature-name {
	width: 240px;
	margin: 10px 0;
}
#signature {
	border: 1px solid #000;
	display: inline-block;
}
#signature_image {
	/* Hide until it is filled with a signature */
	display: none;
}
#signature_image.active {
	display: inline-block;
}
.signature_tools button {
	width: 45%;
}
/* === General classes === */
.warning-text {
	display: inline-block;
	background-color: #f99d9d;
	border-left: 4px solid #ff5656;
	width: 96%;
	padding: 2%;
	margin: 6px 0;
}
.clear {
	clear: both;	
}
.icon {
	color: #9599a0;
	text-decoration: none;
	font-size: 24px;
}
.icon--medium {
	font-size: 2em;
}
.block {
	border: 1px solid #dcdee2;
	border-radius: 10px;
	float: left;
	width: 100%;
	margin: 10px 0;
}
.subblock {
	float: left;
	width: 98%;
	box-sizing: border-box;
	background-color: #e6e9ed;
	border-radius: 3px;
	margin: 1%;
	border: 1px solid #cbced1;
}
.wp_row {
	float: left;
	border-bottom: 1px solid #dcdee2;
	width: 100%;
	/*display: table;*/
}
.cell {
	/*display: table-cell;*/
	position: relative;
	vertical-align: top;
	padding: 8px;
	box-sizing: border-box;
	text-align: left;
	float: left;
}
.cell.col-1 {
	width: 25%;
}
.cell.col-2 {
	width: 50%;
}
.cell.col-3 {
	width: 75%;
}
.cell.col-4 {
	width: 100%;
}
.cell_label,
.cell_content {
	float: left;
	box-sizing: border-box;
}
.cell_label {
	font-weight: 800;
	padding-right: 8px;
}
.mob_cell_label {
	display: none;
	font-weight: 800;
}
.actionlink {
	display: inline-block;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
	background-color: #2392ce;
	padding: 10px;
	cursor: pointer;
}
.button_group {
	border: 1px solid #3b5766;
	display: inline-block;
	border-radius: 5px;
}
.button_group .actionlink {
	float: left;
	border-radius: 0;
	border-right: 1px solid #3b5766;
}
.button_group .actionlink:first-child {
	border-radius: 5px 0 0 5px;
}
.button_group .actionlink:last-child {
	border-radius: 0 5px 5px 0;
	border-right: none;
}
.button_group .actionlink:first-child .button_group .actionlink:last-child {
	border-radius: 5px;
}
.confirmbutton {
	background-color: #11b252;
}
.confirmbutton:before {
	content: "\ea10";
	font-size: 16px;
	display: inline-block;
	margin-right: 8px;
	font-family: 'icomoon' !important;
}
.savebutton {
	background-color: #11b252;
}
.savebutton:before {
	content: "\e962";
	font-size: 16px;
	display: inline-block;
	margin-right: 8px;
	font-family: 'icomoon' !important;
}
.cancelbutton {
	background-color: #bc1232;
}
.cancelbutton:before {
	content: "\ea0f";
	font-size: 16px;
	display: inline-block;
	margin-right: 8px;
	font-family: 'icomoon' !important;
}
.trashbutton {
	background-color: #bc1232;
}
.trashbutton:before {
	content: "\e901";
	font-size: 16px;
	display: inline-block;
	margin-right: 8px;
	font-family: 'icomoon' !important;
}
.pencilbutton:before {
	content: "\e906";
	font-size: 16px;
	display: inline-block;
	margin-right: 8px;
	font-family: 'icomoon' !important;
}
.reportbutton:before {
	content: "\e922";
	font-size: 16px;
	display: inline-block;
	margin-right: 8px;
	font-family: 'icomoon' !important;
}
.notificationbutton {
	background-color: #d89d1e;
}
.notificationbutton:before {
	content: "\ea08";
	font-size: 16px;
	display: inline-block;
	margin-right: 8px;
	font-family: 'icomoon' !important;
}
.loadingbutton:after {
	color: #ffffff;
	content: "\e982";
	font-size: 16px;
	display: inline-block;
	margin-left: 8px;
	font-family: 'icomoon' !important;
	-webkit-animation: rotating 1s linear infinite;
	-moz-animation: rotating 1s linear infinite;
	-ms-animation: rotating 1s linear infinite;
	-o-animation: rotating 1s linear infinite;
	animation: rotating 1s linear infinite;
}
.notavailable_button {
	background-color: #999999;
}
.printbutton:before {
	content: "\e954";
	font-size: 16px;
	display: inline-block;
	margin-right: 8px;
	font-family: 'icomoon' !important;
}
.add_calendaricon_before-big:before {
	content: "\e900";
	font-size: 32px;
	display: inline-block;
	margin-right: 8px;
	font-family: 'icomoon' !important;
}
.foldout_icon {
	display: inline-block;
	width: 28px;
	height: 28px;
	border: 3px solid #ffffff;
	text-align: center;
	border-radius: 50%;
}
.foldout_icon:before {
	content: "\e98b";
	display: inline-block;	
	font-size: 16px;
	line-height: 24px;
	color: #ffffff;
	font-family: 'icomoon' !important;
}
.foldin_icon {
	display: inline-block;
	width: 28px;
	height: 28px;
	border: 3px solid #ffffff;
	text-align: center;
	border-radius: 50%;
}
.foldin_icon:before {
	content: "\e98c";
	display: inline-block;	
	font-size: 16px;
	line-height: 24px;
	color: #ffffff;
	font-family: 'icomoon' !important;
}
.message_button:before {
	content: "\e904";
	display: inline-block;	
	font-size: 16px;
/*	line-height: 28px;
*/	color: #ffffff;
	font-family: 'icomoon' !important;
}
.home_button:before {
	content: "\e902";
	display: inline-block;	
	font-size: 16px;
/*	line-height: 28px;
*/	color: #ffffff;
	font-family: 'icomoon' !important;
}
.logout_button:before {
	content: "\ea14";
	display: inline-block;	
	font-size: 16px;
	/*line-height: 28px;*/
	color: #ffffff;
	font-family: 'icomoon' !important;
}
.calendar_button:before {
	content: "\e900";
	display: inline-block;	
	font-size: 16px;
	/*line-height: 28px;*/
	color: #ffffff;
	font-family: 'icomoon' !important;
}
.form-group {
	margin: 8px 0;
}
.inputicon {
	display: inline-block;
	width: 20%;
	height: 40px;
	font-size: 24px;
	line-height: 40px;
	text-align: center;
	border-radius: 4px 0 0 4px;
	margin-right: -4px;
	vertical-align: top;
}
.inputicon:before {
	line-height: 40px;
}
.textinput-group {
	width: 100%;
	vertical-align: top;
}
.textinput-group input {
	display: inline-block;
	width: 80%;
	border-radius: 0 4px 4px 0;
	height: 40px;
	margin-right: -4px;
	vertical-align: top;
	padding: 0;
	border: none;
}
.checkbox-input-group {
	clear: both;
	padding: 7px 0;
}
.checkbox-input-group .checkbox-input-group__checkbox {
	vertical-align: top;
	width: 5%;
}
.checkbox-input-group .checkbox-input-group__desc, 
.checkbox-input-group .awesomplete {
	vertical-align: top;
	display: inline-block;
	width: 65%;
	box-sizing: border-box;
}
.checkbox-input-group .awesomplete .checkbox-input-group__desc,
.checkbox-input-group .awesomplete .awesomplete {
	width: 100%;
}
.checkbox-input-group .checkbox-input-group__qty {
	width: 20%;
}

/* === List view ===*/
#purchaseorders {
	position: fixed;
	width: 80%;
	height: 95%;
	z-index: 2;
	overflow-y: scroll;
	left: 0;
	top: 5%;
	background-color: #ffffff;
	-webkit-transform: translateX(-100%);
	-moz-transform: translateX(-100%);
	transform: translateX(-100%);
	transition: transform 100ms linear;
	-webkit-box-shadow: 0px 0px 30px -10px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 30px -10px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 30px -10px rgba(0,0,0,0.75);
}
#purchaseorders.active {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	transform: translateX(0);
}
.single_salesorder {
	position: relative;
}
.salesorder_changed_warning,
.po_changed_warning {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.85);
	text-align: center;
	padding: 10% 0;
	box-sizing: border-box;
	z-index: -1;
	opacity: 0;
	border-radius: 10px;
}
.salesorder_changed_warning.active,
.po_changed_warning.active {
	z-index: 1;
	opacity: 1;
}
.salesorder_ready_message {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.85);
	text-align: center;
	padding: 10% 0;
	box-sizing: border-box;
	z-index: -1;
	opacity: 0;
	border-radius: 10px;
}
.salesorder_ready_message.active {
	z-index: 1;
	opacity: 1;
}
.changed_salesorder {
-webkit-box-shadow: 0px 0px 93px -3px rgba(255,0,0,1);
-moz-box-shadow: 0px 0px 93px -3px rgba(255,0,0,1);
box-shadow: 0px 0px 93px -3px rgba(255,0,0,1);
}

/* ------ Product lines ------ */
.productline_title h2{
	margin-left: 15px;
}
.salesorder_products {
	display: table;
	float: left;
	width: 97%;
	margin: 1.5%;
	border: 1px solid #dbdddd;
	border-radius: 15px;
	background-color: #edf3f4;
}
.productline_header {
	font-weight: 800;
	font-size: 110%;
}
.salesorder_products > div,
.salesorder_po_lines > div { /* Product rows */
	display: table-row;
}
.salesorder_products > div > div,
.salesorder_po_lines > div > div { /* Cells */
	display: table-cell;
	vertical-align: top;
	padding: 10px;
	box-sizing: border-box;
	border-bottom: 1px solid #dbdddd;
}
.salesorder_products > div:last-child > div,
.salesorder_po_lines > div:last-child > div {
	border-bottom: none;
}
.so_line_name_desc,
.po_line_name_desc {
	width: 30%;
}
.so_line_vendorcode,
.po_line_vendorcode {
	width: 10%;
}
.so_line_qty,
.po_line_qty {
	width: 10%;
}
.so_line_serials {
	width: 25%;
}
.so_line_actions,
.po_line_actions {
	width: 20%;
}
.so_line_name,
.po_line_name {
	font-weight: 800;
}
.so_line_desc,
.po_line_desc {
	font-style: italic;
}
.buildyear_field {
	border: 1px solid #dbdddd;
	padding: 10px;
	border-radius: 8px;
}
.serial_input_group {
	border-left: 1px solid #dbdddd;
	border-right: 1px solid #dbdddd;
	display: inline-block;
}
.serial_input_group:first-child {
	border: 1px solid #dbdddd;
/*	border-bottom: none;
*/	border-radius: 8px 8px 0 0;
}
.serial_input_group:last-child {
	border: 1px solid #dbdddd;
	border-top: none;
	border-radius: 0 0 8px 8px;
}
.serial_input_group:only-child {
	border: 1px solid #dbdddd;
	border-radius: 8px;
}
.serial_input_group .serial_input {
	border: none;
	padding: 10px;
	display: inline-block;
}
.serial_input_group:first-child .serial_input {
	border-radius: 8px 0 0 0;
}
.serial_input_group:last-child .serial_input {
	border-radius: 0 0 0 8px;
}
.serial_input_group:only-child .serial_input {
	border-radius: 8px 0 0 8px;
}
.serial_input_group .save_serial {
	color: #fff;
	padding: 7px 15px 8px 7px;
	display: inline-block;
	text-decoration: none;
}
.serial_input_group:first-child .save_serial {
	border-radius: 0 8px 0 0;
}
.serial_input_group:last-child .save_serial {
	border-radius: 0 0 8px 0;
}
.serial_input_group:only-child .save_serial {
	border-radius: 0 8px 8px 0;
}
.serial_input.serial_sent {
	background-color: #c7e5cf;
}
/* Purchase order for salesorders */
.salesorder_pos {
	float: left;
	margin: 1.5%;
	width: 97%;
    border: 1px solid #dbdddd;
    border-radius: 15px;
    background-color: #f4edef;
}
.salesorder_pos > h2 {
	text-align: center;
}
.salesorder_po {
	margin: 1.5%;
	width: 97%;
    border: 1px solid #dbdddd;
    border-radius: 15px;
    background-color: #ffffff;
}
.salesorder_po_header {
	background-color: #a3284f;
	color: #ffffff;
	border-radius: 15px 15px 0 0;
}
.single_po_header__content,
.salesorder_po_header__content {
	display: inline-block;
	margin: 0;
	padding: 15px;
}
.single_po_header__controls,
.salesorder_po_header__controls {
	float: right;
	padding: 6px 10px 0 0;
}
.foldout_po {
	margin-left: 10px;
}
/* === Single PO styling === */
.single_po {
	background-color: #ffffff;
	margin: 1.5%;
	width: 97%;
	border: 1px solid #dbdddd;
	border-radius: 15px;
	position: relative;
}
.single_po_header {
	background-color: #8e5fcc;
	color: #ffffff;
	border-radius: 15px 15px 0 0;
}
.single_po_body:after {
	content: '';
	display: block;
	clear: both;
}
.single_po_lines {
	display: flex;
	flex-direction: column;
}
.single_po_productline.productline_header,
.po_productline {
	display: flex;
	flex-direction: row;
}
.single_po_productline.productline_header > div,
.po_productline > div {
	width: 25%;
	flex-grow: 1;
	padding: 10px;
	box-sizing: border-box;
}
/* === Calendar === */
#calendar {
	position: fixed;
	z-index: 6;
	background-color: #ffffff;
	width: 90%;
	height: 90%;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -300%);
    transition: transform 300ms linear;
	-webkit-box-shadow: 0px 0px 100px -20px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 100px -20px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 100px -20px rgba(0,0,0,0.75);
	overflow: hidden;
}
#calendar.active {
	transform: translate(-50%, -50%);
}
.calendar_event {
	box-sizing: border-box;
	padding: 8px;
	font-size: 16px;
	cursor: pointer;
}
.fc-time {
	display: none;
}
#calendar_hover_container {
	position: absolute;
	width: 90%;
	left: 5%;
	bottom: 20px;
	background-color: #dce6ea;
	border-radius: 3px;
	-webkit-box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.75);
box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.75);
	box-sizing: border-box;
	padding: 20px;
	z-index: 10;
	display: none;
}
/* === // Calendar === */
/* === Relogin === */
#relogin {
	position: fixed;
	z-index: -1;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	opacity: 0;
}
#relogin.active {
	z-index: 6;
	opacity: 1;
}
#relogin_wrapper {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(255,255,255,0.7);
}
#relogin_body {
	position: absolute;
	width: 30%;
	left: 35%;
	top: 50px;
	background-color: #ffffff;
	-webkit-box-shadow: 0px 0px 40px -10px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 40px -10px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 40px -10px rgba(0,0,0,0.75);
	padding: 20px;
	border-radius: 8px;
	box-sizing: border-box;
}
/* === // Relogin === */
/* === AJAX loader === */
#ajax_loader {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.8);
	top: 0;
	left: 0;
	z-index: -1;
	opacity: 0;
}
#ajax_loader.active {
	z-index: 1;
	opacity: 1;
}
#ajax_loader_inner {
	position: absolute;
	width: 90%;
	height: 60%;
	top: 20%;
	left: 5%;
	text-align: center;
}
#ajax_loader_title {
	font-size: 200%;
}
.mp-button {
	padding: 0.75em;
	background-color: #103863;
	color: #fff;
	border: none;
	border-radius: 8px;
}
.mp-button > a {
	color: #fff;
	text-decoration: none;
}
/*=== Datepicker override === */
.wc-date-popover {
	bottom: 0 !important;
	top: auto !important;
}
/*=== Alert === */
#mp_alert_wrapper {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0;
	transition: opacity 0ms linear 0ms; 
}
#mp_alert_wrapper.active {
	z-index: 3;
	opacity: 1;
	transition: opacity 100ms linear 0ms; 
}
#mp_alert_background {
	position: absolute;
	background-color: rgba(255,255,225,0.7);
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
#mp_alert_box {
	width: 50%;
	min-width: 400px;
	max-width: 600px;
	background-color: #ffffff;
	border: 1px solid #9e9c9c;
	border-radius: 4px;
	padding: 15px;
	box-sizing: border-box;
	margin: 120px auto 0 auto;
	-webkit-box-shadow: 0px 5px 10px -5px rgba(112,112,112,1);
	-moz-box-shadow: 0px 5px 10px -5px rgba(112,112,112,1);
	box-shadow: 0px 5px 10px -5px rgba(112,112,112,1);
}
#mp_alert_button {
	display: block;
	margin: 0 auto;
	background-color: #d31100;
	border: 1px solid #890c01;
	border-radius: 4px;
	color: #fff;
	padding: 9px;
	box-sizing: border-box;
	text-transform: uppercase;
	text-align: center;
	font-weight: 800;
	margin-top: 10px;
	cursor: pointer;	
}
.icon-arrowdown:before {
	content: "\ea3e";
	color: #ffffff;
	font-size: 14px;
	font-family: 'icomoon' !important;
}
.icon-arrowup:before {
	content: "\ea3a";
	color: #ffffff;
	font-size: 14px;
	font-family: 'icomoon' !important;
}
.small_info_icon:before {
	content: "\e903";
	font-size: 18px;
	font-family: 'icomoon' !important;
	margin: 8px 0 0 8px;
	cursor: pointer;
}

/* === LOADER === */
#loader {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background-color: #ffffff;
	border-top: 2px solid #2c2c2c;
}
.spinner {
  margin: 40px auto;
  width: 50px;
  height: 40px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #333;
  height: 100%;
  width: 6px;
  display: inline-block;
  
  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

/* === Animations === */
@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% { 
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% { 
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

@keyframes rotating
	{
	from
		{
		transform: rotate(0deg);
		-o-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		}
	to
		{
		transform: rotate(360deg);
		-o-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		}
	}
@-webkit-keyframes rotating
	{
	from
		{
		transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		}
	to
		{
		transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		}
	}

/* === Mobile === */
@media only screen and (max-width : 960px) {
	#contentheader {
		display: none;
	}
	.row {
		display: block;
	}
	#worksheet_list > .row > .cell:first-child {
		background-color: #103863;
		color: #fff;
	}
	.cell {
		width: 100% !important;
		/*display: block;*/
		/*float: left;*/
		border-bottom: 1px solid #d5dbe2;
	}
	.cell:last-child {
		border: none;
	}
	.mob_cell_label {
		display: block;
		float: left;
		width: 20%;
	}
	.cellcontent {
		float: left;
		width: 80%;
	}
	.fullwidth {
		width: 100%;
	}
	/* == Detailview styles for mobile ==*/
	.cell_label,
	.cell_content {
		width: 100%;
	}
	.fullwidth > .cell_label {
		width: 100%;
		text-align: center;
	}
	.button_group {
		width: 100%;
		box-sizing: border-box;
	}
	.button_group .actionlink {
		float: left;
		width: 100%;
		text-align: center;
		padding-left: 0;
		padding-right: 0;
		border-radius: 0;
		border-bottom: 1px solid #3b5766;
	}
	.button_group .actionlink:first-child {
		border-radius: 5px 5px 0 0;
	}
	.button_group .actionlink:last-child {
		border-radius: 0 0 5px 5px;
		border-bottom: none;
	}
	#ws-summary-popup {
		padding: 5%;
	}
	#mp_alert_box {
		min-width: 200px;
		max-width: 80%;
	}
}