* {
	margin: 0;
	padding: 0;
}

html,
body {
	height: 100%;
}

body {
	background: #bbb url(/img/background.jpg) fixed no-repeat center center;
	background-size: cover;
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 14px;
}
table {
	border-collapse: collapse;
	table-layout: fixed;
}
textarea {
	resie: vertical;
}
input,
textarea,
select {
	font-family: Tahoma, Verdana, sans-serif;
	outline: none;
}
a img {
	border: none;
}
a,
a:hover,
a:visited,
a:active {
	color: #000;
	outline: none;
	border: none;
}
a.red-button {
	display: inline-block;
	padding: 3px 6px 4px 5px;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #e51a38;
	background-image: none;
	white-space: nowrap;
}
a.red-button.plus {
	padding: 5px 9px 5px 8px;
	margin: 2px 0 0 0;
}
a.red-button.inactive {
	opacity: 0.7;
}
span.green-button,
a.green-button {
	display: inline-block;
	padding: 3px 6px 4px 5px;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #8ba83d;
	white-space: nowrap;
}
span.black-button,
a.black-button {
	display: inline-block;
	padding: 5px 5px;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	font-size: 8pt;
	background-color: #000;
	white-space: nowrap;
	position: relative;
}
a.black-button.delete-shop {float: right; margin-right: 10px;}
h1,h2 {
	margin: 0 0 0.4em 0;
}

.o-hidden {
	overflow: hidden;
}
.p-relative {
	position: relative;
}
.m-bottom {
	margin-bottom: 20px;
}

ul.list {
	list-style: none;
}
ul.list li {
	display: inline-block;
}

.white-box {
	padding: 10px 8px;
	margin: 0 0 10px 0;
	background: #fff;
	position: relative;
}
.white-box.wide {
	/*width: 1350px;
	margin-left: -200px;*/
}
.white-box.error {
	text-align: center;
}

.upper {
	text-transform: uppercase;
}



.top-space {
	height: 20px;
}
.foot-line {
	border-bottom: 1px solid #4f4f4f;
	padding: 15px 0 0 0;
	margin: 0 0 15px 0;
}



a.close {
	display: inline-block;
	background: #e51a38 url(/img/delete.png) no-repeat center center;
	width: 25px;
	height: 26px;
}
.simplemodal-overlay {
	background-color: #555;
}
.popup {
	padding: 10px;
	background: #fff;
	border: 4px solid #000;
	max-height: 500px;
	min-width: 310px;
	overflow: auto;
}
.popup a.close {
	position: absolute;
	top: -7px;
	right: -7px;
}
.popup h2 {
	text-align: center;
	margin: 0 0 10px 0;
}



.login-wrapper {
	height: 100%;
	margin: 0 auto;
}
.login-wrapper td {
	vertical-align: middle;
}
.login {
	background: #fff url(/img/logo.png) no-repeat center 12px;
	padding: 80px 37px 7px 37px;
	width: 191px;
}
.login form {
	margin: 0 0 7px 0;
}
.login input {
	display: block;
	margin: 0 0 7px 0;
	padding: 3px;
	border: 1px solid #777;
	width: 185px;
	background-color: #fff;
}
.login input.error {
	background-color: #f9ebeb;
	border: 1px solid #f4a9b4;
}
.login a.red-button {
	text-align: center;
	padding-right: 0;
	padding-left: 0;
	width: 191px;
}
.login #login-message {
	margin: 0;
	padding: 0;
	text-align: center;
	color: #e51a38;
	height: 20px;
}
.footer {
	color: #bbb;
	font-size: 11px;
	padding: 0 0 10px 0;
	position: relative;
}
.login-wrapper .footer {
	text-align: center;
}
.footer .phone {
	color: #fff;
	font-size: 13px;
	margin: 0 0 3px 0;
}



