/* VARS */

/*

maincolor = #672394;
light color = #c2a7d4;

light bg : #f9f8fe;

cta = #92cecf
secondary = #fad141;



*/


/* /VARS */


@font-face {
    font-family: 'ECSquareSansPro';
    src: url('../fonts/ECSquareSansPro-Regular.eot');
    src: url('../fonts/ECSquareSansPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ECSquareSansPro-Regular.woff2') format('woff2'),
        url('../fonts/ECSquareSansPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ECSquareSansPro';
    src: url('../fonts/ECSquareSansPro-Bold.eot');
    src: url('../fonts/ECSquareSansPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ECSquareSansPro-Bold.woff2') format('woff2'),
        url('../fonts/ECSquareSansPro-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}



/* BUTTONS */
.btn-block {
    display: block;
    width: 100%;
}

.btn-block .ecl-button__container {
    justify-content: space-between;
}

.ecl-button__container {
    justify-content: space-between;
}

.ecl-button {
    font-family: 'ECSquareSansPro', Arial, sans-serif !important;
    font-weight: 400 !important;

}

.ecl-button--call,
.ecl-button--primary {
    max-width: 299px;
    width: 100%;
}

.ecl-button--primary {
    background: #672394;

}

.ecl-button--primary:hover {
    background: #92cecf;
    color: #fff;
}

.ecl-button--danger {
    background: #c0302d !important;
}

.ecl-button--danger:hover {
    background: #92cecf !important;
    color: #fff;
}

.ecl-button--secondary {
    border-color: #672394;
    color: #672394;
}

.ecl-button--secondary:hover {
    border-color: #92cecf;
    color: #672394;
}

.ecl-button--call,
.ecl-link--cta {
    background: #672394;
    color: #fff;
    font-weight: 400 !important;
}

.ecl-button--call.ecl-button--callorange {
    background: #f8ae21;
}

.ecl-button--call[type="submit"],
.ecl-link--cta[type="submit"] {
    background: #672394;
}

.ecl-button--call:hover,
.ecl-link--cta:hover {
    background: #92cecf;
    color: #fff;
}

.ecl-button--call:hover,
.ecl-link--cta:hover {
    border-color: #92cecf;
}

.ecl-button--ghost {
    color: #672394;
}

.ecl-button--ghost .ecl-button__icon {
    display: inline-block;
    vertical-align: middle;
}

.ecl-button--ghost:hover {
    color: #672394;
    text-decoration: underline;
}

.btn-xl {
    font-size: 1.3rem !important;
}

/* HEADER */

.site-name--bigger {
    font-size: 2.6rem;
}


.ecl-menu__site-name {
    font-weight: 700 !important;
}

/*
.ecl-menu,
.ecl-menu:not(.ecl-menu--forced-mobile) .ecl-menu__list {
    background: #672394;
} */

/* HOMEPAGE */


.ecl-u-type-heading-2,
.ecl-u-type-heading-3,
.ecl-u-type-heading-4,
.ecl-u-type-heading-5,
.ecl-u-type-heading-6 {
    font-family: 'ECSquareSansPro', Arial, sans-serif !important;
    /* color: #672394 !important; */
}

.home-sidebar {
    background: #c2a7d4 !important;
}

.home-sidebar h3 {
    /* color: #F9F8FE !important; */
}

.slick-dots {
    padding: 0;
    text-align: center;
    list-style: none;
    margin: 30px 0 21px;
}

.slick-dots li {
    display: inline-block;
    margin: 0 10px;
}

.slick-dots li button {
    text-indent: -99999px;
    width: 8px;
    padding: 0;
    height: 8px;
    background: #999393;
    border: none;
    border-radius: 50%;
    transition: all ease 0.4s;
}

.slick-dots li.slick-active button {
    background: #00babc;
}

.video-wrapper {
    background: url('../images/video-bg-min.jpg') no-repeat scroll center center transparent;
    background-size: cover;
    margin-right: -30px;
    height: 375px;
}

.video-wrapper .custom-title--1 {
    line-height: 1.4 !important;
}

.youtube-icon {
    width: 85px;
    height: auto;
    display: block;
    margin-top: 39px;
}

.speaker-card {
    max-width: 33.3333%;
    padding: 0 7px;
}

.speaker-card__meta {
    color: #707070;
    font-size: 13px !important;
}

.speaker-card__content {
    padding: 0 20px;
}

.speaker-card__content a {
    text-decoration: none;
}

.speaker-illu {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.speaker-grid * {
    box-sizing: border-box;
}

.speaker-grid {
    margin: 0 -15px;
}

.speaker-grid .speaker-card {
    padding: 0 15px;
    margin-bottom: 30px;
}

.speaker-card__grid {
    border: 1px solid #d7d7d7;
    border-radius: 20px;
    overflow: hidden;
    padding-bottom: 2rem;
}

.speaker-card__grid-desc {
    color: #605f61;
}

.speaker-card__grid .speaker-illu {
    border-radius: 0;
}

.speakers-filter {
    max-width: 31.25rem;
}

.autocomplete-suggestions {
    border: 1px solid #dcd1e5;
    background: #FFF;
    overflow: auto;
    font-family: 'ECSquareSansPro', Arial, sans-serif !important;
}

.autocomplete-suggestion {
    padding: 1rem;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

.autocomplete-suggestion:hover {
    background: #f9f8fe;
}

.autocomplete-selected {
    background: #fff;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #672394;
}

.autocomplete-group {
    padding: 2px 5px;
}

.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

.slick-arrow {
    display: block;
    width: 19px;
    height: 37px;
    text-indent: -9999px;
    border: none;
    position: absolute;
    padding: 0;
    top: 44%;
    z-index: 999999;
    transform: translate(0, -50%);
}

.slick-prev {
    background: url('../images/arrow-left.png') no-repeat scroll center center transparent;
    background-size: 100% auto;
    left: -30px;
}

.slick-next {
    background: url('../images/arrow-right.png') no-repeat scroll center center transparent;
    background-size: 100% auto;
    right: -30px;
}

.home-slider .slick-prev {
    background-image: url('../images/arrow-left-w.png');
    left: 10px;
}

.home-slider .slick-next {
    right: 10px;
    background-image: url('../images/arrow-right-w.png');

}

.home-speakers .slick-arrow {
    top: 37%;
}

.img-wrapper {
    margin-right: -31px;
}

.img-wrapper img {
    height: 100%;
    max-height: 304px;
    width: 100%;
    display: block;
}

.homequote {
    background: url('../images/robot.png') no-repeat scroll bottom left #004494;
    background-size: 16% auto;
    padding: 1rem;
    margin-left: -20px;
}

.homequote-quote-start {
    /* position: absolute;
    top: 30px;
    left: 30px; */
    width: 40px;
}

.homequote-quote-end {
    /* position: absolute;
    bottom: 30px;
    right: 30px; */
    width: 40px;
}

/* PAGES */

.ecl-accordion2__toggle {
    background: #f9f8fe !important;
    /* color: #672394; */
}

.ecl-accordion2__content {
    background: #f9f8fe !important;
}

.ecl-pagination {
    border-color: #999393;
}

.ecl-pagination__link {
    color: #672394;
}

.ecl-pagination__item--current {
    border-color: #f8ae21;
}

/* ABOUT */

.quote-icon {
    padding: 10px;
    box-sizing: border-box;
}

.hubs-slider__illu {
    max-height: 274px;
    width: 100%;
    padding: 0 20px;
}

.hubs-slider .slick-slide {
    display: inline-block;
    vertical-align: middle;
    float: none;
    text-align: center;
}

.hubs-slider .slick-slide img {
    margin: 0 auto;
}

/* FORMS */

label.error {
    box-sizing: border-box;
    color: #da2131;
    display: flex;
    font: normal normal 400 .875rem/1.25rem Arial, sans-serif;
    margin: 0;
    padding: 0;
}

textarea.ecl-text-input--invalid {
    border-color: #da2131;
    box-shadow: none;
}

.ecl-text-input,
.ecl-select,
.ecl-checkbox__box,
.ecl-text-area {
    border: 1px solid #dcd1e5;
}

.ecl-select__icon,
.ecl-select:hover+.ecl-select__icon,
.ecl-select:focus+.ecl-select__icon {
    background: #fde8c1;
}

.ecl-select__icon-shape,
.ecl-checkbox__icon {
    fill: #672394;
}

.ecl-select:hover,
.ecl-radio__input:checked+.ecl-radio__label .ecl-radio__box {
    border-color: #672394;
}

.ecl-checkbox__input:active+.ecl-checkbox__label>.ecl-checkbox__box:not(.ecl-checkbox__box--disabled),
.ecl-checkbox__input:focus+.ecl-checkbox__label>.ecl-checkbox__box:not(.ecl-checkbox__box--disabled) {
    outline: 2px solid #672394;
}

.ecl-text-input:hover,
.ecl-text-input:focus {
    outline: 1px solid #672394;
}

.ecl-checkbox__input:checked+.ecl-checkbox__label .ecl-checkbox__box {
    background: none;
}

.ecl-checkbox__label {
    align-items: start;
    color: #672394;
}

.ecl-radio__input:active+.ecl-radio__label .ecl-radio__box::before,
.ecl-radio__input:focus+.ecl-radio__label .ecl-radio__box::before {
    top: -4px;
    left: -4px;
    border: none;
}

.custom-search-button {
    background: #fde8c1;
    border-color: #dcd1e5;
    padding: 0.5rem;
    color: #672394;
}

.custom-search-button:hover {
    background: #672394;
    color: #fff;
    cursor: pointer;
}

/* TABLES */

.ecl-table__header {
    background: #f9f8fe;
}

/* CARDS
 */
.ecl-card {
    height: auto;
}

.ecl-card {
    background: #f9f8fe;
}

.ecl-link,
.ecl-link--standalone {
    color: #672394;
}

.ecl-link.ecl-link--cta {
    color: #fff;
}


.ecl-card__description,
.ecl-card__info-label,
.ecl-ordered-list,
.ecl-unordered-list,
.ecl-card__meta,
.ecl-link--standalone,
.ecl-link,
.ecl-u-type-paragraph,
.ecl-u-type-s,
.ecl-u-type-m,
.ecl-accordion2__content,
.ecl-accordion2__toggle,
.ecl-table,
.ecl-timeline2__label,
.program-timing {
    font-family: 'ECSquareSansPro', Arial, sans-serif !important;
}

/* PROGRAM */

.program-timing {
    color: #672394;
}

.program-item__timing {
    font-size: 1.2rem;
}

.program-item__single {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.program-item__single.nomodal {
    cursor: initial;
}

.program-info-modal {
    display: none;
}

.ecl-accordion2__toggle-title {
    text-transform: uppercase;
}

.ecl-accordion2__content {
    background: #fff !important;
    padding: 1rem 2rem .75rem;
}

.ecl-accordion2__toggle[aria-expanded="true"] .ecl-accordion2__toggle-title {
    border: none;
}

.ecl-accordion2__toggle[aria-expanded="true"] .ecl-icon {
    transform: rotate(180deg);
}

.program-title .custom-title--2 {
    font-weight: 700 !important;
    color: #fff;
    line-height: 1 !important;
}

.program-item__single .ecl-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

.program .ecl-accordion2__toggle-title.program-title {
    font-size: 1.75rem;
}

.program--day1>.ecl-accordion2__toggle-title .ecl-accordion2__toggle {
    background: #5c75b0 !important;
}

.program--day1 .program-item__timing {
    color: #5c75b0;
}

.program--day2>.ecl-accordion2__toggle-title .ecl-accordion2__toggle {
    background: #c21166 !important;
}

.program--day2 .program-item__timing {
    color: #c21166;
}

.program--day3>.ecl-accordion2__toggle-title .ecl-accordion2__toggle {
    background: #8b3e1b !important;
}

.program--day3 .program-item__timing {
    color: #8b3e1b;
}

.timeline-card {
    margin-bottom: 8px;
}

.ecl-timeline2__title {
    /* color: #672394; */
}

.ecl-timeline2__content {
    color: #2b2b2b;
}

.ecl-timeline2__item::before {
    border-color: #c2a7d4;
}


.ecl-timeline2__item::after {
    border-color: #92cecf;
}

.ecl-timeline2__item:hover::after {
    background: #92cecf;
}

.ecl-timeline2__label {
    font-size: 1rem;
    /* color: #672394; */
}


/* POLICY */

.conf-grid__col {
    width: 25%;
}

.conf-grid__illu {
    max-width: 180px;
    padding: 2rem 1rem;
    width: 100%;
}

.conf-grid__item {
    background: #672394;
    border: 3px solid #fff;
    position: relative;
    transition: all linear 0.1s;
    transform: scale(1);
}

.conf-grid__item:hover {
    transform: scale(1.1);
    z-index: 99;
}

.conf-grid__item a {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
}

.conf-mission-general {
    background: #f2ab33;
}

.conf-policy {
    background: #83a0cb;
}

.conf-green-deal {
    background: #9aca3c;
}

.conf-he {
    background: #384283;
}

.conf-eic {
    background: #e68e27;
}

.conf-plenary {
    background: #580b8f;
}

.conf-eit {
    background: #bc1166;
}

.conf-smart {
    background: #ba302d;
}

.conf-digitalage {
    background: #999493;
}

.conf-international {
    background: #d76754;
}

.conf-erc {
    background: #616161;
}

.conf-number {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-weight: bold;
    font-family: 'ECSquareSansPro', Arial, sans-serif !important;
    font-size: 1.6rem;
}

/* UTILITIES */

.font-weight--normal {
    font-weight: 400 !important;
}

.ecl-hero-banner {
    max-height: 825px;
    height: 33.333333vw;
    min-height: auto;
}

.hidden-xs {
    display: block !important;
}

.visible-xs {
    display: none !important;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.bg--lightmain {
    background: #f9f8fe;
}

.bg--main {
    background: #672394;
}

.custom-color--magenta {
    color: #672394;
}

.custom-color--magenta a {
    color: #672394;
    text-decoration: none;
}

.custom-color--blue {
    color: #50b8bb;
}

.custom-color--orange {
    color: #ffbd2d;
}

.custom-color--grey {
    color: #626160;
}

.custom-color--black {
    color: #000 !important;
}

.custom-color--red {
    color: #ae2424;
}

.row-nogutters {
    margin: 0;
}

.row-nogutters div[class^="ecl-col"] {
    padding: 0;
}

.text-background {
    background: #fff;
}

.timeline-highlight {
    /* color: #92cecf; */
}

.ecl-u-type-heading-4.timeline-title {
    color: #fff !important;
}

.custom-box {
    position: relative;
}

.custom-box * {
    box-sizing: border-box;
}

.custom-triangle::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 19px 0 19px;
    border-color: #ffffff transparent transparent transparent;
    position: absolute;
    z-index: 1;
    top: 0;
}

.custom-triangle-grey::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 19px 0 19px;
    border-color: #F5F5F5 transparent transparent transparent;
    position: absolute;
    z-index: 1;
    top: 0;
}

.custom-triangle--left::before {
    left: 40px;
}

.custom-triangle--right::before {
    right: 40px;
}

.custom-box p {
    max-width: none !important;
}

.bg-custom--white {
    background: #ffffff;
}

.bg-custom--light {
    background: #f5f5f5;
}

.bg-custom--dark {
    background: #004494;
}

.bg-custom--orange {
    background: #f8ae21;
}

.bg-custom--blue {
    background: #50b8bb;
}

.bg-custom--gold {
    background: #8a7f50 !important;
}

.bg-color--red {
    background: #ae2424;
}

.custom-title--1 {
    font-weight: 700 !important;
    font-size: 42px !important;
    line-height: 1 !important;
}

.custom-title--2 {
    font-weight: 400 !important;
}

.about-block .custom-title--2 {
    font-size: 2.5rem !important;
    line-height: 0.9 !important;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive .embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.font-weight-normal {
    font-weight: 400 !important;
}

/* twitter feed */

.twitterfeed {
    max-height: 250px;
    overflow-y: scroll;
}

.twitterfeed-list {
    font-family: 'ECSquareSansPro', Arial, sans-serif !important;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #F5F5F5;
    padding: 15px;
}

.twitterfeed-item {
    margin-bottom: 20px;
}

.tweet-userlink {
    display: block;
}

.tweet-header {
    border-bottom: 2px solid #F5F5F5;
    padding-bottom: 3px;
}

.tweet-header a {
    color: #580b8f;
    text-decoration: none;
}

.tweet-header .tweet-userlink {
    color: #999493;
}

.tweet-content {
    padding: 10px;
}

.tweet-content img {
    display: block;
    width: 100%;
    height: auto;
    margin: 10px 0;
}

/* RESPONSIVE */

@media (max-width: 1140px) {
    .img-wrapper img {
        max-height: 262px;
    }
}

@media (max-width:996px) {
    .hidden-xs {
        display: none !important;
    }

    .visible-xs {
        display: block !important;
    }

    .ecl-button.visible-xs {
        display: inline-block !important;
    }

    .btn-register {
        font-size: 0.9rem;
        padding: 0.3rem 1rem;
    }

    .img-wrapper img {
        max-height: 196px;
    }

    .quote-icon {
        padding: 0;
    }

    .homequote-quote-start {
        width: 40px;
    }

    .homequote-quote-end {
        width: 40px;
    }
}

@media (max-width: 768px) {
    .video-wrapper {
        margin: 0;
        height: 160px;
    }

    .img-wrapper {
        flex-direction: column;
        margin: 0;
    }

    .mobile-flex1 {
        flex: 1;
    }

    .img-wrapper img {
        max-width: 100%;
        max-height: none;
    }

    .speaker-grid .speaker-card {
        max-width: 50%;
    }

    .homequote {
        min-height: 200px;
        margin: 0;
    }

    .conf-grid {
        flex-wrap: wrap;
    }

    .conf-grid__col {
        width: 100%;
    }
}

@media(max-width: 768px) {
    .mobile-order-1 {
        order: 1;
    }
    .mobile-order-2 {
        order: 2;
    }
    .mobile-order-3 {
        order: 3;
    }
}

@media (max-width: 480px) {
    .speaker-grid .speaker-card {
        max-width: 100%;
    }
}

.hubs-slider .slick-prev {
    left: -15px;
}

.hubs-slider .slick-next {
    right: -15px;
}

@media (max-width: 768px) {
    .ecl-accordion2__content {
        padding: 1rem 0.5rem .75rem;
    }
}

#tooltip {
    position: absolute;
    background: #672394;
    color: #ffffff;
    padding: 8px;
    z-index: 999;
    font-family: 'ECSquareSansPro', Arial, sans-serif !important;
    max-width: 215px;
}

.tooltip {
    cursor: pointer;
}
