.top-level:hover {
  text-decoration: none;
}

.brikit-menu .aui-navgroup-horizontal .aui-nav > li a.top-level {
  padding-bottom: 0;
}

/*
 * Added by DD teamw
 * smart cities pagess
*/

.domain-case h2 {
  font-stretch: extra-expanded;
  letter-spacing: 4vw;
  font-weight: 600;
  text-decoration: underline;
  color: #050505 !important;
  text-decoration-color: #f4cc05 !important;
}

.domain-case h3 {
  font-size: 30px;
  font-weight: 800px;
}

/*
 * Added by DD team
 * responsive youtube video
*/
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*
 * Added by DD team
 * parallax effect for background
*/
.parallax-bg {
  background-attachment: fixed;
}

/*
 * Added by DD team
 * scale up div on hover
*/
.hover-zoom-scale {
  transition: all 0.2s ease-in-out;
}

.hover-zoom-scale:hover {
  transform: scale(1.1);
}

/*
 * Added by DD team
 * create a floating Table of Content for BB pages
*/

/*Blockquote - contact us
 *
*/
.yellow-border {
  border-left-width: 8px;
  border-left-style: solid;
  border-left-color: #ffd617;
  padding: 20px 0px 20px 20px;
  overflow: hidden;
  padding: 20px 0px 20px 20px;
  margin-bottom: 10px;
}

/* --- HIDE EMPTY P TAGS --- */
/* ------------------------- */
p:empty {
  display: none !important;
}

/*
 *FLEX GRID
*/
.flex-grid {
  width: 100%;
  display: grid;
  grid-gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/*
 * Automate News & Success stories
*/

/*Block override*/
.news-ss {
  overflow: visible !important;
}

/*Mimik layout*/

.bb-logo {
  margin-left: 25px;
}
.bb-logo img {
  width: 150px;
  height: auto;
}

.promoted-ribbon span {
  visibility: hidden;
  display: inline !important;
  position: relative !important;
  top: 40px !important;
  left: -125px;
  right: auto !important;
  padding: 5px 10px !important;
  font-size: initial !important;
  text-transform: none !important;
  color: initial !important;
  background: #ffd617 !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  overflow: visible !important;
  text-align: right !important;
  transform: rotate(0deg) !important;
  -webkit-transform: rotate(0deg) !important;
  -moz-transform: rotate(0deg) !important;
  -o-transform: rotate(0deg) !important;
  -ms-transform: rotate(0deg) !important;
}

.news-container .newsteaser-entry {
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
  transition: box-shadow 0.2s ease-in;
}

.news-container .newsteaser-entry:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.news-container .news-image {
  overflow: hidden;
}

.news-container .news-image img {
  height: 200px !important;
  object-fit: cover;
}

.news-container .newsteaser-entry:hover .news-image img {
  opacity: 1;
  transition-duration: 0.5s;
  transition-timing-function: ease-out;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.news-container .newsteaser-entry .aui-group p {
  display: none;
}

.promoted-ribbon span:after {
  padding: 5px 10px !important;
  font-size: initial !important;
  visibility: visible;
  background: #ffd617 !important;
  content: "Success Story";
}

.promoted-ribbon {
  z-index: 1000 !important;
  position: relative !important;
  overflow: visible !important;
  width: 0px !important;
  height: 0px !important;
  top: 0px !important;
  left: 0px !important;
  text-align: right !important;
}

/* --- Floating nav (Get started pages) --- */
/* ---------------------------------------- */
/* ---------------------------------------- */

.floating-content {
  float: right !important;
}

.floating-nav {
  position: relative;
}

.floating-nav ul {
  padding: 0px;
}

.floating-nav li {
  list-style: none;
}

.floating-nav li.current {
  text-decoration: underline;
  font-weight: 800 !important;
}

/**
 * Added by DD team
 * remove bullet for page tree macro
 */
#main #main-content .plugin_pagetree_childtoggle_container a {
  text-decoration: none !important;
}

.plugin_pagetree_childtoggle_container > .no-children.icon {
  visibility: hidden;
}

.blog-post-listing.lively-blog-post .read-more-container .read-more-link {
  display: none;
  white-space: nowrap;
}

/**
 * Added by DD team
 * break long text strings in more thank 1 line
 */

.break-word {
  word-wrap: break-word;
}

/**
 * Added by DD team
 * Blockquote
 */

blockquote {
  margin: 20px 0px 20px 0px !important;
}

blog-blockquotes {
  font-size: 21px;
}

/**
 * Added by DD team
 * Icon Font
 */

/* Rules for sizing the icon. */

.material-icons.md-15 {
  font-size: 15px;
}

.material-icons.md-18 {
  font-size: 18px;
}

.material-icons.md-24 {
  font-size: 24px;
}

/* Rules for using icons as black on a light background. */

.material-icons.md-dark {
  color: #333333;
}

.material-icons.md-dark.md-inactive {
  color: rgba(0, 0, 0, 0.26);
}

/* Rules for using icons as white on a dark background. */

.material-icons.md-light {
  color: rgba(255, 255, 255, 1);
}

.material-icons.md-light.md-inactive {
  color: rgba(255, 255, 255, 0.3);
}

.material-icons.blue {
  color: #004494;
}

.material-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/**
 * Added by DD team
 * Lively Blogpost remove paddig form first item
 */

.blog-post-listing.lively-blog-post {
  padding: 0px 0px 0px 0px !important;
}

/* Blog Excerpt on BB Homepages resized to H5 */
.blog-post-listing .wiki-content {
  font-size: 15px !important;
}

/**
 * Added by DD team
 * Yellow buttons
 */

button.action-button a:after {
  display: inline-block;
  margin-left: 10px;
  vertical-align: text-top;
}

/**
 * Added by DD team
 * Ghost button 'new here' on homepage
 */

.ghost-button {
  display: inline-block;
  width: 125px;
  padding: 8px;
  color: #fff !important;
  background-color: transparent;
  border: 2px solid #fff;
  text-align: center;
  outline: none;
  text-decoration: none;
  transition: color 0.3s ease-out, background-color 0.3s ease-out,
    border-color 0.3s ease-out;
}

.ghost-button:hover,
.ghost-button:active {
  background-color: #ffd617;
  border-color: #ffd617;
  color: #333333 !important;
  transition: color 0.3s ease-in, background-color 0.3s ease-in,
    border-color 0.3s ease-in;
}

/**
 * Added by DD team
 * Mailchimp newsletter in sidebar
 */

#mc_embed_signup form {
  display: block;
  position: relative;
  text-align: left;
  padding: 0px 0px 0px 0px;
}

