/* EBEA Theme - Custom CSS  */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* MAIN LAYOUT COLOR : #c50006 */

html, body{
    background-color: #fff !important;
    margin: 0;
    padding : 0;
    width: 100%;
    font-family: Poppins, sans-serif;
}

p {
    font-weight: 200;
}

blockquote{
    font-size: 20px;
}

blockquote footer{
    font-size: 16px;
    text-align: right;
}

div.first-footer, footer.second-footer {
    background-color: #EEE;
}

/* WP ADMIN BAR FIX */

@media (max-width: 1199.98px) {
}
@media (max-width: 782px) {
}
@media (max-width: 575.98px) {
}

@media screen and ( max-width: 782px ) {
    html { margin-top: 0px !important; }
    * html body { margin-top: 0px !important; }
    #wpadminbar {
        display: none;
    }
}

/* EBEA LANGUAGE SWITCHER */

body.admin-bar .ebea-website-language {
    top: 102px;
}

#trp-floater-ls {
    left: 90%;
    background-color: #e1e1e1;
}

#trp-floater-ls a {
    color: #0d0d0d;
}

/* EBEA HEADER */
.ebea-website-header{
    text-align: center;
    position: absolute;
    width: 100%;
    z-index: 1;
}

body.single .ebea-website-header,
body.single-portfolio_item .ebea-website-header {
    display: block;
    position: relative;
}

.header-colored .ebea-website-header,
.header-colored .ebea-website-post-header {
    background-color: #e5e5e4;
}

.header-colored .ebea-website-post-header h1 {
    font-size: 6em;
    text-align: center;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 10px;
    padding-bottom: 40px;
}

/* EBEA NAVIGATION */

.text-logo {
    color: #c50006;
}

.text-logo:hover {
    color: #c72227;
}

.ebea-website-header .navbar-toggler {
    border: 0px;
}

.ebea-website-navigation {
    padding: 50px;
}

@media (max-width: 991.98px) {
    .ebea-website-navigation {
        min-height: 160px;
    }
}

.ebea-website-navigation div#navbarSupportedContent {
    margin: 0px;
}

.ebea-website-navigation div a{
    color: #aaa;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

#navbarSupportedContent .nav-link{
    font-weight: 400;
    margin-bottom: 10px;
    margin-top: 10px;
}

.ebea-website-navigation a.nav-link:hover,
.ebea-website-navigation a.nav-link:focus {
    color: #c50006;
}

.ebea-website-navigation .active a{
    color: #c50006;
}

.ebea-website-navigation .dropdown-item.active,
.ebea-website-navigation .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #c50006;
}

/* BLOG PAGES */

#blog .blog-row {
    width: 100%;
}

#blog div.card {
    background-color: #c50006;
    border: 1px solid #cdcdcd;
}

#blog div.card-empty {
    background-color: transparent;
    border: none;
}

#blog div.card .card-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#blog div.card .card-overlay>h5,
#blog div.card .card-overlay>p{
    visibility: hidden;
}

#blog div.card .card-overlay h5.card-title {
    color: white;
}

#blog div.card .card-overlay p.card-meta {
    color: white;
}

#blog div.card:hover h5,
#blog div.card:hover p{
    visibility: visible;
}

#blog .card-img-top {
    width: 100%;
    height: 100%;
    background-color: black; /* fallback color */
    background-position: center;
    background-size: cover;
    transition:all 0.3s ease-in-out;
    opacity:1;
}

#blog div.card:hover .card-img-top,
#blog div.card:focus .card-img-top {
    opacity:0.3;
}

/* GENERIC PAGE TEMPLATE */

.ebea-website-animation .generic-page-title {
    position: absolute;
    top: 110px;
    font-size: 2.8em;
}

@media (min-width: 576px) {
    .ebea-website-animation .generic-page-title {
        top: 120px;
        font-size: 3.2em;
    }
}

