/*
* Startpage
*/

/* Startpage hero */
.startpage-content table {
    display: block;
    padding-bottom: 8%;
    padding-top: 8%;

    background-color: #666;
    background-image: url('/images/design/hero.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    font-size: 24px;
    text-align: center;
}
.startpage-content tbody,
.startpage-content tr,
.startpage-content td {
    display: block;
}
.startpage-content tbody {
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.startpage-content table h1 {
    color: #fff;
    font-size: 50px;
    line-height: 1.2;
}
.startpage-content table p {
    margin-bottom: 0;
}

/* Startpage USPs */
.startpage-content .grid-4 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: 0;
}
.startpage-content .grid-4 .grid-item {
    padding: 2% 4%;

    background: #00a8c8;
    color: #fff;
    text-align: center;
}
.startpage-content .grid-4 .grid-item:nth-of-type(odd) {
    background: #7ec14c;
}
.startpage-content .grid-4 h1,
.startpage-content .grid-4 h2,
.startpage-content .grid-4 h3,
.startpage-content .grid-4 h4,
.startpage-content .grid-4 h5,
.startpage-content .grid-4 h6,
.startpage-content .grid-4 a {
    color: #fff;
}
/* Startpage text */
.startpage-content .grid-1-1 {
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
    margin-left: 0;
    margin-top: 30px;
}
.startpage-content .grid-1-1:last-of-type {
    border-style: none;
}
.startpage-content .grid-1-1 > .grid-item {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 1220px;
    padding-left: 0;
    width: auto;
}
.startpage-content .grid-1-2,
.startpage-content .grid-2-1 {
    margin-left: -65px;
}
.startpage-content .grid-1-2 .grid-item,
.startpage-content .grid-2-1 .grid-item {
    padding-left: 65px;
}
.startpage-content .grid-1-2 .grid-item,
.startpage-content .grid-2-1 .grid-item {
    vertical-align: middle;
}
.startpage-content .grid-1-2 .grid-item-1-3,
.startpage-content .grid-2-1 .grid-item-1-3 {
    width: 38%;
}
.startpage-content .grid-1-2 .grid-item-2-3,
.startpage-content .grid-2-1 .grid-item-2-3 {
    width: 62%;
}


/*
* Activity
*/
.tab-titles {
    margin-bottom: 10px;
}
.tab-title {
    margin-bottom: 5px;
}

/*
* Partner page
*/
.company-cover-image {
    position: relative;

    margin-bottom: 30px;
    padding-bottom: 40%;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.company-cover__text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 18px;
}
.company-cover__text h1 {
    color: #fff;
}
.company-cover__text__inner {
    margin-left: 8%;
    max-width: 400px;
}

.company-content .visual-tab__links {
    border-left: 1px solid #d0d0d0;
    margin-bottom: 30px;
}
.company-content .tab-link {
    border-color: #d0d0d0;
    border-left-style: none;
    padding-left: 40px;
    padding-right: 40px;

    background: #eee;
    color: #666;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}
.company-content .tab-link.active {
    background: #fff;
    color: #00a8c8;
}

.company-content .grid {
    margin-left: -60px;
}
.company-content .grid-item {
    padding-left: 60px;
}
.company-content .card {
    padding: 20px;

    background: #f4f5f7;
}
.company-content .card p {
    margin-bottom: 5px;
}
.company-content .card a {
    color: #333;
    text-decoration: underline;
}
.company-content .card__image {
    margin-bottom: 20px;
    padding: 10px;

    text-align: center;
}

.company-page__back {
    margin-top: 40px;
}
.company-page__back a {
    color: #666;
    font-size: 13px;
}

/*
* Blog
*/

/* Blog Page */
.blogpage__posts {
    border-top:  1px solid #ddd;
}
.blogpage__blog-row {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    padding-top: 15px;
}
.blog-row__body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.blog-image {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;

    -ms-flex-negative: 0;
    flex-shrink: 0;

    margin-bottom: 5px;
    padding-right: 20px;
    width: 270px;
}
.blog-image img {
    display: block;
}
.blog-text {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.blog-publish-date {
    position: relative;

    margin-top: 5px;
    padding-bottom: 5px;
    padding-top: 5px;
}
.blog-button {
    position: absolute;
    top: 0;
    right: 0;
}

/*
* Conference page
*/
.conference-content h1,
.conference-content h2,
.conference-content h3,
.conference-content h4,
.conference-content h5,
.conference-content h6 {
    color: #333;
}
.view-conference .l-menubar {
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;

    background: #00a8c8;
}
.view-conference .site-nav > li > a,
.view-conference .site-nav > li > span {
    color: #fff;
}
.view-conference .site-nav > li:hover > a,
.view-conference .site-nav > li:hover > span {
    background: #00849d;
}
.conference-content {
    position: relative;

    min-height: 80vh;
}
.conference-content:after {
    position: absolute;
    bottom: 0;
    right: 0;
    top: 0;
    z-index: 1;

    width: 30%;

    background: #edf6e1;
    content: "";
}
.conference-content--left {
    display: inline-block;
    padding-bottom: 25px;
    padding-right: 50px;
    padding-top: 25px;
    width: 70%;

    vertical-align: top;
}
.conference-content--left td ul {
    margin-top: 0;
}
.conference-content--right {
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    top: 52px;
    z-index: 2;

    display: inline-block;
    padding: 25px;
    width: 30%;

    background: #edf6e1;
    vertical-align: top;
}
.conference-content--right.overflow {
    overflow-y: auto;
}
.conference-content--right hr {
    border-style: none;
    border-radius: 0 8px 8px 0;
    height: 16px;
    margin-bottom: 30px;
    margin-left: -25px;
    margin-top: 20px;

    background-color: #00a8c8;
    background-image: linear-gradient(to right, #fff, #00a8c8);
}
.conference-content--right hr:nth-of-type(even) {
    background-color: #7ec14c;
    background-image: linear-gradient(to right, #fff, #7ec14c);
}
.view-conference .l-footer-credit {
    border-top: 1px solid #ddd;
    padding-bottom: 6px;
    padding-top: 7px;

    background: #fff;
}
.package-list__item {
    border: 1px solid #ddd;
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 10px;
    min-width: 220px;
    padding: 10px 20px 10px 15px;

    cursor: pointer;
    font-size: 16px;
}
.package-list__item:hover {
    background: #f4f5f6;
}
.package-list__item.selected {
    border-color: #7ec14c;

    background: #7ec14c;
    color: #fff;
}
.package-list__item.disabled {
    border-color: #f4f5f6;

    background: #f4f5f6;
    color: #888;
    cursor: default;
}


/*
* Responsive style
*/

/* Page width & margin (1220px + 30px) */
@media all and (max-width: 1250px) {
    /*
    * Conference page
    */
    .view-conference main {
        margin-right: auto;
    }

    /*
    * Startpage
    */

    /* Startpage hero */
    .startpage-content table {
        font-size: 20px;
    }
    .startpage-content table h1 {
        font-size: 42px;
    }

    /* Startpage text */
    .startpage-content .grid-1-1 > .grid-item {
        margin-left: 15px;
        margin-right: 15px;
    }

    /* Startpage USPs */
    .startpage-content .grid-4 .grid-item {
        padding-left: 3%;
        padding-right: 3%;

        font-size: 14px;
    }
    .startpage-content .grid-4 h3 {
        font-size: 18px;
    }

    /*
    * Partner page
    */
    .company-content .grid-item-2-3 {
        width: 60%;
    }
    .company-content .grid-item-1-3 {
        width: 40%;
    }
}

/* Laptop / horizontal tablet */
@media all and (max-width: 960px) {
    /*
    * Blog Page
    */
    .blog-image {
        padding-right: 15px;
        width: 200px;
    }
    .blog-text {
        font-size: 14px;
    }

    /*
    * Partner page
    */
    .company-content .tab-link {
        padding-left: 20px;
        padding-right: 20px;

        font-size: 15px;
    }

    .company-content .grid-item-2-3 {
        width: 100%;
    }
    .company-content .grid-item-1-3 {
        width: 400px;
    }
}

/* Vertical tablet */
@media all and (max-width: 768px) {
    /*
    * Startpage
    */

    /* Startpage hero */
    .startpage-content table {
        padding-bottom: 10%;
        padding-top: 10%;

        background-image: url('/images/design/hero-small.jpg');
        font-size: 18px;
    }
    .startpage-content table h1 {
        font-size: 34px;
    }

    /* Startpage USPs */
    .startpage-content .grid-4 {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .startpage-content .grid-4 .grid-item {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 50%;
        flex: 1 0 50%;
        margin-bottom: 0;
    }
    .startpage-content .grid-4 .grid-item:nth-of-type(1),
    .startpage-content .grid-4 .grid-item:nth-of-type(4) {
        background: #7ec14c;
    }
    .startpage-content .grid-4 .grid-item:nth-of-type(2),
    .startpage-content .grid-4 .grid-item:nth-of-type(3) {
        background: #00a8c8;
    }

    /* Startpage text */
    .startpage-content .grid-1-2,
    .startpage-content .grid-2-1 {
        margin-left: 0;
    }
    .startpage-content .grid-1-2 .grid-item-1-3,
    .startpage-content .grid-2-1 .grid-item-1-3,
    .startpage-content .grid-2-1 .grid-item-2-3,
    .startpage-content .grid-1-2 .grid-item-2-3 {
        display: block;
        padding-left: 0;
        width: auto;

        text-align: center;
    }

    /*
    * Conference page
    */
    .view-conference main {
        margin-left: auto;
    }
    .view-conference header .l-constrained {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;

        -ms-flex-line-pack: center;
        align-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;

        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;

        height: 75px;
        padding-left: 40px;
    }
    .view-conference .header-image {
        max-height: 65px;
    }
    .view-conference .l-menubar {
        position: fixed;
        bottom: 0;
        left: 0;
        top: 75px;
        z-index: 100;

        background-color: #f4f5f6;
    }
    .view-conference .site-nav > li > a,
    .view-conference .site-nav > li > span {
        color: #00a8c8;
    }
    .view-conference .site-nav > li:hover > a,
    .view-conference .site-nav > li:hover > span {
        background: none;
    }
    .conference-content {
        min-height: 0;
    }
    .conference-content--left {
        display: block;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 15px;
        width: auto;
    }
    .conference-content--right {
        position: relative;
        top: auto;

        display: block;
        padding: 20px 15px;
        width: auto;
    }
    .conference-content:after {
        display: none;
    }
    .conference-content--right hr {
        margin-left: -15px;
    }
    .package-list__item {
        display: block;
        margin-right: 0px;
        min-width: 0;
    }
    .package-list__item__title {
        display: inline-block;
        margin-right: 5px;
        min-width: 50px;
    }

    /*
    * Partner page
    */
    .company-cover-image {
        padding-bottom: 55%;
    }
}

/* Small tablet / Horizontal phone */
@media all and (max-width: 600px) {
    /*
    * Blog Page
    */
    .blog-image {
        padding-right: 10px;
        width: 150px;
    }

    /*
    * Partner page
    */
    .company-cover-image {
        margin-bottom: 20px;
        padding-bottom: 65%;
    }
    .company-cover__text__inner {
        margin-left: 6%;
        margin-right: 6%;
    }
}

/* Phone */
@media all and (max-width: 480px) {
    /*
    * Startpage
    */

    /* Startpage hero */
    .startpage-content table {
        font-size: 16px;
    }
    .startpage-content table h1 {
        font-size: 24px;
    }

    /* Startpage USPs */
    .startpage-content .grid-4 .grid-item {
        padding-bottom: 3%;
        padding-top: 4%;
    }
    .startpage-content .grid-4 h3 {
        margin-bottom: 5px;

        font-size: 16px;
    }

    /*
    * Blog Page
    */
    .blog-row__body {
        display: block;
    }
    .blog-image {
        margin-bottom: 5px;
        padding-right: 0px;
    }

    /*
    * Conference page
    */
    .view-conference header .l-constrained {
        height: 65px;
    }
    .view-conference .header-image {
        max-height: 55px;
    }
    .view-conference .l-menubar {
        top: 65px;
    }
    .conference-content h1,
    .conference-content h1 span {
        font-size: 20px !important;
    }
    .conference-content h2,
    .conference-content h2 span {
        font-size: 16px !important;
    }
    .conference-content h3,
    .conference-content h3 span {
        font-size: 14px !important;
    }
    .conference-content h1 br,
    .conference-content h2 br,
    .conference-content h3 br {
        display: none;
    }

    /*
    * Partner page
    */
    .company-cover__text {
        font-size: 14px;
    }
    .company-cover__text h1 {
        font-size: 20px;
    }

    .company-content .grid {
        margin-left: 0;
    }
    .company-content .grid-item-2-3,
    .company-content .grid-item-1-3 {
        padding-left: 0;
        width: 100%;
    }
    .company-content .visual-tab__links {
        border-top: 1px solid #d0d0d0;
        display: block;
        margin-bottom: 20px;
    }
    .company-content .tab-link {
        border-top-style: none;
        display: block;

        text-align: center;
    }
}

.alert {
    background: #eee;
}

.alert.alert--info {
    background: #fbfbd1;
}

.alert .alert__content {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 0;
}

.company-page .address-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-end;
}

.company-page .address-list > .address + .address {
    margin-left: 5%;
}
