/*
dsmtheme.css
*/

/* Digital Single Market - sitewide (formerly css_injector_1.css) */

/* Social networks container */
.field--field-dsm-social-newtwork,
.cnect-social-links-container {
  width: 100%;
  padding: 30px;
  background-color: #ebebeb;
}

/* DAE-2562 rules */
#collapse div {
  padding-left: 8px;
}

#collapse h3 {
  padding-left: 15px;
}

.field.field-name-in-page-navigation.field--in-page-navigation {
  padding-left: 1em;
}

/* Hide external icons for images */
.is-external:after,
.listing__item .listing__title a[href^=http]:not(.is-internal):not([href*="ec.europa.eu"]) .highlighted-item h3:after,
.listing__item .listing__title a[href^=http]:not(.is-internal):not([href*="ec.europa.eu"]) .listing__title:after,
a[href^=http]:not([href*="ec.europa.eu"]):not(.is-internal):not(.listing__item-link):after {
  font-family: 'EuropaIcons';
  content: "\e825";
  font-size: 75%;
  margin-left: .4em;
  margin-right: .2em;
}

a.no-external-icon[href^=http]:not([href*="ec.europa.eu"]):not(.is-internal):not(.listing__item-link):after {
  content: '';
  margin: 0;
  opacity: 0;
}

a.no-external-icon:hover img {
  border: solid 2px #004494;
  box-sizing: border-box;
  transition: all 0.2s;
}

a.no-external-icon[href^=http]:not([href*="ec.europa.eu"]):not(.is-internal):not(.listing__item-link):hover:after {
  font-family: 'EuropaIcons';
  content: "\e825";
  font-size: 75%;
  background: #004494;
  color: #ffffff;
  width: 35px;
  height: 35px;
  padding: 10px;
  position: absolute;
  right: 0;
  margin-left: -20px;
  opacity: 1;
  transition: opacity 0.2s;
}

/* Newsroom Subscription form */
.newsroom-newsletter-subscription u {
  text-decoration: none;
}

.field-name-dsm-newsroom-subscription {
  margin-top: 40px;
}

.newsroom-newsletter-subscription {
  background-color: #ebebeb;
  margin: 2.222em 0;
  padding: 1.111em;
  padding-bottom: 0;
}

.newsroom-newsletter-subscription .form-group {
  display: table;
  width: 100%;
}

.newsroom-newsletter-subscription .input-group {
  display: table-cell;
  width: 1%;
  vertical-align: middle;
}

.newsroom-newsletter-subscription .form-control__wrapper {
  display: table;
  table-layout: fixed;
  margin: 0;
  white-space: nowrap;
  float: left;
  width: 100%;
  margin-top: 1px;
}

.newsroom-newsletter-subscription .form-control {
  width: 100%;
}

.newsroom-newsletter-subscription .btn {
  display: inline-block;
  vertical-align: middle;
}
/* Newsroom Subscription form : end */

/* Add submit button */
html.js .filters__btn-submit.ctools-use-ajax,
html.js .filters__btn-submit {
  display: inherit;
}

/* Homepage: navigation title */
.listing--navigation .listing__section-title {
  min-height: 100px;
}

/* Newsroom page */
a[href^="mailto"] {
  text-transform: none;
}

/* Newsroom related items */
#block-nexteuropa-newsroom-newsroom-related-content ul {
  list-style: none;
}

#block-nexteuropa-newsroom-newsroom-related-content ul ul {
  list-style: none;
  padding-left: 2.5rem;
}

#block-nexteuropa-newsroom-newsroom-related-content ul ul li:before {
  content: "┕";
  position: absolute;
  font-size: 1.8rem;
  color: #004494;
}

#block-nexteuropa-newsroom-newsroom-related-content ul ul li a {
  margin-left: 2.5rem;
  display: block;
}

/* Newsroom related items */

.date-display-range {
  display: inline-block;
}

.entity-map h2,
.page-best-practices-list .block-nodeblock .block__title,
.not-logged-in .tabs--primary {
  display: none;
}

/* Images in the body */
.page-content .field-name-field-dag-main-image-shared img,
.page-content .field-name-field-the-main-image-shared img {
  width: 80%;
  height: auto;
  margin-bottom: 10px;
  display: block;
}

/* Newsletter page */
.newsroom-service-page .form {
  margin-top: 20px;
}

/* Newsroom lists */
.newsroomPage-container .field--field-newsroom-teaser,
.newsroomPage-container .newsroom-teaser,
.view-dsm-newsroom-items .views-field-field-newsroom-teaser {
  max-width: 32em;
  padding-left: 1em;
}

/* Featured blocks */
.highlighted-item {
  min-height: 370px;
  padding: 0;
}

/* Teasers */
/* Make the teaser content width to 27em */
.field-name-field-dag-shared-teaser,
.teaser-content,
.field-name-field-shared-teaser {
  font-size: 22px;
  display: block;
  margin-bottom: 1.5em;
  margin-top: 1.5em;
  max-width: 27em;
}

/*--------------- EDitors styles -------------------------*/

/* DIV */
.importantBlock {
  background: #f0f9ff;
  border-left: 4px solid #ccc;
  border-right: 1px solid #ccc;
  margin: 15px 0;
  color: #333;
  padding: 5px 15px 5px;
  width: 32em;
}