#mc_embed_signup input {
  border: 1px solid #999;
  -webkit-appearance: none;
}

#mc_embed_signup input[type="checkbox"] {
  -webkit-appearance: checkbox;
}

#mc_embed_signup input[type="radio"] {
  -webkit-appearance: radio;
}

#mc_embed_signup input:focus {
  border-color: #333;
}

#mc_embed_signup .button {
  clear: both;
  background-color: #fdd417;
  border: 0 none;
  border-radius: 0px;
  letter-spacing: 0.03em;
  color: #333;
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  height: 32px;
  line-height: 32px;
  margin: 0 5px 10px 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
  vertical-align: top;
  white-space: nowrap;
  width: auto;
  transition: all 0.23s ease-in-out 0s;
}

#mc_embed_signup .button:hover {
  background-color: #f8cc02;
}

#mc_embed_signup .small-meta {
  font-size: 11px;
}

#mc_embed_signup .nowrap {
  white-space: nowrap;
}

#mc_embed_signup .clear {
  clear: none;
  display: inline;
}

#mc_embed_signup label {
  display: block;
  font-size: 16px;
  padding-bottom: 10px;
  font-weight: bold;
}

#mc_embed_signup input.email {
  font-size: 15px;
  display: block;
  padding: 0 0.4em;
  margin: 0 4% 10px 0;
  min-height: 32px;
  width: 58%;
  min-width: 130px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

#mc_embed_signup input.button {
  display: block;
  width: 35%;
  margin: 0 0 10px 0;
  min-width: 90px;
}

#mc_embed_signup div#mce-responses {
  float: left;
  top: -1.4em;
  padding: 0em 0.5em 0em 0.5em;
  overflow: hidden;
  width: 90%;
  margin: 0 5%;
  clear: both;
}

