/*
 Theme Name:     DCC
 Theme URI:      https://du-pharma.de/
 Description:    DUP Child Theme
 Author:         Kreativkombinat GbR
 Author URI:     https://kreativkombinat.de/
 Template:       Divi
 Version:        1.0.0
*/



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

/* Fonts */

/* montserrat-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/montserrat-v26-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-100italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 100;
    src: url('fonts/montserrat-v26-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-200 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/montserrat-v26-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-200italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 200;
    src: url('fonts/montserrat-v26-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-300 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/montserrat-v26-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-300italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/montserrat-v26-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/montserrat-v26-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/montserrat-v26-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/montserrat-v26-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-500italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 500;
    src: url('fonts/montserrat-v26-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/montserrat-v26-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-600italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 600;
    src: url('fonts/montserrat-v26-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/montserrat-v26-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/montserrat-v26-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/montserrat-v26-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-800italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 800;
    src: url('fonts/montserrat-v26-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-900 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/montserrat-v26-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-900italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 900;
    src: url('fonts/montserrat-v26-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  

body {
    font-family: 'Montserrat';
	background-color: #ffffff;
	font-size: 16px !important;
	color: #000000;
    line-height: 1.5rem !important;
}

a {
    color: #e99d3a;
}

h1, h2, h3, h4, h5, h6 {
    line-height: normal !important;
    font-weight: 700;
    color: #2c4493 !important;
}

p {
    font-size: 17px !important;
}

.app-primary {
    background-color: #e99d3a !important;
}

@media (min-width: 1080px) {
    .et_pb_row {
        width: 100%;
        max-width: 100%;
    }
}

.container {
    width: 100%;
    max-width: 100%;
    margin: auto;
    position: relative;
}

.et_pb_section {
    background-color: #ffffff;
}

.app-row {
    width: 100% !important;
}

@media (min-width: 1080px) {
    .app-row {
        width: 70% !important;
    }
}



/* Header */

.app-logo {
    margin-top: .5rem !important;
}

/* Menu */

.et_mobile_menu li a {
    color: #000000 !important;
}

li.current-menu-item > a {
    font-weight: 700;
    color: #e99d3a !important;
}

.app-nav {
    margin-bottom: 0 !important;
    font-weight: 700;
    font-size: 1.5rem !important;
    
}


/* style mobile fixed header */

.home .mobile_menu_bar::before {
    color: #8b7954 !important;
}

.mobile_menu_bar::before {
    color: #e99d3a !important;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
    color: #e99d3a !important;
}

/*@media (min-width: 1080px) {
    .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
        color: #ffffff !important;
    }
}*/

/* Content */

#main-content .et_pb_image a:hover {
    opacity: .6;
}

#main-content {
    margin-top: 0 !important;
}

.et_pb_fullwidth_section .et_pb_title_featured_container {
    width: 100%;
    max-width: 100%;
    margin: auto;
    display: block;
}

.et_pb_fullwidth_section .et_pb_post_title {
    padding: 0 !important;
    margin-top: 10rem;
    background-position: bottom center !important;
}

@media (min-width: 1080px) {
    .et_pb_fullwidth_section .et_pb_post_title {
        padding: 0 !important;
        margin-top: -7rem;
    }
}

.app-site-hero {
    /*background-image: linear-gradient(180deg,rgba(0,0,0,0),#000000 0% 100%) !important;*/
    background-color: #8b7954;
    min-height: 100vh;
}

.app-breadcrumbs {
    display: none;
}

@media (min-width: 768px) {
    .app-breadcrumbs {
        display: block;
        color: #ffffff;
    }
}

.app-breadcrumbs a {
    color: #ffffff;
}

h1.entry-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 2rem;
}

@media (min-width: 768px) {
    h1.entry-title {
        font-size: 3rem;
    }
}

