/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}


/* ==========================================================================
  Helper classes
========================================================================== */

/*
 * Text alignment
 */

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}


/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media screen and (max-width: 782px) {
    .hidden-xs {
        display: none;
    }
}

@media screen and (min-width: 783px) {
    .hidden-md {
        display: none;
    }
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}




.line-lg {
    height: 3px;
    background: url(../img/line-lg.png) no-repeat center center;
    background-size: contain;
}
hr.wp-block-separator {
    height: 3px!important;
    background: url(../img/line-lg.png) no-repeat center center!important;
    background-size: contain!important;
    border: none!important;
    margin: 60px 0;
}

.line-md {
    height: 3px;
    background: url(../img/line-md.png) no-repeat center center;
    background-size: contain;
    width: 317px;
    max-width: 80%;
}

.line-sm {
    height: 3px;
    background: url(../img/line-sm.png) no-repeat center center;
    background-size: contain;
    width: 111px;
    max-width: 80%;
}

.text-upper {
    text-transform: uppercase;
}

.text-highlight {
    color: var(--highlight-color);
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

:root {
    --highlight-color-red: #f27e7e;
    --highlight-color: #caa78d;
}

html, body {
    font-size: 17px;
    color: #342f2f;
    line-height: 1.6;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    background: #fff url('../img/bg-light.png') repeat;
    overflow-x: hidden;
}

p {
    display: block;
    margin-block-start: 0rem;
    margin-block-end: 1rem;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.entry-content p {
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

strong,
b {
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

.container {
    margin-right:auto;
    margin-left:auto;
    /*overflow: hidden;*/
}

#header-home,
#header {
    background: url(../img/bg-gradient.jpg) repeat top left;
    position: relative;
}

#tagline, #contacts {
    font-size: 0.82rem;
    padding: 14px 0;
}

#hero {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#logo {
    max-width: 80%;
    display: block;
}


#header-home #logo img {
    height: 240px;
    max-width: 100%;
}

#menu-main #logo img {
    height: 100px;
    max-width: 100%;
}

@keyframes line {
    100% {
        opacity: 1;
        stroke-dashoffset: 0;
    }
}

@media screen and (max-width: 782px) {
    #hero {
        height: 200px;
    }
    #logo {
        max-width: 200px;
        display: block;
    }

    #menu-main #logo {
        padding: 12px 18px;
    }
    #menu-main #logo img {
        max-width: 200px;
        height: auto;
    }
}


h1 {
    font-family: 'Lora', serif;
}
.block-header {

}

.block-header span {
    font-family: 'Allison', cursive;
    font-size: 2.12rem;
    color: #aca38f;
}

.block-header h2 {
    font-size: 1.76rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-top: 0;
}


#menu-main {
    position: -webkit-sticky;
    position: sticky;
    top: -2px;
    background: url(../img/bg-gradient.png) repeat 0 -500px;
    box-shadow: 0 20px 20px rgba(0,0,0,.025), 0 10px 10px rgba(0,0,0,.025);
    z-index: 2;
}

#menu-main ul,
#menu-main li {
    list-style: none;
    padding: 0;
    margin: 0;
}

#menu-main a {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    padding: 18px 10px;
    cursor: pointer;
    transition: all 0.5s;
    font-weight: 400;
    text-decoration: none;
    color: #342f2f;
    display: inline-block;
}

#menu-main a:hover,
#menu-main .current-menu-item a
{
    color: var(--highlight-color);

}
#menu-main a:hover {
    transform: translate(0px, -2px);
}


@media screen and (max-width: 782px) {
    #menu-main {
        position: -webkit-sticky;
        position: sticky;
        top: 0px;
    }
    #menu-main-wrapper {
        position: fixed;
        top: 0;
        width: 100%;
        padding: 0;
        max-height: 0px;
        overflow: hidden;
        transition: all 0.6s;
        opacity: 0.8;
        background: #fff;
    }
    #menu-main #menu-main-wrapper.active {
        padding-top: 30px!important;
        padding-bottom: 30px!important;
        max-height: 800px;
        opacity: 1;
    }
    #menu-main .col-xs-12,
    #menu-main .row {
        margin: 0;
        padding: 0!important;
        width: 100%;
    }
    #menu-main ul#menu-main-menu,
    #menu-main li {
        display: block!important;
        width: 100%;
    }
}



@media screen and (min-width: 783px) {
    #about {
        background: #ccb09f url('../img/emese.jpg') no-repeat center center;
        background-size: cover;
    }
    #about .content {
        margin: 4.7rem 0;
    }
}



#about .content {
    background: #fff;
    padding: 2.94rem;
    border-radius: 5px;
    box-shadow: 0 0 80px rgba(0,0,0,.05);
}

#about h1 {
    margin: 0;
}


#services {
    padding: 3rem 0;
}

#services .service-block {
    margin-bottom: 50px;
}

#services .service-block img {
    width: 100%;
    margin-bottom: -26px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0,0,0,.25);
}