@media (min-width: 768px) {
    .ebea-website-animation .generic-page-title {
        top: 220px;
        font-size: 4em;
    }}

@media (min-width: 992px) {}

/* BLOG POST : SINGLE */

/* EBEA SERVICE */
#ebea-website-service-element-1{
    background:url('../img/bckg/img-1.svg') #fff;
    background-size:100%;
    background-position: 0 top;
    background-repeat:no-repeat;
}
#ebea-website-service-element-2{
    background:url('../img/bckg/img-2.svg') #fff;
    background-size:100%;
    background-position: 0 bottom;
    background-repeat:no-repeat;
}

/* EBEA LANGUAGE SELECTOR */
.ebea-website-language{
    background: #ccc;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-top:50px;
    padding: 5px;
    position: fixed;
    right: 0;
    top: 70px;
    z-index: 3;
}

@media (max-width: 782px) {
    .ebea-website-language {
        display: none;
    }
}

.ebea-website-language a{
    color: #333;
}

.ebea-website-language div{
    display: inline-block;
    padding: 5px 10px;
}
.ebea-website-language div:first-child{
    border-right: 1px solid #000;
}

/* ANIMATION BLOCK */

.ebea-website-container-with-animation {
}

.ebea-website-container-with-animation-light {
    padding-top: 150px;
}

.ebea-website-container-with-animation div.container {
    z-index: 1;
    position: relative;
}

.ebea-website-animation{
    position: relative;
    display: flex;
    justify-content: center;
    background-color: #f1f1f1;
    overflow-x: hidden;
    overflow-x: -moz-hidden-unscrollable;
    overflow-y: hidden;
    overflow-y: -moz-hidden-unscrollable;
    /* 
    top: 0;
    width: 100%;
    height: 700px; */
}

.ebea-website-animation .layer {
    height: 500px;
    max-width: none;
    /* position: absolute;
    height: 700px;
    left: 50%;
    right: 50%;
    top: calc(40% - 32px);
    transform: translate(-50%,-50%); */
}

@media (max-width: 1199.98px) {
    .ebea-website-animation .layer {
        height: 450px;
    }
}

@media (max-width: 767.98px) {
    .ebea-website-animation .layer {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .ebea-website-animation .layer {
        height: 200px;
        margin-top: 50px;
    }
}

/* TITLE */
.ebea-website-title{
    color: #c50006;
}

.ebea-website-partenaires{
    background: #fff;
    box-shadow: 0 0 20px #ccc;
}

/* FOOTER */
.ebea-website-footer{
    color: #888;
}

.ebea-website-footer a{
    color: #aaa;
}

.ebea-footer-title{
    font-weight: bold;
}
.ebea-footer-title img{
    height: 35px;
    margin-right: 5px;
    vertical-align: bottom;
}

.footer-widget h2 {
    font-family: Poppins, sans-serif;
    font-weight: 100;
    font-size: 1.2em;
    color: #bfbfbf;
}

.footer-widget div.textwidget {
    color: #9f9f9f;
    font-weight: 200;
    font-size: 1em;
}

.footer-widget ul.menu {
    list-style: none;
    padding-left: 0;
}

.footer-widget ul.menu li a,
footer.footer a {
    color: #b7b7b6;
    font-weight: 200;
    font-size: 0.9em;
    text-transform: uppercase;
}

footer.footer {
    color: #b7b7b6;
    font-weight: 200;
    font-size: 1em;
}

.footer-widget .menu-footer-widget-menu-container li a:hover,
footer.footer a:hover {
    color: #C50005;
}

/* FOOTER VARIANT : Colored */

.footer-colored div.first-footer,
.footer-colored footer.second-footer {
    background-color: #e52425;
}

.footer-colored .footer-widget div.textwidget,
.footer-colored .footer-widget ul.menu li a, footer.footer a {
    color: #f9f9f9;
}

/* BUTTONS */
div.elementor-widget-button .elementor-button {
    background-color: #C50006;
    font-weight: normal;
    border-radius: 0;
    width: 100%;
}

div.elementor-widget-button {
    max-width: 400px;
}

.btn-ebea-red{
    background-color: #f00 !important;
    border-color: #f00 !important;
    color: #fff !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    margin-top: 6rem;
    padding: 0.5rem 6rem !important;
    text-transform: uppercase;
}
.btn-ebea-red:not(:disabled):not(.disabled):active:focus, .btn-ebea-red:not(:disabled):not(.disabled).active:focus, .show > .btn-ebea-red.dropdown-toggle:focus{
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}
.btn-ebea-red:not(:disabled):not(.disabled):active, .btn-ebea-red:not(:disabled):not(.disabled).active, .show > .btn-ebea-red.dropdown-toggle{
    color: #fff;
    background-color: #bd2130;
    border-color: #b21f2d;
}

.btn-ebea-red:focus, .btn-ebea-red.focus {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}

.btn-ebea-red:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}
.btn-ebea{
    background-color: #c50006 !important;
    border-color: #c50006 !important;
    color: #fff !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    margin-top: 6rem;
    padding: 0.5rem 6rem !important;
    text-transform: uppercase;
}
.btn-ebea:not(:disabled):not(.disabled):active:focus, .btn-ebea:not(:disabled):not(.disabled).active:focus, .show > .btn-ebea.dropdown-toggle:focus{
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}
.btn-ebea:not(:disabled):not(.disabled):active, .btn-ebea:not(:disabled):not(.disabled).active, .show > .btn-ebea.dropdown-toggle{
    color: #fff;
    background-color: #bd2130;
    border-color: #b21f2d;
}

