html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, tt, var, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	border: 0;
	color: #333;
	font-family: Arial, sans;
	font-size: 13px;
	letter-spacing: -1px;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	background: #fff; }
/*em {
	font-style: italic !important;
}*/
ol, ul {
	list-style: none;
}
i {
	font-style: italic !important;}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	margin-top: 5px;
	margin-bottom: 5px;
}
td , th{
	padding: 5px;
	text-align: left;
	vertical-align: top;}
th {
	background: #333;
	border-bottom: 1px solid #111;
	/*border-left: 1px solid #252525;
	border-right: 1px solid #444; */
	color: #fff;
	font-weight: bold; }
label {
	display: inline-block;
	text-align: left;
	width: 100px;}
label.long_label {
	width: 180px;;
}
th label, th .small {
	color: #fff!important;
}
input[type=text], input[type=password], textarea, select {
	background: #fff;
	border: 1px solid #333;
	color: #333;
	font-family: Arial, sans;
	font-size: 13px;
	box-sizing: border-box;
	padding: 3px 5px;
	border-radius: 5px;
}
input[type=submit], input[type=button] {
	border: 1px solid #333;
	border-radius: 5px;
	color: #333;
	font-family: Arial, sans;
	font-size: 13px;
	box-sizing: border-box;
	padding: 3px 5px;
}
#start_mm, #start_soho {
	min-width: 130px;
}
a {
	text-decoration: none;}
h1, h1 span.selected {
	background: #eee;
	color: #ff6600;
	font-weight: bold;
	font-size: 15px;}
form {
	background: #eee;
	border: 1px solid #ddd;
	display: inline-block;
	padding: 10px;}

/* menu ******************************************************************* */
ul.menu {
	list-style: none;
	padding: 0;
	margin: 0;
	float: left;
	width: 100%;
	background: #333;
}
ul.menu li {
	float: left;
	height: 36px;
	height: auto !important;
	min-height: 36px;
	margin: 0;
	padding: 0 15px 0 0;
	position: relative; /*--Declare X and Y axis base for sub navigation--*/
	background: #333;
}
ul.menu li a{
	padding: 10px 5px;
	color: #ffffdd;
	display: block;
	text-decoration: none;
	float: left;
	background: #333;
	font-weight: bold;
}
ul.menu li a:hover{
}
ul.menu li span { /*--Drop down trigger styles--*/
	width: 17px;
	height: 35px;
	float: left;
}
ul.menu li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/
ul.menu li ul.submenu {
	list-style: none;
	position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
	left: 0; top: 36px;
	background: #333;
	margin: 0; padding: 0;
	display: none;
	float: left;
	width: 170px;
	z-index: 9999;
}
ul.menu li ul.submenu li{
	margin: 0; padding: 0;
	border-top: 1px solid #252525; /*--Create bevel effect--*/
	border-bottom: 1px solid #444; /*--Create bevel effect--*/
	clear: both;
	width: 170px;
}
html ul.menu li ul.submenu li a {
	float: left;
	width: 145px;
	padding-left: 20px;
	color: #fff;
	font-weight: lighter !important;
}
html ul.menu li ul.submenu li a:hover { /*--Hover effect for subnav links--*/
}

/* ************************************************************************ */
.small {font-size: 11px !important;}
form li {
	padding-top: 3px;
	padding-bottom: 3px;}
.error {
	color: #ff0000; }
.confirmation {
	color: #00aa00; }
.confirm {
	color: #009900;
}
.error_tr td{
	background: #ffdddd;
	border-bottom: 1px dashed #aaa;
}
.confirmed_tr td{
	background: #ddffdd;
	border-bottom: 1px dashed #aaa;
}
.left {
	float: left; }
.right {
	float: right; }
.clear {
	clear: both; }
.link {
	cursor: pointer;}
.vtop {
	vertical-align: top; }
.vtop img {
	vertical-align: top;
}
.vmiddle {
	vertical-align: middle;
}
.vmiddle img {
	vertical-align: middle;
}
.odd td {
	background: #fff;
	border-bottom: 1px dashed #aaa;}
.even td {
	background: #f2f2f2;
	border-bottom: 1px dashed #888;}
.odd:hover td, .even:hover td, .confirmed_tr:hover td, .error_tr:hover td {
	background: #ddd;
}
.hidden {
	display: none !important;}
.invisible {
	visibility: hidden;
}
.bold {
	font-weight: bold;
}
.blue {
	background: #00B0F0;
}
.orange {
	background: #E66E14;
	color: #fff;
}
.block {
	display: inline-block;
}
.sticky {
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
}
.sticky th, .sticky td {
	box-sizing: border-box;
}
.sticky thead {
  z-index: 3;
  position: sticky;
	position: -webkit-sticky;
	top: 0;
}


#login {
	margin-top: 100px;}
#login li {
	padding: 3px 0;
	text-align: left;}
#copyright {
	font-size: 10px;
	margin-top: 10px;
	padding-left: 10px;}
#content {
	padding-left: 10px;
	margin-bottom: 30px;}
