﻿/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
	display: block;
}

audio, canvas, video {
	display: inline-block;
	*display: inline;
	*zoom: 1;
}

	audio:not([controls]) {
		display: none;
	}

[hidden] {
	display: none;
}

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-size: 13px;
	line-height: 1.231;
}

body, button, input, select, textarea {
	font-family: sans-serif;
	color: #435464;
}

a {
	color: #435464;
}

	a:visited {
		color: #435464;
	}

	a:hover {
		color: #435464;
	}

	a:focus {
		outline: thin dotted;
	}

	a:hover, a:active {
		outline: 0;
	}

abbr[title] {
	border-bottom: 1px dotted;
}

b, strong {
	font-weight: bold;
}

blockquote {
	margin: 1em 40px;
}

dfn {
	font-style: italic;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

ins {
	background: #ff9;
	color: #000;
	text-decoration: none;
}

mark {
	background: #ff0;
	color: #000;
	font-style: italic;
	font-weight: bold;
}

pre, code, kbd, samp {
	font-family: monospace, monospace;
	_font-family: 'courier new', monospace;
	font-size: 1em;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

q {
	quotes: none;
}

	q:before, q:after {
		content: "";
		content: none;
	}

small {
	font-size: 85%;
}

sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

ul, ol {
	margin: 0;
	padding: 0 0 0 40px;
}

dd {
	margin: 0 0 0 40px;
}

nav ul, nav ol {
	list-style: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
}

.navbar-nav > li > a {
	padding-top: 5px;
	padding-bottom: 5px;
}

li[role=presentation] {
	height: 25px;
}

img {
	border: 0;
	-ms-interpolation-mode: bicubic;
	vertical-align: middle;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

form {
	margin: 0;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

label {
	cursor: pointer;
}

legend {
	border: 0;
	*margin-left: -7px;
	padding: 0;
}

button, input, select, textarea {
	font-size: 100%;
	margin: 0;
	vertical-align: baseline;
	*vertical-align: middle;
}

button, input {
	line-height: normal;
	*overflow: visible;
}

table button, table input {
	*overflow: auto;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

input[type="checkbox"], input[type="radio"] {
	box-sizing: border-box;
}

input[type="search"] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

	input[type="search"]::-webkit-search-decoration {
		-webkit-appearance: none;
	}

button::-moz-focus-inner, input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
	resize: vertical;
	height: 4em;
	min-height: 4em;
}

	input:valid, textarea:valid {
	}

	input:invalid, textarea:invalid {
		background-color: #f0dddd;
	}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td {
	vertical-align: middle !important;
}

body {
	font: 16px/24px Helvetica, Helvetica Neue, Arial, sans-serif;
}

/* ===================
    ALL: Custom
   =================== */

.navbar-center * {
	text-align: center;
}

.navbar-top {
	margin: 0;
	padding: 10px 0;
	background-color: #fff;
	border: none;
	color: #435464 !important;
}

	.navbar-top ul > li {
		margin-left: 15px;
	}

html, body, #main {
	height: 100%;
}

div.mce-fullscreen {
	top: 40px !important;
}

/*.hl-wrap {
	width: 100%;
}

header.hl-wrap {
	position: fixed;
	top: 0;
	height:32px;
	z-index: 3000;
	overflow: visible;
}*/

#title, #user-info, #copyright, #company-context {
	height: 100%;
	line-height: 30px;
}

#title {
	float: left;
	padding-left: 20px;
}

#menuItems {
	text-align: right;
	padding-top: 6px;
}

#company-context {
	height: 50px;
	text-align: center;
}

	#company-context ul.dropdown-menu {
		top: 37px;
	}

	#company-context, #company-context ul.dropdown-menu {
		width: 160px;
		padding-top: 5px;
		padding-bottom: 10px;
		padding-left: 2px;
		padding-right: 2px;
	}

		#company-context ul.dropdown-menu li a {
			padding-left: 2px;
			padding-right: 2px;
		}

#user-info {
	float: right;
	padding-right: 20px;
}

div.hl-wrap {
	position: absolute;
	min-height: 100%;
}

#main > article {
	padding: 25px 5px 5px 5px;
}

footer.hl-wrap {
	position: fixed;
	bottom: 0;
	height: 32px;
	z-index: 3000;
	overflow: visible;
}

footer .navbar-text {
	height:100%;
	line-height: 30px;
}

footer .navbar-text span {
	vertical-align: middle;
}

#copyright {
	padding-left: 20px;
	font-size: .9em;
}

#company-context ul {
	width: 100%;
}

