/* Ediltuna - static site stylesheet */

@font-face {
  font-family: 'texgyreadventorregular';
  src: url('../fonts/texgyreadventor-regular-webfont.woff2') format('woff2'),
       url('../fonts/texgyreadventor-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'CACChampagne';
  src: url('../fonts/cac_champagne.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ---------- Base ---------- */
*, *:before, *:after { box-sizing: border-box; }
html { font-size: 10px; -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  margin: 30px;
  background: #fff;
  font-family: Raleway, "Open Sans", "PT Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.785;
  color: #565656;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: #28262b; text-decoration: none; transition: color .3s ease-in-out; }
a:hover { color: #8a8f6a; }
p { margin: 0 0 1.07em; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
iframe { max-width: 100%; }
.clearfix:before, .clearfix:after, .row:before, .row:after { content: " "; display: table; }
.clearfix:after, .row:after { clear: both; }
.inline-block { display: inline-block; }
.text-center { text-align: center; }

/* ---------- Grid ---------- */
.row { position: relative; width: 1200px; max-width: 100%; margin: 0 auto; }
.row .row { width: auto; max-width: none; margin: 0 -10px; }
@media only screen and (max-width: 1128px) {
  #main-wrap .row { width: auto; }
}
.columns { position: relative; float: left; min-height: 1px; padding: 0 10px; }
.six { width: 50%; }
.twelve { width: 100%; }

/* ---------- White frame ---------- */
.dfd-frame-line { position: fixed; display: block; background: #fff; z-index: 999999; }
.dfd-frame-line.line-top, .dfd-frame-line.line-bottom { left: 0; right: 0; height: 30px; }
.dfd-frame-line.line-left, .dfd-frame-line.line-right { top: 0; bottom: 0; width: 30px; }
.dfd-frame-line.line-top { top: 0; }
.dfd-frame-line.line-bottom { bottom: 0; }
.dfd-frame-line.line-left { left: 0; }
.dfd-frame-line.line-right { right: 0; }
@media only screen and (max-width: 640px) {
  .dfd-frame-line { display: none !important; }
}

/* ---------- Header (desktop: fixed side header) ---------- */
#header-container {
  position: fixed;
  top: 30px;
  left: 0;
  width: 300px;
  z-index: 999;
}
#header {
  position: fixed;
  top: 30px;
  bottom: 30px;
  left: 30px;
  width: 300px;
  background: #fff;
  z-index: 2;
}
#header .logo-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 230px;
  padding: 35px 30px;
  z-index: 1000;
}
#header .logo-panel a, #header .logo-panel img { display: block; height: 141px; width: auto; }
#header .header-wrap {
  position: relative;
  height: 100%;
  padding: 250px 0;
}
#header .mobile-header { display: none; }
/* Menu centred in the space left by logo/bottom panels; top-aligned when it does not fit. */
#main_mega_menu { position: relative; display: flex; align-items: center; width: 100%; min-height: 100%; padding: 0 0 8px; }
#menu-main { display: inline-block; vertical-align: top; }
#menu-main > li {
  padding: 0 30px;
  font-size: 13px;
  font-weight: 300;
  transition: background .3s, color .3s;
}
#menu-main > li > a {
  position: relative;
  display: block;
  padding: 0 20px;
  font-family: texgyreadventorregular, Raleway, "Open Sans", "PT Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #28262b;
  height: 30px;
  border-top: 1px dotted rgba(40, 38, 43, .1);
  transition: color .3s ease-in-out, border-top-width .3s;
}
#menu-main > li:first-child > a { border-top-width: 0; }
@media only screen and (min-width: 1101px) {
  #menu-main > li:hover { background: #1b1b1b; }
  #menu-main > li:hover > a { color: #fff; border-top-color: transparent; }
  #menu-main > li:hover + li > a { border-top-color: transparent; }
}

#main-wrap { position: relative; margin-left: 330px; }
#layout { position: relative; }

/* ---------- Header (mobile / tablet) ---------- */
@media only screen and (max-width: 1100px) {
  #header-container { position: relative; top: auto; left: auto; width: auto; }
  #header { position: relative; top: auto; bottom: auto; left: auto; width: auto; height: 182px; }
  #header .logo-panel, #header .header-wrap { display: none; }
  #header .mobile-header { display: block; position: relative; height: 182px; }
  #header .mobile-logo { position: absolute; top: 20px; left: 0; }
  #header .mobile-logo img { display: block; width: 141px; height: 141px; }
  #main-wrap { margin-left: 0; }
}
@media only screen and (max-width: 640px) {
  body { margin: 0; }
  #header .mobile-logo { left: 20px; }
  #header #mobile-menu { right: 20px; }
}
@media only screen and (max-width: 480px) {
  #header .mobile-logo img { width: 120px; height: 120px; }
}

/* Hamburger */
#mobile-menu {
  position: absolute;
  top: 71px;
  right: 0;
  display: block;
  width: 40px;
  height: 40px;
}
#mobile-menu .icon-wrap {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  height: 1px;
  background: #28262b;
}
#mobile-menu .dfd-middle-line { width: 20px; }
#mobile-menu .dfd-top-line { width: 25px; margin-top: -5px; }
#mobile-menu .dfd-bottom-line { width: 31px; margin-top: 5px; }

