*,
*::after,
*::before {
    box-sizing: border-box;
}

/* Buttons */

.btn {
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: none;
    background: none;
}

.btn:focus {
    outline: none;
}

.btn--search {
    font-size: 1.5em;
}

.btn--hidden {
    pointer-events: none;
    opacity: 0;
}

/* Reset Search Input */

.search__input {
    border: 0;
    background: transparent;
    border-radius: 0;
    -webkit-appearance: none;
}

.search__input:focus {
    outline: none;
}

/* Links */

a,
.btn {
    text-decoration: none;
    color: #d17c78;
    outline: none;
}

.hidden {
    position: absolute;
    overflow: hidden;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Icons */

.icon {
    display: block;
    width: 1.5em;
    height: 1.5em;
    margin: 0 auto;
    fill: #fff;
}

/* Header */

.codrops-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding: 2.5em 2.75em 2.5em 1.5em;
    text-align: left;
}

.codrops-header__title {
    font-size: 1em;
    margin: 0;
    padding: 0 0.75em;
}

.codrops-header__side,
.search-wrap {
    margin: 0 0 0 auto;
}

/* Bottom nav */

.bottom-nav {
    position: relative;
    width: 100%;
    margin: auto 0 0 0;
    padding: 2.5em 2.75em 2.5em 2em;
}

/* Demo links */

.codrops-demos {
    font-weight: bold;
    padding: 1.25em 0;
    text-align: right;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.codrops-demos span {
    display: inline-block;
    margin: 0 1em 0 0;
    vertical-align: bottom;
}

.codrops-demos a {
    position: relative;
    display: inline-block;
    margin: 0 0.1em;
    padding: 0 0.4em;
}

.codrops-demos a.current-demo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.25em;
    height: 2.25em;
    margin: -1.125em 0 0 -1.125em;
    border: 2px solid;
    border-radius: 50%;
}

/* Top Navigation Style */

.codrops-links {
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.codrops-links::after {
    content: "";
    position: absolute;
    top: 15%;
    left: 50%;
    width: 2px;
    height: 70%;
    opacity: 0.1;
    background: currentColor;
    transform: rotate3d(0, 0, 1, 22.5deg);
}

.codrops-icon {
    display: inline-block;
    margin: 0.5em;
    padding: 0.5em;
}

/* Deco lines */

.decolines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
}

.decoline {
    position: absolute;
    width: 1px;
    height: 100%;
    background: #ddd;
}

.decoline:first-child {
    right: 88em;
}

.decoline:nth-child(2) {
    right: 68em;
}

.decoline:nth-child(3) {
    right: 48em;
}

.decoline:nth-child(4) {
    right: 28em;
}

.decoline:nth-child(5) {
    right: 8em;
}

.demo-5 {
    color: #cecae0;
    background-color: #7d7d7d;
}

.demo-5 main {
    background-color: transparent;
    background-image: url(../img/bg_2.svg);
}

.demo-5 a,
.demo-5 .btn {
    color: #eaba82;
}

@media screen and (max-width: 40em) {
    .codrops-header {
        display: block;
        padding: 4em 1em 0;
        text-align: center;
    }
    .codrops-header__side {
        margin: 0 auto;
    }
    .codrops-links {
        font-size: 0.85em;
        margin: 0 auto;
    }
    .search-wrap {
        font-size: 0.85em;
        position: absolute;
        top: 2.15em;
        right: 2em;
    }
    .bottom-nav {
        padding: 0.5em;
    }
    .codrops-demos {
        text-align: center;
    }
    .codrops-demos a {
        margin-bottom: 1em;
    }
    .codrops-demos span {
        display: block;
        margin: 0 auto 1em;
        text-align: center;
    }
}

/* Layout for search container */

