/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1125px) {
    .order {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin:1em 0;
    }
    .news-header-block .news_ref {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .news-wrap-home .sidebar-phone {
        float:none;
        margin:1em auto;
    }
}
@media only screen and (max-width : 1200px) {
    main {
        padding-top:4em !important;
    }
    header .navbar-nav>li>a {
        padding:1em 3em;
    }
    #models_phone, #news, #plan-wrap,#obzor_m, #state_m {
        display: none;
    }
    .dropdown i {
        display: block;
    }
    .close-mob {
        display: block;
    }
    .logo_header.mob {
        padding:0.5em 0;
        display: block;
    }
    main .banners img{
        width: 100%;
    }
    .navbar-header {
        padding: 4px 0;
    }
    .navbar-header.col-xs-4 {
        width: 30.333333%;
    }
    main .news_item_info {
        padding: 26px 33px 21px;
    }
    main .top_block .news_item_image img {
        height: 136px;
    }


    main .lengthy .news_item_title .title{
        width: 100%;
        padding: 18px 33px;

    }



    .search_log{
        text-align: right;
        padding: 15px 0;
        margin: 0px 6px;
        zoom: 1.2;
    }
    .logo_header{
        display: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin:0 !important;
    }
    .navbar-nav>li {
        float: none;
        background:#2C2C2C;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
        padding-top: 45px;
    }
    .navbar-toggle .icon-bar {
        color: #fff;
        background: #fff;
    }
    .navbar-toggle {
        border: 1px solid #f2f3f5;
    }
    .menu .navbar-nav>li.search{
        display: none;
    }
    .serch_bar{
        display:block;
        float: left;
        padding:0;
        text-align: right;
    }
    .serch_bar img {
        cursor: pointer;
    }
    .col-lg-4{
        width: 33.33333333%;
    }
    .middle_block.banner{
        width: 252px;
    }
    .col-sm-9.fix {
        width: 71%;
    }

    .fix .news_item_info .view {
        float: left;
        padding-bottom: 15px;
    }
    .fix .news_item_info .date, .fix .news_item_info .view {
        width: 100%;
    }
    main .news_list_title {
        font-size: 16px;
    }
    main .news_list {
        padding: 6px 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width:100%;
    }


    header .navbar-nav{
        width: 100%;
        height: 100vh;
        position: absolute;
        background: #2c2c2c;
        left: -100%;
        top:0;
        z-index: 9999;
    }
    header .menu{
        width: 100%;
    }
    .navbar-toggle {
        float: left;
        margin: 0 auto;
    }

    .middle_block.banner {
        height: 206px;
    }
    footer .top_row a {
        padding: 0 0 0 10px;
    }

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

    header .navbar-nav>li>a {
        font-size:16px;
    }

    .tab-content {
        margin-top: 1em;
    }
    .news-page-content .social-items {
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
    .news-page-content .social-items .social-block {
        margin:0.5em 0;
    }
    .social-phone {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .news_ref_mobile {
        text-align:center;
        line-height: 40px;
    }
    #f-news {
        display: block;
        color:#000;
        text-align: center;
    }

    .news-header-block .news_ref {
        display: none;
    }



    .mobile-right {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin-left: 1em;
    }

    .sidebar-phone {
        margin:0 auto;
    }
    .content-phone h1 {
        display: none;
    }
    .phone-img h1 {
        display: block;
        text-align: center;
        padding: 0.2em 0;
        margin: 0;
    }
    .wrap-phone h1 {
        text-align: center;
        color: #292929;
        font-size: 28px;
        font-family: 'Museo Sans Cyrl 300';
        font-weight: bold;
        display: block;
    }
    .wrap-phone h2 {
        display: none;
    }


    .text-phone .gtr {
        margin:1em 0;
    }
    .content-phone {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    main .banners img, main .top_block .news_item_image img, main .news_list_image img{
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    main .banners img{
        width: 100%;
    }
    main .tab_top .tab_title.w100{
        width: 100%;
    }
    main .newsblock .news_item_info {
        padding: 4px 18px 2px;
        float: left;
    }
    main .lengthy .news_item_title .title {
        width: 99%;
        font-size: 19px;
        padding: 12px 33px;
    }
    main .owl-carousel .owl-stage-outer {
        width: 82%;
    }
    main .news_list {
        padding: 6px 0;
    }
    .date, .view {
        font-size: 14px;
    }
    main .top_block .news_item_image {
        height: auto;
    }

    .search form {
        height: 37px;
    }
    #news .block_news .news_img img {
        height: 84px;
    }
    #news .block_news .news_title a {
        -webkit-line-clamp: 3;
        font-size: 10px;
    }
    .phones_models {
        float: left;
        width: 21%;
    }
    main .newsblock .news_item_title .title {
        font-family: 'Museo Sans Cyrl 500';
        padding: 5px 18px 0;
        font-size: 15px;
        font-weight: 300;
        cursor: pointer;
    }
    main .lengthy img {
        height: 210px;
    }
    .col-sm-9.fix {
        width: 64.5%;
    }
    .middle_block.banner {
        height: 209px;
        padding: 0;
        margin:1em auto;
    }
    main .tab_top .tab_title {
        width: 35%;
    }
    main .tab_top .tab_ref{
        width: 65%;
    }
    main .review .lengthy img {
        height: 203px;
    }

    main .newsblock .fix .top_block .news_item_image {
        height: 111px;
    }
    .newsblock .fix .news_item_info .date, .newsblock .fix .news_item_info .view {
        width: 100%;
        padding-bottom: 4px;
        float: left;
        font-size: 11px;
    }

    main .heading .lengthy img {
        height: 299px;
    }
    main .heading  .top_block .news_item_title .title {
        padding: 12px 26px 0;
        font-size: 15px;
    }
    main .heading  .lengthy .news_item_title .title {
        padding: 14px 33px;
        font-size:16px;
    }

    .main .heading .news_item_info{
        padding: 11px 26px 0;
    }
    .heading .date, .heading .view {
        font-size: 11px;
        line-height: 24px;
    }
    main .compare {
        padding-bottom: 14px;
    }
    main .compare .item_compare {
        float: none;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        clear: both;
        width: 28%;
        padding: 4% 0;
        margin: 0 auto;
    }
    main .compare .btn-compare .text:before {
        left: 75px;
    }
    main .compare .item_model {
        width: 26%;
    }
    .flex .col-xs-12{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    footer .top_row a{
        padding: 0;
        text-align: center;
    }
}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

    main .rowing {
        margin: 0px;
    }
    main .top_block, main .lengthy {
        margin-bottom: 1em;
    }

    #latest_show .news_list_image {
        width:45%;
    }


    .height_heading {
        height: auto !important;
    }

    .content-wrap-news .lengthy img {
        height: auto;
    }
    .news-page-content .date {
        font-size:12px;
    }

    .items-news-block {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .news-wrap-home .col-lg-9 {
        padding: 0;
    }
    .block-news {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .text-news-block p, .bottom-a {
        display: none;
    }

    .block-news h3 {
        margin:0 0 1em 0;
        font-size: 16px;
    }

    .block-news p {
        font-size:14px;
    }


    .brend-wrap, .wrap-phone, .news-wrap-home, .news-page-wrap {
        padding:0 2em;
    }

    .items-brend .item {
        width:30%;
    }



    /*Disable Animation on Mobile Devices*/
    header .menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .serch_bar {
        float: right;
    }

    .navbar-toggle .icon-bar {
        background: #fff;
    }
    #models_phone, #news, #result{
        display:none;
    }
    main .tab_top .tab_title{
        width: 22%;
        padding: 0 15px
    }
    main .tab_top .tab_title.w100{
        width: 100%;
    }
    main .tab_top .tab_ref{
        width: 77%;
    }

    main .lengthy .news_item_title .title {
        width: 100%;
    }


    main .newsblock .fix .top_block .news_item_image {
        height: 111px;
    }
    main .newsblock .lengthy img {
        height: auto;
    }
    main .top_block.left .news_item_image {
        height: 143px;
    }
    main .news_item_info {
        padding: 22px 33px 21px;
    }
    main .compare .item_model {
        width: 24%;
    }
    main .owl-carousel .owl-stage-outer {
        width: 67%;
    }
    main .compare .item_compare {
        float: none;
        margin: 0 auto;
        width: 33%;
    }
    main .compare .item_compare .btn-compare{
        margin: 23px;
    }

    footer .info_footer, footer .social_footer , footer .top_row, footer .middle_row {
        text-align: center;
    }
    footer .top_row a {
        width: 100%;
        float: left;
        text-align: center;
    }
    footer .bottom_row {
        padding: 0;
    }
    main .rowing {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        display: -webkit-flex;
    }
    footer .middle_row{
        display:none;

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

    .advantages-block {
        width:120px !important;
        height: 120px !important;
        font-size: 12px !important;
        padding:0.5em;
    }
    .advantages-block h3 {
        font-size:16px;
    }
    .nav-tabs li a {
        font-size:14px;
        padding:1em 0;
    }
    .advantages-wrap {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .social-phone-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .pc-har {
        display: none;
    }
    .mobile-h {
        display: block;
    }


}
/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

    main .top_block .news_item_image img {
        height: auto;
    }
    main .review .news_item_info {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    main .review .news_item_info .date {
        color:#fff;
    }
    main .review .news_item_info .view {
        text-align: right;
    }

    .info-bottom-news {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: absolute;
        bottom:0;
        height: 100%;
        padding:1em 2em;
        width:100%;
        background-color: rgba(0, 0, 0, 0.5);
    }
    .info-bottom-news .news_item_title .title {
        padding:2em 0 !important;
        color:#fff;
        font-size:16px !important;
    }
    .info-bottom-news .news_item_info {
        padding:0 !important;
        color:#fff;
    }
    .info-bottom-news .view, .date {
        color:#fff;
    }

    .news-wrap-home .top_block .news_item_image img {
        height: auto;
    }
    .left-next, .right-next {
        background: none;
    }
    .navigation-news .gray {
        font-size:13px;
    }
    .navigation-news .black-a {
        font-size:12px;
        padding:0;
    }
    .left-next a{
        border:none;
        text-align: left;
        padding:0;
    }
    .right-next a{
        border:none;
        text-align: right;
        padding:0;
    }

    .news-page-content h1 {
        font-size:18px;
    }
    .social-news h2 {
        font-size:18px;
    }
    .news-page-content .social-items, .wrap-phone .social-items{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .text-phone .gtr {
        margin: 1em auto;
    }
    .content-items {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding:1em;
    }
    .content-phone {
        padding:0;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }
    .items-brend .item {
        width: 48%;
    }
    .wrap-phone .breadcumb {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }





    main .tab_top .tab_title,  main .tab_top .tab_ref, main .compare  .item_model{
        width: 100%;
    }


    main .nav_tab_var {
        font-size: 14px;
    }
    main .compare .item_compare {
        width: 70%;
    }
    main .lengthy .news_item_title .title {
        font-size: 16px;
    }

    .col-sm-9.fix {
        width: 100%;
    }

    main .heading .top_block .news_item_title .title {

    }
    main .rowing {
        -ms-flex-wrap: wrap-reverse;
        flex-wrap: wrap-reverse;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .middle_block.banner {
        width: 95%;
        margin: 0 auto;
        padding: 7px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
        height: 282px;
    }
    main .heading .top_block.left .view {
        float: right;
    }
    main .nav_tab_var, main .nav_tab_var.active {
        padding: 7px 8px;
    }
    main .review .rowing .lengthy{
        margin-bottom:10px;
    }

    main .tab_top .tab_ref {
        text-align: center;
    }
    main .tab_top .tab_title {
        text-align: center;
    }
    main .item_model_image {
        width: 32%;
        margin: 0 auto;
        text-align: center;
    }
    main .compare .item_model {
        margin: 0;
    }
    main .owl-carousel .owl-stage-outer {
        width: 48%;
    }
    main .newsblock .fix .top_block .news_item_image {
        height: 108px;
    }
    main .heading .lengthy img {
        height: 233px;
    }
    .search_log {
        margin: 6px 6px;
    }
    main .newsblock .news_item_title .title {
        padding:1em 1em;
        font-size: 16px;
        font-weight: 300;
        cursor: pointer;
    }
    main .lengthy .news_item_image {
        padding:2em 0;
    }
    main .newsblock .news_item_info {
        width: 100%;
    }
}
/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
    .news_list_info .date {
        display: none;
    }
    main .news_list_title {
        font-size: 14px;
    }

    .wrap-phone .col-md-8{
        padding: 0;
    }
    .meta-tags a {
        width:42%;
        margin-left:1%;
    }
    .social-wrap h3 {
        text-align: center;
    }
    .social-items {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .social-wrap .social-block {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .nav-tabs li a {
        font-size: 12px;
    }
    .table tr td {
        padding:0 !important;
    }
    main .nav_tab_var, main .nav_tab_var.active {
        padding: 7px 4px;
    }

}
@media only screen and (max-width : 1024px) {
    .bottom_state .top_block {
        background: transparent;
    }

    main .news_list .news_list_info {
        width:45%;
    }
    .middle_block.banner, .height_banner, .middles{
        display: none !important;
    }
    .height_banner .date {
        color:#fff !important;
    }
    .height_banner .news_item_info {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .height_banner .news_item_info .view {
        text-align: right;
    }
    .height_heading {
        height: 235px;
    }
    .height_img, .height_banner {
        height: auto;
    }
    .logo {
        width: 100px;
    }

    .mobile-menu {
        height:50px;
        position: fixed;
        top:0;
        background: #2C2C2C;
        padding:0 1em;
    }
    .user_log {
        padding:0 3em;
    }
    .sticking {
        height: 100%;
    }
    .search .search_form.dop input[type="text"] {
        width:100%;
        margin:0;
        padding:0.5em;
    }

    #search_head .search{
        padding:0.5em ;
    }
    #search_result {
        display: none;
    }
    .content-wrap-news {
        margin-top: 1em;
    }
    .news-header-block {
        display: none;
    }

    .sidebar-phone, .news-text-bottom {
        display: none;
    }
    .news-wrap-home .sidebar-phone {
        display: none;
    }
    .col-md-4 .sidebar-wrap {
        display: none;
    }

    .advantages-block {
        width:140px;
        height: 140px;
    }
    .items-wrap .item {
        width:50%;
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .items-wrap .item img {
        padding: 0 0.5em !important;
        border:none;
    }
}
/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

@media screen and (max-width: 380px) {
    .news_list .news_list_image {
        width:49%;
    }

    .dropdown-menu li {
        padding:0.1em 3em;
    }
    .bottom_state .view {
        display: none;
    }
    .bottom_state .top_block .top-right {
        width:45%;
    }
    main .top_block, main .lengthy {
        border-radius: 5px !important;
    }
    .bottom_state {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .bottom_state .top_block .news_item_image {
        border-radius: 0 !important;
        width:45%;
    }
    .img-bottom-state .top_block .news_item_image {
        width:49% !important;
    }

    .bottom_state .top_block .news_item_info {
        padding:0.2em 0;
    }
    .bottom_state .top_block {
        margin:0 !important;
        padding:1em 0;
        border-top: 1px solid #e8e9ed;
        width:100% !important;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: justify;
        justify-content: space-between;
        border-radius: 0 !important;
    }

    .bottom_state .top_block  .news_item_title .title {
        padding:0;
    }

    .bottom_state .news_item_info {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .bottom_state .news_item_info .view {
        text-align: right;
    }
    header .navbar-nav>li>a {

        padding:1em;
    }
    .news-wrap-home .col-lg-9 {
        padding:0 20px !important;
    }
    .block-news h3 {
        font-size: 12px;
    }
    .block-news img {
        width: 121px;
        margin-right: 1em !important;
        height: 100px;
    }
    .content-wrap-news .news_item_title .title {
        font-size: 13px;
    }
    .news-wrap-home .tab-content .news_item_title .title {
        padding:0.5em 1em !important;
        text-align: center;
    }
    .news-wrap-home .tab-content .news_item_info {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        padding:0 !important;
        text-align: center;
    }
    .date, .view {
        font-size: 12px;
    }
    .table tr td {
        padding:0 0.5em !important;
    }
    .news-page-content .date {
        font-size: 10px;
    }
    .news-page-content .news_item_title .title {
        padding:0;
        font-size:12px;
        padding:5px 0;
    }
    .nav-tabs li a {
        font-size: 10px;
    }
    .comment-text input {
        background: none;
    }
    .news-page-content .news_item_info {
        padding:0 8px;
    }
    main .fix .top_block .news_item_image {
        height: auto;
    }
    .bottom-news-block {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .bottom-a {
        margin:1em 0;
    }


    .items-wrap .item {
        width: 100%;
    }

    .content-phone-wrap .tab_ref {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .items-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .wrap-phone h3 {
        text-align: center !important;
        font-size:18px !important;
    }

}

/* Small Devices, Tablets */
@media (max-width : 992px) and (max-width : 768px) {


    .advantages-wrap {
        margin:1em 0;
    }


    .mobile-modal {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        border-bottom:1px solid #dfe1e8;
        padding:1em 0;
    }

    .gtr {
        width:50% !important;
    }
    #filter-block .sidebar-wrap img.img-responsive {
        display: none;
    }
    .mobile-modal p {
        color:#000;
        font-size:16px;
    }
    #slider-pc {
        padding:0 1em;
    }
    .tab_ref {
        display: none !important;
    }
    main .top_block.left .news_item_image {
        height: auto;
    }
    #phones_m .dropdown-menu, #news_m .dropdown-menu{
        dispalay:none!important;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {



}