.company-remove, .company-sync {
	cursor: pointer;
	margin-left: .5em;
}

.menu-icon {
	font-size: 2em;
}

.menu-link {
	width: 98%;
	margin-bottom: 5px;
	margin-top: 5px;
	font-size: 12px;
}

#slideMenuWrap {
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

.f-nav {
	z-index: 9999;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
}

.f-nav-fix {
	margin-bottom: 40px;
}

#slideMenu ul.togle-menu {
	list-style: none;
	height: 40px;
	padding-left: 20px;
	padding-right: 20px;
	border-radius: 15px 15px 15px 15px;
	-moz-border-radius: 15px 15px 15px 15px;
	-webkit-border-radius: 15px 15px 15px 15px;
	text-align: center;
	line-height: 0;
	zoom: 1;
}

.togle-menu:after {
	width: 100%;
	height: 0px;
	visibility: hidden;
	overflow: hidden;
	content: '';
	display: inline-block;
}

.slide-menu a.active {
	text-decoration: underline;
}

li.slide-menu {
	position: relative;
	display: inline-block;
	text-align: left;
	white-space: nowrap;
}

#slideMenu .togle-menu > li > a {
	height: 40px;
	line-height: 40px;
	padding: 10px 4px;
}

#strut {
	display: inline-block;
	width: 100%;
}

.table-contractor-search {
	margin-bottom: 0px;
}

#contractorModal .modal-body {
	padding-bottom: 0;
}

div#zenbox_tab {
	position: relative;
	background-color: transparent !important;
	border-color: transparent !important;
}

#support {
	text-align: right;
}

.company-info {
	list-style-type: none;
	padding-left: 0px;
}

ul.menu-list {
	list-style-type: none;
	padding-left: 1em;
}

/*ul.menu-list > li > ul.menu-list {
		list-style-type:circle;
	}*/

dl.manager dt {
	text-align: left;
	font-weight: normal;
	font-weight: bold;
	width: 90px;
}

dl.balance dt {
	width: 190px;
}

dl.manager dd {
	margin-left: 0px;
}

#ftp {
	text-decoration: underline;
	padding-bottom: 10px;
	display: inline-block;
}

#ftp {
	text-decoration: underline;
}

.breadcrumb {
	margin-top: 10px;
	margin-bottom: 5px;
}

.navbar {
	min-height: 40px;
}

.navbar-brand {
	height: 40px;
	padding-top: 0px;
}

.logo {
	display: block;
	height: 40px;
	background-position: 0;
	background-position-x: 0px;
	background-position-y: -10px;
	background-image: url(/Content/img/logo_cityprint.png);
}

#menuBtn {
	width: 34px;
	padding-left: 5px;
	padding-right: 5px;
}

.navbar-toggle {
	margin-top: 3px;
	margin-bottom: 3px;
}

.navbar-text {
	margin: 5px 0 5px 0;
}

.navbar-item > li > a {
	text-decoration: none;
}

#pageContainer {
	min-height: 100%;
	margin-top: -110px;
	padding-top: 100px;
	padding-bottom: 40px;
}

#footer {
	margin-bottom: 0px;
	margin-top: -33px;
}

h3 {
	margin-top: 5px;
}

.form-inline .form-group {
	padding-left: 5px;
}

.form-calendar {
	max-width: 100px;
}

.form-calendar.w-time {
	float: left;
	margin-right: 10px;
}

.form-time {
	max-width: 100px;
}

.form-date {
	display: inline-block;
}

.file-name {
	text-align: center;
	height: 120px;
	line-height: 1.1em;
	padding-bottom: 20px;
	width: 160px;
	white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */
	word-wrap: break-word; /* Internet Explorer 5.5+ */
	overflow: hidden;
}

	.file-name .file-link {
		width: 160px;
	}

.file-buttons {
	text-align: center;
	margin-top: -20px;
}

.smartMonth div, .smartPeriod div, .actPeriod div {
	padding: 2px;
}

.actPeriod .selected {
	color: #fff;
	background-color: #3276b1;
	border-color: #285e8e;
}

.smartYear, .actYear {
	text-align: center;
	padding-bottom: 10px;
}

	.smartYear input, .actYear input {
		width: 4.2em !important;
		margin: 0 4px;
		display: inline-block;
	}

.mailPrev {
	font-size: 1em;
}

.panel-heading {
	padding: 5px 15px;
}

	.panel-heading .accent {
		font-weight: bold;
	}

.panel-body {
	padding: 5px 15px 15px 15px;
}

.help-block {
	margin-bottom: 0;
}

.modal-title {
	color: #555;
}

