﻿html {
    box-sizing: border-box;
}

:root {
    --primary-font: 'Arial nova', 'Agency FB', Arial, Helvetica, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Agency FB';
    src: url('/fonts/agencyr.woff') format('woff'), url('/fonts/agencyb.woff') format('woff');
}

@font-face {
    font-family: 'Arial nova';
    src: url('/fonts/ArialNova.woff') format('woff'), url('/fonts/ArialNova-Bold.woff') format('woff'), url('/fonts/ArialNova-Light.woff') format('woff'), url('/fonts/ArialNovaCond.woff') format('woff');
}

body {
    display: block;
    font-family: 'Arial nova';
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

div {
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    border: 0;
    font: inherit;
    font-size: 100%;
    width: 100%;
}

section:after {
    content: "";
    display: table;
    clear: both;
}

t0 {
    font-family: 'Arial nova';
    font-size: 0.8vw;
    color: #164187; /* azul Imagi*/
}

t1 {
    display: block;
    margin-top: 5px;
    font-family: 'Arial nova', Arial, Helvetica, sans-serif;
    text-align: justify;
    line-height: 120%;
    font-size: 1.3vw;
    color: #164187; /* azul Imagi*/
}

t2 {
    font-family: 'Arial nova';
    font-size: 1.4vw;
    font-style: italic;
    color: #164187; /* azul Imagi*/
}

t3 {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    background-color: transparent;
    letter-spacing: normal;
    text-transform: uppercase;
    border-bottom: none;
    font-family: 'Arial nova',Arial,Helvetica,sans-serif;
    font-size: 1.3vw;
}

t4 {
    display: block;
    font-weight: bold;
    margin-top: 2px;
    margin-bottom: 20px;
    background-color: transparent;
    letter-spacing: 5px;
    text-transform: uppercase;
    border-bottom: none;
    font-family: 'Agency FB', 'Arial Nova', Arial, Helvetica, sans-serif;
    line-height: 130%;
    font-size: 1.8vw;
}

img {
    display: block;
    position: relative;
    width: 100%;
    font-family: "object-fit:cover";
    object-fit: cover;
}

header {
    z-index: 999;
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    height: 85px;
    align-items: center;
    background-color: aliceblue; /*  white */
}

    header::after { /* Clearfix (clear floats) */
        content: "";
        clear: both;
        display: table;
    }

    header .imagiLogo {
        position: relative;
        left: 2%;
        max-width: 10%;
        float: left;
        padding: 5px;
        background-color: transparent;
    }

        header .imagiLogo img:hover {
            box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
        }

    header .imagiTexto {
        position: relative;
        width: 68%;
        float: left;
        color: #164187; /* azul Imagi*/
        margin: 20px 20px 10px 20px;
        letter-spacing: 5px;
        font-family: 'Arial nova';
        font-size: 1.1rem;
        text-align: center;
    }

    header img {
        position: relative;
        max-width: 100%;
    }

    header .imagimenu {
        z-index: 999;
        position: absolute;
        float: left;
        display: block;
        top: 0;
        left: 97%;
        width: 20%;
        color: white;
        font-size: 16px;
        border: none;
    }

        header .imagimenu:hover {
            display: block;
        }

            header .imagimenu:hover .dropbtn {
                color: gray;
            }

    header .imagimenu-content {
        position: absolute;
        display: none;
        top: 50px;
        right: 85%;
        background-color: #005189;
        width: 120px;
        line-height: 150%;
    }

        header .imagimenu-content a {
            color: ghostwhite;
            padding: 2px 2px;
            text-decoration: none;
            display: block;
        }

            header .imagimenu-content a:hover {
                background-color: #ccc;
                color: #005189;
            }

    header .imagimenu:hover .imagimenu-content {
        display: block;
    }

    header .dropbtn {
        position: absolute;
        top: 5px;
        right: 1%;
        background-color: transparent;
        color: #164187; /* azul Imagi*/
        font-size: 40px;
        border: none;
    }

        header .dropbtn::after {
            content: '\22EE'; /* 3 pontos na vertical */
        }

    header .socialbtn {
        z-index: 998;
        position: absolute;
        display: inline-block;
        float: left;
        background-color: transparent;
        top: 10px;
        right: 4%;
        width: 16%;
        border: none;
        visibility: visible;
    }

        header .socialbtn i {
            float: left;
            width: 20%;
            font-size: 32px;
            color: #164187; /* azul Imagi*/
        }

main {
    display: block;
}

.imagiCaixas {
    z-index: 8;
    position: relative;
    overflow: hidden;
    padding: 7em 2em 1em 2em;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.imagiCaixa1 {
    float: left;
    max-width: 33.3%;
}

.imagiCaixa2 {
    float: left;
    max-width: 33.3%;
    padding: 0 1em 0 1em;
}

.imagiCaixa3 {
    float: left;
    max-width: 33.3%;
}

.imagiCaixas img {
    border-radius: 20px;
}

video {
    width: 100%;
    height: auto;
    background-image: url('../images/copyright2.gif');
    background-size: 100%;
}

.imagiProverbio {
    z-index: 3;
    position: relative;
    width: 100%;
    text-align: center;
    padding: 1em 5em 1em 5em;
}

.imagiOqueFazemos {
    z-index: 4;
    position: relative;
    width: 100%;
    background-color: transparent;
    letter-spacing: 5px;
    border-bottom: none;
    font-family: 'Agency FB', 'Arial Nova', Arial, Helvetica, sans-serif;
    line-height: 130%;
    font-size: 1.4vw;
    text-align: left;
    text-transform: uppercase;
    color: #164187; /* azul Imagi*/
    padding: 1em 2em 1em 2em;
}

.separador {
    min-height: 85px;
}

.imagipainel {
    z-index: 2;
    overflow: hidden;
    background-color: transparent;
    background-position: center;
    background-size: cover;
}

    .imagipainel .a45 {
        width: 45%;
    }

    .imagipainel .a55 {
        width: 55%;
    }

    .imagipainel .a100 {
        width: 100%;
    }

    .imagipainel .esq {
        float: left;
    }

    .imagipainel .drt {
        float: right;
    }

    .imagipainel.azulimagi {
        background-color: #005189;
        color: ghostwhite;
    }

    .imagipainel.claroimagi {
        color: #164187; /* azul Imagi*/
    }

    .imagipainel table td {
        font-size: 1.2vw;
        font-family: 'Arial nova',Arial,Helvetica,sans-serif;
        padding-left: 8px;
    }

.imagitexto {
    z-index: 4;
    position: relative;
    white-space: normal;
    padding: 0 2em 0 2em;
}

.imagifoto {
    z-index: 3;
    position: relative;
    vertical-align: middle;
    padding: 0 2em 0 2em;
}

    .imagifoto img {
        width: 100%;
        height: auto;
    }

    .imagifoto embed {
        border-radius: 20px;
    }

.meialua {
    z-index: 2;
    position: absolute;
    top: 50%;
    height: 0;
    margin: -30px auto 0 auto;
}

    .meialua.esq {
        right: -2px;
        text-align: right;
    }

        .meialua.esq.claroimagi {
            font-size: 60px;
        }

            .meialua.esq.claroimagi::after {
                content: '\25D6';
            }

        .meialua.esq.dark {
            font-size: 60px;
            color: #141414;
        }

            .meialua.esq.dark::after {
                content: '\25D6';
            }

        .meialua.esq.azulimagi {
            font-size: 60px;
            color: #005189;
        }

            .meialua.esq.azulimagi::after {
                content: '\25D6';
            }

        .meialua.esq.white {
            font-size: 60px;
            color: #fff;
        }

            .meialua.esq.white::after {
                content: '\25D6'; /* LEFT HALF BLACK CIRCLE*/
            }

    .meialua.drt {
        left: -2px;
    }

        .meialua.drt.claroimagi {
            font-size: 60px;
        }

            .meialua.drt.claroimagi::after {
                content: '\25D7';
            }

        .meialua.drt.dark {
            font-size: 60px;
            color: #141414;
        }

            .meialua.drt.dark::after {
                content: '\25D7';
            }

        .meialua.drt.azulimagi {
            font-size: 60px;
            color: #005189;
        }

            .meialua.drt.azulimagi::after {
                content: '\25D7';
            }

        .meialua.drt.white {
            font-size: 60px;
            color: #fff;
        }

            .meialua.drt.white::after {
                content: '\25D7'; /*RIGHT HALF BLACK CIRCLE*/
            }

footer {
    display: block;
    height: 180px;
    padding: 4px;
    color: #164187; /* azul Imagi*/
    background-color: lightgray;
    border-top: none;
}

    footer .container {
        margin-left: auto;
        margin-right: auto;
        padding-top: 2px;
        padding-bottom: 2px;
    }

        footer .container::before {
            display: table;
            content: " ";
        }

        footer .container:after {
            clear: both;
        }

    footer .row {
        margin-left: 1px;
        margin-right: 1px;
    }

        footer .row::before {
            display: table;
            content: " ";
        }

    footer .col1 {
        width: 80%;
        float: left;
        position: relative;
        min-height: 1px;
    }

    footer .col2 {
        width: 20%;
        right: 2px;
        position: absolute;
        min-height: 1px;
        padding-right: 2px;
        text-align: -webkit-right;
    }

    footer .contactos {
        width: 100%;
        height: 140px;
        float: left;
        padding-left: 10px;
        padding-top: 2px;
        font-size: 1rem;
    }

        footer .contactos i {
            float: left;
            font-size: 1.2rem;
            color: #164187; /* azul Imagi*/
        }

    footer span {
        display: block;
    }

    footer .socialbtn {
        visibility: hidden;
    }

    footer .copyright {
        position: inherit;
        font-size: 0.6rem;
        text-align: center;
        display: inline-block;
    }

        footer .copyright::before {
            display: table;
            content: " ";
        }

#empresa {
    font-family: 'Agency FB';
    font-size: 18px;
}

#local {
    font-family: 'Agency FB';
    font-size: 16px;
}

