/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, 
otherwise opera might act buggy :( */

/* General Custom CSS */

/********************** Font Gill Sans for all site ****************************/

/* * {
  font-family: 'Gill Sans' !important;
  font-size: 14px;
}*/

/*******************************************************************************/

body.single-portfolio #main {
	padding-top: 115px !important;
}

body.single-portfolio.postid-715 #main, body.single-portfolio.postid-714 #main, body.single-portfolio.postid-713 #main, body.single-portfolio.postid-712 #main, body.single-portfolio.postid-709 #main, body.single-portfolio.postid-702 #main, body.single-portfolio.postid-526 #main {
	padding-top: 140px !important;
}

/*body.single-portfolio #main .container_wrap_first .avia-slideshow-inner {
    height: auto !important;
}*/

body.single-portfolio .avia-post-nav {
	display:none;
}


/********************** Customizing site loader     ****************************/

#top .av-siteloader {
  border-color: #565656;
  border-left-color: #cf1b15;
  border-top: none;
  border-bottom: none;
}

/*******************************************************************************/

/********************** Stiling Header & Menu       ****************************/

.header_color .header_bg {
  height: 115px;
  background: rgba(255, 255, 255, .8);
}

#header.header-scrolled .av-logo-container .logo, 
#header.header-scrolled .av-logo-container .logo > a, 
#header.header-scrolled .av-logo-container .logo > a > img {
  max-height: 90px !important;
  height: 90px;
}

body.home .logo {
  margin-top: 0;
}

body.home #header:not(.header-scrolled) .logo {
  transition: margin 1s ease-in-out, transform 1s ease-in-out, opacity 1s ease-in-out;
  margin-top: 22.2%;
  transform: scale(1.8,1.8);
  transform-origin: 215px;
  opacity: 0;
}

body.home #avia-menu {
  opacity: 0;
  transition: all 1s linear;
}

.html_header_top.html_header_sticky #header {
  padding-top: 10px;
}

/*******************************************************************************/

/********************** Moving Header in Slider Home ***************************/

.avia_transform .active-slide .avia-caption-title {
  font-weight: 600 !important;
  transition: margin-top 1s ease-in-out, transform 1s ease-in-out, opacity .8s ease-in-out;
}

/*******************************************************************************/

/********************** Section Headers in Home and other pages ****************/

.av-special-heading-tag {
  color: #e7214d;
}

.av-special-heading-tag {
  font-size: 32px !important;
  transform: none;
  font-weight: 600 !important;
  opacity: 1;
}

body.home #trust .av-special-heading-tag, 
body.home #stellen .av-special-heading-tag,
body.home #story .av-special-heading-tag {
  color: white;
}

body.home #trust .av-special-heading-tag {
  font-size: 40px !important;
  transform: none;
  font-weight: 600 !important;
  opacity: 1;
  margin-top: 15px;
}

/*******************************************************************************/

/********************** Section spacing in Home and other pages ****************/

body.home #leistungen .av-content-full, 
body.page-id-666 #leistungen .av-content-full, 
body.home #aktuelles .av-content-full {
  padding-bottom: 119px;
}

body.home #leistungen .sort_width_container, 
body.page-id-666 #leistungen .sort_width_container, 
body.home #projekte .sort_width_container, 
body.page-id-565 #av_section_1 .sort_width_container, 
body.page-id-578 #av_section_1 .sort_width_container, 
body.home #aktuelles .sort_width_container, 
#leistungen-post .sort_width_container {
  margin: 10px 0;
}

body.home #projekte .grid-sort-container {
	margin: 20px 0 0;
}

body.postid-471 .av_textblock_section,body.postid-465 .av_textblock_section, body.postid-473 .av_textblock_section {
	margin-top: 50px;
}

/*******************************************************************************/

/********************** Styling Porffolios Grid     ****************************/

body.home #projekte .inner-entry, 
body.home #leistungen .inner-entry, 
body.page-id-666 #leistungen .inner-entry, 
body.home #aktuelles .inner-entry, 
body.page-id-565 #av_section_1 .inner-entry, 
body.page-id-578 #av_section_1 .inner-entry, 
#leistungen-post .inner-entry {
  margin: 0;
	margin-right: -1px;
}

body.home #team .inner-entry {
  margin: -1px;
}

/*body.home #projekte .inner-entry, 
body.home #projekte .inner-entry .grid-image > img,
body.home #aktuelles .inner-entry, 
body.home #aktuelles .inner-entry .grid-image > img,
body.page-id-565 #av_section_1 .inner-entry, 
body.page-id-578 #av_section_1 .inner-entry,
/*body.page-id-565 #av_section_1 .inner-entry .grid-image > img, 
body.page-id-578 #av_section_1 .inner-entry .grid-image > img, 
#leistungen-post .inner-entry .grid-image > img, 
#leistungen-post .inner-entry .grid-image > img {
  min-height: 300px;
  max-height: 300px;
}*/