ul.balance {
	list-style-type: none;
	padding: 10px 0 0 0;
}

	ul.balance li {
		font-weight: bold;
	}

		ul.balance li span {
			white-space: nowrap;
		}

.about {
	margin-top: 30px;
	padding-left: 30px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.well {
	margin-bottom: 0;
}

.link-download {
	padding-left: 15px !important;
}

#publicLinks
{
    list-style-type: none;
	padding-left: 0;
}

#publicLinks li
{
    margin: 15px 5px;
}    

#publicLinks img
{
	height: 40px;
    vertical-align: middle;
}
#publicLinks li p
{
	font-size: .8em;
	width: 80%;
	padding: 0 0 0 10px;
	margin: 0;
	word-wrap: break-word;
    display: inline-block;
    vertical-align: middle;
	line-height: 1.2em;
}

#publicLinks a 
{
	text-decoration:underline;
}

#publicLinksContainer .loading {
	width: 100%;
	height:50px;
	background: url("/Content/img/loading.gif") center no-repeat;
	background-size:contain;
	z-index: 998;
}

/* ===================
    ALL: Grid
   =================== */

.block-item {
	display: inline-block;
	margin: 5px;
	vertical-align: top;
}

.block-container {
	display: inline-block;
	vertical-align: top;
}

.b1-1 {
	height: 80px;
	width: 300px;
}

.b2-1 {
	height: 200px;
	width: 300px;
}

.b-padd {
	padding: 10px;
}

.b-text {
	height: 100%;
	overflow: hidden;
}

.btn-tech-ops {
	top: 3px;
}
/* ===============
    ALL: IE Fixes
   =============== */

.ie7 #title {
	padding-top: 20px;
}


/* ==|== non-semantic helper classes ======================================== */
.ir {
	display: block;
	border: 0;
	text-indent: -999em;
	overflow: hidden;
	background-color: transparent;
	background-repeat: no-repeat;
	text-align: left;
	direction: ltr;
}

	.ir br {
		display: none;
	}

.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

	.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
		clip: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		position: static;
		width: auto;
	}

.invisible {
	visibility: hidden;
}

.clearfix:before, .clearfix:after {
	content: "";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	zoom: 1;
}

