html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,font,img,ins,kbd,q,s,samp,small,strike,sub,sup,tt,var,center,dl,dt,dd,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {font-style: inherit;font-weight: inherit;margin: 0;padding: 0;outline: 0;vertical-align: top;} table {border-collapse: collapse;border-spacing: 0;}

/* Main Layout */
html {height: 100%;}
body { font-family: 'Montserrat', sans-serif;  }
body.contentpane { background:#fff;}
h1,h2,h3,h4,h5,h6 {margin:0; padding:10px 0; font-family: 'Philosopher'; font-weight:400; color:#222222; text-align: center;}
.componentheading { font-style:italic;font-size:25px; margin:0; padding:0 0 10px 0; color:#1a528c;}
h1 { font-size: 20px;}
h2 { font-size: 18px;}
h3 { font-size: 16px;}
h4 { font-size: 14px;}
a:link, a:visited {  color: #181818;}
a:hover {  color: #333333;}
ul {margin:0 0 0 15px;}
p {margin-top: 0;margin-bottom: 10px; padding: 0 5px 0 5px;}
element.style { height:auto;}
hr { width:100%; clear:both; border:none; height:2px; background:#eee; margin:0; padding:0;}
.clr {clear: both;}
.container {
    max-width: 1250px;
    margin: 0 auto;
    line-height: 1.7em
}
/* Header */
#header {
    padding: 1% 0;
    position: static;
    z-index: 5;
    height: 250px;
    width: 100%;
    text-align: center;
}
#header:after {
    content: "";
    opacity: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
    background: url(../images/bg.png) center -210px no-repeat;
}
.layout-featured #header:after {
       opacity: 0.7;
}


.layout-featured #header {
    position: absolute;
}
.layout-featured #main-content {
    position: absolute;
    bottom: 180px;
    z-index: 2;
    text-align: center;
    color: #FFFAA2;
    width: 100%;
    font-size: 14px;
    text-shadow: 3px 3px 4px #000;
        max-width: 80%;
    left: 10%;

}
.layout-featured #main-content a {
     color: #FFFAA2;
}

.blog-featured h2 {
    font-size: 44px;
    color: #FFFCC1;
    padding-bottom: 4%;
    margin-bottom: 4%;
    position: relative;
}
.blog-featured h2:after {
    content: '';
    width: 95px;
    height: 5px;
    background: #EC1D25;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%)
}
#topimage {
    min-height: 500px;
    max-height: 100vh;
    overflow: hidden;
}

.logo {
    position: absolute;
    left: 50%;
        top: -43px;
    transform: translateX(-50%);
}

#nav {
    position: absolute;
    width: 611px;
    left: 50%;
    transform: translateX(-50%);
}
#nav ul {margin:0; padding:0; }
#nav ul li {
    display: inline-block;
    padding: 3px 10px;
    width: 155px;
}
#nav ul li:nth-child(1), #nav ul li:nth-child(3) {
    margin-right: 120px;
}
#nav ul li:nth-child(2), #nav ul li:nth-child(4) {
    margin-left: 120px;
}

#nav ul li a {  font-family: 'Philosopher';display:block;padding:0 15px 0 15px; margin:0; line-height:32px; color:#FDF1C4; text-decoration:none;font-size:20px;font-weight:normal}
#nav ul li.active {}
#nav ul li.active a {}
#nav ul li:hover {}
#nav ul li a:hover{  color: #FAF7F1; transform: scale(1.05)}

#nav li ul {
	position: absolute;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
    top: 60px;
    width: 170px;
    z-index: 100;
    margin-left: -8px;
    background:  #F27EBD;
    box-shadow: 10px 5px 15px #111111;
    border-radius: 3px;
    display: none
}
#nav li:hover ul {
  display: block;
}

#nav li ul li {
  border-bottom: 1px solid #BC3A6A;
  background: none;
  padding: 3px 5px;
  top: 0;
  position: relative;

}
#nav li.active ul li a {
     background: none;
}
#nav li ul li a {
  display: block;
 text-transform: none;
 margin: 0;
 line-height: 1.5em;
 padding: 3px 5px;
 width: 140px;
}
#nav li ul li a:hover { background: #AA5479; color: #FFFFFF;}

/** Level third and above **/

#nav li ul ul {
	margin: 0 0 0 150px;
    top: 0;

}
#nav li ul ul ul {
	margin: -24px 0 0 113px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* nested under hovered items */
	left: auto;
}

ul.breadcrumb {
    margin: 1% 0 0 0;
    padding: 1% 2%;
}
ul.breadcrumb li {
  display: inline-block;
     color: #777777;
}
ul.breadcrumb li.active span {
   padding-left: 3px;
   font-size: 15px;
}

