/* media beillesztese, Drupal 8 media modullal */
hr {
  border: none;
  margin: 0;
  clear: both; }

.embedded-entity, figure {
  float: none;
  display: block;
  margin: 0 0 10px 0;
  box-sizing: border-box; }
  .embedded-entity .media--type-image, figure .media--type-image {
    line-height: 0; }
  .embedded-entity .media--type-youtube-video > .field, figure .media--type-youtube-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 {
      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 {
    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 iframe, figure iframe {
    max-width: 100%;
    height: auto; }
  .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;
    display: table;
    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; }
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;
  margin: 1em -10px;
  width: 100%;
  clear: both;
  box-sizing: border-box; }
  .box > div[class*="item"] {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: column;
    flex-flow: column;
    padding: 10px;
    margin: 0;
    width: auto;
    max-width: 100%;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    box-sizing: border-box; }
    .box > div[class*="item"] > p:first-child {
      margin-top: 0; }
    .box > div[class*="item"] > p:last-child {
      margin-bottom: 0; }
    .box > div[class*="item"].item-20 {
      max-width: 20%; }
    .box > div[class*="item"].item-25 {
      max-width: 25%; }
    .box > div[class*="item"].item-33 {
      max-width: 33%; }
    .box > div[class*="item"].item-50 {
      max-width: 50%; }
    .box > div[class*="item"].item-66 {
      max-width: 66%; }
    .box > div[class*="item"].item-75 {
      max-width: 75%; }
    .box > div[class*="item"].item-80 {
      max-width: 80%; }
    .box > div[class*="item"].item-100 {
      max-width: 100%; }
    .box > div[class*="item"].top {
      -webkit-justify-content: flex-start;
      justify-content: flex-start; }
    .box > div[class*="item"].middle {
      -webkit-justify-content: center;
      justify-content: center; }
    .box > div[class*="item"].bottom {
      -webkit-justify-content: flex-end;
      justify-content: flex-end; }
  .box.top {
    -webkit-align-items: flex-start;
    align-items: flex-start; }
  .box.middle {
    -webkit-align-items: center;
    align-items: center; }
  .box.bottom {
    -webkit-align-items: flex-end;
    align-items: flex-end; }
  .box.left {
    -webkit-justify-content: flex-start;
    justify-content: flex-start; }
  .box.center {
    -webkit-justify-content: center;
    justify-content: center; }
  .box.right {
    -webkit-justify-content: flex-end;
    justify-content: flex-end; }
  .box div[class*="item"] .embedded-entity[data-entity-embed-display*="full_width"], .box div[class*="item"] figure[data-entity-embed-display*="full_width"], .box div[class*="item"] .embedded-entity[data-entity-embed-display*="half_width"], .box div[class*="item"] figure[data-entity-embed-display*="half_width"], .box div[class*="item"] .embedded-entity[data-entity-embed-display*="onethird_width"], .box div[class*="item"] figure[data-entity-embed-display*="onethird_width"], .box div[class*="item"] .embedded-entity[data-entity-embed-display*="quarter_width"], .box div[class*="item"] figure[data-entity-embed-display*="quarter_width"] {
    width: 100%; }
  .box div[class*="item"] figure[class*="full_width"], .box div[class*="item"] figure[class*="half_width"], .box div[class*="item"] figure[class*="onethird_width"], .box div[class*="item"] figure[class*="quarter_width"] {
    width: 100%; }

.cke_editable {
  margin: 0;
  padding: 8px;
  box-sizing: border-box;
  display: inline-block;
  width: 100%; }
  .cke_editable img {
    max-width: 100%;
    height: auto; }
  .cke_editable iframe {
    pointer-events: none; }
  .cke_editable hr {
    border: 1px dotted; }
  .cke_editable .cke_widget_element {
    display: inline-block; }
    .cke_editable .cke_widget_element .embedded-entity, .cke_editable .cke_widget_element figure {
      width: 100%;
      box-sizing: border-box; }
    .cke_editable .cke_widget_element[data-entity-embed-display*="full_width"] {
      width: 100%; }
    .cke_editable .cke_widget_element[data-entity-embed-display*="half_width"] {
      width: 50%; }
    .cke_editable .cke_widget_element[data-entity-embed-display*="onethird_width"] {
      width: 33.33%; }
    .cke_editable .cke_widget_element[data-entity-embed-display*="quarter_width"] {
      width: 25%; }
    .cke_editable .cke_widget_element[data-align="left"] {
      float: left;
      clear: none; }
    .cke_editable .cke_widget_element[data-align="right"] {
      float: right;
      clear: none; }
    .cke_editable .cke_widget_element[data-align="center"] {
      display: table;
      margin: auto;
      float: none; }
  .cke_editable .box {
    border: 2px dashed #999;
    background: #fff;
    margin-left: 0;
    margin-right: 0; }
    .cke_editable .box > p {
      border: 1px dotted #ccc;
      min-width: 5px; }
    .cke_editable .box > div[class*="item"] {
      background-color: #eee;
      border: 2px solid #fff; }
      .cke_editable .box > div[class*="item"] p {
        border: 1px dotted #aaa; }
      .cke_editable .box > div[class*="item"]:hover, .cke_editable .box > div[class*="item"]:focus-within {
        background-color: #ccc; }
    .cke_editable .box div[class*="item"] .cke_widget_element[data-entity-embed-display*="full_width"], .cke_editable .box div[class*="item"] .cke_widget_element[data-entity-embed-display*="half_width"], .cke_editable .box div[class*="item"] .cke_widget_element[data-entity-embed-display*="onethird_width"], .cke_editable .box div[class*="item"] .cke_widget_element[data-entity-embed-display*="quarter_width"] {
      width: 100%; }
    .cke_editable .box .cke_widget_wrapper + p {
      min-width: 5px;
      border: 1px dotted #ccc; }

@media screen and (max-width: 979px) {
  .box > div[class*="item"].item-20 {
    max-width: 25%; }
  .box > div[class*="item"].item-25 {
    max-width: 33%; }
  .box > div[class*="item"].item-75 {
    max-width: 66%; }
  .box > div[class*="item"].item-80 {
    max-width: 75%; } }
@media screen and (max-width: 767px) {
  .box > div[class*="item"].item-20 {
    max-width: 33%; }
  .box > div[class*="item"].item-33, .box > div[class*="item"].item-66 {
    max-width: 50%; }
  .box > div[class*="item"].item-80 {
    max-width: 66%; } }
@media screen and (max-width: 639px) {
  .box > div[class*="item"].item-20, .box > div[class*="item"].item-25, .box > div[class*="item"].item-75, .box > div[class*="item"].item-80 {
    max-width: 50%; }
  .box > div[class*="item"].item-50 {
    max-width: 100%; } }
@media screen and (max-width: 479px) {
  .box > div[class*="item"] {
    max-width: 100% !important; } }
