/*
Theme Name: PROTEOR Theme
Theme URI: https://example.com
Description: THEME PROTEOR.
Author: Corentin Della Nave - customR
Version: 1.2.1
*/

/* Import Fonts */
@font-face {
  font-family: 'Roboto';
  src:  url('../font/Roboto-Black.ttf') format('ttf')
        url('../font/Roboto-BlackItalic.ttf') format('ttf')
        url('../font/Roboto-Bold.ttf') format('ttf')
        url('../font/Roboto-BoldItalic.ttf') format('ttf')
        url('../font/Roboto-Italic.ttf') format('ttf')
        url('../font/Roboto-Light.ttf') format('ttf')
        url('../font/Roboto-LightItalic.ttf') format('ttf')
        url('../font/Roboto-Medium.ttf') format('ttf')
        url('../font/Roboto-MediumItalic.ttf') format('ttf')
        url('../font/Roboto-Regular.ttf') format('ttf')
        url('../font/Roboto-Thin.ttf') format('ttf')
        url('../font/Roboto-ThinItalic.ttf') format('ttf');
}

@font-face {
    font-family: 'Roboto Condensed';
    src:  url('../font/RobotoCondensed-Black.ttf') format('ttf')
    url('../font/RobotoCondensed-BlackItalic.ttf') format('ttf')
    url('../font/RobotoCondensed-Bold.ttf') format('ttf')
    url('../font/RobotoCondensed-BoldItalic.ttf') format('ttf')
    url('../font/RobotoCondensed-Italic.ttf') format('ttf')
    url('../font/RobotoCondensed-Light.ttf') format('ttf')
    url('../font/RobotoCondensed-LightItalic.ttf') format('ttf')
    url('../font/RobotoCondensed-Medium.ttf') format('ttf')
    url('../font/RobotoCondensed-MediumItalic.ttf') format('ttf')
    url('../font/RobotoCondensed-Regular.ttf') format('ttf')
    url('../font/RobotoCondensed-Thin.ttf') format('ttf')
    url('../font/RobotoCondensed-ThinItalic.ttf') format('ttf');
}

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

html {
    overflow-x: hidden;
}
/* Text & Content */
body {
    overflow-x: hidden;
    background-color: white;
    font-family: 'Roboto', sans-serif !important;
    font-weight: normal;
    font-size: 20px;
}
p {
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    font-size: 20px;
    margin-bottom: 2rem !important;
}
h1, .h1 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-size: 4rem !important;
    color: #27375F;
    text-align: center;
    padding-top: 60px !important;
    padding-bottom: 40px !important;
}
h1::before, .h1::before {
    display: block;
    content: "";
    border-top: 1px solid black;
    width: 4rem;
    margin: auto;
    padding-bottom: 20px;
}
h2, .h2 {
    font-family: 'Roboto Condensed', sans-serif !important;
    font-weight: 700 !important;
    font-size: 3rem !important;
    color: #27375F;
    text-align: center;
    padding-top: 60px !important;
    padding-bottom: 10px !important;
}
h2::after, .h2::after {
    content: "";
    display: block;
    background: url("assets/images/icon/ball-title.svg") no-repeat;
    background-size: cover;
    width: 20px;
    height: 20px;
    margin: 20px auto 0;
}
h3, .h3 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
    color: #27375F;
    padding-top: 40px !important;
    padding-bottom: 30px !important;
}
h4, .h4 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    padding-bottom: 10px !important;
}
h4 > a:hover {
   text-decoration: none !important;
}
a {
    font-family: 'Roboto', sans-serif !important;
    cursor: pointer;
}
p > a {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500;
    cursor: pointer;
    color: black !important;
}
@media screen and (max-width: 768px){
    h1, .h1 {
        font-size: 2.5rem !important;
    }
    h2, .h2 {
        font-size: 2rem !important;
    }
    h3, .h3 {
        font-size: 1.5rem !important;
    }
}

/* Breadcrumbs */
#breadcrumbs, #breadcrumbs a {
    text-align: center;
    color: grey;
    text-decoration: none !important;
}

/* Container */
@media (min-width: 1200px) {
    .container{
        max-width: 920px !important;
    }
}

/* Padding if !home*/
.content-page {
    /*padding-top: 120px;*/
}

/* Special Container Big Card */
@media (min-width: 1200px) {
    .container-big{
        max-width: 1024px !important;
    }
}