.DAE_sideQuote,
.mainContentSection .DAE_sideQuote,
.mainContentSection .node .content .DAE_sideQuote {
  float: right;
  clear: right;
  width: 40%;
  min-height: 60px;
  margin: 10px -4px 15px 15px;
  padding: 8px 10px 10px;
  border: solid 1px #fff;
  outline: 1px solid #e5e5e5;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
  color: #555;
  position: relative;
  z-index: 5;
  font-size: 100%;
  padding: 8px 10px 10px;
  background: #eff8fd;
  background: -moz-linear-gradient(top, #c8e9f2 0%, #ffffff 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #c8e9f2), color-stop(100%, #ffffff));
  background: -webkit-linear-gradient(top, #c8e9f2 0%, #ffffff 100%);
  background: -o-linear-gradient(top, #c8e9f2 0%, #ffffff 100%);
  background: -ms-linear-gradient(top, #c8e9f2 0%, #ffffff 100%);
  background: linear-gradient(to bottom, #c8e9f2 0%, #ffffff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c8e9f2', endColorstr='#ffffff', GradientType=0);
}

.DAE_sideQuote h3 {
  border-color: #b0d4dd;
}

.DAE_sideQuote .field-label-inline .field-label,
.DAE_sideQuote .field-label-above .field-label {
  margin-bottom: 0;
}

@media (max-width: 499px) {
  .DAE_sideQuote,
  .mainContentSection .DAE_sideQuote,
  .mainContentSection .node .content .DAE_sideQuote {
    float: none;
    width: 100%;
    margin: 0 0 15px;
  }
}

.DAE_sideQuote img {
  border: solid 1px #e5e5e5;
  display: block;
  margin: 0 auto 5px;
}

/* CTA */
a.DAE_contentCTA {
  display: inline-block;
  border-radius: 20px;
  border: solid 1px #b9cdd7;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
  padding: 6px 15px 12px;
  margin: 0 0 10px;
  color: #0065b1;
  font-size: 115%;
  line-height: 1em;
  text-decoration: none !important;
  background: #ededed;
  background: -moz-linear-gradient(top, #ededed 0%, #ffffff 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed), color-stop(100%, #ffffff));
  background: -webkit-linear-gradient(top, #ededed 0%, #ffffff 100%);
  background: -o-linear-gradient(top, #ededed 0%, #ffffff 100%);
  background: -ms-linear-gradient(top, #ededed 0%, #ffffff 100%);
  background: linear-gradient(to bottom, #ededed 0%, #ffffff 100%);
}

/* IMG */
.DAE_contentImage {
  border: solid 1px #e5e5e5;
  padding: 1px;
}

/* The following classes should be mixed with DAE_contentImage */
.DAE_contentImage-right-25pc {
  float: right;
  width: 25%;
  height: auto;
  margin-left: 3%;
  margin-bottom: 10px;
}

.DAE_contentImage-right-35pc {
  float: right;
  width: 35%;
  height: auto;
  margin-left: 3%;
  margin-bottom: 10px;
}

.DAE_contentImage-left-25pc {
  float: left;
  width: 25%;
  height: auto;
  margin-right: 3%;
  margin-bottom: 10px;
}

.DAE_contentImage-left-35pc {
  float: left;
  width: 35%;
  height: auto;
  margin-right: 3%;
  margin-bottom: 10px;
}

.DAE_contentImage-center-100pc {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  display: block;
}

.DAE_contentImage-center-80pc {
  width: 80%;
  height: auto;
  margin-bottom: 10px;
  display: block;
}

/* Styling for caption & copyright media images in content */

figure.media-element {
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 1px;
  margin-bottom: 15px;
  text-align: center;
}

figure.media-element small.copyright {
  width: 100%;
  display: block;
  text-align: right;
  color: #777;
  padding: 9px 10px 9px 10px;
  line-height: 14px;
  background: #f3f3f3;
}

figure.media-element figcaption {
  text-align: center;
  background: #f3f3f3;
}

figure.media-element img + figcaption {
  padding: 9px 10px 6px 10px;
}

figure.media-element small + figcaption {
  padding: 0 10px 9px 10px;
  margin-top: -4px;
}

figure.DAE_contentImage-left-25pc figcaption,
figure.DAE_contentImage-left-35pc figcaption,
figure.DAE_contentImage-right-25pc figcaption,
figure.DAE_contentImage-right-35pc figcaption {
  text-align: left;
}

/* Styling for caption & copyright media images in content */
/* UL */
.region-content .contentListAlternated,
.contentListAlternated {
  display: block;
  margin: 0 0 10px;
  padding: 0;
}

.contentListAlternated > li {
  display: block;
  padding: 7px 10px 10px !important;
  background: transparent !important;
  border-top: solid 1px #eee;
}

.contentListAlternated > li:nth-child(even) {
  background: #f3f3f3 !important;
}

/* Expandable block */
/* <... class="expHead">
  static part of expandable block
  expandable part of expandable block
*/
.DAE_expandableBlock {
  border: 1px solid #eef2f4;
  border-radius: 5px;
  margin: 0 -8px 15px;
  padding: 0 8px;
  background: #ffffff;
  background: -moz-linear-gradient(top, #f5f8fa 0%, #ffffff 50%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f5f8fa), color-stop(50%, #ffffff));
  background: -webkit-linear-gradient(top, #f5f8fa 0%, #ffffff 50%);
  background: -o-linear-gradient(top, #f5f8fa 0%, #ffffff 50%);
  background: -ms-linear-gradient(top, #f5f8fa 0%, #ffffff 50%);
  background: linear-gradient(to bottom, #f5f8fa 0%, #ffffff 50%);
}

.DAE_expandableBlock.expandIsInit .expHead {
  min-height: 25px;
  padding-left: 23px;
  padding-top: 3px;
  padding-bottom: 5px;
  line-height: 1.1em;
  position: relative;
  cursor: pointer;
}

.DAE_expandableBlock.expandIsInit .expHead:before {
  background: url("../images/theme/sprite.png") no-repeat 0 -1479px;
  position: absolute;
  top: 5px;
  left: -2px;
  width: 18px;
  height: 18px;
  content: ".";
  text-indent: -5000px;
  overflow: hidden;
}

.DAE_expandableBlock.expandIsInit .expHead:hover {
  color: #036caf;
}

.DAE_expandableBlock.expandIsInit.expanded .expHead:before {
  background-position: 0 -1506px;
}

.DAE_expandableBlock.expandIsInit .expPanel {
  overflow: hidden;
  max-height: 0px;
  padding-bottom: 0px;
  -webkit-transition: max-height 0.2s, padding 0.2s;
  transition: max-height 0.2s, padding 0.2s;
}

.DAE_expandableBlock.expandIsInit.expanded .expPanel {
  max-height: 5000px;
  padding-bottom: 10px;
  -webkit-transition: max-height 2s, padding 0.2s;
  transition: max-height 2s, padding 0.2s;
}

/* Expandable list */
/*
   title
   expandable part
*/
dl.DAE_expandableList dt {
  font-size: 110%;
  color: #222;
  font-weight: normal;
}

dl.DAE_expandableList dd {
  max-height: 5000px;
  -webkit-transition: max-height 2s, padding 0.2s;
  transition: max-height 2s, padding 0.2s;
  border-bottom: solid 1px #f3f6ff;
  padding-bottom: 15px;
  margin-bottom: 15px;
  margin-left: 10px;
  position: relative;
}

dl.DAE_expandableList dd.mayexpand {
  max-height: 4.25em;
  overflow: hidden;
  -webkit-transition: max-height 0.2s, padding 0.2s;
  transition: max-height 0.2s, padding 0.2s;
  cursor: pointer;
  color: #777;
}

dl.DAE_expandableList dd.mayexpand div,
dl.DAE_expandableList dd.mayexpand blockquote {
  display: none;
}

dl.DAE_expandableList dd.mayexpand:after {
  content: "...";
  position: absolute;
  left: 0;
  bottom: 0;
  background: #fff;
  padding: 0 0 5px;
  color: #0065a2;
  width: 200%;
  line-height: 0.9em;
}

dl.DAE_expandableList dd.mayexpand:hover:after {
  text-decoration: underline;
}

dl.DAE_expandableList dd.mayexpand:hover {
  color: #555;
}

/* /editors styles */
/* Admin part settings */
.view-dropdown-newsroom-topics .element-invisible {
  clip: auto;
  height: auto;
  margin: 0 0 0 20px;
  width: auto !important;
}

/* Admin part settings */
.view-dropdown-newsroom-topics .element-invisible {
  clip: auto;
  height: auto;
  margin: 0 0 0 20px;
  width: auto !important;
}

/* Hot fix */
a.DAE_contentCTA {
  filter: none;
}

.field-name-body img {
  max-width: 100%;
  height: auto;
}

.collapse-text-fieldset.collapsible legend {
  line-height: 18px;
  margin-bottom: 10px;
}

.collapse-text-fieldset.collapsed legend {
  margin-bottom: 0px;
}

html.js fieldset.collapsed {
  height: auto !important;
}

.collapse-text-fieldset {
  margin-bottom: 10px;
  margin-top: 10px;
}

.row-fluid .span1 img {
  hight: 42px;
}

table img {
  max-width: none;
}

/* Fix read more */
.collapse-text-fieldset {
  margin-bottom: 25px;
}

.collapse-text-fieldset .fieldset-legend {
  font-weight: normal;
  display: block;
  float: none !important;
}

.collapse-text-fieldset .fieldset-wrapper {
  border: solid 1px #d2d2d2;
  border-radius: 5px;
  background: #f2f2f2;
  padding: 5px 10px;
}

.collapse-text-fieldset .fieldset-wrapper img {
  max-width: 457px !important;
}

/* Digital Futures pages */
.interview {
  margin: auto;
}

.futurium-interview:hover {
  opacity: 0.8;
}

#futurium-index ul li a {
  display: block;
}

#futurium-index ul li a:hover {
  background-color: rgb(222, 240, 241);
  text-decoration: none;
}

.logged-in .anonymus,
.not-logged-in .authenticated {
  display: none;
}

/* One Stop Shop Web Entrepreneurs */
#ossWebEntr_customLinks {
  margin: 0 -10px;
}

#ossWebEntr_customLinks a {
  border-bottom: 3px solid;
  color: #222222;
  float: left;
  margin: 15px 10px 0;
  padding: 0 0 10px;
  text-align: center;
  text-decoration: none;
  min-width: 105px;
  width: 20%;
}

#ossWebEntr_customLinks a .maxiTitle {
  display: block;
  font-size: 18px;
  line-height: 20px;
  padding: 0;
}

#ossWebEntr_customLinks a .dots {
  display: block;
  font-size: 12px;
  margin: -7px 0 -4px;
  padding: 0;
}

#ossWebEntr_customLinks a.osswe_link1 {
  border-color: #9ab9d5;
}

#ossWebEntr_customLinks a.osswe_link2 {
  border-color: #70e757;
}

#ossWebEntr_customLinks a.osswe_link3 {
  border-color: #ffa150;
}

#ossWebEntr_customLinks a.osswe_link4 {
  border-color: #ff86db;
}

#ossWebEntr_customLinks a.osswe_link1:hover {
  color: #60798f;
}

#ossWebEntr_customLinks a.osswe_link2:hover {
  color: #29990e;
}

#ossWebEntr_customLinks a.osswe_link3:hover {
  color: #ca610a;
}

#ossWebEntr_customLinks a.osswe_link4:hover {
  color: #a5498c;
}

/* /One Stop Shop Web Entrepreneurs */


/* List partners */
ul.partnersList {
  display: block;
  margin: 0 0 10px;
  padding: 2px 0.5%;
  border: solid 1px #eee;
  border-radius: 3px;
  background: #f5faff;
}

ul.partnersList > li {
  display: inline-block;
  width: 24%;
  min-width: 100px;
  text-align: center;
  margin: 3px 0.5%;
  padding: 5px 7px 7px;
  vertical-align: top;
  font-size: 95%;
  line-height: 1.2em;
  border-radius: 3px;
  min-height: 7vh;
  background: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 20, 0.2);
}

