/* Media elrendezesek es stilusok hasznalata szerkesztett tartalakban */
hr {
  border: none;
  margin: 0;
  clear: both; }

/* box - item styles */
.gray-bg {
  background-color: #eee; }

.blue-bg {
  background-color: #1873b9;
  color: #fff; }

.mosaic,
.mosaic-little {
  box-sizing: border-box;
  display: inline-block;
  font-weight: 900;
  text-align: center;
  line-height: 1;
  margin-right: 5px;
  background-color: #000;
  color: #fff;
  border-radius: 10px; }
  .mosaic + br,
  .mosaic-little + br {
    display: none; }
  .mosaic.align-left,
  .mosaic-little.align-left {
    margin-right: 10px; }
  .mosaic.align-right,
  .mosaic-little.align-right {
    margin-left: 10px; }

.mosaic {
  padding: 20px;
  font-size: 40px;
  width: 80px;
  height: 80px; }

.mosaic-little {
  vertical-align: bottom;
  padding: 10px;
  font-size: 20px;
  width: 40px;
  height: 40px; }

.footnote {
  font-size: 0.8em; }

.large-txt {
  font-size: 1.5em;
  line-height: 1.2; }

.subtitle {
  display: block;
  line-height: 1.2;
  font-size: clamp(1.2rem, 2vw, 1.5rem); }

.upper {
  text-transform: uppercase; }

.blue {
  color: #1873b9; }

.line {
  clear: both;
  width: 100%;
  line-height: 0;
  font-size: 0;
  margin: 50px 0;
  border-top: 2px solid #eee; }

.media--type-youtube-video[class*="colorbox"],
.media--type-remote-video[class*="colorbox"] {
  position: relative; }
  .media--type-youtube-video[class*="colorbox"]:after,
  .media--type-remote-video[class*="colorbox"]:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/youtube.svg") no-repeat center center;
    background-size: 50px;
    opacity: 0.8;
    pointer-events: none; }
  .media--type-youtube-video[class*="colorbox"]:hover,
  .media--type-remote-video[class*="colorbox"]:hover {
    cursor: pointer; }
    .media--type-youtube-video[class*="colorbox"]:hover:after,
    .media--type-remote-video[class*="colorbox"]:hover:after {
      opacity: 1; }

.embedded-entity, figure {
  float: none;
  display: block;
  margin: 0 0 10px 0;
  box-sizing: border-box; }
  .embedded-entity .field--type-image, figure .field--type-image {
    float: none; }
  .embedded-entity .media[class*="colorbox"], figure .media[class*="colorbox"] {
    line-height: 0; }
    .embedded-entity .media[class*="colorbox"]:hover, figure .media[class*="colorbox"]:hover {
      cursor: pointer; }
  .embedded-entity .media--type-document .button, figure .media--type-document .button {
    color: #8E6D25;
    padding: 0.5rem 2rem;
    border: 1px solid #9E7929;
    border-radius: 15px;
    display: inline-block;
    text-decoration: none; }
  .embedded-entity .media--type-image, figure .media--type-image {
    line-height: 0; }
  .embedded-entity .media--type-video video, figure .media--type-video video {
    max-width: 100%;
    height: auto; }
  .embedded-entity .media--type-youtube-video > .field, figure .media--type-youtube-video > .field,
  .embedded-entity .media--type-remote-video > .field,
  figure .media--type-remote-video > .field {
    position: relative;
    height: 0;
    padding-top: 56.25%; }
    .embedded-entity .media--type-youtube-video > .field iframe, figure .media--type-youtube-video > .field iframe,
    .embedded-entity .media--type-remote-video > .field iframe,
    figure .media--type-remote-video > .field iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%; }
  .embedded-entity .media--type-youtube-video[class*="colorbox"] > .field, figure .media--type-youtube-video[class*="colorbox"] > .field,
  .embedded-entity .media--type-remote-video[class*="colorbox"] > .field,
  figure .media--type-remote-video[class*="colorbox"] > .field {
    height: auto;
    padding: 0; }
  .embedded-entity[data-entity-embed-display*="full_width"], figure[data-entity-embed-display*="full_width"] {
    width: 100%; }
  .embedded-entity[data-entity-embed-display*="half_width"], figure[data-entity-embed-display*="half_width"] {
    width: 50%; }
  .embedded-entity[data-entity-embed-display*="onethird_width"], figure[data-entity-embed-display*="onethird_width"] {
    width: 33.33%; }
  .embedded-entity[data-entity-embed-display*="quarter_width"], figure[data-entity-embed-display*="quarter_width"] {
    width: 25%; }
  .embedded-entity img, figure img {
    width: 100%; }
  .embedded-entity.align-left, figure.align-left {
    float: left;
    clear: none;
    padding-right: 10px; }
  .embedded-entity.align-right, figure.align-right {
    float: right;
    clear: none;
    padding-left: 10px; }
  .embedded-entity.align-center, figure.align-center {
    float: none;
    clear: both;
    margin-left: auto;
    margin-right: auto; }

figure[class*="full_width"] {
  width: 100%; }
figure[class*="half_width"] {
  width: 50%; }
figure[class*="onethird_width"] {
  width: 33.33%; }
figure[class*="quarter_width"] {
  width: 25%; }
figure figcaption {
  text-align: center;
  display: block !important; }
figure > .embedded-entity, figure > figure {
  max-width: 100%;
  width: 100% !important;
  margin: 0;
  display: inline-block; }

.box {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  margin: 10px calc(15px * -1);
  padding: 0;
  width: auto;
  clear: both;
  box-sizing: border-box; }
  .box > *:first-child {
    margin-top: 0; }
  .box > *:last-child {
    margin-bottom: 0; }
  .box > *:not(.item) {
    width: 100%; }
  .box > .item {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-flow: column;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    align-self: stretch;
    align-content: flex-start;
    padding: 0;
    margin: 15px;
    width: auto;
    max-width: calc(100% - (2 * 15px));
    box-sizing: border-box; }
    .box > .item > *:first-child {
      margin-top: 0; }
    .box > .item > *:last-child {
      margin-bottom: 0; }
    .box > .item .box {
      padding: 0;
      margin-left: 0;
      margin-right: 0; }
    .box > .item[class*="-bg"] {
      padding: calc(15px * 2); }
    .box > .item.no-padding {
      padding: 0; }
    .box > .item.no-margin {
      margin: 0;
      max-width: 100%; }
  .box.col-2 > .item {
    max-width: calc(50% - (2 * 15px)); }
  .box.col-3 > .item {
    max-width: calc(33.33% - (2 * 15px)); }
  .box.col-4 > .item {
    max-width: calc(25% - (2 * 15px)); }

.ck-content {
  margin: 0;
  padding: 8px;
  box-sizing: border-box;
  display: inline-block;
  width: 100%; }
  .ck-content img,
  .ck-content video {
    max-width: 100%;
    height: auto; }
  .ck-content iframe {
    pointer-events: none; }
  .ck-content .ck-horizontal-line {
    clear: both; }
    .ck-content .ck-horizontal-line hr {
      margin: 0;
      background: none;
      border-top: 2px dotted #aaa; }
  .ck-content .box {
    border: 2px dashed #999;
    margin-left: 0;
    margin-right: 0;
    position: relative; }
    .ck-content .box > .item {
      border: 1px dotted #aaa; }

@media screen and (max-width: 979px) {
  .embedded-entity[data-entity-embed-display*="onethird_width"], figure[data-entity-embed-display*="onethird_width"] {
    width: 50%; }
  .embedded-entity[data-entity-embed-display*="quarter_width"], figure[data-entity-embed-display*="quarter_width"] {
    width: 33.33%; }

  .box.col-3 > .item {
    max-width: calc(50% - (2 * 15px)); }
  .box.col-4 > .item {
    max-width: calc(33.33% - (2 * 15px)); } }
@media screen and (max-width: 767px) {
  .embedded-entity[data-entity-embed-display*="half_width"], figure[data-entity-embed-display*="half_width"] {
    width: 100%; }
  .embedded-entity[data-entity-embed-display*="quarter_width"], figure[data-entity-embed-display*="quarter_width"] {
    width: 50%; }

  .box.col-2 > .item {
    max-width: 100%; }
  .box.col-4 > .item {
    max-width: calc(50% - (2 * 15px)); } }
@media screen and (max-width: 639px) {
  .embedded-entity[data-entity-embed-display*="onethird_width"], figure[data-entity-embed-display*="onethird_width"], .embedded-entity[data-entity-embed-display*="quarter_width"], figure[data-entity-embed-display*="quarter_width"] {
    width: 100%; }

  .box.col-3 > .item, .box.col-4 > .item {
    max-width: 100%; } }
