
#header.header-digest .wrapper, #footer.footer-mainnew .wrapper {
    width: 960px;
    margin: 0 auto;
    height: 100%;
}

#mainnew-topgallery
{
    width: 100%;
    height: 540px;
    position: absolute;
    top: 45px;
    left: 0;
}

#mainnew-topgallery .item
{
    width: 100%;
    margin: 0 auto;
    position: absolute;
    left: 0;
    height: 525px;
    z-index: 0;
    display: none;
}
/*#mainnew-topgallery .item.big
{
    width: 100%;
    top: -90px;
    height: 615px;
}*/

#mainnew-topgallery .item a
{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#mainnew-topgallery .item .image
{
    width: 100%;
    height: 525px;
    background-repeat: no-repeat;
    background-position: bottom center;
}

#mainnew-topgallery .item .description
{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

#mainnew-topgallery .item.big .description
{
    top: 90px;
}

#mainnew-topgallery .description .wrapper
{
    position: relative;
    height: 100%;
}

#mainnew-topgallery .description h3
{
    font: bold 100px/90px 'PT Sans', 'Arial', sans-serif;
    color: #fdb813;
    padding: 113px 15px;
}

#mainnew-topgallery .description-text
{
    position: absolute;
    bottom: 20px;
    left: 20px;
}

#mainnew-topgallery .description-text h5
{
    font: bold 24px/24px 'PT Sans', 'Arial', sans-serif;
}

#mainnew-topgallery .description-text p
{
    font: 13px/13px 'Arial', sans-serif;
    margin-top: 1em;
    color: #999;
}


#mainnew-topgallery .controls-arrow
{
    position: relative;
    z-index: 3;
    width: 100%;
    height: 525px;
    margin: 0 auto;
    visibility: hidden;
} 

#mainnew-topgallery .controls-arrow .arrow-left {
    display: inline-block;
    cursor: w-resize;
    float: left;
    width: 20%;
    height: 100%;
    visibility: visible;
}

#mainnew-topgallery .controls-arrow .arrow-center {
    display: inline-block;
    float: left;
    width: 60%;
    height: 100%;
    visibility: hidden;
} 

#mainnew-topgallery .controls-arrow .arrow-right {
    display: inline-block;
    cursor: e-resize;
    float: left;
    width: 20%;
    height: 100%;
    visibility: visible;
}

#mainnew-topgallery .controls
{
    position: relative;
    z-index: 3;
    width: 960px;
    margin: 0 auto 0;
    display: none;
}

#mainnew-topgallery .controls .goto {
    display: inline-block;
    position: relative;
    top: 7px;
    width: 15px;
    height: 15px;
    background: url("/static/img/slider.png") -15px 0px no-repeat;
}

#mainnew-topgallery .controls .goto:hover, #mainnew-topgallery .controls .goto.active {
    background-position: 0px 0px;
}

.mainnew-wrapper {
    width: 960px;
    margin: 0 auto;
    font-family:CirceLight, 'PT Sans', sans-serif;
}

.mainnew-wrapper-big {
    width: 100%;
    margin: 0 auto;
    font-family:CirceLight, 'PT Sans', sans-serif;
}

.mainnew-wrapper-footer {
    width: 960px;
    height: 100px;
    margin-top: 40px;
    margin-right: auto;
    margin-bottom: 10px;
    margin-left: auto;
    font-family:CirceLight, 'PT Sans', sans-serif;
}                          

.mainnew-footer-coop {
    width: 960px;
    height: 50px;
    margin: 0 auto;
    font: 11px/11px CirceLight, 'PT Sans', sans-serif;
}

.mainnew-footer-text {
    width: 960px;
    margin: 0px auto;
} 

.mainnew-footer-col {
    width: 310px;
    margin-right: 15px;
    float: left;

}

.mainnew-footer-colr {
    width: 310px;
    float: left;

}

.mainnew-footer-colr .social {
    color: #3ab839;
}

