/* Global Style File */
.page-node-type-cnt-minimal h1 {
  display: none;
}

/* DAE-3847 */
ul.pre_links li {
  float: none !important;
}

/* DAE-3757 */

/* == used in the class generator == */
#swatches .col-sm-1,
#sample {
  cursor: pointer;
  transition: all 0.1s;
}

#swatches .col-sm-1:active,
#sample:active {
  background-color: #fff;
  transition: all 0.2s;
}

#swatches .col-sm-1.bg--white:active {
  background-color: #ccc;
  transition: all 0.2s;
}

#sample.bg--white:active {
  background-color: #ccc;
  transition: all 0.2s;
}

/* ============== end ============== */

.infographics {
  max-width: 32em;
  margin-top: 2em;
  margin-bottom: 50px;
}

.infographics--full-width {
  max-width: 100%;
  margin-top: 2em;
  margin-bottom: 50px;
}

/*.align-middle {
  bug in IE 9 & 10 :(
} */

h1,
h2,
h3,
h4,
h5,
p {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
  max-width: 100%;
}

.rounded-corners {
  border-radius: 15px;
}

.no-margin--top {
  margin-top: 0 !important;
}

.no-padding--top {
  padding-top: 0 !important;
}

.no-margin--bottom {
  margin-bottom: 0 !important;
}

.no-padding--bottom {
  padding-bottom: 0 !important;
}

.grid > .mobile-no-margin--top {
  margin-top: 0 !important;
}

.grid > .mobile-no-padding--top {
  padding-top: 0 !important;
}

.grid > .mobile-no-margin--bottom {
  margin-bottom: 0 !important;
}

.grid > .mobile-no-padding--bottom {
  padding-bottom: 0 !important;
}

.grid > .row {
  margin: 15px 0 0 0;
  padding: 15px 0;
}

.grid-sm-2cols,
.grid-sm-3cols {
  padding: 15px;
}

@media (min-width: 568px) {

  .grid > .row {
    margin: 0;
    padding: 15px 0;
  }

  .grid-sm-2cols {
    padding: 0;
    display: -ms-grid;
    display: grid;
    grid-gap: 10px;
    -ms-grid-columns: 1fr 10px 1fr;
    -ms-grid-rows: 1fr;
    grid-auto-columns: 1fr;
    background-color: #fff;
    color: #444;
  }

  .grid-sm-2cols div:first-child {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-row: 1;
  }

  .grid-sm-2cols div:last-child {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    grid-row: 1;
  }

  .grid-sm-3cols {
    padding: 0;
    display: -ms-grid;
    display: grid;
    grid-gap: 10px;
    -ms-grid-columns: 1fr 10px 1fr 10px 1fr;
    -ms-grid-rows: 1fr;
    grid-auto-columns: 1fr;
  }

  .grid-sm-3cols:not(:first-child) {
    margin-top: 10px;
  }

  .grid-sm-3cols div:first-child {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-row: 1;
  }

  .grid-sm-3cols div:nth-child(even) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    grid-row: 1;
  }

  .grid-sm-3cols div:last-child {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
    grid-row: 1;
  }
}

