﻿.armadillo-page { }

.armadillo-page .flexible { display: grid; }

.armadillo-page .flexible > .flexible-item {
    display: flex;
    justify-content: center;
}

.armadillo-page .flexible-4 > .flexible-item .img-fluid {
    filter: grayscale(100%) opacity(.6);
}

.armadillo-page .flexible-4 > .flexible-item .img-fluid:hover {
    filter: grayscale(0) opacity(1);
    transition-property: filter;
    transition-duration: .2s;
}

.armadillo-page .flexible > .flexible-item:nth-child(1) { grid-area: a; }

.armadillo-page .flexible > .flexible-item:nth-child(2) { grid-area: b; }

.armadillo-page .flexible > .flexible-item:nth-child(3) { grid-area: c; }

.armadillo-page .flexible > .flexible-item:nth-child(4) { grid-area: d; }

.armadillo-page .flexible > .flexible-item:nth-child(5) { grid-area: e; }

.armadillo-page .flexible > .flexible-item:nth-child(6) { grid-area: f; }

.armadillo-page .flexible > .flexible-item:nth-child(7) { grid-area: g; }

.armadillo-page .flexible > .flexible-item:nth-child(8) { grid-area: h; }


.armadillo-page .flexible-1 { grid-template-areas: "a"; }

.armadillo-page .flexible-2 { grid-template-areas: "a" "b"; }

.armadillo-page .flexible-3 { grid-template-areas: "a" "b" "c"; }

.armadillo-page .flexible-4 { grid-template-areas: "a" "b" "c" "d"; }

.armadillo-page .flexible-5 { grid-template-areas: "a" "b" "c" "d" "e"; }

.armadillo-page .flexible-6 { grid-template-areas: "a" "b" "c" "d" "e" "f"; }

.armadillo-page .flexible-7 { grid-template-areas: "a" "b" "c" "d" "e" "f" "g"; }

.armadillo-page .flexible-8 { grid-template-areas: "a" "b" "c" "d" "e" "f" "g" "h"; }

.armadillo-page .flexible-tetris3 { grid-template-areas: "a b" "a c"; }

.carousel-inner {
    position: relative;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

    .carousel-controls button {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.7);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: all;
        margin: 0 1rem;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(1); 
}
.armadillo-page .carousel-indicators > * {
    background-color: #000;
    border: 2px solid #ddd;
    border-radius: 7px;
    height: 10px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    width: 10px;
}

.armadillo-page .carousel-indicators > .active {
    background-color: #d00;
    border-color: #d00;
    border-radius: 0;
    opacity: 0.9;
}

.armadillo-page .flexible.bus {
    gap: 3rem;
    grid-template-areas: "a b" "c d" "e f";
    justify-items: center;
    margin-bottom: 1rem;
}

.armadillo-page .flexible.bus > .flexible-item {
    background-position: center;
    background-repeat: no-repeat;
    height: 10rem;
    width: 100%;
    max-width: 160px;
    transition: all .2s ease-in-out;
    transform: scale(0.9);
}

.armadillo-page .flexible.bus > .flexible-item.current {
    border-bottom: 3px solid #d00;
}

.armadillo-page .flexible.bus > .flexible-item:hover {
    transform: scale(1);
}

.armadillo-page .flexible.bus .flexible-item.bu-it { background-image: url(/img/start/bu-it.svg); }

.armadillo-page .flexible.bus .flexible-item.bu-av { background-image: url(/img/start/bu-av.svg); }

.armadillo-page .flexible.bus .flexible-item.bu-security { background-image: url(/img/start/bu-security.svg); }

.armadillo-page .flexible.bus .flexible-item.bu-lite { background-image: url(/img/start/bu-lite.svg); }

.armadillo-page .flexible.bus .flexible-item.bu-paud { background-image: url(/img/start/bu-paud.svg); }

.armadillo-page .flexible.bus .flexible-item.bu-caud { background-image: url(/img/start/bu-caud.svg); }

/* Always show indicators (dots) */
.carousel-controls {
    opacity: 0;
    transition: opacity 0.3s;
}

.carousel-wrapper:hover .carousel-controls {
    opacity: 1;
}

.carousel-hover-indicators {
    opacity: 1;
    transition: opacity 0.3s;
}

@media (min-width: 576px) {
    .armadillo-page .flexible-2 { grid-template-areas: "a" "b"; }

    .armadillo-page .flexible-4 { grid-template-areas: "a b" "c d"; }

    .armadillo-page .flexible-5 { grid-template-areas: "a a b b c c" ". d d e e ."; }

    .armadillo-page .flexible-6 { grid-template-areas: "a b c" "d e f"; }

    .armadillo-page .flexible-7 { grid-template-areas: "a a b b c c d d" ". e e f f g g ."; }

    .armadillo-page .flexible-8 { grid-template-areas: "a b c d" "e f g h";}

    .armadillo-page .flexible.bus { grid-template-areas: "a b c" "d e f"; }
}

@media (min-width: 768px) {
    .armadillo-page .flexible-1 { grid-template-areas: "a"; }

    .armadillo-page .flexible-2 { grid-template-areas: "a b"; }

    .armadillo-page .flexible-3 { grid-template-areas: "a b c"; }

    .armadillo-page .flexible-4 { grid-template-areas: "a b c d"; }

    .armadillo-page .flexible-5 { grid-template-areas: "a b c d e"; }

    .armadillo-page .flexible-6 { grid-template-areas: "a b c d e f"; }

    .armadillo-page .flexible-7 { grid-template-areas: "a b c d e f g"; }

    .armadillo-page .flexible-8 { grid-template-areas: "a b c d e f g h"; }
}

@media (min-width: 992px) {
    .armadillo-page .flexible.bus { grid-template-areas: "a b c d e f"; }
}

@media (min-width: 1200px) {
}


/* Text templates */
.armadillo-page .text.manhattan { color: #999; }

.armadillo-page .text.manhattan h1,
.armadillo-page .text.manhattan h2,
.armadillo-page .text.manhattan h3,
.armadillo-page .text.manhattan h4,
.armadillo-page .text.manhattan h5,
.armadillo-page .text.manhattan h6 {
    font-family: "Times New Roman", arial, serif;
    color: #999; 
    text-align: center;
}

.armadillo-page .text.manhattan h1 { font-size: 3.0rem; }
.armadillo-page .text.manhattan h2 { font-size: 2.8rem; }
.armadillo-page .text.manhattan h3 { font-size: 2.6rem; }
.armadillo-page .text.manhattan h4 { font-size: 2.4rem; }
.armadillo-page .text.manhattan h5 { font-size: 2.2rem; }
.armadillo-page .text.manhattan h6 { font-size: 2.0rem; }

.armadillo-page .text.venedig {
    font-size: 1.2rem;
    font-style: italic;
}

