/*
Theme Name: Authentic-Child
Author: 
Description: Your description goes here
Version: 1.0
Template: authentic

This is the child theme for Authentic theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* ------------------------------ Main Navigation ------------------------------ */

/* Header */
.header-child-theme {
    display: flex;
    justify-content: space-between;
    margin: 20px 20px 16px;
}

.header-child-theme > div:first-child img {
    max-width: 85%;
}

.header-child-theme > div:last-child img {
    margin-left: 30px;
    height: 29px;
    width: auto;
}

.logo-esri-de,
.logo-esri-ch {
    display: none;
}

/* Navigation Bar */
.navbar {
	border-top: 8px solid #0079C1!important;
	height: 68px !important;
}

.navbar-col div .cs-d-lg-block {
    display: block !important;
}

.navbar-primary:not(.sticky-nav-slide) .navbar, .sticky-nav-slide {
	border-bottom-width: 0 !important;
}

.navbar-nav > li > a {
	margin-right: 10px;
}

.pk-social-links-wrap .pk-social-links-link .pk-social-links-icon {
	font-size: 1.4rem !important;
	margin-left: 15px;
}

.navbar-search {
	font-size: 1.4rem !important;
	margin-left: 20px !important;
}

.navbar-col.header-button-child-theme {
    display: none;
}

.navbar-col.header-button-child-theme a {
    margin: 5px 0 5px 25px;
}

.navbar-col.header-button-child-theme a > span:first-child::before { 
    background-image: url('https://gis-iq.esri.de/wp-content/uploads/2022/07/logo-gis-iq-button-white.png');
    background-repeat: no-repeat;
    background-size: 41px auto;
    display: inline-block;
    width: 47px;
    height: 10px;
    content:"";    
}

.navbar-col.header-button-child-theme a i {
    color: #FFFFFF;
}

/* --------------- Main Navigation - Media Queries --------------- */

@media (min-width: 640px) {
    /* Header */
    .header-child-theme {
        margin: 24px 20px 20px;
    }

    .header-child-theme > div:first-child img {
        max-width: initial;
    }    

    .logo-esri-de,
    .logo-esri-ch {
        display: inline-block;
    }

    .logo-esri-general {
        display: none;
    }

    /* Navigation Bar */
    .navbar-primary .navbar .navbar-nav {
        display: inline-block !important;
    }
    
    .navbar-primary.navbar-left .navbar-col:nth-child(2) {
        flex-grow: 100;
        align-items: flex-start;
    } 
}

@media (min-width: 1020px) {
    .navbar-col.header-button-child-theme {
        display: inline-block;
    }
}
