/**
- Theme des articles realise par Leo Chaussard
- Version 4.0 du site Catrainz.fr
- Aout 2022
- Version 1.0

**/

/** Structure des articles -------------------------------------------------------------------------------------------------------------------------------------------------------- **/

.ct-box-content {
  background-color: var(--background-article);
  padding: 30px;
  /* -webkit-box-shadow: 0px 0px 30px -7px rgba(var(--ombre-article),1);
    -moz-box-shadow: 0px 0px 30px -7px rgba(var(--ombre-article),1);
    box-shadow: 0px 0px 30px -7px rgba(var(--ombre-article),1); */
}

.ct-interbox {
  height: 30px;
  width: auto;
}

.ct-article-titre-intro {
  padding-bottom: 30px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
}

.ct-image-vignette-figure {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.ct-image-vignette {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: scale(1);
  transform: scale(1);

}

.ct-image-vignette:hover {
  -webkit-transform: scale(1.12);
  transform: scale(1.12) rotate(1deg);
}

.ct-icon-360-link {
  content: '';
  display: block;
  background-color: #00B4E3;
  background-image: url(../images/icones/menu-mobile/icon-360-white.svg);
  filter: none;
  background-size: 40px 40px;
  background-repeat: no-repeat;
  background-position: center;
  width: 50px;
  height: 50px;
  margin: 0;
  border-radius: 5px;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 50;
  cursor: pointer;
}

.ct-icon-360-link:hover {
  background-color: #2d373d;
}






/** Colonne flex --------------------------------- **/

.ct-article-2-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-article-2-col-no-vertical-align {
  display: flex;
  justify-content: center;
}

.ct-column-1 {
  flex-shrink: 0;
  /* shrinks to 0 to apply 70% width*/
  flex-basis: 50%;
  /* sets initial width to 70%*/
  margin-right: 10px;
  line-height: 30px;
}

.ct-column-2 {
  margin-left: 10px;
}

/** ---------------------------------------------- **/

.ct-text-justify {
  text-align: justify;
}

.ct-text-intro-justify {
  text-align: justify;
}

.ct-saut-10px {
  height: 10px
}

.ct-article-titre-objet-cdp {
  padding-bottom: 30px;
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
}

.ct-table-objet {
  border-collapse: collapse;
  table-layout: auto;
  width: 100%;
}

table.ct-table-objet tbody tr:nth-child(1) {
  border: none;
}

table.ct-table-objet tbody tr {
  border-bottom: var(--border-table-th) dashed 1px;
  font-size: 12px;
}

table.ct-table-objet tbody tr th {
  padding: 10px;
  text-align: center;
  background-color: var(--background-table-th);
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  border-collapse: separate;
  border-spacing: 2px;
}

table.ct-table-objet tbody tr td {
  padding: 5px;
}

table.ct-table-objet tbody tr td:nth-child(2) {
  text-align: center;
}

table.ct-table-objet tbody tr:hover {
  background-color: var(--hover-table-tr-dependance);
}

td.ct-td-dependance-nom {
  padding: 5px 10px 5px 30px !important;
  color: var(--color-table-dependance);
  /* font-style: italic; */
  font-weight: 500;
  font-size: 12px;
  width: 70%;
}

td.ct-td-dependance-nom:before {
  background: url("../images/icones/dependance-2.svg") no-repeat center;
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  margin: -3px auto auto -25px;
}


td.ct-td-dependance-kuid {
  padding: 5px 10px 5px 10px !important;
  color: var(--color-table-dependance);
  /* font-style: italic; */
  font-weight: 500;
  font-size: 12px;
  width: 30%;
}

/* tr:first-child th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
 tr:first-child th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
} */


/** ---------------------------------------------- **/

/** Info bulle ------------------------------------ **/

.ct-td-dependance-nom span {
  position: absolute;
  padding: 5px 10px;
  margin-top: -3px;
  margin-left: 10px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  color: #ffffff;
  border-radius: 50px;
  background-color: #000000;
  box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.ct-td-dependance-nom span::before {
  content: '';
  display: block;
  background-image: url(../images/icones/dependance-icon.svg);
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
  width: 15px;
  height: 15px;
  float: left;
  margin: 0 5px 0 0;
  filter: invert(48%) sepia(92%) saturate(2143%) hue-rotate(158deg) brightness(101%) contrast(102%);
}

table.ct-table-objet tbody tr:hover>.ct-td-dependance-nom span {
  opacity: 0.8;
}

.ct-reskin-icone-texte-hover {
  position: absolute;
  padding: 5px 10px;
  margin-top: -3px;
  margin-left: 10px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  color: #ffffff;
  border-radius: 50px;
  background-color: #000000;
  box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.ct-reskin-icone-texte-hover::before {
  content: '';
  display: block;
  background-image: url(../images/icones/reskin-icon.svg);
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
  width: 15px;
  height: 15px;
  float: left;
  margin: 0 5px 0 0;
  filter: invert(48%) sepia(92%) saturate(2143%) hue-rotate(158deg) brightness(101%) contrast(102%);
}

table.ct-table-objet tbody tr:hover>.ct-td-reskin-auteur .ct-reskin-icone-texte-hover {
  opacity: 0.8;
}

.ct-reskin-icone-fixe {
  position: absolute;
  padding: 5px 10px;
  margin-top: -3px;
  margin-left: 0;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  opacity: 1;
  transition: all 0.2s ease-in-out;
}

.ct-reskin-icone-fixe::after {
  content: '';
  display: block;
  background-image: url(../images/icones/reskin-icon.svg);
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
  width: 15px;
  height: 15px;
  float: left;
  margin: 0 5px 0 0;
  opacity: 1;
  filter: invert(48%) sepia(92%) saturate(2143%) hue-rotate(158deg) brightness(101%) contrast(102%);
}

table.ct-table-objet tbody tr:hover>.ct-td-reskin-auteur .ct-reskin-icone-fixe {
  opacity: 0;
}

/** ---------------------------------------------- **/

/** ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **/


/* Barre d'alert */

.ct-alert-bloc {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
  background-color: var(--bloc-alert-background);
}

.ct-alert-bloc-icon {
  width: 90px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  float: left;
  color: #fff;
  font-size: 30px;
  position: relative;
  background-color: var(--bloc-alert-icone);
}

.ct-alert-bloc-icon svg {
  display: block;
  margin: 0 auto;
  width: 50px;
  height: 50px;
}

.ct-alert-bloc-texte {
  width: 100%;
  border-color: var(--bloc-alert-background);
  float: left;
  padding: 15px;
  position: relative;
  text-align: left;
  min-height: 52px;
}

.ct-alert-bloc-texte strong {
  color: #ff9000;
  display: inline-block;
  width: 100%;
}

.ct-alert-bloc-texte p {
  margin: 0;
}

/* Barre d'information */

.ct-information-bloc {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
  background-color: var(--bloc-info-background);
}

.ct-information-bloc-icon {
  width: 90px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  float: left;
  color: #fff;
  font-size: 30px;
  position: relative;
  background-color: var(--bloc-info-icone);
}

.ct-information-bloc-icon svg {
  display: block;
  margin: 0 auto;
  width: 50px;
  height: 50px;
}

.ct-information-bloc-texte {
  width: 100%;
  border-color: var(--bloc-info-background);
  float: left;
  padding: 15px;
  position: relative;
  text-align: left;
  min-height: 52px;
}

.ct-information-bloc-texte strong {
  color: #2DD649;
  display: inline-block;
  width: 100%;
}

.ct-information-bloc-texte p {
  margin: 0;
}

/* Barre de nouveauté */

.ct-nouveaute-bloc {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  background-color: var(--bloc-alert-background);
  margin: 0 5px;
}

.ct-nouveaute-bloc-icon {
  width: 30px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  float: left;
  color: #fff;
  font-size: 30px;
  position: relative;
  background-color: var(--bloc-alert-icone);
}

.ct-nouveaute-bloc-icon svg {
  display: block;
  margin: 0 auto;
  width: 20px;
  height: 20px;
}

.ct-nouveaute-bloc-texte {
  width: 100%;
  border-color: var(--bloc-alert-background);
  float: left;
  padding: 5px 5px 5px 15px;
  position: relative;
  text-align: left;
  min-height: 20px;
}

.ct-nouveaute-bloc-texte strong {
  color: #ff9000;
  display: inline-block;
  width: 100%;
}
.ct-nouveaute-bloc-texte ul {
  margin: 0;
  padding: 0 0 0 15px;
}

.ct-nouveaute-bloc-texte p, .ct-nouveaute-bloc-texte li {
  margin: 0;
  color: #ff9000;
}



/** Lien des téléchargements -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **/

.ctdownloadfile {
  text-align: center;
}

 a div.ctdownloadfile {
  transition: color 0.8s ease 0s;
  letter-spacing: 2px;
}

 a div.ctdownloadfile:hover {
background-color: var(--hover-table-tr-dependance) !important;
}



.ctdownloadfile {
  background: var(--color-download-link) url(../images/icones/download-bleu.svg) 5px center no-repeat !important;
  background-size: 32px !important;
  border: 1px solid var(--color-border-download-link) !important;
  margin: 5px;
  padding: 10px 10px 10px 40px;
}


/** ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **/

.ct-screenshots-image-vignette {
  margin: 0;
}

/* .ct-screenshots-image-vignette:hover {
    background: rgba(0, 0, 0, 0.5);
    -webkit-animation-name: ctfadeInOpacity;
    animation-name: ctfadeInOpacity;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}

.ct-screenshots-image-vignette:hover img {
    filter: brightness(50%);
    opacity: 0.4;
} */

/* @-webkit-keyframes ctfadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes ctfadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
} */





/** ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **/

/** Accueil -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **/

.ct-box-home {
  background-color: var(--background-header);
  text-align: center;
  padding: 10px;
}

.ct-table-nouveautes {
  color: var(--color-text-menu-vertical-footer);
}

.ct-table-nouveautes div {
  background-color: #403D3D;
  margin: 10px;
  padding: 10px;
}

.ct-table-nouveautes div:hover {
  background-color: #4E4B4B;
}

.ct-nv-disponible {
  color: #2DD649;
  border: 1px solid #2DD649;
  border-radius: 5px;
  padding: 5px;
  margin-left: 10px;
  font-weight: 200;
}

.ct-nv-prochainement {
  color: #ff9000;
  border: 1px solid #ff9000;
  border-radius: 5px;
  padding: 5px;
  margin-left: 10px;
  font-weight: 200;
}


/** Cards accueil -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **/

.ct-art-menubox {
  padding: 25px;
  text-align: center;
  min-height: 265px;
  overflow: hidden;
  background-color: var(--background-header);
}

.ct-art-menubox {
  text-align: center;
}

.ct-art-menubox-title-mr::after {
  background-color: #00b4e3;
}

.ct-art-menubox-mr:hover {
  background-color: #00b4e3;
}

.ct-art-menubox-mr img {
  filter: invert(48%) sepia(92%) saturate(2143%) hue-rotate(158deg) brightness(101%) contrast(102%);
}

.ct-art-menubox-mr:hover img {
  filter: invert(100%) sepia(0%) saturate(1683%) hue-rotate(311deg) brightness(101%) contrast(101%);
}

.ct-art-menubox-title-bs::after {
  background-color: #b065a1;
}

.ct-art-menubox-bs:hover {
  background-color: #b065a1;
}

.ct-art-menubox-bs img {
  filter: invert(68%) sepia(99%) saturate(805%) hue-rotate(277deg) brightness(73%) contrast(82%);
}

.ct-art-menubox-bs:hover img {
  filter: invert(100%) sepia(0%) saturate(1683%) hue-rotate(311deg) brightness(101%) contrast(101%);
}

.ct-art-menubox-title-br::after {
  background-color: #f29400;
}

.ct-art-menubox-br:hover {
  background-color: #f29400;
}

.ct-art-menubox-br img {
  filter: invert(56%) sepia(43%) saturate(1277%) hue-rotate(4deg) brightness(99%) contrast(100%);
}

.ct-art-menubox-br:hover img {
  filter: invert(100%) sepia(0%) saturate(1683%) hue-rotate(311deg) brightness(101%) contrast(101%);
}

.ct-art-menubox-title-ed::after {
  background-color: #6897b4;
}

.ct-art-menubox-ed:hover {
  background-color: #6897b4;
}

.ct-art-menubox-ed img {
  filter: invert(81%) sepia(5%) saturate(3316%) hue-rotate(173deg) brightness(70%) contrast(105%);
}

.ct-art-menubox-ed:hover img {
  filter: invert(100%) sepia(0%) saturate(1683%) hue-rotate(311deg) brightness(101%) contrast(101%);
}

.ct-art-menubox-title-v::after {
  background-color: #40b294;
}

.ct-art-menubox-v:hover {
  background-color: #40b294;
}

.ct-art-menubox-v img {
  filter: invert(60%) sepia(36%) saturate(595%) hue-rotate(114deg) brightness(93%) contrast(93%);
}

.ct-art-menubox-v:hover img {
  filter: invert(100%) sepia(0%) saturate(1683%) hue-rotate(311deg) brightness(101%) contrast(101%);
}

.ct-art-menubox-title-a::after {
  background-color: #dd5330;
}

.ct-art-menubox-a:hover {
  background-color: #dd5330;
}

.ct-art-menubox-a img {
  filter: invert(33%) sepia(94%) saturate(1282%) hue-rotate(346deg) brightness(94%) contrast(83%);
}

.ct-art-menubox-a:hover img {
  filter: invert(100%) sepia(0%) saturate(1683%) hue-rotate(311deg) brightness(101%) contrast(101%);
}

.ct-art-menubox img {
  width: 50px;
  height: 50px;
}

.ct-art-menubox-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  position: relative;
  display: block;
  margin: 20px 0 48px;
  color: var(--color-text-menu-vertical-footer);
}

.ct-art-menubox-title::after {
  position: absolute;
  bottom: -22px;
  left: 50%;
  width: 32px;
  height: 2px;
  margin-left: -16px;
  content: "";
}

.ct-art-menubox:hover>.ct-art-menubox-title::after {
  background-color: var(--color-text-menu-vertical-footer);
}

.ct-art-menubox-text {
  color: var(--color-text-menu-vertical-footer);
}

.ct-art-menubox-lien {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--color-text-menu-vertical-footer);
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 30px;
}

.ct-art-menubox-lien span {
  border-bottom: 1px solid var(--color-text-menu-vertical-footer);
  transition: all 0.25s ease-in-out;
}

.ct-art-menubox:hover>div.ct-art-menubox-lien span {
  position: relative;
  padding-left: 2px;
  transition: transform 0.5s;
}

.ct-art-menubox:hover>div.ct-art-menubox-lien span::before {
  display: inline-block;
  width: 12px;
  height: 8px;
  content: "";
  background-position: center center;
  background-size: cover;
  margin: 0 5px 0 0;
  transition: transform 2s;
  transform: translateX(10px);
}

.ct-home-message {
  background-color: var(--background-header);
  padding: 30px;
  color: var(--color-text-menu-vertical-footer);
  text-align: center;
}

.ct-barre-horizontale {
  height: 5px;
  width: 100%;
  background-color: #00b4e3;
}

.ct-nv-disponible {
  font-size: 10px;
}

.ct-nv-prochainement {
  font-size: 10px;
}

.ct-table-nouveautes a {
  color: var(--color-text-menu-vertical-footer);
}

.ct-table-nouveautes a:hover {
  color: var(--color-text-menu-vertical-footer);
}


/** Menu matériels roulants **/

.ct-art-menubox-autorail {
  /* background-image: url(../images/materiel-roulant/autorail.jpg); */
  background-position: center;
  background-size: cover;
}

.ct-art-menubox-autorail-figure {
  margin: 0;
  background: rgba(255, 0, 0, 0.5);
}

.ct-art-menubox-autorail-figure:hover {
  background: rgba(0, 0, 0, 0.5);
  -webkit-animation-name: ctfadeInOpacity;
  animation-name: ctfadeInOpacity;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-in;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}







/** ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **/

/** A propos de moi ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ **/


.container-skillbar {
  width: 100%;
  height: auto;
  overflow: none;
}

.skillbar {
  position: relative;
  display: block;
  margin-bottom: 30px;
  width: 100%;
  background: var(--background-table-th);
  height: 30px;
  -webkit-transition: 0.4s linear;
  -moz-transition: 0.4s linear;
  -ms-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
  -webkit-transition-property: width, background-color;
  -moz-transition-property: width, background-color;
  -ms-transition-property: width, background-color;
  -o-transition-property: width, background-color;
  transition-property: width, background-color;
}

.skillbar-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  color: var(--color-text-menu-vertical-footer);
  /* mix-blend-mode: difference; */
}