#content a {
	font-style: italic;}
#top {
	background: #eee;
	border-bottom: 1px solid #ddd;
	margin-bottom: 20px;
	padding: 10px 5px;}
#top form {
	background: transparent;
	border: 0;
	padding: 0;}
.icon {
	position: relative;
	top: 3px;}
.back {
	font-size: 12px;
	font-style: italic;}
.separator {
	border-bottom: 1px dashed #ccc;
	margin-top: 10px;
	margin-bottom: 10px;}

.form_category {
	background: #eee;
	border: 1px solid #ddd;
	display: inline-block;
	margin-bottom: 20px;
	margin-right: 100px;
	padding: 10px;
	width: 700px;}
.form_category_wide {
	background: #eee;
	border: 1px solid #ddd;
	display: inline-block;
	margin-bottom: 20px;
	margin-right: 300px;
	padding: 10px;
	width: 700px;}
.form_category_wide li {
	border-bottom: 1px dotted #ddd;
	padding-top: 3px;
	padding-bottom: 3px;}
#category_list label {
	display: inline;}
.btn_link {
	cursor: default; }
.form_criteria li {
	background: #ddd;
	padding: 3px 10px;
	margin-bottom: 3px;
	margin-top: 3px;}
.tab_category {
	background: #eee;
	border: 1px solid #ddd;
	cursor: default;
	display: inline-block;
	padding: 10px;}
.tab_category.selected {
	color: #000;}
.tab_category.unselected {
	color: #aaa;}
.general_form_fields {
	background: #eee;
	border: 1px solid #ddd;
	display: inline-block;
	margin-bottom: 20px;
	margin-right: 20px;
	padding: 10px;
	width: 700px;}
#employee_info {
	margin-right: 300px;
	width: 200px;}
.criteria_text {
	display: inline-block;
	width: auto !important;
	min-width: 100px;}
.filters {
	background: #eee;
	border: 1px solid #ddd;
	display: inline-block;
	margin-bottom: 20px;
	padding: 10px;
}
#filters label {
	display: inline;
}
#filters select, #filters input[type=text] {
	margin-right: 5px;
	width: 100px;}
.tab_module {
	background: #eee;
	border: 1px solid #ddd;
	cursor: default;
	display: inline-block;
	font-weight: bold;
	margin:20px 10px;
	padding: 10px;}
.aright {
	text-align: right;}
.acenter {
	text-align: center;
}
.aleft {
	text-align: left!important;}