.main-wrapper {
	width: 1300px;
	margin: 0 auto;
	position: relative;
	padding: 0 15px;
}
.main-wrapper .content {
	padding-bottom: 80px;
}
.main-wrapper .footer {
	margin-top: -80px;
}
.main-wrapper .footer.fixed {
	position: fixed;
	bottom: 0;
	width: 925px;
	margin-top: 0;
}
.header {
	margin: 0 0 8px 0;
	padding: 13px 10px;
	background: #fff url(/img/logo.png) no-repeat 10px center;
	text-align: right;
	min-height: 41px;
	position: relative;
}
.header .username {
	display: inline-block;
	margin: 0 0 3px 0;
	font-size: 15px;
}
.header .last-update {
	color: #666;
}
.header a.index-link {
	position: absolute;
	top: 9px;
	left: 6px;
	width: 200px;
	height: 50px;
}




ul.main-links {
	white-space: nowrap;
	text-align: center;
}
ul.main-links span,
ul.main-links a {
	text-transform: uppercase;
	text-decoration: none;
	display: inline-block;
	margin: 0;
	padding: 10px 8px 5px 7px;
	color: #333;
	background-color: rgba(255,255,255,0.7);
	font-weight: bold;
	vertical-align: middle;
}
ul.main-links span {
	background-color: #fff;
}

ul.links {
	position: relative;
	min-height: 30px;
	margin: 0 0 10px 0;
}
ul.links.alone {
	margin: 0;
}
ul.links span,
ul.links a {
	text-transform: uppercase;
	text-decoration: none;
	display: block;
	margin: 0;
	padding: 7px 20px;
	color: #fff;
	background-color: #aaa;
	font-weight: bold;
}
ul.links span,
ul.links a.active {
	background-color: #000;
	cursor: default;
}
ul.links li.red a {
	background-color: #e51a38;
}
ul.links li.red {
	position: absolute;
	right: 0;
}



