body {font-size:80%;}

a {color: #6f0a06; text-decoration:none; }
a:hover {color:#e0001c; text-decoration: underline;}

h1 { font-size:200%; margin:-3px 0 15px 0; clear:both;}
h2 { font-size:150%; margin:-3px 0 15px 0; clear:both;}
h3 { font-size:170%; margin:-3px 0 15px 0;clear:both;}
h4 { font-size:140%; margin:-3px 0 15px 0;clear:both;}


header.header {
    background: #b00e0e;
    padding: 10px 0 0;
}
header.header .wrapper { max-width:1024px; padding:15px; box-sizing:border-box; margin:0 auto; position:relative;}
header.header .logo {
    text-align: center;
}
header.header .logo span.images {
    display: block;
    margin: 0 0 15px 0;
}
header.header .logo span.text {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #e7dfa4;
    font-size: 23px;
}
header.header .opt-text {
    text-align: center;
    color:#fff; font-family:Arial, Helvetica, sans-serif;
}
header.header .opt-text {
    margin: 25px auto 10px;
    max-width: 700px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    border-bottom: 2px solid #fff;
    padding: 0 0 5px 0;
}
header.header .opt-text-small {
    text-align: center;
    color: #fff;font-family:Arial, Helvetica, sans-serif;letter-spacing: 2px;font-weight: bold;
}
header.header .wrapper:after { content:' '; clear:both; display:block; position:absolute; left:0; bottom:0; width:90px; height:140px; background:url(../images/gerb-1.png) 0 0 no-repeat;}
header.header .wrapper:before { content:' '; clear:both; display:block; position:absolute; right:0; bottom:0; width:90px; height:140px; background:url(../images/gerb-2.png) 0 0 no-repeat;}

nav.main-menu {
    background: #6f0a06;
    padding: 0 0 10px; border-bottom:2px solid #1a1a18;
}
nav.main-menu .wrapper { max-width:750px;    text-align: center; padding: 0 15px; box-sizing:border-box; margin:0 auto; position:relative;    text-transform: uppercase;}
nav.main-menu .wrapper ul {     margin: 0;    padding: 0;text-align:justify; height:27px;}
nav.main-menu .wrapper ul li {display: inline;}
nav.main-menu .wrapper ul li a {
    color: #fff;
    display: inline-block;
    padding: 10px 0;
    font-weight: 600;
    font-size: 15px;
	text-shadow: 1px 1px 1px #000;
}
nav.main-menu .wrapper ul:after {
    content: ' ';
    width: 100%;
    height: 0px;
    display: inline-block;
    visibility: hidden;
    overflow: hidden;
}
nav.main-menu .wrapper ul li.current a { color:#e0001c; border-bottom:2px solid #e0001c; margin:0 0 -2px 0;}

section.main.bg-one { max-width:1400px; background:url(../images/bg1.jpg)  top center	 no-repeat; min-height:500px; margin:0 auto; padding:50px 0;    background-size: contain;}
.main-text {
    max-width: 830px; min-height:1210px;
    padding: 15px;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative; background:url(../images/bg-text.jpg) 0 0 no-repeat;-webkit-box-shadow: 0 0 25px 0 rgba(0,0,0,0.5);
box-shadow: 0 0 25px 0 rgba(0,0,0,0.5);     background-size: contain; position:relative; z-index:10;
} 


.itemid-102  section.main.bg-one  {background:url(../images/bg2.jpg)  top center	 no-repeat; }

.itemid-103  section.main.bg-one  {background:url(../images/bg3.jpg)  top center	 no-repeat; }
footer.footer {
    background: #b00e0e;
    min-height: 300px;
    margin: -230px 0 0;
    text-align: center;
    box-sizing: border-box;
    padding: 220px 0 0 0; position:relative;
}
footer.footer:after { content:' '; clear:both; display:block; height:10px; background:#810f00; bottom:15px; left:0; right:0; position:absolute;}
.main-text h1 {
    text-align: center;    margin: 0;
    color: #532b0d;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 50px;
    font-weight: bold;
}
.main-text .title-d-text {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: bold;
    text-align: center;
    color: #532b0d;
}
.main-text .date {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: bold;
    text-align: left;
    color: #532b0d;
    font-size: 19px;
    border-bottom: 10px solid #532b0d;
    padding: 0 0 6px 0; margin:0 0 3px 0;
}
.main-text hr {
    height: 2px;
    background: #532b0d;    border: 0;
}
.main-text-wrap {
    margin: 50px auto;
    width: 600px;
    font-size: 17px;
	font-family: Georgia, "Times New Roman", Times, serif;
}


.registration .page-header, .login .page-header, .remind .page-header, .reset .page-header, .profile-edit .page-header {    border-bottom: 10px solid #532b0d;
    padding: 0 0 6px 0;
    margin: 0 0 3px 0;
}
form#member-registration, .login form, form#user-registration, form#member-profile { border-top:2px solid #532b0d;}

.registration fieldset, .login fieldset, .edit.item-page fieldset, .profile-edit fieldset { border:0; margin:0; padding:25px 0;}
.registration, .login, .remind,  .reset, .profile-edit  {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
}
.registration legend, .login legend {
    display: none;
}
.control-group {
    margin: 0 0 10px 0;
}
.logins {
    /* float: right; */
    /* position: absolute; */
    /* right: 0; */
    /* color: #fff; */
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 10px 0;
    color: #fff;
}
.logins a { color:#fff;}


.edit.item-page ul.nav.nav-tabs {
    display: none;
}
.edit.item-page {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
}
.edit.item-page div#metadata, .edit.item-page div#language {
    display: none;
}
div#publishing .control-group:first-of-type { display:block !important;}
div#publishing .control-group { display:none;}
div#publishing .btn-group {
    display: inline-block;
    margin: 0 15px 0 0;
}

.items-leading{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
}


ul.dropdown-menu {
    float: right;
    margin: -30px 0 0;
    list-style: none;
    background: #6f0a06;
    border-radius: 3px;
    color: #fff;
    padding: 5px;
}
ul.dropdown-menu a { color:#fff;}
div#system-message-container .alert {
    position: absolute;
    width: 300px;
    padding: 15px;
    margin: 0 0 0 -150px;
    left: 50%;
    background: #4dab50;
    box-sizing: border-box;
    color: #fff;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 120%;
    top: 300px;
    z-index: 99999;
}
.alert.alert-message {
    position: relative;padding: 25px;
}
a.close {
    position: absolute;
    right: 10px;
    top: 3px;
    font-size: 150%;
    color: #fff;
    cursor: pointer;
}

/** initial setup **/
.nano {
  position : relative;
  width    : 100%;
  height   : 100%;    min-height: 900px;
  overflow : hidden;
}
.nano > .nano-content {
  position      : absolute;
  overflow      : scroll;
  overflow-x    : hidden;
  top           : 0;
  right         : 0;
  bottom        : 0;
  left          : 0;
}
.nano > .nano-content:focus {
  outline: thin dotted;
}
.nano > .nano-content::-webkit-scrollbar {
  display: none;
}
.has-scrollbar > .nano-content::-webkit-scrollbar {
  display: block;
}
.nano > .nano-pane {
  background : rgba(0,0,0,.25);
  position   : absolute;
  width      : 8px;
  right      : 0;
  top        : 0;
  bottom     : 0;
  visibility : hidden\9; /* Target only IE7 and IE8 with this hack */
  opacity    : .01;
  -webkit-transition    : .2s;
  -moz-transition       : .2s;
  -o-transition         : .2s;
  transition            : .2s;
  -moz-border-radius    : 5px;
  -webkit-border-radius : 5px;
  border-radius         : 5px;
}
.nano > .nano-pane > .nano-slider {
  background: #444;
  background: rgba(0,0,0,.5);
  position              : relative;
  margin                : 0 1px;
  -moz-border-radius    : 3px;
  -webkit-border-radius : 3px;
  border-radius         : 3px;
}
.nano:hover > .nano-pane, .nano-pane.active, .nano-pane.flashed {
  visibility : visible\9; /* Target only IE7 and IE8 with this hack */
  opacity    : 0.99;
}


form.form-validate fieldset {
    width: 300px;
    margin: 0 auto; border:0; padding:0;
}
form.form-validate fieldset + .control-group { width: 300px;
    margin: 0 auto; border:0; padding:0;}
input[type="text"], input[type="password"], input[type="email"], input[type="tel"], textarea, input[type="url"] {
    width: 100%;
    box-sizing: border-box;
    padding: 4px;
}
.popover {
    display: none !Important;
}

.profile-edit fieldset:nth-of-type(2) {
    display: none;
}
.profile-edit legend {
    font-weight: bold;
    padding: 15px 0 6px;
    border-bottom: 2px solid #532b0d;
    display: block;
    width: 100%;    margin: 0 0 10px 0;
}
 .profile-edit span.icon-calendar {
    display: block;
    height: 19px;
    width: 20px;
    background: url(../images/calend.png) 0 0 no-repeat;
    background-size: contain;
    border: 0;
}
.input-append {
    position: relative;
}button#jform_profile_dob_img {
    position: absolute;
    right: 0;
    background: transparent;
    border: 0;
    top: 4px;
}
.jsndatepicker {
    position: absolute;
    z-index: 999; display:none;
    background: #fff;
}
div#wrapperjform_birthday {
    border: 0;
    position: relative;
}
div#wrapperjform_birthday span.btn.btn-danger {
    position: absolute;
    right: 6px;
    display: block;
    z-index: 11;
    top: 8px;
}
ul.nav.nav-tabs.nav-stacked {
    text-align: center;
    list-style: none;
    line-height: 190%;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 15px;
}
.edit.item-page fieldset {
    width: 100%;
}
#kurstable {
background-color: lightgoldenrodyellow;
}
td.fio {
text-align:left !important;
}
#kurstable td {
padding:3px;
text-align:center;
}
.blog {
font-size:120% !important;
}
#home-content  h1, .jsn_social h1{
clear:none !important;
}
.comment_message .date {
border-bottom: none;
}