* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #ececec;
    font-family: sans-serif;
    color: #3b3b3b;
    font-size: 1.1em;
}

::-moz-selection {
    background: #303F9F;
    color: #fff
}

::selection {
    background: #303F9F;
    color: #fff
}


h1 {
    color: #303F9F;
    font-weight: bold;
}

h2 {
    color: #3b3b3b;
    font-weight: 400;
}

p {
    text-align: justify;
}

a {
    color: #303F9F;
    text-decoration: none;
}

a:hover {
    color: #3D5AFE;
}

header {
    box-shadow: 3px 3px 4px rgba(59, 59, 59, 0.5);
    padding-top: 35px;
    padding-bottom: 100px;
    color: #ffffff;
    font-family: Helvetica, serif;
    font-weight: 100;
    background-image: url(#), url(../img/norway2.jpg);
    background-attachment: scroll, scroll;
    background-position: left top, center center;
    background-repeat: repeat-y, no-repeat;
    background-size: contain, cover;
    padding: 50px 0;
}

.logo-container {
    float: left;
    width: 50%;
}

header div {
    display: flex;
    align-items: center;
    max-width: 1024px;
    margin: auto;
    padding: 0 1em;
}

header div>div {
    flex: 1 1 33%;
    min-width: 33%;
    width: 33%;
}

.languages {
    width: 10%;
    position: absolute;
    right: 30px;
    margin-top: -30px;
}

.languages img {
    height: 30px;
    margin: 0 5px;
}

.clearfix {
    clear: both;
}

.logo_arctivities {
    color: #3b3b3b;
    width: 127px;
    height: 127px;
    -webkit-filter: drop-shadow(5px 5px 2px rgba(59, 59, 59, 0.6));
    filter: drop-shadow(5px 5px 2px rgba(59, 59, 59, 0.6));
}

.service_access_button {
    display: block;
    padding: 1.5em 1em;
    background-color: #303F9F;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0px 2px 5px hsla(0, 0%, 0%, 0.25);
    font-weight: bold;
    font-size: 0.9em;
    transition: 0.5s ease background-color;
    margin: auto;
}

.service_access_button:hover {
    color: #fff;
    background-color: #3D5AFE;
}

.half_width {
    width: 50%;
    margin: auto;
}

.header_logos img {
    height: 70px;
    padding: 0 7px;
}

#arctivities_logo {
    text-align: center;
}

#arctivities_logo img {
    /* height: 200px; */
    width: 200px;
    background-color: #ececec;
    padding: 1em;
    border-radius: 50%;
    box-shadow: 1px 1px 5px rgba(59, 59, 59, 0.5);
    margin: auto;
    margin-top: 2em;
    margin-bottom: -150px;
}

#cmems_logo {
    text-align: left;
}

#cmems_logo img {
    max-height: 30%;
    max-width: 30%;
    padding: 0;
    border-radius: 50%;
    margin-bottom: -100px;
}

.main {
    max-width: 1024px;
    margin: auto;
    padding: 1em;
}

.middle_container {
    display: flex;
}

.left_container {
    flex: 1 1 auto;
    margin-right: 1em;
    max-width: 66%;
}

.right_container {
    flex: 1 1 33%;
    width: 33%;
    height: 50%;
    padding: 0.5em;
}

.right_container img {
    width: 100%;
}

.slide .img_legend,
.img_legend {
    color: #3b3b3b;
    font-size: 0.8em;
    margin: 0 0 30px 0;
}

/* .slide span {
    font-size: 12px;
    text-align: right;
    font-style: italic;
    -moz-transform-origin: 100% 0%;
    -moz-transform: rotate(90deg);
    -o-transform-origin: 100% 0%;
    -o-transform: rotate(90deg);
    -webkit-transform-origin: 100% 0%;
    -webkit-transform: rotate(90deg);
    transform-origin: 100% 0%;
    transform: rotate(90deg);
    float: right;
    padding-right: 10px;
} */

