/*
Theme Name: OMNI-TECH IT
Theme URI: https://www.joerrens.com
Description: OMNI-TECH IT Wordpress Theme.
Author: Torge Joerrens
Author URI: https://www.joerrens.com/
Template: twentytwenty
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* raleway-regular - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/raleway-v26-latin-regular.woff2') format('woff2'),
       url('assets/fonts/raleway-v26-latin-regular.woff') format('woff');
}
/* raleway-800 - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/raleway-v26-latin-800.woff2') format('woff2'),
       url('assets/fonts/raleway-v26-latin-800.woff') format('woff');
}
/* raleway-900 - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/raleway-v26-latin-900.woff2') format('woff2'),
       url('assets/fonts/raleway-v26-latin-900.woff') format('woff');
}

body { font-family: 'Raleway', sans-serif; }

h1,h2,h3,h4 {
  font-family: 'Raleway', sans-serif !important;
}

.site-description {
  color:#000 !important;
}
a {
  text-decoration: none;
}

a:hover{
  color: #000;
}

.entry-categories a {
  border: none;
}

.project-h3 {
    margin: 0px !important;
}

.alignfull {
    margin-bottom: 2rem;
}

.entry-header {
  background-color: #fff;
  padding: 4rem 0;
}

.primary-menu-wrapper ul li {
  font-size: 2.1rem;
  font-weight: 600;
}

.primary-menu ul {
  width: 24rem;
}

img.custom-logo {
    height: auto !important;
    max-height: 70px !important;
}

button,
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none !important;
    border-radius: 4px !important;
}

.entry-content {
    font-family: 'Raleway', sans-serif;
}

/* COVER-FIX */

body.template-cover .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide),
body.template-cover [class*="__inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 120rem;
}

@media (max-width: 699px) {
    body.template-cover .cover-header-inner {
        padding-bottom: 18rem;
    }
}

#site-header {
    transition: background-color 0.3s ease, position 0.3s ease;
}

#site-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 999;
}

#site-header.scrolled .header-inner a,
#site-header.scrolled .header-inner {
    color: #000 !important;
}

#site-header.scrolled ul.primary-menu li a:hover {
    color: #c8102e !important;
}

@media (min-width: 700px) {
    body.template-cover .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
        width: calc(100% - 8rem);
    }
    
    ul.primary-menu li a:hover {
        color: #c8102e !important;
    }
    
    /* Unterseiten: schwarze Links */
      ul.primary-menu li a,
      ul.primary-menu li a:visited,
      ul.primary-menu li.current-menu-item > a,
      ul.primary-menu li.current_page_item > a {
          color: #000000 !important;
          text-decoration: none !important;
      }
      
      ul.primary-menu li a:hover {
          color: #c8102e !important;
      }
      
      /* Startseite mit Cover: weiße Links */
      body.template-cover ul.primary-menu li a,
      body.template-cover ul.primary-menu li a:visited,
      body.template-cover ul.primary-menu li.current-menu-item > a,
      body.template-cover ul.primary-menu li.current_page_item > a {
          color: #ffffff !important;
      }
      
      body.template-cover ul.primary-menu li a:hover {
          color: #c8102e !important;
      }
}

/* PAGINATION */

.pagination-single {
    font-size: 1.8rem;
    margin-top: 8rem;
}

/* TABLE */

.wp-block-table table {
  border: 0 !important;
  width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-table td {
  border: 0 !important;
  text-align: left;
}

thead tr th:first-child,
tbody tr td:first-child {
  vertical-align: top;
  width: 300px;
  min-width: 10em;
  max-width: 10em;
  word-break: break-all;
}

/* FOOTER */

.powered-by-wordpress {
  display: block;
}

@media (max-width: 699px) {
  #site-footer .section-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-credits {
    display: block;
  }
  .powered-by-wordpress {
    margin: 0.5rem 0 0;
  }
  #site-footer .to-the-top {
    margin: 2rem 0 0;
  }
}

.textwidget p {
  font-family: 'Raleway', sans-serif;
}

.textwidget p a {
  text-decoration: none;
  color: #000;
}


h3, .heading-size-3 {
    font-size: 2.5rem;
}


/* LOGO-LAUFBAND */

.logo-ticker {
  overflow: hidden;
  width: 100%;
  padding: 2rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logo-ticker ul {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: logo-ticker 40s linear infinite;
}

.logo-ticker:hover ul {
  animation-play-state: paused;
}

.logo-ticker li {
  flex: 0 0 auto;
  margin: 0 2rem;
}

.logo-ticker img {
  display: block;
  width: auto;
  height: 140px;
}

@keyframes logo-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 699px) {
  .logo-ticker li {
    margin: 0 1rem;
  }
  .logo-ticker img {
    height: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-ticker ul {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .logo-ticker li[aria-hidden="true"] {
    display: none;
  }
}