/*
Theme Name: Twenty Twenty Three Child
Theme URI: https://dietary.srgwerbeagentur.info
Author:  Your name here
Description: Child Theme for Twenty Twenty Three
Requires at least: 5.7
Tested up to: 5.9
Requires PHP: 8.0
Version: 1.1.33
Template: twentytwentythree
Text Domain: twentytwentythree-child
Tags: Custom Child Theme

*/

/* --- acc tab --- */

:root {
  --beneo_orange: rgb(220, 125, 40); /*#dc7d28;*/
  --beneo_orange_cat: rgba(220, 125, 40, 0.5);
  --beneo_green: rgba(100, 179, 44, 1);/* #6eb31a;*/
  --beneo_green_trans: rgba(100, 179, 44, 0.9);
  --beneo_green_cat: rgba(100, 179, 44, 0.5); /* #64b32c */
  --beneo_dk_green: rgb(0, 145, 85);
  --beneo_dk_green_cat: rgba(0, 145, 85, 0.5);
  --beneo_blue: rgb(0, 80, 145);
  --beneo_blue_cat: rgba(0, 80, 145, 0.5);
  
  --bgColor: #f77462;
  --acc_list: #6dc5dd;
  --acc_border: #5ab2ca;
  --genericons: #fff;

}

/* --- wieder löschen - nur vorübergehend --- 
@font-face {
  font-family: 'Genericons';
  src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/53819/genericons-regular-webfont.eot');
  src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/53819/genericons-regular-webfont.woff') format('woff'),
     url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/53819/genericons-regular-webfont.eot') format('truetype');
  font-weight: normal;
  font-style: normal;
}
*/
[class*="genericon"] {
  display: inline-block;
  width: 16px;
  height: 16px;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1;
  /*
  font-family: 'Genericons';
  text-decoration: inherit;
  font-weight: normal;
  font-style: normal;
  */
  vertical-align: top;
}

/* IE7 */
[class*="genericon"] {
  *overflow: auto;
  *zoom: 1;
  *display: inline;
}

.container {
    /*
  color: var(--blue);
  background-color: var(--white);
  */
  margin: 0px auto;
}

/* --- accordion hoorizonta social media --- */

ul.acc-hori {
  background-color: var(--acc_border);
  width: 100%;
  min-width: 950px;
  display: block;
  list-style-type: none;
  overflow: hidden;
  height: 200px;
  font-size: 0;
  padding: 0;
}

.acc-hori .tabs {
  display: inline-block;
  background-color: var(--acc_list);
  border-right: 1px solid var(--acc_border);
  width: 200px;/*80px;*/
  height: 200px;
  overflow: hidden;
  position: relative;
  margin: 0;
  font-size: 16px;
  transition: all 0.4s 0.1s ease-in-out;
  
   &:hover {
    width: 550px;/*450px;*/

    .social-links {
      a {
        &:before {
          margin-left: -100px;
        }

        &:after {
          margin-left: -5px;
        }
      }
    }
   }

    .paragraph {
        position: relative;
        width: 350px;/*360px;*/
        margin-left: 200px; /*80px;*/
        padding: 50px 0 0 15px;
        height: 200px;
        background: #fff;

    h1 {
      font-size: 2.5em;
      margin-bottom: 10px;
    } 

    p {
      font-size: 0.88em;
      line-height: 1.5em;
      padding-right: 30px;
    }
  }
   
} /* end tabs */

.social-links {
  display: block;

  a {
    display: block;
    text-indent: -9999px;
    font-size: 0;
    line-height: 0;

    &:before, &:after {
      transition: all 0.4s 0.1s ease-in-out;
      width: 200px; /*80px;*/
      height: 200px;
      position: absolute;
      text-indent: 0;
      padding-top: 90px;
      padding-left: 25px;
      display: block;
      font: normal 30px Genericons;
      color: var(--genericons);
    }

    &:after {
      font-size: 48px;
      padding-left: 20px;
      padding-top: 80px;
      margin-left: 205px;/*85px;*/
    }
  }
}

