#schools-page td.edit a,
#schools-page td.activation a{
	display: inline-block;
	height: 17px;
	background: url('/i/edi_picts.png');
}

#schools-page td.edit a{
	width: 17px;
	background-position: 0 17px;
}

#schools-page td.activation a.deactivate{
	width: 17px;
	background-position:  -17px 17px;
}

#schools-page td.activation a.activate{
	width: 25px;
	background-position: -32px 17px;
}

.relative{
	position: relative;
}

.full-title,
.school-info-block{
	margin-bottom: 30px;
}

.open-document{
	display: inline-block;
	height: 20px;
	width: 20px;
	line-height: 20px;
	background: url(/f/1/global/document_black.png) no-repeat;
	background-size: contain;
}

.gray{
	color: #999;
}

.sample,
.disabled {
	display: none!important;
}

.left {
	float: left;
}

.right {
	float: right;
}

table{
	font-size: 100%;
}




/* Это было нужно при непрокручивающейся шапке
** Сейчас шапка прокручивается, и padding не нужен
*/
.content_inner {
/*	padding-top: 200px;*/
}

.col_extra {
	padding-bottom: 3em;
/*	display: none;*/
}

.image_container {
	display: inline-block;
	text-align: center;
}

.image_container img {
	vertical-align: middle;
}

#ctrl_panel,
#admin_panel {
	font-size: 13px;
}

#ctrl_panel,
#admin_panel {
	/*width: 100%;*/
	width: 180px;
	padding: 1em 1em .7em;
	background: #C9F1FF;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	-khtml-border-radius: 7px;
	border-radius: 7px;
	margin-bottom: 1em;
}


div.add_links {
	margin-bottom: 1.2em;
}

.for_ctrl,
.for_add_ctrl {
	margin-bottom: .3em;
}

#ctrl_panel .for_add_ctrl,
#admin_panel .for_add_ctrl {
	width: 90%;
	margin-left: 10%;
	display: none;
}

#ctrl_panel .for_sub_add_ctrl,
#admin_panel .for_sub_add_ctrl {
	display: none;
}

#ctrl_panel a.checked,
#admin_panel a.checked {
	color: #000;
	border-bottom: none!important;
}

#ctrl_panel .disabled,
#admin_panel .disabled {
	display: none;
}

#ctrl_panel input[type="text"],
#admin_panel input[type="text"] {
	width: 80%;
	height: 12px;
	font-size: 12px;
	margin: .2em 0 .3em;
}

#admin_panel #agent_report input[type="text"]{
	font-size: 11px;
}

#admin_panel #agent_report input.not_valid{
	background-color: #FFABAB;
}

#admin_panel #agent_report a{
	font-size: 18px;
	line-height: 11px;
	font-weight: bold;
	color: #000;
	text-decoration: underline;
	display: inline-block;
	padding: 0 0 0 8px;
	border: none;
}

div.direct {
	position: absolute;
	margin-left: -25px;
	width: 20px;
	height: 20px;
	background: url(/f/1/global/closed-lock.png) no-repeat;
	background-size: 13px;
}

#ctrl_revision input{
	display: none;
}

#ctrl_revision label{
	margin-bottom: 0.3em;
}

#ctrl_revision span{
	color: #44546A;
	cursor: pointer;
}

#ctrl_revision span:hover{
	color: red;
}

#ctrl_revision a.with_close_red{
	color: #000;
	border: none;
}


a.with_checkbox.checked,
span.with_close_red {
	display: block;
	padding-right: 16px;
	background: url(/f/1/global/cross-red.png) no-repeat;
	background-size: 12px;
	background-position: right;
}

.for_ctrl.disabled,
.for_ctrl input[type="checkbox"],
div.for_file_link.disabled {
	display: none;
}

#publication_info{
	border: dashed red 1px;
	padding: 5px;
}

.preloader {
	position: relative;
	width: 25px;
	height: 25px;
	background-image: url(/f/1/mainpage/preloader.gif);
/*	margin: 15px 0 10px 0;*/
	margin: 0;
	z-index: 99;
}

#coach-block,
#athlete-block,
#team-block {
	margin-top: 40px;
}

table#team-list{
	min-width: 60%;
}

table#team-list th{
	font-weight: normal;
}

table#athlete-list,
table#coach-list {
	margin: 0 0 4px 0;
}

table#athlete-list .inactive,
table#coach-list .inactive {
	color: #999;
}

