@import "dialogList__icons.css";

.dialogs,
.dialogOverlay {
    display: none;
}

.dialogIsOpen .dialogs {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
}

.dialogIsOpen .dialogOverlay {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 101;
}

.dialogWrapper__inner {
    height: 100%;
}

.dialog {
    position: relative;
    display: flex;
    align-self: center;
    width: calc(100% - 2em);
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: "AlwynNewRounded-Regular", Tahoma, Geneva, sans-serif;
    background-color: #fff;
    border-top: 6px solid #072e65;
    box-sizing: border-box;
}

.dialog__numberWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 80px;
    width: 80px;
    top: -40px;
    left: 20px;
    color: #fff;
    text-align: center;
    background-color: #15af97;
    background-image: radial-gradient(ellipse at top left, #8fba1c 0%, #00a7eb 110px);
    border-radius: 50%;
    z-index: 1;
}

.dialog__number {
    font-family: 'Proxima Nova', Tahoma, Geneva, sans-serif;
    font-size: 3rem;
    line-height: 5.375rem;
}

.dialog__number:before {
    position: absolute;
    left: 0;
    width: 25px;
    height: 25px;
    font-family: "AlwynNewRounded-Regular", Tahoma, Geneva, sans-serif;
    font-weight: 700;
    font-size: 0.6875rem;
    line-height: 1.5625rem;
    content: 'Nr';
    border-radius: 50%;
    background-color: #072e65;
}

.dialog__title {
    color: #1f2e61;
    font-weight: 600;
}

.dialog__textWrapper {
    width: 100%;
    padding: 3.4em 1.3em 2.2em 1.3em;
    box-sizing: border-box;
}

.body--singleSiteCU .dialog__description ul {
    list-style: none;
    margin-left: 0;
}

.body--singleSiteCU .dialog__description ul li:before {
    left: 0;
    top: 0.3em;
    width: 1em;
    margin-right: .2em;
    margin-left: .2em;
    display: inline-block;
    content: '\002b';
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    text-decoration: inherit;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #408BC2;
}

.dialog__metaWrapper {
    margin-top: 3em;
    padding-right: 3.15em;
}

.dialog__meta {
    display: inline-block;
    color: #15af97;
}

.dialog__meta:before {
    display: inline-block;
    content: '';
    width: 12px;
    height: 14px;
    margin: -3px .5em 0 0;
    vertical-align: middle;
    background-size: 100%;
}

