/**
 * plugins/themes/aau/aau.css
 *
 * Copyright (c) 2013 Sergiy Goncharenko, Academy of Advocacy of Ukraine. sg@my.aau.edu.ua
 * CC Attribution-NonCommercial 4.0 International (CC BY-NC 4.0). For full terms see:
 * http://creativecommons.org/licenses/by-nc/4.0/legalcode. See also: 
 * http://creativecommons.org/licenses/by-nc/4.0/deed.uk
 *
 * aau theme.
 *
**/

@import url(http://fonts.googleapis.com/css?family=PT+Serif+Caption:400,400italic&subset=latin,cyrillic-ext);

.clear-space {
  margin: 0;
  padding: 0;
}

#sidebarDevelopedBy, #sidebarHelp, #sidebarFontSize {display:none}

#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6 { /*
  margin: 0;
  padding: 0; **/
}

h4.tocSectionTitle {
/*  border-left: 1.24em #CDE solid;
  border-bottom: .75em solid transparent;
  position: relative;
  left: 4em;
  text-indent: 0.25em;
  color:#576A7B
*/  
}  

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 }
hr {border:none; background:#e0ecf1; height:2px}
a:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
a:hover,
a:active {
  outline: 0;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sup { top: -0.5em }
sub { bottom: -0.25em }

img {
  /* Responsive images (ensure images don't scale beyond their parents) */
  max-width: 100%;   /* Part 1: Set a maxium relative to the parent */
  width: auto\9;  /* IE7-8 need help adjusting responsive images */
  height: auto;  /* Part 2: Scale the height according to the width, otherwise you get stretching */
  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}
#map_canvas img,
.google-maps img {
  max-width: none;
}


/* ЕЩЕ Заплатки **/
/*  .data img {width:100% !important}  Для изобр. Заголовка в таблице админ. настройки сайта */
a.icon img {width:auto!important} /* Чтобы иконки не расползались из-за предыд. селектора */
#issue h4 {border-left:none!important; padding-top:1em!important;}

.homepageImage img,
.issueCoverImage img {
  -webkit-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.35);
     -moz-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.35);
          box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.35);
}
.floatleft {float:left; margin-right:1.5em; } /* Картинки "Редакційна політика" **/

.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
#articleAbstract p {margin: .35em 0}

#content>br {display:none}
#articleAbstract br, /* Зачем?? */
#articleSubject br,
#articleFullText br,
#articleCitations br {display:none}

/**********************************************************/

html {
  max-width:1170px;
  margin:0 auto;
}
body {
  margin: 0;
  font-size: 62.5% !important;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: 'PT Serif Caption',serif; /* Georgia,'Times New Roman','Playfair Display' */
  font-weight: 400;
  color: #24140d;
  background: #e0ecf1;
}

#container {}
strong {font-family: Georgia,'Times New Roman', serif; font-weight:800; font-weight:bold}
.text-small {font-size:75%} 
.footnote {font-size:1rem}
.footnote:after {   /* Только после строчного элемента */
  content:"* ";
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
  top: -0.5em
} 
cite {
	font-size: .85em;
	padding:1em 0 1.5em 1em;
	border-left:.5em #e0ecf1 solid;
	margin:1em 2em;
	display:block;
	font-style:normal;
	color:#576A7B
}

a {
  color: #24140d;
  text-decoration: none;
}
a:hover {
  color: #24140d;
  text-decoration: none;
  background:#e0ecf1
}

a:link,
a:active,
a:visited {color:#576A7B}

a.pdf { /* ------- перенести вниз */
  font-size:1.1em;
  padding:0 23px;
  color:#375;
  border-bottom:none !important
}
a.pdf:hover {color:#576A7B}

table.tocArticle a.file, #articleFullText a.file {
  display:inline-block;
  padding:0 4px 0 32px;
  line-height:30px;
  margin:0 0 1.5em 0.9em;
  border:1px #abc solid !important;
  background: url(http://e-pub.aau.edu.ua/plugins/themes/aau/img/link_pdf.png) 3px 50% no-repeat;
  border-radius: 3px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2)/* inset;  */
}

table.tocArticle a.file:hover, #articleFullText a.file:hover {background-color:#e0ecf1}
table.tocArticle .tocGalleys a.file {float:right; margin-bottom:2px; font-size:0.8em; width:115px}
table.tocArticle .tocPages { margin-bottom:0; padding:5px 0 0}
table.tocArticle td.tocArticleTitleAuthors {width: 72%}
table.tocArticle td.tocArticleGalleysPages {width: 28%}

#header { /* ----------- Учитывать Всплывающее окно -------- */
	background: #e0ecf1;
	border-bottom: none;
}
#header h1 {  /* ----------- Учитывать Всплывающее окно -------- */
	/* margin:0;  common.css 114 overwrite */
	padding:0; /* common.css 114 overwrite */
	font-size:1.8em; /* rt.css 16 overwrite */
	text-align:left; /* rt.css 16 overwrite */
}

