/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

/* ========== Design tokens ========== */
:root{
  --ui-text: #222222;
  --ui-muted: rgba(0,0,0,.5);

  /* Accent (used everywhere) */
  --ui-accent: #f2b74a;
  --ui-accent-dark: #e0a73f;
  --ui-accent-rgb: 242,183,74;

  /* Motion */
  --ui-fade-fast: .2s;
  --ui-fade: .5s;

  --ui-subtle: #9A9A9A;
}

/* ========== Header logo (desktop/tablet) ========== */
#header .logo {
    float: none !important;
	transition: opacity var(--ui-fade) ease;
}
#header .logo a {
    display: flex;
    align-items: center;
    height: 100%;
}
#header .logo img {
    display: block;
    max-height: 80px;
    width: auto;
}
#header.av_header_transparency .logo {
	opacity: 0;
}
#header:not(.av_header_transparency) .logo {
	opacity: 1;
}
@media only screen and (max-width: 767px){
    .responsive #header .logo img{
        max-height: 60px !important;
    }
	.avia-image-container img.avia_image {
      max-height: 270px !important;
      width: auto;
      height: auto;
  }
}

/* ========== Header logo (mobile home) ========== */
@media (max-width: 767px){
  .home #header .logo{ display:none !important; }
}

/* ========== Blank template cleanup ========== */
#top.avia-blank #main .av-layout-grid-container.maintenance{
  border-top: none !important;
}

/* ========== Hero scroll-down arrow (Enfold-safe) ========== */
#top .scroll-down-link.avia-svg-icon svg path{
  fill: var(--ui-muted) !important;
  transition: fill .3s ease, stroke .3s ease;
}

#top .scroll-down-link.avia-svg-icon:hover svg path{
  fill: var(--ui-accent) !important;
}

/* ========== Subheading of Headings ========== */
.av-special-heading .av-subheading {
	font-style: italic;
	font-weight: 400;
	font-size: 18px !important;
	color: var(--ui-subtle);
}
.main_color u,
.main_color span[style*="text-decoration: underline"] {
	padding: 0.05em 0.30em;
	border-radius: 0.3em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	text-decoration: none !important; /* underline entfernen */
}


/* ========== Reduce avia section "huge padding"  ========== */
.avia-section-huge .content, .avia-section-huge .sidebar {
	padding-top: 100px;
	padding-bottom: 160px;
}

/* ========== Socket: vertically center content ========== */
#socket .container {
    display: flex;
    align-items: center;
	font-size: 12px;
}
#socket .sub_menu_socket {
    margin-left: auto;
    float: none;
}

/* ========== Masonary Styling ========== */
.alternate_color .container .av-inner-masonry-content,
.alternate_color .container .av-masonry-entry .avia-arrow {
	background-color: #f7f7f7;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.av-masonry-entry .av-masonry-entry-title {
	line-height: 1rem;
	font-size: 18px;
	text-align: center;
}
.av-masonry-entry .av-masonry-entry-title + .av-masonry-entry-content {
	font-style: italic;
	font-weight: 400;
	font-size: 18px !important;
	color: var(--ui-subtle);
	text-align: center;
}
@media only screen and (min-width: 767px) and (max-width: 989px) {
    .responsive .av-masonry-entry .av-masonry-entry-title+.av-masonry-entry-content {
        display: block;
    }
}

/* ========== Portfolio Styling ========== */
a.back-inline {
  position: relative;
  display: inline-block;
  padding: 0em 0.1em;
  opacity: 0.4;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}

a.back-inline::before {
  content: "";
  position: absolute;
  inset: -8px;
}


/* ========== About - Photo ========== */
.about-photo img {
  filter: grayscale(90%) saturate(65%);
  opacity: 0.9;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.about-photo img:hover {
  filter: grayscale(0%) saturate(100%);
  opacity: 1;
}

/* ========== Contact Form ========== */
#top div .av-dark-form input[type="text"],
#top div .av-dark-form input[type="email"],
#top div .av-dark-form textarea {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    font-size: 0.95em;
    color: var(--ui-text);
    transition:
        border-color var(--ui-fade-fast) ease,
        box-shadow var(--ui-fade-fast) ease,
        background-color var(--ui-fade-fast) ease;
}

#top div .av-dark-form input[type="text"]:hover,
#top div .av-dark-form input[type="email"]:hover,
#top div .av-dark-form textarea:hover {
    border-color: rgba(0,0,0,0.25);
}

#top div .av-dark-form input[type="text"]:focus,
#top div .av-dark-form input[type="email"]:focus,
#top div .av-dark-form textarea:focus {
    outline: none;
    border-color: var(--ui-accent-dark);
    box-shadow: 0 0 0 3px rgba(var(--ui-accent-rgb), 0.18);
}

#top div .av-dark-form input[type="submit"] {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.25);
    color: var(--ui-text);
    padding: 0.6em 1.4em;
    border-radius: 4px;
    font-size: 0.9em;
    transition: all var(--ui-fade-fast) ease;
}

#top div .av-dark-form input[type="submit"]:hover {
    background: rgba(var(--ui-accent-rgb), 0.12);
    border-color: var(--ui-accent-dark);
}

#top div .av-dark-form ::placeholder {
    color: var(--ui-muted);
}