/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.6.1.1
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/* Custom Fonts
-------------------------------------------------------------- */
@font-face {
    font-family: 'newsgoth_cn_btregular';
    src: url('Fonts/tt0375m-webfont.woff2') format('woff2'),
         url('Fonts/tt0375m-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'axisextra_bold';
    src: url('Fonts/axis_extrabold_3-webfont.woff2') format('woff2'),
         url('Fonts/axis_extrabold_3-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'mistralregular';
    src: url('Fonts/mistral-webfont.woff2') format('woff2'),
         url('Fonts/mistral-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* css and js backup 
 * css
#footer-base { text-align: center; }

#footer-base p {
	font-size: 26px;
	text-transform: uppercase;
	font-family: axisextra_bold;
}

#footer-base a { font-size: 35px; }

#footer-address { font-size: 20px; }

#instagram-link img {
    background-image: url(http://grugel.akeryus.com/wp-content/uploads/2018/06/instagram-logo.png);
    background-size: contain;
}

#instagram-link:hover img {
    background-image: url(http://grugel.akeryus.com/wp-content/uploads/2018/06/instagram-logo-hover.png);
    background-size: contain;
}

#menu {
    text-transform: uppercase;
    padding-left: 15px;
}
#Top_bar #logo {
	padding: 15px 30px;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari * /
    -webkit-user-select: none; /* Safari * /
     -khtml-user-select: none; /* Konqueror HTML * /
       -moz-user-select: none; /* Firefox * /
        -ms-user-select: none; /* Internet Explorer/Edge * /
            user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera * /
}

#Top_bar .menu > li > a span:not(.description) {
	padding: 0 35px;
}

 * js
 ** v1
setInterval(function () {
    var element = document.getElementById('footer-img');
    if (element != null) {
        var img = new Image();
        img.src = element.style.backgroundImage.replace(/url\((['"])?(.*?)\1\)/gi, '$2').split()[0];
        element.style.height = ((document.body.offsetWidth * img.height) / img.width) + 'px';
    };
}, 1000);
 ** v1 end
 ** v2
setInterval(function () {
    document.getElementById('footer-img').style.height = jQuery('.footer-logo')[0].offsetParent.offsetHeight + 'px';
}, 1000);
 ** v2 end

setTimeout( function () {
    if (document.getElementById('home-no-menu') != null) {
        jQuery('#Top_bar .menu_wrapper')[0].style.setProperty('display','none','important');
        jQuery('#Top_bar .logo')[0].style.setProperty('margin','0 0 0 45%','important');
    }
    else
    {
        switch (document.location.pathname) {
            case "/midia/":
                jQuery('#menu-item-49 span')[0].textContent = 'mídias'
                break;
            case "/seguros/":
                jQuery('#menu-item-49 span')[0].textContent = 'contrato'
                break;
            case "/telefonia/":
                jQuery('#menu-item-49 span')[0].textContent = 'orçamento'
                break;
            case "/grafica/":
                jQuery('#menu-item-49 span')[0].textContent = 'orçamento'
                break;
            case "/contato/":
                var men = jQuery('#menu-main')[0].children
                undefined
                for (var i = 1; i < men.length - 1; i ++) {
                    men[i].style.display = 'none';
                }
                break;
            default:
                jQuery('#Top_bar .menu_wrapper')[0].style.setProperty('display','none','important');
                jQuery('#Top_bar .logo')[0].style.setProperty('margin','0 0 0 45%','important');
                break;
        }
    } 
}, 500);
 * */