#mc_embed_signup div.response {
  margin: 1em 0;
  padding: 1em 0.5em 0.5em 0;
  font-weight: bold;
  float: left;
  top: -1.5em;
  z-index: 1;
  width: 80%;
}

#mc_embed_signup #mce-error-response {
  display: none;
}

#mc_embed_signup #mce-success-response {
  color: #529214;
  display: none;
}

#mc_embed_signup label.error {
  display: block;
  float: none;
  width: auto;
  margin-left: 1.05em;
  text-align: left;
  padding: 0.5em 0;
}

/**
 * Added by DD team
 * Simple tabs
 * Present on News page
 */

.container-tabs ul.tabs {
  width: 530px;
  margin: auto;
  padding: 0px;
  list-style: none;
}

.container-tabs ul.tabs li {
  background: none;
  color: #222;
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
}

.container-tabs ul.tabs li.current {
  background: #004494;
  color: #ffffff;
}

.container-tabs ul.tabs li.current:hover {
  background: #004494;
  color: #ffffff;
}

.container-tabs ul.tabs li:hover {
  background: #f6f6f6;
}

.tab-content-news {
  display: none;
  padding: 0px;
}

.tab-content-news.current {
  display: inherit;
}

/*Social*/
ul.share-buttons {
  list-style: none;
  padding: 0;
}

ul.share-buttons li {
  display: inline;
}

ul.share-buttons li a:hover {
  text-decoration: none !important;
}

ul.share-buttons li p {
  display: inline-block;
}

ul.share-buttons img {
  width: 40px;
}

ul.share-buttons li img:hover {
  cursor: pointer !important;
}

.profile-macro .vcard .userLogoLink:hover {
  border: none;
}

/* --- RESET CONFLUENCE --- */
/* ------------------------ */
.wiki-content blockquote {
  border-left-color: #ffd617;
}

/* --- RESET BRIKIT --- */
/* -------------------- */
#main-content .brikit-content-block {
  background-color: transparent;
  background: transparent;
}

#main-content .brikit-container-content {
  background: transparent;
  background-color: transparent;
  padding: 0;
}

.brikit-canvas p {
  font-size: 18px;
  line-height: 28px;
  font-family: var(--font-family-regular);
}

#main #main-content .columnMacro .aui-button {
  margin: 0 !important;
}

#main #main-content .aui-button.action-button,
#main #main-content .aui-button.aui-button-primary {
  position: relative;
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
  padding: var(--spacing-12) var(--spacing-16);
  border-radius: 100px;
  border: 1px solid var(--color-primary-night-blue);
  background: var(--color-primary-night-blue);
  box-shadow: 0px 2px 6px 0px rgba(16, 24, 40, 0.05);
  min-width: max-content;
  transition-property: transform;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  margin: 1rem 0;
  text-align: center;
  font-family: var(--font-family-regular);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  height: fit-content;
  color: var(--color-neutral-white);
}

#main #main-content .aui-button.action-button:hover,
#main #main-content .aui-button.aui-button-primary:hover {
  border: 1px solid var(--color-functional-default-blue-hover);
  background: var(--color-functional-default-blue-hover);
}
#main #main-content .aui-button.action-button a {
  margin-right: 24px;
  color: var(--color-neutral-white);
  text-decoration: none !important;
}

#main #main-content .aui-button.action-button:hover a {
  text-decoration: underline !important;  
}

#main #main-content .aui-button.action-button a:after {
  position: absolute;
  top: 4px;
  right: -25px;
  content: "";
  width: 20px;
  height: 20px;
  background: url("/digital-building-blocks/sites/download/attachments/607781201/icon-arrow-right-secondary.svg")
    left no-repeat;
  background-size: 20px;
  transition-property: transform;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

#main #main-content .aui-button.action-button a.external-link:after {
  background: url("/digital-building-blocks/sites/download/attachments/607781201/ico-external-secondary.svg")
    left no-repeat;
}
#main #main-content .aui-button.action-button:hover a.external-link:after {
  transform: none;
}

#main #main-content .aui-button.action-button:hover a:after {
  transform: translateX(5px);
}

/* --- HELPER CLASS --- */
/* -------------------- */
.brikit-canvas p.lead {
  font-size: 22px;
  line-height: 28px;
}