@supports (display: grid) {

  @media (min-width: 568px) {
    .grid-sm-2cols {
      display: -ms-grid;
      display: grid;
      grid-gap: 10px;
      -ms-grid-columns: 1fr 10px 1fr;
      -ms-grid-rows: 1fr;
      grid-auto-columns: 1fr;
    }

    .align-middle {
      display: table-cell !important;
      vertical-align: middle !important;
      float: none !important;
    }

    .grid-sm-2cols > div:first-child {
      -ms-grid-row: 1;
      -ms-grid-column: 1;
      grid-row: 1;
    }

    .grid-sm-2cols > div:last-child {
      -ms-grid-row: 1;
      -ms-grid-column: 3;
      grid-row: 1;
    }

    .grid-sm-3cols {
      display: -ms-grid;
      display: grid;
      grid-gap: 10px;
      -ms-grid-columns: 1fr 10px 1fr 10px 1fr;
      -ms-grid-rows: 1fr;
      grid-auto-columns: 1fr;
    }

    /*.grid-sm-3cols:not(:first-child) {
        margin-top: 10px;
    }*/
    .grid-sm-3cols > div:first-child {
      -ms-grid-row: 1;
      -ms-grid-column: 1;
      grid-row: 1;
    }

    .grid-sm-3cols > div:nth-child(even) {
      -ms-grid-row: 1;
      -ms-grid-column: 3;
      grid-row: 1;
    }

    .grid-sm-3cols > div:last-child {
      -ms-grid-row: 1;
      -ms-grid-column: 5;
      grid-row: 1;
    }

    .col-xs-12.align-middle {
      display: table !important;
      height: 100% !important;
    }

    .col-xs-12.align-middle > * {
      display: table-cell !important;
      vertical-align: middle !important;
      width: 100%;
    }

  }
}

/* ===== Helpers  ===== */

.res {
  width: auto;
  display: block;
  max-width: 100%;
  height: auto;
}

p:only-child {
  margin: 0 !important;
}

/* =====  BG colors  ===== */
.bg--dark-violet {
  background: hsl(312, 70%, 21%);
}

.bg--dark-purple {
  background: hsl(266, 70%, 21%);
}

.bg--dark-regal-purple {
  background: #2b2b4b;
}

.bg--dark-blue {
  background: hsl(228, 70%, 21%);
}

.bg--dark-teal {
  background: hsl(190, 70%, 21%);
}

.bg--dark-green {
  background: hsl(144, 70%, 21%);
}

.bg--dark-olive {
  background: hsl(59, 70%, 21%);
}

.bg--dark-brown {
  background: hsl(30, 70%, 21%);
}

.bg--dark-burgundy {
  background: hsl(0, 70%, 21%);
}

.bg--dark-grey-1 {
  background: hsl(0, 0%, 20%);
}

.bg--dark-grey-2 {
  background: hsl(0, 0%, 30%);
}

.bg--black {
  background: hsl(0, 0%, 0%);
}

.bg--magenta {
  background: hsl(312, 95%, 50%);
}

.bg--purple {
  background: hsl(266, 95%, 50%);
}

.bg--regal-purple {
  background: #773f7d;
}

.bg--marine-blue {
  background: #28438d;
}

.bg--blue {
  background: hsl(228, 95%, 45%);
}

.bg--sky-blue {
  background: #52a4d8;
}

.bg--grey-blue {
  background: #9acde3;
}

.bg--teal {
  background: hsl(190, 100%, 50%);
}

.bg--green {
  background: hsl(144, 100%, 50%);
}

.bg--yellow {
  background: hsl(52, 100%, 50%);
}

.bg--beige {
  background: #b4a8a3;
}

.bg--orange {
  background: hsl(30, 100%, 50%);
}

.bg--red {
  background: hsl(0, 100%, 50%);
}

.bg--pastel-red {
  background: #d34f50;
}

.bg--rose-pink {
  background: #d86483;
}

.bg--pink {
  background: hsl(333, 100%, 70%);
}

.bg--grey-1 {
  background: hsl(0, 0%, 50%);
}

.bg--grey-2 {
  background: hsl(0, 0%, 60%);
}

.bg--grey-3 {
  background: #6f6e6e;
}

.bg--pale-pink {
  background: hsl(312, 100%, 85%);
}

.bg--pale-purple {
  background: hsl(266, 100%, 85%);
}

.bg--pale-blue {
  background: hsl(228, 100%, 75%);
}

.bg--pale-cyan {
  background: hsl(190, 100%, 75%);
}

.bg--pale-green {
  background: hsl(110, 100%, 75%);
}

.bg--pale-yellow {
  background: hsl(52, 100%, 75%);
}

.bg--pale-orange {
  background: hsl(32, 100%, 75%);
}