.init_documents {
	display: inline-block;
	background: #eee;
	border: 1px solid #ddd;
	font-weight: bold;
	font-size: 25px;
	margin-left: 20px;
	padding: 20px;
	text-align: center;
}
#mm_documents, #soho_documents, #common_fields_p, #common_fields_c, .doc_fields {
	margin-left: 20px;
	background: #eee;
	border: 1px solid #ddd;
	width: 1240px;
	padding: 20px;
}
#mm_documents li, #soho_documents li, #common_fields_p li, #common_fields_c li, .doc_fields li {
	padding: 3px;
}
.doc_fields table td {
	border: 1px solid #000;
	text-align: center;
}
.inline_label {
	display: inline;
}
.fields {
	margin-bottom: 20px;
}
.fields input[type=text], .fields select {
	width: 300px;
}
label.reg {
	font-weight: bold;
	text-decoration: underline;
}
input.cc {
	margin-left: 40px;
}
label.cc {
	text-decoration: underline;
}
input.br {
	margin-left: 80px;
}
.signature_button {
	font-weight: bold;
	display: inline-block;
	background: #ff6600;
	color: #fff;
	padding: 5px 10px;
	border-radius: 5px;
	margin-right: 10px;
	height: 20px;
  line-height: 20px;
}
.signature_button.dark {
	background: #cc6600;
}
.signature_button.darker {
	background: #bb5500;
}
.message {
	background: #fff;
	padding: 20px;
	border: 1px solid #000;
	border-radius: 5px;
	width: 100%;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
}
.for_signature {
	width: 100%;
	max-width: 800px;
}
button[type=button] {
	padding: 5px 15px 5px 15px;
    font-size: 11px;
    color: #FFFFFF;
    font-weight: bold;
    display: inline-block;
    border:0;
    border-radius: 5px;
    background: url(../img/btn_blue.png) repeat-x scroll 0 0 transparent;
    font-family: Arial, Helvetica, sans-serif, "Trebuchet MS", Tahoma, Georgia, "Times New Roman", Times;
    font-size: 14px;
    margin-top: 10px;
}
button[type=button].disabled {
	background: url(../img/btn_grey.png) repeat-x scroll 0 0 transparent;
}
div.disabled {
	opacity: 0.5;
	cursor: default;
}
.send_for_signature {
	/*display: inline-block;
    background: #dddddd;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 3px 5px;*/
}
.service_row td {
	border-bottom: 1px dashed #888;
}
.service_table {
	width: 100%;
}
.doc_fields.service_form .service_table {
	max-width: 1100px!important;
}
.service_table th {
	background: #ccc!important;
	text-align: center;
	color: #333!important;
}
.service_table th.aleft {
	text-align: left;
}
.service_table .small {
	color: #333!important;
	font-weight: lighter!important;
}
.inactive {
	opacity: 0.3;
}
.inactive:hover {
	opacity: 0.6;
}
.simditor .simditor-toolbar > ul > li > .toolbar-item span.simditor-icon {
	display: inline-block!important;
	margin-top: 15px;
}
.button_link {
	display: inline-block;
	background: #dddddd;
	border: 1px solid #333;
    border-radius: 5px;
    color: #333;
    font-family: Arial, sans;
    font-size: 13px;
    box-sizing: border-box;
    padding: 3px 5px;
    font-style: normal!important;
}
.green {
	background: transparent;
    color: #009900!important;
    display: inline-block;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 20px;
}
.transparent_button {
	background: transparent!important;
	border: 0!important;
	padding-top: 0!important;
	padding-bottom: 0!important;
	outline: none!important;
}
.non_transparent_button {
	background: #333!important;
	border: 0!important;
	padding-top: 0!important;
	padding-bottom: 0!important;
	outline: none!important;
	color: #fff!important;
}
#close_popup {
	display: inline-block;
	font-weight: bold;
	margin-bottom: 10px;
}
#popup {
	background: #fff;
	border: 1px solid #000;
	border-radius: 5px;
	display: inline-block;
	position: fixed;
	top: 10px;
	max-width: 90%!important;
	width: 600px;
	margin-left: -300px;
	left: 50%;
	padding: 10px;
	z-index: 99;
	min-height: 200px;
}
#popup_content {
	max-height: 400px;
	overflow-y: auto;
}
#popup_background {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
	opacity: 0.5;
	z-index: 98;
}
.log_table td {
	border-bottom: 1px dotted #333;
}
.warning {
	background: #ff6600;
	color: #fff;
	display: inline-block;
	font-weight: bold;
	padding: 5px 10px 7px;
	border-radius: 5px;
	margin-bottom: 10px;
}
.circle {
	display: inline-block;
	width: 5px;
	border-radius: 10px;
	font-size: 10px;
	padding: 2px 5px;
}
.c_red {
	background: #ff0000;
}
.c_green {
	background: #009900;
}
.add_subpromotii {
	padding: 1px 3px;
  margin-top: 10px;
  margin-right: 6px;
}

#filters_toggle {
	display: none;
}
.filters_div {
	display: inline-block;
	margin-right: 10px;
	margin-bottom: 3px;;
}
.mobile_only {
	display: none;
}
.signature_back {
	display: none;
}
.form_header {
	background: #ccc;
	font-weight: bold;
	font-size: 15px;
	margin-top: 20px;
}
#resolution_history {
	min-width: 800px;
}
#resolution_history th {
	background: transparent;
	color: #333;
}
#calls_table td {
	vertical-align: middle;
	border-bottom: 1px dotted #333;
}
table.document_results {
	border: 1px solid #333;
	min-width: 500px;
}
.load_more_files {
	padding-top: 20px;
	padding-bottom: 20px;
}


