
body {
	background-color: white;
}
BODY, P, DIV, TD  { font-family: Arial, Verdana, sans-serif; }

H1 {font-weight: bold; font-size: 105%; text-align: center; }
.H1 {
  max-width:50em;
  margin:0px auto;
  text-align: center;
}
.new_H1 {
  text-align: center;
  font-weight: normal; font-style: italic; font-size: 79%; 
  max-width:50em;
  margin:0px auto;
}

.hyphens, .cke_editable {
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

img {
    /* TODO: http://rusk.ru/st.php?idar=75010 */
    /* max-width: 100%; */
    text-indent: initial;
}


H2 {font-weight: bold; text-align: center; }
H3 {font-style: italic; font-weight: bold; text-align: center; }

A { color: #000000; text-decoration: underline; }
A:hover { color: #0079CC; text-decoration: underline; }
A.bluelink { color: #0079CC; text-decoration: underline; }

.name:link,.name:visited { color: #000000; text-decoration: none;}
.name:active,.name:hover{color: #0079CC; text-decoration: underline;}

#tooltip{
background:#FFFFFF;
border:1px solid #666666;
color:#333333;
font:menu;
margin:0px;
padding:3px 5px;
position:absolute;
visibility:hidden
}

acronym {
border-bottom:1px dotted #333333;
cursor:help
}

.index_subname {
  font-size:90%;
  text-decoration: none;
  font-style: italic;
}

.index_date {

font-family: 'Trebuchet MS', Arial, sans-serif;
font-size: 18px; 
color: #203353;
text-decoration: none;

}

.index_date:hover {
font-size: 18px; 
color: #0079CC;
text-decoration: none;


}



.field{border:#999999 1px solid;font-size:13px;font-weight:lighter;color:#000000;
font-family:"verdana";background-color:#f1f1f2;width: 96px;}

.field2{border:#999999 1px solid;font-size:13px;font-weight:lighter;color:#000000;
font-family:"verdana";background-color:#f1f1f2;width: 60px;}

.button{border:#999999 2px solid;font-size:13px;font-weight:lighter;color:#000000;
font-family:"verdana";background-color:#f1f1f2;width: 28px;height: 22px;}

.input_field{border:#999999 1px solid;font-size:13px;color:#000000;
font-family:"verdana";background-color:#f1f1f2;width: 165px;height: 22px;}


.author { color: #000000; text-decoration: none; }  

.author:hover { color: #0079CC; text-decoration: underline; }

.ablack { color: #000000; text-decoration: none; }  

.ablack:hover { color: #0079CC; text-decoration: underline; }

.ared { color: red; text-decoration: none;}

.ablack2 { color: #000000; text-decoration: none; }  

.ablack2:hover { color: #0079CC; text-decoration: none; }

.author2 { color: gray; text-decoration: underline; }  

.author2:hover { color: #0079CC; text-decoration: underline; }

.author3 { color: gray; text-decoration: none; }  

.author3:hover { color: #0079CC; text-decoration: underline; }


.pressa_button{border:#999999 1px solid;font-size:13px;font-weight:lighter;color:#000000;
font-family:"verdana";background-color:#f1f1f2;width: 240px;height: 22px;}

.pressa_field{border:#999999 1px solid;font-size:12px;font-weight:lighter;color:#000000;
font-family:"verdana";background-color:#f1f1f2;width: 240px;height: 22px;}

.pressa_button2{border:#999999 1px solid;font-size:13px;font-weight:lighter;color:#000000;
font-family:"verdana";background-color:#f1f1f2;width: 240px;height: 20px;}

.news_input_field1{border:#999999 1px solid;font-size:13px;color:#000000;
font-family:"verdana";background-color:#f1f1f2;width: 300px;height: 22px;}

.news_input_button{border:#999999 1px solid;font-size:13px;font-weight:bold;color:#000000;
font-family:"verdana";background-color:#f1f1f2;width: 100px;height: 22px;}

.news_reset_button{border:#999999 1px solid;font-size:13px;font-weight:bold;color:#000000;
font-family:"verdana";background-color:#f1f1f2;width: 400px;height: 22px;}

.news_input_field{border:#999999 1px solid;font-size:13px;color:#000000;
font-family:"verdana";background-color:#f1f1f2;}

/* Формат текста статей */
/* С жёсткой шириной */
div.text, .cke_editable {
  width: 95%;
  text-indent: 2em;
  text-align:justify;
  margin:0px auto;
  max-width:50em;
  line-height: 1.3;
}

div.text p, .cke_editable p {
  margin-bottom: 0ex;
  margin-top: 0.5ex;
}

div.text p verse, .cke_editable p verse {
  margin-bottom: 0ex;
  margin-top: 0.5ex;
  text-indent: 0em;
}


/* Без жёсткой ширины */
div.freetext {
  text-indent: 2em;
  text-align:justify;
  margin:0px auto;
  max-width:50em;
  line-height: 1.3;
}

div.freetext p {
  margin-bottom: 0ex;
  margin-top: 0.8ex;
}

/*
p img {
  text-indent: 0em;
  display: block;
}
*/

.img-wrapper {
  /* border: 1px solid #DDD; */

  margin: 10px;

  text-indent: initial;
}

.post_thumbnail, .post_img, .cke_editable img {
    padding: 4px;
    background: white;
    margin: 4px 10px;
}

.post_thumbnail.cursor_default {
  cursor: default;
}

.img-caption {
    text-align: center;
    font-size: 75%;
    font-style: italic;
    color: #555;
    white-space: pre-wrap;
    text-indent: initial;
    word-wrap: break-word;
    padding: 0px;
    width: 100%;
    line-height: 1em;
    margin-bottom: 5px;
}

ul.colnews {
  padding: 0; /* Убираем поля */
  margin-left: 10px; /* Отступ слева */
  /*margin-left: 17px;*/ /* Отступ слева */
  margin-top: 0;
  /*-webkit-margin-before: 0; */
  /*list-style-position: outside;*/
  /*list-style-type: none;*/
}

ul.newsline {
  padding: 0; /* Убираем поля */
  margin-left: 0px; /* Отступ слева */
  margin-top: 0;
  /*-webkit-margin-before: 0; */
  list-style-type: none;
}

ul.colnews p {
  margin-top: 2px;
  text-align: left;
  font-size: 16px;
}

ul.newsline p {
  margin-top: 2px;
  text-align: left;
}

ul.colnews a {
  text-decoration: none;
}

ul.colnews a:hover {
  color: #0079CC;
  text-decoration: none;
}

/*
ul.colnews li p a span {
  text-decoration: none;
}

ul.colnews li p a span:hover {
  color: #0079CC;
  text-decoration: none;
}

span.index_subname {
  font-size:90%;
  text-decoration: none;
  font-style: italic;
}*/


.colnews li {
	font-size: 11px;
}

ul.colnews li p span {
	position: relative;
	top: 0.1em;
}



/* Для календаря */
table.caltable tr td span {
  color: black;
  font-family: verdana, sans-serif;
  font-size: 14px;
}

table.caltable tr td{
  width: 30px;
  text-align: right;
}
#mask {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 998;
	background: rgba(0, 0, 0, 0.3);
	top: 0;
	left: 0;
}

#fullImg {
	box-shadow: 0 0 10px white;
	-o-box-shadow: 0 0 10px white;
	-moz-box-shadow: 0 0 10px white;
	-webkit-box-shadow: 0 0 10px white;
  max-width: none;
}

#altImg {
	text-align: center;
	font-size: 22px;
	color: white;
	font-weight: bold;
	margin-top: 20px;
	text-shadow: 2px 2px 10px black;
	-o-text-shadow: 2px 2px 10px black;
	-moz-text-shadow: 2px 2px 10px black;
	-webkit-text-shadow: 2px 2px 10px black;

    word-wrap: break-word;
}

#imgClose {
	position: absolute;
	height: 30px;
	width: 30px;
	background: url('/img/fancy_closebox.png') top left no-repeat;
	cursor: pointer;
}

.imgContainer {
	position: fixed;
	z-index: 999;
	top: 50%;
	left: 50%;
}

.img_table {
	padding-bottom: 20px;
	display: table;
	width: 100%;
	text-align: center;
}

.img_table .table_row {
	display: table-row;
}

.img_table .table_cell {
	display: table-cell;
	float: left;
	width: 50%;
}

.img_table .table_cell p {
	text-style: italic;
}

.img_table .table_cell textarea, .searchImg_table textarea {
	border: 1px solid #ccc;
	width: 95%;
	cursor: text;
	font-family: arial;
	font-size: 13px;
	padding: 4px;
}

/* Image insert styles (tools) */
.caption > p {
    text-align: center;
}

button.insert {
    display: inline-block;
}

button.insert.inline {
/*    display: inherit;*/
    margin: 0px auto;
}

.insert-buttons > div {
    text-align: center;
}

.thumbnail > img {
}

#control-form {
    margin-top: 15px;
}

.help-bar {
    text-align: center;
    margin-top: 10px;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
}

.click-line {
	cursor: pointer;
	font-size: 14px;
	border: 1px dashed #D6D6D6;
	background-color: #FFFFFF;
	color: gray;
	text-align: center;
	padding: 4px;
	border-radius: 5px;
	-o-border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.click-line:hover {
	border: 1px solid #AAAAAA;
	background-color: #E4E4E4;
	color: #7C7C7C;
}

.searchImg_table textarea {
	width: 100%;
}

.searchImg_table {
	text-align: center;
	width: 100%;
}

#UploadImage {
	outline: none;
	border: 1px solid green; 
	background-color: #E8FFE4;
	color: #3E6333;
}
#UploadImage_tbl {
	outline: none;
	border: 1px solid red;
	background-color: #FFF2F2;
	color: #7C3E3E;
}

.freetext ul {
    text-indent: 0px;
    margin-left: 10px;
}

.error {
    color: red;
}

.error p {
    margin-left: 0px;
    size: 120%;
    color: black;
}

#image-size {
    margin-top: 50px;
}

@media screen and (max-width: 576px) {
  div.freetext {
    width: 95vw;
    padding-right: 10px;
  }
}