.btn-ebea:focus, .btn-ebea.focus {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}

.btn-ebea:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}
/* CARD */
.ebea-website-team-card,.ebea-website-reference-card, .ebea-website-home-card{
    overflow: hidden;
}
/* LAYOUT GRID */
.ebea-website-team-overlay{
    left: 12% !important;
}
.ebea-website-team-overlay,.ebea-website-references-overlay,.ebea-website-home-overlay{
    background: rgba(197,0,6,.9);
    color:#fff;
    top: 100% ! important;
    -webkit-transition: top 1s;
}

.ebea-website-home-card:hover .ebea-website-home-overlay,.ebea-website-team-card:hover .ebea-website-team-overlay,.ebea-website-reference-card:hover .ebea-website-references-overlay{
    display: inline-block !important;
    top: 0 ! important;
    -webkit-transition: top 1s;
}

/* SERVICES CARD */
.ebea-website-service-card{
    border: none !important;
}
.ebea-website-service-card:nth-child(2n+1){
    color: #fff;
}

.ebea-website-service-card div:nth-child(2){
    text-align: right;
}

/* SOCIAL LINK */
.ebea_social_link a{
    color: #000;
}
.ebea_social_link a:hover{
    text-decoration: none;
}

/* TEAM PAGE */
.ebea-website-team-card .card-text{
    line-height: 2rem;
}

/* PAGE TITLES */

.page-heading .page-title {
    color: #AD1414;
    font-family: "Poppins", Sans-serif;
    font-weight: 400;
}

.page-heading .page-subtext {
    color: #7a7a7a;
    font-family: "Poppins", Sans-serif;
    font-weight: 200;
}

/* EXTENDS BOOTSTRAP */
.mt-6{
    margin-top: 6rem !important;
}
.mb-6{
    margin-bottom: 6rem !important;
}
.ml-6{
    margin-left: 6rem !important;
}
.mr-6{
    margin-right: 6rem !important;
}

.my-6{
    margin-top: 6rem !important;
    margin-bottom: 6rem !important;
}

.mx-6{
    margin-left: 6rem !important;
    margin-right: 6rem !important;
}

.m-6{
    margin: 6rem !important;
}