#separadorlocal {
    width: 100px;
}

/* The Go To Top  Button */
.voltarTopo {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 40px;
    z-index: 99;
    border: none;
    outline: none;
    font-size: 32px;
    color: #164187; /* azul Imagi*/
    cursor: pointer;
    border-radius: 50%;
    opacity: 0.50;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}

    .voltarTopo::after {
        /*        content: '\261D';  /* indicador */
        /*        content: '\21E7';  /* seta */
        /*        content: '\25B3'; /* triangulo */
        content: '\2227'; /* AND */
    }

    .voltarTopo:hover {
        background-color: #164187; /* azul Imagi*/
        color: white;
        opacity: 1.0;
        filter: alpha(opacity=100); /* For IE8 and earlier */
    }


@media only screen and (max-width:800px) {
    /* ##########################################  For mobile phones:  ################################################### */

    html {
        box-sizing: border-box;
    }

    t0 {
        font-size: 60%;
    }

    t1 {
        font-size: 110%;
    }

    t2 {
        font-size: 100%;
    }

    t3 {
        font-size: 100%;
    }

    t4 {
        font-size: 120%;
        margin-top: 5px;
        margin-bottom: 10px;
    }

    header {
        height: 70px;
    }


        header .imagiLogo {
            max-width: 20%;
            padding: 5px 0 0 0;
        }

        header .imagiTexto {
            width: 70%;
            margin: 10px 10px 10px 10px;
            letter-spacing: 2px;
            float: left;
            font-size: 0.8rem;
            word-break: break-word;
        }

        header .imagimenu {
            left: 95%;
        }

            header .imagimenu:hover {
                display: block;
            }

                header .imagimenu:hover .dropbtn {
                    color: gray;
                }

        header .imagimenu-content {
            right: 75%;
        }

            header .imagimenu-content a:hover {
                background-color: #ccc;
                color: #005189;
            }

        header .imagimenu:hover .dropbtn {
            color: gray;
        }


        header .dropbtn {
            top: 3px;
        }

        header .socialbtn {
            visibility: hidden;
        }

    .imagiProverbio {
        padding: 0 1em 0 1em;
    }

    .imagiOqueFazemos {
        font-size: 100%;
        padding: 3em 1em 1em 1em;
    }

    .imagiCaixas {
        padding: 7em 1em 1em 1em;
    }

    .separador {
        min-height: 62px;
    }

    .imagitexto {
        padding: 0 1em 0 1em;
    }

    .imagifoto {
        padding: 0 1em 0 1em;
    }

    footer {
        height: 190px;
        padding: 2px;
    }

        footer .row {
            min-height: 150px;
        }

        footer .contactos {
            height: 155px;
            padding-left: 2px;
            padding-top: 0px;
            font-size: 0.8rem;
        }

        footer .socialbtn {
            height: 40px;
            display: inline-block;
            visibility: visible;
        }

            footer .socialbtn i {
                float: right;
                width: 25px;
                font-size: 24px;
                color: #164187; /* azul Imagi*/
            }

    #separadorlocal {
        width: 50px;
    }

    video {
        max-width: 100%;
        height: auto;
    }

    .imagipainel table td {
        font-size: 14px;
    }

    .imagipainel .a45 {
        width: 100%;
    }

    .imagipainel .a55 {
        width: 100%;
        margin-top: 5px;
    }

    .meialua {
        display: none;
    }
}
