body {
	font-family: 'PT Sans', Arial, sans-serif;
	font-size: 16px;
	color: #3a3a3a;
}

@media (max-width: 320px) {
	body {
		font-size: 14px;
	}
}

h1, h2, h3, h4, h5 {
	font-family: "Roboto Condensed", Arial, sans-serif;
}

h3 {
	font-size: 24px;
}

@media (max-width: 320px) {
	h3 {
		font-size: 20px;
	}
}

.sp5 {
	height: 5px;
}

.sp10 {
	height: 10px;
}

.sp20 {
	height: 20px;
}

.sp30 {
	height: 30px;
}

#upper-header {
	background-color: #f7f7f7;
	padding: 6px;
	font-family: "Roboto Condensed", Arial, sans-serif;
}

#upper-header a {
	color: #333;
	font-size: 14px;
	text-decoration: none;
}

@media (max-width: 375px) {
	#upper-header a {
		font-size: 12px;
	}

}

.appstore {
	display: block;
	margin-left: -38px;
	margin-right: auto;
	width: 330px;
}

.itunes {
	display: inline-block;
	background: url('/thm/es/img/appstore.svg');
	width: 135px;
	height: 40px;
	margin-right: 20px;
}

.googleplay {
	display: inline-block;
	background: url('/thm/es/img/googleplay.svg');
	width: 135px;
	height: 40px;
}

.page-footer-links {
	display: flex;
	justify-content: center;
}

.esia {
	margin-top: -6px;
	margin-bottom: -10px;
}
.esia_svg{
	display: block;
	background: url('/thm/es/img/esia.svg');
	width: 230px;
	height: 55px;
	margin-left: -5px;
}

.social-links {
	display: block;
	margin: 0 auto;
	list-style: none;
	padding: 0;
	text-align: right;
}

.social-links:after {
	content: "";
	display: block;
	clear: both;
}

.social-links > li a {
	display: block;
	width: 21px;
	height: 21px;
	text-decoration: none;
	background: url('/thm/es/img/sprite.png');
}

.social-links > li a:hover {
	opacity: 0.5;
}

.social-links > li {
	float: right;
	margin-left: 5px;
}

.social-links > li:last-child {
	margin-right: 0
}

.social-links > li a.facebook {
	background-position: 0 -24px
}

.social-links > li a.tweeter {
	background-position: 0 -47px
}

.social-links > li a.vk {
	background-position: 0 -72px
}

.social-links > li a.youtube {
	background-position: 0 -95px
}

.social-links > li a.lj {
	background-position: 0 -119px
}

.social-links > li a.ok {
	background-position: 0 -142px
}

.social-links > li a.tg {
	background-position: -24px -142px
}

.social-links > li a.rss {
	background-position: 0 0;
}

#header-row {
	font-family: 'Roboto Condensed', Arial, sans-serif;
	padding-top: 12px;
	padding-bottom: 10px;
}

#header-row-border div {
	border-top: 1px solid #e8e8e8;
	height: 3px;
	background: -moz-linear-gradient(top, rgba(245, 245, 245, 1) 0%, rgba(125, 185, 232, 0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(245, 245, 245, 1) 0%, rgba(125, 185, 232, 0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(245, 245, 245, 1) 0%, rgba(125, 185, 232, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#007db9e8', GradientType=0); /* IE6-9 */
	margin-bottom: 7px;
}

#top-logo a {
	padding-top: 8px;
	display: block;
	padding-left: 102px;
	min-height: 88px;
	font-weight: bold;
	font-size: 36px;
	text-decoration: none;
	color: #3a3a3a;
	line-height: 1em;
	background-image: url("/thm/es/img/logo.svg");
	background-repeat: no-repeat;
	background-position: -3px center;
	text-shadow: 1px 2px 5px #bababa;
}

@media (max-width: 991px) {
	#top-logo a {
		font-size: 34px;
	}
	.esia, .appstore{
		margin-left: auto;
	}
	.esia_svg{
		margin: 0 auto;
	}
}

@media (max-width: 767px) {
	#top-logo a {
		font-size: 32px;
		background-size: 68px;
		padding-left: 82px;
		min-height: 70px;
	}
	.esia, .appstore{
		margin-left: auto;
	}
	.esia_svg{
		margin: 0 auto;
	}
}