#services .service-block h3 {
    padding: 8px 18px 8px 16px;
    background-color: var(--highlight-color);
    text-transform: uppercase;
    font-size: 0.87rem;
    letter-spacing: 2.5px;
    color: #fff;
    display: inline-block;
    border-radius: 3px;
    margin: 0 0 20px 14px;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0,0,0,.05);
}


#testimonials,
#contact-block,
.featured-section {
    background: var(--highlight-color)!important;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,.05);
}

#testimonials:before,
#contact-block:before,
.featured-section:before {
    content: "";
    display: block;
    background: var(--highlight-color) url('../img/bg-testimonials.png') repeat-x center top;
    mix-blend-mode: lighten;
    height: 33px;
}

#testimonials .container,
#contact-block .container,
.featured-section .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}


#blog-recent {
    padding: 3rem 0;
}


#blog .blog-post-item .date,
#blog-recent .blog-post-item .date {
    font-size: 0.75rem;
    color: #878787;
}

#blog .blog-post-item h3,
#blog-recent .blog-post-item h3 {
    margin-top: 10px;
}

#blog .blog-post-item img,
#blog-recent .blog-post-item img {
    transition: all 0.5s;
    border: 10px solid #fff;
    border-radius: 5px;
    box-shadow: 0 0 80px rgba(0,0,0,.05);
    transform: scale(1);
    max-width: calc(100% - 20px);
}

@media screen and (min-width: 783px) {
    #blog .blog-post-item img,
    #blog-recent .blog-post-item img {
        border: 20px solid #fff;
        max-width: calc(100% - 40px);
    }
}

#blog .blog-post-item img:hover,
#blog-recent .blog-post-item img:hover {
    box-shadow: 0 0 30px rgba(0,0,0,.15);
    transform: scale(1.02);
}

.readmore {
    transition: all 0.5s;
    position: relative;
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #342f2f25;
    text-decoration-thickness: 2px;
}
.readmore:hover {
    transition: all 0.5s;
    transform: translate(4px, 0);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #342f2f;
    text-decoration-thickness: 2px;
}

.post-hero {
    height: 500px;
    max-height: 50vh;
    /*backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );*/
    background-size: cover;
    background-position: top center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0,0,0,.1);
}
.post-hero div {
    max-width: 800px;
}

h1.page-title,
.post-hero h1 {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 5px 18px 5px 16px;
    background-color: var(--highlight-color);
    /*text-transform: uppercase;*/
    font-size: 1.5rem;
    letter-spacing: 2.5px;
    color: #fff;
    display: inline!important;
    border-radius: 3px;
    text-shadow: 1px 1px 3px rgba(0,0,0,.05);
    line-height: 1.9;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    bottom: -24px;
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: italic;
}

h1.page-title {
    padding: 10px 32px 10px 32px;
    text-shadow: 1px 1px 3px rgba(0,0,0,.1);
}

@media screen and (min-width: 783px) {
    h1.page-title,
    .post-hero h1 {
        font-size: 2.3rem;
    }
    h1.page-title {
        padding: 10px 32px 10px 32px;
        text-shadow: 1px 1px 3px rgba(0,0,0,.1);
    }
}

.page-header:before,
.post-hero:before {
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    content: "";
    /*backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );*/
}

.page-header,
.page-header img
{
    position: relative;
    z-index: 1;
}


#wpadminbar {
    display: none;
}
html {
    margin-top: 0px !important;
}


.bordered-image {
    border-radius: 5px;
    border: 20px solid #fff;
    box-shadow: 0 0 80px rgb(0 0 0 / 5%);
}


.wp-block-columns:not(.is-not-stacked-on-mobile)>.col-xs-12.wp-block-column:not(:first-child) {
    margin-left: 0;
}

.btn-large {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    padding: 10px 40px;
    font-size: 22px;
    background-color: var(--highlight-color);
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    transition: all 0.5s;
}
.btn-large:hover {
    box-shadow: 0 0 10px rgba(0,0,0,.25);
    transform: scale(1.02);
}

.featured-content-block {
    padding: 60px 0 60px 0;
    background-color: var(--highlight-color);
    box-shadow: -600px 0 0 var(--highlight-color), 600px 0 0 var(--highlight-color), -1200px 0 0 var(--highlight-color), 1200px 0 0 var(--highlight-color);
    color: #fff;
    position: relative;
}
.featured-content-block .block-header span {
    color: #fff;
}

@media screen and (min-width: 1200px) {
    .featured-content-block {
        padding: 90px 0 60px 0;
    }
    .featured-content-block:before {
        content: "";
        display: block;
        background: var(--highlight-color) url('../img/bg-testimonials.png') repeat-x center top;
        mix-blend-mode: lighten;
        height: 33px;
        /* margin-left: calc(-50vw + 500px); */
        margin-left: calc(-50vw + 35.5rem);
        margin-top: -90px;
        width: 100vw;
        position: absolute;
    }

    .page-content .featured-content-block:before {
        margin-left: calc(-50vw + 35.5rem);
    }
}