.dialog__meta--label:before {
    width: 14px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.dialog__meta--date:before {
    background: url("../img/date.svg") no-repeat center;
}

.dialog__meta--author:before {
    background: url("../img/person.svg") no-repeat center;
}

.dialog__meta:not(.dialog__meta:last-child):after {
    display: inline-block;
    width: 1px;
    height: 14px;
    margin: 0 1em;
    vertical-align: middle;
    content: '';
    background-color: rgba(21, 175, 151, 0.2);
}

.dialogs__close {
    position: absolute;
    top: 2.5%;
    right: 2.5%;
    height: 32px;
    width: 32px;
    border: none;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.dialogs__close:hover {
    background-color: transparent;
}

.dialogs__close:before,
.dialogs__close:after {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    height: 2px;
    width: 32px;
    background-color: #00a7eb;
    border-radius: 16px;
    transition: all 0.3s ease-in-out;
}

.dialogs__close::before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.dialogs__close::after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.dialogs__close:hover::before,
.dialogs__close:hover::after {
    background-color: #00a7eb;
}

.dialog__bottom {
    margin-top: 2em;
}

.dialog__shareWrapper {
    display: flex;
    align-items: center;
}

.dialog__shareTitle {
    margin-right: .8em;
    line-height: 1;
    color: #15af97;
}

.dialog__shareList {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dialog__shareItem + .dialog__shareItem {
    margin-left: .8em;
}

.dialog__shareButton {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    transition: all 0.3s ease-in-out;
}

.dialog__shareButton:hover {
    text-decoration: none;
    background-color: #00a7eb;
}

.dialog__shareButton:hover:before {
    color: #fff;
}

.dialog__shareButton--mail:after {
    display: inline-block;
    content: '';
    width: 16px;
    height: 16px;
    vertical-align: middle;
    background-size: 100%;
    background: url("../img/mail.svg") no-repeat center;
}

.dialog__shareButton--mail:hover::after {
    background: url("../img/mail--white.svg") no-repeat center;
}

.dialog__shareText {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(1px, 1px, 1px, 1px);
    font-size: 1px;
}

.dialog__infoLink,
.dialog__memberLink {
    position: relative;
    display: inline-block;
    margin-top: 1.5em;
    padding: .95em 3.4em .75em 1.2em;
    color: #fff;
    border: 2px solid transparent;
    border-radius: 30px;
    box-shadow: 0 0 11px 0 rgba(0, 0, 0, 0.16);
    background-color: #00a7eb;
    transition: all 0.3s ease-out;
}

.dialog__memberLink:hover {
    color: #00a7eb;
    background-color: #fff;
    text-decoration: none;
}

.dialog__infoLink:before,
.dialog__infoLink:after,
.dialog__memberLink:before,
.dialog__memberLink:after {
    position: absolute;
    top: 50%;
    right: 1.2em;
    bottom: auto;
    width: 22px;
    height: 22px;
    content: '';
    transform: translateY(-11px);
    border-radius: 50%;
    background: #fff;
}

.dialog__infoLink:after,
.dialog__memberLink:after {
    background: url("../../../img/arrowRight--blue.svg") no-repeat center;
    background-size: 10px;
    z-index: 1;
}

.dialog__memberLink:hover::before {
    background: #00a7eb;
}

.dialog__infoLink:hover::after,
.dialog__memberLink:hover::after {
    background: url("../../../img/arrowRight--white.svg") no-repeat center;
}

.dialog__infoLink {
    margin-top: 0;
}

.dialog__infoLink:hover {
    color: #fff;
    text-decoration: none;
    background-color: #0095d2;
}

.dialog__infoLink:hover::before {
    background-color: #0095d2;
}

/*
 * Overwrite tiny-slider styles
 **/

#tns1-mw {
    padding-top: 5em;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.tns-controls {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 2em);
    max-width: 1200px;
    margin: 0 auto 1em;
}

.tns-controls button[data-controls='prev'],
.tns-controls button[data-controls='next'] {
    display: block;
    width: 50px;
    height: 50px;
    margin-top: 1em;
    padding: 0;
    border-radius: 100%;
    text-indent: -9999em;
    background-color: #fff;
}

.tns-controls button[data-controls='prev']:before,
.tns-controls button[data-controls='next']:before {
    display: block;
    width: 50px;
    height: 50px;
    content: '';
    text-indent: 0;
    background-image: url("../../../img/arrowRight--blue.svg");
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
}

.tns-controls button[data-controls='prev']:before {
    transform: rotate(-180deg);
}

.tns-controls button[data-controls='prev']:hover,
.tns-controls button[data-controls='next']:hover {
    background-color: #00a7eb;
}

.tns-controls button[data-controls='prev']:hover::before,
.tns-controls button[data-controls='next']:hover::before {
    background-image: url("../../../img/arrowRight--white.svg");
}

.tns-controls button:disabled {
    pointer-events: none;
    background-color: #c3c3c3;
}

.tns-controls button:disabled::before {
    background-image: url("../../../img/arrowRight--disabled.svg");
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
}

@media (min-width: 768px) {
    .tns-outer {
        height: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .dialogs__close:before,
    .dialogs__close:after {
        background-color: #fff;
    }

    .dialog__numberWrapper {
        left: 40px;
    }

    .dialog__textWrapper {
        padding: 3.4em 3.15em 2.2em 3.15em;
    }

    .dialog__memberLink {
        margin-top: 0;
    }

    .dialog__shareWrapper {
        margin-right: 1.5em;
    }

    .dialog__bottom {
        display: flex;
        align-items: center;
    }

    #tns1-mw {
        padding-top: 2.5em;
    }
}

@media (min-width: 1024px) {
    .dialogsWrapper {
        display: flex;
    }

    .dialog__textWrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .dialog__description {
        flex-grow: 1;
    }

    .dialog__imageWrapper {
        position: relative;
        min-width: 400px;
    }

    .dialog__imageWrapper:after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: -2px;
        content: "";
        background: url("../img/dialog.svg") no-repeat top left;
        background-size: auto 101%;
    }

    .dialog__bottom {
        position: absolute;
        right: 3.15em;
        bottom: 1.3em;
        z-index: 1;
    }

    .dialog__memberLink {
        border: 2px solid #fff;
        background-color: transparent;
    }
}