/* ---------- Mobile side panel ---------- */
#sidr {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #2d2d2d;
  color: rgba(255, 255, 255, .5);
  z-index: 999999;
  visibility: hidden;
  transition: left .2s ease, visibility 0s linear .2s;
}
body.sidr-opened #sidr { left: 0; visibility: visible; transition: left .2s ease; }
#sidr .sidr-top { position: relative; overflow: hidden; padding: 20px 50px 20px 20px; }
#sidr .sidr-top img { display: block; width: 141px; height: 141px; }
#sidr ul { margin: 0 0 15px; border-top: 1px dotted rgba(255, 255, 255, .1); border-bottom: 1px dotted rgba(255, 255, 255, .1); }
#sidr ul li { display: block; line-height: 48px; border-top: 1px dotted rgba(255, 255, 255, .1); transition: background .3s, border-top .3s; }
#sidr ul li:first-child { border-top-color: transparent; }
#sidr ul li:hover, #sidr ul li:hover + li { border-top-color: transparent; }
#sidr ul li a {
  position: relative;
  display: block;
  padding: 0 25px;
  font-family: texgyreadventorregular, Raleway, "Open Sans", "PT Sans", sans-serif;
  font-size: 9px;
  font-weight: 400;
  color: rgba(255, 255, 255, .5);
  transition: color .3s, background .3s;
}
#sidr ul li a:hover { color: #fff; background: #252525; }
#sidr .sidr-search { padding: 0 15px 15px; }
#sidr .sidr-search form { position: relative; }
#sidr .sidr-search input[type=text] {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 50px 0 15px;
  border: 0;
  border-radius: 2px;
  background: #252525;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
#sidr .sidr-search button {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
}
#sidr .sidr-search button svg { display: block; margin: 0 auto; }
.dfd-sidr-close { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 260px; z-index: 999998; }
body.sidr-opened .dfd-sidr-close { display: block; }

/* ---------- Content rows ---------- */
.vc-row-wrapper { position: relative; }
.vc-row-wrapper > .row { z-index: 1; }
.dfd-row-bg-wrapper-cover { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; z-index: 0; }
.dfd-row-bg-wrap { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-repeat: no-repeat; }
.dfd-row-bg-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; pointer-events: none; }
.vc-row-wrapper.full_width_content > .row { width: auto; max-width: none; margin: 0 -10px; }
.vc-row-wrapper.full_width_content_paddings > .row { width: auto; max-width: none; margin: 0 -10px; padding: 0; }
.vc-row-wrapper.dfd-row-full-height { min-height: 100vh; }
.vc-row-wrapper.dfd-row-content-middle { display: flex; align-items: center; }

