@font-face {
    font-family: 'Georgia';
    src: url('font/Georgia.eot');
    src: url('font/Georgia.eot?#iefix') format('embedded-opentype'),
        url('font/Georgia.woff2') format('woff2'),
        url('font/Georgia.woff') format('woff'),
        url('font/Georgia.ttf') format('truetype'),
        url('font/Georgia.svg#Georgia') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Georgia';
    src: url('font/Georgia-Bold.eot');
    src: url('font/Georgia-Bold.eot?#iefix') format('embedded-opentype'),
        url('font/Georgia-Bold.woff2') format('woff2'),
        url('font/Georgia-Bold.woff') format('woff'),
        url('font/Georgia-Bold.ttf') format('truetype'),
        url('font/Georgia-Bold.svg#Georgia-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Georgia';
    src: url('font/Georgia-Italic.eot');
    src: url('font/Georgia-Italic.eot?#iefix') format('embedded-opentype'),
        url('font/Georgia-Italic.woff2') format('woff2'),
        url('font/Georgia-Italic.woff') format('woff'),
        url('font/Georgia-Italic.ttf') format('truetype'),
        url('font/Georgia-Italic.svg#Georgia-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}



img {
    pointer-events: none;
}


body {
    background-image: url("img/Fondo.jpg");
    background-position: center top;
    background-size: cover;
    font-family: 'Georgia';
    font-weight: normal;
    /* font-style: italic; */
    font-size: 16px;
}

.main {
    position: relative;
}
.row {
    margin-left: 0px;;
    margin-right: 0px;;
}
.text-red {
    color: #770000;
}
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}
.disabled {
    opacity: 0.5 !important;
}
.col-opacity {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

.papi-btn {
    display: inline-block;
}

.titolo-box {
    
    padding: 18px 0 8px 0;
}

.card {
    background: unset;
    border: unset;
}

.start_btn {
    color: #fff;
    background-color: #770000;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;

}

#entra-btn {
    color: #770000;
    font-size: 1.2rem;
    font-weight: bold;
    font-style: italic;
}

#main-dettaglio-monete .card {
    flex: 0 0 auto !important;
}
.bg-btn-number {
    /* background-color: #d2d5cd; */
    padding: 0 25px;
    padding-bottom: 10px;
}

.col.btn-number {
    padding: 5px;
}


.btn-number.bg-btn-number.number { 
    font-size: 3rem;
    color: #770000;
    font-weight: 900;
    position: relative;
	z-index: 100;
}

.the-number {
    padding: 22px;
}


.btn-number.bg-btn-number.number::before {
	position: absolute;
	content: " ";
	background-color: #d2d5cd;
	position: absolute;
	top: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
	/* margin: 10px; */
	z-index: -100;
}



.the-number .input-number { 
    border-bottom: solid 5px #363a3c;
    font-size: 3rem;
    font-weight: 900;
    line-height: 6rem;
}


.cover-container {
    position: relative;
}


#logo-header {
    padding-top: 100px;
}

.list-group{
    max-height: 484px;
    margin-bottom: 10px;
    overflow:hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


#multiple-container {
    max-height: 491px;
    overflow:hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


 /* Hide scrollbar for Chrome, Safari and Opera */
.list-group::-webkit-scrollbar {
  display: none;
}


#main-cerca-monete {
    position: relative;
}

#overlay-multiple {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    top: 0; 
    left: 0;
    padding: 0 65px;
    z-index: 100;
}
#overlay-multiple-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    top: 0; 
    left: 0;    
}

#list-papi .list-group-item {
    background-color: rgba(255 , 255, 255, 0.75 );
    border: unset;
    margin:  2px 0;
    padding: 13px 20px;
}

#list-papi {
	margin: 0 22px;
	border: solid 2px #fff;
	padding: 10px ;
    padding-bottom: 3px;
    padding-right: 27px;
    position: relative;
}
#list-papi .list-group {
	border-radius: unset;
    text-transform: uppercase;
}


#chiudi-overlay img {
	height: 25px;
	vertical-align: initial;
}

#chiudi-overlay {
    color: #fff;
    font-size: 2rem;
    padding: 10px 40px;
    font-style: italic;
}
#monete-scroller {
    position: relative;
    /* padding-bottom: 50px; */
    bottom: -200px;
    padding-bottom: 0px;
}
#preview-monete-container .moneta{ 
    visibility: hidden;
}
#preview-monete-container {
    background: url('img/tasto_SFIORA.png') no-repeat bottom right;
    position: relative;
    /* margin-top: 65px; */
}
#dettaglio-monete,
#preview-monete {
    position: relative;
}

