@import url(Roboto.css);
@import url(RobotoCondensed.css);
@import url(RobotoSlab.css);

body {
    margin: 0;
    padding: 0;

    height: 100vh;

    width: 100%;
    font-family: Roboto-Light;
    font-size: 15px;
    color: #000000;
    /*
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    */
}

h2,
p {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

a,
a:visited,
a:hover,
a:active {
    color: inherit;
}

form {
    height: 100%;
}

input,
select,
textarea,
button {
    outline: 0;
}

input[type=text],
input[type=password],
input[type=number]{
    width: 100%;
    height: 35px;

    border: 0;
    border-bottom: 1px solid #333333b8;
    border-radius: 0px;
    box-sizing: border-box;

    padding-left: 15px;
    padding-right: 15px;

    background: transparent;
    color: #333333;
}

input:focus,
select:focus,
textarea:focus {
    border: 2px solid #3399cc;
}

select {
    width: 100%;
    height: 35px;

    border: 0;
    border-bottom: 1px solid #333333b8;
    border-radius: 0px;
    box-sizing: border-box;

    padding-left: 10px;
    padding-right: 10px;

    background: transparent;
    color: #333333;
}

textarea {
    width: 100%;

    border-radius: 0px;
    border: 1px solid #333333b8;
    box-sizing: border-box;

    padding: 5px 14px;

    background: transparent;
    color: #333333;

    resize: none;
}

input[type=submit], button[type=submit]:not(.idp-button-idp-logo) {
    width: 100%;
    height: 35px;
    border-radius: 0px;
    border: 0;

    box-sizing: border-box;

    background: #3399cc;
    color: #fff;

    font-family: Roboto-Black;
    font-size: 0.8 empx;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #333333;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #333333;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #333333;
}

.form-field-wrapper {
    width: 100%;

    display: flex;
    flex-direction: column;

    margin-bottom: 25px;
}

.form-field-wrapper label {
    order: -1;

    font-size: 1.05em;
    font-weight: 600;
    color: #000000b8;

    margin-bottom: 4px;
}

input:focus + label,
select:focus + label,
textarea:focus + label {
    color: #3399cc;
    font-size: 1.1em;
}

.error-label {
    width: 100%;
    text-align: center;

    margin-top: 3px;

    color: #c01111;

    font-family: Roboto-Black;
}

.background-gray {
    background-color: #f7f7f7;
}

.page-wrapper-head {
    height: 45%;
    width: 80%;
    padding-left: 10%;
    padding-right: 10%;

    overflow: auto;

    background-color: #3399cc;
}

.head-wrapper {
    height: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo-wrapper {
    width: 50%;

    display: inline-block;
    text-align: left;
}

.logo-wrapper img {
    height: auto;
    max-height: 100%;
    width: 80%;
    max-width: 300px;
}

.info-wrapper {
    width: 50%;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    text-align: right;
}

.info-wrapper .info-head {
    width: 100%;
    max-width: 250px;
    float: right;
    clear: both;

    padding-bottom: 2px;
    border-bottom: 1px solid #333333;

    margin-bottom: 3px;

    font-size: 1.5em;
    font-family: Roboto-Black;
}

.info-wrapper .info-text {
    margin-bottom: 3px;
    float: right;
    clear: both;

    padding-top: 1px;
    padding-bottom: 1px;

    font-size: 1em;
    font-weight: 300;
}

.link-section {
    width: 100%;
    align-self: flex-start;

    margin-top: 20px;
    margin-bottom: 20px;

    display: flex;
    flex-direction: row;
    align-items: center;

    font-weight: 800;
}

.link-section img {
    height: 25px;
}

/*.link-section span::before {*/
/*    content: "";*/
/*    height: 60px;*/
/*    width: 1px;*/

/*    margin-right: 5px;*/

/*    box-sizing: border-box;*/
/*}*/

.link-section span {
    font-size: 2em;
}

.link-section-button {
    width: 80px;
    height: 35px;
    border-radius: 0;
    border: 0;
    box-sizing: border-box;
    background: #3399cc;
    color: #fff;
    font-family: Roboto-Black;
    font-size: 0.8 em;
}

.link-section.link-section-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: 100%;
}

.guide-section {
    width: 100%;

    margin-bottom: 30px;

    text-align: justify;
}

.search-section {
    width: 100%;

    margin-bottom: 30px;
}

.container-fluid {
    display: flex;
    flex-direction: row;
}

.main-panel {
    display: flex;
    flex-direction: column;

    width: calc(100% - 250px);
    min-height: calc(100vh - 200px);

    margin-top: 100px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 100px;
}

.breadcrumb {
    padding: 10px 2%;
    background-color: #ffffff;

    display: flex;
    flex-direction: row;
    align-items: center;

    margin-bottom: 30px;
}

.breadcrumb-item {
     font-family: Roboto-Light;
     font-size: 1.1em;
     color:#000;
 }

.breadcrumb-item:hover {
    color:#3399cc;
    text-decoration: underline;
}

.breadcrumb-item-active {
    font-family: Roboto-Light;
    font-size: 1.1em;
    color:#3399cc;
}

.breadcrumb-separator {
    font-family: Roboto-Light;
    font-size: 0.9em;
    color:#000;
    margin: 0 5px;
}

.page-wrapper-content {
    min-height: 100%;

    box-sizing: border-box;

    padding: 2%;

    background-color: #ffffff;

    overflow: visible;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.page-wrapper-content.no-center {
    align-content: inherit;
    align-items: inherit;
}

.page-wrapper-content.align-top {
    align-content: flex-start;
}

.page-wrapper-content-small {
    width: 50%;
}

.action-button-round {
    width: 200px;
    height: 200px;

    margin: 15px;

    background: none;
    border: 2px solid #3399cc;
    border-radius: 25px;
    box-sizing: border-box;

    padding: 10px;

    -webkit-box-shadow: 0px 0px 40px 0px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0px 0px 40px 0px rgba(51, 51, 51, 0.5);
    box-shadow: 0px 0px 40px 0px rgba(51, 51, 51, 0.5);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.action-button-round img {
    height: 50px;
    margin: 5px;
    width: auto;
}

.action-button-round span {
    font-size: 1.4em;
}

.action-button-round:hover {
    background-color: #3399cc;
    color: white;
}

.action-button-square {
    width: 200px;
    height: 200px;

    margin: 15px;

    background: none;
    border: 2px solid #3399cc;
    box-sizing: border-box;

    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.action-button-square img {
    height: 50px;
    margin: 5px;
    width: auto;
}

.action-button-square span {
    font-size: 1.4em;
}

.action-button-square:hover {
    background-color: #3399cc;
    color: white;
}

.info-section {
    width: 100%;

    margin-bottom: 10px;
}

.info-section .error-label {
    text-align: left;
}

.form-wrapper {
    width: 100%;

    margin-top: 10px;
}

.inline-form-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.inline-form-field-wrapper {
    position: relative;
    flex-basis: auto;
    flex-grow: 1;
    margin-right: 15px;
    margin-bottom: 25px;

    display: flex;
    flex-direction: column;
}

.inline-form-field-wrapper:last-of-type {
    margin: 0px;
}

.inline-form-field-wrapper label {
    order: -1;

    font-size: 1.05em;
    font-weight: 600;
    color: #000000b8;

    margin-bottom: 4px;
}

.inline-form-field-wrapper:last-child {
    margin-right: 0px;
}

.error-label {
    width: 100%;
    text-align: center;

    margin-top: 3px;

    color: #c01111;

    font-family: Roboto-Black;
}

.bottone-azione {
    width: 30px;
    height: 30px;

    padding: 2px;
    margin: 3px;

    font-size: 1em;
    color: #fff;

    background: #3399cc;
    border: 0;
    border-radius: 5px;
}

.bottone-azione:hover {
    background: #044260;
}

.bottone-azione.red {
    background: #ec3333;
}

.bottone-azione.red:hover {
    background: #8f0202;
}

.bottone-azione.green {
    background: #01a401;
}

.bottone-azione.green:hover {
    background: #016e01;
}

.bottone-icona {
    height: 32px;
    width: 32px;

    margin: 0px 2px;

    display: block;

    background: none;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    cursor: pointer;

    border:0;
}

.bottone-icona.csv {
    background-image: url(../images/csv.png);
}

/* tabelle */

.table-wrapper {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 25px;
}

.table-wrapper table {
    width: 100%;
}

.table-title {
    padding-bottom: 3px;
    border-bottom: 2px solid #333333;
    margin-bottom: 5px;

    font-size: 1.4em;

    display: flex;
    align-items: flex-end;
}

.table-title .action-wrapper {
    margin-left: auto;
}

.table-header, .table-header-special {
    font-family: Roboto-Black;
    color: #3399cc;
}

.table-responsive-header, .table-responsive-header-special {
    margin-right: 2px;
    font-family: Roboto-Black;
    color: #3399cc;
    display: none;

}

.table-responsive-header::after {
    content: ":";
}

.section, .section-special {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.box, .box-special {
    flex-basis: 0;
    flex-grow: 5;

    padding: 8px 3px;

    display: flex;
    align-items: center;

    word-break: break-word;
}

.table-button-wrapper {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-start;
}

.data:nth-of-type(odd) {
    background-color: #e5eaf3;
}

.data:nth-of-type(even) {
    background-color: #ffffff;
}

/* index */

.page-wrapper-index {
    height: 100%;
    width: 60%;

    padding-left: 20%;
    padding-right: 20%;

    overflow: auto;

    background-color: #f7f7f7;
}

.logo-wrapper-index {
    height: 25%;
    width: 100%;

    margin-top: 50px;
    margin-bottom: 50px;

    text-align: center;
}

.logo-wrapper-index img {
    height: 100%;
    width: auto;
}

.info-wrapper-index {
    width: 100%;
    text-align: center;

    margin-top: 100px;
}

.form-wrapper-index {
    width: 100%;
    max-width: 300px;
    margin: auto;

    margin-top: 20px;
}

.form-submit-wrapper {
    width: 80%;
    max-width: 300px;
    margin: auto;

    margin-bottom: 15px;
}

/* aggiungi_articolo.php */

.qr-section {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    margin-top: 10px;
    margin-bottom: 50px;
}

.qr-wrapper {
    text-align: center;
}

/* FILE */
.allegati-wrapper {
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.file-allegato-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 5px;
}

.file-allegato-wrapper img {
    height: 50px;
    width: auto;

    margin: 5px;
}

.file-allegato-wrapper span {
    width: 100px;
    height: 30px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

/ / overflow: hidden;

    font-family: Roboto-Medium;
    font-size: 1em;
    text-align: center;

    word-break: break-all;
}

/* PAGINATION */
.pagination-wrapper {
    width: 100%;

    margin: 15px 0px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-wrapper .page-link {
    height: 30px;
    width: 30px;

    margin: 2px;

    border: 1px solid #949494;
    border-radius: 5px;

    color: #3399cc;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-wrapper .page-link.selected {
    border: 1px solid #3399cc;

    background-color: #3399cc;

    color: #ffffff;
}

.articoli-wrapper {
    width: 100%;

    display: flex;
    flex-wrap: wrap;
}

.articoli-wrapper .articolo {
    margin: 15px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.articoli-wrapper .articolo img {
    width: 80px;
    height: 120px;

    margin-bottom: 7px;

    object-fit: cover;

    border: 2px solid #797979;
}

.articoli-wrapper .articolo .title {
    display: -webkit-box;

    width: 120px;
    height: 35px;
    margin-bottom: 6px;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.articoli-wrapper .articolo a {
    padding: 3px 5px;

    box-sizing: border-box;

    background: #01a401;
    border-radius: 3px;

    color: white;
    font-family: Roboto-Italic;
    font-size: 0.8em;
}

.articoli-wrapper .articolo span {
    padding: 3px 5px;

    box-sizing: border-box;

    background: #8f0202;
    border-radius: 3px;

    color: white;
    font-family: Roboto-Italic;
    font-size: 0.8em;

    cursor: not-allowed;
}

.articoli-carrello{
    height: 13px;
    width: 13px;
    padding: 5px;

    border-radius: 50px;

    background: white;
    color: black;
    font-family: Roboto-Bold;
    font-size: 0.8em;

    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.esito {
    font-family: Roboto-Black;
    font-size: 1em;
}

.esito.positivo {
    color: #016e01;
}

.esito.negativo {
    color: #8f0202;
}

.ml-auto{
    margin-left: auto;
}

.ritiri-wrapper{
    width: 100%;
    height: auto;

}

.ritiri-citta-wrapper{
    width: 100%;

    margin-bottom: 30px;

    display: flex;
    flex-direction: row;
    align-content: stretch;

    border: 2px solid #ccc;
}

.ritiri-citta-wrapper .comune{
    width: 30%;

    display: flex;
    justify-content: center;
    align-items: center;

    border-right: 1px solid #ccc;

    color: #3399cc;
    font-family: Roboto-Bold;
    font-size: 1.3em;
}

.ritiri-citta-wrapper .ritiro{
    width: 100%;

    padding: 10px;

    box-sizing: border-box;
    border-bottom: 1px solid #ccc;

    display: flex;
}

.ritiri-citta-wrapper .ritiro:last-of-type{
    border-bottom: 0;
}

.success-label{
    padding: 3px 5px;

    box-sizing: border-box;

    background: #01a401;
    border-radius: 3px;

    color: white;
    font-family: Roboto-Italic;
    font-size: 0.8em;
}

/* integrazione struttura view index */

.page-content-index {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: space-between;
}

.content-index {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-index.left-index {
    align-self: flex-start;

    flex-basis: 48%;

    text-align: justify;
}

.content-index.right-index {
    flex-basis: 50%;

    justify-content: center;
}

@media screen and (max-width: 768px) {
    .content-index.left-index {
        flex-basis: 100%;
    }

    .content-index.right-index {
        flex-basis: 100%;
    }
}

/* responsive */

@media screen and (max-width: 768px) {
    .main-panel {
        width: 100%;

        margin-left: 20px;
        margin-right: 20px;
    }

    .breadcrumb {
        flex-direction: column;

        margin-bottom: 22px;
    }

    .breadcrumb-separator {
        display: none;
    }

    .breadcrumb-item {
        margin: 3px;
    }

    .breadcrumb-item-active {
        margin: 3px;
    }

    .page-wrapper-content {
        min-height: initial;
    }
}

/* tabelle responsive */
@media only screen and (max-width: 768px) {
    .section {
        flex-direction: column;
    }

    .box {
        width: 100%;
        flex-basis: unset;
        flex-grow: unset;
    }

    .table-header {
        display: none;
    }

    .table-responsive-header {
        display: inline;
    }
}

@media screen and (max-width: 576px) {
    .logo-wrapper-index img {
        height: 65%;
        width: auto;
    }

    .main-panel {
        margin-left: 10px;
        margin-right: 10px;

        margin-top: 90px;
        margin-bottom: 20px !important;

        width: 100%;
        min-height: calc(100vh - 110px) !important;
    }

    .page-wrapper-content {
        width: 100%;
    }

    .breadcrumb {
        flex-direction: column;

        margin-bottom: 22px;
    }

    .breadcrumb-separator {
        display: none;
    }

    .breadcrumb-item {
        margin: 3px;
    }

    .breadcrumb-item-active {
        margin: 3px;
    }

    .page-wrapper-content {
        min-height: initial;
    }

    .action-button-round {
        flex-direction: row;

        width: 100%;
        height: 95px;

        margin: 5px 0px;
    }

    .action-button-round:first-of-type {
        margin-top: 20px;
    }

    .action-button-round:last-of-type {
        margin-bottom: 20px;
    }

    .page-wrapper-index {
        width: 80%;

        padding-left: 10%;
        padding-right: 10%;
    }
}