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", Helvetica, Sans-Serif; background: url(../images/bg.jpg) top center repeat; }

body.contentpane { background:#fff;}
h1,h2,h3,h4,h5,h6 {margin:0; padding:10px 0; font-weight:bold; color:#222222;}
.componentheading { font-style:italic;font-size:25px; margin:0; padding:0 0 10px 0; color:#1a528c;}
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;}
blockquote { }
element.style { height:auto;}
.clr {clear: both;}
.container {
    max-width: 1250px;
    margin: 0 auto;
}
/* Header */
#header {  padding: 1% 0; background: url(../images/header.jpg) top center repeat-x;}
#topimage { }
.top {
    width: 55%;
    margin: 30px 0 0 5%;
    color: #fff
}
.top .custom {
    margin-bottom: 32px;
}
.top ul {
    margin-left: -7px
}

.top ul li {
    display: inline-block;
    padding: 5px 12px;
    position: relative;
}
.top ul li a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    text-shadow: 1px 1px 0 #333;
    font-size: 18px;
    padding: 0 6px;
}
.top ul li a:hover {
    color: #2d4173;
    text-shadow: none;
}
.top ul li:after {
    width: 0;
    height: 0;
    content: '';
    position: absolute;
    right: -7px;
    top: 9px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #fff2db;
}
.top ul li:last-child:after {
    content: normal;
}

.logo {
    max-width: 450px;
    display: inline-block;
    width: 42%;
}
img.logoim {
    max-width: 100%;
}

#nav {
    background: #FFFFFF;
    padding: 1% 0px;
}
#nav h3 {
    display: none;
}

#nav ul {margin:0; padding:0; }
#nav ul li { display: inline-block; padding: 5px 10px; border-right: 1px solid  #EA8E1F;}
#nav ul li a {
    display: block;
    padding: 0 10px 0 10px;
    margin: 0;
    line-height: 32px;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

#nav ul li.active a {}
#nav ul li:hover, #nav ul li.active {
    background: #f7cb1d;
}
#nav ul li a:hover{  }

#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% 15px;
}
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}


/* Content */
#main { margin:0px auto 0 auto;position: relative;}
#main-content { clear:both;margin-top: 10px; position:relative; height:100%; padding: 10px}

#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 */
.blog-featured {
        line-height: 1.7em;
     margin: 0 0 2% 0;
}
.blog-featured table:first-child td {
    width: 23%;
    margin: 0 3%;
    display: inline-block;
    border-bottom: 8px solid #324678;
    box-shadow: 0 0 14px #ddd;
    padding: 1% 2% 2% 2%;
}
.blog-featured table:first-child td h3 {
    color: #324678;
    text-align: center;
    background: #fff8e0;
    margin: 0 -10px 15px;
    font-size: 23px;
}
.blog-featured table:first-child td img {
    margin-right: 13px;
    max-width: 77px;
}
.blog-featured em {
    background: #E78520;
    color: #FFFFFF;
    padding: 2% 15px;
    font-size: 2vw;
    font-style: normal;
    font-weight: 700;
    width: 80%;
    display: block;
    margin: 4% auto;
}
.blog-featured .caption {
    font-size: 2.5vw;
    line-height: 2em;
}
.blog-featured h2 {
    margin: 2% 0 5% 0;
    font-size: 3vw;
    color: #243E71;
}

.items-leading {position: relative; clear:both; padding: 3px 0px 3px 4px; margin-top:2px;}

.item-page { position:relative; background:#fff; color: #555;}
.page-header h2 {
    font-size: 25px;
    margin-bottom: 2%;
}

.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;}
.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;}

td.ftdtb {
    background: url(../images/bg_tb.jpg) top center no-repeat;
    text-align: center;
    background-size: contain;
    color: #fff;
    position: relative;
}
td.ftdtb h2 {
    color: #fff;
}
td.ftdtb:after {
    content: '';
    width: 80%;
    height: 80%;
    position: absolute;
    top: 8%;
    left: 9%;
    border: 10px solid #e78520;
}
td.ftdtb:hover:after {
    transform: scale(1.1);
    transition: .5s all;
}

