
@media screen and (min-width: 1199px){
    #main-nav a {
        padding: 12px 10px;
    }
}

@media screen and (min-width: 1024px) {

    /* ensure #nav and #searchform is visible on desktop version */
    #main-nav {
        display: block !important;
    }

}

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


    .menu-home-buckets-container .entry-content .enhance_shortcode_menu_inline li, .menu-home-buckets-container .enhance_shortcode_menu_inline li {
        width: 23.9%;
        float: left;
    }

    #main-nav a {
        padding: 12px 7px;
    }

    .social-widget {
        position: absolute;
        right: 16% !important;
        top: 42px;
    }

}

@media screen and (max-width: 1020px) {

    /************************************************************************************
    STRUCTURE
    *************************************************************************************/
    .pagewidth {
        max-width: 94%;
    }

}

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

    li#menu-item-3151 {
        background: none !important;
    }

    #black-studio-tinymce-2 a {
        font-size: 18px;
        font-weight: normal;
        font-family: 'Lato';
        padding: 50px 10px;
        border: 1px solid #d4d4d4;
        -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.25);
        box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.25);
        width: 90%;
        text-align: center;
        white-space: pre-wrap;
        margin: 0;
        position: relative;
        display: inline-block;
    }

    .widgettitle {
        font-size: 17px !important;
    }

    .menu-home-buckets-container .entry-content .enhance_shortcode_menu_inline li, .menu-home-buckets-container .enhance_shortcode_menu_inline li {
        width: 23%;
        float: none;
    }

    .home .enhance_shortcode_menu_inline li a {
        color: #fff !important;
        font-weight: 600 !important;
        font-size: 17px !important;
    }

    #main-nav {
        position: fixed !important;
        top: 121px;
        left: 55% !important;
    }

    #main-nav ul {
        display: none;
        top: -10px;
        padding: 2px 10px;
    }

    nav#main-nav-wrap li.menu-item-has-children {
        background: url(/images/main-nav-arrow.png) no-repeat right center;
        disply: block !important;
        Width: 90%;
    }

    #main-nav {
        position: fixed !important;
        top: 85px;
        left: 35%;
    }

    /************************************************************************************
        MOBILE NAV BUTTON
        *************************************************************************************/
    .mobile-button {
        position: relative;
        width: 36px;
        height: 34px;
        margin-bottom: 3px;
        margin-right: 3px;
        display: block;
        float: right;
        cursor: pointer;
        top:18px;
    }

    /************************************************************************************
    MAIN NAV (MOBILE)
    *************************************************************************************/
    #main-nav-wrap {
        position: absolute;
        right: 0;
        top: 20px;
    }
    /* menu icon */
    #menu-icon {
        background: url(images/menu-icon.png) no-repeat 7px center;
        background-color: #FFF;
    }

    /* main nav */
    #main-nav {
        clear: both;
        position: absolute !important;
        top: 26px;
        right: 3px;
        left: auto;
        bottom: auto;
        width: 180px;
        z-index: 1000;
        padding: 10px 5px 0;
        background: #fff !important;
        display: none; /* visibility will be toggled with jquery */

    }
    #main-nav li {
        clear: both;
        float: none;
        margin: 5px 0 13px 10px !important;
        padding: 0 !important;
        border: none !important;
        background: none;
    }
    #main-nav a,
    #main-nav ul a {
        font: inherit !important;
        text-transform: inherit !important;
        background: none !important;
        width: auto !important;
        display: inline !important;
        padding: 0 !important;
        color: #666 !important;
        border: none !important;
    }
    #main-nav a:hover,
    #main-nav ul a:hover {
        background: none !important;
        color: #000 !important;
    }

    /* current link */
    #main-nav .current_page_item,
    #main-nav .current-menu-item {
        background: url(/images/main-nav-arrow.png) no-repeat right center;
    }

    /* dropdown */
    #main-nav ul {
        position: static;
        display: block;
        margin: 10px 0 0;
        padding: 0;
        background: none;
    }
    #main-nav ul li {
        background: none;
    }

    /************************************************************************************
    MAIN NAV
    *************************************************************************************/
    #main-nav a {
        margin: 0 10px 5px 0;
        padding: 4px 7px;
    }

    .clearfix:after, .widget li:after, #body:after, #footer:after, footer:after, .pagenav:after, #main-nav:after, .menu:after, .gallery:after, #content:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }

    /* disable webkit text size adjust (for iPhone) */
    html {
        -webkit-text-size-adjust: none;
    }

    /************************************************************************************
    STRUCTURE
    *************************************************************************************/
    #body {
        padding: 34px 0;
    }
    #content {
        overflow: hidden;
    }







}