/* Buttons Styles */
.btn-outline-black {
    display: inline-block;
    border: 1px solid black !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    color: black !important;
}
.btn-outline-black:hover{
    background-color: black !important;
    color: white !important;
    transition: color 0.1s;
}
.btn-outline-white {
    display: inline-block;
    border: 1px solid white;
    border-radius: 25px;
    text-decoration: none;
    padding: 10px 20px;
    color: white;
}
.btn-outline-white:hover{
    background-color: white;
    color: black;
    transition: color 0.1s;
}
.btn-link {
    display: inline-block;
    color: black !important;
    text-decoration: underline;
    font-weight: 600 !important;
}
.btn-icon {
    width: 28px;
}
.btn-outline-black:hover .btn-icon {
    filter: brightness(0) invert(1);
    transition: filter 0.1s;
}
.btn-outline-white:hover .btn-icon {
    filter: brightness(1);
    transition: filter 0.1s;
}

/* Header & Menu */
@media screen and (max-width: 768px){
    .custom-logo {
        width: 150px;
    }
    .icons-menu .menu-item {
        margin-right: 10px;
    }
}
@media screen and (min-width: 769px){
    .icons-menu .menu-item {
        margin-right: 20px;
    }
}
.header-bar {
    width: 100vw;
    padding-top: 20px;
    padding-bottom: 20px;
    position: sticky;
    top: 0;
    /*position: fixed;*/
    background-color: white;
    /*box-shadow: 0 1px 10px grey;*/
    z-index: 10;
}
.header-bar-home {
    width: 100vw;
    padding-top: 20px;
    padding-bottom: 20px;
    position: sticky;
    top: 0;
    left: 0;
    background-color: transparent;
    /*box-shadow: 0px 5px 10px grey;*/
    z-index: 10;
}

/* Adjust color header on scroll & Problem with Search Bar*/
.white-on-home {
    filter: brightness(0) invert(1);
}
.scrolled-header-filter {
    filter: none !important;
}
.scrolled-header-bg {
    background-color: #fff;
}
ul li {
    display: block;
}
ul li:not([class]) {
    display: list-item;
    font-size: 20px;
}

.accordion-body > ul li {
    display: list-item;
    font-size: 20px;
}

.icons-menu {
    display: flex;
    justify-content: flex-end;
    margin: 0 !important;
}
.menu-container {
    padding-top: 20px;
    padding-bottom: 20px;
}
.ball-logo {
    width: 50px;
}

/* Search Bar In menu */
.search-bar {
    display: none;
    /*float: right;*/
    filter: none !important;
    position: absolute;
    right: 15%;
}
.search-container {
    display: flex;
    background-color: white;
    border-radius: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.closebtnsearch {
    font-size: 28px;
    text-decoration: none;
    padding-left: 20px;
}
#searchsubmit {
    display: inline-block;
    border: 1px solid black;
    border-radius: 25px;
    text-decoration: none;
    padding: 10px 20px;
    color: black;
    background-color: white;
}
#searchsubmit:hover {
    background-color: black;
    color: white;
    transition: color 0.1s;
}
#searchsubmit {
    outline: none;
}
@media screen and (max-width: 520px){
    #search-bar {
        right: 0;
        left: 0;
        text-align: center;
    }
    #searchsubmit {
        margin-top:10px;
    }
    .closebtnsearch {
        line-height: 22px;
    }
}

/* Menu FullScreen */
.overlay {
    height: 100%;
    width: 100vw;
    display: none;
    position: fixed;
    z-index: 30;
    left: 0;
    top: 0;
    background-color: #27375F;
    overflow-x: hidden;
    transition: 0.5s;
    filter: none !important;
}
.overlay-content {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}
.overlay a {
    text-decoration: none;
    font-size: 2rem;
    color: white;
    display: block;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
}
.overlay .menu-item {
    border-bottom: solid 1px white;
}
.overlay .menu-item li{
    border-bottom: none;
}
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}
.closebtn {
    text-decoration: none;
    font-size: 36px;
    color: white;
    display: block;
    text-align: end !important;
    margin-right: 18px;
}
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
}
.menu, .primary-menu {
    padding-left: 0 ;
}
.primary-menu {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}
.primary-menu .sub-menu{
    padding-left: 0 !important;
    padding-bottom: 20px;
}
.first-accordion-header a, .second-accordion-header a, .third-accordion-header a,  .first-accordion-header-clicked a, .second-accordion-header-clicked a, .third-accordion-header-clicked a{
    display: inline-flex;
    width: 100%;
    justify-content: space-between;

}
.first-accordion-content a, .second-accordion-content a, .third-accordion-content a{
    font-size: 1.2rem;
    padding-left: 10px;
    font-weight: 500;
}
.sub-menu {
    display: none;
}

