/* CUSTOM STYLESHEET */

body {
    padding: 0;
    margin: 0;
}

main {
    grid-column: 1 / span 1;
    background-color: #fff;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    grid-template-rows: auto 1fr; /* Ajout de cette ligne */
    height: 100%; /* Ajout de cette ligne */
    margin: 0 auto;
    text-align: center;	
}

hr {
    border-top: 2px dotted #335377;
}

.content {
    display: flex;
    align-items: center;
    padding-right: 3em;
    padding-left: 3em;
    margin: 150px 0 !important;
}

.image {
    height: 500px;
    background-image: url('image.jpg');
    background-size: cover;
    background-position: top;
    border-radius: 10px;
    grid-row: 1 / span 2;
}

.text {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.text:nth-of-type(odd) {
  background-color: #f1f1f1; /* Couleur de fond pour les zones de texte impaires (1�re et 3�me) */
}

.text:nth-of-type(even) {
  background-color: #e5e5e5; /* Couleur de fond pour les zones de texte paires (2�me et 4�me) */
}

.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.search-form {
    display: flex;
    align-items: center;
}

.search-input {
    font-size: 18px;
    padding: 5px 10px;
    width: 500px;
    border: 1px solid #ccc;
}

.search-button {
    background-color: transparent;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.news-container {
    display: flex;
    flex-direction: column;
}

.news {
    margin-top: 0;
}

.news-title {
    font-size: 20px;
    font-weight: bold;
	text-align: left;
    margin: 0;
    color: #444;
}

.news-author {
    font-size: 10px;
    font-weight: bold;
	text-align: left;
    color: #666;
    margin: 0;
}

.news-published-at {
    color: #999;
    margin-left: 5px;
}

.news-image {
    max-width: 100%;
}

.news-text {
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
    text-justify: inter-word;
}

.news-more {
  display: block;
  text-align: left;
  margin-top: 10px;
}

.room-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    color: #444;
}

.laser {
    list-style: none;
    border-style: dashed;
    border-color: gray;
    padding: .5em 1em;
    margin-bottom: 1em;
    text-align: right;
}

.synova {
    color: #335377;
    text-decoration: none;
    line-height: 2em;
    font-size: 16px;
    font-weight: bold;
}

.fullscreen-video {
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -10;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    /*display:flex;
    justify-content:center;
    line-height:1em;*/
    z-index:0;
    font-size: 6px;
    font-weight: bold;
    color: white;
    
}

.overlay p {
   text-align: center;
}

.tab {
    position:absolute;
    left:300px; 
}

.navbar .navbar-brand img {
    margin-top: 0!important;
}

body.homepage .btn {
    font-size: 12px;
}

.form-control {
    padding: 0;
}

.me-2 {
    max-width: 320px;
    padding: 5px;
}

.d-flex {
    justify-content: center;
}

.d-flex .btn-outline-success {
    margin-left: 15px;
    padding: 10px 15px;
    font-size: 13px;
    color: white;
    border: 1px solid;
}

.d-flex .btn-primary {
    margin-top: 30px;
}

.home {
    display: flex;
    align-items: center;
    background-image: url('../img/lasercutting.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: whitesmoke;
    max-height: 550px;
}

.lead {
    font-weight: 500;
}

.bold {
    font-weight: bold;
}

.nova {
    font-weight: 700;
}

.btn-primary {
    color: whitesmoke;
    background: #002854;
}

input[type="search"] {
    display: flex;
    align-items: center;
    max-width: 500px;
}

.bg-corporate {
    background-color: #002854;
    color: #fff;
}

.text-muted {
    color: white !important;
}

#navbarSupportedContent {
    --bs-bg-opacity: 1;
    background-color: rgba(248,249,250);
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

@media only screen and (max-width: 996px) {
    .search-form {
        display: none !important;
    }

    #navbarSupportedContent {
        --bs-bg-opacity: 1;
        background-color: rgba(248,249,250);
    }
}