/*
Theme Name: KORNISMIHALY
Template: ignition-spencer
Author: Matrixonline.hu Kft.
Author URI: http://www.matrixonline.hu/
Description: Custom theme for kornismihaly.hu website
Version: 25.10.08
License: Commercial
*/

/* Global */

*.clearfix:before,
*.clearfix:after {
  content: "";
  display: table;
}

*.clearfix:after {
  clear: both;
}

*.clearfix {
  zoom: 1;
}

/* Elementor - global */

@media screen and (max-width: 767px) {
  html, body {
    scroll-padding-top: 90px;
  }
}

/* KORNISMIHALY - home page */

body.home main.main {
  background-image: url('./assets/img/kornismihaly/pexels-asphotograpy-96622.jpg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.home div#content-row > div.col-12 div.row {
  margin-left: 0;
  margin-right: 0;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

body.home div#content-row > div.col-12 div.row img {
  border: 3px solid #ffffff;
}

body.home div#content-row > div.col-12 div.row h2 a,
body.home div#content-row > div.col-12 div.row p {
  color: #ffffff;
}

@media (max-width: 767px) {
  body.home div#content-row > div.col-12 div.row.mx-row-is-odd,
  body.home div#content-row > div.col-12 div.row.mx-row-is-even {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  body.home div#content-row > div.col-12 div.row.mx-row-is-even {
    flex-direction: column-reverse;
  }
  body.home div#content-row > div.col-12 div.row figure.entry-thumb {
    margin-bottom: 15px;
  }
}

/* KORNISMIHALY - global */

main.main div.entry-content p,
main.main div.entry-content table,
main.main div.entry-content ul,
main.main div.entry-content ol {
  margin-bottom: 30px;
}

/* Cookie consent modal */

/* KORNISMIHALY - cookie consent modal */

dialog#ccModal div.modal-body {
  padding: 0;
}

dialog#ccModal div.modal-body p {
  font-size: 90%;
  text-align: justify;
}

dialog#ccModal div.modal-body p a {
  outline: none;
  color: #5CAD2F;
}

dialog#ccModal div.modal-body button,
dialog#ccModal div.modal-body small {
  width: 100%;
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

dialog#ccModal div.modal-body button {
  padding: 0.5rem 1rem;
  border-style: solid;
  border-width: 2px;
  font-weight: bold;
  font-size: 90%;
  cursor: pointer;
  transition: all 0.3s linear;
}

dialog#ccModal div.modal-body button.a {
  border-color: #5CAD2F;
  background-color: #5CAD2F;
  color: #ffffff;
}

dialog#ccModal div.modal-body button.a:hover {
  background-color: #009900;
}

dialog#ccModal div.modal-body button.m {
  border-color: #aeaeae;
  background-color: #ffffff;
  color: #aeaeae;
}

dialog#ccModal div.modal-body button.m:hover {
  background-color: #333333;
  color: #ffffff;
}

dialog#ccModal div.modal-body small {
  font-size: 80%;
}

dialog#ccModal div.modal-body small:last-child {
  margin-bottom: 0;
}