@media(max-width:1100px) {
	.siganture_body .message {
		max-width: 90%;
	}
	.signature_back {
		display: block;
		background: #333;
		color: #fff;
		padding: 20px;
		margin-bottom: 20px;
	}
	.signature_back a {
		color: #fff;
	}
	.filters_form {
		display: block;
	}
	#filters_toggle {
		display: block;
		font-weight: bold;
	}
	#filters_toggle.opened {
		border-bottom: 1px solid #ddd;
		padding-bottom: 10px;
		margin-bottom: 10px;
	}
	.filters_div {
		margin-bottom: 10px;
		display: none;
	}
	.filters_div .fixed_label {
		display: inline-block!important;
		width: 70px;
	}
	.filters_div input[type=text]:not(.date_calendar), .filters_div select {
		width: 120px!important;
	}
	.filters_div .date_calendar {
		width: 80px!important;
	}
	.filters_div #client_code {
		width: 170px!important;
	}
	.mobile_only {
		display: block;
	}
	.mobile_only.small {
		opacity: 0.7;
	}
	.desktop_only {
		display: none;
	}
	#doc_archive {
		min-width: 100%!important;
		max-width: 100%!important;
	}
	#doc_archive th {
		width: auto!important;
	}
	#doc_archive td, #doc_archive th {
		padding: 20px 5px;
	}

	.open_menu {
		color: #000;
		cursor: pointer;
	}
	.menu_actions {
		position: absolute;
		display: inline-block;
		width: 300px;
		background: #fff;
		border-radius: 5px;
		margin-left: -300px;
		margin-top: 10px;
		border: 1px solid #333;
	}
	.menu_actions div {
		padding: 10px;
		cursor: pointer;
	}


	#content {
		padding-left: 0!important;
	}
	#form_for_docs {
		width: 96%!important;
		margin-left: 0px!important;
		padding-left: 0!important;
	}
	#mm_documents, #soho_documents {
		margin-left: 0!important;
		width: 95%!important;
		padding-left: 10px!important;
		padding-right: 10px!important;
	}
	#main_documents_mm, #other_forms_mm, #main_documents_soho, #other_forms_soho {
		display: block!important;
	}
	#other_forms_mm, #other_forms_soho {
		margin-top: 30px;
	}
	#main_documents_mm input[type=checkbox], #other_forms_mm input[type=checkbox], #main_documents_soho input[type=checkbox], #other_forms_soho input[type=checkbox] {
		margin-bottom: 15px;
	}

	#common_fields_p, #common_fields_c {
		margin-left: 0!important;
		width: 95%!important;
		padding-left: 10px!important;
		padding-right: 10px!important;
	}
	.fields.doc_fields {
		margin-left: 0!important;
		width: 95%!important;
		padding-left: 10px!important;
		padding-right: 10px!important;
	}
	.doc_fields table {
		width: 100%!important;
	}
	.doc_fields table input[type=text] {
		max-width: 90px!important;
	}
	.doc_fields textarea {
		max-width: 80%;
	}
}
@media (max-width: 810px) {
	#email_to_send_form {
		width: 130px!important;
	}
}
@media (max-width: 775px) {
	#email_to_send_form {
		width: 110px!important;
	}
}
@media (max-width: 754px) {
	.signed_div {
		margin-left: 112px;
		margin-top: 10px;
	}
}
@media(max-width: 700px) {
	.filters_form {
		display: block;
	}
	#filters_toggle {
		display: block;
		font-weight: bold;
	}
	#filters_toggle.opened {
		border-bottom: 1px solid #ddd;
		padding-bottom: 10px;
		margin-bottom: 10px;
	}
	.filters_div {
		margin-bottom: 10px;
		display: none;
	}
	.filters_div .fixed_label {
		display: inline-block!important;
		width: 70px;
	}
	.filters_div input[type=text], .filters_div select {
		width: 120px!important;
	}
	#doc_archive {
		min-width: 100%!important;
		max-width: 100%!important;
	}
	#doc_archive th {
		width: auto!important;
	}
	#doc_archive td, #doc_archive th {
		padding: 20px 5px;
	}
}
img.cancel_for_client_docs {
	background: #ff0000;
	border-radius: 10px;
	margin-left: 10px;
	border: 0px solid #333;
	padding: 2px 2px;
}
.validate_signed_popup {
	background: #fff;
	border: 1px solid #333;
	border-radius: 5px;
	padding: 10px;
	position: absolute;
	z-index: 999;
}
.validate_signed_popup input[type=button] {
	color: #fff;
	border: 0;
	font-weight: bold;
	font-size: 12px;
	margin-top: 5px;
	cursor: pointer;
}
.close_signed_popup {
	cursor: pointer;
	position: relative;
	top: -5px;
}
.ui-datepicker {
	z-index: 4!important;
}
img.undo_cancellation {
	background: #009900;
	border-radius: 10px;
	border: 0px;
	padding: 0px;
}