table#athlete-list .license-icon{
	position: absolute;
	left: -21px;
	width: 19px;
	height: 26px;
	background: url(/i/gold-medal.png) no-repeat;
	background-size: 16px auto;
	-webkit-background-size: 16px auto;
	-o-background-size: 16px auto;
	-moz-background-size: 16px auto;
}

table#athlete-list .gender.n2 {
	color: #4867AF;
	font-weight: bold;
}

table#athlete-list .gender.n1 {
	color: #F16624;
	font-weight: bold;
}

table#athlete-list .without-coach,
table#athlete-list .without-coach .gender {
	color: #999;
	font-weight: normal;
}

table#athlete-list .without-coach .coach-print {
	color: red;
}

table#athlete-list tr.empty_tr td {
	height: 30px;
}

table#coach-list tr.empty_tr:last-child,
table#athlete-list tr.empty_tr:last-child {
	display: none;
}

table#team-list td.logo,
table#coach-list td.logo,
table#athlete-list td.logo{
	width: 20px;
	padding: 0;
	vertical-align: middle;
}

table#team-list td.logo img,
table#coach-list td.logo img,
table#athlete-list td.logo img{
	width: 18px;
	height: 18px;
}

.add_link_box {
	color: #bbb;
	margin: 4px 0;
	cursor: pointer;
}

.add_link_box a {
	display: inline-block;
	margin-right: 10px;
	width: 18px;
	height: 18px;
	background: url(/f/1/global/meanicons_25.png) no-repeat;
	background-size: 18px;
	text-decoration: none;
	border: none;
}

.add_link_box a.disabled {
	display: inline-block;
	opacity: 0.3;
}

.add_link_box span{
	display: inline-block;
	position: relative;
	top: -6px;
	color: #44546A;
}


td.edit a,
td.activation a {
	visibility: hidden;
}

tr:hover td.edit a,
tr:hover td.activation a {
	visibility: visible;
}

table td {
	padding: 0.3em 0.3em;
}

table td p {
	margin: 0;
}

.school-person-form .table-field {
	width: 100%;
}

.school-person-form .table-field .for_text {
	width: 400px;
}

.school-person-form .table-field .for_text .name {
	margin-right: 4px;
}

.school-person-form .table-field .for_text .birthday-small {
	margin-left: 4px;
}

.school-person-form .table-field input,
.school-person-form .table-field select {
	margin: 0 0 5px 0;
}

.school-person-form .table-field.full_input input {
	width: 396px;
}

.school-person-form .table-field.full_input textarea {
	width: 396px;
	height: 50px;
}

.school-person-form .table-field.full_input select {
	width: 400px;
}

.school-person-form .table-field .gender_box {
	display: inline-block;
	margin: 0 4px;
}

.school-person-form .table-field .gender_box label {
	display: inline-block;
}

.school-person-form .table-field .gender_box input {
	display: none;
}

.school-person-form .table-field .gender_box input + span {
	width: 43px;
	padding: 5px 6px;
	color: #999;
	border: none;
	text-decoration: none;
}

.school-person-form .table-field .gender_box input:checked + span {
	color: #000;
}

.school-person-form .table-field.two_inputs input,
.school-person-form .table-field.two_inputs select {
	width: 186px;
}

.school-person-form .table-field.two_inputs input:first-child {
	width: 196px;
	margin-right: 10px;
}

.school-person-form .table-field input.birthday-small {
	width: 100px;
}

.school-person-form select.empty,
.school-person-form select option.empty {
	color: #999;
}

.school-person-form select option {
	color: #000;
}

#schools-page .school-person-form div.submit {
	width: 100%;
}

#schools-page .school-person-form .submit a.submit {
	display: inline-block;
	padding: 0 18px;
}

#schools-page .coach-form .submit a.cansel {
	display: inline-block;
	position: relative;
	left: 100%;
	top: 4px;
	margin-left: -50px;
}

#schools-page .athlete-form .submit a.cansel {
	display: inline-block;
	position: relative;
	left: 100%;
	top: 4px;
	margin-left: -200px;
}

#schools-page .team-form .submit a.cansel {
	display: inline-block;
	position: relative;
	left: 100%;
	top: 4px;
	margin-left: -200px;
}

.team-form table{
	width: 430px;
	margin-bottom: 0;
}

.team-form table td.position{
	width: 15px;
}

.team-form table td.delete{
	vertical-align: middle;
	width: 25px;
}