.bg--pale-red {
  background: hsl(0, 100%, 75%);
}

.bg--pale-grey-1 {
  background: hsl(0, 0%, 75%);
}

.bg--pale-grey-2 {
  background: hsl(0, 0%, 85%);
}

/* =====  BG colors  ===== */
.bg--dark-violet {
  background: hsl(312, 70%, 21%);
}

.bg--dark-purple {
  background: hsl(266, 70%, 21%);
}

.bg--dark-regal-purple {
  background: #2b2b4b;
}

.bg--dark-blue {
  background: hsl(228, 70%, 21%);
}

.bg--dark-teal {
  background: hsl(190, 70%, 21%);
}

.bg--dark-green {
  background: hsl(144, 70%, 21%);
}

.bg--dark-olive {
  background: hsl(59, 70%, 21%);
}

.bg--dark-brown {
  background: hsl(30, 70%, 21%);
}

.bg--dark-burgundy {
  background: hsl(0, 70%, 21%);
}

.bg--dark-grey-1 {
  background: hsl(0, 0%, 20%);
}

.bg--dark-grey-2 {
  background: hsl(0, 0%, 30%);
}

.bg--magenta {
  background: hsl(312, 95%, 50%);
}

.bg--purple {
  background: hsl(266, 95%, 50%);
}

.bg--regal-purple {
  background: #773f7d;
}

.bg--marine-blue {
  background: #28438d;
}

.bg--blue {
  background: hsl(228, 95%, 45%);
}

.bg--sky-blue {
  background: #52a4d8;
}

.bg--grey-blue {
  background: #9acde3;
}

.bg--teal {
  background: hsl(190, 100%, 50%);
}

.bg--green2 {
  background: rgb(0, 168, 156);
}

.bg--green {
  background: hsl(144, 100%, 50%);
}

.bg--yellow {
  background: hsl(52, 100%, 50%);
}

.bg--yellow2 {
  background: rgb(249, 178, 51);
}

.bg--beige {
  background: #b4a8a3;
}

.bg--orange {
  background: hsl(30, 100%, 50%);
}

.bg--red {
  background: hsl(0, 100%, 50%);
}

.bg--pastel-red {
  background: #d34f50;
}

.bg--rose-pink {
  background: #d86483;
}

.bg--pink {
  background: hsl(333, 100%, 70%);
}

.bg--grey-1 {
  background: hsl(0, 0%, 50%);
}

.bg--grey-2 {
  background: hsl(0, 0%, 60%);
}

.bg--grey-3 {
  background: #6f6e6e;
}

.bg--pale-pink {
  background: hsl(312, 100%, 85%);
}

.bg--pale-purple {
  background: hsl(266, 100%, 85%);
}

.bg--pale-blue {
  background: hsl(228, 100%, 75%);
}

.bg--pale-cyan {
  background: hsl(190, 100%, 75%);
}

.bg--pale-green {
  background: hsl(110, 100%, 75%);
}

.bg--pale-yellow {
  background: hsl(52, 100%, 75%);
}

.bg--pale-orange {
  background: hsl(32, 100%, 75%);
}

.bg--pale-red {
  background: hsl(0, 100%, 75%);
}

.bg--pale-grey-1 {
  background: hsl(0, 0%, 75%);
}

.bg--pale-grey-2 {
  background: hsl(0, 0%, 85%);
}

.bg--white {
  background: hsl(0, 100%, 100%);
}

/* =====  text colors  ===== */
.txt--dark-violet {
  color: hsl(312, 70%, 21%);
}

.txt--dark-purple {
  color: hsl(266, 70%, 21%);
}

.txt--dark-regal-purple {
  color: #2b2b4b;
}

.txt--dark-blue {
  color: hsl(228, 70%, 21%);
}

.txt--dark-teal {
  color: hsl(190, 70%, 21%);
}

.txt--dark-green {
  color: hsl(144, 70%, 21%);
}