#headerTitle {
  margin:0 2%;
	padding-bottom: 10px;
	padding-top: 10px;
	height: auto;
	width:890px;
	text-align:center
}
#headerTitle h1 {width:825px; margin:0 auto;}
#mainContent > h2 {font-size:2.1em !important; padding:1em; text-align:left!important}
#profilePicContent {margin:2em 1em; border:4px #e8e4e4 solid}

#main {
  margin:0 0 30px 2%;
	background-color: #FFF;
	border-top: 8px solid #576A7B;
	border-bottom: 4px solid #576A7B;
	padding:0;
	width:76%;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.25), inset 0 12px 0px -10px #FFF,inset 0 4px 0px 0px #576A7B;
     -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.25), inset 0 12px 0px -10px #FFF,inset 0 4px 0px 0px #576A7B;
       -o-box-shadow: 0 0 5px rgba(0, 0, 0, 0.25), inset 0 12px 0px -10px #FFF,inset 0 4px 0px 0px #576A7B;
          box-shadow: 0 0 5px rgba(0, 0, 0, 0.25), inset 0 12px 0px -10px #FFF,inset 0 4px 0px 0px #576A7B;
}

#main h2 {
	padding-left: 0.75em;/*  */
	text-align:center;
	font-size:2.8em;
	color:#576A7B
}

#navbar {
  margin:1.8em 1em;
  border-bottom:0;
  overflow: visible;
  *position: relative;
  *z-index: 2;
}

#navbar ul.menu {
  padding-left: 0.75em;
  padding-right: 0.5em;
  border: 1px solid #576A7B;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
     -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  *zoom: 1;
    background-image:url(img/greybullet.gif);
    background-repeat:repeat-x;
    background-position:left 4.8em;
    background-size:100% 1px
}

#navbar ul.menu:before,
#navbar ul.menu:after {
  display: table;
  content: "";
  line-height: 0;
}
#navbar ul.menu:after { clear: both }

#navbar ul.menu li { padding-right:1em }
#navbar ul.menu a { white-space: nowrap }
#navbar ul.menu a:link,
#navbar ul.menu a:visited,
#navbar ul.menu a:hover {
  background: none;
  padding: .8em .5em !important;
  text-transform: none;
  font-size:1.6em;
  line-height:3;
}
#navbar ul.menu a:hover {
  background: #576A7B;
  border-color: black;
  color: #FFF;
  cursor: pointer;
  -webkit-transition: all 0.5s ease-in-out;
     -moz-transition: all 0.5s ease-in-out;
       -o-transition: all 0.5s ease-in-out;
      -ms-transition: all 0.5s ease-in-out;
          transition: all 0.5s ease-in-out;
}

#breadcrumb {
	padding:0 1.75em;
	padding-bottom: 1em;
	border-bottom: 1px solid #576A7B;
	font-size:1.15em
}

#breadcrumb a { font-family:Georgia, serif}

#content {
	padding: 1.5em 0.75em;
	border-top: 1px dotted #576A7B;
	font-size: 1.4em;
}
#breadcrumb + #content {border-top:none}
#announcementsHome + br + h3 { /* "Том № _" ------------------- **/
  text-align:center;
  text-transform:none;
  letter-spacing:.25em;
  font-size:2.1em;
}

#content ul.menu { }