.skillbar-title span {
  display: block;
  padding: 0 20px;
  height: 30px;
  line-height: 30px;
}

.skillbar-bar {
  height: 30px;
  width: 0px;
}

.skill-bar-percent {
  position: absolute;
  right: 10px;
  top: 0;
  font-size: 11px;
  height: 30px;
  line-height: 30px;
  color: var(--text-color);
}


/** ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **/

/** Compétence graphique circulaire -------------------------------------------------------------------------------------------------------------------------------------------------------- **/

.ct-flex-wrapper {
  display: flex;
  flex-flow: row nowrap;
}

.ct-single-chart {
  width: 100%;

}

.ct-circular-chart {
  display: block;
  margin: 10px auto;
  max-width: 50%;
  max-height: 250px;
}

.ct-ct-circle-bg {
  fill: none;
  stroke: var(--background-table-th);
  stroke-width: 3.8;
}

.ct-circle {
  fill: none;
  stroke-width: 3.8;
  animation: ctprogress 3s ease-out forwards;
}

@keyframes ctprogress {
  0% {
    stroke-dasharray: 0 100;
  }
}

.ct-circular-chart.ctblue .ct-circle {
  stroke: #00B4E3;
}

.ct-chart-title {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 400;
}

.ct-percentage {
  fill: var(--text-color);
  font-family: 'Poppins', sans-serif;
  font-size: 4px;
  text-anchor: middle;
}