.txt--dark-olive {
  color: hsl(59, 70%, 21%);
}

.txt--dark-brown {
  color: hsl(30, 70%, 21%);
}

.txt--dark-burgundy {
  color: hsl(0, 70%, 21%);
}

.txt--dark-grey-1 {
  color: hsl(0, 0%, 20%);
}

.txt--dark-grey-2 {
  color: hsl(0, 0%, 30%);
}

.txt--black {
  color: hsl(0, 0%, 0%);
}

.txt--magenta {
  color: hsl(312, 95%, 50%);
}

.txt--purple {
  color: hsl(266, 95%, 50%);
}

.txt--regal-purple {
  color: #773f7d;
}

.txt--marine-blue {
  color: #28438d;
}

.txt--blue {
  color: hsl(228, 95%, 45%);
}

.txt--sky-blue {
  color: #52a4d8;
}

.txt--grey-blue {
  color: #9acde3;
}

.txt--teal {
  color: hsl(190, 100%, 50%);
}

.txt--green {
  color: hsl(144, 100%, 50%);
}

.txt--green2 {
  color: rgb(0, 168, 156);
}

.txt--yellow {
  color: hsl(52, 100%, 50%);
}

.txt--yellow2 {
  color: rgb(249, 178, 51);
}

.txt--beige {
  color: #b4a8a3;
}

.txt--orange {
  color: hsl(30, 100%, 50%);
}

.txt--red {
  color: hsl(0, 100%, 50%);
}

.txt--pastel-red {
  color: #d34f50;
}

.txt--rose-pink {
  color: #d86483;
}

.txt--pink {
  color: hsl(333, 100%, 70%);
}

.txt--grey-1 {
  color: hsl(0, 0%, 50%);
}

.txt--grey-2 {
  color: hsl(0, 0%, 60%);
}

.txt--grey-3 {
  color: #6f6e6e;
}

.txt--pale-pink {
  color: hsl(312, 100%, 85%);
}

.txt--pale-purple {
  color: hsl(266, 100%, 85%);
}

.txt--pale-blue {
  color: hsl(228, 100%, 75%);
}

.txt--pale-cyan {
  color: hsl(190, 100%, 75%);
}

.txt--pale-green {
  color: hsl(110, 100%, 75%);
}

.txt--pale-yellow {
  color: hsl(52, 100%, 75%);
}

.txt--pale-orange {
  color: hsl(32, 100%, 75%);
}

.txt--pale-red {
  color: hsl(0, 100%, 75%);
}

.txt--pale-grey-1 {
  color: hsl(0, 0%, 75%);
}

.txt--pale-grey-2 {
  color: hsl(0, 0%, 85%);
}

/* =====  Border colors  ===== */

.border--solid {
  border-style: solid;
}

.border--dots {
  border-style: dotted;
}

.border--dash {
  border-style: dashed;
}

.border--none {
  border: none;
}

.border--1px {
  border-width: 1px;
}

.border--2px {
  border-width: 2px;
}

.border--3px {
  border-width: 3px;
}

.border--4px {
  border-width: 4px;
}

.border--5px {
  border-width: 5px;
}

.border--dark-violet {
  border-color: hsl(312, 70%, 21%);
}

.border--dark-purple {
  border-color: hsl(266, 70%, 21%);
}

.border--dark-regal-purple {
  border-color: #2b2b4b;
}

.border--dark-blue {
  border-color: hsl(228, 70%, 21%);
}

.border--dark-teal {
  border-color: hsl(190, 70%, 21%);
}

.border--dark-green {
  border-color: hsl(144, 70%, 21%);
}

.border--dark-olive {
  border-color: hsl(59, 70%, 21%);
}

.border--dark-brown {
  border-color: hsl(30, 70%, 21%);
}

.border--dark-burgundy {
  border-color: hsl(0, 70%, 21%);
}

.border--dark-grey-1 {
  border-color: hsl(0, 0%, 20%);
}