.app-heading {
    margin-top: -40rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media (min-width: 810px) {
    .app-heading {
        margin-top: -56% !important;
        padding-top: 2rem !important;
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
        background: -moz-linear-gradient(top,  rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
    }
}

@media (min-width: 1080px) {
    .app-heading {
        margin-top: -56% !important;
        padding-top: 25rem !important;
        min-height: 652px !important;
    }
}

.app-excerpt {
    display: block;
    color: #ffffff;
    font-size: 1rem !important;
    line-height: normal !important;
}

@media (min-width: 810px) {
    .app-excerpt {
        display: block;
        color: #ffffff;
        font-size: 1.3rem !important;
        line-height: normal !important;
    }
}

.et_pb_team_member img {
    width: 100%;
}

.et_pb_team_member_description {
    padding: 2rem;
}

.et_pb_member_social_links {
    padding-left: 0 !important;
    margin-top: 2rem !important;
}

.et_pb_text_1 ul {
    padding: 0 !important;
}

/* Frontpage Extras */

.app-frontpage-link h3 {
    font-size: small !important;
}

.divi-image-hover {
    min-width: 100% !important;
}

@media (min-width: 810px) {
    .divi-image-hover {
        min-width: 270px !important;
    }
}

.image-hover-img {
    width: 100% !important;
}

/* Blurbs */

.et_pb_blurb_container {
    padding: 0;
}

.et_pb_blurb_container .et_pb_module_header {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e99d3a !important;
}

/* Frontpage Imagewall */

.app-box {
    width: 100%;
}

.app-box-caption-wrapper {
    min-height: 4rem;
    border: 1px solid #e1dbcf;
}

.app-box .app-box-caption {
    display: block;
    font-size: small;
    margin-top: 1rem;
    color: #000000;
}

@media (min-width: 1080px) {
    .app-box .app-box-caption {
        display: none;
    }
}

a:hover .app-box .app-box-caption  {
    display: block !important;
    
}



/* CTA */

.app-cta .et_pb_module_header {
}




/* Cookie Banner */

.cli-tab-footer .wt-cli-privacy-accept-btn {
    background-color: #8b7954 !important;
    color: #fff;
    border-radius: 0;
}

.cli-switch input:checked + .cli-slider {
    background-color: #8b7954 !important;
}



/* Footer */

.app-footer {
    padding: 2rem 0 !important;
    background-color: #c9c0ad;
}

.app-copyright {
    padding: 2rem 0 !important;
}

address {
    display: block;
    font-style: normal !important;
}

@media only screen and (min-width: 1200px) {
    .wp-image-2063 {
        padding-top: 3rem !important;
    }
    
    .wp-image-1802 {
        padding-top: 2rem !important;
    }
  }

  


/* Portfolio */

.dp-dfg-filters ul {
    justify-content: left !important;
    margin: 0 !important;
}

@media (min-width: 810px) {
    .dp-dfg-filters ul {
        margin: 0 !important;
    }
}

.dp-dfg-filter a.dp-dfg-filter-link {
    border: none !important;
    font-size: 1.2rem !important;
    padding: 1rem .5rem 1rem 0 !important;
}

@media (min-width: 1200px) {
    .dp-dfg-filter a.dp-dfg-filter-link {
        border: none !important;
        font-size: 1.2rem !important;
        padding: 1rem 1rem 2rem 0 !important;
    }
}

.dp-dfg-filter a.active {
    background-color: transparent !important;
    color: #8b7954 !important; 
}

.dp-dfg-filter a:hover {
    background-color: transparent !important;
    color: #8b7954 !important; 
}

.dp-dfg-layout-list .dp-dfg-item {
    padding: 1rem 0 2.5rem 0 !important;
}

.dp-dfg-item {
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    padding-bottom: 2rem !important;
    background-color: #e1dbcf !important;
    border-color: #8b7954 !important;
}

@media (min-width: 1200px) {
    .dp-dfg-header h2.entry-title {
        font-size: 2rem !important;
      }
}

.dp-dfg-layout-list .dp-dfg-items {
    padding: 0 !important;
}


/* 
Masonry Gallery
*/

.app-gallery-masonry .et_pb_gallery .et_pb_gallery_items {
    column-count: 3; /* number of columns for desktop */
    column-gap: 15px;  /* column spacing */
}

@media only screen and (max-width: 1200px) { 
.app-gallery-masonry .et_pb_gallery .et_pb_gallery_items { 
    column-count: 2;  /* number of columns for tablet devices */
} 
} 
@media only screen and (max-width: 767px) {
  .app-gallery-masonry .et_pb_gallery .et_pb_gallery_items {
    column-count: 1;  /* number of columns for mobile devices */
  }
}

.app-gallery-masonry .et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item {
    width: 100%;
    margin: 0px 0px 10px 0!important; /* replace 10px to change row spacing */
    float: none!important; 
}

/* Buttons */

.et_pb_button {
    font-size: 18px;
    font-weight: 600;
    line-height: 1rem !important;
    padding: .5em 1.2em !important;
    background-color: #2c4493;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 2px solid #2c4493;
    border-radius: 5px;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
    color: #ffffff;
  }

  .et_pb_button:hover {
    font-size: 18px;
    font-weight: 600;
    line-height: 1rem !important;
    padding: .5em 1.2em !important;
    background-color: #2c4493 !important;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 2px solid #2c4493!important;
    border-radius: 5px;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
  }

  .et_pb_button::after, .et_pb_button::before {
    font-size: 18px;
    line-height: 1rem !important;
    content: "\35";
    opacity: 0;
    position: absolute;
    margin-left: -1em;
    -webkit-transition: all .2s;
    transition: all .2s;
    text-transform: none;
    -webkit-font-feature-settings: "kern" off;
    font-feature-settings: "kern" off;
    font-variant: none;
    font-style: normal;
    font-weight: 400;
    text-shadow: none;
  }

  /* Tables */

  .app-table {
    width: 100%;
  }

  .app-table th {
    padding: 1rem;
    background-color: #ffffff;
    vertical-align: top;
  }

  .app-table td {
    padding: 1rem;
    background-color: #ffffff;
    vertical-align: top;
  }