/* /list partners */
.node-unpublished {
  margin: -10px;
  padding: 10px;
  background-color: transparent;
  border: dashed 1px #c00;
}

.node-unpublished:before {
  content: "page not published";
  color: #fff;
  background: #c00;
  display: inline-block;
  font-size: 85%;
  padding: 3px 7px 6px;
  margin: -10px 10px 10px -10px;
}

/* Mattia no bullet list */
ul.nobullet li {
  list-style-type: none;
}

/* Mattia: custom changes to tables */
/* tables */
table {
  width: 100%;
}

table,
th,
td {
  border: 1px solid black;
  padding: 5px;
  spacing: 3px;
  text-align: center;
}

table img {
  max-width: none;
}

/* Nikolay: Custom changes */
.mainContentSection blockquote,
.mainContentSection .node .content blockquote {
  font-style: italic;
}

.node-digital-champion .field.field-name-field-image-champion {
  border: 1px solid #eee;
  float: right;
  padding: 1px;
}

.region-content .mainContent iframe {
  display: block;
  clear: both;
}

.chosen-container-multi .chosen-choices {
  background: none;
  border: none;
}

/* Maps: hide disclaimer */
#leaflet-disclaimer {
  display: none;
}

/* Fix for blockquote */
.mainContentSection blockquote:before,
.mainContentSection .node .content blockquote:before {
  top: 0;
  left: 0;
}

.DAE_sideQuote,
.mainContentSection .DAE_sideQuote,
.mainContentSection .node .content .DAE_sideQuote {
  padding: 8px 10px 10px 25px;
  color: #777;
}

.DAE_sideQuote,
.mainContentSection .DAE_sideQuote em,
.mainContentSection .node .content .DAE_sideQuote em {
  color: #444;
}