.brikit-canvas p.post-time {
  font-size: 16px;
}

#main #main-content .columnMacro [data-macro-name="html-wrap"] {
  height: fit-content !important;
}

#main #main-content [data-macro-name="html-wrap"] h1,
#main #main-content [data-macro-name="html-wrap"] h2,
#main #main-content [data-macro-name="html-wrap"] h3,
#main #main-content [data-macro-name="html-wrap"] h4 {
  margin: 0 !important;
}

.number-list {
  display: inline-grid;
  place-items: center;
  position: relative;
  top: -3px;
  margin-right: 10px;
  width: 36px;
  height: 36px;
  text-align: center;
  background: #003764;
  border-radius: 50px;
}

.number-list i {
  font-style: normal;
  font-size: 18px;
  color: white;
}

.btn-video a:after {
  display: inline-block;
  vertical-align: bottom;
  content: "";
  width: 24px;
  height: 24px;
  background: url(https://ec.europa.eu/digital-building-blocks/wikis/download/attachments/607781201/baseline_play_circle_filled_black_24dp.png)
    0 0 no-repeat;
}

/* --- GRID --- */
/* ------------ */
.content-wrapper-full .brikit-container {
  width: 90%;
}

[class*="col-"] {
  float: left;
}

.colwrapper {
  padding-left: 15px;
  padding-right: 15px;
}

.col-md-1 {
  width: 8.33%;
}

.col-md-2 {
  width: 16.66%;
}

.col-md-3 {
  width: 25%;
}

.col-md-4 {
  width: 33.33%;
}

.col-md-5 {
  width: 41.66%;
}

.col-md-6 {
  width: 50%;
}

.col-md-7 {
  width: 58.33%;
}

.col-md-8 {
  width: 66.66%;
}

.col-md-9 {
  width: 75%;
}

.col-md-10 {
  width: 83.33%;
}

.col-md-11 {
  width: 91.66%;
}

.col-md-12 {
  width: 100%;
}

@media only screen and (max-width: 768px) {
  [class*="col-"] {
    float: none;
    width: 100%;
  }
}

/*MACRO CHILD PAGES*/
.secondary-nav .childpages-macro {
  display: inline;
  margin: 0;
  padding: 0;
}

.secondary-nav .childpages-macro li {
  display: inline-block;
  margin-right: 20px;
}

.secondary-nav .childpages-macro li a {
  color: white !important;
  text-decoration: none !important;
}

.secondary-nav .childpages-macro li a:hover,
.secondary-nav .childpages-macro li.current a,
.secondary-nav .childpages-macro li.ancestor-link.parent-link,
.secondary-nav .childpages-macro li.ancestor-link {
  text-decoration: underline !important;
}

/* --- TERCIARY NAV--- */
/* ------------------- */
.terciary-nav .colwrapper {
  padding-left: 0;
}

/*MACRO TABLE OF CONTENT*/
.terciary-nav .toc-macro ul {
  margin: 0;
  padding: 0;
}

.terciary-nav .toc-macro ul li a {
  text-decoration: none;
}

.terciary-nav .toc-macro ul li a:hover {
  text-decoration: underline;
}

.terciary-nav .toc-macro ul li a.active-toc {
}

/*MACRO PAGE TREE*/
#main-content.brikit-content-layers
  div.plugin_pagetree
  .plugin_pagetree_childtoggle_container
  > .aui-icon {
  margin-top: 15px;
  margin-left: 5px;
  color: inherit !important;
  background-color: transparent !important;
  border: none !important;
}

#main-content.brikit-content-layers .plugin_pagetree ul li span {
  margin-left: 5px;
  padding: 0;
  border-left: 1px solid transparent;
  font-family: var(--font-family-regular) !important;
}
#main #main-content.brikit-content-layers .plugin_pagetree ul li span a {
  font-size: 14px;
  line-height: 24px;
}

#main-content.brikit-content-layers
  .plugin_pagetree_children_span.plugin_pagetree_current {
  border-left: 1px solid var(--color-primary-4) !important;
}