.border--dark-grey-2 {
  border-color: hsl(0, 0%, 30%);
}

.border--black {
  border-color: hsl(0, 0%, 0%);
}

.border--magenta {
  border-color: hsl(312, 95%, 50%);
}

.border--purple {
  border-color: hsl(266, 95%, 50%);
}

.border--regal-purple {
  border-color: #773f7d;
}

.border--marine-blue {
  border-color: #28438d;
}

.border--blue {
  border-color: hsl(228, 95%, 45%);
}

.border--sky-blue {
  border-color: #52a4d8;
}

.border--grey-blue {
  border-color: #9acde3;
}

.border--teal {
  border-color: hsl(190, 100%, 50%);
}

.border--green {
  border-color: hsl(144, 100%, 50%);
}

.border--green2 {
  border-color: rgb(0, 168, 156);
}

.border--yellow {
  border-color: hsl(52, 100%, 50%);
}

.border--yellow2 {
  border-color: rgb(249, 178, 51);
}

.border--beige {
  border-color: #b4a8a3;
}

.border--orange {
  border-color: hsl(30, 100%, 50%);
}

.border--red {
  border-color: hsl(0, 100%, 50%);
}

.border--pastel-red {
  border-color: #d34f50;
}

.border--rose-pink {
  border-color: #d86483;
}

.border--pink {
  border-color: hsl(333, 100%, 70%);
}

.border--grey-1 {
  border-color: hsl(0, 0%, 50%);
}

.border--grey-2 {
  border-color: hsl(0, 0%, 60%);
}

.border--grey-3 {
  border-color: #6f6e6e;
}

.border--pale-pink {
  border-color: hsl(312, 100%, 85%);
}

.border--pale-purple {
  border-color: hsl(266, 100%, 85%);
}

.border--pale-blue {
  border-color: hsl(228, 100%, 75%);
}

.border--pale-cyan {
  border-color: hsl(190, 100%, 75%);
}

.border--pale-green {
  border-color: hsl(110, 100%, 75%);
}

.border--pale-yellow {
  border-color: hsl(52, 100%, 75%);
}

.border--pale-orange {
  border-color: hsl(32, 100%, 75%);
}

.border--pale-red {
  border-color: hsl(0, 100%, 75%);
}

.border--pale-grey-1 {
  border-color: hsl(0, 0%, 75%);
}

.border--pale-grey-2 {
  border-color: hsl(0, 0%, 85%);
}

/* =====  BG colors  ===== */
.border--dark-violet {
  border-color: hsl(312, 70%, 21%);
}

.border--dark-purple {
  border-color: hsl(266, 70%, 21%);
}

.border--dark-regal-purple {
  border-color: #2b2b4b;
}

.border--dark-blue {
  border-color: hsl(228, 70%, 21%);
}

.border--dark-teal {
  border-color: hsl(190, 70%, 21%);
}

.border--dark-green {
  border-color: hsl(144, 70%, 21%);
}

.border--dark-olive {
  border-color: hsl(59, 70%, 21%);
}

.border--dark-brown {
  border-color: hsl(30, 70%, 21%);
}

.border--dark-burgundy {
  border-color: hsl(0, 70%, 21%);
}

.border--dark-grey-1 {
  border-color: hsl(0, 0%, 20%);
}

.border--dark-grey-2 {
  border-color: hsl(0, 0%, 30%);
}

.border--magenta {
  border-color: hsl(312, 95%, 50%);
}

.border--purple {
  border-color: hsl(266, 95%, 50%);
}

.border--regal-purple {
  border-color: #773f7d;
}

.border--marine-blue {
  border-color: #28438d;
}

.border--blue {
  border-color: hsl(228, 95%, 45%);
}

.border--sky-blue {
  border-color: #52a4d8;
}

.border--grey-blue {
  border-color: #9acde3;
}

.border--teal {
  border-color: hsl(190, 100%, 50%);
}

.border--green {
  border-color: hsl(144, 100%, 50%);
}