@media (max-width: 413px) {
	#top-logo a {
		padding-top: 0;
		font-size: 26px;
		background-size: 50px;
		padding-left: 60px;
		min-height: 50px;
	}
}

#header-row #auth-info {
	text-align: right;
}

#header-row #login-options > li > a {
	color: #333;
	background-repeat: no-repeat;
	background-position: 0 center;
	padding-top: 10px;
	padding-bottom: 10px;
	display: inline-block;
}

#header-row #login-options > li > a:hover {
	color: #000;
}

#header-row #login-options > li {
	margin-left: 15px;
	vertical-align: middle;
}

#header-row #login-options > li > a,
#header-row #login-options > li > a,
a.all-services {
	color: #333;
	background-repeat: no-repeat;
	background-position: 0 center;
	padding-left: 32px;
}

#header-row #login-options #login-link a {
	background-image: url("/thm/es/img/login.png");
}

#header-row #login-options #login-link a:hover {
	background-image: url("/thm/es/img/login_act.png");
}

#header-row #login-options #logout-link > a {
	background-image: url("/thm/es/img/logout.png");
}

#header-row #login-options #logout-link > a:hover {
	background-image: url("/thm/es/img/logout_act.png");
}

#header-row #login-options #register-link > a {
	background-image: url("/thm/es/img/plus.png");
}

#header-row #login-options #register-link > a:hover {
	background-image: url("/thm/es/img/plus_act.png");
}

#header-row #login-options #profile-link > a {
	background-image: url("/thm/es/img/profile.png");
}

#header-row #login-options #profile-link > a:hover {
	background-image: url("/thm/es/img/profile_act.png");
}

#header-row #login-options #org-profile-link > a {
	background-image: url("/thm/es/img/briefcase.png");
}

#header-row #login-options #org-profile-link > a:hover {
	background-image: url("/thm/es/img/briefcase_act.png");
}

#header-row #login-options #history-link > a {
	background-image: url("/thm/es/img/history.png");
}

#header-row #login-options #history-link > a:hover {
	background-image: url("/thm/es/img/history_act.png");
}

a.all-services {
	background-image: url("/thm/es/img/all_services.png");
	float: right;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: 12px;
	margin-left: 50px;
}

a.all-services:hover {
	background-image: url("/thm/es/img/all_services_act.png");
}

.page-title {
	margin: 15px 0;
	font-size: 32px;
}

.page-subheader {
	font-size: 24px;
}

@media (max-width: 320px) {
	.page-title {
		margin: 10px 0;
		font-size: 26px;
	}

	.page-subheader {
		font-size: 18px;
	}
}

.required:after {
	content: ' *';
	color: red;
}

.footer-row {
	margin-top: 20px;
	margin-bottom: 20px;
}

.footer-row.inner-page {
	padding-top: 5px;
	border-top: 1px solid #e8e8e8;
}

.footer-row p {
	text-align: center;
	font-size: 12px;
}

/* FORMS */

.form-control {
	height: auto;
}
.form-control,
.btn {
	font-size: 16px;
}

.btn-sm {
	font-size: 14px;
	padding: 2px 6px;
}

.btn-lg {
	font-size: 24px;
}

input[disabled] {
	color: #6b6b6b;
}

.has-feedback .form-control {
	padding-right: 36px;
}

.has-feedback .glyphicon-lock {
	color: #8e8e8e;
}

.has-feedback label ~ .form-control-feedback {
	top: 27px;
}

.checkbox {
	margin-left: 15px;
}

.checkbox.disabled label {
	color: rgb(189, 189, 189);
}

#main-block {
	margin-bottom: 2em;
}

.panel,
.panel-group-lists > .panel {
	border: 1px solid #e1e1e3;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.panel-group-lists > .panel > .panel-heading {
	background-color: #fff;
}