.search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.js .search {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.js .search::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.btn--search-close {
    font-size: 2em;
    position: absolute;
    top: 1.25em;
    right: 1.25em;
    display: none;
}

.js .btn--search-close {
    display: block;
}

.search__form {
    margin: 5em 0;
    width: 100%;
}

.search .search__form .search__input {
    font-family: inherit;
    font-size: 2em;
    line-height: 1;
    display: inline-block;
    box-sizing: border-box;
    width: 75%;
    padding: 0.2em 0;
    color: #fff;
    border: 0;
    border-bottom: 5px solid;
}

.search__input::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #4a319e;
}

.search__input::-moz-placeholder {
    opacity: 1;
    /* Mozilla Firefox 19+ */
    color: #4a319e;
}

.search__input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #4a319e;
}

.search__input::-webkit-search-cancel-button,
.search__input::-webkit-search-decoration {
    -webkit-appearance: none;
}

.search__input::-ms-clear {
    display: none;
}

.search__info {
    font-size: 90%;
    font-weight: bold;
    display: block;
    width: 75%;
    margin: 0 auto;
    padding: 0.85em 0;
    text-align: right;
    color: #fff;
}

.search__related {
    display: flex;
    width: 75%;
    text-align: left;
    pointer-events: none;
}

.search__suggestion {
    width: 50%;
}

.search__suggestion:first-child {
    padding: 0 2em 0 0;
}

.search__suggestion:last-child {
    padding: 0 0 0 2em;
}

.search__suggestion h3 {
    font-size: 1.35em;
    margin: 0;
}

.search__suggestion h3::before {
    content: "\21FE";
    display: inline-block;
    padding: 0 0.5em 0 0;
}

.search__suggestion p {
    font-size: 1.15em;
    line-height: 1.4;
    margin: 0.75em 0 0 0;
}

/************************/

/* Transitions 			*/

/************************/

.js .main-wrap.main-wrap--move {
    position: relative;
    margin-bottom: 278px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: #22295f;
    background-repeat: no-repeat;
    background-position: 50% 10em;
    background-size: 75% auto;
    transition: all 0.5s;
}

.js .main-wrap--move {
    transform: scale3d(0.7, 0.7, 1);
}

.js .main-wrap.main-wrap--move + .footer.footer-margin-top {
    position: static;
}

.js .main-wrap--move .btn--search {
    pointer-events: none;
    opacity: 0;
}

.js .search {
    pointer-events: none;
}

.js .search--open {
    pointer-events: auto;
}

.js .search::before {
    opacity: 0;
    transition: opacity 0.5s;
}

.js .search--open::before {
    opacity: 1;
}

/* Close button */

.btn--search-close {
    opacity: 0;
    transition: opacity 0.5s;
}

.search--open .btn--search-close {
    opacity: 1;
}

/* Search form with input and description */

.search__suggestion,
.search__info {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    transition: opacity 0.4s, transform 0.4s;
}