#content #issueCoverImage {float:left; width: 160px}
#content #issueCoverImage img {box-shadow:2px 2px 8px rgba(0, 0, 0, 0.35); margin: 1em 1em 1em 0}
#content #issueCoverDescription {
    float: left;
    width: 600px;
    padding:2.5em
}
#content #homepageImage {margin: 2.5em 0; background: url(img/dot_e8e8e8.png) repeat-x center bottom}
#content #issueDescription { /* ------------------- **/
  margin-bottom:2.5em;
  padding-bottom: 2em !important;
  width: 100%;
  background: url(img/dot_e8e8e8.png) repeat-x center bottom, url(img/heading-pattern.png) no-repeat center bottom;
}
/*
#content #issueDescription:after {
  content: '';
  border-bottom: 1px solid #ABB0B4;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: url(img/greybullet.gif) center bottom repeat-x; 
} **/
#issueDescription + h3 { /* "Зміст" или "Весь випуск". Если есть "Весь випуск" -- для "Зміст" действует правило ниже **/
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.5em;
  font-size:1.5em!important;
  margin:0!important;
  text-indent:.5em;
  padding:0 0 1em
}
.tocArticle + br + h3 {
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.5em;
  font-size:1.5em!important;
  margin:0!important;
  text-indent:.5em;
  padding:0 0 1em
}
#content p>a.action {
  color:#576A7B;
  font-size:1.1em;
  letter-spacing:.08em;
}
#content .site-intro {
  color:#576A7B;
  text-align:center !important;
  font-family:Georgia,'Times New Roman',serif;
  background:#e0ecf1;
  border-left:1px #345 solid;
  border-right:1px #345 solid;
  margin:1em auto 2em;
  width:80%;
  padding:1em;
  display:block
}
#content h4 {
  border-left:1.2em #e0ecf1 solid; 
  padding:0 .75em; 
  margin:1em 0;
}
/** A ------------- */
#content a:not([class="icon"]) {border-bottom:1px #576A7B dotted}
#content a:hover:not([class="icon"]) {border-bottom:1px #FFF solid}
#content a[rel="license"] {border-bottom:none}
#content a[rel="license"]:hover, a.sprite:hover {background:none}
#content .main-tabs a {border-bottom:none; background:none}

.mceButton, 
#main a[role="button"], 
#main a.sprite, 
#main .main-tabs a { border-bottom:none!important} 
/** A ------------- */

#inlinePdfResizer {height:1170px}

#rightSidebar {
  float: right;
  width: 18%;
  height: 100%;
  margin-right: 2%;
  margin-left: 2%;
  padding:0; /* overwrite rightSidebar.css 25 */
  font-size:1.4em /* overwrite rightSidebar.css 25 */
}

#sidebarLanguageToggle {height: 120px}
#sidebarLanguageToggle .button {float: left}

#sidebar div.block {
  border: 0px solid #999; /* Overwrite */
  border-top:8px #576A7B solid;
  -webkit-border-radius: 0 0 3px 3px;
     -moz-border-radius: 0 0 3px 3px;
       -o-border-radius: 0 0 3px 3px;
          border-radius: 0 0 3px 3px;
  background: #FFF;
  padding: .5em .8em 1.0em;
  margin-bottom: 1em;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35), inset 0 12px 0px -10px #FFF,inset 0 4px 0px 0px #576A7B;
     -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35), inset 0 12px 0px -10px #FFF,inset 0 4px 0px 0px #576A7B;
       -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 12px 0px -10px #FFF,inset 0 4px 0px 0px #576A7B;
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 12px 0px -10px #FFF,inset 0 4px 0px 0px #576A7B;
}

#sidebar div.block ul {
  padding:0 0 0 .8em
}
.block li {
  list-style:none;
  background:url(img/greybullet.gif) no-repeat 0 0.82em;
  padding:0 .8em;
  line-height:1.8em
}

#sidebar div.block img {max-width: 100% !important}

#sidebar div.block .blockTitle,
#sidebar div.block span.blockTitle {
  font-weight: 300;
  font-size: 1.15em;
  line-height: 1;
  text-transform:uppercase;
  letter-spacing:.15em;
  color: #24140d;
  text-rendering: optimizelegibility;
  padding: .5em 0;
}
#sidebar div.block .blockTitle small,
#sidebar div.block span.blockTitle small {
  font-size: 1em;
  font-weight: normal;
  line-height: 1;
  color: #999;
}
#sidebar div.block#sidebarUser strong {white-space: nowrap}
#sidebar div.block#sidebarKeywordCloud .blockTitle {margin-bottom:1em}
#sidebar div.block:first-child {margin-top: 0}

