/* Styles */

html, body, body * {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-transform: translate3d(0,0,0);
    box-sizing: border-box;
    image-rendering: auto;
    outline: 0;
    user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

html {
    position: fixed;
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    width: 100%;
    height: 100%;
}

#slideBackground {
    position: relative;
    background: url('../images/background_01.jpg') no-repeat top left;
    background-size: 100%;
    width: 100%;
    height: 100%;
}

.pointerOff {
    pointer-events: none;
}

.hide{
    display: none;
}

/* CSS Slide */

.slide {
    position: relative;
    background-size: 100%;
    width: 1024px;
    height: 768px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#group-selection {
	background: #222349;
	width: 17.1%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0.4%;
}

#group-selection hr {
	width: 75%;
	margin-left: auto;
	margin-right: auto;
	border-color: #004f71;
}

#btnVisita01.group-button {
	background: url('../images/btn01.png') no-repeat top left;
	background-size: 100%;
	width: 100%;
	height: 111px;
}

#btnVisita01.group-button.selected {
	background: url('../images/btn01_s.png') no-repeat top left;
	background-size: 100%;
}

#btnVisita02.group-button {
	background: url('../images/btn02.png') no-repeat top left;
	background-size: 100%;
	width: 100%;
	height: 111px;
}

#btnVisita02.group-button.selected {
	background: url('../images/btn02_s.png') no-repeat top left;
	background-size: 100%;
}

#btnVisita03.group-button {
	background: url('../images/btn03.png') no-repeat top left;
	background-size: 100%;
	width: 100%;
	height: 111px;
}

#btnVisita03.group-button.selected {
	background: url('../images/btn03_s.png') no-repeat top left;
	background-size: 100%;
}

#btnVisita04.group-button {
	background: url('../images/btn04.png') no-repeat top left;
	background-size: 100%;
	width: 100%;
	height: 105px;
}

#btnVisita04.group-button.selected {
	background: url('../images/btn04_s.png') no-repeat top left;
	background-size: 100%;
}

button {
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
}

button.selected {
	background-color: #e84e0f;
	color: #fff;
}

#start-presentation {
	margin-top: 20px;
	background-color: #e84e0f;
	color: white;
}

.nav-buttons {
	position: absolute;
	bottom: 20px;
	display: flex;
	gap: 20px;
}

#prev-slide, #next-slide {
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
}


#individual-selection {
	position: absolute;
    top: 7.7%;
    left: 4.6%;
	border: 2px solid #000;
    padding: 1%;
    width: 74.8%;
	height: 80.4%;
	overflow-y: scroll;
	padding: 7px 8px;
}

.thumbnail-container {
	display: block;
	flex-wrap: wrap;
	justify-content: center;
}

.thumbnail-button {
	width: 23.7%;
	height: 145px;
	background-size: cover;
	margin: 5px;
	display: inline-block;
	border: 5px solid transparent;
	opacity: 1;
}

.thumbnail-button.selected {
	border-color: #e84e0f;
}

.logoCrysvita {
	background: url('../images/logoCrysvita.png') no-repeat top left;
	background-size: 100%;
	position: absolute;
	bottom: 3%;
	right: 12%;
	width: 75%;
	height: 14%;
}

/* Ipad Pro Media Queries */

@media only screen and (min-width: 1180px) {
    #slideBackground {
        background: url('../images/background_02.jpg') no-repeat top left;
        background-size: 100%;
    }

    .slide {
        position: relative;
        background-size: 100%;
        width: 1100px;
        height: 820px; 
    }

}

@media only screen and (min-width: 1201px) {
    #slideBackground {
        background: url('../images/background_01.jpg') no-repeat top left;
        background-size: 100%;
    }

    .slide {
        position: relative;
        background-size: 100%;
        width: 1366px;
        height: 1024px;
    }
}