.main-table {
	width: 99%;
	font-size: 13px;
	border-bottom: 1px solid #000;
}
.main-table.ratingshort {
	width: 90%;
	font-size: 13px;
	border-bottom: 1px solid #000;
}
.main-table .ratingshoptype {
	background: lightgray;
}
.ratingshoptype .midvalue {
	float: right;
	margin-right: 10px;
	font-size: 16px;
}
.main-table th {
	text-transform: uppercase;
	text-align: left;
	font-weight: bold;
}
.main-table th,
.main-table td {
	padding: 7px;
}
.main-table tr.grey.noborder td {
	border-bottom: none;
}
.main-table tr.white td {
	background-color: #fff;
}
.main-table tr.grey td {
	background-color: #eee;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
.main-table tr.hidden-list {
	display: none;
}
.main-table tr.hidden-list td {
	background-color: #ccc;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	padding-bottom: 5px;
}
.main-table tr th:last-child {
	width: 220px;
}
.main-table tr th {
	border-bottom: 1px solid #000;
}
.main-table tr td:first-child {
	border-left: 1px solid #000;
}
.main-table tr td:last-child {
	border-right: 1px solid #000;
}
.main-table tr:last-child td {
	border-bottom: 1px solid #000;
}
.main-table a.show-list {
	display: inline-block;
	padding: 5px 13px 0 0;
	margin: 0 0 5px 0;
	background: url(/img/arrows.png) no-repeat right -18px;
	text-decoration: none;
	text-transform: uppercase;
	border-bottom: 1px solid #f9d6d9;
	color: #e51a38;
	white-space: nowrap;
}
.main-table a.show-list.active {
	background-position: right 9px;
}
.main-table .black-button .delete {
	position: absolute;
	top: 0;
	right: 0;
	background: #e51a38 url(/img/delete.png) no-repeat center center;
	width: 25px;
	height: 100%;
	display: none;
}
.main-table .black-button:hover .delete {
	display: block;
}

.main-table a.edit {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 0 0 10px;
	padding: 0;
	background: url(/img/edit.png) no-repeat center center;
	opacity: 0;
}
.main-table td:first-child:hover a.edit {
	opacity: 0.4;
}
.main-table td:first-child:hover a.edit:hover {
	opacity: 1;
}



table.shop-info, table.shop-documents, table.shop-makets, table.shop-selldata {
	width: 100%;
}
table.shop-info th,
table.shop-info td {
	border-right: 15px solid #fff;
	text-align: center;
}
table.shop-info th:last-child,
table.shop-info td:last-child {
	border-right: none;
}
table.shop-info th {
	color: #777;
	font-size: 12px;
	font-weight: normal;
	background-color: #fff;
	text-transform: lowercase;
	padding: 5px;
}
table.shop-info td {
	font-weight: bold;
	text-align: center;
	background-color: #eee;
	text-transform: uppercase;
	padding: 10px;
}



table.shop-employee {
	<!--width: 600px;-->
	margin: 0 0 5px 0;
}
table.shop-employee td {
	text-transform: uppercase;
	position: relative;
	padding: 5px;
}
table.shop-employee td input {
	text-transform: uppercase;
}
table.shop-table.shop-employee th:first-child {
	<!--width: 280px;-->
	width: auto;
}
table.shop-employee td .delete {
	position: absolute;
	top: 1px;
	right: 1px;
	background: #e51a38 url(/img/delete.png) no-repeat center center;
	width: 23px;
	height: 23px;
	display: none;
}
table.shop-employee td:hover .delete {
	display: block;
}
table.shop-employee th:last-child,
table.shop-employee td:last-child {
	background-color: #fff !important;
	border: none;
}
table.shop-employee th:nth-child(2) {
	border-right: 1px solid #000;
}



form.new-user label {
	display: block;
	margin: 0 0 7px 0;
}
form.new-user span.spacer {
	display: inline-block;
	width: 150px;
	font-weight: bold;
	text-transform: uppercase;
}
form.new-user sup {
	color: #e51a38;
	display: inline-block;
	margin: 0 1px;
}
form.new-user input[type="text"],
form.new-user input[type="email"],
form.new-user input[type="password"] {
	width: 400px;
	padding: 3px;
}
form.new-user a.red-button {
	width: 400px;
	text-align: center;
	font-weight: bold;
}
form.new-user a.black-button {
	width: 184px;
	text-align: center;
	background-color: #aaa;
}
form.new-user a.black-button.active {
	background-color: #000;
}
form.new-user a.black-button + a.black-button {
	margin-left: 5px;
}
form.new-user select {
	width: 410px;
	padding: 3px;
}

form.new-user.new-emploee input {
	text-transform: uppercase;
}



ul.users-shops {
	list-style-type: none;
}
ul.users-shops li {
	margin: 0 0 3px 0;
}
ul.users-shops li:last-child {
	margin: 0;
}



ul.paggination {
	padding: 10px 0 0 0;
	text-align: center;
}
ul.paggination li {
	margin: 0 0 3px 0;
}
ul.paggination li a.black-button {
	background-color: #aaa;
}



a.save-link {
	position: absolute;
	top: 4px;
	right: 8px;
	text-transform: uppercase;
	display: block;
	padding: 6px 40px 6px 0;
	background: url(/img/xls.png) no-repeat right center;
	cursor: pointer;
}
a.save-link.back-link {
	background: url(/img/back.png) no-repeat right center;
}


a.print-link {
	position: absolute;
	top: 4px;
	right: 208px;
	text-transform: uppercase;
	display: block;
	padding: 6px 40px 6px 0;
	background: url(/img/printer.png) no-repeat right center;
}


table.shop-plan {
	<!--width: 555px;-->
}
table.shop-plan th:last-child,
table.shop-plan td:last-child {
	background-color: #fff !important;
	border: none;
}
table.shop-plan th:nth-child(5) {
	border-right: 1px solid #000;
	width: 130px;
}
table.shop-table.shop-plan th:last-child {
	width: auto;
}

table.shop-table th,
table.shop-table td {
	padding: 4px;
}
table.shop-table th {
	color: #fff;
	background-color: #000;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	border: 1px solid #000;
	border-right-color: #fff;
	cursor: default;
}
table.shop-table th:first-child {
	<!--width: 90px;-->
	width: auto;
}
table.shop-table th:last-child {
	border-right-color: #000;
}
table.shop-table td {
	border: 1px solid #ccc;
	background-color: #eee;
	cursor: default;
}
table.shop-table tr:nth-child(even) td {
	background-color: #fff;
}
table.shop-table td:first-child {
	text-transform: uppercase;
}
table.shop-table td.editable {
	background-image: url(/img/dot.png);
	background-repeat: no-repeat;
	background-position: right top;
	cursor: text; 
	height: 30px;
}
table.shop-table td.editable.textarea {
	height: 55px;
	vertical-align: top;
	white-space: pre-wrap;
}
table.shop-table td.edit textarea,
table.shop-table td.edit input {
	border: none;
	padding: 0;
	margin: 0;
	font-size: 14px;
	background-color: #a1be53;
	display: inline-block;
	max-width: 100%;
}
table.shop-table td.edit textarea {
	resize: none;
}
table.shop-table th.empty {
	background: #fff;
	border: none;
	width: 160px;
}

table.shop-log th {
	font-size: 10px;
	font-weight: normal;
}
table.shop-log td:first-child {
	text-align: center;
}
table.shop-table.shop-log tr td {
	background-color: #ddd;
}
table.shop-table.shop-log span.break-word {
	display: block;
	width: 92px;
	word-wrap: break-word;
}
table.shop-log tr td.editable {
	background-color: #eee;
}
table.shop-log tr:nth-child(even) td.editable {
	background-color: #fff;
}
table.shop-log tr td:first-child {
	background-color: #eee;
}
table.shop-log tr:nth-child(even) td:first-child {
	background-color: #fff;
}
table.shop-log tr td.b-none {
	border: none; 
}

table.shop-log.two tr:first-child td,
table.shop-log.three tr:first-child td {
	border-top: none;
}
.wrap-log {
	margin-right: 30px;
}

table.shop-log th:nth-child(1),
table.shop-log td:nth-child(1) {
	width: 35px;
}
table.shop-log th:nth-child(2),
table.shop-log td:nth-child(2) {
	width: 77px;
}
table.shop-log th:nth-child(3),
table.shop-log td:nth-child(3) {
	width: 77px;
}
table.shop-log th:nth-child(4),
table.shop-log td:nth-child(4) {
	width: 77px;
}
table.shop-log th:nth-child(5),
table.shop-log td:nth-child(5) {
	width: 91px;
}
table.shop-log th:nth-child(6),
table.shop-log td:nth-child(6) {
	width: 91px;
}
table.shop-log th:nth-child(7),
table.shop-log td:nth-child(7) {
	width: 51px;
}
table.shop-log th:nth-child(8),
table.shop-log td:nth-child(8) {
	width: 51px;
}
table.shop-log th:nth-child(9),
table.shop-log td:nth-child(9) {
	width: 49px;
}
table.shop-log th:nth-child(10),
table.shop-log td:nth-child(10) {
	width: 49px;
}
table.shop-log th:nth-child(11),
table.shop-log td:nth-child(11) {
	width: 41px;
}
table.shop-log th:nth-child(12),
table.shop-log td:nth-child(12) {
	width: 47px;
}
table.shop-log th:nth-child(13),
table.shop-log td:nth-child(13) {
	width: 51px;
}
table.shop-log th:nth-child(14),
table.shop-log td:nth-child(14) {
	width: 57px;
}
table.shop-log th:nth-child(15),
table.shop-log td:nth-child(15) {
	width: 59px;
}
table.shop-log th:nth-child(16),
table.shop-log td:nth-child(16) {
	width: 41px;
}
table.shop-log th:nth-child(17),
table.shop-log td:nth-child(17) {
	width: 47px;
}
table.shop-log th:nth-child(18),
table.shop-log td:nth-child(18) {
	width: 53px;
}
table.shop-log th:nth-child(19),
table.shop-log td:nth-child(19) {
	width: 100px;
}

table.shop-log tr.summary td {
	background-color: #fff !important;
	font-weight: bold;
	font-size: 12px;
	text-transform: none;
}
table.shop-log tr.summary td.b-none {
	font-weight: bold;
	font-size: 10px;
	border-left: 1px solid #fff;
}

table.shop-terms {
	width: 100%;
}



a.shops-slider {
	background: #fff url(/img/arrows-horizontal.png) no-repeat 10px center;
	display: block;
	height: 100%;
	width: 25px;
	position: absolute;
	top: 0;
	left: -30px;
	opacity: 0.4;
}
a.shops-slider:hover {
	opacity: 0.75;
}
a.shops-slider.to-right {
	left: auto;
	right: -30px;
	background-position: -20px center;
}
a.shops-slider.hidden {
	display: none;
}


.main-wrapper table.shop-table tr td.light-green {
	background-color: #d9e0cb;
}
.main-wrapper table.shop-table tr:nth-child(even) td.light-green {
	background-color: #eff6e1;
}
html body .main-wrapper table.shop-table tr td.light-green.green {
	background-color: #a1be53;
}
table.shop-table tr td.edit {
	background-color: #a1be53;
}



.v-scroll.shops,
.v-scroll.users {
	height: 445px;
}
.v-scroll.usersshops {
	height: 300px;
}
.v-scroll.log {
	height: 520px;
}


a.calculate-plan.inactive {
	opacity: 0.5;
	cursor: default;
}



.date-seects {
	margin: 0 0 20px 0;
}
ul.shop-list {
	list-style-type: none;
	margin: 0 0 20px 0;
	-moz-columns: 200px 4;
	-webkit-columns: 200px 4;
	columns: 200px 4;
}
ul.shop-list li {
	margin: 0 0 7px 0;
}
ul.shop-list li label {
	cursor: pointer;
}
ul.shop-list li input {
	position: relative;
	top: 1px;
}

label.select-all {
	display: block;
	float: right;
	cursor: pointer;
	font-weight: bold;
}
label.select-all input {
	position: relative;
	top: 1px;
}
#logtype {
	margin-bottom: 10px;
}