.ct-interchart {
  height: 30px;
  width: auto;
}

/** ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **/

/** Menu materiels roulants ---------------------------------------------------------------------------------------------------------------------------------------------------------------- **/

.ct-materielsroulants-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
  gap: 10px 0;
  min-height: 250px;
  background-color: var(--background-article);
  text-align: center;
  overflow: hidden;

}

.ct-materielsroulants-menu-image {
  background-repeat: no-repeat;
  background-position: center;
  flex: 1.5;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 250px;
  transition: transform 0.5s;
}




.ct-materielsroulants-menu-image-autorail {
  background-image: url(../images/materiels-roulants/page-materiel-autorail.jpg);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  transform: translateX(-12px);
}

.ct-materielsroulants-menu-image-locomotive {
  background-image: url(../images/materiels-roulants/page-materiel-locomotive.jpg);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  transform: translateX(2px);
}

.ct-materielsroulants-menu-image-wagon {
  background-image: url(../images/materiels-roulants/page-materiel-wagon.jpg);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  transform: translateX(-12px);
}


.ct-materielsroulants-menu-image-border {
  width: 100%;
  height: 250px;
  background-color: #00b4e3;
}

.ct-materielsroulants-menu-image-autorail div.ct-materielsroulants-menu-image-border {
  clip-path: polygon(98% 0, 100% 0, 80% 100%, 78% 100%);
}