.panel-group-lists > .panel:not(:first-child) {
	border-top: 0;
}

.panel-group-lists > .panel:last-child {
	border-bottom: 1px solid #e1e1e3;
}

.panel-group-lists > .panel > .panel-heading + .panel-collapse .panel-body {
	border-color: #e1e1e3;
}

.panel-title {
	font-size: 18px;
}

.panel-group .panel-margin-bottom {
	margin-bottom: 1em;
}

.panel-group .panel-margin-bottom:last-child {
	margin-bottom: 0;
}

.panel-body > .form-group:last-child {
	margin-bottom: 0;
}

.btn-margin-top {
	margin-top: 1em;
}

.margin-bottom {
	margin-bottom: 1em;
}

ul.with-vertical-spacing li {
	margin-bottom: 0.5em;
}

ul.with-vertical-spacing li:last-child {
	margin-bottom: 0;
}

.ajax-loading {
	font-size: 13px;
	font-weight: bold;
	color: #989898;
	padding-top: 12px;
	padding-left: 36px;
	height: 40px;
	background: url('/thm/es/img/ajax-loader.gif') no-repeat left center;
}

.btn-ajax-loader {
	background-repeat: no-repeat;
	background-position: center center;
}

.btn.btn-ajax-loader {
	background-image: url('/thm/es/img/ajax-loader-btn.gif');
}

div[class^="col-"] > .ajax-loading {
	margin-top: 22px;
}

.auth-main {
	float: right;
	margin-top: -44px;
}

.text-danger {
	color: #da4453
}

.printForm > .panel-body {
	font-family: "Times New Roman", Times, serif;
	font-size: 16px;
	width: 21cm;
	margin: 0 auto;
}

.printForm > .panel-body td {
	border: 1px solid black;
	padding: 5px;
}

.printForm .fieldTable {
	width: 100%;
	margin-bottom: 1em;
}

.printForm .fieldTable td {
	border: none;
	padding: 0 5px;
}

.printForm .fieldTable .fieldTable-hint {
	font-size: 12px;
	font-style: italic;
	text-align: center;
}

.printForm .fieldTable .fieldTable-lines {
	text-align: justify;
	border-bottom: 1px black solid;
	height: 25px;
}

.printForm .fieldTable .fieldTable-firstline {
	text-align: center;
	border-bottom: 1px black solid;
	width: 99%;
	white-space: nowrap;
	height: 22px;
}

.printForm .fieldTable .fieldTable-title {
	white-space: nowrap;
	width: 1%;
}

.printForm .field {
	display: inline-block;
	border-bottom: 1px solid black;
	text-align: center;
}

.printForm .page-break {
	page-break-after: always;
}

.printForm .inlineField .underlined {
	display: inline-block;
	padding: 0 5px 0px;
	border-bottom: 1px black solid;
}

#ticket {
	width: 100%;
	display: inline-block;
}

#ticket .ticket__header {
	text-align: center;
	margin-bottom: 2em;
}

#ticket .ticket__title {
	text-align: center;
	margin-bottom: 2em;
	font-weight: bold;
}

#ticket .row {
	margin-bottom: 1em;
}

.dashed, .dashed:hover, .dashed:focus {
	border-bottom: 1px dashed;
	text-decoration: none;
}

.filledTextarea {
	min-height: 55px;
	border: 1px solid #aab2bd;
	padding: 6px 12px;
	border-radius: 4px;
	height: auto;
	cursor: pointer;
}

.filledTextarea.disabled {
	cursor: default;
	background-color: #f1f1f1;
	border-color: #e6e9ed;
}

.has-error .filledTextarea, .has-error .toggle-button .btn {
	border-color: #da4453 !important;
}

.filledTextarea:not(.disabled) .glyphicon {
	cursor: pointer;
}

.filledTextarea:hover:not(.disabled) .glyphicon-pencil {
	color: #3bafda;
}

a .glyphicon-pencil {
	color: #3a3a3a;
}