.mainnew-footer-colr .social a
{
    background: url("../img/header-social-new.png") no-repeat;
    display: inline-block;
    width: 37px;
    height: 37px;
}
.mainnew-footer-colr .social .twitter
{
    background-position: 0px 0;
    margin-right: 14px;
}

.mainnew-footer-colr .social .facebook
{
    background-position: -54px 0;
    margin-right: 14px;
}
.mainnew-footer-colr .social .instagram
{
    background-position: -110px 0;
    margin-right: 14px;
}
.mainnew-footer-colr .social .youtube
{
    background-position: -165px 0;
    margin-right: 14px;
}
.mainnew-footer-colr .social .rss
{
    background-position: -220px 0;
    margin-right: 14px; 
}
.mainnew-footer-colr .social .vk_com
{
    background-position: -274px 0;
}
 


.mainnew-footer-colr .social .twitter:hover
{
    background-position: 0px 100%;
}
.mainnew-footer-colr .social .facebook:hover
{
    background-position: -54px 100%;
}
.mainnew-footer-colr .social .instagram:hover
{
    background-position: -110px 100%;
}
.mainnew-footer-colr .social .youtube:hover
{
    background-position: -165px 100%;
}
.mainnew-footer-colr .social .rss:hover
{
    background-position: -220px 100%;
}                                      

.mainnew-footer-colr .social .vk_com:hover
{
    background-position: -274px 100%;
}


.mainnew {
    margin: 0px auto;
    background-color: #ffffff;
    position: relative;
    z-index: 0;
}

.mainnew-big {
    margin: 0px auto;
    background-color: #ffffff;
    position: relative;
    z-index: 0;
} 

.mainnew h1 {
    margin-bottom: .5em;
}
.mainnew-item {
    float: left;
    /*margin-right: 15px;*/
    margin-bottom: 15px;
}

.mainnew-item.col-1 {
    width: 310px;
}

.mainnew-wrapper.col-1 {
    margin: 0 auto;
}

.mainnew-item.col-2 {
    width: 100%;
}

.mainnew-item.col-3 {
    width: 635px;
}

.mainnew-item.col-4 {
    width: 960px;
}

.mainnew-item-content {
    position: relative;
}
.mainnew-item-content .bigger {
    font: 25px/30px  CirceRegular, 'PT Sans', sans-serif;
}
.mainnew-item-content .link {
    color: #808285;
}
.mainnew-item-content .link:hover {
    text-decoration: none;
    border: none;
}

.b-menu {
    width: 100%;
}
.b-menu li {
    position: relative;
}

.b-menu > li {
}

.b-menu span {
    background: #fff;
    display: block;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}

.b-menu__sub {
    z-index: 3;
    width: 100%;
    visibility: hidden;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
}
                              
.b-menu__sub__list {
    visibility: hidden;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: visibility 0s linear 300ms, -webkit-transform 300ms linear;
    -moz-transition: visibility 0s linear 300ms, -moz-transform 300ms linear;
    -ms-transition: visibility 0s linear 300ms, -ms-transform 300ms linear;
    -o-transition: visibility 0s linear 300ms, -o-transform 300ms linear;
    transition: visibility 0s linear 300ms,  transform 300ms linear;
}

.b-menu li:hover .b-menu__sub__list {
    visibility: visible;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);

    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -ms-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}                            


.photo_top,
.photo_top_double,
.photo_top_triple {
  margin-bottom: 15px;
}

.photo_top, 
.photo_top_double,
.photo_top_triple,
.text_over_photo, 
.text_over_photo_double,
.text_over_photo_triple,
.text_over_photo_stat, 
.text_over_photo_stat_double,
.text_over_photo_stat_triple,
.gallery {
  font-size: 14px;
  line-height: 20px;
}

.link-shadow:hover {
    opacity: 0.3;
    transition: opacity 0.7s ease-in-out;

} 

.text_over_photo .text,
.text_over_photo_double .text,
.text_over_photo_triple .text {
  color: #3A3A3A
}    