body.single-portfolio .av_slideshow.avia-slideshow li img {
	height:600px;
	width:auto;
}

body.home #projekte .inner-entry .grid-image .image-overlay, 
body.home #leistungen .inner-entry .grid-image .image-overlay, 
body.page-id-666 #leistungen .inner-entry .grid-image .image-overlay, 
/*body.home #aktuelles .inner-entry .grid-image .image-overlay,*/
body.page-id-565 #av_section_1 .inner-entry .grid-image .image-overlay, 
body.page-id-578 #av_section_1 .inner-entry .grid-image .image-overlay, 
#leistungen-post .inner-entry .grid-image .image-overlay {
  opacity: 1 !important;
  transition: all .4s ease;
  background: linear-gradient(transparent, rgb(0, 0, 0)) !important;
  height: 30% !important;
  top: 70% !important;
  left: 0 !important;
}

body.home #projekte .inner-entry .grid-image:hover .image-overlay, 
body.home #leistungen .inner-entry .grid-image:hover .image-overlay, 
body.page-id-666 #leistungen .inner-entry .grid-image:hover .image-overlay, 
/*body.home #aktuelles .inner-entry .grid-image:hover .image-overlay, */
body.page-id-565 #av_section_1 .inner-entry .grid-image:hover .image-overlay, 
body.page-id-578 #av_section_1 .inner-entry .grid-image:hover .image-overlay, 
#leistungen-post .inner-entry .grid-image:hover .image-overlay {
  background: rgb(0, 0, 0, 0.7) !important;
  height: 100% !important;
  top: 0 !important;
}

body.home #projekte .inner-entry .grid-image .image-overlay-inside::before, 
body.home #leistungen .inner-entry .grid-image .image-overlay-inside::before, 
body.page-id-666 #leistungen .inner-entry .grid-image .image-overlay-inside::before, 
body.home #aktuelles .inner-entry .grid-image .image-overlay-inside::before, 
body.page-id-565 #av_section_1 .inner-entry .grid-image .image-overlay-inside::before, 
body.page-id-578 #av_section_1 .inner-entry .grid-image .image-overlay-inside::before, 
#leistungen-post .inner-entry .grid-image .image-overlay-inside::before {
  display: none;
}

body.home #team .inner-entry .grid-content, 
body.page-id-555 #team .inner-entry .grid-content {
  position: absolute;
    bottom: 0;
    background: transparent;
	padding: 0 10px 10px;
}

body.home #team .inner-entry .grid-content .grid-entry-excerpt, 
body.page-id-555 #team .inner-entry .grid-content .grid-entry-excerpt {

text-align: left;
    line-height: 17px;
    font-size: 14px;
    color: white;
	font-style:normal;
}

body.page-id-555 #team #js_sort_items span, body.page-id-565 #js_sort_items span {
	text-transform: uppercase;
}


body.home #leistungen .inner-entry .grid-content,
body.page-id-666 #leistungen .inner-entry .grid-content,
body.home #aktuelles .inner-entry .grid-content,
body.page-id-578 #av_section_1 .inner-entry .grid-content, 
body.home #projekte .inner-entry .grid-content,
body.page-id-565 #av_section_1 .inner-entry .grid-content,
#leistungen-post .inner-entry .grid-content {
  position: absolute;
  top: 0;
  background: transparent;
  height: 100%;
  /*overflow-y: scroll;*/
  pointer-events: none;
  z-index: 4000;
  width: 100%;
  padding: 5% 20px 0;
}

body.home #projekte .inner-entry .grid-content .grid-entry-excerpt, 
body.home #leistungen .inner-entry .grid-content .grid-entry-excerpt, 
body.page-id-666 #leistungen .inner-entry .grid-content .grid-entry-excerpt,
body.page-id-565 #av_section_1 .inner-entry .grid-content .grid-entry-excerpt, 
body.home #aktuelles .inner-entry .grid-content .grid-entry-excerpt, 
#leistungen-post .inner-entry .grid-content .grid-entry-excerpt {
  display: none;
}