a .glyphicon-pencil:hover {
	color: #3bafda;
}

.sub-form .control-label {
	font-weight: 400;
	text-align: left;
}

.control-label {
	text-align: right;
}

@media (max-width: 767px) {
	.control-label {
		text-align: left;
	}
}

.clear-field {
	font-size: 13px;
	padding: 0;
}

.clear-field:hover, .clear-field:active {
	text-decoration: none;
	border-bottom: 1px dashed;
	font-size: 13px;
}

.dropdown-menu {
	background-color: #fff;
	border: 1px solid #ccc;
}

.dropdown-menu li a {
	color: #333;
}

.modal-body {
	padding: 15px;
}

.form-control.disabled, .form-control[disabled] {
	background-color: #f1f1f1;
	border-color: #e6e9ed;
}

.fullWidth-label {
	padding-left: 4em;
	text-align: left;
}

@media (max-width: 768px) {
	.fullWidth-label {
		padding-left: 1em;
	}
}

.radio > * {
	font-weight: 500;
}

.radio {
	font-weight: normal;
}

.radio.disabled label {
	color: rgb(189, 189, 189);
}

.uspn-share {
	width: 38px;
	font-size: 13px;
	text-align: center;
}

.centered {
	text-align: center;
	vertical-align: middle !important;
}

.table-responsive > .table {
	min-width: 768px;
}

.table-responsive > .table > tbody > tr > td,
.table-responsive > .table > tbody > tr > th,
.table-responsive > .table > tfoot > tr > td,
.table-responsive > .table > tfoot > tr > th,
.table-responsive > .table > thead > tr > td,
.table-responsive > .table > thead > tr > th {
	white-space: normal;
}

.form-comment {
	font-size: 90%;
	font-style: italic;
	padding: 1px 4px;
}

.captcha-container {
	display: inline-block;
	margin-left: 1em;
}

.popover {
	max-width: 750px;
}

.pager li > a, .pager li > span {
	border-radius: 4px;
	text-decoration: none;
	background-color: #fff;
	border-color: #aab2bd;
	color: #434a54;
}

.pager li > a:hover, .pager li > span:hover, .pager li > a:active, .pager li > span:active, .pager li > a:focus, .pager li > span:focus {
	background-color: #ccd1d9;
	border-color: #aab2bd;
}

.label-new-service {
	font-size: 65%;
	margin-left: 0.5em;
	padding: 0.1em 0.5em;
}

a[role='tab'] {
	cursor: pointer;
}

.resultContainer {
	margin-top: 20px;
	line-height: 30px;
}

.resultContainer span {
	display: inline-block;
}

.resultContainer .glyphicon {
	float: left;
	font-size: 30px;
	margin-right: 10px;
}

.resultContainer .glyphicon.glyphicon-ok-circle {
	color: #4caf50;
}

.resultContainer .glyphicon.glyphicon-remove-circle {
	color: #e57373;
}

.resultContainer .glyphicon.glyphicon-exclamation-sign {
	color: #ffb300;
}

.alert-glyph {
	color: inherit;
	background-color: white;
	border-width: 1px;
	border-style: solid;
	min-height: 70px;
}

.alert-glyph > .glyphicon {
	font-size: 40px;
	float: left;
	display: inline-block;
	padding: 0 25px 0 5px;
}

.alert-info > .glyphicon {
	color: #4fc1e9;
}

.alert-danger > .glyphicon {
	color: #ed5565;
}

.alert-warning > .glyphicon {
	color: #ffce54;
}

.alert-success > .glyphicon {
	color: #a0d468;
}

@media (min-width: 768px) {
	#alertsContainer, #notification-container {
		position: fixed;
		bottom: 0;
		right: 0;
		width: 400px;
		padding: 5px;
		z-index: 10000;
	}
}

