body {
    display: block;
    margin: 0;
}


@font-face {
    font-family: "Volte Semibold";
    src: url("font/volte_semibold.otf"),
}

@font-face {
    font-family: "Volte";
    src: url("font/volte.otf"),
}

@font-face {
    font-family: "Volte Medium";
    src: url("font/volte_medium.otf"),
}

@font-face {
    font-family: "Volte Bold";
    src: url("font/volte_bold.otf"),
}

@font-face {
    font-family: "Myriad Pro";
    src: url("font/myriadpro.otf"),
}

a:-webkit-any-link {
    cursor: pointer;
    text-decoration: none;

}

a {
    text-decoration: none;
}

/*******************************************************************************/
/*********************************HEADER****************************************/
/*******************************************************************************/

#site-header {
    width: 320px;
    -webkit-box-shadow: 6px 0 6px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 6px 0 6px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 6px 0 6px 0 rgba(0, 0, 0, 0.3);
    padding: 0;
    height: 100vh;
    box-sizing: border-box;
    position: fixed;
    left: 0;
    top: 0;
    background: white;
    margin-bottom: 40px;
}

/*** LOGO ***/

#main-logo {
    overflow: hidden;
    text-align: center;
    margin: 24px auto 57px auto;
}

#main-logo a:hover {
    opacity: 0.8;
}


@media screen and (max-height: 600px) and (min-width: 992px) {


    #main-logo {
        margin: 24px auto 10px auto;
    }

}

@media screen and (max-width: 992px) {


    #main-logo {
        margin: 0;
    }

    #main-logo a {
        float: left;
        margin: 20px 18px;
    }

    #main-logo a img {
        width: 200px;
    }

}


/*** MENU ***/

#main-navigation #top-menu {
    list-style: none;
    padding: 0;
}

#main-navigation #top-menu > li {
    background: white;

}

#main-navigation #top-menu > li:hover {
    background-image: linear-gradient(to right, #bf1a73, #ef2f37);

}


#main-navigation #top-menu > li a {
    color: #566380 !important;
    padding: 20px 0 20px 40px;
    font: 20px "Volte Medium", sans-serif;
    display: block;
    text-decoration: none;
}


#main-navigation #top-menu > li:hover a {
    color: white !important;
}

#main-navigation .current {
    background-image: linear-gradient(to right, #bf1a73, #ef2f37);
}

#main-navigation #top-menu > li.current a {
    color: white;

}

@media screen and (max-width: 1280px) {

    #main-navigation #top-menu > li a {
        padding: 18px 0 18px 40px;
    }

}

/*** MENU MOBILE ***/


#menu-mobile {
    display: none;
}


@media screen and (max-width: 992px) , screen and (max-height: 600px) {

    #right-menu {
        background: url(../img/menu-mobile.png) center no-repeat;
        width: 22px;
        height: 16px;
        font-size: 0;
        position: absolute;
        top: 34px;
        right: 20px;
        cursor: pointer;
        z-index: 9;
    }

    #site-header {
        width: 100%;
        padding: 0;
        height: auto;
        -webkit-box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.3);
        box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.3);
    }

    .main-content {
        margin: 130px 0 0 0 !important;
    }

    #top-menu-nav {
        display: none;
    }

    .box {
        position: fixed;
        top: 0;
        left: unset;
        margin-left: 0;
        width: 100%;
        height: 630px;
        background: transparent;
        z-index: 999999;
        padding: 0;
        display: none;
    }

    .backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        opacity: .0;
        filter: alpha(opacity=0);
        z-index: 888;
        display: none;
    }

    .closeX {
        position: absolute;
        top: 30px;
        right: 12px;
        height: 40px;
        width: 40px;
        text-align: center;
        cursor: pointer;
        transition: .2s ease-out;
        z-index: 999;
        opacity: 1;
        text-shadow: 0 0 0;
        -webkit-transition: .2s ease-out;
        -moz-transition: .2s ease-out;
        -ms-transition: .2s ease-out;
        -o-transition: .2s ease-out;
        transition: .2s ease-out;
        font-size: 0;
        margin: 0 auto;
    }

    .closeX:hover, .closeX:active {
        opacity: 0.8;
    }

    #menu-mobile ul {
        list-style: none;
        margin: 140px 0 0 0;
        padding: 0;
    }

    #menu-mobile ul li {
        text-align: center;
    }

    #menu-mobile ul li a {
        color: #566380;
        font: 20px "Volte Medium", sans-serif;
        padding: 13px 0;
        width: 100%;
        display: block;
    }

    #menu-mobile ul li:hover, #menu-mobile ul li:active {
        background-image: linear-gradient(to right, #bf1a73, #ef2f37);
    }

    #menu-mobile ul li:hover a, #menu-mobile ul li:active a {
        color: white;
    }

    #menu-mobile #main-logo {
        position: absolute;
        top: 20px;
        left: 18px;

    }

    #menu-mobile #main-logo a {
        float: unset;
        margin: 24px auto;
    }
}


