body {
    background: url("../images/head.png") no-repeat scroll center top #E9E9E9;
    color: #000000;
    font: 12px/18px "Arial",sans-serif;
    height: 100%;
    width: 100%;
}

a
{
    overflow: hidden;
}


* {
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
}
img {
    border: 0 none;
    padding-right: 10px;
}

.article, .aside, details, figcaption, figure, .footer, .header, hgroup, .main, section, summary {
    display: block;
}

#logo {

     z-index: 1;
}

#tpplogo {
    

    z-index: 1;
}


.clear {
    clear: both;
    height: 0;
    line-height: 0;
}

#navigation
{
    position:absolute;
   // margin-top: 30px;
    top: 30px;
    //bottom: 10px;
    z-index: 1;
}



.center-block {     
    display: block;
    margin-left: auto;
    margin-right: auto;
}



#topbar {
    margin-top: 5px;
    height: 28px;
}
#topbar a {
    color: #535353;
}
#topbar p {
    float: left;
    
}
#topbar p a {
    margin: 0 10px 0 0;
    text-decoration: none;
    text-transform: uppercase;
}
#topbar span {
    float: right;
    margin: 0 0 0 10px;
    
}


.btn-default
{
    background-color: transparent;
    border-color: transparent;
}
.caret
{
    margin-top: 8px;
    height: 12px;
    
}
.btn-default:hover
{
    text-decoration-color: black;
    background-color: transparent;
    border-color: transparent;
}



li.btn-default:active, li.btn-default:focus,{
    background-color: black!important;
    color: black;
    border-color: black;
    z-index:0;
}

.btn-default:focus,.btn-default:hover
{ 
    background-color: black!important;
    color: black;
    border-color: transparent;
    outline: black !important; 
} 

.btn-default:active
{
    background-color: transparent!important;
    color: transparent;
    border-color: transparent;
    outline: transparent !important;   
}


#custom-bootstrap-menu.navbar-default .navbar-brand {
    color: rgba(255, 255, 255, 1);
}
#custom-bootstrap-menu.navbar-default {
    font-size: 14px;
    background-color: rgba(74, 31, 97, 1);
    background: -webkit-linear-gradient(top, rgba(82, 56, 56, 1) 0%, rgba(74, 31, 97, 1) 100%);
    background: linear-gradient(to bottom, rgba(82, 56, 56, 1) 0%, rgba(74, 31, 97, 1) 100%);
    border-width: 0px;
    border-radius: 11px;
}
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(248, 248, 248, 0);
}
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:hover,
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:focus {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(51, 44, 44, 0.87);
}
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a,
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:hover,
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:focus {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(51, 44, 44, 1);
}
#custom-bootstrap-menu.navbar-default .navbar-toggle {
    border-color: #332c2c;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus {
    background-color: #332c2c;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle .icon-bar {
    background-color: white;

}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover .icon-bar,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #4a1f61;
}

@media (min-width: 200px){
#custom-bootstrap-menu
{
    margin-top: 20px;
}


}

@media (max-width: 800px){
    #topnewslist{
    border-left: none!important;
}
}

@media (min-width: 1366px){
    .window {

    margin-left: 13px;
    //margin-right: 13px;
    max-width: 398px;
    display: inline-block;
    height: 480px;
}

.window img { 
    margin-left: auto!important;
    margin-right: auto!important;
    max-width: 95%!important;
    
}

}

.entry-thumbnail
{
    text-align: center;
}




@media (max-width: 1020px){
  .window img {
    display: block;
    float: left;
    margin-left: 5px;
    margin-top: 10px;
    margin-bottom: 5px;
    height: 300px;
}}

@media (max-width: 320px){
  .window img {
width: 270px;
height: 270px;
margin: auto;
}


}


@media (min-width: 400px) and (max-width: 425px){
  .window img {
text-align: center!important;
    width: 100%!important;
}}

@media (min-width: 1280px) and (max-width: 1365px){
  .window {
margin-right: 25px;
margin-left: 25px;
   max-width: auto;
}
 .window img {
margin: auto!important;
}
}

@media (min-width: 1025px) and (max-width: 1279px){
  .window {
margin-right: 70px!important;
margin-left: 70px!important;
   max-width: auto;

} .window img {
text-align: center!important;
    width: 100%!important;
}

}