.file_input_span {
	display: inline-block;
	padding: 3px 10px;
	width: auto;
	border: 1px solid #333;
	border-radius: 5px;
	cursor: pointer;
}
.pagination_link {
	display: inline-block;
	margin-right: 10px;
}
.pagination_link.selected {
	font-weight: bold;
}
.select_all, .deselect_all {
	display: inline-block;
	font-size: 12px;
	padding: 3px;
	margin-right: 10px;
	cursor: pointer;
}
.campaign-category-title {
	font-weight: bold;
	padding: 10px;
}
.campaign-list {
	padding: 10px 10px 10px 20px;
}
.campaign_column {
	background: #eee;
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-bottom: 20px;
	display: inline-block;
	width: 200px;
	vertical-align: top;
	margin-right: 20px;
}
.form_div {
	padding: 10px 0px;
}
.form-client-info {
	padding-top: 10px;
	padding-bottom: 10px;
}

.iblock {
	display: inline-block;
}
.h300 {
	height: 300px!important;
}
.h500 {
	height: 500px!important;
}
.w50 {
	width: 50px;
}
.w100 {
	width: 100px;
}
.w150 {
	width: 150px!important;
}
.w200 {
	width: 200px!important;
}
.w350 {
	width: 350px!important;
}
.w400 {
	width: 400px!important;
}
.w800 {
	width: 800px;
}
.minh300 {
	min-height: 300px;
}
.ml10 {
	margin-left: 10px;
}
.mt10 {
	margin-top: 10px;
}
.ml20 {
	margin-left: 20px;
}
.ml30 {
	margin-left: 30px;
}
.pl10 {
	padding-left: 10px;
}
.pl20 {
	padding-left: 20px;
}
.bbottom {
	border-bottom: 1px solid #333;
}
.btop {
	border-top: 1px solid #333;
}
.green_bgr {
	background: #00aa00;
	color: #fff;
}
.yellow_bgr {
	background: #ffff00;
	color: #000;
}
.blue_bgr {
	background: #0267B1;
	color: #fff;
}
.red_bgr {
	background: #ff0000;
	color: #fff!important;
}
.report_table tr:hover {
	background: #ddd;
}
input[type=submit].red_bgr {
	font-weight: bold;
	border-color: #ff0000;
}
#multiple_clients {
	border: 1px solid #333;
	border-radius: 5px;
	max-width: 600px;
}
#multiple_clients .client_row td {
	border-bottom: 1px dotted #333;
}
.match_table td {
	border-bottom: 1px dotted #333;
}
.del_added_ticket {
	position: relative;
	top: -35px;
	left: 17px;
	width: 10px;
	display: none;
}
.reedit_form {
	position: relative;
	top: -10px;
	left: 12px;
	display: none;
}
.reedit_form img {
	width: 14px;
}
.campaign_client_row:hover .del_added_ticket, .campaign_client_row:hover .reedit_form {
	display: inline-block;
}
.report_table {
	border: 1px solid #333;
	border-radius: 3px;
}
.role_rights_row td {
	border-top: 1px dashed #ccc;
}
#editor {
	background: #fff;
}
.email_group {
	border-bottom: 1px dashed #ccc;
	padding-bottom: 10px;
	padding-top: 10px;
}
.message_text {
	background: #fff;
    border: 1px solid #ccc;
    margin-top: 10px;
    padding: 10px;
}
.dark_message_text {
	background: #f0f0f0;
	border: 1px solid #999;
	margin-top: 10px;
	padding: 10px;
}
.top_border_tr td {
	border-top: 1px solid #333;
}