﻿@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@400;700&display=swap');


* {
    font-family: "Encode Sans", sans-serif;
}

/* Move down content because we have a fixed navbar that is 50px tall */
body {
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

nav {
    padding-top: 20px;
    height: 80px;
}

.buttonsScanner {
    margin: auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    width: calc(100vw - 40px);
}

    .buttonsScanner .grid-element {
        flex: 1 1 calc(14.28vw - 40px);
        margin-left:40px;
    }

    .buttonsScanner a {
        width: calc(14.28vw - 40px);
        display: table-cell;
        height: calc(20vw - 40px);
        vertical-align: middle;
        background-color: rgb(132, 189, 0);
        color: white;
        font-size: 2em;
        cursor: pointer;
    }

    .buttonsScanner .grid-element:first-child {
        /*margin-right: 40px;*/
        margin-left:0px;
    }

    .buttonsScanner .grid-element:last-child {
        /*margin-left: 40px;*/
    }

#modalScanner .modal-body {
    background-color: black;
}

a {
    text-decoration: none !important;
}

footer.footer {
    background-image: url('/interface/arvesta-footer.jpg');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 820px 100%;
    height: 154px;
    margin-top: 50px;
}

#mainPanel {
    min-height: calc(100vh - 284px);
    padding-top: 40px;
}

.btn-primary {
    background-color: rgb(132, 189, 0) !important;
    border-color: rgb(132, 189, 0) !important;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

@media screen and (max-width: 767px) {
    .buttonsScanner {
        width: 300px;
    }
    .buttonsScanner .grid-element {
        flex: 1 1 300px;
        height: 300px;
        margin-bottom:40px;
            margin-left: 0px;
    }

    .buttonsScanner a {
        width: 300px;
        height: 300px;
    }
        .buttonsScanner .grid-element:first-child {
        }

        .buttonsScanner .grid-element:last-child {
            margin-bottom:0px;
        }
}