.photo_top img, 
.text_over_photo img,
.text_over_photo_stat img {
  width: 310px;
}

.photo_top_double img, 
.text_over_photo_double img,
.text_over_photo_stat_double img {
  width: 635px;
}

.photo_top_triple img,
.text_over_photo_triple img,
.text_over_photo_stat_triple img {
  width: 960px;
}

.photo_top_full img,
.text_over_photo_full img,
.text_over_photo_stat_full img {
  width: 100%;
} 


.text_over_photo .block, 
.text_over_photo_double .block,
.text_over_photo_triple .block,
.text_over_photo_full .block, 
.text_over_photo_stat .block,
.text_over_photo_stat_double .block,
.text_over_photo_stat_triple .block, 
.text_over_photo_stat_full .block {
    position: relative;
    overflow: hidden;
}

.text_over_photo .img img, 
.text_over_photo_double .img img,
.text_over_photo_triple .img img, 
.text_over_photo_full .img img {
    display: block;
}

.text_over_photo .img-desc, 
.text_over_photo_double .img-desc, 
.text_over_photo_triple .img-desc,
.text_over_photo_full .img-desc {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    left: 0;
    bottom: 0px;
    padding: 10px 20px;
    opacity: 1;
    box-sizing: border-box;
    transition: bottom 0.6s, opacity 0.8s;
}

.text_over_photo .block:hover .img-desc, 
.text_over_photo_double .block:hover .img-desc, 
.text_over_photo_triple .block:hover .img-desc,
.text_over_photo_full .block:hover .img-desc {
    opacity: 1;
    bottom: 0px;
}

.text_over_photo_stat .img-desc, 
.text_over_photo_stat_double .img-desc, 
.text_over_photo_stat_triple .img-desc,
.text_over_photo_stat_full .img-desc {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.76);
    position: absolute;
    left: 0;
    top: 0;
    padding: 10px 20px;
    opacity: 0;
    box-sizing: border-box;
    transition: opacity 0.7s ease-in-out;

}

.text_over_photo_stat .block:hover .img-desc, 
.text_over_photo_stat_double .block:hover .img-desc, 
.text_over_photo_stat_triple .block:hover .img-desc,
.text_over_photo_stat_full .block:hover .img-desc {
    opacity: 1;    
    top: 0px;
} 

.text_over_photo_full .img-desc-big,
.text_over_photo_stat_full .img-desc-big {
    position: relative;
    margin: 0 auto;
    width: 960px;
}

.mainnew-item-content .title {
    font-family:CirceBold, 'PT Sans', sans-serif;
    margin-top: .3em;
    margin-bottom: 1em;
    color: #808285;
}

.mainnew-item-content .text {
}

.mainnew-gallery {
    position: relative;
}

.mainnew .gallery-link{
    color: #808285;
}
.mainnew .gallery-link:hover {
    text-decoration: none;
    border: none;
    color: #808285;
}
.mainnew-gallery img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.mainnew-gallery .controls {
    position: absolute;
    width: 100%;
    height: 40px;
}
.mainnew-gallery .next {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
}

.mainnew-gallery .goto:hover, .mainnew-gallery .goto.active {
    background-position: -1px -1px;
}

.mainnew-gallery .previous {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
}

.mainnew-gallery .next:hover, .mainnew-gallery .previous:hover {
    background-color: #34b233;
}


.masonry,
.masonry .masonry-brick {
    -webkit-transition-duration: 0.7s;
    -moz-transition-duration: 0.7s;
    -ms-transition-duration: 0.7s;
    -o-transition-duration: 0.7s;
    transition-duration: 0.7s;
}

.masonry {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

.masonry .masonry-brick {
    -webkit-transition-property: left, right, top;
    -moz-transition-property: left, right, top;
    -ms-transition-property: left, right, top;
    -o-transition-property: left, right, top;
    transition-property: left, right, top;
}
