﻿
@import "variabiliComuni.less";

/*Inizio Elenco Eventi*/
// Da tenere quando caricaremo degli eventi sul sito di AtenaInfo

.divCondividi {
    color: @colore-uno;
    font-weight: Bold;
    text-align: center;
    margin-top: 5%;
}

#divEventi {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

#divEventi .boxFiltroMesiEventi {
    width: 20%;
    margin-right: 5px;
}

#divEventi .boxEventiFiltrati {
    padding: 4%;
    width: 78%;
    /*background-color: rgba(256,256,256,0.9); RC è sbagliato inserirlo qui lo sposto su contenitoreEventiMese*/
}

#divEventi .boxFiltroMesiEventi a:hover {
    cursor: pointer;
}

#divEventi .boxFiltroMesiEventi .panel.panel-default {
    border: none;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#divEventi .boxFiltroMesiEvent .panel-group .panel-heading + .panel-collapse > .list-group, .panel-group .panel-heading + .panel-collapse > .panel-body {
    border-top: none;
}

#divEventi .boxFiltroMesiEventi .panel-heading {
    color: @colore-tre;
    height: 100px;
    width: 100px;
    border-radius: 100px;
    background-color: @colore-due;
    box-shadow: 0 2px 5px @colore-sei;
    color: @colore-cinque;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#divEventi .boxFiltroMesiEventi .panel-heading.panelRight {
    margin-right: auto;
    margin-left: auto;
}

#divEventi .boxFiltroMesiEventi .panel-collapse {
    width: 110px;
    margin-top: 2px;
    background-color: @colore-due;
    border-radius: 10px;
    color: @colore-cinque;
}

#divEventi .boxFiltroMesiEventi .panel-collapse.panelRight {
    margin-right: auto;
    margin-left: auto;
}

#divEventi .boxFiltroMesiEventi .panel-body {
    padding: 15px 0;
}

#divEventi .boxFiltroMesiEventi .panel-body div {
    padding: 0 15px;
}

#divEventi .boxFiltroMesiEventi .panel-body div:hover {
    cursor: pointer;
    color: @colore-uno;
}

#divEventi .boxFiltroMesiEventi .panel-group .panel-heading + .panel-collapse > .list-group,
#divEventi .boxFiltroMesiEventi .panel-group .panel-heading + .panel-collapse > .panel-body {
    border-top: none;
}

/*#divEventi .boxFiltroMesiEventi .panel-heading:before {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background-color: inherit;
            content: ' ';
        }*/

/*#divEventi .boxFiltroMesiEventi .panel-heading .panel-title {
            color: #fff;
        }*/

#divEventi .boxEventiFiltrati .contenitoreEventiMese, #divEventi .boxEventiFiltrati .spazioVuotoElencoEventi {
    width: 100%;
    padding: 0 15px;
    border: 4px double @colore-uno;
    border-radius: 10px;
    background-color: @colore-sette; /*RC spostato qui da #divEventi .boxEventiFiltrati*/
}

#divEventi .boxEventiFiltrati .spazioVuotoElencoEventi p {
    text-align: left;
    color: @colore-tre;
    font-weight: bold;
    padding: 10px 0 0 0;
}

#divEventi .boxEventiFiltrati .spazioVuotoElencoEventi p.typingText {
    text-align: left;
    color: @colore-tre;
    font-weight: bold;
    padding: 10px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    animation: type 4s steps(60, end);
}

#divEventi .boxEventiFiltrati .spazioVuotoElencoEventi p.typingText span {
    animation: blink 1s infinite;
}

#divEventi .boxEventiFiltrati .spazioVuotoElencoEventi p img {
    width: 100%;
    max-width: 40px;
    height: auto;
    margin-right: 10px;
}


@keyframes type {
    from {
        width: 0;
    }
}

@keyframes blink {
    to {
        opacity: .0;
    }
}

::selection {
    background: @colore-sette;
}

.item1 {
    grid-area: image;
}

.item2 {
    grid-area: desc;
}

.gridSingoloEventoMese {
    display: grid;
    grid-template-areas: 'image desc desc';
}


#divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese {
    padding: 10px 0;
    margin: 5px 0;
    border-bottom: 1px dotted @colore-uno;
}

#divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese h3 {
    text-shadow: 1px 1px 0 @colore-sette;
    color: @colore-due !important;
}

#divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese:last-child {
    border-bottom: none;
}

.dataoraevento, .luogoevento {
    font-family: 'Roboto Regular'; /*'Raleway Regular';*/
    padding: 5px;
}

#divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese .dataoraevento, #divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese .luogoevento {
    font-family: 'Roboto Regular'; /*'Raleway Regular';*/
    padding: 5px;
    background-color: @colore-cinque;
}

#divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese .dataoraevento {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
}

#divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese .luogoevento {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: center;
}

#divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese .dataoraevento i, #divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese .luogoevento i {
    color: @colore-otto;
}

#divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese .imgevento {
    width: 100%;
    max-height: 130px;
    margin: 10px 0;
    text-align: left;
}

#divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese .imgevento img {
    width: auto;
    height: 100%;
    max-height: 130px;
    /* margin-left: 10px;*/
    /*    border-radius: 10px;*/
    border: 2px solid @colore-tre;
    /* transform: rotate(7deg);*/
}

.imgevento img {
    width: auto;
    height: 100%;
    max-height: 130px;
    /* margin-left: 10px;*/
    /*   border-radius: 10px;*/
    max-width: 100%;
}

#divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese .testoEventoMese {
}

.immagineEvento {
    max-width: 100%;
    /* float: left;*/
    min-width: 23%;
    text-align: center;
}

.immagineSingoloEvento {
    float: left;
    width: 95px;
    height: 68px;
}

.immagineListaEventi {
    /* margin: 0 20px 0 70px;*/
    text-align: center;
    max-width: 250px;
    /* height: 200px;*/
    overflow: hidden;
    /*border: 4px solid @colore-tre;
    transform: rotate(7deg);*/
    border-radius: 10px;
    margin-top: 25px;
}

.immagineListaPeriodo {
    /* margin: 0 20px 0 70px;*/
    text-align: center;
    /*    width: 250px;
    height: 200px;*/
    overflow: hidden;
    /*border: 4px solid @colore-tre;
    transform: rotate(7deg);*/
    border-radius: 10px;
    margin-top: 20px;
    max-width: 250px;
}

.fa.fa-twitter {
    font-family: sans-serif;
}

.fa.fa-twitter::before {
    content: "𝕏";
    font-size: 1.2em;
}

.aziendaSettore {
    max-width: 100%;
    /* min-width: 73%;*/
    margin-left: 1%;
    display: inline-block;
    /*    margin-right: 10px;*/
    font-style: italic;
}

.aziendeAmbiti {
    background-color: @colore-cinque;
    border-radius: 10px;
}

.titoloSingoloEvento {
    /*   margin-top: 3%*/;
    font-weight: bold;
    margin-left: 1%;
    float: left;
}

.sottotitoloEventi {
    font-size: @ht4-size;
    color: @colore-quattro;
    color: #ff5e00;
}

.titoloPaginaEventi {
    text-shadow: none;
    color: @colore-sei;
    text-align: center;
    font-size: @ht3-size;
    color: #ff5e00;
}

.sottotitoloNote {
    font-size: @ht6-size;
    color: @colore-otto;
}

.sottotitoloEventiSingolo {
    font-size: @ht2-size;
    color: @colore-quattro;
    text-align: center;
}

.titoloEventi {
    font-size: @ht3-size;
    color: @colore-due;
}

.titoloEventiSingolo {
    font-size: @ht1-size;
    color: @colore-due;
    text-align: center;
}

/*Fine Elenco Eventi*/
/*inizio stile ELENCHI*/ /*RC utilizzato per la pagina eventi visualzzazione di locandine in orizzontale - 1 per riga*/
.boxRiquadriElenchi {
    width: 100%;
    display: -webkit-box; /*OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /*OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap; /**/
    justify-content: center;
}

.flexdirectioncolumn {
    flex-direction: column;
}