/* Equal height columns with vertically centered content */
.equal-height-columns > .row > .columns { display: flex; flex-direction: column; }
.equal-height-columns > .row > .columns > .wpb_wrapper { flex: 1 0 auto; display: flex; flex-direction: column; }
.equal-height-columns.aligh-content-verticaly > .row > .columns > .wpb_wrapper { justify-content: center; }
.equal-height-columns > .row > .columns > .wpb_wrapper > .vc_inner { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
.equal-height-columns > .row > .columns > .wpb_wrapper > .vc_inner > .row { width: auto; }

/* Photo pages: text banner above the photos, as wide as the photo below it */
.photo-banner-box { margin: 0 auto; }
.photo-banner-box p { text-align: center !important; }

/* Spacers */
.dfd-spacer-module { display: block; clear: both; }
.vc_empty_space { clear: both; }
.vc_empty_space_inner { display: block; }

/* ---------- Heading module ---------- */
.dfd-heading-module-wrap .inline-block { max-width: 100%; }
.dfd-heading-module-wrap .dfd-heading-module { float: left; max-width: 100%; }
.dfd-heading-module-wrap .dfd-heading-module .widget-title,
.dfd-heading-module-wrap .dfd-heading-module .widget-sub-title { margin: 0; max-width: 100%; }
.dfd-heading-module-wrap .dfd-heading-delimiter { max-width: 100%; margin-left: auto; margin-right: auto; }
.wpb_wrapper h1.widget-title {
  font-family: "CACChampagne";
  font-size: 75px;
  font-weight: 600;
  line-height: 66px;
  color: #28262b;
}
.wpb_wrapper h5.widget-title {
  font-family: texgyreadventorregular, Raleway, "Open Sans", "PT Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #28262b;
}
.wpb_wrapper .widget-sub-title {
  font-family: "Droid Serif", Raleway, "Open Sans", "PT Sans", sans-serif;
  font-style: italic;
  font-weight: 400;
  color: #727272;
}
.wpb_wrapper h2.widget-sub-title { font-size: 16px; line-height: 30px; }
.wpb_wrapper h3.widget-sub-title { font-size: 14px; line-height: 1.43; }
.cr-animate-gen { opacity: 0; }
.cr-animate-gen.animated { opacity: 1; animation: slideLeftIn 1s ease both; }
@keyframes slideLeftIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- Text ---------- */
.wpb_text_column > .wpb_wrapper > *:last-child { margin-bottom: 0; }
.wpb_text_column h2 {
  font-family: texgyreadventorregular, Raleway, "Open Sans", "PT Sans", sans-serif;
  font-size: 45px;
  font-weight: 600;
  line-height: 54px;
  letter-spacing: 4px;
  color: #28262b;
}
.wpb_text_column h2 a { color: #242424; }
.wpb_text_column p a { font-family: Lora, Raleway, "Open Sans", "PT Sans", sans-serif; color: #242424; }

/* Captioned image */
.wp-caption { max-width: 100%; padding: 4px; }
.alignright { float: right; margin: 0 0 30px 30px; }
.wp-caption-text { font-size: 8.57143px; font-style: italic; line-height: 2; }

/* ---------- Image modules ---------- */
.dfd-single-image-module { position: relative; }
.dfd-single-image-module.image-center img { display: block; margin: 0 auto; }
.wpb_single_image .vc_single_image-wrapper { display: inline-block; max-width: 100%; vertical-align: top; }
.wpb_single_image .vc_figure { display: inline-block; margin: 0; max-width: 100%; vertical-align: top; }
.wpb_single_image img { vertical-align: top; }
.vc_align_left { text-align: left; }
.wpb_content_element { margin-bottom: 0; }

/* ---------- Contact form ---------- */
.contact-form p { margin: 0 0 1.07em; }
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
  display: block;
  width: 100%;
  height: 47px;
  margin: 0 0 13px;
  padding: 7px 15px;
  border: 1px solid #cdcdcd;
  border-radius: 0;
  background: #fff;
  font-family: Raleway, "Open Sans", "PT Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #565656;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  transition: border-color .2s ease-in-out;
}
.contact-form textarea { height: 215.333px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #8a8f6a; }
.contact-form input[type=submit] {
  display: inline-block;
  width: 100%;
  margin: 10px 0 0;
  padding: 15px 0;
  border: 1px solid #000;
  border-radius: 0;
  background: transparent;
  font-family: texgyreadventorregular, Raleway, "Open Sans", "PT Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.37;
  color: #28262b;
  cursor: pointer;
  -webkit-appearance: none;
  transition: color .3s ease-in-out;
}
.contact-form input[type=submit]:hover { color: #8a8f6a; }
.contact-form input[type=submit][disabled] { opacity: .5; cursor: default; }
.contact-form .wpcf7-spinner { position: relative; display: inline-block; width: 24px; height: 24px; margin: 0 24px; vertical-align: baseline; visibility: hidden; border-radius: 50%; background: #23282d; opacity: .75; }
.contact-form .wpcf7-spinner:before { content: ""; position: absolute; top: 4px; left: 4px; width: 6px; height: 6px; border-radius: 100%; background: #fbfbfc; transform-origin: 8px 8px; animation: wpcf7-spin 1s linear infinite; }
.contact-form form.submitting .wpcf7-spinner { visibility: visible; }
@keyframes wpcf7-spin { to { transform: rotate(360deg); } }
.contact-form .form-response { margin: 20px 0 0; }
.contact-form .form-response:empty { display: none; }
.contact-form .hp-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
#footer { position: relative; background: #323232; color: #fff; z-index: 1; }
#sub-footer { position: relative; min-height: 74px; overflow: hidden; background: #323232; color: #fff; z-index: 1; }
#sub-footer .subfooter-copyright {
  padding: 24.5px 10px;
  font-size: 13px;
  line-height: 25px;
  text-align: center;
  color: rgba(255, 255, 255, .6);
}

/* ---------- Back to top ---------- */
.body-back-to-top {
  position: fixed;
  right: 40px;
  bottom: -55px;
  width: 45px;
  height: 45px;
  margin: 0 30px 30px 0;
  border-radius: 3px;
  background: #e8e8e8;
  color: #28262b;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  z-index: 1000;
  transition: color .3s, border-color .3s, background .3s, bottom .8s, opacity .8s;
}
.body-back-to-top.active { opacity: 1; bottom: 40px; }
.body-back-to-top:hover { color: #fff; background: #1b1b1b; }
.body-back-to-top svg { display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
@media only screen and (max-width: 640px) {
  .body-back-to-top { margin: 0; }
}

/* ---------- Responsive content ---------- */
@media only screen and (max-width: 799px) {
  .dfd-mobile-remove-all-paddings { padding-left: 0 !important; padding-right: 0 !important; }
}
@media only screen and (max-width: 799px) {
  .row { width: auto; margin-left: 0; margin-right: 0; }
  .columns { width: auto; max-width: 100%; float: none; }
  .columns:before, .columns:after { content: ""; display: table; }
  .columns:after { clear: both; }
  .vc-row-wrapper.full_width_content > .row { margin-left: 0; margin-right: 0; }
  .vc-row-wrapper.full_width_content_paddings > .row { padding: 0 10px; }
  #footer .columns { margin: 20px 0; }
}
