﻿@media only screen and (max-width:649px) {
    .width-tiny-100-procent {
        width: 100% !important;
        height: auto !important;
    }

    .tiny-hide {
        display: none;
    }

    .width-100-tiny {
        width: 100% !important;
    }


    .width-50-tiny {
        width: 50% !important;
    }

    .autowidth {
		width: 100%;
	}

	.display-screen-big {
		display: none;
	}

	.display-screen-medium {
		display: none;
	}

	.display-screen-small {
		display: none;
	}

    .display-screen-tiny {
		display: block;
	}

	.display-screen-small-big {
		display: none;
	}

	.display-screen-small-medium {
		display: none;
	}

    .display-screen-tiny-small-medium {
		display: block;
	}

	.display-screen-medium-big {
		display: none;
	}

    .display-screen-small-medium-big {
        display: none;
    }

    .main .mainContent .content, .main .mainContent .contentmainpage {
        width: 100%;
		padding-right: 0;
		border: 0;
    }

    img {
        width: 100%;
        height: auto;
    }

    video {
        width: 100%;
        height: auto;
    }

    .content {
        word-wrap: break-word;
    }

    .mainContentFromPage iframe,
    #mainContentFromPage iframe {
        width: 100%;
    }

    .mainContentFromPage,
    #mainContentFromPage {
        overflow: hidden;
    }

    .mainContentFromPage .gallery-item-img > div img,
    #mainContentFromPage .gallery-item-img > div img {
        width: auto !important;
    }

    .mainContentFromPage img,
    #mainContentFromPage img {
        width: 100% !important;
        height: auto !important;
    }

    .mainContentFromPage .afisha-c-b,
    #mainContentFromPage .afisha-c-b {
        width: 50%;
    }

    /* commnets */
    .comments_template .comments .user {
        display: none;
    }
    .comments_template .comments .comment-content {
        margin: 0;
    }
    .comments_template .comments_answer {
        padding: 0 0 0 27px;
    }
    .comments_template .comments_answer_margin {
        margin: 0 0 22px 27px;
    }
    .comments_template .comment_hide_button {
        width: 25px;
    }
    .comments_template .comment_hide_button_first {
        left: 4px;
    }
    .comments_template .comments .answer_comment_padding {
        padding: 0;
    }

    .comments_template .answer_comment_form form > .comment_dop_content,
    .comments_template .comment-content > .commentItem > .comment_dop_content,
    .comments_template .comment-content > .commentItem > .comment_dop_content_jpg {
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
    }

    .comments_template .video-pleer {
        width: auto;
        height: 225px;
    }

    .comments_template .comment_dop_content iframe {
        width: 100%;
        height: 225px;
    }

    .comments_template .video-pleer img {
        max-width: 300px;
        max-height: 225px;
    }
    .comments_template .list-all-comments,
    .infog .model-data-comments {
        min-width: 0;
    }

    .comments_template .comments_add_button,
    .comments_template .comments_answer_user {
        float: none;
        margin: 0 0 10px;
    }

    .footer {
        padding: 0 10px;
    }

    .footer .footer-center .listitems .item {
        height: auto;
    }

    .footer .footer-center .footer-info {
        position: relative;
    }

    .comments_template .comments_main_title .view {
        position: relative;
        top: 8px;
    }

    .MainMenuRazdel {
        padding: 0 10px;
    }

    .mainContentPadding {
        padding: 0 10px;
    }

    .afisha-main-menu .item-big img {
        position: relative;
        left: 0;
    }
    .afisha-main-menu .item-big > a,
    .afisha-main-menu .item-small-1 > a,
    .afisha-main-menu .item-small-2 > a,
    .afisha-main-menu .item-small-3 > a {
        border-bottom: 1px solid #fff;
    }

    .content-news-width-main {
        float: none;
    }

    .section-last-news {
        margin-left: 0;
    }

    .section-last-news > div {
        position: relative;
    }
    .fon-white {
        left: 0;
    }
    .listitems .item {
        height: auto;
        margin: 0 0 13px;
    }

    .listitems .itemsmall {
        margin: 0 2% 13px;
    }
    .width-29-tiny {
        width: 29% !important;
    }
    .width-4-tiny {
        width: 21% !important;
    }
    .list-on-bg-main .item {
        padding: 0 2.1% !important;
    }

    .h2-rubric a {
        font-size: 21px;
        line-height: 40px;
    }

    .login-content {
        width: 270px;
    }
    .social-login-list img {
        width: 36px;
    }
    .modal-content-right .modal-window-close {
        padding: 5px;
    }

    .gallery-item-parent {
        height: 120px;
    }


    /* begin content transform */
    h1, .h1, .font-robota-h1 {
        font-size: 36px;
        line-height: 40px;
    }

    blockquote {
        font-size: 22px !important;
        line-height: 26px;
    }

    .content .golova_image {
        width: 50px;
    }
    .content .golova_image img {
        width: 50px;
    }
    .content .golova_text {
        margin: 0 0 0 60px;
    }

    /* end content transform */


    /* begin shared block */
    .shared-item-det {
        clear: both;
    }

    .shared-item-icon {
        width: 25%;
    }

    .shared-item-det:first-child {
        border-top: 1px solid #CCCCCE;
    }

    .shared-item-icon:last-child .span-block {
        border-right: 0;
    }
    /* end shared block */


    .afisha-main-menu .item-def {
        float: none;
    }
}