.border--yellow {
  border-color: hsl(52, 100%, 50%);
}

.border--beige {
  border-color: #b4a8a3;
}

.border--orange {
  border-color: hsl(30, 100%, 50%);
}

.border--red {
  border-color: hsl(0, 100%, 50%);
}

.border--pastel-red {
  border-color: #d34f50;
}

.border--rose-pink {
  border-color: #d86483;
}

.border--pink {
  border-color: hsl(333, 100%, 70%);
}

.border--grey-1 {
  border-color: hsl(0, 0%, 50%);
}

.border--grey-2 {
  border-color: hsl(0, 0%, 60%);
}

.border--grey-3 {
  border-color: #6f6e6e;
}

.border--pale-pink {
  border-color: hsl(312, 100%, 85%);
}

.border--pale-purple {
  border-color: hsl(266, 100%, 85%);
}

.border--pale-blue {
  border-color: hsl(228, 100%, 75%);
}

.border--pale-cyan {
  border-color: hsl(190, 100%, 75%);
}

.border--pale-green {
  border-color: hsl(110, 100%, 75%);
}

.border--pale-yellow {
  border-color: hsl(52, 100%, 75%);
}

.border--pale-orange {
  border-color: hsl(32, 100%, 75%);
}

.border--pale-red {
  border-color: hsl(0, 100%, 75%);
}

.border--pale-grey-1 {
  border-color: hsl(0, 0%, 75%);
}

.border--pale-grey-2 {
  border-color: hsl(0, 0%, 85%);
}

.border--white {
  border-color: hsl(0, 100%, 100%);
}

.padding--sides-basic {
  padding-left: 15px;
  padding-right: 15px;
}

.padding--up-down-basic {
  padding-top: 15px;
  padding-bottom: 15px;
}

.margin--top {
  margin-top: 15px;
}

.margin--bottom {
  margin-bottom: 15px;
}

/* End DAE-3757*/


/* Start DAE-3772*/


/* fix issue for newsroom images */
.block-cnt-theme-main-page-content  img {
  max-width: 100%;
  height: auto;
}

/* improvement of Description CT layout and NR item layout  */
.cnt-content-wrapper {
  display: flex;
  flex-wrap: wrap;
}
.cnt-teaser {
  font-size: 1.6rem;
  font-weight: bolder;
}
.cnt-media {
  order: 2;
  width: 100%;
}
.cnt-main-body {
  order: 3;
  width: 100%;
}
.cnt-aside {
  order: 4;
}
.cnt-bottom {
  order: 5;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
@media screen and (min-width: 996px) {
  .cnt-content-wrapper {
    display: block;
  }
  .cnt-bottom {
    clear: both;
  }
  .cnt-teaser {
    width: calc(66% - 15px);
    float: left;
    margin-right: 15px;
  }

  .cnt-teaser.no-media {
    width: 100%;
    float: none;
  }

  .cnt-full-media .cnt-teaser {
    width: 100%;
    float: none;
    margin-top: 1rem;
  }

  .cnt-media {
    float: right;
    width: calc(33% - 15px);
    margin-bottom: 1.5rem;
  }

  .cnt-full-media .cnt-media {
    float: left;
    width: calc(66% - 15px);
    margin-right: 15px;
  }

  .cnt-main-body {
    width: calc(66% - 15px);
    margin-right: 15px;
    float: left;
    min-height: 400px;
  }

  .cnt-aside {
    width: calc(33% - 15px);
    float: right;
    margin-bottom: 1.5rem;
  }
  .cnt-aside .ecl-u-mt-l:first-child {
    margin-top: 0!important;
  }

  .ecl-u-height-100 > .ecl-social-media-follow:first-child {
    margin-bottom: 1.5rem;
  }

  .cnt-main-body p,
  .cnt-main-body h1,
  .cnt-main-body h2,
  .cnt-main-body h3,
  .cnt-main-body h4,
  .cnt-main-body h5,
  .cnt-main-body h6 {
    width: 100%;
  }

  .cnt-full-width {
    border-radius: 0;
    left: 50%;
    -webkit-margin-start: -50vw;
    margin-inline-start: -50vw;
    width: 100vw;
    position: relative;
    display: flex;
    justify-content: center;
  }

}
/* End DAE-3772*/

/*Chatbot DAE-3835*/
@media (min-width: 1240px) {
  .sc-chat-window {
    right: calc(50vw - 655px) !important;
  }

  .sc-launcher {
    right: calc(50vw - 630px) !important;
  }

  .sc-launcher .sc-closed-icon,
  .sc-launcher .sc-open-icon {
    right: calc(50vw - 630px) !important;
  }
}

/* DAE-3821 */
li.cnt-nr-item-metadata {
  font-weight: bold;
  font-size: 1.3rem;
}

/* DAE-3822 */
.cnt-main-body img {
  max-width: 100%;
  height: auto;
}

#edit-cnt-referer-wrapper {
  display: none;
}