.flexdirectionrow {
    flex-direction: row;
}

.riquadroElenco {
    width: 100%;
    padding: 10px;
    background-color: @colore-cinque;
}

.rigaorizzontaleriquadroElenco {
    position: inherit;
    top: 10%;
    right: 0;
    width: 100%;
    height: 1px;
    border-top: 3px double @colore-uno;
}

.rigaverticaleriquadroElencoSX {
    position: relative;
    left: -2px;
    top: -150px;
    height: 160px;
    width: 1px;
}

.rigaverticaleriquadroElencoDX {
    position: relative;
    left: 200px;
    top: -310px;
    height: 160px;
    width: 1px;
}

.rigaorizzontaleriquadroElencoBasso {
    position: relative;
    top: -320px;
    right: 10px;
    width: 220px;
    height: 1px;
    border-bottom: 2px dashed @colore-uno;
}

.divTitoloElenco {
    /*align-self: baseline;*/
    /*width: 8%;*/
    margin: 10px auto 0 auto;
}

.titoloElencoDefault {
    text-align: left;
    color: @colore-due;
    font-weight: bold;
    font-size: @ht6-size;
}

.divSottotitoloElenco {
    align-self: baseline;
    margin: 0 auto;
}

.sottotitoloElencoDefault {
    text-align: center;
    color: @colore-due;
    font-size: @ht6-size;
    margin-bottom: 10px;
}

.divImgElencoSX {
    /* margin: 0 20px 0 70px;*/
    text-align: center;
    /* width: 200px;*/
    height: 200px;
    overflow: hidden;
    /*border: 4px solid @colore-tre;
    transform: rotate(7deg);*/
    border-radius: 10px;
    margin-top: 20px;
}


.divImgElencoDX {
    /* margin: 0 70px 0 20px;*/
    text-align: center;
    /*    width: 200px;*/
    height: 200px;
    overflow: hidden;
    border-bottom: 2px dashed @colore-uno;
    border-left: 2px dashed @colore-uno;
    border-right: 2px dashed @colore-uno;
}

.divImgElenco {
    text-align: center;
    width: 200px;
    height: 133px;
}


.divImgElenco a:hover {
    opacity: 0.4;
    cursor: pointer;
}

a.openClose {
    color: @colore-uno;
}

.divShowHide {
    font-family: 'Ubuntu Light';
    font-size: @ht6-size;
    clear: both;
}

.margineTestoelenco {
    margin: 5px auto; /**/
    padding: 5px;
    max-width: 67%;
}

.margineTestoelencoEventi {
    margin: 5px auto; /**/
    padding: 5px;
}

.allineaDX {
    float: right;
}

.allineaSX {
    float: left;
}

.allineatitoloDX {
    text-align: right;
}

.testoSubstringTeam {
    font-family: @font-regular;
    font-size: @ht6-size;
}
/*fine stile ELENCHI*/


@media screen and (max-width: 1060px) {
}

@media screen and (max-width: 988px) {
}

@media screen and (max-width: 840px) {


    #divEventi .boxFiltroMesiEventi, #divEventi .boxEventiFiltrati {
        width: 100%;
    }

    .boxEventiFiltratiUnset {
        width: 78% !important;
    }

    .boxFiltroMesiEventiUnset {
        width: 19% !important;
    }

}

@media screen and (max-width: 744px) {
}

@media screen and (max-width: 706px) {
    #divEventi .boxEventiFiltrati .spazioVuotoElencoEventi p.typingText {
        white-space: normal;
        animation: none;
    }

    #divEventi .boxEventiFiltrati .spazioVuotoElencoEventi p.typingText span {
        animation: none;
        display: none;
    }
}

@media screen and (max-width: 620px) {
}

@media screen and (max-width: 590px) {
}

@media screen and (max-width: 520px) {
}

@media screen and (max-width: 440px) {
    #divEventi .boxEventiFiltrati .contenitoreEventiMese .singoloEventoMese .imgevento {
        text-align: center;
    }
}

.boxElenchiCataloghi {
    width: 100%;
    min-height: 100px;
    border-bottom: @colore-quattro 1px solid;
    padding: 5px;
}