/* Sidebar */
#leftbar-w {padding:0px;width:230px;float:left;}
#addthis {float:center; padding-left: 12px; padding-top: 5px;}
#rightbar-w {margin-right:12px;padding:0px;width:230px;float:right;}
#sidebar {padding:0}
#sidebar .module {padding:6px 0 6px 0; margin:0;}
#sidebar .module-title {font-size:16px;font-weight:100;margin:0;height:24px; line-height:24px; color: #fff; padding:0 0 0 22px; font-family:Tahoma, sans-serif;}
#leftbar-w .module-title {padding: 0 0 0 15px }
#rightbar-w  .module-title {padding: 0 0 0 15px}
#sidebar .module-body p{padding:0; margin:0;}

#sidebar .module .custom {
  padding: 15px;
  background: #D68351; color: #222222;
  line-height: 1.5em
}

#sidebar  ul li { margin:0 5px; padding:0;}
#sidebar  ul.nav.menu{margin:5px 0 0 0; padding:0;list-style:none; padding:0; list-style-type:none;}
#sidebar  ul.nav.menu li{ background: #8d7667; /* Old browsers */
background: -moz-linear-gradient(top,  #8d7667 0%, #564238 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8d7667), color-stop(100%,#564238)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #8d7667 0%,#564238 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #8d7667 0%,#564238 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #8d7667 0%,#564238 100%); /* IE10+ */
background: linear-gradient(to bottom,  #8d7667 0%,#564238 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8d7667', endColorstr='#564238',GradientType=0 ); /* IE6-9 */
 border-bottom:2px solid #D9844D;}
#sidebar  ul.nav.menu li a {
  display:block;margin:0; color: #FFFFFF; padding:3px 0 3px 15px;font-weight:bold;line-height:35px; text-decoration:none; font-size:15px;}
#sidebar  ul.nav.menu li a:hover { color:#ECC1A6; text-decoration:underline;}
#sidebar  ul.nav.menu li:hover {  background: #7D6759}
#sidebar  ul.nav.menu li.active a{color:#ECC1A6;}


/* Content */
#main { margin:0px auto 0 auto;position: relative;}
#main-content { }

#maincol {position: relative;}
#wrapper { margin:0 auto; width:1000px; padding:0;position: relative;}

#leftcolumn{margin-left:9px;padding:0px;width:205px;float:left;}
#rightcolumn{margin-right:9px;padding:0px;width:205px;float:right;}
#centercontent{width:500px;float:left;margin:5px;padding:0px;overflow:hidden; border:1px solid #e5e5e5; -moz-border-radius: 8px 8px 8px 8px; border-radius:8px;}
#centercontent_md{width: 725px;float:left;margin:0px 5px 0px 5px;padding:5px;overflow:hidden;}
#centercontent_bg{padding:0px;overflow:hidden;}

div.clearpad {float:left;padding:0 0px 15px 10px;}
div.clearpad ul {clear: both;}

/* Content styles */
ul.archive li { list-style:none; padding:0 0 0 10px;}
.archive .article-count {color:#999;}
.blog-featured { max-width: 800px;
margin: 0 auto; }
.items-leading {position: relative; clear:both; padding: 3px 0px 3px 4px; margin-top:2px;}

.item-page {
    position: relative;
    background: #fff;
    color: #555;
    min-height: 50vh;
     text-align: center;
         padding-bottom: 2%;
}

.page-header h2 {
    background: #fff;
    font-size: 39px;
    text-transform: uppercase;
    color: #ec1d25;
    width: fit-content;
    margin: auto;
    padding: 15px 30px;
    position: relative;
    z-index: 2
}
.page-header h2:before {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    z-index: -1;
    transform: translateX(-50%);
    left: 50%;
}
.page-header h2:after {
    content: '';
    position: absolute;
    top: 49%;
    height: 8px;
    width: 150%;
    background: #FFF200;
    transform: translateX(-50%);
    z-index: -2;
}
.blog .item .page-header h2 {
    font-size: 28px
}
.blog .item .page-header h2 a {
    text-decoration: none
}

.item-page-title, .item-page-title a {text-decoration:none; color:#01406a;}
.item-page-title a:hover {}

.items-row { position: relative; clear: both; text-align: center;}
.items-row .span3, .items-row .span4, .items-row .span6  { display: inline;}        

.cols-1 {width:100%; clear:both;}
.cols-2 .column-1{width:45%;}
.cols-2 .column-2{width:45%;}
.cols-3 .column-1{width:33%;}
.cols-3 .column-2{width:33%;}
.cols-3 .column-3{width:33%;}
.cols-4 .column-1{width:24%;}
.cols-4 .column-2{width:24%;}
.cols-4 .column-3{width:24%;}
.cols-4 .column-4{width:24%;}
.column-1, .column-2, .column-3, .column-4 {
    position:relative;
    display: inline-block;
}

.blog .item {
    text-align: center;
    font-size: 15px;
    margin: 1% 0;
    padding-bottom: 1%;
}
.blog .item:hover {
    box-shadow: 0 0 20px #e8e8e8;
}
.blog .item .pull-left.item-image img {
  max-width: 100%
}

.readmore { margin:0; line-height:20px; }


ul.pagenav { display:block;} ul.pagenav li { list-style:none;}
.pagenav-prev { float:left; padding-top: 10px;}
.pagenav-next { float:right; padding-top: 10px;}
.pagination { clear:both;}
span.pagination { background:none;}
.pagination span, .pagination a, ul.pagenav li a {padding: 1px 8px; background: #fff; color: #555; font-weight: bold; font-size: 90%;}
.pagination a, ul.pagenav li a {  font-weight: bold; text-decoration:underline}
.button, .validate { padding: 3px 15px; border: 1px solid #999999; background: #b9b8b8; color: #FFF; font-weight: bold;}
.button:hover,.validate:hover,.pagination a:hover,ul.pagenav li a:hover  {background:#757474;color:#fff;}
.inputbox, input, textarea, select { border:1px solid #c0c0c0; color:#13618d; padding: 5px 10px}
.breadcrumbs { padding:0 0 0 10px; color:#555;}
.searchbox {background: url(../images/search.png) no-repeat ; margin-top: 7px; width: 165px; height: 18px; color:#13618d; -moz-border-radius: 5px; border-radius: 5px;}

/* Footer */

#footer { clear:both; margin:10px 0 0 0; padding:0;}


.alert {
	padding: 8px 35px 8px 14px;
	margin-bottom: 18px;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
	background-color: #fcf8e3;
	border: 1px solid #fbeed5;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.alert,
.alert h4 {
	color: #c09853;
}
.alert h4 {
	margin: 0;
}
.alert .close {
  float: right;
  cursor: pointer;
}
.alert-success {
	background-color: #dff0d8;
	border-color: #d6e9c6;
	color: #468847;
}
.alert-success h4 {
	color: #468847;
}
.alert-danger,
.alert-error {
	background-color: #f2dede;
	border-color: #eed3d7;
	color: #b94a48;
}
.alert-danger h4,
.alert-error h4 {
	color: #b94a48;
}
.alert-info {
	background-color: #d9edf7;
	border-color: #bce8f1;
	color: #3a87ad;
}
.alert-info h4 {
	color: #3a87ad;
}
.alert-block {
	padding-top: 14px;
	padding-bottom: 14px;
}
.alert-block > p,
.alert-block > ul {
	margin-bottom: 0;
}
.alert-block p + p {
	margin-top: 5px;
}


#user-bottom {
    bottom: 0;
    z-index: 2;
    text-align: center;
    width: 100%;
    left: 0;
     background: url(../images/bg.png) center 0 no-repeat;
  
}
.layout-featured #user-bottom {
    position: absolute;
}
.user3 .custom {
    text-transform: uppercase;
    font-weight: 700;
    color: #af0b10;
    font-size: 14px;
    padding-top: 5px;
}
.user2 {
    background: rgba(220, 167, 164, 0.34);
    width: fit-content;
    display: inline-block;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 11px 15px 4px 15px;
    color: #fdf454;
    font-size: 14px;
}
.user2 a {
    color: #fdf454;
}

.user1 {
    text-align: center;
    padding: 12px;
}
.user1 .custom {
    width: 223px;
    display: inline-block;
    padding-top: 13px;
    color: #eae8be;
    font-size: 17px;
    line-height: 19px;
}
.user1 ul{
   display: inline-block;
}

.user1 ul li {
    display: inline-block;
    padding: 5px 8px;
}
.user1 ul li a {
    font-family: 'Philosopher';
    margin: 0;
    line-height: 32px;
    color: #FDF1C4;
    text-decoration: none;
    font-size: 20px;
    font-weight: normal;
}

#navtoogle {
   display: none;
    color: #fdfcfc;
    padding-right: 5%;
    text-align: right;
    margin-bottom: 2%;
}
@media only screen and (max-width: 1368px) {
   .item-page {
    min-height: 40vh;
}
}
@media only screen and (max-width: 1268px) {
#topimage {
    padding-top: 15%;
    background: #160819;
}
}
@media only screen and (max-width: 1068px) {
#topimage {
    padding-top: 25%;
}
.layout-featured #main-content {
    bottom: 35%;
    }

}

@media only screen and (max-width: 768px) {

#nav {
    display: none;
    background: rgba(136, 14, 21, 0.81);
        width: auto;
            z-index: 10;
}
#nav ul li:nth-child(1), #nav ul li:nth-child(3), #nav ul li:nth-child(2), #nav ul li:nth-child(4) {
    margin: 10px 0;
}
#navtoogle {
   display: block;
 }
.cmn-toggle-switch {
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 58px;
  height: 40px;
  font-size: 0;
  text-indent: -9999px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  cursor: pointer;
  -webkit-transition: background 0.3s;
          transition: background 0.3s;
}

.cmn-toggle-switch:focus {
  outline: none;
}
.cmn-toggle-switch span {
  display: block;
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 3px;
  background: white;
}

.cmn-toggle-switch span::before,
.cmn-toggle-switch span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
  content: "";
}

.cmn-toggle-switch span::before {
  top: -8px;
}

.cmn-toggle-switch span::after {
  bottom: -8px;
}
.cmn-toggle-switch__htx {
    background-color: #ec1d25;
    border-radius: 7px;
}
.cmn-toggle-switch__htx span {
  -webkit-transition: background 0 0.3s;
          transition: background 0 0.3s;
}

.cmn-toggle-switch__htx span::before,
.cmn-toggle-switch__htx span::after {
  -webkit-transition-duration: 0.3s, 0.3s;
          transition-duration: 0.3s, 0.3s;
  -webkit-transition-delay: 0.3s, 0;
          transition-delay: 0.3s, 0;
}

.cmn-toggle-switch__htx span::before {
  -webkit-transition-property: top, -webkit-transform;
          transition-property: top, transform;
}

.cmn-toggle-switch__htx span::after {
  -webkit-transition-property: bottom, -webkit-transform;
          transition-property: bottom, transform;
}

/* активное состояние, т.е. меню открыто */
.cmn-toggle-switch__htx.active {
  background-color: #666666;
}

.cmn-toggle-switch__htx.active span {
  background: none;
}

.cmn-toggle-switch__htx.active span::before {
  top: 0;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.cmn-toggle-switch__htx.active span::after {
  bottom: 0;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.cmn-toggle-switch__htx.active span::before,
.cmn-toggle-switch__htx.active span::after {
  -webkit-transition-delay: 0, 0.3s;
          transition-delay: 0, 0.3s;
}
span.menutoog div {
      background: #000;
    width: 100%;
    height: 0.125rem;
    margin: 0.25rem auto;
    border-radius: 10px;
    -webkit-transition: 0.3s cubic-bezier(0.28, 0.55, 0.385, 1.65);
    transition: 0.3s cubic-bezier(0.28, 0.55, 0.385, 1.65);
    -webkit-transition-timing-function: cubic-bezier(0.28, 0.55, 0.385, 1.65);
    transition-timing-function: cubic-bezier(0.28, 0.55, 0.385, 1.65);
    -webkit-transform: 0;
    transform: 0;
    -webkit-transform-origin: center;
    transform-origin: center;

}

table, td, video {
    max-width: 98%;
    display: inline-block;
    margin: 0 auto;
    width: auto!important;
    height: auto!important;
}
img {
    max-width: 100%
}

td, iframe {
    border: none;
    width: 100%!important;
}
.blog .item {
    width: 48%
}

img.sigFreeImg {
    width: 265px!important;
    height: 200px!important;
    max-width: none;
}
ul.sigFreeClassic {
    text-align: center;
}
ul.sigFreeClassic li.sigFreeThumb {
    display: inline-block;
    margin: 1%;
    float: none;
}
ul.sigFreeClassic li.sigFreeThumb:nth-child(odd) {
    display: none;
}

td:nth-child(odd) {
   background: #EEEEEE
}
#topimage {
    padding-top: 15%;
    background: #160819;
    min-height: auto;
}
.layout-featured #main-content {
    position: static;
    background: #231f20;
    width: 100%;
    max-width: none;
        padding: 5% 0;
    margin-bottom: -15px;
}
.layout-featured #user-bottom {
    position: static;
}

.blog-featured h2 {
    font-size: 37px;
    line-height: 1.1em;
}

@media only screen and (max-width: 450px) {
.blog .item {
    width: 95%;
    margin: 1% auto;
}
.logo {
    width: 70%;
}
}