.ct-materielsroulants-menu-image-locomotive div.ct-materielsroulants-menu-image-border {
  clip-path: polygon(22% 0, 24% 0, 2% 100%, 0 100%);
}

.ct-materielsroulants-menu-image-wagon div.ct-materielsroulants-menu-image-border {
  clip-path: polygon(98% 0, 100% 0, 80% 100%, 78% 100%);
}

.ct-materielsroulants-menu-paragraphe {
  flex: 2;
  transition: transform 0.5s;
}

.ct-materielsroulants-menu-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  position: relative;
  display: block;
  margin: 20px 0 48px;
}

.ct-materielsroulants-menu-title::after {
  position: absolute;
  bottom: -22px;
  left: 50%;
  width: 32px;
  height: 2px;
  margin-left: -16px;
  content: "";
}

.ct-materielsroulants-menu-mr::after {
  background-color: #00b4e3;
}

.ct-materielsroulants-menu-paragraphe p {
  margin: 0 40px 20px 40px;
}

.ct-materielsroulants-menu-a:hover .ct-materielsroulants-menu-paragraphe {
  transform: translateX(10px);
}

.ct-materielsroulants-menu-a:hover .ct-materielsroulants-menu-image-autorail {
  transform: translateX(-2px);
}

.ct-materielsroulants-menu-a:hover .ct-materielsroulants-menu-image-locomotive {
  transform: translateX(12px);
}

.ct-materielsroulants-menu-a:hover .ct-materielsroulants-menu-image-wagon {
  transform: translateX(-2px);
}

.ct-materielsroulants-menu-a {
  color: var(--text-color);
}




/* .ct-materielsroulants-menu:hover {
  background-color: #00b4e3;
} */

/** ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **/

/** Slider --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **/

.ct-sliderdiapo {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 100%;
}

.ct-sliderdiapo ul {
  position: relative;
  margin: 0;
  padding: 0;
  height: 100%;
  list-style: none;
  left: 0;
  display: flex;
}

/* .ct-sliderdiapo ul li {
  flex: 0 0 100%;
  height: 100%;
  background: #ccc;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.ct-sliderdiapo ul li img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  padding: 1em;
  background: #2a2a2a;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
}

button.prev:hover,
button.next:hover {
  opacity: 1;
}

button.prev {
  left: 0;
  border-radius: 0 2px 2px 0;
}

button.next {
  right: 0;
  border-radius: 2px 0 0 2px;
}