.boxInformative {
    margin: 0 !important;
    padding: 15px 0;
}

.float-left {
    float: left !important;
}

.flex-row {
    -ms-flex-direction: row !important;
    flex-direction: row !important;
}

.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.titoloElenchiCataloghi {
    font-family: @font-bold !important;
    font-size: @ht4-size;
    color: @colore-tre;
}

.titoloInformative {
    text-align: left;
    font-family: @font-bold !important;
    font-size: @ht3-size;
    color: @colore-quattro;
}


.TitoloMarginTop {
    margin-top: -0px;
}

.TitoloMarginBottom {
    margin-bottom: -5px;
}

.TitoloNoMargini {
    margin-top: -0px;
    margin-bottom: -15px;
}

.sottoTitoloElenchiCataloghi {
    font-family: @font-regular;
    color: @colore-quattro;
    font-size: @ht5-size;
}

.sottoTitoloSize {
    font-size: @ht5-size;
    margin-top: -15px;
    margin-bottom: 15px;
}


.SottoTitoloNoMargini {
    margin-bottom: -0px;
}

.SottoTitoloMarginBottom {
    margin-bottom: 5px; /**/
}


.sottoTitoloInformative {
    font-size: @ht4-size;
    font-family: @font-regular;
    color: @colore-quattro;
}

.w-100 {
    width: 98%;
    text-align: left;
    min-width: 150px;
    margin-top: 5px;
}

.w-90 {
    width: 88%;
    text-align: left;
    min-width: 150px;
}

.w-80 {
    width: 78% !important;
    text-align: left;
    min-width: 150px;
}

.w-60 {
    width: 58%;
    text-align: left;
    min-width: 150px;
}

.boxFlexContent70 {
    width: 68%;
    margin: 0 3px 0 3px;
    text-align: center;
    min-width: 350px;
}

.boxFlexContent60 {
    width: 58%;
    margin: 0 3px 0 3px;
    text-align: center;
    min-width: 350px;
}

.boxFlex65 {
    width: 65%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
}

.boxFlex95 {
    width: 95%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
}

.w-50 {
    width: 48%;
    text-align: center;
    min-width: 150px;
}

.boxFlexContent50Left {
    width: 48%;
    margin: 0 3px 0 3px;
    text-align: left;
    min-width: 250px;
}

.boxFlexContent50Right {
    width: 48%;
    margin: 0 3px 0 3px;
    text-align: right;
    min-width: 200px;
}

.boxFlexContent33Left {
    width: 41%;
    margin: 0 3px 0 3px;
    text-align: left;
    min-width: 325px;
}

.boxFlexContent33Center {
    width: 21%;
    margin: 0 3px 0 3px;
    text-align: center;
    min-width: 200px;
}

.boxFlexContent33Right {
    width: 31%;
    margin: 0 3px 0 3px;
    min-width: 200px;
}

.boxFlexContent20Left {
    width: 19%;
    margin: 0 3px 0 3px;
    min-width: 200px;
    text-align: left;
}

.boxFlexContent20Right {
    width: 19%;
    margin: 0 3px 0 3px;
    min-width: 200px;
    text-align: right;
}

.boxFlexContent80Left {
    width: 79%;
    margin: 0 3px 0 3px;
    min-width: 200px;
    text-align: left;
}

.boxFlexContent80Right {
    width: 79%;
    margin: 0 3px 0 3px;
    min-width: 200px;
    text-align: right;
}

.w-40 {
    width: 38%;
    text-align: left;
    min-width: 150px;
}

.boxFlexContent40 {
    width: 38%;
    margin: 0 3px 0 3px;
    text-align: center;
    min-width: 350px;
}

.boxFlexContent30 {
    width: 28%;
    margin: 0 3px 0 3px;
    text-align: center;
    min-width: 350px;
}

.w-20 {
    width: 18%;
    text-align: left;
    min-width: 70px;
}

.w-10 {
    width: 8% !important;
    text-align: center;
    min-width: 40px;
}

.img-fluidimgSxTxtDx {
    max-width: 50%;
    height: auto;
}