/*** SOCIAL NETWORKS ***/

div.social {
    margin: 10px 20px 10px 50px;
    padding: 0 0 0 10px ;
    float: right;

    a {
        color: none;
    }

}


/*******************************************************************************/
/***********************************MAIN****************************************/
/*******************************************************************************/


.main-content {
    margin: 200px 0 0 320px;
}

.wrapper {
    margin: 0 100px 0 100px;
    max-width: 1280px;
    overflow: hidden;
}

h1 {
    font: 60px/60px "Myriad Pro", sans-serif;
    color: #232323;
    text-transform: uppercase;
    margin-top: 0;

}

h1:after {
    content: "";
    width: 60px;
    height: 8px;
    border-radius: 4px;
    background: #f02f36;
    margin-top: 25px;
    display: block;
}

p {
    color: #566380;
    font: 16px/30px "Volte Medium", sans-serif;
    text-align: justify;
    margin: 0.5em 0 0.5em 0;
}

.flex-row {
    display: flex;
    justify-content: space-between;
}

.flex-row > div {
    max-width: 470px;
}

@media screen and (max-width: 1400px) {

    .wrapper {
        margin-left: 50px !important;
        margin-right: 60px !important;
    }

}

@media screen and (max-width: 1280px) {

    .main-content {
        margin: 140px 0 0 320px;
    }

}


@media screen and (max-width: 992px) {

    .main-content {
        margin: 0 0 0 0;
    }

    .wrapper {
        width: 100% !important;
        max-width: unset !important;
        float: unset !important;
        margin: 0 !important;
    }

    .flex-row {
        flex-direction: column;
        margin-bottom: 0 !important;
    }

    .flex-row div {
        width: 100%;
        max-width: unset;
        margin-bottom: 40px;
    }

}

@media screen and (max-width: 768px) {

    h1 {
        font: 42px "Myriad Pro", sans-serif;
        color: #232323;
        text-transform: uppercase;

    }

}

h2 {
    font: 24px/30px "Volte Medium", sans-serif;
    color: #f02f36;
    margin: 2em 0 0 0;
}


/*******************************************************************************/
/*********************************FOOTER****************************************/
/*******************************************************************************/


footer {
    position: fixed;
    bottom: 30px;
    left: 40px;
}

footer p, footer a {
    color: #bbc4ce;
    font: 12px "Volte Medium", sans-serif;
}

footer a:hover {
    color: #232323;
}

@media screen and (max-width: 1280px) {

    footer {
        bottom: 20px;
    }
}


@media screen and (max-width: 992px) , screen and (max-height: 600px) {

    footer {
        position: relative;
        bottom: unset;
        left: unset;
        width: 100%;
        margin-top: 30px;
        padding: 15px 0;
    }


    footer p, footer a {
        text-align: center;
    }


}


/*******************************************************************************/
/*********************************HOMEPAGE**************************************/
/*******************************************************************************/

#encryption-europe_home {
    background: url('../img/index-bg.png') top 0 right -240px no-repeat;
}

#encryption-europe_home .main-content {
    overflow: hidden;
}

#encryption-europe_home .wrapper {
    margin-right: 0;
}

#encryption-europe_home .presentation {
    max-width: 500px;
    float: left;
}

#encryption-europe_home .members {
    float: right;
    margin-right: 120px;
    margin-right: 20px;
}


.members h2 {
    font: 24px/30px "Volte Medium", sans-serif;
    color: white;
    padding-left: 26px;
    margin-top: 100px;
}


.member-row {
    border-collapse: separate;
    border-spacing: 36px 16px;
}

.member-box {
    background: white;
    border-radius: 18px;
    width: 176px;
    height: 93px;
    margin: 20px;
    vertical-align: middle;
    display: inline-flex;
    text-align: center;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.member-box-last {
    float: right;
}

.member-box img {
    max-width: 170px;
    max-height: 85px;
}

@media screen and (max-width: 1800px) {

    #encryption-europe_home {
        background: url(../img/index-bg.png) top -20px right -446px no-repeat;
    }

}


@media screen and (max-width: 1500px) {


    #encryption-europe_home {
        background: url(../img/index-bg.png) top -50px right -590px no-repeat;
    }

    .member-row {
        border-spacing: 22px 10px;
    }

    .members h2 {
        margin-top: 30px;
        margin-bottom: 0;
    }

    .member-box {
        width: 155px;
        height: 77px;
        margin: 14px 10px;
    }

    #encryption-europe_home .members {
        margin-right: 0;
    }

    #encryption-europe_home .presentation {
        max-width: 440px;
    }

}

@media screen and (max-width: 1400px) {

    #encryption-europe_home .wrapper {
        margin-left: 50px !important;
        margin-right: 0 !important;
    }

}