@media screen and (max-width: 760px) {

    .module.module-text.text-2691-2-0-1 a{
        width: 45%;
        display: block;
        float: left;
    }

    .mobile-button {
        top: -5px;
    }

    /************************************************************************************
    HEADER
    *************************************************************************************/
    /* reset absolute elements to static */
    #main-nav,
    .social-widget  {
        position: static !important;
        float: none;
        clear: both;
    }

    /* header */
    #header {
        height: auto;
        padding-top: 10px;
    }

    /* site logo */
    #site-logo {
        position: static !important;
    }
    #site-logo a {
        font-size: 30px;
    }

    /* site description */
    #site-description {
        position: static !important;
        margin: 0 0 20px;
    }

    /* searchform wrap */
    #header #searchform #s {
        width: 1px;
        color: transparent;
    }
    #searchform-wrap {
        bottom: 8px;
        right: 0;
    }
    #search-icon {
        display: none;
    }


    /************************************************************************************
    MAIN NAV
    *************************************************************************************/
    #main-nav {
        margin: 10px 0;
    }

    /************************************************************************************
    CUSTOM POST TYPE SHORTCODE STYLES
    *************************************************************************************/
    /* portfolio details */
    .single .portfolio .post-inner {
        padding: 3%;
    }

}

@media screen and (max-width: 700px) {

    /************************************************************************************
    STRUCTURE
    *************************************************************************************/
    #content {
        width: 100%;
        max-width: 100%;
        float: none;
        clear: both;
    }

    /* sidebar */
    #sidebar {
        width: 100%;
        max-width: 100%;
        float: none;
        clear: both;
    }
    #sidebar .secondary {
        width: 49%;
    }

    /************************************************************************************
    SIDEBAR
    *************************************************************************************/
    .widget {
        margin-bottom: 1.5%;
    }
    #sidebar .secondary .widget {
        margin-bottom: 3.5%;
    }

}


@media screen and (max-width: 600px) {

    /************************************************************************************
    LAYOUTS
    *************************************************************************************/
    /* loops-wrapper */
    .loops-wrapper {
        width: auto !important;
    }

    /* portfolio-wrapper */
    .portfolio-wrapper {
        margin-left: 0 !important;
        width: auto !important;
    }

    /* grid3 */
    .loops-wrapper.grid3 .post {
        width: 100%;
        float: none;
    }

    /************************************************************************************
    POST VIDEO (css for fluid video)
    *************************************************************************************/
    .post-video {
        clear: both;
    }

}