/* Footer */
.footer {
    background-color: #27375F;
    width: 100%;
    margin-top: 100px;
}
.footer-text {
    font-size: 1rem;
}
.footer-buttons a {
    display: inline-block;
    border: 1px solid white;
    border-radius: 25px;
    text-decoration: none;
    padding: 10px 20px;
    color: white;
    margin: 10px;
    white-space: nowrap;
}
.footer-buttons a:hover {
    background-color: white;
    color: black;
    transition: color 0.1s;
}
.footer-social a {
    margin: 10px;
}
.menu-menu-footer-buttons-container {
    text-align: center;
}
.menu-social-media-container{
    text-align: center;
}
#menu-social-media {
    display: inline-flex;
}
.footer-links a, .footer-links a:hover {
    color:white;
    text-decoration: none;
    margin: 10px;

}
.menu-menu-footer-links-container {
    text-align: center;
}
@media screen and (min-width: 1025px) {
    #menu-menu-footer-buttons, #menu-menu-footer-links{
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media screen and (max-width: 1024px) {
    #menu-menu-footer-buttons, #menu-menu-footer-links{
        display: block !important;
    }
}
.footer-cr p {
    font-size: 14px;
}


/* Actualités */
.img-actuality {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    min-height: 250px;
}
.content-actuality {
    padding: 80px 50px 80px 50px;
    height: 100%;
    min-height: 300px;
}
.date-actuality {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}
.title-actuality {
    padding-top: 10px !important;
    padding-bottom: 10px !important;

}
.title-actuality-link {
    text-decoration: none !important;
}
@media screen and (max-width: 768px){
    .content-actuality {
        padding: 50px 20px 50px 20px;
        border-bottom: 1px solid grey;
    }
}
@media screen and (min-width: 769px){
    .actuality-block {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .content-actuality {
        background-color: #ECECEC;
    }
}
.img-post img {
    height: auto;
    width: 100%;
}

/* Table */
table {
    border-width: 1px !important;
    border-color: black !important;
}
th {
    background-color: #27375F;
    color: white;
    border-color: black !important;
    border-width: 1px !important;
    padding: 10px;
}
table td {
    border-width: 1px !important;
    border-style: solid !important;
    border-color: black !important;
}
tfoot {
    border-top: 3px solid black !important;
    padding: 20px !important;
}
td {
    padding: 10px;
}
figcaption {
    text-align: center;
}

/* Store locator */
.wpsl-store-location > p > strong > a, .wpsl-directions, .wpsl-info-window > p > strong > a, .wpsl-info-window > span > a {
    font-family: 'Roboto', sans-serif !important;
    cursor: pointer;
    color: black !important;
}
.wpsl-provided-by {
    display: none;
}
.wpsl-locations-details > div {
    font-size: 20px;
}
.wpsl-locations-details a {
    color: black !important;
}
#wpsl-search-wrap .wpsl-input label {
    display: contents;
}
.wpsl-search {
    padding: 12px !important;
}
.wpsl-input {
    margin-bottom: 0 !important;
}
#wpsl-search-wrap {
    padding-top: 10px;
}

/* Contact Form (+ button wpjobmanager)*/
.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
    width: 100% !important;
}
.gform_button, .application_button {
    border: 1px solid black;
    border-radius: 25px;
    text-decoration: none;
    padding: 10px 20px;
    background-color: white;
    color: black;
}
.gform_button:hover, .application_button:hover {
    background-color: black;
    color: white;
    transition: color 0.1s;
}
.gform_footer {
    text-align: center;
}

/* Search Pagination with pagenavi*/
.wp-pagenavi{
    text-align: center;
}
.wp-pagenavi > a, .wp-pagenavi > span, .wp-pagenavi > a:hover, .wp-pagenavi > span:hover {
    border: none;
    padding: 5px;
    color: black;
    font-size: 20px;
}
.pages {
    margin-right: 15px;
}
.nextpostslink {
    text-decoration: none;
    font-size: 25px !important;
}
.is-type-video {
    text-align: center;
}

/* Responsive image */
@media screen and (min-width: 768px){
    .wp-block-image img {
        max-height: 50vh;
        max-width: fit-content;
    }
}
@media screen and (max-width: 767px){
    .wp-block-image img {
        height: auto;
        max-height: 50vh;
    }
}

/* Test for centered content */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Update color figcaption*/
.blocks-gallery-item figcaption {
    padding: .7em .77em .7em !important;
    background: #27375f !important;
}

/* Update Styles Gallery (ROBO Gallery Plugin) */
.mfp-title, .mfp-counter {
    font-family: 'Roboto', sans-serif !important;
    font-size: 20px;
    color: white;
}
.robo_gallery .rbsTitle {
    color: white;
    font-family: 'Roboto', sans-serif !important;
    font-size: 18px;
}
.rbsIcons {
    color: white;
}
.company_logo {
    display: none !important;
}