/* DAE-4239 */
.ecl-site-header__search--active {
  display: flex !important;
}
/* End DAE-4239 */

/* DAE-4285 / back to top */
#backtotop {
  background-image: url(/https/digital-strategy.ec.europa.eu/themes/custom/cnt_theme/images/chevron_up.png) !important;
  background-size: 2rem 1.24rem !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: rgba(102,102,102,0.8) !important;
  width: 2.9411764706rem !important;
  height: 2.9411764706rem !important;
  border-radius: 50% !important;
  transition: all 0.3s;
  border: none !important;
}

#backtotop:hover {
  background-color: rgba(0,68,148,0.8) !important;
  border: solid 2px rgb(255,255,255) !important;
}
/* end DAE-4285 */

/* DAE-4271 */
.path-frontpage .ecl-breadcrumb {
  display: none !important;
}
/* End DAE-4271 */

/* DAE-4342 */
.cnt-btn-pdf {
  display: inline-block;
  background-image: url(/https/digital-strategy.ec.europa.eu/themes/custom/cnt_theme/images/pdf-icon.png);
  background-repeat: no-repeat;
  background-position: center;
  height: 16px;
  width: 12px;
  margin-right: 5px;
  margin-bottom: -2px;
  margin-top: 2px;
}
/* End DAE-4271 */

/* DAE-4375 */
.ecl-card__image {
  background-size: cover;
}
/* End DAE-4375 */

/* DAE-4470 */
@media (min-width: 996px) {
  .ecl-inpage-navigation {
    height: calc(100vh - 13rem);
    overflow-y: auto;
  }
}
/* End of DAE_4470 */

/* DAE-4453 */
/* Border under each row */
.cnt-row {
  border-bottom: 1px solid #ccc;
}

.cnt-row:last-child {
  border-bottom: none;
}

.cnt-row:last-child > .ecl-u-mv-s {
  margin-bottom: 0!important;
}

/* Use an svg as a background image for links.
   ECL provides an svg icon as an option the @ecl/twig-component-link/ecl-link.html.twig
   But the <svg> element encounters problems with PDF generation. */
.cnt-link--icon-after::after {
  content: "";
  width: 1.5rem;
  height: 1rem;
  display: inline-block;
  vertical-align: middle;
  background: url('data:image/svg+xml;charset=UTF-8,<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve"><polygon fill="black" points="6.14,16.21 7.89,17.95 15.31,10.53 7.87,3.1 6.15,4.82 11.83,10.5 "/></svg>') no-repeat;
  /* Filter to change the color of the svg to the link color. */
  filter: invert(14%) sepia(98%) saturate(2681%) hue-rotate(201deg) brightness(92%) contrast(102%);
  background-position: center center;
  background-size: 1rem;
  margin-top: -2px;
}
/* End DAE-4453 */

/* DAE-4517 adding icon to external URL */
#main-content a[href^="https://"]::after,
#main-content a[href^="https://"]::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
}

