/*
Theme Name: Meddox Child
Theme URI:
Description: Child theme for Meddox
Author: TSWD
Template: meddox
Version: 1.0.0
Text Domain: meddox-child
*/

/* ==========================================
   ORIS MOBILE HEADER
   Logo + Language + Burger on same row
   ========================================== */

/* Mobile header */
#pxl-header-mobile #pxl-header-main {
    position: relative !important;
}

/* Language switcher - left of burger */
#oris-mobile-wpml-switcher {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: absolute !important;
    top: 50% !important;
    right: 55px !important;

    transform: translateY(-50%) !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Burger - restore Meddox position */
#pxl-header-mobile #pxl-nav-mobile {
    display: flex !important;
    align-items: center !important;

    position: absolute !important;
    top: 50% !important;
    right: 15px !important;

    transform: translateY(-50%) !important;

    width: auto !important;
    margin: 0 !important;
}

/* WPML cleanup */
#oris-mobile-wpml-switcher .wpml-ls,
#oris-mobile-wpml-switcher .wpml-ls ul,
#oris-mobile-wpml-switcher .wpml-ls li {
    margin: 0 !important;
    padding: 0 !important;
}

#oris-mobile-wpml-switcher .wpml-ls {
    width: auto !important;
}

/* Desktop */
@media (min-width: 1200px) {
    #oris-mobile-wpml-switcher {
        display: none !important;
    }
}