body.home #projekte .inner-entry:hover .grid-content .grid-entry-excerpt, 
body.home #leistungen .inner-entry:hover .grid-content .grid-entry-excerpt, 
body.page-id-666 #leistungen .inner-entry:hover .grid-content .grid-entry-excerpt,
body.home #aktuelles .inner-entry:hover .grid-content .grid-entry-excerpt, 
body.page-id-565 #av_section_1 .inner-entry:hover .grid-content .grid-entry-excerpt, 
body.page-id-578 #av_section_1 .inner-entry:hover .grid-content .grid-entry-excerpt, 
#leistungen-post .inner-entry:hover .grid-content .grid-entry-excerpt {
  display: flex;
}

.avia-arrow {
  display: none;
}

body.home #leistungen .inner-entry .grid-content .entry-content-header,
body.page-id-666 #leistungen .inner-entry .grid-content .entry-content-header,
body.home #aktuelles .inner-entry .grid-content .entry-content-header,
body.home #team .inner-entry .grid-content .entry-content-header,
body.page-id-555 #team .inner-entry .grid-content .entry-content-header,
body.home #projekte .inner-entry .grid-content .entry-content-header,
body.page-id-565 #av_section_1 .inner-entry .grid-content .entry-content-header,
body.page-id-578 #av_section_1 .inner-entry .grid-content .entry-content-header,
#leistungen-post .inner-entry .grid-content .entry-content-header {
  border: none;
  background: transparent;
}

body.home #leistungen .inner-entry .grid-content .entry-content-header,
body.page-id-666 #leistungen .inner-entry .grid-content .entry-content-header,
body.home #aktuelles .inner-entry .grid-content .entry-content-header,
body.home #projekte .inner-entry .grid-content .entry-content-header,
body.page-id-565 #av_section_1 .inner-entry .grid-content .entry-content-header,
body.page-id-578 #av_section_1 .inner-entry .grid-content .entry-content-header,
#leistungen-post .inner-entry .grid-content .entry-content-header {
  position: absolute;
  top: 72%;
bottom: 0;
    display: flex;
    align-items: flex-end;
    margin-bottom: 15px;
}

body.home #leistungen .inner-entry .grid-content .entry-content-header *,
body.home #team .inner-entry .grid-content .entry-content-header *, 
body.page-id-555 #team .inner-entry .grid-content .entry-content-header *,
body.home #projekte .inner-entry .grid-content .entry-content-header *,
body.home #leistungen .inner-entry .grid-content .entry-content-header *,
body.page-id-666 #leistungen .inner-entry .grid-content .entry-content-header *,
body.home #aktuelles .inner-entry .grid-content .entry-content-header *, 
body.page-id-565 #av_section_1 .inner-entry .grid-content .entry-content-header *,
body.page-id-578 #av_section_1 .inner-entry .grid-content .entry-content-header *, 
#leistungen-post .inner-entry .grid-content .entry-content-header * {
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: white;
  /*text-shadow: 1px 1px #000;*/
  text-align: left;
text-transform: uppercase;
}

body.home #projekte .inner-entry .grid-content .grid-entry-excerpt,body.home #leistungen .inner-entry .grid-content .grid-entry-excerpt, 
body.page-id-666 #leistungen .inner-entry .grid-content .grid-entry-excerpt, 
body.home #aktuelles .inner-entry .grid-content .grid-entry-excerpt, 
body.page-id-565 #av_section_1 .inner-entry .grid-content .grid-entry-excerpt, 
body.page-id-578 #av_section_1 .inner-entry .grid-content .grid-entry-excerpt, 
#leistungen-post .inner-entry .grid-content .grid-entry-excerpt {
  color: white;
  font-size: 14px;
  line-height: 18px;
  text-align: left;
  font-style: normal;
  /*text-shadow: 1px 1px #000;*/
  height: 80%;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
}

body.home #projekte .inner-entry .grid-content,
body.page-id-565 #av_section_1 .inner-entry .grid-content {
	padding: 30px;
}
body.home #projekte .inner-entry .grid-content .entry-content-header,
body.page-id-565 #av_section_1 .inner-entry .grid-content .entry-content-header {
	padding-right: 30px;
}
body.home #projekte .inner-entry .grid-content .grid-entry-excerpt,
body.page-id-565 #av_section_1 .inner-entry .grid-content  .grid-entry-excerpt {
	justify-content: flex-start;
	height: 90%;
}

#leistungen-post .avia_textblock p {
	line-height: 22px;
}

body.portfolio-template-default.single-portfolio .avia-slideshow.image_no_stretch li img {
    max-height: 500px;
}


/*******************************************************************************/

/**********************      ****************************/

body.home #projekte .entry-content-wrapper, 
body.page-id-565 #av_section_1 .entry-content-wrapper, 
body.page-id-578 #av_section_1 .entry-content-wrapper, 
#leistungen-post .entry-content-wrapper {
  position: relative;
}