#sidebar input:not([type="checkbox"]),
#sidebar select {min-width: 85%; padding-left:.5em}
#sidebar table td {display: block}
#sidebar #rightSidebar > br,
#sidebar #leftSidebar > br {display: none}
#sidebar #sizer { *zoom: 1}
#sidebar #sizer:before,
#sidebar #sizer:after {
  display: table;
  content: "";
  line-height: 0;
}
#sidebar #sizer:after {clear: both}

#sidebarWebFeed a:hover {background:none}
#sidebarWebFeed img { /* float:left; */ margin:.2em 0}
/* #sidebarWebFeed>br {display:none} */


/* *********************** TABLEs *********************** */
/* Зміст **/

.tocTitle {text-transform:uppercase}
.tocAuthors {padding-bottom:1.2em}

/* Моя тека - Редактор и др.**/
.info  { white-space: nowrap }

.data .label, .data .value {
  padding:1.5em .75em; 
  vertical-align:middle
}
.data input[type="checkbox"]{  }
.data tr:nth-child(odd) {
  background: #f0f0f0; /* Цвет фона */
} 
 

/* *********************** INPUTs *********************** */

#content form {border-bottom:1px #F0F0E8 solid; padding:2em 0}

button,
input,
select,
textarea {
  margin: 0;
  font-size: 100%;
  vertical-align: middle;
}
button,
input {
  *overflow: visible;
  line-height: normal;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
label,
select,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="radio"],
input[type="checkbox"] {
  cursor: pointer;
}
input[type="search"] {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
textarea {
  overflow: auto;
  vertical-align: top;
}

input.textField,
select.selectMenu,
textarea.textArea {
  background-color: #FFF;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  border:0
}
input.uploadField { border:0; font-family:inherit; font-size:inherit;background:none; }
input.uploadField:focus {outline:none}
textarea.textArea,
input.textField,
select.selectMenu {  
  border: 1px solid #CCC;
  padding-left:.5em;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
       -o-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear .2s, box-shadow linear .2s;
     -moz-transition: border linear .2s, box-shadow linear .2s;
       -o-transition: border linear .2s, box-shadow linear .2s;
          transition: border linear .2s, box-shadow linear .2s;
}
input.textField,
select.selectMenu { 
  min-height:1.7em; 
  min-width:20%;
}
select#searchField {margin-bottom: 0}
.block .selectMenu, .block .textField {width:85%}
#languageSelector .selectMenu {margin-right:1em}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
input[type="file"],
.uneditable-input {margin-bottom: .75em}

/*  КНОПКИ **/

/*
input[type="file"]{
   -webkit-appearance: none;
   text-align: left;
   -webkit-rtl-ordering:  left;
}
input[type="file"]::-webkit-file-upload-button{
   -webkit-appearance: none;
   float: left;
   margin: 0 0 0 10px;
   border: 1px solid #aaaaaa;
   border-radius: 4px;
   background-image: -webkit-gradient(linear, left bottom, left top, from(#000000), to(#f0f0f0));
   background-image: -moz-linear-gradient(90deg, #d2d0d0 0%, #f0f0f0 100%);
}

*/

input[type="file"]::-ms-browse {
  display: inline-block;
  min-width:10em;
  padding: .3em .5em;
  margin-bottom: 0;
  font-size: 1em;
  font-family: Verdana,Arial,Helvetica,sans-serif;
  line-height: 1.4;
  text-align: center;
  vertical-align: middle;
  cursor: pointer!important;
  color: #333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  background-color: #f5f5f5;
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border: 1px solid #bbbbbb;
  border-bottom-color: #a2a2a2;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  border-color: #c5c5c5;
  border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  display: block;
  margin-top: 7px;
}
input[type="file"]::-ms-browse:hover {
  color: #333;
  background-color: #e6e6e6;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
}
input[type="file"]::-webkit-file-upload-button {
  display: inline-block;
  min-width:10em;
  padding: .3em .5em;
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.4;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: #333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  background-color: #f5f5f5;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border: 1px solid #bbbbbb;
  border-bottom-color: #a2a2a2;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  border-color: #c5c5c5;
  border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  display: block;
  margin-top: 7px;
}
input[type="file"]::-webkit-file-upload-button:hover {
  color: #333;
  background-color: #e6e6e6;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
}

input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  min-width:10em;
  padding: .3em .5em;
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.4;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: #333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #e6e6e6;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  border: 1px solid #bbbbbb;
  *border: 0;
  border-bottom-color: #a2a2a2;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  *margin-left: .3em;
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  border-color: #c5c5c5;
  border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  display: block;
  margin-top: 7px;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
input[type="submit"].active,
input[type="reset"].active,
input[type="button"].active,
input[type="submit"].disabled,
input[type="reset"].disabled,
input[type="button"].disabled,
input[type="submit"][disabled],
input[type="reset"][disabled],
input[type="button"][disabled] {
  color: #333;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
}
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
input[type="submit"].active,
input[type="reset"].active,
input[type="button"].active {
  background-color: #CCC \9;
}
input[type="submit"]:first-child,
input[type="reset"]:first-child,
input[type="button"]:first-child {
  *margin-left: 0;
}
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover
 {
  color: #333;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
}
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
input[type="submit"].active,
input[type="reset"].active,
input[type="button"].active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
     -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
          box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}