@-moz-keyframes spin {
	to {
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-ms-keyframes spin {
	to {
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes spin {
	to {
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-webkit-keyframes spin {
	to {
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.spin {
	-moz-animation: spin 1s linear infinite;
	-o-animation: spin 1s linear infinite;
	-webkit-animation: spin 1s linear infinite;
	animation: spin 1s linear infinite;
}

.spinner {
	display: inline-block;
	opacity: 0;
	max-width: 0;
	-webkit-transition: opacity 0.25s, max-width 0.45s;
	-moz-transition: opacity 0.25s, max-width 0.45s;
	-o-transition: opacity 0.25s, max-width 0.45s;
	transition: opacity 0.25s, max-width 0.45s; /* Duration fixed since we animate additional hidden width */
}

.has-spinner.active {
	cursor: progress;
}

	.has-spinner.active .spinner {
		opacity: 1;
		max-width: 50px; /* More than it will ever come, notice that this affects on animation duration */
	}

.material-group {
	border-top-width: 2px;
	border-top-style: solid;
}
/*Оформление заявки*/
.logo.preorder {
	width: 55px;
	display: inline-block;
}

.preorder-title {
	line-height: 40px;
	vertical-align: top;
	display: inline-block;
	margin: 0;
}

.task {
	border-bottom: 1px solid #eee;
	margin-bottom: 15px;
}

.task .progress {
	/*display: none;*/
}

.task-index {
	padding-top:34px;
	font-weight: bold;
}
	.task-index > span {
		font-size: 20px;
	}

#btnAddTask {
	position:relative;
	margin-top: -121px;
}

.overlay {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(204, 204, 204, 0.59);
    z-index: 997;
}

.overlay .loading {
	width: 100%;
	height:100%;
	background: url("/Content/img/loading.gif") center no-repeat;
	z-index: 998;
}

.pagination__length {
    margin: 20px 0;
}

/*Мобильный курьер*/

.account-item.active, .account-item:hover {
	background-color: rgba(204, 204, 204, 0.59);
}

/* ==|== media queries ====================================================== */

@media only screen and (min-width: 318px) {
	.logo, .logo.preorder {
		width: 240px;
	}

	.hl-wrap {
		width: 90%;
		margin: 0 auto;
	}

	.menu-link {
		font-size: 12px;
	}

	.smartPeriod div, .actPeriod div {
		display: inline-block;
		width: 100%;
	}

	#menuItems {
		text-align: left;
	}
}

@media only screen and (min-width: 418px) {
	.menu-link {
		font-size: 18px;
	}

	dl.manager dd {
		margin-left: 100px;
	}

	dl.manager dt {
		float: left;
	}

	.smartMonth div {
		width: 32%;
		display: inline-block;
	}

	.smartPeriod div, .actPeriod div {
		display: inline-block;
		width: 50%;
	}

	.navbar-collapse {
		overflow-x: auto;
	}
}

@media only screen and (min-width: 540px) {
	.logo {
		width: 440px;
	}
	.logo.preorder {
		width: 55px;
	}

	.task-delete {
		margin-left: 155px;
	}

	.menu-arrow {
		position: absolute;
		padding-left: 0.5em;
		top: 0.5em;
	}
}

@media only screen and (min-width: 768px) {
	.about {
		border-left: 1px solid #bbb;
	}

	.logo {
		width: 250px;
	}

	.navbar-nav > li > a {
		padding-top: 10px;
		padding-bottom: 10px;
		line-height: 23px;
	}

	#contractorName {
		width: 170px;
		text-overflow: ellipsis;
		overflow: hidden;
	}

	.navbar-item {
		border-radius: 20px 20px 20px 20px;
		-moz-border-radius: 20px 20px 20px 20px;
		-webkit-border-radius: 20px 20px 20px 20px;
		border: 1px solid rgba(67, 84, 100, .5) !important;
		background-color: #f8f8f8;
	}

		.navbar-item span {
			display: inline-block;
			margin: 0 10px;
			white-space: nowrap;
			max-width: 200px;
			text-align: center;
		}

	.menu-arrow {
		right: 0.2em;
		top: 0.35em;
		background-color: #f8f8f8;
	}

	.navbar-nav > li > a {
		height: 30px;
		padding: 3px 5px;
		color: #435464 !important;
	}

	.exit-btn {
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-decoration: underline;
	}

	.hl-wrap {
		width: 768px;
		left: 50%;
		margin-left: -384px;
	}

	.truncate {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#dropdownCompany, #dropdownCompany ul.dropdown-menu {
		width: 230px !important;
	}

	.contractorSelector::after {
		content: "";
		border: solid #2c3136;
		border-width: 0 1px 1px 0;
		display: inline-block;
		padding: 3px;
		transform: rotate(45deg);
		margin-left: 0px;
		margin-bottom: 10px;
		transition: border-color .2s ease-in-out,transform .2s ease-in-out,margin .2s ease-in-out;
	}

	#dropdownCompanySelect {
		width: 230px;
	}

		#dropdownCompanySelect li {
			margin: 5px 0px;
			padding-left: 5px;
			padding-right: 5px;
			width: 100%;
			text-align: center;
		}

			#dropdownCompanySelect li a {
				padding: 0px;
				overflow: hidden;
			}

	li.open > a {
		border-bottom: none !important;
	}

	.open #dropdownCompanySelect {
		border-radius: 0px 0px 20px 20px;
		-moz-border-radius: 0px 0px 20px 20px;
		-webkit-border-radius: 0px 0px 20px 20px;
		border: 1px solid rgba(67, 84, 100, .5);
		border-top: none;
		background-color: #e7e7e7;
		font-size: 16px;
		box-shadow: none;
	}

	.open #dropdownCompany {
		border-radius: 20px 20px 0px 0px;
		-moz-border-radius: 20px 20px 0px 0px;
		-webkit-border-radius: 20px 20px 0px 0px;
		border-bottom: none;
	}
}

@media only screen and (min-width: 992px) {
	.logo {
		width: 440px;
	}
	.logo.preorder {
		width: 273px;
	}

	#slideMenu ul.togle-menu li {
		margin-right: 15px;
		margin-left: 15px;
	}
}

@media only screen and (min-width: 1200px) {

	/* ===============
    Maximal Width
   =============== */
	#slideMenu ul.togle-menu li {
		margin-right: 20px;
		margin-left: 20px;
	}
}

/* ==|== print styles ======================================================= */

@media print {
	* {
		background: transparent !important;
		color: black !important;
		text-shadow: none !important;
		filter: none !important;
		-ms-filter: none !important;
	}

	a, a:visited {
		text-decoration: underline;
	}

		a[href]:after {
			content: " (" attr(href) ")";
		}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
		content: "";
	}

	pre, blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group;
	}

	tr, img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p, h2, h3 {
		orphans: 3;
		widows: 3;
	}

	h2, h3 {
		page-break-after: avoid;
	}
}