.img_copy {
    text-align: right;
    font-style: italic;
    font-size: 0.6em;
    margin: 0;
}

.row {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 10px;
}

.cell {
    min-height: 75px;
    flex-grow: 1;
    flex-basis: 100%;
}

#bloc_area {
    margin: 0 0 25px 33%;
    padding: 0 0 0 0;
    border: 3px solid #303F9F;
}

#region {
    background-color: #303F9F;
    margin: 0 0 0;
    padding: 10px 0 10px 0;
    min-height: auto;
    flex: 1 0.5 auto;
}

.region_name {
    padding: 10px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin: 0 auto auto auto;
    font-size: 1.5em;
}

.region_name em {
    font-weight: 400;
}

.benefit_area {
    padding: 10px 0;
    text-align: center;
    width: 90%;
    margin: 0 auto 0 auto;
    color: #303F9F;
    font-weight: 600;
    line-height: 25px;
}

.center {
    text-align: center;
}

.margin {
    margin: 50px 0;
}

/* PRODUCTS TABLE*/

.products_table {
    font-size: 0.9em;
    width: 100%;
    border-collapse: collapse;
}

.products_table thead tr {
    background-color: #303F9F;
    color: #fff;
    font-weight: bold;
}

.products_table tbody tr:nth-child(2n) {
    background-color: #ececec;
}

.products_table tbody tr:nth-child(2n+1) {
    background-color: #d7d7d7;
}

.products_table td,
.products_table th {
    padding: 1em;
}

.legend {
    text-align: right;
    font-size: 0.8em;
}

/* TABS */

.tabs {
    margin: 1em 0;
    max-width: 1024px;
    margin: auto;
    padding: 1em;
    min-height: 500px;
}

.tabs nav {
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    margin: 0.5em -1em -0.5em -1em;
}

.tabs nav i {
    margin-right: 1em;
}

.tabs nav a {
    display: block;
    width: 100%;
    padding: 1em;
    background-color: #ececec;
    -ms-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: center;
    border: 1px solid transparent;
    border-top-width: 3px;
    color: #3b3b3b;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.5s ease;
}

.tabs nav a.active,
.tabs nav a:hover {
    background-color: #fff;
    border: 1px solid hsl(0, 0%, 85%);
    border-bottom-color: #fff;
    border-top: 3px solid #303F9F;
    color: #303F9F;
    margin-bottom: -1px;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
    background-color: #fff;
    border: 1px solid hsl(0, 0%, 85%);
    padding: 1em;
    margin: 0.5em -1em;
}

/* NEWS */
.cards {
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    flex-flow: wrap;
}

.card {
    background-color: white;
    height: 300px;
    width: 300px;
    margin-bottom: 30px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    transition: all 0.5s ease;
    font-weight: 100;
    overflow: hidden;
    transition: all 0.5s ease;
}

.card:hover {
    margin-top: -5px;
    box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.2);
}

.card:hover .card-title {
    color: #303F9F;
    text-decoration: underline;
}

.card-header {
    height: 35%;
    background-image: url("../img/ocean_energy_europe_2018.PNG");
    background-size: cover;
    background-position: center center;
}

.card-header.ch2 {
    background-image: url("../img/seatechweek_2018.jpg");
}

.card-header.ch3 {
    background-image: url("../img/img_tmp2.png");
}

/* .card-header.ch4 {
    background-image: url("//placehold.it/350x250/c5d647/fff/image4.jpg");
}

.card-header.ch5 {
    background-image: url("//placehold.it/350x250/f28c33/fff/image5.jpg");
}

.card-header.ch6 {
    background-image: url("//placehold.it/350x250/e868a2/fff/image6.jpg");
} */

.card-body {
    padding: 15px 15px 5px 15px;
    color: #3b3b3b;
}

.card-title {
    font-size: 1.4em;
    margin-bottom: 8px;
    text-align: center;
    font-weight: bold;
}

