@charset "utf-8";
/*!
 * @title OAG template - overrides Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
 * v1.0.0 - 2025-02-21
 *
 */
:root {
    --primary-color:#1a303c;
    --secondary-color: #4c0c31;
    --link-color: #803d2d;
    --hover-color: #bfb33c;
    --font-size: 24px;
    --primary-font: 'Lora', Georgia, Cambria, 'Times New Roman', Times, serif;
    --secondary-font: 'Roboto', sans-serif;

}
.oag-theme {    
    main {
        font-size: var(--font-size);
    }
    main .h2, main a {
        font-family: var(--primary-font);
        font-weight: 100;
    }   
    .gc-srvinfo a{
        font-family: var(--secondary-color);
    }
    .lead {
        font-size: 2.5em;
        font-weight: 100;
        line-height: 1.2;
    }
    header {
        .brand {
            img, object {
                max-height: none;
            }
            a {
                display: inline-block;
                width: fit-content;
            }
        }
        #wb-srch {
            align-self: end;
        }
    }

    h1#wb-cont, hgroup#wb-cont h1 {
        border-bottom: .18em solid var(--primary-color);
        -o-border-image: linear-gradient(to right, var(--primary-color) 71px,transparent 71px);
        border-image: linear-gradient(to right,var(--primary-color) 71px,transparent 71px);
        border-image-slice: 100%;
        border-image-slice: 1;
        border-left-width: 0;
        border-right-width: 0;
        border-top-width: 0;
      }

    .btn-primary {
        background-color: var(--secondary-color);
        border-color: #26374a;
        border-radius: unset;

        &:hover {
            background-color: #1A303C;
            border-color: #091c2d;
        }
    }

    .alert-info {
        border-color: var(--link-color);
        border-image: linear-gradient(to bottom, 
            var(--link-color) 16px, var(--link-color) 16px, 
            transparent 16px, transparent 48px, 
            var(--link-color) 48px, var(--link-color) 48px
        ) 1 100%;
        color: #676C72;

        &::before {
            color: var(--link-color);
        }

        & > :last-child {
           padding-bottom: 0px;
        }

    }
    .reports-ctnr {
        display: flex;              
        flex-direction: column;    
        justify-content: space-between; 
        height: 100%;              
        position: relative;
        h3 {
            width: fit-content;
        }
        .alert.alert-info {
            margin-bottom: auto;       
        }        
    }   
   
    .btn-link {
        color: var(--link-color);
        background: linear-gradient(to right, var(--hover-color) 0%, var(--hover-color) 100%);
        background-size: 0% 100%;
        background-repeat: no-repeat;
        transition: background-size 0.3s ease-in-out;
        position: relative;
        overflow: hidden;
    
        &:hover {
            background-size: 100% 100%; 
            color: var(--primary-color);
            text-decoration: none;
        }
        &:not(:hover) {
            background-size: 0% 100%;
            transition: none;
        }
    }
        
    .label-primary {
        background: #E3E0D3;
        border-color: #908F84;
        color: #4B5B62;
    }

    .text-primary {
        color: var(--primary-color);
    }

    .well {
        border: 2px solid #908F84;
    }

    .home {
        .report {
            section {
                background-color: white;
            }
        }
    }   

    .panel-default {
        border: 1px solid transparent;
        background-color: #F4F4F2;
    }
    blockquote footer {
        font-size: 100%;
        line-height: 1.4375;
        color: #262d35;
        cite span {
            font-weight: 700;
        }
    }
    .reports {
        font-size: 20px;
        line-height: 1.2;
    
        hgroup {
            display: flex;
            align-items: center;
            gap: 15px;
    
            h3, p {
                margin: 0;
            }

            h2 + p {
                font-weight: 700;
            }
    
            p {
                font-size: 14px;
                font-weight: 700;
            }
        }
    }

    hgroup {
        h2 + p {
            font-weight: 700;
        }
    }

    @media (max-width: 767px) {
        .oag-footer-logo {
            padding-bottom: 15px;
        }

        .lead   {
            font-size: 1em;
        }
    }

    @media (max-width: 991px) {
       
        .lead   {
            font-size: 1.5em;
        }
    }
    
    
}