@media only screen and (max-width:983px) and (min-width:650px) {
	.autowidth {
		width: 612px;
	}

    #news_upload_content {
        position: relative;
        overflow: hidden;
    }

    .display-screen-small-medium-big {
        display: block;
    }

	.display-screen-big {
		display: none;
	}

	.display-screen-medium {
		display: none;
	}

	.display-screen-small {
		display: block;
	}

    .display-screen-tiny {
		display: none;
	}

	.display-screen-small-big {
		display: block;
	}

	.display-screen-small-medium {
		display: block;
	}

    .display-screen-tiny-small-medium {
		display: block;
	}

	.display-screen-medium-big {
		display: none;
	}

    .main .mainContent .content,.main .mainContent .contentmainpage {
		padding-right: 0;
		border: 0;
	}

	div.main ul.topMenu li > div {
		width: 610px;
	} 


	ul.topMenu li {
		width: 131px;
	}
	div.main ul.topMenu li.last-child {
		width: 27px;
	}
	div.main ul.topMenu li.last-child > a {
		background-position: 8px 9px;
	}


	ul.topMenu .auth-user-profile {
		width: 288px;
	}
	ul.topMenu .auth-user-profile > a {
		width: 286px;
	}

	.field_search_main input.search {
		width: 238px;
	}

	.short_user_profile {
		width: 288px;
	}
	.short_user_profile .unav li {
		padding: 0 4px;
	}

	.footer-center .listitems .item-footer-small {
		height: 260px;
	}

	.footer-center .footer-info {
		width: 612px;
		left: 0;
		bottom: 0;
	}

	.footer-center {
		padding: 20px 0 340px;
	}
	.footer-center .footer-info .item {
		width: 288px;
	}
	.footer-center .footer-info-div {
		width: 648px;
	}
	.topinfogalleryblock {
		padding-right: 0;
	}

    .afisha-main-menu .item-big > a,
    .afisha-main-menu .item-small-3 > a {
        border-right: 1px solid #fff;
    }
    .afisha-main-menu .item-big > a,
    .afisha-main-menu .item-small-1 > a,
    .afisha-main-menu .item-small-2 > a {
        border-bottom: 1px solid #fff;
    }
}

@media only screen and (min-width:984px) {
	.autowidth {
		width: 954px;
	}

    .display-screen-small-medium-big {
        display: block;
    }

	.display-screen-big {
		display: none;
	}
	.display-screen-medium {
		display: block;
	}
	.display-screen-small {
		display: none;
	}
    .display-screen-tiny {
		display: none;
	}

	.display-screen-small-big {
		display: none;
	}
	.display-screen-small-medium {
		display: block;
	}
    .display-screen-tiny-small-medium {
		display: block;
	}
	.display-screen-medium-big {
		display: block;
	}


	td.display-screen-medium-big {
		display: table-cell;
	}
	span.display-screen-medium-big {
		display: inline;
	}

	ul.topMenu li {
		width: 130px;
	}
	div.main ul.topMenu li > div {
		width: 952px;
	}
	div.main ul.topMenu li.last-child {
		width: 91px;
	}


	ul.topMenu .auth-user-profile {
		width: 240px;
	}
	ul.topMenu .auth-user-profile > a {
		width: 238px;
	}

	.footer-center .listitems .item-footer-small {
		height: 245px;
		border: 0;
	}

	.footer-center .footer-info {
		width: 240px;
		right: 0;
		top: 0;
	}

	.footer-center .footer-info-div {
		width: 240px;
	}

	.topinfogalleryblock {
		padding-right: 0;
	}

    .afisha-main-menu .item-big > a,
    .afisha-main-menu .item-small-3 > a {
        border-right: 1px solid #fff;
    }
    .afisha-main-menu .item-big > a,
    .afisha-main-menu .item-small-1 > a,
    .afisha-main-menu .item-small-2 > a {
        border-bottom: 1px solid #fff;
    }
}