#main-content.brikit-content-layers
  .plugin_pagetree
  ul
  li
  .plugin_pagetree_children_content
  .plugin_pagetree_current
  a {
  color: var(--color-primary-4) !important;
  font-weight: normal !important;
  background-color: transparent;
  border: none;
  outline: none;
}

#main-content.brikit-content-layers .plugin_pagetree ul li span a {
  padding: 0.5rem !important;
  text-align: start !important;
}

#main-content.brikit-content-layers .plugin_pagetree ul li span a:hover {
  text-decoration: underline !important;
}

#main-content.brikit-content-layers .plugin_pagetree ul li span a:focus {
  color: inherit !important;
}

/* --- SECTION --- */
/* --------------- */
/* .section {
    padding-top: 40px;
    padding-bottom: 40px;
} */

.section-start {
  padding-top: 40px;
}

.section-end {
  padding-bottom: 40px;
}

/* @media only screen and (max-width: 768px) {
    .section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
} */

/* --- NEWS SECTION = HP --- */
/* ------------------------- */
.news
  div.brikit-container.brikit-content-layer-container
  div.brikit-container-content.brikit-layer
  div.brikit-content-layer-table
  div.brikit-content-layer-table-row.designable-element
  div.column-wrapper
  .brikit-content-block {
  overflow: visible !important;
}

.news .content {
  position: relative;
  margin-top: 20px;
  padding: 20px;
  background: #fff;
}

.news .content:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.2s ease-in;
}

.topic {
  z-index: 1000;
  position: absolute;
  top: 40px;
  left: -20px;
  padding: 5px 10px;
  font-size: initial;
}

.topic-success-story {
  color: initial;
  background: #ffd617;
}

.topic-news {
  color: white;
  background: #4d6ec5;
}

.topic-download {
  color: white;
  background: #001e65;
}

.news .content figure {
  overflow: hidden;
  margin: 0;
}

.news .content figure img {
  opacity: 1;
  width: 100%;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.news .content:hover figure img {
  opacity: 1;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.news .content h3 {
  margin-top: 10px;
}

.news .content h3 a {
  color: #001e65 !important;
  text-decoration: none;
}

.news .content:hover h3 a {
  color: #4d6ec5 !important;
}

.news .content .label {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 20px;
  color: initial;
  background: #eee;
  border: 1px solid #eee;
}

/* --- GET STARTED SECTION = HP --- */
/* -------------------------------- */
.get-started {
  background: #eee;
}

.get-started i {
  margin-top: 20px;
  font-size: 36px;
  color: initial;
}

.get-started h3 {
  margin-top: 10px;
  font-weight: bold;
}

/* --- KEY DATE SECTION = HP  --- */
/* ------------------------------ */
.key-dates-milestones
  div.brikit-container.brikit-content-layer-container
  div.brikit-container-content.brikit-layer
  div.brikit-content-layer-table
  div.brikit-content-layer-table-row.designable-element
  div.column-wrapper
  .brikit-content-block {
  overflow: visible !important;
}

.key-date .content,
.milestone .content {
  padding: 20px;
  min-height: 240px;
  transition: box-shadow 0.2s ease-in;
}

.key-date .content:hover,
.milestone .content:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.2s ease-in;
}

.key-date .highlight,
.milestone .highlight {
  display: block;
  margin-bottom: 20px;
  font-size: 34px;
}

.key-date .content {
  padding: 20px;
  background: #ffff59;
}

.key-date .aui-button.action-button {
  background: #4d6ec5;
}

.key-date .aui-button.action-button a {
  color: white !important;
}

.milestone .content {
  background: #4d6ec5;
}

.brikit-canvas .milestone .content p,
.brikit-canvas .milestone .content a {
  color: white;
}

/* --- JOIN COMMUNITY SECTION = HP --- */
/* ----------------------------------- */
.join-community h3 {
  font-weight: bold;
}

.cookie-consent-banner h2 {
  text-transform: none;
}

.cookie-consent-banner p {
  margin-bottom: 10px;
}

/* brikit aui */
#main-content .aui-iconfont-email,
#main-content .aui-iconfont-download,
#main-content .aui-iconfont-edit,
.aui-iconfont-view {
  font-size: 0 !important;
  display: contents;
}

#main-content .aui-iconfont-view.aui-icon:before {
  font-size: unset;
}