input[type="submit"].disabled,
input[type="reset"].disabled,
input[type="button"].disabled,
input[type="submit"][disabled],
input[type="reset"][disabled],
input[type="button"][disabled] {
  cursor: default;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}

input[type="submit"] .label,
input[type="reset"] .label,
input[type="button"] .label,
input[type="submit"] .badge,
input[type="reset"] .badge,
input[type="button"] .badge {
  position: relative;
  top: -1px;
}
input[type="checkbox"] {
  float: left;
  margin: 6px 10px 0 2px;
  position: relative;  
  top: -2px;
}
input[type="checkbox"] + label {}

input[type="radio"] {
  float: none;
  margin: -4px 5px 0 2px;
}
input[type="radio"] + label { display:inline-block;padding-left:0px}

select[multiple],
select[size] {
  /* Fix oddness where only the size element is applied inconsistantly */

  /*height: 33px;
  /* In IE7, the height of the select element cannot be changed by height, only font-size */

  /* *margin-top: 4px;
  /* For IE7, add top margin to align select with labels */

  /*line-height: 33px; **/
}

/**** Patch for TPL /manager/step5.tpl = размер блоков выбора блоков боковых панелей *****/
select[name="blockSelectLeftWidget"],
select[name="blockUnselectedWidget"],
select[name="blockSelectRightWidget"] {width:240px !important}
input[type="button"].defaultButton {min-width:10px!important} /* р-ры исправлены в самом tpl, строки 463 и далее **/

/********* END of Patch *********/

label {
  display: inline-block;
}
span.formRequired {color:red}
.value {margin-bottom: 0}
.value input[type="submit"],
.value input[type="reset"],
.value input[type="button"] {
  display: inline-block;
  margin-top: -7px;
}
/*
.footer {
  border-top:4px #576A7B double;
  font-size:75%;
  line-height:1.75em;
  padding:1.75em;
  margin-top:2.5em
} 
.footer {
  bottom:0px;
  height:30px;
  right:0%;
  left:0%;
  position:fixed!important;
  width:100%;
  text-align:center;
  visibility:visible;
}
*/
.footerWrap {
  width: 76%;
  min-height: 2px;
  position: relative;
  clear: both;
  text-align: center;
}

.footer {
  margin: 2em auto;
  font-size:1.2em;
  line-height:1.75em;
  padding:1em 1.75em 1em 240px;
  color:#576A7B;
  background:url(img/logo_apress.png) no-repeat 2% bottom;
  height: 140px;
}

#pagination { margin-top:2em }
#pagination .numItems {
  padding: .4em 3em;  
  line-height:1.6;
  float: left;
  display: inline-block
}
#pagination .numPages {display: inline-block;}
#pagination .numPages a,
#pagination .numPages strong {
  display: inline;
  float: left;
  padding: .4em 1.2em;
  line-height: 1.6;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #e0ecf1;
  margin-left:-1px
}
#pagination .numPages a:hover {
  background-color: #e0ecf1;
  border: 1px solid #e0ecf1;
}
#pagination .numPages strong {}

@media print {
  * {
    text-shadow: none !important;
    color: #000 !important;
    background: transparent !important;
    box-shadow: 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;
  }
}