#main-content a[href*="ec.europa.eu"]::after,
#main-content a[href*="commission.europa.eu"]::after,
#main-content a.ecl-social-media-follow__link::after {
  display: none;
}

/* End DAE-4517 */

/* DAE-DAE-4659 Improve icon for external links */

/* External icon should be white for inverted links (white links on a colored background) */
#main-content a.ecl-link--inverted[href^="https://"]::after,
#main-content a.ecl-link--inverted[href^="https://"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");
}

/* End Improve icon for external links */

.content_main_wrapper img {
  max-width: 100%;
  height: auto;
}

.content_main_wrapper .ecl-media-container {
  margin-bottom: 2rem;
}

/* Override style of share button coming webtools (there was no border in the mockups) */
.sidebar .wtShareButton:link {
  border: none;
}

.cnt-media {
  margin-bottom: 1.5rem;
}

/* DAE-4534 horizontal scroll in description CT*/
.cnt-hscroll-card {
  display: inline-block;
  width: 250px;
  margin: 8px;
  vertical-align: top;
}
.cnt-hscroll-card:first-child {
  margin-left: 0px;
}
.cnt-hscroll-card:last-child {
  margin-right: 0px;
}
.cnt-hscroll-card .ecl-card {
  overflow: auto;
  overflow-wrap: anywhere !important;
  white-space: wrap;
}
.cnt-hscroll-card .ecl-card .ecl-card__body {
  overflow: auto;
  overflow-wrap: anywhere !important;
}
.cnt-hscroll-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
  padding: 0;
}

.cnt-next-button,
.cnt-prev-button {
  background-color: #28438d;
  border-radius: 50px;
  height: 54px;
  width: 54px;
  border: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve"><polygon fill="white" points="6.14,16.21 7.89,17.95 15.31,10.53 7.87,3.1 6.15,4.82 11.83,10.5 "/></svg>');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 35px 35px;
  cursor: pointer;
}
.cnt-next-button span,
.cnt-prev-button span {
  display: none;
}
.cnt-next-button {
  position: absolute;
  right: 0;
}
.cnt-prev-button {
  position: absolute;
  left: 0;
  transform: rotate(180deg);
}
/* end of DAE-4534 */

/* Start DAE-4646: Fix double border on view pagination */
.ecl-pagination {
  border-top: none !important;
}

.ecl-unordered-list.ecl-unordered-list--no-bullet {
  list-style: none !important;
}
/* end of DAE-4646 */

/* workaround for stand alone items in tree */
.cnt-tree-aligned {
  margin-left: 2.5rem !important;
  color: rgb(0, 90, 156) !important;
  text-decoration: none !important;
}

.cnt-tree-aligned:hover {
  text-decoration: underline !important;
}

p.cnt-cancel-top:first-child {
  margin-top: -1rem !important;
}
/* end of work around */

/* Start DAE-4698 */
/* Fix margin on Social media links in footer - default inline */

.ecl-site-footer__list--inline .ecl-site-footer__list-item {
  margin-top: 16px !important;
}

@media (min-width: 996px) {
  .ecl-site-footer__list--inline .ecl-site-footer__list-item:first-of-type {
    margin-top: 0 !important;
  }
}

/* End DAE-4698 */

/* DSA search cases */
.dsa-filter-form .form-select .ecl-button {
  margin-top: 0;
}

.dsa-case-item .case-decisions,
.dsa-filter-form .ecl-button {
  margin-top: 1.5rem;
}

.dsa-case-item .ecl-content-item__content-block {
  width: 100%;
}
.dsa-search-options .ecl-tag {
  margin: 5px 0;
}
.dsa-cases-no-results {
  text-align: center;
  margin: 20px 0;
}

.dsa-case-item .ecl-description-list {
  padding: 10px 0;
}
/* end SA search cases */

/* hide image from dig-deeper-section card-teaser  */
.dig-deeper-section .ecl-card__image {
  display: none;
}