/* /fix for blockquote */
/* Fix for mobile friendly iframes - video container 4/3 */
.video-container {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* /video container */
.subscrNewsletterItem .sample {
  clear: right;
  float: right;
  width: 25%;
  text-align: center;
}

/* css injector 39 */
/* Fix unclickable links */
@media only screen and (max-width: 1200px) {
  section.col-md-9 + div.col-lg-3 {
    clear: both;
  }
}

/* css-injector 40 */
/* Temporary fix for Breadcrumbs alignment */
.breadcrumb__segments-wrapper {
  padding-left: 0 !important;
}

/* css-injector 42 */
/* Fix for making h2 to fit the width of the content */
.field__items h2 {
  max-width: 600px !important;
}

/* css-injector 45 */
/* Webform styling */
.webform-client-form .panel-title {
  font-size: 1.667em;
  font-weight: 600;
  color: #000;
  margin: 0;
  padding: .5em 0;
  font-family: inherit;
  line-height: 1.1;
}

/* css-injector 49 */
/* Team responsible width narrowing and adding a colon to the label (dirty hack) */
section.col-sm-12 > div.context-nav {
  max-width: 42.25em;
}

section.col-sm-12 > div.context-nav > span:nth-of-type(3)::after {
  content: ":";
}

/* css-injector 50 */
/* Font size reduction in mobile version for lead paragraph (teaser) */
@media (max-width: 992px) {
  .teaser-content {
    font-size: 18px;
    max-width: 32em !important;
  }
}

/* css-injector 25 : Newsroom pages */
/* Fix related items for consultatiosn and etc. */
.page-newsroom .newsroomPage-container .listing__item-link,
.page-newsroom-agenda .newsroomPage-container .listing__item-link {
  position: unset;
}

.page-newsroom-agenda .newsroom-message,
.page-newsroom .newsroom-message {
  display: block;
  font-size: 1.17em;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  font-weight: bold;
}

.page-newsroom-agenda .form-item-topic-id .chosen-container-single .chosen-single,
.page-newsroom .form-item-topic-id .chosen-container-single .chosen-single {
  height: 34px;
  background: none;
  border-radius: 0;
  padding: 6px 12px;
  border: none;
}

.page-newsroom-agenda .chosen-container,
.page-newsroom .chosen-container {
  width: 100% !important;
}

.page-newsroom-agenda .agendaPagination,
.page-newsroom .agendaPagination {
  clear: both;
  height: 100px;
}

.page-newsroom-agenda .agenda-previous,
.page-newsroom .agenda-previous {
  float: left;
}

.page-newsroom-agenda .agenda-next,
.page-newsroom .agenda-next {
  float: right;
}

.page-newsroom-agenda .newsroom-message,
.page-newsroom .newsroom-message {
  text-align: center;
  padding: 10px;
}

.page-newsroom-agenda .newsroom-message,
.page-newsroom-agenda .currentDate,
.page-newsroom .newsroom-message,
.page-newsroom .currentDate {
  clear: both;
}

/* Related items on agenda and news pages */
.page-newsroom-agenda .newsroom-agenda-related-items,
.page-newsroom .newsroom-agenda-related-items {
  background-color: #ebebeb;
  padding: 0 1.111em;
  max-width: 37em;
  margin-top: 1.111em;
}

.page-newsroom-agenda .newsroom-agenda-related-items .listing__item,
.page-newsroom .newsroom-agenda-related-items .listing__item,
.page-newsroom-agenda .newsroom-agenda-related-items .label,
.page-newsroom .newsroom-agenda-related-items .label {
  padding: 0.475em 0;
}

/* css-injector 27 */
/* Content - avmsd table page only. */
.page-node-156 .tableavmsd {
  text-align: center;
  vertical-align: text-top;
  width: 100%;
  background-color: #ffffff;
  padding: 5% 3% 3%;
}

.page-node-156 strong {
  color: black;
}

.page-node-156 .avmsdcontent {
  background-color: #ffecd8;
  border-right-color: #bf7451;
  border-right-style: dotted;
  border-right-width: 2px;
  padding: 3%;
  vertical-align: top;
  text-align: center;
  width: 30%;
}

.page-node-156 .avmsdarticle {
  width: 30%;
  background-color: #ffecd8;
  padding: 3%;
}

.page-node-156 .avmsdgrey {
  float: left;
  background-color: #d3d9e5;
  vertical-align: top;
  padding: 5%;
  position: relative;
}

/* css-injector 44 */
/* Digital Summit in Tallin CSS. */
.page-node-88546 ul,
.page-node-88546 p,
.page-node-88546 .teaser-content {
  max-width: 100%;
}

.page-node-88546 img {
  max-width: 70%;
  margin-left: 15%;
}

/* CSS injector 38 */

.page-node-88546 p {
  max-width: 100%;
}

.page-node-88546 ul {
  max-width: 100%;
}

/* CSS injector 38. Make width = 32em */
/* Glossary */
.lexicon-links {
  text-transform: uppercase;
  max-width: 32em;
}

.lexicon-list dl {
  border-bottom: 1px solid #eeeeee;
}

.lexicon-list dt {
  font-size: 1.222em;
  font-weight: 600;
  color: #404040;
  padding: 0.5em 0;
}

.lexicon-extralinks {
  display: block;
  font-size: 0.67em;
}

/* CSS injector 48 */
/* Comparison of Technologies page - Table width fix */
.page-node-69140 .table-responsive,
.page-node-69140 .field__items,
.page-node-69140 .field .field-name-field-ne-body .field--field-ne-body {
  width: 600px;
}

/* CSS injector 10 : node - 80872 */
/* content - ICT2015 key moments */
/* content - ICT2015 key moments, highlights-ict-2015 */
.ICT2015ms {
  display: block;
  margin: 0;
  font-size: 1.1em;
  max-width: 570px;
}

.ICT2015msGrad {
  display: block;
  margin: 0;
  background: #009fe3;
  background: -moz-linear-gradient(top, #009fe3 0%, #e4f4fe 100%);
  background: -webkit-linear-gradient(top, #009fe3 0%, #e4f4fe 100%);
  background: linear-gradient(to bottom, #009fe3 0%, #e4f4fe 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#009fe3', endColorstr='#e4f4fe', GradientType=0);
}

.ICT2015ms:before {
  content: " ";
  display: block;
  width: 100%;
  height: 252px;
  background: url(/digital-agenda/sites/digital-agenda/files/ict15ms_top.png) no-repeat 50% 100%;
  border-radius: 5px 5px 0 0;
  margin-bottom: -1em;
}

.ICT2015ms:after {
  content: " ";
  display: block;
  width: 100%;
  height: 190px;
  background: url(/digital-agenda/sites/digital-agenda/files/ict15ms_bot.png) no-repeat 50% 100%;
  border-radius: 0 0 5px 5px;
  margin-top: -1em;
}

.ICT2015msGrad > ul {
  background: url(/digital-agenda/sites/digital-agenda/files/ict15ms_mid.png) repeat-y 50% 50%;
  display: block;
  margin: 0;
  padding: 0;
}

.ICT2015ms li {
  display: block;
  margin: 0;
  padding: 0 0 15px;
}

.ICT2015ms .day li,
.ICT2015ms .day li a {
  color: #fff;
}

.ICT2015ms .day .lbl {
  text-align: right;
  padding-right: 10px;
  padding-bottom: 0.5em;
  font-size: 220%;
  border-bottom: dashed 1px #fff;
  color: #fff !important;
}

.ICT2015ms .day.day0 .lbl {
  margin-left: 40%;
  margin-top: -70px;
}

.ICT2015ms .day .date {
  text-align: right;
  padding-right: 10px;
  padding-top: 5px;
  font-size: 115%;
  margin-bottom: 15px;
  color: #fff !important;
}

.ICT2015ms .day ul li {
  position: relative;
  margin: 0 10px 10px 39%;
}

.ICT2015ms .day ul li:before {
  content: " ";
  background: url(/digital-agenda/sites/digital-agenda/files/ict15ms_ms.png) no-repeat 0 0;
  position: absolute;
  top: 20px;
  left: -30%;
  height: 55px;
  width: 130%;
}

.ICT2015ms .day ul li.tweet:before {
  width: 70%;
}

.ICT2015ms .day ul li.msTN:before {
  background-position: 0 -56px;
  height: 34px;
  top: 20px;
}

.ICT2015ms .day ul li.msBN:before {
  background-position: 0 -90px;
  height: 37px;
  top: -15px;
}

.ICT2015ms .day ul li.msBW:before {
  background-position: 0 -128px;
  height: 55px;
  top: -30px;
}

.ICT2015ms .day ul li figure {
  position: relative;
  z-index: 2;
}

.ICT2015ms .day ul li figure img {
  border-radius: 3px;
  background: #fff;
  padding: 5px;
}

.ICT2015ms .day ul li figure figcaption {
  padding-top: 30px;
}

.ICT2015ms .day a:hover figure img {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.ICT2015ms .day a:hover figure figcaption {
  text-decoration: underline;
}

.ICT2015ms .day.img1Right ul li:nth-child(2n) figure img,
.ICT2015ms .day.img1Left ul li:nth-child(2n+1) figure img {
  float: left;
  width: 45%;
}

.ICT2015ms .day.img1Right ul li:nth-child(2n) figure figcaption,
.ICT2015ms .day.img1Left ul li:nth-child(2n+1) figure figcaption {
  float: right;
  width: 52%;
}

.ICT2015ms .day.img1Right ul li:nth-child(2n+1) figure img,
.ICT2015ms .day.img1Left ul li:nth-child(2n) figure img {
  float: right;
  width: 45%;
}

.ICT2015ms .day.img1Right ul li:nth-child(2n+1) figure figcaption,
.ICT2015ms .day.img1Left ul li:nth-child(2n) figure figcaption {
  float: left;
  width: 52%;
  text-align: right;
}

.ICT2015ms .day.img1Right ul li.tweet figure img,
.ICT2015ms .day.img1Left ul li.tweet figure img {
  width: 60%;
}

.ICT2015ms .day.invert,
.ICT2015ms .day.invert .lbl,
.ICT2015ms .day.invert .date,
.ICT2015ms .day.invert a {
  color: #156087 !important;
}

@media screen and (max-width: 1060px) {
  .ICT2015ms .day ul li {
    margin-left: 34%;
  }

  .ICT2015ms:after {
    background-image: url(/digital-agenda/sites/digital-agenda/files/ict15ms_bot_sml.png);
  }
}

@media screen and (max-width: 900px) {
  .ICT2015ms .day ul li {
    margin-left: 28%;
  }
}

@media screen and (max-width: 690px) {
  .ICT2015ms .day ul li {
    margin-left: 21%;
  }

  .ICT2015ms .day ul li figure img {
    padding: 3px;
  }
}

@media screen and (max-width: 499px) {
  .ICT2015ms .day ul li {
    margin-left: 33%;
  }

  .ICT2015ms .day ul li figure img {
    padding: 5px;
  }
}

@media screen and (max-width: 420px) {
  .ICT2015ms .day ul li {
    margin-left: 27%;
  }

  .ICT2015ms .day ul li figure img {
    padding: 3px;
  }
}

@media screen and (max-width: 355px) {
  .ICT2015ms .day ul li {
    margin-left: 22%;
  }
}

/* css-injector 4 */
/* content - Consultations */
/* only on nodes 10590 and 81738 */
.page-node-10590 .region-content ul li p,
.page-node-81738 .region-content ul li p {
  padding-left: 20px;
  color: #777;
  margin: -5px 0 15px;
}

.page-node-10590 .region-content ul li h4,
.page-node-81738 .region-content ul li h4 {
  color: #222;
}

.page-node-10590 .region-content ul li.DSM_Content h4:before,
.page-node-10590 .region-content ul li h4.DSM_Content:before,
.page-node-81738 .region-content ul li.DSM_Content h4:before,
.page-node-81738 .region-content ul li h4.DSM_Content:before {
  content: "DSM";
  font-size: 7px;
  color: #fff;
  font-weight: bold;
  display: inline-block;
  background: #003399;
  margin: 0 5px 0 0;
  padding: 2px 4px 3px;
  position: relative;
  top: -2px;
}

/* Societal Challenges links: node - 80105 */
.socChalT {
  position: relative;
  padding-left: 43px;
  margin-bottom: 25px;
}

.socChalT:before {
  background: #fff url("/digital-agenda/sites/digital-agenda/files/societal_challenges_icons.png") no-repeat scroll 12px 6px / 170px auto;
  border: 2px solid #eee;
  border-radius: 100px;
  content: " ";
  height: 45px;
  left: -10px;
  position: absolute;
  top: -10px;
  width: 45px;
}

p.socChalT {
  margin: 20px 0 20px 60px;
  padding: 0 10px 10px 0;
}

p.socChalT:before {
  left: -55px;
}

p.socChalT a {
  display: block;
  font-size: 140%;
  margin-bottom: 5px;
}

.socChalT_eHealth,
.socChalT_eHealth:before {
  background-position: -102px 3px;
  border-color: #84a125;
}

.socChalT_ageingWell,
.socChalT_ageingWell:before {
  background-position: -139px 4px;
  border-color: #bb70ac;
}

.socChalT_digitalPublic,
.socChalT_digitalPublic:before {
  background-position: 12px 6px;
  border-color: #4379b8;
}

.socChalT_trustAndSecurity,
.socChalT_trustAndSecurity:before {
  background-position: -66px 5px;
  border-color: #e94a63;
}

.socChalT_smartCities,
.socChalT_smartCities:before {
  background-position: -24px 6px;
  border-color: #f4c000;
}

/* /Societal Challenges links */

/* Search form hide label */
.search-form .control-label {
  display: none;
}

/* DSM FAQ styles */
.node-dsm-faq .teaser-content {
  max-width: 27em;
}

.node-dsm-faq .field-name-field-dsm-faq-disclaimer {
  max-width: 32em;
}
.node-dsm-faq .field-group-context_nav {
  margin-bottom: 10px;
}

.node-dsm-faq .field--go-to-wifi4eu-buttion {
  margin-top: 20px;
}

/* Custom styling for Cordis project selection page */
.node-programmes-and-projects section.block.block-views.contextual-links-region.clearfix {
  padding: 0 10px !important;
}
.node-programmes-and-projects .teaser-content {
  margin-top: 0;
}

.node-programmes-and-projects .region-sidebar-first {
  padding: 0;
}

/* Fix for the filter form in news reps and studies and laws */
#-dsm-news-page-filter-form #edit_topic_id_chosen,
.block-nexteuropa-newsroom #edit_topic_id_chosen {
  width: 100% !important;
}

#-dsm-news-page-filter-form .form-type-select,
#views-exposed-form-subprogramme-area-projects-block-1,
#views-exposed-form-coalition-initiatives-page,
.container-inline-date,
.block-nexteuropa-newsroom .form-type-select {
  max-width: 32em !important;
}

#-dsm-news-page-filter-form .form-group,
.block-nexteuropa-newsroom .form-group {
  margin-bottom: 0;
}

/* Changed to remove the .col-md-3 margin-top */
.region-sidebar-last {
  margin-top: 30px;
}

#nexteuropa-newsroom-agenda-filter-form .chosen-results,
#-dsm-news-page-filter-form .chosen-container .chosen-results,
#views-exposed-form-coalition-initiatives-page .chosen-results,
.block-nexteuropa-newsroom .form-group {
  max-width: 100%;
}

/* Make the body content width to 32em */
.field--body {
  max-width: 32em;
}

/* CSS regarding the ticket DAE-2524 */
/* Best to config this CSS to be used only on the screen */
.featured-item__content--full-width {
  padding: 0 15px;
}
.featured-item__content--full-width .field__label--above {
  margin-top: 1em;
}
.block__content--limited-width {
  max-width: 32em;
}
.field__label.field__label--above {
  font-weight: bold;
  font-size: 0.9em;
  text-transform: uppercase;
  margin-top: 0.8em;
}
#good-practice .field:last-child {
  margin-bottom: 1.5em;
}
#good-practice .featured-item__extended h3 {
  padding-left: 15px;
}

/* DAE - Best practice specific CSS */
/* 78349 + 78343 */
.node-type-best-practice #block-boxes-best-practices-extra-code {
  display: none;
}
.node-type-best-practice .node-best-practice > .content > div {
  border-bottom: solid 3px #dcdcdc;
  margin-bottom: 20px;
}
.node-type-best-practice .node-best-practice > .content > div.field-name-field-bpexplanation {
  padding-bottom: 20px;
}
.node-type-best-practice .node-best-practice > .content > div > h3 {
  padding-top: 40px;
  padding-bottom: 20px;
  border-bottom: solid 1px #cecece;
  margin-bottom: 0px;
}
.node-type-best-practice .field-label-above {
  display: block !important;
  width: 100% !important;
  padding: 5px 7px 7px !important;
  margin: 0 0px !important;
  float: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.node-type-best-practice .field-label-above:nth-child(2n) {
  background: #f3f3f3 !important;
}
.node-type-best-practice .field-label-above .field-label {
  display: inline-block;
  vertical-align: top;
  width: 24%;
  padding-bottom: 10px;
}
.node-type-best-practice .field-label-above .field-items,
.node-type-best-practice .field-label-above .links {
  display: inline-block;
  vertical-align: top;
  width: 74% !important;
  float: none !important;
}
.node-type-best-practice .field-type-geofield .field-label,
.node-type-best-practice .field-type-geofield .field-items {
  width: 100% !important;
}

/* DAE-2861: restrict width to 32em for description, do not affect the map! */
#good-practice > div:nth-child(1) > div.field-name-field-bpexplanation {
  max-width: 32em;
}
@media screen and (min-width:500px) and (max-width:800px),
screen and (max-width:399px) {
  .node-type-best-practice .field-label-above .field-label,
  .node-type-best-practice .field-label-above .field-items,
  .node-type-best-practice .field-label-above .links {
    width: 100% !important;
  }
}

/* Sticky menu by Alexis BAERT */
.dsm-contextual-menu__hamburger span,
.dsm-contextual-menu__hamburger-checkbox,
.dsm-contextual-menu__hamburger-button {
  display: none;
}

/* fix the bottom hidden footer */
footer.footer {
  margin-bottom: 0rem;
}

@media (max-width: 992px) {
  .dsm-contextual-menu__hamburger-button[aria-expanded="true"] + .dsm-contextual-menu__expandable-root,
  .dsm-contextual-menu__hamburger-button[aria-expanded="true"] ~ .dsm-contextual-menu__expandable-root,
  .dsm-contextual-menu__hamburger-checkbox:checked ~ .dsm-contextual-menu__expandable-root {
    /* height: 86vh; */
    height: calc(100vh - 3.8em);
  }
}

@media (max-width: 992px) and (min-height: 568px) {
  .dsm-contextual-menu__hamburger-button[aria-expanded="true"] + .dsm-contextual-menu__expandable-root,
  .dsm-contextual-menu__hamburger-button[aria-expanded="true"] ~ .dsm-contextual-menu__expandable-root,
  .dsm-contextual-menu__hamburger-checkbox:checked ~ .dsm-contextual-menu__expandable-root {
    /* height: 92vh; */
    height: calc(100vh - 3.8em);
  }
}

@media (max-width: 992px) and (min-height: 730px) {
  .dsm-contextual-menu__hamburger-button[aria-expanded="true"] + .dsm-contextual-menu__expandable-root,
  .dsm-contextual-menu__hamburger-button[aria-expanded="true"] ~ .dsm-contextual-menu__expandable-root,
  .dsm-contextual-menu__hamburger-checkbox:checked ~ .dsm-contextual-menu__expandable-root {
    /* height: 94vh; */
    height: calc(100vh - 3.8em);
  }
}

@media (max-width: 992px) {

  html.noscroll,
  body.noscroll {
    +
    overflow: hidden;
  }

  body.noscroll {
    position: fixed;
    max-width: 100%;
    max-height: 100%;
  }

  /* fix the bottom hidden footer */
  footer.footer {
    margin-bottom: 6rem;
  }

  /* Fix social media footer items */
  .region-footer-improved .footer__column {
    padding-left: 0;
  }
  .footer__improved .footer__menu-item:first-child {
    padding-left: 0;
  }

  .dsm-contextual-menu__hamburger-button[aria-expanded="false"] + .dsm-contextual-menu__expandable-root,
  .dsm-contextual-menu__hamburger-button[aria-expanded="false"] ~ .dsm-contextual-menu__expandable-root,
  .dsm-contextual-menu__hamburger-checkbox ~ .dsm-contextual-menu__expandable-root {
    position: absolute;
    bottom: 3.8em;
    background-color: #fff;
    padding: 0px 15px;
    height: 0vh;
    overflow-y: hidden;
    text-align: left;
    transition: all 0.3s;
    border-top: solid 3px #ebebeb;
    width: 100vw;
    visibility: hidden;
  }

  .dsm-contextual-menu__hamburger-button[aria-expanded="true"] + .dsm-contextual-menu__expandable-root,
  .dsm-contextual-menu__hamburger-button[aria-expanded="true"] ~ .dsm-contextual-menu__expandable-root,
  .dsm-contextual-menu__hamburger-checkbox:checked ~ .dsm-contextual-menu__expandable-root {
    position: absolute;
    bottom: 3.8em;
    background-color: #fff;
    padding: 15px;
    overflow-y: auto;
    text-align: left;
    transition: all 0.3s;
    box-sizing: border-box;
    visibility: visible;
    width: 100vw;
  }

  .col-sm-12.dsm-contextual-menu {
    /* overflow: hidden; */
    background-color: #4173b0;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 3.8em;
    z-index: 999;
    margin: 0;
    border-top: solid 2px #d0cecf;
    text-align: right;
    padding: 0;
  }

  .col-sm-12.dsm-contextual-menu.transition {
    transition: height 0.2s;
  }

  .col-sm-12.dsm-contextual-menu.dsm-contextual-menu--hidden {
    height: 0px;
  }

  /* checkbox / noJS version of the burger menu */
  .dsm-contextual-menu__hamburger-checkbox {
    display: block;
    position: absolute;
    opacity: 1;
    right: 8px;
    top: 1.333333em;
    margin-right: 15px !important;
    opacity: 0;
    z-index: 1;
  }

  .dsm-contextual-menu__hamburger {
    display: inline-block !important;
    border: 0;
    background: none;
    outline: 0;
    padding: 0;
    margin: 1.3333em 0.83333em !important;
    cursor: pointer;
    border-bottom: 4px solid #fff;
    width: 2.2em;
    transition: border-bottom 1s ease-in-out;
    -webkit-transition: border-bottom 1s ease-in-out;
  }

  .dsm-contextual-menu__hamburger::-moz-focus-inner {
    border: 0;
    padding: 0;
  }

  .dsm-contextual-menu__hamburger:before {
    content: "";
    display: block;
    border-bottom: 4px solid #fff;
    width: 100%;
    margin-bottom: 5px;
    transition: transform 0.5s ease-in-out;
    -webkit-transition: -webkit-transform 0.5s ease-in-out;
  }

  .dsm-contextual-menu__hamburger:after {
    content: "";
    display: block;
    border-bottom: 4px solid #fff;
    width: 100%;
    margin-bottom: 5px;
    transition: transform 0.5s ease-in-out;
    -webkit-transition: -webkit-transform 0.5s ease-in-out;
  }

  .dsm-contextual-menu__hamburger-checkbox:checked ~ .dsm-contextual-menu__hamburger {
    border-bottom: 4px solid transparent;
    transition: border-bottom 0.8s ease-in-out;
    -webkit-transition: border-bottom 0.8s ease-in-out;
  }

  .dsm-contextual-menu__hamburger-checkbox:checked ~ .dsm-contextual-menu__hamburger:before {
    transform: rotate(-405deg) translateY(1px) translateX(-3px);
    -webkit-transform: rotate(-405deg) translateY(1px) translateX(-3px);
    transition: transform 0.5s ease-in-out;
    -webkit-transition: -webkit-transform 0.5s ease-in-out;
  }

  .dsm-contextual-menu__hamburger-checkbox:checked ~ .dsm-contextual-menu__hamburger:after {
    transform: rotate(405deg) translateY(-4px) translateX(-5px);
    -webkit-transform: rotate(405deg) translateY(-4px) translateX(-5px);
    transition: transform 0.5s ease-in-out;
    -webkit-transition: -webkit-transform 0.5s ease-in-out;
  }

  .dsm-contextual-menu__hamburger-box {
    text-align: right;
  }

  .dsm-contextual-menu__hamburger-button {
    background-color: transparent;
    border: none;
    color: #fff;
    width: 3em;
    padding-right: 40px;
    padding-left: 20px;
    display: inline;
  }

  .dsm-contextual-menu__hamburger-button:focus {
    background-color: rgba(0, 68, 148, 0.5);
  }

  .dsm-contextual-menu__hamburger-label {
    visibility: hidden;
    line-height: 3.8em;
  }

  .dsm-contextual-menu__label {
    color: #fff;
    font-weight: bold;
    padding-right: 1.2em;
    display: table;
    width: calc(100% - 4.2em);
    float: left;
    height: 100%;
    overflow: hidden;
  }

  .dsm-contextual-menu__hamburger-inner {
    display: block;
    margin-top: -2em;
    margin-left: -1px;
  }

  .dsm-contextual-menu__hamburger-inner,
  .dsm-contextual-menu__hamburger-inner::before,
  .dsm-contextual-menu__hamburger-inner::after {
    background-color: #fff;
    border-radius: 0.1em;
    height: 0.2em;
    position: absolute;
    width: 2.6rem;
  }

  .dsm-contextual-menu__hamburger-inner::before,
  .dsm-contextual-menu__hamburger-inner::after {
    content: '';
    display: block;
  }

  .dsm-contextual-menu__hamburger-inner::before {
    top: -0.5em;
  }

  .dsm-contextual-menu__hamburger-inner::after {
    bottom: -0.5em;
  }

  .dsm-contextual-menu__hamburger--squeeze .dsm-contextual-menu__hamburger-inner {
    -webkit-transition-duration: 0.075s;
    transition-duration: 0.075s;
    -webkit-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  .dsm-contextual-menu__hamburger--squeeze .dsm-contextual-menu__hamburger-inner::before {
    -webkit-transition: top 0.075s 0.12s ease, opacity 0.075s ease;
    transition: top 0.075s 0.12s ease, opacity 0.075s ease;
  }

  .dsm-contextual-menu__hamburger--squeeze .dsm-contextual-menu__hamburger-inner::after {
    -webkit-transition: bottom 0.075s 0.12s ease, -webkit-transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.075s 0.12s ease, -webkit-transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  .dsm-contextual-menu__hamburger--squeeze[aria-expanded='true'] .dsm-contextual-menu__hamburger-inner {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition-delay: 0.12s;
    transition-delay: 0.12s;
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .dsm-contextual-menu__hamburger--squeeze[aria-expanded='true'] .dsm-contextual-menu__hamburger-inner::before {
    opacity: 0;
    top: 0;
    -webkit-transition: top 0.075s ease, opacity 0.075s 0.12s ease;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease;
  }

  .dsm-contextual-menu__hamburger--squeeze[aria-expanded='true'] .dsm-contextual-menu__hamburger-inner::after {
    bottom: 0;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transition: bottom 0.075s ease, -webkit-transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.075s ease, -webkit-transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
}

@supports (-webkit-overflow-scrolling: touch) {
  @media (max-width: 992px) {
    .dsm-contextual-menu__hamburger-button[aria-expanded="true"] + .dsm-contextual-menu__expandable-root,
    .dsm-contextual-menu__hamburger-button[aria-expanded="true"] ~ .dsm-contextual-menu__expandable-root,
    .dsm-contextual-menu__hamburger-checkbox:checked ~ .dsm-contextual-menu__expandable-root {
      padding: 90px 15px;
    }
  }
}

/* DAE-2758 - Hide login link */
.site-user-menu.site-user-menu--header {
  display: block;
}
a.site-user-menu__list {
  display: block;
}

@media print {
  .region-sidebar-last.col-md-push-9 {
    display: none;
  }
  .group-related-content {
    display: none !important;
  }
}

/* Featured boxes in Homepage */
.featured_hp_wrapper .highlighted-item {
  min-height: 410px;
}
.featured_hp_wrapper :after {
  display: none !important;
}
@media (max-width: 992px) {
  .featured_hp_wrapper .highlighted-item {
    min-height: auto;
    padding-bottom: 2em;
  }
}
/* Featured boxes in Homepage */

/* Hide file captions */
.file__caption {
  display: none;
}

select[multiple],
select[multiple]:hover {
  background: none !important;
}

.icon-social--website:before {
  content: "\e80b";
  background-color: #404040;
  color: #fff;
  text-align: center;
  line-height: 40px;
}

/* DSM FAQ Page for WIFI4EU. Highlighted words by search field. Start block. */
.highlight {
  background-color: #003776;
  color: #ffffff;
}

.view-dsm-faq .expandable__content > ul {
  margin-left: 4em;
  margin-bottom: 0.8em;
  margin-top: 0.8em;
  font-size: .889em;
}

#FAQSearchField {
  max-width: 32em;
}

.wifi4eu--no-results {
  max-width: 38em;
}

#FAQSearchBtn {
  background-color: #004494;
  color: #ffffff;
}

.search-form--wifi4eu .input-group-addon,
.input-group-btn {
  width: auto;
}
/* DSM FAQ Page for WIFI4EU. End block */

/* displayContentInPopup */
.displayContentInPopup.displayContentInPopupIsSet .thumbnailPreview {
  display: inline-block;
  cursor: pointer;
}
.displayContentInPopup.displayContentInPopupIsSet h5 {
  font-size: 100%;
  display: inline-block;
  text-decoration: underline;
  color: #0065a2;
  cursor: pointer;
  margin: 0 15px 0 0;
}
.displayContentInPopup.displayContentInPopupIsSet h5:hover {
  color: #003556;
}
.displayContentInPopup .thumbnailPreview,
.displayContentInPopup.displayContentInPopupIsSet .contentInPopup {
  display: none;
}
.displayContentInPopup_popbg {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  padding: 10vh 5vw;
  background: rgba(0,0,0,0.8);
  z-index: 5550;
}
.displayContentInPopup_pop {
  position: relative;
  z-index: 5;
  max-height: 100%;
  max-width: 100%;
  overflow: auto;
  border: 5px solid #fff;
  border-radius: 5px;
  background: #fff;
}
.displayContentInPopup_pop>.contentInPopup>iframe {
  width: 100%;
  height: 75vh;
}
.displayContentInPopup_close {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}
.displayContentInPopup_close:after {
  position: fixed;
  top: 5px;
  right: 0px;
  cursor: pointer;
  height: 36px;
  width: 40px;
  z-index: 5;
  content: "";
}
/* displayContentInPopup */

/* DAE-2927 more top margin for meta content */
.content-meta {
  margin-top: 2.5em;
}

.country-page .btn.btn--condensed.btn--no-padding {
  padding: 0;
}
.country-page .listing--two-columns .listing__column-main .field__items {
  font-size: .889em;
}
.country-page .listing--two-columns .listing__item {
  margin-right: 15px;
  margin-left: 15px;
}
.country-page .field .field__items--xtra-bottom-space {
  margin-bottom: 2.5em;
}

.country-page .col-md-3 {
  margin-top: 0;
}

@media (min-width: 768px) {
  .country-page .listing.listing--two-columns {
    display: flex;
    flex-wrap: wrap;
  }

  .country-page .listing--two-columns .listing__item {
    width: calc(50% - 30px);
    display: block;
    position: relative;
    min-height: 1px;
  }

  .country-page .listing--two-columns .listing__item:nth-child(2) {
    border-top: 1px solid #ebebeb;
  }
}

.dsm-tag-country-label {
  text-transform: uppercase;
  background-color: #ececec;
  font-size: 12px;
  padding: 4px 8px;
  letter-spacing: 3px;
  width: auto;
  display: inline-block;
}

.view-best-practices .dsm-tag-country-label,
.view-coalition-initiatives .dsm-tag-country-label,
.view-coalition-initiatives .views-field,
.view-best-practices .views-field {
  margin-bottom: 0.5em;
}
.view-coalition-initiatives .dsm-tag-country-label .views-field,
.view-best-practices .dsm-tag-country-label .views-field {
  margin-bottom: 0;
}
.view-coalition-initiatives a,
.view-best-practices a {
  font-weight: bold;
  text-decoration: underline;
}
.view-coalition-initiatives .more-link,
.view-best-practices .more-link {
  display: none;
}

/* DAE-2853, DAE-2960: Adapt Choosen to mime the jquery selector */
div#edit_topic_id_chosen.chosen-container-single .chosen-single,
div#edit_topic_id_chosen.chosen-container-active.chosen-with-drop .chosen-single,
div#edit_topic_id_chosen.chosen-container-single .chosen-single div b {
  border: none;
  background: none;
  box-shadow: none;
  padding: 0;
  line-height: 32px;
}

.chosen-container-multi .chosen-choices {
  padding-top: 3px;
}

#nexteuropa-newsroom-agenda-filter-form #edit_topic_id_chosen,
#-dsm-news-page-filter-form #edit_topic_id_chosen,
#views-exposed-form-coalition-initiatives-page #edit_field_ci_target_groups_value_chosen,
#views-exposed-form-coalition-initiatives-page #edit_field_ci_geographical_scope_value_chosen,
.block-nexteuropa-newsroom #edit_topic_id_chosen {
  background: url(../arrow-down--white.svg),linear-gradient(180deg,#404040,#404040);
  background-repeat: no-repeat;
  background-position: right .764em center,100%;
  background-size: 1.1em .61em,2.75em 100% !important;
}
/* END DAE-2853/DAE-2960. */

/* DAE-3029 */
#nexteuropa-newsroom-agenda-filter-form #edit_topic_id_chosen:hover,
#-dsm-news-page-filter-form #edit_topic_id_chosen:hover,
#views-exposed-form-coalition-initiatives-page #edit_field_ci_target_groups_value_chosen:hover,
#views-exposed-form-coalition-initiatives-page #edit_field_ci_geographical_scope_value_chosen:hover,
.block-nexteuropa-newsroom #edit_topic_id_chosen:hover {
  background: url(../arrow-down--white.svg), linear-gradient(180deg, #004494, #004494);
  background-repeat: no-repeat;
  background-position: right .764em center, 100%;
  background-size: 1.1em .61em, 2.75em 100% !important;
}

#edit_topic_id_chosen > div > div > input[type="text"]:focus {
  outline: 3px solid #ffd617;
}

/* END DAE-3029 */

.page-taxonomy-term .listing__item-link {
  height: auto !important;
}
#views-exposed-form-coalition-initiatives-page .btn,
#views-exposed-form-best-practices-page .btn {
  width: auto !important;
}