@media screen and (max-width: 1280px) {

    #encryption-europe_home {
        background: url(../img/index-bg.png) bottom -507px right -419px no-repeat;
    }

    .members h2 {
        margin-top: 62px;
    }

    #encryption-europe_home .presentation {
        max-width: 100%;
        padding-right: 30px;
    }

}

@media screen and (max-width: 992px) {

    #encryption-europe_home .presentation {
        padding-right: 30px;
    }

    #encryption-europe_home {
        background: none;
    }

    .wrapper > section {
        padding: 15px 30px;
        width: 100%;
        box-sizing: border-box;
        margin: 0 !important;
    }

    #encryption-europe_home .wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #encryption-europe_home .members {
        background-image: linear-gradient(to right, #bf1a73, #ef2f37);
        text-align: center;
    }


    .members h2 {
        margin: 0 0 20px 0;
        padding: 0;
    }

    .member-row {
        border-spacing: 16px 8px;
        width: 405px;
        margin: 4px auto;
    }

    .member-box-last {
        float: unset;
    }

}

@media screen and (max-width: 500px) {

    .member-row {
        border-spacing: 10px 4px;
        width: 320px;
        margin: 4px auto;
    }

    .member-box {
        width: 130px;
        height: 77px;
    }

    .member-box img {
        max-width: 120px;
    }
}


/*******************************************************************************/
/**********************************MEMBERS**************************************/
/*******************************************************************************/

#encryption-europe_members {
    background: url('../img/members-bg.png') top right -20px no-repeat;
}

#encryption-europe_members .flex-row {
    margin-bottom: 70px;
}

.members .flex-row div span {
    font: 24px/30px "Volte Semibold", sans-serif;
    color: #f02f36;
    text-transform: uppercase;
}

.members .flex-row > div:first-child {
    margin-right: 30px;
}

.member-link {
    color: #f02f36;
    display: block;
    margin-left: 2px;
    margin-top: 5px;
}

.member-link:hover {
    color: #f66369;
}

.member-link:before {
    content: "";
    width: 18px;
    height: 18px;
    background: #f02f36;
    display: inline-block;
    transform: rotate(-20deg);
    margin-right: 10px;
}


@media screen and (max-width: 1400px) {

    #encryption-europe_members {
        background: url(../img/members-bg.png) top -47px right -126px no-repeat;
        background-size: 40%;
    }

}


@media screen and (max-width: 992px) {

    #encryption-europe_members {
        background: none;
    }

}


/*******************************************************************************/
/**********************************NEWS**************************************/
/*******************************************************************************/

.article-title {
    color: #f02f36;
    font: 24px/30px "Volte Semibold", sans-serif;
}

.article-date {
    color: #232323;
    font: 16px/30px "Volte Semibold", sans-serif;
    display: block;
    margin-bottom: 30px;
}

#encryption-europe_news article {
    margin-bottom: 80px;
}

/*******************************************************************************/
/**************************articles/principles/prupose**************************/
/*******************************************************************************/

#encryption-europe_principles, #encryption-europe_purpose, #encryption-europe_articles, #encryption-europe_news {
    background: url('../img/principles-bg.png') top right 0 no-repeat;
}

#encryption-europe_principles h2, #encryption-europe_purpose h2 {
    text-transform: uppercase;
}

#encryption-europe_principles .wrapper, #encryption-europe_purpose .wrapper, #encryption-europe_articles .wrapper, #encryption-europe_news .wrapper {
    max-width: 50%;
}

@media screen and (max-width: 1500px) {

    #encryption-europe_principles, #encryption-europe_purpose, #encryption-europe_articles, #encryption-europe_news {
        background: url('../img/principles-bg.png') top right -130px no-repeat;
    }

}

@media screen and (max-width: 1280px) {

    #encryption-europe_principles, #encryption-europe_purpose, #encryption-europe_articles, #encryption-europe_news {
        background: url('../img/principles-bg.png') top right -250px no-repeat;
    }

}

@media screen and (max-width: 992px) {

    #encryption-europe_principles, #encryption-europe_purpose, #encryption-europe_articles, #encryption-europe_news {
        background: none;
    }

}

.articles h1 + p {
    color: #566380;
}


/*******************************************************************************/
/**********************************CONTACT**************************************/
/*******************************************************************************/

#encryption-europe_contact {
    background: url('../img/contact-bg.png') top right 0 no-repeat;
}

@media screen and (max-width: 1560px) {

    #encryption-europe_contact {
        background: url('../img/contact-bg.png') top right -360px no-repeat;
    }

}

@media screen and (max-width: 1280px) {

    #encryption-europe_contact {
        background: url('../img/contact-bg.png') top -100px right -420px no-repeat;
    }

}

@media screen and (max-width: 1130px) {

    #encryption-europe_contact {
        background: url('../img/contact-bg.png') top -100px right -540px no-repeat;
    }

}


@media screen and (max-width: 992px) {

    #encryption-europe_contact {
        background: none;
    }

}