/* .card-sub-title {
    font-size: 1em;
    margin-bottom: 8px;
    text-align: center;
    font-style: italic;
} */

.card-date {
    color: #3b3b3b;
    font-size: 1em;
    margin-bottom: 10px;
    text-align: center;
}

.card-published {
    color: #b3b3b3;
    font-size: 0.9em;
    margin-bottom: 15px;
    text-align: center;
    font-style: italic;
}

.card-desc {
    font-size: 0.85rem;
    line-height: 17px;
    text-align: justify;
    padding: 0 20px;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ILLUSTRATION SLIDER */

.slider {
    position: relative;
}

.frame {
    margin: auto;
    width: 100%;
    position: relative;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    white-space: nowrap;
}

.slides {
    display: inline-block;
}

.slide {
    width: 100%;
    position: relative;
    display: inline-block;
    text-align: center;
}

.slide img {
    width: 100%;
    /* margin: 0 5px; */
}

.prev,
.next {
    position: absolute;
    top: 0;
    display: block;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    height: 100%;
    width: 50px;
    transition: all 0.5s;
}

.prev:hover,
.next:hover {
    background: rgba(200, 200, 200, 0.5);
}

.next {
    right: 0;
}

.prev {
    left: 0;
}

.next svg,
.prev svg {
    width: 50px;
    height: 100%;
    transition: all 0.5s;
}

svg:hover #svg_color {
    fill: #3D5AFE;
}

.thumbnail {
    max-width: 150px;
    max-height: 50px;
    display: block;
}

/*img {
    max-width: 100%;
}*/

/* FEEDBACK */

.carousel {
    margin: 50px auto;
    padding: 0 70px;
}

.carousel .item {
    color: #3b3b3b;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    min-height: 100px;
}

.carousel .overview {
    font-style: italic;
}

.carousel .overview b {
    text-transform: uppercase;
    color: #303F9F;
}

.carousel .carousel-control {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    top: 50%;
    background: none;
}

.carousel-control i {
    font-size: 68px;
    line-height: 42px;
    position: absolute;
    display: inline-block;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 0 3px 3px #e6e6e6, 0 0 0 #000;
}

.carousel .carousel-indicators {
    bottom: -40px;
}

.carousel-indicators li,
.carousel-indicators li.active {
    width: 10px;
    height: 10px;
    margin: 1px 3px;
    border-radius: 50%;
}

.carousel-indicators li {
    background: #3b3b3b;
    border-color: transparent;
    box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
}

.carousel-indicators li.active {
    background: #303F9F;
    box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
}

.carousel-control.left,
.carousel-control.right {
    background-image: none !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
    background-repeat: repeat-x;
}


/* HELP FAQ */


/* .faq_category:after {
    height: 3px;
    display: block;
    margin: 15px 0;
    width: 30%;
    background: #303F9F;
    border-right: 1px #fff;
    content: '';
} */

.faq {
    margin: 0px;
}

.accordion {
    background-color: #ececec;
    color: #3b3b3b;
    cursor: pointer;
    font-weight: bold;
    padding: 15px 20px;
    margin: 10px 0 0px 0;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    transition: all 0.5s ease;
    box-shadow: 3px 3px 4px rgba(59, 59, 59, 0.5);
}

.faq_active,
.accordion:hover {
    color: #303F9F;
    background-color: #d7d7d7;
}

.accordion:after:hover {
    color: #303F9F;
}

.accordion:after {
    content: '\2bc6';
    color: #3b3b3b;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.faq_active:after {
    content: "\2bc5";
}