#fullscreen-monete {
    position: absolute;
    top: 0;
    left: 0;
    max-width: unset;
}

.scroller {
	position: absolute;
	z-index: 10;
	right: -16px;
	top: 50%;
	margin-top: -50px;
}
.scroller img {
	display: block;
    margin: 10px 0;
}
#cancella-keyboard {
    font-style: italic;
}
#vai-keyboard {
    font-weight: bold;
    text-align: right;
    text-transform: uppercase;
}
#nome-papa-moneta {
    color: #770000;
    font-size: 1.65rem;
    text-align: left;
    font-style: italic;
}
#autore-moneta ,
#anno-moneta  {
    font-size: 1rem;
    text-align: left;
    font-style: italic;
}
#autore-moneta .text,
#autore-moneta .value,
#anno-moneta .text,
#anno-moneta .value {
    font-size: 1rem;
}
.descrizione-moneta {
    color: #770000;
    text-align: left;
    padding: 8px 0;
    font-style: italic;
}
#text-descrizione {
    padding: 17px 45px 0 15px;
}
#titolo-descrizione-moneta {
    color: #770000;
    text-align: left;
    font-style: italic;
    font-weight: bold;
}
.main .card-group {
    padding: 0 65px;
}
#testo-descrizione-moneta {
    text-align: left;
    margin-top: 25px;
    font-size: 0.88rem;
}
#footer-left {
    text-align: left;
    color: #770000;
    font-style: italic;
}

.close-fullscreen span ,
#back-btn span {
    vertical-align: middle;
}
.close-fullscreen-container {
    opacity: 0;
}
.close-fullscreen,
#back-btn {
    text-align: right;
    font-size: 1.2rem;
    color: #770000;
    font-weight: bold;
    font-style: italic;
}
#back-btn img {
    margin-right: 5px;;
}
.card-body {
    padding: 0;
}
.card-footer {
    padding-top: 0;
    border: unset;
    padding: 5px;
}
#text-monete-container {
    margin-bottom: 65px;
}
#card-descrizione .card-body {
    padding-top: 45px;
    margin-top: 10px;
}
#card-descrizione .card-footer.col-opacity-footer {
    background: rgba(255, 255, 255, 0.25);
}
.tab-desc {
    color: #770000;
    font-size: 0.80rem;
    line-height: 25px;
    font-style: italic;
}
.tab-desc.active {
    font-weight: bold;;
}
#footer-monete {
    background-color: unset;
    padding-top: 30px;
}

#col-descrizione {
    height: 470px;
    overflow:hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
body::-webkit-scrollbar,
html::-webkit-scrollbar,
#col-descrizione::-webkit-scrollbar {
  display: none;
}
.grid-border-header {
    position: relative;
}
.grid-border-header .border-header {
	position: absolute;
	width: 0%;
	border-bottom: ridge 2px #fff;
	bottom: 5px;
}
.grid-border-header.grid-1 .border-header {
    right: 0;
}
#entra-box {
    opacity: 0;
}
#intro-box {
    color: #770000;
    font-size: 2rem;
    padding-bottom: 50px;
    opacity: 0;
    font-size: 1.8rem;
    font-style: italic;
}
footer img {
    width: 100%;
    padding: 1px;
}

footer {
	padding-bottom: 45px;
    position: relative;
    bottom: 0;
}

* {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.moneta-item .id-moneta {

}
.moneta-item img {
    max-height: 180px;
}
.moneta-item {
    padding: 31px 31px;
    position: relative;
}
.moneta-item .id-moneta{
    font-size: 1.5rem;
    color: #fff;
    position: absolute;
    top: 37px;
    right: 0;
    line-height: 0;
    font-style: italic;
}
.item-papa.selected {
    color: #770000 ;
    background-color: transparent !important;
    font-weight: bold;
}
.flex-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
.grid-1 {
    grid-column: 1;
}
.grid-2 {
    grid-column: 2;
}
.grid-3 {
    grid-column: 3;
}
.grid {
    display: grid;
    /* define the number of grid columns */
    grid-auto-columns: 1fr minmax(200px, 311px);

}
#list-multiple-monete .scroller {
    right: -20px
}
#multiple-container {
    padding-right: 40px;
}