.twitter-icon {
  a {
    &:before, &:after {
      content: '\f202';
    }

    &:after {
      background-image: linear-gradient(#7adcf9, #4bc9f5);
    }
  }
}


.facebook-icon {
  a {
    &:before, &:after {
      content: '\f204';
    }

    &:after {
      background-image:linear-gradient(#548abf, #295b9e);
    }
  }
}

.linkedin-icon {
  a {
    &:before, &:after {
      content: '\f208';
    }

    &:after {
      background-image: linear-gradient(#00a9cd, #0083b4);
    }
  }
}



/* ---------------------------
 * Custom accordion horizontal 
 * --------------------------- */

ul.acc-horimg {
    /* display: block; */
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  
  justify-content: center;
  /* background-color: var(--acc_border); */
  width: 100%;
  min-width: 950px;
  
  list-style-type: none;
  overflow: hidden;
  height: 350px;
  font-size: 0;
  padding: 0;
}

.acc-horimg .tabs {
  /*display: inline-block;*/
  /* */
  display: flex;
  flex-grow: 1;
  /* background-color: var(--acc_list); */
  background: #ffffff;/*rgb(242,242,242);*/
  /*background: linear-gradient(90deg, rgba(242,242,242,1) 0%, rgba(242,242,242,1) 15%, rgba(110,179,26,0.3) 97%);*/
  border: 1px solid #ccc; /*1px solid var(--acc_border);*/
  border-radius: 10px;
  width: 200px;/*80px; 200px; 33%;*/
  height: 95%; /*200px;*/
  overflow: hidden;
  position: relative;
  margin: 10px;
  font-size: 18px;
  transition: all 0.4s 0.1s ease-in-out;
  
   &:hover {
    width: 450px;/*450px; 550px; */

    .page-links {
        /*width: 15%;*/
      a {
        &:before {
          margin-left: -100px; /*-100px; */
          width: 175px;
          /* width: calc((100% - 550px) / 3);  calc(25%); */
        }

        &:after {
          margin-left: 0; /*-5px;*/
          width: 175px;
          /*width: calc((100% - 550px) / 3);*/
        }
      }
    }
    /* */
    .tiletext {
        cursor: pointer;
        /*display: none;*/
        opacity: 0;
        transition: all 0.4s 0.1s ease-in-out;
    }
    
    .paragraph {
        margin-left: 15%; /* -70px; 33%;*/
        padding-left: 15px;
        width: 100%;/**/
        height: 100%;
        /*position: absolute;  */ 
        background: #ffffff; /*rgb(242,242,242);*/
        /*background: linear-gradient(90deg, rgba(250,250,250,1) 0%, rgba(250,250,250,1) 30%, #d3e8ba 97%);  */
    }
    
   }

   .tiletext {
       display: flex;
       flex-direction: column;
       justify-content: flex-end;
        width: 100%;
        height: 300px;
        padding: 20px;
       opacity: 1;
       /*z-index: 999;*/
       position: absolute;
       /*background: rgb(0,0,0);*/
       background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(255,255,255,0.004621831642813379) 39%);
       transition: all 0.4s 0.1s ease-in-out;
       h2, h3, p {color: white; margin: 0;}
       h2, h3 {}
   }
   
    .paragraph {
        position: relative;
        width: 350px;/*360px;*/
        margin-left: 100%; /*80px;* 200px; /
        padding: 50px 0 0 15px;
        height: 100%; /*200px;*/
        background: #fff;

        h2 {
          font-size: 1.8rem;
          margin-bottom: 10px;
        } 

        p {
          /*font-size: 0.88em;*/
          line-height: 1.5em;
          padding-right: 30px;
          font-size: var(--wp--preset--font-size--medium);
        }
  }
   
} /* end tabs */


.page-links {
  display: block;

  a {
    display: block;
    text-indent: -9999px;
    font-size: 0;
    line-height: 0;

    &:before, &:after {
      transition: all 0.4s 0.1s ease-in-out;
      width: calc(99%); /*80px; 200px;*/
      height: 100%; /*200px;*/
      position: absolute;
      text-indent: 0;
      padding-top: 90px;
      padding-left: 25px;
      display: block;
      font: normal 30px Genericons;
      color: var(--genericons);
    }

    &:after {
      font-size: 48px;
      padding-left: 20px;
      padding-top: 80px;
      margin-left: calc(99% - 5px); /* 85px; 205px; */
    }
  }
}

.fibres-img {
  a {
    &:before {
      content: '';/*'\f202';*/
      /*background-image: url('/wp-content/uploads/2024/04/tab-tile-fibres430x460s.jpg');*/
      background-image: url('/wp-content/uploads/2024/06/tab-tileroot430x460.jpg');
      background-position: 50% bottom;
      background-size: cover;
    }
/*
    &:after {
      background-image: linear-gradient(#7adcf9, #4bc9f5);
    }
*/
  }
}

/* &:before, &:after */

.nutrition-img {
  a {
    &:before {
      content: '';/*'\f202';*/
      /*background-image: url('/wp-content/uploads/2024/06/dietary-health-nutrition.png');*/
      background-image: url('/wp-content/uploads/2024/06/Startpage-tile-health-and-nutrition.png');
      background-position: 70% bottom;
      background-size: cover;
      height: 240px;
    }
/*
    &:after {
      background-image: linear-gradient(#7adcf9, #4bc9f5);
    }
*/
  }
}

.news-img {
  a {
    &:before {
      content: '';/*'\f202';*/
      /*background-image: url('/wp-content/uploads/2024/06/dietary-news.png');*/
      background-image: url('/wp-content/uploads/2024/06/startpage-tile-news-p450.png');
      background-position: left bottom;
      background-size: cover;
      height: 240px;
    }
/*
    &:after {
      background-image: linear-gradient(#7adcf9, #4bc9f5);
    }
    */
  }
}
 