.importlogbutton {
	margin-bottom: 3px;
}

.calendar_item_div {
	display: inline-block;
	height: 250px;
	margin-left: 10px;
}
.calendar_item_div td {text-align:center;}
.calendar_item_div .busy {
	height: 30px;
	width: 30px;
	background: lightgreen;
	text-align: center;
	cursor: pointer;
}
.calendar_item_div .free {
	height: 30px;
	width: 30px;
	background: lightgray;
	text-align: center;
	cursor: pointer;
}

.calendar_item_div .holiday {
	height: 30px;
	width: 30px;
	background: lightgreen;
	text-align: center;
}

html body .main-wrapper table.shop-table .shoptable_holiday td {
	color: #33a136;
}

.shopratingfilter {
	margin-top: 10px;
	margin-bottom: 20px;
}

.ratingshops {
	padding-left: 10px;
}
.ratingshops table {
	border: 1px black solid;
}

.ratingshops h3 {
	margin-top: 15px;
	margin-bottom: 5px;
}

.shops .deletedshop, .shops .deletedshop a {
	color: lightgray;
}

 .main-table th, .main-table td.placechange {
	text-align: right;
 	padding-right: 20px !important;
 }
 
 .main-table tr.grey.lastloadedfile td {
	border-top: none;
 	padding-top: 0px;
 }
 
 .loadlogplace {
	margin-top: 5px;
 }
 
 .shopratingfilter .shop-rate-selectall, .shopratingfilter .shop-rate-removeall {
	cursor: pointer;
 	text-decoration: underline;
 }
 
 .lastdownloaded {
	position: absolute;
 	right: 220px;
 	margin-top: 5px;
 	
 }
 .shopfilter {
	margin-bottom: 20px;	
 }
 .shopfilter h4 {
	margin-bottom: 5px;
 }
 #settings-drop,  #settings-hide {
	cursor: pointer;
 }
 
 #mainmenu a, #mainmenu span {
	min-height: 36px;
 }
 #mainmenu .bigheight, #additionalmenu .bigheight  {
	line-height: 36px;
 }