/* loader */
@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-moz-keyframes spin {
	0% {
		-moz-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-moz-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.loading {
	-webkit-border-radius: 50%;
	border-radius: 50%;
	width: 16px;
	display: inline-block;
	height: 16px;
	border: 0.25rem solid rgba(255, 255, 255, 0.2);
	border-top-color: white;
	-webkit-animation: spin 1s infinite linear;
	-moz-animation: spin 1s infinite linear;
	animation: spin 1s infinite linear;
}

.arrow-bottom:before {
	content: "»";
	display: inline-block;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	transform: rotate(-90deg);
	margin-left: 0;
}

.arrow-top:before {
	content: "»";
	display: inline-block;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
	margin-left: 5px;
}

.pdf-list {
	padding-left: 12px;
}

.pdf-list li {
	background: url('/thm/es/img/pdf_icon.gif') no-repeat left;
	padding: 2px 0 2px 22px;
	list-style: none;
}

.pdf-list li.zip {
	background-image: url('/thm/es/img/zip_icon.png');
}

@media (max-width: 768px) {
	.toggle-button .btn {
		width: 100%;
		margin-bottom: 3px;
		border-radius: 4px !important;
	}
}

.form-group.has-error {
	margin-bottom: 0;
}

.help-block {
	font-size: 14px;
	margin-top: 0;
	margin-bottom: 0;
}

.autocomplete-suggestions {
	text-align: left;
	cursor: default;
	border: 1px solid #CCCCCC;
	border-top: 0;
	background: #FFFFFF;
	-webkit-box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.1);
	box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.1);
	/* core styles should not be changed */
	position: absolute;
	width: 100%;
	z-index: 9999;
	max-height: 254px;
	overflow: hidden;
	overflow-y: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; }

.autocomplete-suggestion {
	position: relative;
	padding-left: 16px;
	padding-right: 16px;
	line-height: 34px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 13px;
	font-weight: normal;
	cursor: pointer; }
.autocomplete-suggestion.hint {
	color: #BDBDBD}
.autocomplete-suggestion.hover {
	background: #F6F7F9; }
.autocomplete-suggestion .avatar {
	width: 24px;
	height: 24px;
	overflow: hidden;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	margin-right: 8px;
	float: left;
	margin-top: 5px;
	background-color: #8D6E63; }
.autocomplete-suggestion .avatar > img {
	width: 100%;
	height: 100%; }
.autocomplete-suggestion .stage {
	color: #7D868F; }

.table.component-has-error {
	border-color: #da4453;
	margin-bottom: 0;
}

.table.component-has-error th:first-of-type,
.table.component-has-error td:first-of-type {
	border-left-color: #da4453;
}

.table.component-has-error th:last-of-type,
.table.component-has-error td:last-of-type {
	border-right-color: #da4453;
}

.table.component-has-error tr:last-child td {
	border-bottom-color: #da4453;
}

.modal-backdrop {
	z-index: 1050;
}

.alert-warning .table th,
.alert-warning .table td {
	border-color: #8a6d3b;
}

.fogv-mainpage-widget {
	margin-bottom: 20px;
	border: 1px solid #e8e8e8;
	padding: 15px;
	background: #FAFAFA;
}
.fogv-mainpage-widget .widget-header {
	margin-bottom: 20px;
}
.fogv-mainpage-widget .widget-header h2 {
	font-size: 28px;
	margin: 0;
	line-height: 20px;
}
.fogv-mainpage-widget .widget-header a {
	line-height: 20px;
}

.has-error .select-container-component > div {
	border-color: #da4453;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.has-warning .select-container-component > div {
	border-color: #fb8c00;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.text-warning {
	color: #fb8c00;
}

.loading-spinner {
	display: inline-block;
	height: 2rem;
	width: 2rem;
	text-align: center;
	background: url(../img/spinner.svg) no-repeat center;
	background-size: contain;
}

.text-bold {
	font-weight: bold;
}


input.hide-spins::-webkit-outer-spin-button,
input.hide-spins::-webkit-inner-spin-button {
	/* display: none; <- Crashes Chrome on hover */
	-webkit-appearance: none;
	margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number].hide-spins {
	-moz-appearance:textfield; /* Firefox */
}