#block-nexteuropa-newsroom-newsroom-related-content ul ul li span {
  margin-left: 2.5rem;
  display: block;
}
.team_responsible .listing__column-second {
  float: left;
  width: 100px;
  padding-left: 0;
  padding-right: 15px;
}

/* DAE-2948: Sticky menu adaptations */

.inpage-nav__navbar .inpage-nav__help {
  display: block !important;
  padding-top: 1.35em;
  background-color: transparent !important;
  font-size: .778em;
  color: #fff !important;
  text-transform: uppercase;
}


@media (min-width:992px) {

  .navbar-collapse.collapse {
    display: none!important;
    visibility: hidden!important;
    height: 0!important;
    padding-bottom: 0;
    overflow: hidden!important;
  }

  .inpage-nav__wrapper {
    margin-bottom: 1.667em;
  }

  .inpage-nav__wrapper.affix,
  .inpage-nav__wrapper.affix-top {
    position: relative;
  }

  .inpage-nav .inpage-nav__list {
    margin: 0 0 0 -11px!important;
    padding-left: 0!important;
    list-style: none;
  }

  .inpage-nav .inpage-nav__list li.active .inpage_nav__list-item {
    background-color: #ebebeb;
    border-color: #004494;
  }

  .inpage-nav .inpage_nav__list-item {
    display: block;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 8px;
    color: #000;
    font-size: .889em;
    font-weight: 700;
    border-left: 3px solid transparent;
    text-decoration: none;
  }

  .inpage-nav .inpage_nav__list-item:hover {
    background: none;
    text-decoration: underline;
  }

  .inpage-nav .inpage_nav__list-item:focus {
    background-color: #ffd617 !important;
    outline: none;
    text-decoration: underline;
  }

  .inpage-nav__navbar {
    background-color: #fff;
    color: #fff;
  }

  .inpage-nav__navbar .inpage-nav__current-wrapper {
    overflow: hidden;
  }

  .inpage-nav__navbar .inpage-nav__current,
  .inpage-nav__navbar .inpage-nav__help {
    padding-bottom: 0;
  }

  .inpage-nav__navbar .inpage-nav__current {
    display: block;
    width: 100%;
    padding-top: 1em;
    overflow: hidden;
    font-size: 1em;
    font-weight: 700;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
  }

  .inpage-nav__navbar .inpage-nav__current:hover {
    color: #fff;
  }

  .inpage-nav__navbar .inpage-nav__help {
    display: none;
    padding-top: 1.35em;
    background-color: #ebebeb;
    font-size: .778em;
    color: #575757;
    text-transform: uppercase;
  }

  .inpage-nav__navbar .inpage-nav__title {
    display: block;
    padding: 1em;
    line-height: 1;
    font-size: 1em;
    font-weight: 700;
  }

  .inpage-nav__navbar .inpage-nav__toggle {
    margin: 0;
    padding: 1em;
    background-color: #003776;
    border-color: #003776;
  }

  .inpage-nav__navbar .inpage-nav__toggle:active,
  .inpage-nav__navbar .inpage-nav__toggle:focus,
  .inpage-nav__navbar .inpage-nav__toggle:hover {
    background-color: #003776;
    color: #fff;
    text-decoration: none;
  }

  .inpage-nav__navbar .inpage-nav__icon-arrow {
    display: block;
    margin: 5px 4px;
    font-size: 10px;
    color: #fff;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
  }

  .inpage-nav__navbar .inpage-nav__icon-arrow:before {
    margin-right: 0;
  }

  .inpage-nav__navbar .inpage-nav__close-text {
    display: none;
    font-size: 15px;
    line-height: 20px;
  }

  .inpage-nav__navbar .inpage-nav__header {
    margin: 0;
  }

  .inpage-nav__navbar .inpage-nav__container {
    width: auto;
    padding: 0;
    background-color: #004494;
  }

  .inpage-nav__navbar .inpage-nav__container .navbar-collapse {
    max-height: none;
  }

  .inpage-nav__navbar .inpage-nav__list--navbar {
    padding: 0 15px;
  }

  .inpage-nav__navbar .inpage-nav__list--navbar li.active .inpage_nav__list-item {
    color: inherit;
  }

  .inpage-nav__navbar .inpage-nav__list--navbar li .inpage_nav__list-item {
    padding: .8em 0 .8em 1em;
    font-size: .889em;
    color: #fff;
    border-top: 1px solid #003776;
  }

  .inpage-nav__navbar .inpage-nav__list--navbar li .inpage_nav__list-item:focus,
  .inpage-nav__navbar .inpage-nav__list--navbar li .inpage_nav__list-item:hover {
    background: none;
    text-decoration: underline;
  }

  .inpage-nav__navbar-wrapper {
    display: none;
  }

  .inpage-nav__navbar-wrapper.is-active {
    display: inherit;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__navbar,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__navbar {
    height: 100%;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__close-text,
  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__help,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__close-text,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__help {
    display: block;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__current,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__current {
    display: none;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__header,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__header {
    background-color: #ebebeb;
    font-weight: 400;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__toggle,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__toggle {
    background-color: #9f9f9f;
    border-color: #9f9f9f;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__toggle .inpage-nav__icon-arrow,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__toggle .inpage-nav__icon-arrow {
    color: #575757;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  .inpage-nav__block-title {
    display: inherit;
    font-size: 15px;
    font-weight: 400;
    color: #575757;
    text-transform: uppercase;
  }

  .is-inpage-nav-open {
    overflow: hidden;
  }

  .is-inpage-nav-open .inpage-nav__navbar {
    overflow: auto;
  }

}

@media (min-width:1200px) {

  .inpage-nav__wrapper {
    margin-bottom: 1.667em;
  }

  .inpage-nav__wrapper.affix,
  .inpage-nav__wrapper.affix-top {
    position: relative;
  }

  .inpage-nav .inpage-nav__list {
    margin: 0 0 0 -11px!important;
    padding-left: 0!important;
    list-style: none;
  }

  .inpage-nav .inpage-nav__list li.active .inpage_nav__list-item {
    background-color: #ebebeb;
    border-color: #004494;
  }

  .inpage-nav .inpage_nav__list-item {
    display: block;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 8px;
    color: #000;
    font-size: .889em;
    font-weight: 700;
    border-left: 3px solid transparent;
    text-decoration: none;
  }

  .inpage-nav .inpage_nav__list-item:hover {
    background: none;
    text-decoration: underline;
  }

  .inpage-nav .inpage_nav__list-item:focus {
    background-color: #ffd617 !important;
    outline: none;
    text-decoration: underline;
  }

  .inpage-nav__navbar {
    background-color: #fff;
    color: #fff;
  }

  .inpage-nav__navbar .inpage-nav__current-wrapper {
    overflow: hidden;
  }

  .inpage-nav__navbar .inpage-nav__current,
  .inpage-nav__navbar .inpage-nav__help {
    padding-bottom: 0;
  }

  .inpage-nav__navbar .inpage-nav__current {
    display: block;
    width: 100%;
    padding-top: 1em;
    overflow: hidden;
    font-size: 1em;
    font-weight: 700;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
  }

  .inpage-nav__navbar .inpage-nav__current:hover {
    color: #fff;
  }

  .inpage-nav__navbar .inpage-nav__help {
    display: none;
    padding-top: 1.35em;
    background-color: #ebebeb;
    font-size: .778em;
    color: #575757;
    text-transform: uppercase;
  }

  .inpage-nav__navbar .inpage-nav__title {
    display: block;
    padding: 1em;
    line-height: 1;
    font-size: 1em;
    font-weight: 700;
  }

  .inpage-nav__navbar .inpage-nav__toggle {
    margin: 0;
    padding: 1em;
    background-color: #003776;
    border-color: #003776;
  }

  .inpage-nav__navbar .inpage-nav__toggle:active,
  .inpage-nav__navbar .inpage-nav__toggle:focus,
  .inpage-nav__navbar .inpage-nav__toggle:hover {
    background-color: #003776;
    color: #fff;
    text-decoration: none;
  }

  .inpage-nav__navbar .inpage-nav__icon-arrow {
    display: block;
    margin: 5px 4px;
    font-size: 10px;
    color: #fff;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
  }

  .inpage-nav__navbar .inpage-nav__icon-arrow:before {
    margin-right: 0;
  }

  .inpage-nav__navbar .inpage-nav__close-text {
    display: none;
    font-size: 15px;
    line-height: 20px;
  }

  .inpage-nav__navbar .inpage-nav__header {
    margin: 0;
  }

  .inpage-nav__navbar .inpage-nav__container {
    width: auto;
    padding: 0;
    background-color: #004494;
    background-color: green !important;
  }

  .inpage-nav__navbar .inpage-nav__container .navbar-collapse {
    max-height: none;
  }

  .inpage-nav__navbar .inpage-nav__list--navbar {
    padding: 0 15px;
  }

  .inpage-nav__navbar .inpage-nav__list--navbar li.active .inpage_nav__list-item {
    color: inherit;
  }

  .inpage-nav__navbar .inpage-nav__list--navbar li .inpage_nav__list-item {
    padding: .8em 0 .8em 1em;
    font-size: .889em;
    color: #fff;
    border-top: 1px solid #003776;
  }

  .inpage-nav__navbar .inpage-nav__list--navbar li .inpage_nav__list-item:focus,
  .inpage-nav__navbar .inpage-nav__list--navbar li .inpage_nav__list-item:hover {
    background: none;
    text-decoration: underline;
  }

  .inpage-nav__navbar-wrapper {
    display: none;
  }

  .inpage-nav__navbar-wrapper.is-active {
    display: inherit;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__navbar,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__navbar {
    height: 100%;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__close-text,
  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__help,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__close-text,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__help {
    display: block;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__current,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__current {
    display: none;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__header,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__header {
    background-color: #ebebeb;
    font-weight: 400;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__toggle,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__toggle {
    background-color: #9f9f9f;
    border-color: #9f9f9f;
  }

  .inpage-nav__navbar-wrapper.is-collapsed .inpage-nav__toggle .inpage-nav__icon-arrow,
  .inpage-nav__navbar-wrapper.is-collapsing .inpage-nav__toggle .inpage-nav__icon-arrow {
    color: #575757;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  .inpage-nav__block-title {
    display: inherit;
    font-size: 15px;
    font-weight: 400;
    color: #575757;
    text-transform: uppercase;
  }

  .is-inpage-nav-open {
    overflow: hidden;
  }

  .is-inpage-nav-open .inpage-nav__navbar {
    overflow: auto;
  }

  .navbar-collapse.collapse {
    display: none!important;
    visibility: hidden!important;
    height: 0!important;
    padding-bottom: 0;
    overflow: hidden!important;
  }

  .navbar-toggle {
    display: block;
    float: left;
  }

  .navbar-fixed-top {
    max-width: 1200px !important;
    margin: auto !important;
  }

  .navbar-fixed-top .container.inpage-nav__container {
    max-width: 75% !important;
    margin-left: 0!important;
  }

  .inpage-nav__navbar {
    background-color: transparent !important;
  }

  .inpage-nav__current-wrapper {
    padding-left: 15px;
  }

  .inpage-nav__navbar .inpage-nav__current {
    text-overflow: initial !important;
  }

  .navbar-collapse.collapse.in {
    display: block!important;
    visibility: visible!important;
    height: auto!important;
    padding-bottom: 0;
    overflow: visible!important;
  }

  .nav.inpage-nav__list.inpage-nav__list--navbar {
    clear: both;
  }

  .inpage-nav__navbar .inpage-nav__help {
    padding-left: 30px !important;
  }

}
@media (min-width:992px) {
  a.backtotopBtn {
    display: block;
    position: fixed;
    top: calc(100vh - 80px);
    right: calc(25vw + 30px);
    width: auto;
    height: auto;
    background-color: #004494;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border: solid 2px #fff;
    padding: 0 0.3em;
    text-decoration: none;
    font-size: 14px;
  }

  a.backtotopBtn:hover {
    text-decoration: underline;
  }

}

@media (min-width:1200px) {
  a.backtotopBtn {
    right: calc((50vw - 600px) + 293px + 30px);
  }
}

/* DAE-2880: issue with display of the file component; */
.file__metadata {
  overflow: visible !important;
}

.file__metadata a {
  display: inline-block;
}

/* Improvements related DAE-3035 - DAE-3036 */
section.col-sm-12 > div.context-nav.dsm-team-source {
  max-width: 32em;
}

.dsm-team-source.context-nav {
  background-color: #f5f5f5;
  padding: 15px;
  border-left: solid 10px #cfcfcf;
  margin-left: 0;
  font-size: 18px;
}

.dsm-team-source .context-nav__label {
  width: 100%;
  float: none;
  padding-left: 0;
}

.dsm-team-source hr {
  float: left;
  width: 25%;
  border-color: #9f9f9f;
}

.dsm-team-source .context-nav__label,
.dsm-team-source .context-nav__items {
  padding-left: 0;
  width: 100%;
}

.dsm-team-source .icon {
  opacity: 0.8;
}
/* End Improvements DAE-3035 - DAE-3036 */

/* DAE-3056 -- Exposed filters Sorting fields */
#edit-submit-bco-list-map {
  width: auto !important;
}