.search--open .search__suggestion,
.search--open .search__info {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.search--open .search__suggestion:first-child {
    transition-delay: 0.15s;
}

.search--open .search__suggestion:nth-child(2) {
    transition-delay: 0.2s;
}

.js .search__input {
    transform: scale3d(0, 1, 1);
    transform-origin: 0% 50%;
    transition: transform 0.3s;
}

.js .search--open .search__input {
    transform: scale3d(1, 1, 1);
    transition-duration: 0.5s;
}

@media screen and (max-width: 40em) {
    .btn--search-close {
        font-size: 1.25em;
    }
    .search__suggestion {
        font-size: 80%;
        width: 100%;
    }
    .search__suggestion:nth-child(2),
    .search__suggestion:nth-child(3) {
        display: none;
    }
}

/*  */

.login-modal-content {
    padding: 52px 77px 81px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    width: 835px;
}

.login-modal-content h2 {
    line-height: 41px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.download-modal .input-group {
    display: flex;
    position: relative;
    flex-direction: column;
}

.download-modal .step-1 .col-lg-6:first-of-type {
    position: relative;
    border-right: 1px solid #707070;
    padding: 22px 50px 22px 15px;
}

.download-modal .step-1 .row {
    display: flex;
    align-items: stretch;
}

.download-modal .login-form-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.download-modal .login-form-controls label {
    font-weight: 400;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
}

.download-modal .login-form-controls button {
    height: 44px;
    width: 109px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 0;
    border-radius: 3px;
    border: none;
}

.download-modal div.nsl-container.nsl-container-block .nsl-container-buttons {
    width: 100%;
}

.download-modal .step-1 .col-lg-6:first-of-type:after {
    /* content: "OR"; */
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(50%);
    background: #fff;
    padding: 10px 0;
}

.download-modal .input-group:not(:first-of-type) {
    margin-top: 20px;
}

.download-modal .input-group input {
    background: #f6f6f6;
    border: 1px solid #c9c9c9;
    height: 40px;
    border-radius: 0;
    padding: 10px 8px;
}

.download-modal input,
.download-modal select {
    background: #f6f6f6;
    border: 1px solid #c9c9c9;
    height: 40px;
    border-radius: 0 !important;
    padding: 10px 8px !important;
}

.download-modal label {
    /*display: block;*/
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 8px;
}

.download-modal #user-exists-message {
    padding: 8px 12px;
    background: #77ffc9;
    margin-top: 10px;
}

.download-modal .form-progress .progress-bar {
    height: 1px;
    background: #707070;
    width: 100%;
    position: relative;
}

.download-modal .form-progress .progress-bar:before {
    content: "";
    border-radius: 10px;
    background: #0066cc;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
}

.download-modal .step-2 .form-progress .progress-bar:before {
    width: 50%;
}

.download-modal .step-3 .form-progress .progress-bar:before {
    width: 100%;
}

.download-modal .form-progress .progress-bar:before {
    content: "";
    width: 50%;
    border-radius: 10px;
    background: #0066cc;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
}

.download-modal .form-progress .labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 17px;
}

.download-modal .form-progress .labels span {
    position: relative;
}

.download-modal .form-progress .labels span:after {
    content: "";
    position: absolute;
    height: 16px;
    width: 1px;
    /*top: 0;*/
    bottom: -18px;
    left: 50%;
    background: #707070;
}
.download-modal .form-progress .labels span:before {
    content: "";
    position: absolute;
    height: 6px;
    width: 6px;
    bottom: -21px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 10px;
    z-index: 3;
}

.download-modal .step-2 .form-progress .labels span:last-of-type:before {
    background: #fff;
    width: 7px;
    height: 7px;
    border: 1px solid #0066cc;
    bottom: -21px;
}

.download-modal .newsletters input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.step-2 {
    display: none;
}

.step-2-form .form-row {
    margin-top: 80px;
}

.step-2-form .form-row .column-1 {
    /*display: flex;*/
}

.step-2-form input {
    width: 100%;
}

.step-2-form .form-row .column-1 .form-title {
    flex-basis: 30%;
    display: flex;
    flex-direction: column;
}

.step-2-form .form-row .column-1 .form-name {
    flex-basis: 60%;
    display: flex;
    flex-direction: column;
}

.download-modal .goto-step-3 {
    height: 44px;
    width: 178px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 0;
    border-radius: 3px;
    border: none;
}

.download-modal .step-3 {
    display: none;
}

.explore-more-publications {
    height: 44px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 0 20px;
    border-radius: 3px;
    border: none;
    background: #0066cc;
    margin-top: 41px;
}

/* @media screen and (max-width: 768px)
{
    .download-modal .step-1 .row{
        flex-direction: column;
    }

    .login-modal-content {
        padding: 52px 7px 51px;
        margin: 0 auto;
        position: absolute;
        top: 50%;
        left: 50%;
        background: #fff;
        transform: translate(-50%, -50%);
        width: 100%;
    }

} */

.footer-center-link {
    text-align: center;
	padding-top: 5px;
}
.footer-center-link a {
  color: #7b9fff;
}