@media screen and (max-width: 480px) {


    .module.module-text.text-2691-2-0-1 a{
        width: 100%;
        display: block;
        float: none;
        margin:120px 0px
    }

    .themify_builder_row.module_row.module_row_3.clearfix a img{
        padding:0px !important;
    }

    .module.module-text.text-2691-2-0-1 a img{
        padding:0px !important;
    }

    ul.social-links.horizontal.header-bar {
        margin: -28px 0px 0px 0px !important;
        position: fixed;
    }

    .page-id-2478 ul.social-links.horizontal.header-bar {
        margin: -4px 0px 0px 0px !important;
        position: fixed;
    }

    ul.sorting-nav.clearfix li.cat-item.cat-item-country {
        background: url(http://www.lacroixwater.com/wp-content/uploads/2014/07/droplist_bg.png) 0% 40% no-repeat scroll;
        padding-left: 4px;
        background: url(/wp-content/uploads/2014/07/droplist_bg.png) 50% 25% no-repeat scroll !important;
        padding: 0px 0 25px 0;
        width: 100% !important;
        border-bottom: 0px solid #ccc;
        text-align: center;
        height: 20px;
        background-color: #f4f3f3 !important;
    }

    /* disable webkit text size adjust (for iPhone) */
    html {
        -webkit-text-size-adjust: none;
    }

    /************************************************************************************
    STRUCTURE
    *************************************************************************************/
    #body {
        padding: 34px 0;
    }
    #content {
        overflow: hidden;
    }

    /************************************************************************************
    GRID
    *************************************************************************************/
    .col4-1,
    .col4-2, .col2-1,
    .col4-3,
    .col3-1,
    .col3-2	 {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /************************************************************************************
    MOBILE NAV BUTTON
    *************************************************************************************/
    .mobile-button {
        top: 25px;
    }

    /************************************************************************************
    MAIN NAV (MOBILE)
    *************************************************************************************/
    #main-nav-wrap {
        position: absolute;
        right: 0;
        top: -15px;
    }
    /* menu icon */
    #menu-icon {
        background: url(images/menu-icon.png) no-repeat 7px center;
        background-color: #FFF;
    }

    /* main nav */
    #main-nav {
        clear: both;
        position: absolute !important;
        top: 26px;
        right: 3px;
        left: auto;
        bottom: auto;
        width: 180px;
        z-index: 1000;
        padding: 10px 5px 0;
        background: #fff !important;
        display: none; /* visibility will be toggled with jquery */

    }
    #main-nav li {
        clear: both;
        float: none;
        margin: 5px 0 13px 10px !important;
        padding: 0 !important;
        border: none !important;
        background: none;
    }
    #main-nav a,
    #main-nav ul a {
        font: inherit !important;
        text-transform: inherit !important;
        background: none !important;
        width: auto !important;
        display: inline !important;
        padding: 0 !important;
        color: #666 !important;
        border: none !important;
    }
    #main-nav a:hover,
    #main-nav ul a:hover {
        background: none !important;
        color: #000 !important;
    }

    /* current link */
    #main-nav .current_page_item,
    #main-nav .current-menu-item {
        background: none;
    }

    /* dropdown */
    #main-nav ul {
        position: static;
        display: block;
        margin: 10px 0 0;
        padding: 0;
        background: none;
    }
    #main-nav ul li {
        background: none;
    }

    /************************************************************************************
    MAIN NAV
    *************************************************************************************/
    #main-nav a {
        margin: 0 10px 5px 0;
        padding: 4px 7px;
    }

    /************************************************************************************
    POST
    *************************************************************************************/
    /* post */
    .post {
        max-width: 100% !important;
        margin-left: 0 !important;
        float: none !important;
    }
    .post:not(.portfolio-post) {
        width: auto !important;
    }
    .portfolio-post {
        width: 100% !important;
    }

    /* reset grid margin */
    .loops-wrapper.grid2 .post,
    .loops-wrapper.grid3 .post,
    .loops-wrapper.grid2.sidebar-none .post,
    .loops-wrapper.grid3.sidebar-none .post,
    .shortcode.portfolio .post,
    .sidebar-none .shortcode.portfolio .post,
    .portfolio.loops-wrapper.grid3 .post,
    .sidebar-none .portfolio.loops-wrapper.grid3 .post,
    .portfolio.loops-wrapper.grid2 .post,
    .sidebar-none .portfolio.loops-wrapper.grid2 .post {
        margin-bottom: 10px;
    }

    /* reset portfolio post tile flip width */
    body.sidebar1 .loops-wrapper.grid3 .portfolio-post .tile-flip,
    body.sidebar1 .loops-wrapper.grid2 .portfolio-post .tile-flip,
    body.sidebar-none .loops-wrapper.grid3 .portfolio-post .tile-flip,
    body.sidebar-none .loops-wrapper.grid2 .portfolio-post .tile-flip {
        width: 440px;
    }

    /************************************************************************************
    POST NAV
    *************************************************************************************/
    .post-nav .prev, .post-nav .next {
        display: block;
        width: 100%;
        clear: both;
        margin-bottom: 10px;
    }

    .single-portfolio .post-nav .prev, .post-nav .next {
        display: inline-block;
        width: auto;
        clear: none;
        margin-bottom: 5px;
    }

    /************************************************************************************
    COMMENTS
    *************************************************************************************/
    .commentlist {
        padding-left: 0;
    }
    .commentlist .commententry {
        clear: left;
    }
    .commentlist .avatar {
        float: left;
        width: 40px;
        height: 40px;
        margin: 0 10px 10px 0;
    }

    /************************************************************************************
    TILE
    *************************************************************************************/
    .tile.small {
        width: 145px;
        height: 145px;
    }
    .tile.medium {
        width: 300px;
        height: 145px;
    }
    .tile.large {
        width: 300px;
        height: 300px;
        overflow: auto;
    }
    .tile-post.image .tile-flip,
    .tile-post.map .tile-flip {
        height: 145px;
        width: 300px; /* tile large and medium */
    }
    .tile-post.small .tile-flip {
        width: 145px;
    }
    .tile-post.large .tile-flip {
        height: 300px;
    }

    /************************************************************************************
    WOOCOMMERCE SUPPORT
    *************************************************************************************/
    .woocommerce #content div.product div.images,
    .woocommerce #content div.product div.summary {
        float: none !important;
        width: 100% !important;
    }

}

