/** 
 * CSS Style: Theme footer
 * 
 * @since 1.0
 */
/*.theme-header {
  height: 100px;
}
*/

.theme-header .theme-grid {
  background-color: var( --theme-color-background );
  height: 100%;
  margin: 0 auto;
}

.theme-header .theme-grid > .theme-grid-row {
  height: 100%;
  /*max-width: 1000px;*/
  /*flex-wrap: nowrap;*/
}

.theme-header .theme-grid > .theme-grid-row.theme-header-menu {
  width: 100%;
  max-width: 100%;
  background-color: var( --theme-color );
}

.theme-header .theme-header-additional-control {
  padding: 20px 0;
}

.theme-header .theme-header-additional-control .theme-grid-row:not(:last-child) {
  padding-bottom: 5px;
}

.theme-header .theme-grid-row-language {
  justify-content: flex-end;
}

.theme-header .theme-header-mobile-control {
  display: none;
}

@media only screen and (max-width: 1140px) {
  .theme-header .theme-header-additional-control, .theme-header .theme-header-menu {
    display: none;
  }
  
  .theme-header .theme-header-mobile-control {
    display: flex;
  }
  
  .theme-header {
    box-shadow: 0px 3px 8px 0px rgba(77, 77, 77, 0.2);
  }
}

@media only screen and (max-width: 768px) {
  .theme-header .theme-grid > .theme-grid-row {
    padding: 0 var( --theme-padding-mobile );
  }
}

/** 
 * Header logo
 * 
 * @since 1.0
 */
.theme-header-logo {
  font-size: 28px;
  line-height: 28px;
  font-weight: 600;
  padding: 20px 0;
}

.theme-header-logo a {
  display: block;
  color: var( --theme-color );
}

.theme-header-logo img {
  display: block;
  width: auto;
  height: 80px;
  transition: .3s linear;
}

@media only screen and (max-width: 1200px) {
  .theme-header-logo {
    padding: 10px 0;
  }
  
  .theme-header-logo img {
    height: 70px;
  }
}

@media only screen and (max-width: 1100px) {
  .theme-header-logo img {
    height: 50px;
  }
}

/** 
 * Header banners
 * 
 * @since 1.0
 */
.theme-header-banner {
    justify-content: center;
    font-size: 18px;
    text-align: center;
    flex-wrap: nowrap;
}

.theme-header-fixed .theme-header-side-center {
    display: none;
}

.theme-header-banner > div.theme-grid-col:not(.widget_text) {
    display: none;
}

.theme-header-banner>div.theme-grid-col.widget_text {
    padding: 10px 20px;
    max-width: 200px;
}

.theme-header-banner > div.theme-grid-col.widget_text {
    border-right: 4px solid var( --theme-color );
}

.theme-header-banner>div.theme-grid-col.widget_text:first-child {
    border-left: 4px solid var(--theme-color);
}

@media only screen and (max-width: 1140px) {
    .theme-header-side-center {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        order: 3;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .theme-header-banner>div.theme-grid-col.widget_text {
        max-width: none;
    }
}

@media only screen and (max-width: 768px) {
    .theme-header-banner {
        font-size: 16px;
    }

    .theme-header-banner>div.theme-grid-col.widget_text {
        padding: 10px;
    }
}


/** 
 * Header fixed
 * 
 * @since 1.0
 */
.theme-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  /*height: 70px;*/
  box-shadow: 0px 3px 8px 0px rgba(77, 77, 77, 0.2);
  z-index: 999;
}

.theme-header-fixed .theme-header-logo {
  padding: 10px 0;
}

.theme-header-fixed .theme-header-logo img {
  height: 50px;
  transition: .3s linear;
}

.theme-header-fixed .theme-header-menu, .theme-header-fixed .theme-header-additional-control {
  display: none;
}

.theme-header-mobile-control > .theme-grid-row > .theme-grid-col:not(:last-child)  {
  margin-right: 10px;
}

.theme-header-fixed .theme-header-mobile-control {
  display: flex;
}