
/*-=Small screens=-*/

@media only screen and (max-width: 40em) { 

    /* TOP BAR Mobile STYLING */
    .top-bar {
        background: #333333; /* change background color if you need */
    }

    .top-bar-section ul li > a{
        color: white; /* change color of text if you need */
        font-size: 13px;  
        background: #333333; /* change background color if you need */
    }

    .top-bar-section ul li:hover > a{
        background: #111 !important; /* change background color if you need */
    }
    .before_header {
        height: auto;
    }
    .hfirst,
    .owl-pagination {
        display: none;
    }
    .hfirst, .hsecond, .hthird, .hfourth {
        text-align: center;
    }
    p.hphone,
    #home-slider {
        background: none;
    }
    #menu-menyu-v-shapke li { float:none; text-align: center; } 
    #qtranslate-2 {
        display: table;
        margin: 0 auto;
        float: none !important;
        text-align: center;
    }
    #qtranslate-2 li, li#qtranslate-2 {
        float: none;
        margin: 0 auto;
    }
    li#search-4 {
        float: none;
        margin-bottom: 10px;
    }
    #search-4 .small-8,
    #search-4 input[type="text"] {
        width: 100%;
    }
    #search-4 input[type="submit"] {
        display: none;
    }
    .home .logo {
        position: relative;
        margin: 0 auto;
        display: table;
    }
    #home-slider .slider_caption {
        position: relative;
        padding: 0;
        margin-bottom: 10px;
    }
    .slider_caption h3 {
        font-size: 20px;
        margin-top: 10px;
    }
    .slider_caption p {
        font-size: 16px;
        display: inline;
        padding: 5px;
    }
    .owl-theme .owl-controls .owl-buttons {
        top: 34%;
    }
    .top-bar,
    .top-bar-section ul,
    .top-bar-section ul li > a,
    .top-bar-section ul li:hover {
        background: none;
    }
    .top-bar.expanded .title-area {
        background: none;
        color: #000;
    }
    #menu-glavnoe-menyu a {
        font-size: 16px;
        text-shadow: none;
    }
    .home h2 {
        font-size: 25px;
    }
    .slider_tours span.blue,
    .slider_tours span.orange  {
        width: 100%;
    }
    #partners {
        width: 100%;
        margin: 10px 0;
    }
    #our_tours .owl-buttons, #popular_rours .owl-buttons {
        margin-top: 20px;
    }
    .partners_tours {
        background: none;
    }
    .partners_tours h2,
    #dc_jqaccordion_widget-3 {
        display: none;
    }
    footer {
        height: auto;
    }
    footer p.copyright,
    footer p.phone {
        text-align: center;
    }
    .with_img {
        display: table;
        margin: 10px auto;
    }
    .categories {
        margin-bottom: 20px;
    }
    .price span {
        display: block;
        margin: 0 0 5px;
    }
    .price p {
        text-align: center;
    }
    .tabs dd {
        text-align: center;
        display: block;
        width: 100%;
    }
    .tabs dd a {
        font-size: 18px;
    }
    .single h2 {
        text-align: center;
        margin: 10px;
    }
    .owl-theme .owl-controls .owl-buttons {
        width: 96%;
    }
    #partners div.owl-prev {
        left: 0% !important;
    }
    .tour_list a.read_more {
        width: 90%;
        left: 5%;
    }
} /* max-width 640px and lower. Use this for mobiles only */