.faq_panel {
    padding: 0 18px;
    background-color: #ececec;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* CONTACT */
.badges {
    /* padding: 20px; */
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

.badge {
    width: 300px;
    font-family: Helvetica, serif;
    background-color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 2px 2px 0 #3b3b3b;
    border-radius: 3px;
    font-weight: 100;
    overflow: hidden;
    text-align: center;
}

.badge-header {
    height: 75px;
    background-image: url("../img/color_bg2.png"), url("../img/arctic.jpg");
    background-position: left top, center center;
    background-attachment: scroll, fixed;
    overflow: hidden;
}

.badge-name {
    font-size: 1.4em;
    margin-bottom: 5px;
    font-weight: bold;
    color: #303F9F;
}

.badge-role {
    font-size: 0.8em;
    font-weight: bold;
    margin: 25px 0;
}

.badge-desc {
    font-size: 0.85rem;
    line-height: 20px;
}

.badge-avatar {
    width: 120px;
    height: 120px;
    border-radius: 100%;
    border: 5px solid #fff;
    box-shadow: 0 1px 1px 0 rgba(59, 59, 59, 0.6);
    position: relative;
    margin: auto;
    vertical-align: middle;
}

.badge-avatar img {
    width: 100%;
    vertical-align: middle;
}

.badge-body {
    margin: 35px 10px;
}

.badge-foot {
    color: #fff;
    background-color: #ececec;
    padding-top: 13px;
    padding-bottom: 13px;
    display: flex;
    justify-content: center;
}

.badge-link {
    line-height: 35px;
    font-weight: 700;
    color: #303F9F;
    display: block;
    border: #303F9F solid 2.5px;
    border-radius: 30px;
    margin: 0 10px;
    padding: 5px 10px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.5s ease;
}

.badge-link:hover {
    background-color: #303F9F;
    color: #ececec;
}

/* FOOTER */
.footer-under {
    position: relative;
    background-color: #ececec;
    padding: 15px 0;
    min-height: 150px;
}

.container-width {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto 0 auto;
    text-align: center;
}

#footer-container {
    width: 30%;
    margin: 0 auto 0 auto;
}

.footer_logo {
    margin: 0 auto 0 auto;
    text-align: center;
}

.logo_noveltis {
    height: 45px;
}

.logo_quiet {
    height: 75px;
    margin-top: -10px;
}

.copyright {
    background-color: #303F9F;
    color: rgba(238, 238, 238, 0.5);
    bottom: 0;
    padding: 0.5em 0;
    position: absolute;
    width: 100%;
    font-size: 0.85em;
}

.made-by {
    float: left;
    width: 100%;
    padding: 5px 0;
    text-align: center;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

@media screen and (max-width:768px) {
    #bloc_area {
        margin: 50px 0 25px 33%;
    }

    .products_table {
        width: 150%;
    }
}

@media screen and (max-width:460px) {
    header {
        padding: 0px;
        background-position: inherit;
    }

    header div {
        display: grid;
        padding: 1em;
    }

    header div>div {
        width: 100%;
    }

    #arctivities_logo {
        max-width: 50%;
    }

    #arctivities_logo img {
        padding: 5px;
        margin: 0;
    }

    .service_access_button {
        /* margin: 180px auto 0px auto; */
        text-align: center;
        /* padding: 0.5em 1.5em; */
    }

    .languages {
        width: 20%;
        margin-top: 10px;
        right: 0px;
    }

    .middle_container {
        display: block;
    }

    .left_container {
        margin-right: 0;
        max-width: 100%;
    }

    .right_container {
        width: 100%;
    }

    #cmems_logo {
        text-align: center;
        height: 100px;
        margin: 0 0 10px 0;
    }

    #cmems_logo img {
        max-height: 100%;
        margin: 0;
    }

    .half_width {
        width: 75%;
    }

    .margin {
        margin: 10px 0;
    }

    #bloc_area {
        margin: 0px;
    }

    table.products_table {
        display: block;
        width: auto !important;
        word-break: break-all;
        font-size: 13px;
    }

    .products_table td,
    .products_table th {
        padding: 0.5em;
    }

    .tabs nav a {
        padding: 10px;
        font-size: 13px;
    }

    #footer-container {
        width: 100%;
    }
}