.img-fluidAlternato {
    max-width: 25%;
    height: auto;
}

.img-fluidimgSxTitolo {
    max-width: 45%;
    height: auto;
}

.titoleElenco {
    text-align: center;
    padding: 1;
    margin: 5px 1px 10px 1px;
    font-family: Roboto Bold;
    font-size: @ht3-size;
    color: @colore-tre;
    background-color: none;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
}

.rigainferiore {
    width: 100%;
    border-bottom: @colore-quattro 1px solid;
    /*//min-width: 400px;*/
}

.img-resize {
    width: 60%;
}

#more {
    display: none;
}

#ReadLess {
    display: none;
}


#magazine {
    /*width: 1300px;
    height: 650px;
    */
    width: 50%;
    height: 850px;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
}

#magazine
.turn-page {
    /*    width: 1300vw;
    height: 650px;
    */
    width: 50%;
    height: 850px;
    /*// background-color: #ccc;*/
    border: 1px solid #999;
}

#magazine
.img {
    max-width: 50%;
    /*max-height: 50%;*/
}

.magazine-80 {
    width: 94% !important;
    text-align: left;
    min-width: 150px;
    /*    margin-left: 1%;
    margin-right: 1%;*/
}

.magazine-img-fluid {
    max-width: 100%;
    height: auto;
}

.valign-center-right {
    display: flex;
    align-items: center; /* Aligns vertically center */
    justify-content: right; /* Aligns horizontally right */
}

.valign-center-left {
    display: flex;
    align-items: center; /* Aligns vertically center */
    justify-content: left; /* Aligns horizontally left */
}

@media screen and (max-width: 1195px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 740px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 740px;
        //  background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 93% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }
}

@media screen and (max-width: 1024px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 625px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 625px;
        //  background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 92% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }
}

@media screen and (max-width: 920px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 560px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 560px;
        //  background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 91% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }
}

@media screen and (max-width: 820px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 500px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 500px;
        /*// background-color: #ccc;*/
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 89% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }
}

@media screen and (max-width: 768px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 450px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 450px;
        /*// background-color: #ccc;*/
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 88% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }
}

@media screen and (max-width: 710px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 430px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 430px;
        // background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 88% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }
}

@media screen and (max-width: 600px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 360px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 360px;
        //  background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 85% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }
}

@media screen and (max-width: 540px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 343px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 343px;
        // background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 99% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }

    .valign-center-right {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally right */
    }

    .valign-center-left {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally left */
    }
}

@media screen and (max-width: 500px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 315px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 315px;
        // background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 99% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }

    .valign-center-right {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally right */
    }

    .valign-center-left {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally left */
    }
}

@media screen and (max-width: 430px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 267px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 267px;
        // background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 99% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }

    .valign-center-right {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally right */
    }

    .valign-center-left {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally left */
    }
}

@media screen and (max-width: 410px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 255px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 255px;
        // background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 99% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }

    .valign-center-right {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally right */
    }

    .valign-center-left {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally left */
    }
}

@media screen and (max-width: 390px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 240px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 240px;
        //  background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 99% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }

    .valign-center-right {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally right */
    }

    .valign-center-left {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally left */
    }
}


@media screen and (max-width: 360px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 220px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 220px;
        //  background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 99% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }

    .valign-center-right {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally right */
    }

    .valign-center-left {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally left */
    }
}

@media screen and (max-width: 344px) {
    #magazine {
        /*width: 1300px;
    height: 650px;
    */
        width: 50%;
        height: 210px;
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
    }

    #magazine
    .turn-page {
        /*    width: 1300vw;
    height: 650px;
    */
        width: 50%;
        height: 210px;
        //  background-color: #ccc;
        border: 1px solid #999;
    }

    .magazine-80 {
        width: 99% !important;
        text-align: left;
        min-width: 150px;
        /*    margin-left: 1%;
    margin-right: 1%;*/
    }

    .valign-center-right {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally right */
    }

    .valign-center-left {
        display: flex;
        align-items: center; /* Aligns vertically center */
        justify-content: center; /* Aligns horizontally left */
    }
}