/* Site Map Plugin */
.wsp-container h2 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
    color: #27375F;
    padding-top: 40px !important;
    padding-bottom: 30px !important;
    text-align: left;
}
.wsp-container h2::before {
    display: block;
    border-top: none !important;
    width: 4rem;
    margin: auto;
    padding-bottom: 20px;
}
.wsp-container ul > li > a {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500 !important;
    cursor: pointer;
    color: black !important;
    font-size: 1rem;
    line-height: 2;
}
.modal-logo {
    height: 50px;
    margin-left: auto;
}
.min-h-400 {
    min-height: 400px;
}

/* Form */
.gform_confirmation_message {
    font-size: 1.4rem;
    text-align: center;
    color: #27375F;
    font-weight: 500;
}

/* Adjust for :target */
:target {
    scroll-margin-top:140px;
}

/* Select Site lang*/
.select-site-block {
    z-index: 20;
    background-color: #ECECEC;
    position: relative;
    top: 0;
    left: 0;
    padding: 10px;
    width: 100vw;
}

.select-site-block .lang-text{
    font-size: 14px;
}

.select-site-block .btn-outline-black {
    padding: 2px 10px !important;
}

.select-site-block .btn-close {
    margin: auto 20px;
}
@media screen and (max-width: 767px) {
    .select-site-block .btn-close {
        margin-right: 0;
    }
}

.post-password-form {
    max-width: 960px;
    margin: auto;
    text-align: center;
}

.wp-block-image .aligncenter>figcaption, .wp-block-image .alignleft>figcaption, .wp-block-image .alignright>figcaption, .wp-block-image.aligncenter>figcaption, .wp-block-image.alignleft>figcaption, .wp-block-image.alignright>figcaption {
    caption-side: bottom;
    display: block;
    width: 100%;
}

.wp-block-image {
    margin: 0 0 1em;
}

h2 + p a, .h2 + p a {
    text-decoration: underline;
    color: #27375F !important;
    font-weight: 400;
}

h2 + p a:hover, .h2 + p a:hover {
    opacity: 0.8;
}

body #asl-storelocator.asl-cont .sl-main-cont .asl-time-hrs {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 150px;
}

body #asl-storelocator.asl-cont .sl-main-cont .asl-week-hrs > span {
    display: flex;
}

/* Archive articles navigation */

.post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(10px, auto));
    justify-content: space-between;
    grid-gap: 40px;
    padding-top: 40px;
}

.post-navigation__link {
    display: grid; 
    grid-template-columns: auto auto;
    gap: 10px;
    text-decoration: none;
    color: #27375F;
}

.post-navigation__link--previous {
    text-align: left;
}

.post-navigation__link--next {
    text-align: right;
}

.post-navigation__link:hover {
    color: #235CA5;
}

.post-navigation__link:hover .post-navigation__icon svg path {
    fill: #235CA5;
}

.post-navigation__content {
    padding-top: 5px;
}

.post-navigation__text {
    line-height: 1;
    font-weight: 700;
    margin-bottom: 5px;
}

.post-navigation__title {
    font-weight: 700;
    margin-top: 5px;
    font-weight: 300;
}

.post-navigation__icon svg {
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 990px) {
    .post-navigation__link {
        font-size: 14px;
    }

    .post-navigation__title-wrapper {
        max-width: 200px;
    }
}

@media screen and (max-width: 580px) {
    .post-navigation__link {
        font-size: 12px;
    }

    .post-navigation__title-wrapper {
        max-width: 160px;
    }

}

/*related posts*/

h3.related-posts__main-title {
    text-transform: uppercase;
    text-align: center;
}

.related-post__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 20px; 
}

.card-post { 
    text-align: left; 
    background-color: #27375F;  
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.card-post__content {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-post__title {
    font-size: 20px;
    color: #FFFFFF;
    padding-top: 10px;
}

.card-post__excerpt {
    font-size: 15px;
    color: #FFFFFF;
    flex-grow: 1;
}

.card-post__figure img {
    width:100%;
    max-height: 250px;
    object-fit: cover;
}

.card-post__link {
    margin-top: auto;
}

.card-post__link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-post__button {
    width: fit-content;
    height: 40px;
    color:#FFFFFF;
    padding: 10px 20px;
    border: 1px solid #FFFFFF;
    border-radius: 25px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    position: relative;
    z-index: 1;
    background-color: transparent;
}

.card-post__button:hover {
    background-color: #FFFFFF;
    color: #000000;
    transition: color 0.1s;
}

@media screen and (max-width: 770px) {
    .related-post__list {
        display: grid;
        grid-template-columns: minmax(200px, 1fr);
        gap: 20px;
    }

}

.archive-link-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.archive-link {
    display: inline-block;
    border: 1px solid black !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    color: black !important;
}


.archive-link:hover {
    background-color: black !important;
    color: white !important;
    transition: color 0.1s;
}