@media only screen and (min-width:1269px) {
	.autowidth {
		width: 1240px;
	}

	.display-screen-big {
		display: block;
	}
	td.display-screen-big {
		display: table-cell;
	}
	.display-screen-medium {
		display: none;
	}
	.display-screen-small {
		display: none;
	}
    .display-screen-tiny {
		display: none;
	}

	.display-screen-small-big {
		display: block;
	}
	.display-screen-small-medium {
		display: none;
	}
    .display-screen-tiny-small-medium {
		display: none;
	}
	.preloadmainpage .display-screen-small-medium {
		display: block;
	}
	.display-screen-medium-big {
		display: block;
	}
	td.display-screen-medium-big {
		display: table-cell;
	}
	span.display-screen-medium-big {
		display: inline;
	}

	.main .mainContent .contentmainpage {
		width: 936px;
		padding-right: 33px;
	}
	.main .mainContent .content {
        padding-right: 33px;
    }

    .contentmainpage .listitems, .footer .listitems {
        width: 972px;
    }

    .contentmainpage .content-fix-width-center .listitems {
        width: 648px;
    }

	.contentmainpage .content-main-news-afisha {
		width: 936px;
	}


	ul.topMenu li {
		width: 139px;
	}
	div.main ul.topMenu li > div {
		width: 1238px;
	}
	div.main ul.topMenu li.last-child {
		width: 101px;
	}

	div.list-on-bg-main {
		
	}
	div.list-on-bg-main > .item {
		padding: 0 0 0 36px;
	}
	.preloadmainpage div.list-on-bg-main {
		padding: 9px 0 16px;
	}
	.preloadmainpage div.list-on-bg-main > .item:first-child {
		padding: 0;
	}
	.preloadmainpage div.list-on-bg-main > .item {
		padding: 0 0 0 36px;
	}
	.preloadmainpage .display-screen-big {
		display: none;
	}


	ul.topMenu .auth-user-profile {
		width: 240px;
	}
	ul.topMenu .auth-user-profile > a {
		width: 238px;
	}
	.footer-center .listitems .item-footer-big {
		border: 0;
	}

	.footer-center .footer-info {
		width: 240px;
		right: 0;
		top: 0;
	}

	.footer-center .footer-info-div {
		width: 240px;
	}

	.main-slider-padding {
		left: -450px;
	}
	.main-slider-button-left {
		left: 46px;
	}
	.main-slider-button-right {
		right: 46px;
	}
	.main-slider {
		width: 936px;
	}

	.additionalcolumn {
		display: block;
	}

	.contentmainpage .lenta-blog-slider > ul {
		width: 550px;
	}
	.preloadmainpage .contentmainpage .lenta-blog-slider > ul {
		width: 400px;
	}

	.topinfogalleryblock {
		padding-right: 260px;
	}

	.preloadmainpage .contentmainpage .listitems {
		width: 648px;
	}

    .content-afisha-top-5 .afisha-main-menu .item-def {
        width: 311px;
    }

    .content-afisha-top-5 .afisha-main-menu .item-big {
        width: 314px;
    }

    .afisha-main-menu .item-big > a,
    .afisha-main-menu .item-small-1 > a,
    .afisha-main-menu .item-small-3 > a {
        border-right: 1px solid #fff;
    }
    .afisha-main-menu .item-small-1 > a,
    .afisha-main-menu .item-small-2 > a,
    .preloadmainpage .afisha-main-menu .item-big > a {
        border-bottom: 1px solid #fff;
    }
    .afisha-main-menu .item-big > a {
        border-bottom: 0;
    }
}

@media only screen and (min-width:710px) {
	.main-post {
		display: block;
	}
}

@media only screen and (min-width:720px) {
    .infog .gallerycontentcenter {
        width: 612px;
    }
}