/*
Theme Name: Maya Reloaded
Description: Onepage, Multipage and Mutipurpose WP Theme
Theme URI: http://themeforest.net/user/unCommons/portfolio
Author: unCommons Team
Author URI: http://www.uncommons.pro
Version: 1.3
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: one-column, two-columns, right-sidebar, fluid-layout, custom-menu, editor-style, featured-images, post-formats, translation-ready
*/


/* Main Style -> assets/css/main.css */

body {font-family: 'Mona Sans', sans-serif !important;}
.main-menu li a {font-family: 'Mona Sans' !important;}  /*top menu font*/


/* --- Language switcher: replace EN/SV text with a round flag --- */

/* .menu-item-15000 = the "SV" item in the English menu, which lacks the lang-btn class */

li.lang-btn > a,
li.lang-btn > a *,
li.menu-item-15000 > a,
li.menu-item-15000 > a * {
    font-size: 0 !important;        /* hide the EN/SV text */
    color: transparent !important;
}

li.lang-btn > a::before,
li.menu-item-15000 > a::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: middle;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    transition: opacity 0.2s ease;
}

li.lang-btn > a:hover::before,
li.menu-item-15000 > a:hover::before {
    opacity: 0.7;
}

/* On the Swedish site the link goes to English -> show the UK flag */
html[lang^="sv"] li.lang-btn > a::before {
    background-image: url(assets/img/flags/en.svg);
}

/* On the English site the link goes to Swedish -> show the Swedish flag */
html[lang^="en"] li.lang-btn > a::before,
html[lang^="en"] li.menu-item-15000 > a::before {
    background-image: url(assets/img/flags/se.svg);
}