/*-=Medium screens=-*/
@media only screen and (min-width: 40.063em) {

    /* TOP BAR STYLING */
    .top-bar {
        background: transparent; 
    }

    .top-bar-section ul{
        background: transparent;
    }

    .top-bar-section li:not(.has-form) a:not(.button){
        color: #fff; 
        background: transparent; 
        font-family: Calibri, sans-serif;
    }

    .top-bar-section li:not(.has-form) a:not(.button):hover{
        color: #000; 
        background: #f7ac4d; 
    }

    .top-bar-section li.current_page_item > a:not(.button){
        color: #000; 
        background: #f7ac4d; 
    }

    .top-bar-section .has-dropdown > a{
        padding: 0 15px !important;
    }

    .top-bar-section .has-dropdown > a:after{
        display: none;
    }

    /* Dropdown Styling*/
    .top-bar-section ul li:hover:not(.has-form) > a{
        color: #000; 
        background: #f7ac4d;
    }
    #menu-glavnoe-menyu .dropdown li {
        font-size: 16px !important;
    }
    .top-bar-section .dropdown li:not(.has-form) a:not(.button) {
        color: #fff; 
        background: #f7ac4d;
    }

    .top-bar-section .dropdown li:not(.has-form):hover > a:not(.button){
        color: #000; 
        background: #f7ac4d;
        font-size: 16px;
    }

    .top-bar-section .has-dropdown > .dropdown li .dropdrown_menu li a{
        background: blue; 
    }

    .top-bar-section .has-dropdown > .dropdown li .dropdrown_menu li:hover a{
        color: white;
        text-decoration: underline;
        background: red; 
    } 

    .top-bar-section .has-dropdown.hover > .dropdown li, 
    .top-bar-section .has-dropdown.not-click:hover > .dropdown li{
        border-bottom: 1px solid #ccc; /* change border of dropdown */
    }

    /* Align Menu to the right 
        .top-bar-section { float:right; } */

    /* Align Menu to the center
        .top-bar-section { float:none; text-align: center; }
        .top-bar-section ul{display: inline-block;} */





}  /* min-width 641px */

@media only screen and (min-width: 40.063em) and (max-width: 64em) { 
    .before_header {
        height: auto;
        padding-bottom: 10px;
    }
    .hfirst a {
        margin-left: 25px;
    }
    p.hphone {
        text-align: right;
        background: none;
    }
    #menu-menyu-v-shapke {
        display: table;
        margin: 0 auto;
    } 
    #search-4 input[type="text"],
    .small-8 {
        width: 100%;
    }
    #search-4 input[type="submit"] {
        display: none;
    }
    .home .logo {
        margin-top: 30px;
    }
    .owl-theme .owl-controls .owl-buttons {
        margin-top: -20px;
    }
    .owl-pagination {
        display: none;
    }
    #home-slider .slider_caption {
        top: 30px;
    }
    #menu-glavnoe-menyu a {
        font-size: 18px;
    }
    #menu-glavnoe-menyu li {
        margin: 0 !important;
    }
    .top-bar-section li:not(.has-form) a:not(.button) {
        padding:0 10px;
    }
    .slider_tours span.blue,
    .slider_tours span.orange{
        width: 100%;
    }
    .sidebar .button img {
        display: none;
    }
    .with_img {
        font-size: 16px;
        display: block;
        width: 100%;
    }
    .slider_tours a {
        height: 185px;
    }
    .slider_caption h3 {
        font-size: 24px;
    }
    #home-slider .slider_caption p {
        font-size: 18px;
    }
    .partners_tours {
        background: none;
    }
    .partners_tours h2 {
        display: none;
    }
    #partners {
        width: 100%;
        margin: 10px 0;
    }
    .tour_list h3 {
        font-size: 18px;
    }
    .tour_list a.read_more {
        width: 90%;
        left: 5%;
    }
    .tour_overflow a {
        max-height: 170px;
        line-height: 170px;
    }
} /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */

/*-=Large screens=-*/
@media only screen and (min-width: 64.063em) and (max-width: 1234px) { 

    .slider_tours span.orange {
        width: 30%; 
    }
    .slider_tours span.blue {
        width: 70%;
    }
    .slider_tours a {
        height: 170px;
    }
    .hfirst img {
        width: 19%;
    }
    .hphone a {
        font-size: 16px;
    }
    .inline-list > li {
        margin: 0;
    }
    #menu-menyu-v-shapke a {
        margin: 0 4px;
    }
    #search-4 input[type="submit"] {
        width: 15px;
        margin: 0;
        float: right;
        margin-left: -15px;
    }
    .home h2 {
        font-size: 28px;
    }
    #home-slider .slider_caption,
    .home .logo {
        top: 25%;
    }
    .tabs dd a,
    .tour_list h3 {
        font-size: 22px;
    }
} /* min-width 1025px, large screens */