@media (min-width: 1020px) and (max-width: 1024px){
  .window {
margin-right: 70px!important;
margin-left: 70px!important;
   max-width: auto;}


}






@media (max-width: 520px){

.entry-title
{
    font-size: 180%;
}

.windowfull
{
    
    width: auto!important;
    margin-left:auto!important;
    margin-right:auto!important;
    margin-top:-8px!important;
}
.windowfull img
{   float: none!important;
    text-align: center!important;
    width: 100%!important;

}

}


@media (min-width: 1000px) and (max-width: 1026px){
  .windowfull {
margin-right: 70px!important;
margin-left: 70px!important;
   max-width: auto;}


}


}

@media (min-width: 520px){


.windowfull
{
    margin-right: auto!important;
margin-left: auto!important;
    max-width: 94%!important;
}



}


.window {
    background: none repeat scroll 0 0 #FFFFFF;
    border-bottom: 1px solid #CDCDCD;
    border-right: 1px solid #CDCDCD;
    color: #000000;
    //float: left;
    //display: inline-block;
    //height: 500px;
    margin-bottom: 14px;
    //margin-left: 13px;
    //margin-right: 13px;
    //margin:auto;
    overflow: hidden;
    padding: 20px 14px 14px 14px;
    width: auto;
    //max-width: 435px;
    //width: 50%;
}


#topnews {
    //background: none repeat scroll 0 0 #FFFFFF;
    //border-bottom: 1px solid #CDCDCD;
    //border-right: 1px solid #CDCDCD;
    margin: 10px 0  10px 0;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0px;
    //max-width: 1800px;
    margin-bottom: 10px!important;
    
    
}


#topnews .anews img {
    float: left;
    margin-right: 10px;
    padding: 0px 20px 20px 0px;
}
#topnews .anews h2 {
    line-break: loose;
    font-size: 14px;
    font-weight: 600; 
    margin: 0 0 10px;
    text-transform: uppercase;
}
#topnews .anews h2 a {
    color: #000000;
    text-decoration: none;
}
#topnews p, #topnews p a {
    color: #000000;
    font-size: 14px;
}

#topnewslist{
    border-left: 1px dotted #C2C2C2;
    //max-width: 850px;
    float: right;
    margin-bottom: 10px!important;
}



#topnewslist a {
    color: #000000;
}
#topnewslist .article:first-child {
    border: medium none;
    color: #000;
}
#topnewslist .article:first-child a {
    color: #000;
}
#topnewslist .article {
//background: none repeat scroll 0 0 #FFFFFF;
//border-top: 1px dashed #C2C2C2;
padding: 5px 5px 15px 8px;
height: 100px;
   
}
#topnewslist .article img {
    float: left;
    margin: 0 10px 5px 0;
}
#topnewslist .article h2 {
margin-top: 10px;
font-weight: 600; 
font-size: 12px;
}

#topnewslist .article a {

    text-decoration: none;
}

#topnewslist .article span {
    font-size: 12px;
    margin: 0 10px 0 0;
    margin-bottom: 20px;
    
}

#columns
{
    margin-top: 20px;
    background: none repeat scroll 0 0 #FFFFFF;
    border-bottom: 1px solid #CDCDCD;
    border-right: 1px solid #CDCDCD;  
    max-width: 1300px;

}

.middle {
    //padding: 0 0 75px;
    position: relative;
    max-width: 1300px;
    width: 100%;
    //margin-top: -10px;
}

.middle:after {
    clear: both;
    content: "";
    display: table;

}


#newsimg {
    width: 325px;
    height: 250px;
    
    overflow: hidden;

}

.container{
    
}

.content {
    //padding: 0 22px;
    margin-top: 10px;
    //margin-left: 85px;
    //width: 60%;
}

.contentfull {
    padding: 0 0px;
}

.bigwindow .window {
    width: 675px !important;
}
.bigwindow .window .cont {
    font-size: 16px;
    line-height: 22px;
    padding: 10px 0;
}
.bigwindow .window .cont p {
    padding: 6px 0;
}
.bigwindow .window .props {
    font-size: 16px;
}
.bigwindow .window .props p {
    padding: 3px 0;
}
.bigwindow .window .props p span {
    padding: 0 20px 0 0;
}

#mainnews
{
    margin:auto;

}