/* Footer */

#user-bottom {
  margin: 1% auto 0 auto;
  padding: 2% 0;
  background: #FFFFFF
}
#user-bottom h3 {
    margin-bottom: 3%;
}
#user-bottom li {
    list-style: none;
    padding: 4px 0;
}
#user-bottom li a {
    text-decoration: none
}

.user1, .user2 {   display: inline-block; }

.user1 {
    width: 33%;
    background: url(../images/bg_f.jpg) right 65px no-repeat;
}
.user2 .moduletable:first-child {
    background: url(../images/bg_f.jpg) right center no-repeat;
    background-position: right 68px top 65px;
}

.user1 p {
  margin-bottom: 5px;
}
.user2 {
    width: 66%;
    text-align: right;
}
.user2 .moduletable {
    display: inline-block;
    width: 45%;
    text-align: left;
}
.inline {
    display: inline-block;
}
#user-bottom2 {
    background: #414C6C;
    border-top: 5px solid #E78520;
    color: #fff;
    padding: 2% 0;
    font-size: 15px;
}
#user-bottom2 .inline {
    width: 33%;
}
#user-bottom2 a {
    color: #fff
}

#navtoogle {
    display: none;
    color: #fdfcfc;
    margin-bottom: 2%;
    float: right;
    margin: 2%;
}
@media only screen and (max-width: 1367px) {
.logo {
    max-width: 256px;
}
.top .custom {
    margin-bottom: 1%;
}
.top {
    width: 55%;
    margin: 1% 0 0 5%;
    color: #fff;
}
#header {
    padding: 1% 0;
    background: #e68321 url(../images/header.jpg) top center repeat-x;
    background-size: 7px;
}
#topimage {
    max-width: 1245px;
    margin: 0 auto;
}
}


@media only screen and (max-width: 1250px) {
    #nav ul li {
    padding: 5px;
}
#nav ul li a {
    padding: 0 7px 0 7px;
    font-size: 15px;
}
.logo {
    width: 33%;
}
.top {
    width: 63%;
    margin: 1% 0 0 2%;
    color: #fff;
}
.top ul li a {
    font-size: 16px;
}
.container {
    padding: 0 1%;
}
.blog-featured table:first-child td {
    width: 29%;
    margin: 0 1%;
    padding: 1% 1% 2% 1%;
}
td.ftdtb {
    background-repeat: repeat;
}

td.ftdtb img {
    max-width: 100%;
}
#nav {
    text-align: center;
}
}

@media only screen and (max-width: 1000px) {
#header {
    background: #263965;
}
td.ftdtb:after {
    height: 67%;
}
}

@media only screen and (max-width: 768px) {

#nav {
    display: none;
}
.top.inline {
    display: none;
}
#navtoogle {
   display: inline-block;
 }
 .logo {
    width: 59%;
}
span.menutext {
    line-height: 35px;
}
.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: #b0b0b0;
}

.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;

}
.blog-featured h2, .blog-featured em, .blog-featured .caption {
    font-size: 25px;
}
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;
}

.user1, .user2 .moduletable, .user2 .moduletable:first-child {
    width: 100%;  background: url(../images/bg_f.jpg) right center no-repeat
}
.user2 {
    width: 100%;
    text-align: right;
}
#user-bottom2 .inline {
    width: 100%;
    text-align: center!important;
    padding: 2% 0;
}
.container {
    padding: 0 3%;
}
td.ftdtb {
    padding: 0!important;
}
td.ftdtb:after {
    content: normal;
}
.user2 .moduletable:last-child {
    padding-right: 15%;
    width: 85%
}
#nav ul li {
    padding: 5px;
    display: block;
    border: 0;
    border-bottom: 1px solid #ddd;
    text-align: center;
}
#nav ul:last-child {
    background: #fff7d8;
}
}

@media only screen and (max-width: 450px) {
.blog .item {
    width: 95%;
    margin: 1% auto;
}
}