.team-form table input{
	width: 100%;
}

.team-form .team-logo{
	margin-bottom: 15px;
}

.team-form .team-logo input{
	display: none;
}

.team-form .logo-conteiner{
	width: 100px;
	height: 100px;
	padding: 0;
	background-color: #F3F2F1;
	overflow: hidden;
}


.team-form .logo-conteiner img{
	display: block;
	margin: 0;
	padding: 0;
}

.team-form .logo-conteiner img.invisible-temp{
	visibility: hidden;
}

.team-form .logo-conteiner img + p{
	display: none;
}

.team-form .logo-conteiner p{
	text-align: center;
	color: #fff;
	padding-top: 30px;
}


fieldset{
	border: none;
}


form .not_invalid input,
form input.not_valid,
form .not_valid select,
form select.not_valid,
form .not_valid textarea,
form textarea.not_valid,
form div.not_valid {
	background: #f99 !important;
}


.link-return{
	margin-bottom: 25px;
}


.license-pay-block{
	float: right;
}

.license-pay-block .button{
	padding: 0 8px;
}

.license-pay-info{
	font-weight: bold;
	text-align: right;
	font-size: 12px;
	line-height: 12px;
	margin-top: -4px;
}


.license-control input{
	display: none;
}

.license-pay-choice{
	width: 19px;
	height: 25px;
	cursor: pointer;
	background: url(/i/pay_bags.png);
}

.license-control input + .license-pay-choice{
	background-position: -19px 0;
}

.license-control input:checked + .license-pay-choice{
	background-position: 0 0;
}

#athlete-state{
	margin-left: 30px;
}

#athlete-state-icon{
	float: left;
}

#athlete-state .license-stat-iton{
	display: inline-block;
	margin-right: 2px;
	width: 10px;
	height: 13px;
	line-height: 13px;
	background: url(/i/gold-medal.png) no-repeat;
	background-size: 10px auto;
	-webkit-background-size: 10px auto;
	-o-background-size: 10px auto;
	-moz-background-size: 10px auto;
}


.alert_voile,
.pubpopup_voile,
.licensepopup_voile {
	background-color: rgba(0,0,0,0.6);
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
}

.alert_voile .alert_win,
.pubpopup_voile .pubpopup_win,
.licensepopup_voile .licensepopup_win{
	background: #fff;
	border-radius: 15px;
	/*position: absolute;
	left: 30%;
	top: 30%;*/
	margin: 140px auto 0 auto;
	width: 600px;
	padding: 20px;
	text-align: center;
}

.alert_voile .alert_win{
	height: 150px;
}

.pubpopup_voile .pubpopup_win{
	height: 240px;
}

.licensepopup_voile .licensepopup_win{
	height: 100px;
}

.alert_voile .alert_win p{
	margin-bottom: 20px;
}

.pubpopup_voile h2{
	font-size: 120%;
}

.licensepopup_voile .licensepopup_win p{
	margin: 20px 0;
}

.licensepopup_voile .licensepopup_win span.baggray{
	display: inline-block;
	width: 19px;
	height: 25px;
	background: url(/i/pay_bags.png);
	background-position: -19px 0;
	margin-left: 6px;
	margin-bottom: -6px;
}

.pubpopup_voile textarea{
	width: 80%;
	height: 100px;
	resize: none;
}

.alert_voile .alert_buttons{
	margin-right: -60px;
}


.pubpopup_voile .pubpopup_buttons{
	position: relative;
}

.pubpopup_voile .pubpopup_buttons a.cancel{
	display: block;
	position: absolute;
	right: 50px;
	top: 5px;
}

.alert_voile .button,
.pubpopup_voile .button,
.licensepopup_voile .button{
	width: 140px;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	position: relative;
	padding: 5px 10px;
	margin-right: 10px;
	display: inline-block;
	vertical-align: middle;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
	color: #fff;
	overflow: hidden;
}

.alert_voile .button.orange_button,
.pubpopup_voile .button.orange_button,
.licensepopup_voile .button.orange_button{
	background: #ff7a24;
	cursor: pointer;
}


.alert_voile .button.gray_button,
.pubpopup_voile .button.gray_button{
	background: #ccc;
	cursor: default;
}


.alert_voile .button:hover,
.pubpopup_voile .button:hover,
.licensepopup_voile .button:hover{
	color: #fff!important;
}


.list-for-select{
	display: none;
}