.window h2, .page-title {
    margin-top: -3px;
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-title {
    margin: 0 10px 20px;
}

.window h2 a {
    text-decoration: none;
}

.window hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: -moz-use-text-color -moz-use-text-color #C2C2C2;
    border-image: none;
    border-style: none none dashed;
    border-width: medium medium 1px;
    height: 1px;
    margin: 3px 0;
}


.window img {
    //display: block;
    //float: left;
    margin-left: 5px;
    margin-top: 10px;
    margin-bottom: 5px;

    max-width: 100%!important;
    height: auto!important;
    max-height:100%!important;
}

.window a {
    margin-top: 10px;
    color: #000000;
}

.window p {
    margin-top: 10px;
    //color: #000000;
}

.window .cal {
    background: url("../images/calendar.png") no-repeat scroll left center rgba(0, 0, 0, 0);
    padding: 0 0 0 18px;
}
.window .rub {
    background: url("../images/tag.png") no-repeat scroll left center rgba(0, 0, 0, 0);
    margin: 0 0 0 0px;
    padding: 0 0 0 18px;
}
.window .author {
    background: url("../images/author.png") no-repeat scroll left center rgba(0, 0, 0, 0);
    margin: 0 0 0 20px;
    padding: 0 0 0 18px;
}

.bigwindow .windowfull {
    //width: 675px !important;
    margin-right: 18px;
    margin-left: 18px;
}
.bigwindow .windowfull .cont {
    font-size: 16px;
    line-height: 22px;
    padding: 10px 0;
}
.bigwindow .windowfull .cont p {
    padding: 6px 0;
}
.bigwindow .windowfull .props {
    font-size: 16px;
}
.bigwindow .windowfull .props p {
    padding: 3px 0;
}
.bigwindow .windowfull .props p span {
    padding: 0 20px 0 0;
}

.windowfull {
    background: none repeat scroll 0 0 #FFFFFF;
    border-bottom: 1px solid #CDCDCD;
    border-right: 1px solid #CDCDCD;
    color: #000000;
    
    margin-bottom: 14px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    padding: 10px;
    
}


.windowfull h2, .page-title {
    color: #000000;
    font-size: 18px;
  
    line-height: 16px;
    text-transform: uppercase;
}

.windowfull h2 a {
    text-decoration: none;
}
.windowfull hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: -moz-use-text-color -moz-use-text-color #C2C2C2;
    border-image: none;
    border-style: none none dashed;
    border-width: medium medium 1px;
    height: 1px;
    margin: 3px 0;
}
.windowfull img {
    margin: 4px 0;
}
.windowfull a {
    color: #000000;
}
.windowfull .cal {
    background: url("../images/calendar.png") no-repeat scroll left center rgba(0, 0, 0, 0);
    padding: 0 0 0 18px;
}
.windowfull .rub {
    background: url("../images/tag.png") no-repeat scroll left center rgba(0, 0, 0, 0);
    margin: 0 0 0 0px;
    padding: 0 0 0 18px;
}
.windowfull .author {
    background: url("../images/author.png") no-repeat scroll left center rgba(0, 0, 0, 0);
    margin: 0 0 0 20px;
    padding: 0 0 0 18px;
}