body.home #projekte .entry-content-wrapper .av_textblock_section, 
body.page-id-565 #av_section_1 .entry-content-wrapper .av_textblock_section, 
body.page-id-578 #av_section_1 .entry-content-wrapper .av_textblock_section {
  position: absolute;
  top: 0;
  right: 0;
  padding-right: 50px;
  border-bottom: 1px solid lightgray;
  padding-bottom: 10px;
}

.under-red {
  width: 30px;
  border-bottom: 1px solid #e7214d !important;
  position: absolute;
  bottom: 0;
}

body.home #projekte .avia-button.avia-size-small, 
body.home #aktuelles .avia-button.avia-size-small, 
body.home #stellen .avia-button.avia-size-small, 
body.home #team .avia-button.avia-size-small, 
body.page-id-565 #av_section_1 .avia-button.avia-size-small, 
body.page-id-578 #av_section_1 .avia-button.avia-size-small {
  padding: 5px 10px;
  margin-top: 30px;
  border-radius: 0;
  border-bottom: none;
}

body.home #projekte .av-extra-border-inner, 
body.page-id-565 #av_section_1 .av-extra-border-inner, 
body.page-id-578 #av_section_1 .av-extra-border-inner {
  display: none;
}

body.home #trust .av-subheading {
  margin-top: 15px;
  color: #e1e1e1;
}

body.home #trust p {
  max-width: 700px;
	line-height: 22px;
}

body.home #stellen .avia_codeblock {
  text-align: center;
  margin-top: 20px;
}

body.home #stellen .av-subheading {
  margin-top: 30px;
  color: #e1e1e1;
}

#custom_html-2 {
  text-align: center;
  font-weight: 600;
}
/*******************************************************************************/

/********************** Section Team     ****************************/
body.home #team .grid-sort-container .grid-entry {
  position: relative !important;
  left: 0px !important;
  top: 0px !important;
}

/*body.home #team .grid-sort-container:not(:first-child) .grid-entry .inner-entry, body.home #team .grid-sort-container:not(:first-child) .grid-entry .inner-entry .grid-image {
	height:100% !important;
}*/

body.home #team .grid-sort-container article .grid-image img, 
body.home #aktuelles .grid-sort-container article .grid-image img, 
body.page-id-555 .grid-sort-container article .grid-image img {
  transition: all .5s ease-in-out;
}

body.home #team .grid-sort-container article .grid-image:hover img, 
body.home #aktuelles .grid-sort-container article .grid-image:hover img, 
body.page-id-555 #team .grid-sort-container article .grid-image:hover img {
  transform: scale(1.2);
}

body.home #team .grid-sort-container article .grid-content {
  padding: 0 5px 10px;
}

body.home #team .grid-sort-container article .grid-content .entry-content-header a, 
body.home #team .grid-sort-container article .grid-content .grid-entry-excerpt {
  text-shadow: 2px 2px black;
}

body.home #team .grid-sort-container article .grid-content .grid-entry-excerpt {
  color: white;
  text-align: left;
  font-style: normal;
}

body.home #team .grid-sort-container article .image-overlay,
body.home #aktuelles .inner-entry .grid-image .image-overlay,
body.page-id-555 #team .grid-sort-container article .image-overlay {
  background: linear-gradient(transparent, rgb(0, 0, 0)) !important;
  opacity: 1 !important;
  height: 25% !important;
  top: 76% !important;
  left: 0 !important;
}

body.home #team .grid-sort-container article .image-overlay .image-overlay-inside, 
body.page-id-555 #team .grid-sort-container article .image-overlay .image-overlay-inside {
  display: none;
}

body.home #team .inner-entry .grid-content, 
body.page-id-555 #team .inner-entry .grid-content {
  z-index: 310;
}

/*******************************************************************************/

/**********************  Footer    ****************************/

#scroll-top-link {
  border-radius: 100px !important;
  background: #e7214d !important;
  opacity: 1 !important;
}

#scroll-top-link:before {
  font-size: 35px !important;
  color: white !important;
}

#footer .widget {
  margin: 30px 0 0 0;
}

.cli-plugin-button, 
.cli-plugin-main-link {
  margin-left: 10px;
  cursor: pointer;
}

.cli-plugin-button {
  padding: 5px 10px !important;
  font-size: 13px !important;
  text-transform: uppercase;
}

/*******************************************************************************/

/********************** Cookies consent     ****************************/

.cookies-consent-full {
  position: fixed;
  top: 50%;
  left: 50%;
  visibility: hidden;
}

