/*
 * ArchiBIM.css - CSS extrait de FWK_Flask_ModifCSS.py
 * Date: 12 mai 2026
 * Source: Fonction Debut() et NavSideI()
 */

/* ============================================
 * Variables CSS (correspondent aux variables Python)
 * ============================================ */
:root {
    --cl1: #ff6249;
    --cl2: #4A6B9D;
    --cl3: #88578C;
    --cl4: #A92190;
    --cl5: #7AB8BC;
    --cl6: #5E8AA5;
    --texte: #303030;
    --couleur1: #303030;
    --couleur2: var(--cl2);
    --couleur3: #FF3000;
    --fond: #FFF;
    --transparence: 0.95;
    --padding-left: 50px;
}

/* ============================================
 * CSS de la fonction Debut()
 * ============================================ */

/* Body et typographie */
body {
    font: 400 15px Lato, sans-serif;
    padding-left: var(--padding-left);
    line-height: 1.8;
    color: #818181;
    background-color: var(--fond);
}

h1 {
    font-size: 27px;
    text-transform: uppercase;
    color: var(--cl2);
    font-weight: 600;
    padding-top: 50px;
}

h2 {
    font-size: 24px;
    color: var(--cl2);
    padding-top: 20px;
    margin-bottom: 0px;
}

h3 {
    font-size: 18px;
    background-color: var(--fond);
    color: var(--cl2);
    margin-top: 10px;
    margin-bottom: 0px;
}

h4 {
    font-size: 19px;
    line-height: 1.375em;
    color: var(--texte);
    font-weight: 400;
}

p {
    font-size: 15px;
    line-height: 1.375em;
}

kbd {
    font-size: 14px;
}

.blanc {
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
}

/* Tableaux */
th {
    margin-top: 10px;
    line-height: 1.5em;
    border: 0px solid;
    text-align: center;
    color: var(--cl2);
}

td {
    line-height: 1.2em;
    padding: 0px 20px;
}

tr {
    line-height: 1em;
}

hr {
    margin-top: 0px;
    margin-bottom: 2px;
    border-color: var(--cl2);
}

strong {
    color: var(--cl2);
}

red {
    color: var(--cl1);
}

green {
    color: green;
}

blue {
    color: var(--cl2);
}

blockquote {
    border-left: 1px solid var(--cl2);
}

.bg-grey {
    background-color: var(--couleur3);
}

.logo-small {
    color: var(--cl2);
    font-size: 15px;
}

.logo-medium {
    color: var(--cl2);
    font-size: 50px;
}

.logo {
    color: var(--cl2);
    font-size: 200px;
}

.thumbnail {
    padding: 0 0 15px 0;
    border: 15px;
    border-radius: 0;
}

.glyphicon {
    color: var(--cl2);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}

.carousel-control.right, .carousel-control.left {
    background-image: none;
    color: var(--cl2);
}

.carousel-indicators li {
    border-color: var(--cl2);
}

.carousel-indicators li.active {
    background-color: var(--cl2);
}

.carousel-caption {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--texte);
    font-size: 15px;
}

.item h4 {
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    font-style: italic;
    margin: 70px 0;
}

.item span {
    font-style: normal;
}

/* Listes */
ul {
    margin-before: 1em;
    margin-top: 0;
    margin-left: 15px;
    padding: 0;
}

/* Panels */
.panel {
    border: 1px solid var(--texte);
    border-radius: 0 !important;
    transition: box-shadow 0.5s;
}

.panel:hover {
    box-shadow: 5px 0px 40px rgba(0, 0, 0, 1);
}

.panel-footer .btn:hover {
    border: 1px solid var(--cl2);
    background-color: white !important;
    color: var(--cl2);
}

.panel-heading {
    color: #fff !important;
    background-color: #eee !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.panel-footer h3 {
    font-size: 32px;
}

.panel-footer h4 {
    color: #bbb;
    font-size: 14px;
}

/* Navbar */
.navbar {
    margin-bottom: 0;
    z-index: 99;
    border: 2;
}

.navbar li a, .navbar .navbar-brand {
    color: var(--cl2) !important;
    font-size: 15px;
    letter-spacing: 0px;
}

.navbar-nav li a:hover, .navbar-nav li.active a {
    color: var(--cl1) !important;
    background-color: #fff !important;
}

.navbar-default .navbar-toggle {
    border-color: transparent;
    color: #fff !important;
}

.fa-caret-down {
    float: right;
    padding-right: 8px;
}

footer .glyphicon {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--cl6);
}

/* Animations */
.slideanim {
    visibility: hidden;
}

.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

/* Media Queries */
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }
    .sidenav a {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .col-sm-4 {
        text-align: center;
        margin: 25px 0;
    }
    .btn-lg {
        width: 100%;
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 1200px) {
    .logo {
        font-size: 150px;
    }
}

/* ============================================
 * CSS de la fonction NavSideI()
 * ============================================ */

/* Sidenav principal */
.sidenav {
    height: 100%;
    width: 40px;
    position: fixed;
    z-index: 999;
    vertical-align: middle;
    top: 0;
    left: 0;
    background-color: var(--texte);
    overflow-x: hidden;
    padding-top: 0;
    transition: 0.3s;
}

.sidenav:hover {
    width: 280px;
    transition: 0.5s;
    color: var(--cl1);
    text-align: left;
}

/* Liens dans le sidenav */
.sidenav a {
    padding: 10px;
    text-decoration: none;
    font-size: 15px;
    color: white;
    display: block;
    transition: 1s;
    white-space: nowrap;
}

.sidenav a:hover {
    font-size: 20px;
    color: var(--cl1);
    transition: 0.5s;
}

.sidenav span:hover {
    font-size: 20px;
    color: var(--cl1);
    transition: 0.5s;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    text-align: left;
}

.sidenav .Vert {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    writing-mode: lr-tb;
    text-align: left;
    top: 0;
    left: 0;
}