.left-sidebar {
    float: left;
    //margin-left: 16px;
    position: relative;
    width: 220px;
}
.lside {
    background: none repeat scroll 0 0 #FFFFFF;
    border-bottom: 1px solid #CDCDCD;
    border-right: 1px solid #CDCDCD;
    color: #58585A;
    margin: 0px 0px 26px;
    padding: 10px;
}
.lside h2 {
    border-bottom: 1px dashed #CDCDCD;
    color: #fff;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2486B1), to(#9D3154));
    background-image: -webkit-linear-gradient(#2486B1, #9D3154);
    background-image: -moz-linear-gradient(top, #2486B1, #9D3154);
    background-image: -ms-linear-gradient(#2486B1, #9D3154);
    background-image: -o-linear-gradient(#2486B1, #9D3154));
    background-image: linear-gradient(#2486B1, #9D3154);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2486B1', endColorstr='#9D3154', GradientType=0); 
    
    font-size: 13px;
    font-weight: 600;
    margin: -10px 0 8px -10px;
    padding: 5px 17px 6px;
    text-transform: uppercase;
    width: 220px;
}
.lside h2 a {
    color: #fff;
   
}
.lside article {
    margin: 0 0 14px;
}
.lside img {
    float: left;
    margin: 0 10px 10px 0;
}
.lside p {
    line-height: 14px;
    padding: 0 0 0 0px;
}
.lside p a {
    text-decoration: none;
}
.lside a {
    color: #000000;
}

.slider {
float:left;
width:200px;
height:250px;
position:relative;
padding-bottom:26px;
}

.sliderContent {
float:left;
width:200px;
height:250px;
clear:both;
position:relative;
overflow:hidden;
}

.sliderArrows a {
display:block;
text-indent:-9999px;
outline:none;
z-index:50;
background-image:url(../images/prev_next.png);
width:42px;
height:42px;
position:absolute;
top:100%;
margin-top:-34px;
}

.prev {
background-position:0 0;
left:15px;
}

.prev:hover {
background-position:0 -44px;
}

.next {
right:15px;
background-position:-44px 0;
}

.next:hover {
background-position:-44px -44px;
}

.sliderContent .item {
position:absolute;
width:800px;
height:350px;
background:#fff;
}

.sliderBullets {
position:absolute;
bottom:0;
left:35%;
z-index:50;
margin-left:-45px;
}

.sliderBullets a {
display:block;
float:left;
text-indent:-9999px;
outline:none;
margin-left:5px;
width:10px;
height:11px;
background:url(../images/bullets.png) no-repeat;
}

.sliderBullets .active {
background-position:0 -11px;
}

.sliderContent a {
outline:none;
}

.right-sidebar {
    float: right;
    //margin-right: 15px;
    position: relative;
    width: 220px;
}

.pages {
    margin: 0 0 40px;
    padding: 20px 0 0;
    text-align: center;
}

.pages span, .pages a:hover {
    background: none repeat scroll 0 0 #717171;
   color: #000000;
}

.pages a {
    background: linear-gradient(to bottom, #F9F9F9, #EAEAEA) repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #000000;
}

.pages a, .pages span {
    border: 1px solid #B5B5B5;
    border-radius: 4px;
    font-weight: bold;
    margin: 0 2px;
    padding: 3px 9px;
    text-decoration: none;
}

.nav-single {
   margin: 0 24px;
}

.nav-single > span {
    margin: 0 10px 0 0;
}

.widget ul li {
    list-style: none outside none;
    margin: 0 0 10px;
}

.archive-header h2 {
    margin: 0 13px 20px;
}

.nav-next {
    margin: 0 0 10px;
}



/*---Êîììåíòàðèè---*/
.addcombtn {
    text-align: center;
    font: 1.15em/30px sans-serif;
    color: #fff;
    float: left;
    height: 31px;
    width: 181px;
    padding-right: 27px;
    
}

.addcombtn:hover {
    background-position: 0 -31px;
}

.bcomment {
    border-bottom: 1px solid #dadada;
    background: url("../images/speedbar.png") repeat-x 0 100%;
    padding-bottom: 15px;
}

.bcomment .dcont, .bcomment .dtop {
    padding: 0 15px;
}

.bcomment .dcont {
    padding-top: 10px;
}

.bcomment .dtop {
    overflow: hidden;
    padding-left: 70px;
    height: 67px;
    border-top: 3px solid #3f84cb;
}

.bcomment .dtop .lcol {
    width: 40px;
    padding: 0 15px;
    margin-left: -70px;
}

.bcomment .dtop .lcol span {
    margin-top: 12px;
    float: left;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.bcomment .dtop .lcol span img {
    width: 40px;
}

.bcomment .dtop .rcol {
    font-size: 0.9em;
    color: #90a7b2;
    width: 100%;
}

.bcomment .dtop .rcol ul {
    margin-top: 12px;
    padding-top: 4px;
    height: 36px;
    float: left;
    margin-right: 15px;
}

.cmsep {
    padding-left: 19px;
    background: url("../images/cmsep.png") no-repeat 0 50%;
}

.reply a, .reply a b {
    height: 28px;
    background: #2b88d5 url("../images/reply.png") no-repeat;
}

.reply a {
    float: right;
    margin-top: 21px;
    color: #fff;
    line-height: 27px;
}

.reply a b {
    cursor: pointer;
    float: left;
    padding: 0 15px;
    background-color: transparent;
    background-position: 100% -28px;
}

.reply a:hover {
    background-position: 0 -56px;
}

.reply a:hover b {
    background-position: 100% -84px;
}

div.cominfo {
    position: relative;
    border-bottom: 1px solid #fff;
    color: #000000;
    font-size: 0.9em;
    height: 29px;
    background: #D3D3E1;
}

div.cominfo .thide {
    width: 13px;
    padding-top: 8px;
    position: absolute;
    left: 29px;
    top: -7px;
    background: url("../images/comarrow.png") no-repeat;
}

div.cominfo .dpad {
    overflow: hidden;
}

.comedit, .selectmass {
    display: inline;
}

.selectmass input, .comedit ul, .comedit ul li {
    float: right;
}

.comedit ul li, .selectmass input {
    margin: 6px 0 0 8px;
}

.comedit ul li {
    float: left;
}

.comedit ul li a {
   // color: #000000;
}

.selectmass input {
    vertical-align: middle;
}

.signature {
    color: #93918d;
}

ul.cominfo, ul.cominfo li {
    float: left;
}

ul.cominfo {
    margin: 6px 0 0 -8px;
}

ul.cominfo li {
    border-left: 1px solid #73858e;
    margin: 0 7px 0 0;
    padding-left: 7px;
}



.slider {
float:left;
width:200px;
height:250px;
position:relative;
padding-bottom:26px;
}

.sliderContent {
float:left;
width:200px;
height:250px;
clear:both;
position:relative;
overflow:hidden;
}

.sliderArrows a {
display:block;
text-indent:-9999px;
outline:none;
z-index:50;
background-image:url(../images/prev_next.png);
width:42px;
height:42px;
position:absolute;
top:100%;
margin-top:-34px;
}

.prev {
background-position:0 0;
left:15px;
}

.prev:hover {
background-position:0 -44px;
}

.next {
right:15px;
background-position:-44px 0;
}

.next:hover {
background-position:-44px -44px;
}

.sliderContent .item {
position:absolute;
width:800px;
height:350px;
background:#fff;
}

.sliderBullets {
position:absolute;
bottom:0;
left:35%;
z-index:50;
margin-left:-45px;
}

.sliderBullets a {
display:block;
float:left;
text-indent:-9999px;
outline:none;
margin-left:5px;
width:10px;
height:11px;
background:url(../images/bullets.png) no-repeat;
}

.sliderBullets .active {
background-position:0 -11px;
}

.sliderContent a {
outline:none;
}





/*---search---*/
.searchbar {
    margin-left: 0px;
    width: 200px;
    height: 30px;
    background: #fff;
    border: 1px solid #CBDFE8;
}

.searchbar li {
    float: left;
    height: 27px;
}

.searchbar .lfield {
    width: 160px;
    padding-left: 10px;
    overflow: hidden;
}

.searchbar .lfield input {
    color: #708893;
    float: left;
    height: 15px;
    width: 145px;
    border: 0 none;
    background: #fff;
    margin-top: 6px;
}

.searchbar .lbtn input {
    width: 27px;
    height: 27px;
    background: url("../images/search.png") no-repeat 0 0px;
}

.searchbar .lbtn input:hover {
    background-position: -27px 0px;
}
/*---headlinks---*/
.headlinks ul, .searchbar {
    float: right;
    margin: 0px;
}

/*---Êíîïêà ââåðõ---*/
.b-top {z-index:2600;position:fixed;left:0;bottom:90px;width:34%;margin-left:50%;opacity: 0.5;filter:alpha(opacity=50);}
.b-top:hover {opacity:1;filter:alpha(opacity=100);cursor:pointer;}
.b-top-but {z-index:2600;position:absolute;display:block;left:56px;bottom:0;margin:0 0 0 100%;padding:32px 12px 4px;
    color:white; url(../images/b-j-top.png) no-repeat 50% 11px;border-radius:7px;}


#s {
    width: 100px;
}
#bgfooter {
    background: url("../images/foot.png") repeat-x scroll center bottom rgba(0, 0, 0, 0);
    //white-space: nowrap;
    //overflow: hidden;
}
.footer {
    height: 75px;
    margin: 35px auto 0;
    position: relative;
    width: auto;
    
}
.footer {
    text-align: center;
}
.footer div {
    margin: 0 0 25px;
    padding: 7px 0 0;
}
.footer div a {
    color: #000000;
    font-size: 15px;
    padding: 8px 10px;
    text-decoration: none;
    text-transform: uppercase;
}


@media (max-width: 800px){
#bgfooter {
    background: none!important;
}

}