.cookies-consent-full > div {
  width: 100%;
  margin-left: -50%;
  height: 100%;
  margin-top: -50%;
  background: white;
  padding: 50px;
}

.cookies-consent-full > div .cookies-consent-header {
  font-size: 120%;
  font-weight: 600;
  text-align: center;
}

.cookies-consent-full > div .cookies-consent-text {
  text-align: justify;
}

.cookies-consent-full > div a {
  margin-left: 0;
}

/*******************************************************************************/

/**********************      ****************************/

body.page-id-555 .grid-entry, body.page-id-555 .grid-entry .inner-entry{
  border: none;
	margin:0;
	margin-right: -1px;
}

body.page-id-555 .inner_sort_button, body.page-id-565 .inner_sort_button {
  border: 1px solid #888888;
  padding: 5px 10px;
  margin-right: 10px;
  background-color: #888888;
  color: #ffffff;
}

body.page-id-555 .active_sort .inner_sort_button, body.page-id-565 .active_sort .inner_sort_button {
  border: 1px solid #d71c47;
  background-color: #d71c47;
}

body.page-id-555 .sort_width_container,body.page-id-565 .sort_width_container {
  margin: 20px 0 30px !important;
}

body.page-id-555 .text-sep,body.page-id-565 .text-sep {
  display: none;
}

body.page-id-555 #js_sort_items, body.page-id-565 #js_sort_items {
  background-color: transparent;
}

body.page-id-555 #js_sort_items a, body.page-id-565 #js_sort_items a {
  margin-top: 10px;
}

/*body.page-id-555 .grid-sort-container {
  margin: 0 -10px;
}*/

body.page-id-555 .mainContentOfPage, 
body.page-id-666 .av-content-full, 
body.page-id-565 .av-content-full, 
body.page-id-578 .av-content-full,
body.page-id-694 .av-content-full {
  vertical-align: top !important;
  padding-top: 80px !important;
  padding-bottom: 100px;
}

body.page-id-555 #main, 
body.page-id-666 #main, 
body.page-id-565 #main, 
body.page-id-578 #main {
  background-color: #f8f8f8;
}

/*******************************************************************************/

/********************** Impressum     ****************************/

body.page-id-694 p {
  color: #282727;
}

/*******************************************************************************/

/********************** Individual Projects     ****************************/


body.postid-499 .template-page,body.postid-1023 .template-page {
	vertical-align:top !important;
	padding-top: 20px;
}

#projecte-text-section .proyect-text {
	margin-top: 0px;
    margin-bottom: 20px;
    font-family: sans-serif;
    font-size: 110%;
}
#projecte-text-section .proyect-text-t {
	    font-family: sans-serif;
    margin: 0;
	font-size: 110%;
}

#projecte-text-section .proyect-text-header {
    font-weight: 900;
    font-family: sans-serif;
    margin: 0;
	font-size: 110%;
}


/*


Desktop Styles
================================================== */

/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */
  body.home #team .flex_column.av_one_full {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
  }
  body.home #team .grid-sort-container:first-child {
    display: inline-block;
  }
  body.home #team .grid-sort-container:not(:first-child) {
    display: inline-block;
    width: 60%;
    height: auto;
  }
	/*body.single-portfolio #main .container_wrap_first,body.single-portfolio #main #leistungen-post {
	max-width: 70%;
    margin: 0 auto;
	float: none;
}*/

}

/*
Mobile Styles
================================================== */

/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
  .responsive #top #wrap_all .container {
    max-width: 100%;
  }
  .responsive #top #wrap_all #header {
    padding-top: 0;
	  position: fixed !important;
  }
.header_color .header_bg {
    height: 100px;
	}
  #advanced_menu_toggle {
    right: 10px;
  }
  #menu-item-423 {
    display: none;
  }
  .logo {
    margin-left: 10px !important;
    position: relative !important;
    margin-top: 10px !important;
    transform: none !important;
  }
  body.home #projekte .av_textblock_section {
    position: relative !important;
    margin-top: 10px;
  }
  #custom_html-2 .custom-html-widget > div:nth-child(2) {
    flex-direction: column !important;
  }
  .cookies-consent-full {
    top: 0 !important;
    left: 0 !important;
  }
  .cookies-consent-full > div {
    margin-left: 0;
    margin-top: 0;
  }
	
	body.page-id-555 .av-content-full, body.page-id-666 .av-content-full, body.page-id-565 .av-content-full, body.page-id-578 .av-content-full, body.page-id-694 .av-content-full {
    padding-top: 120px !important;
	}
	
	body.single-portfolio .av_slideshow.avia-slideshow li img {
	height:250px;
}
	
}