::-webkit-scrollbar {
  width: 10px;
}

/*===== TOP BAR + IMAGES AND TITLES =====*/

.container-top {
	display: grid;
	grid-template-columns: 20% 60% 20%;
	align-items: center;
	height: clamp(100px, 15vh, 160px);
	width: 100%;
}

.main-title {
	grid-column: 2;
	grid-row: 1;
	width: auto;
	line-height: 1.2;
	margin-left: 0;
	font-size: calc(16px + 5vw);
}

.title-line1 {
	display: block;
	text-align: center;
}

.title-line2 {
	display: block;
	text-align: center;
}

.csop {
	grid-column: 3;
	grid-row: 1;
	position: static;
	display: flex;
	justify-content: center;
	align-items: center;
}

.csop-img {
	height: auto;
}

.title{
	margin-top: 15px;
	margin-bottom: 10px;
	font-size: 30px;
}

.images{
	margin-top: 10px;
}

.image{
	width: 130px;
}

/*===== BUTTONS + STREAM + MENU =====*/ 

.content{
	flex-direction: column;
	flex-wrap: nowrap;
	height: auto;
	margin-top: 0;
}

.buttons{
	display: block;
	float: left;
	order: 3;
	width: 94%;
	margin: 0 3vw;
	flex: none;
}

.button-box{
	width: 100%;
}

.button{
	font-size: 21px;
	margin-top: 15px;
	padding: 5px;
}

.button1{
	width: 90%;
	margin-left: 5%;
}

#button5{
	width: 44vw;
}

#button6{
	width: 44vw;
}

.bottom-buttons-space{
	width: 150px;
	display: inline-block;
}

.stream{
	width: auto;
	display: flex;
	justify-content: center;
}

.video{
	width: 90%;
}

.menu {
	display: block;
	order: 4;
	width: 94%;
	margin: 3vh 3vw 2vh;
	padding-left: 0;
	flex: none;
}

.imglinks{
	width: 52px;
	height: 52px;
}

.vertical-menu {
	overflow-y: scroll;
	width: 100% !important;
	margin-left: 0 !important;
}

.vertical-menu a{
	font-size: 15px;
}

.vertical-menu a.active{
	font-size: 23px;
}

.stream {
	order: 1;
	flex: none;
	width: 94%;
	margin: 2vw 3vw;
}

.bottom-buttons {
	order: 2;
	flex-basis: auto;
	width: 94%;
	margin: 0 3vw;
	padding: 1vh 0;
	justify-content: center;
}

.button-box {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin-top: 1vh;
	margin-left: 0;
}

.button {
	width: 100% !important;
	height: auto !important;
	padding: 8px 4px !important;
	font-size: 22px !important;
}

.bottom-button-center {
	width: 100%;
	margin-right: 0;
}

.bottom-button-center>.bottom-button-wrap {
	width: 44%;
}

.bottom-button-spacer {
	display: none;
}

#button5,
#button6 {
	width: 100% !important;
	font-size: 20px !important;
	padding: 10px 4px !important;
	height: auto !important;
	margin-left: 0;
}

.vertical-menu a.active {
	height: auto;
}

.img-full {
	max-width: 98vw;
}

/*===== TEXT + CONTENT =====*/

.socials-holder{
	width: auto;
}

.fb{
	width: 40px;
	height: 40px;
}

.insta{
	width: 40px;
	height: 40px;
}

.yt {
	width: 40px;
	height: 40px;
}

.texts{
	margin-left: 5%;
	font-size: 15px;
	margin-right: 5%;
}

.texts-title{
	font-size: 19px;
}

.sponsors-images-text{
    font-size: 12px;
    padding-top: 7px;
    padding-bottom: 4px;
    padding-left: 1vw;
    padding-right: 1vw;
}

.sponsor_link{
	font-weight: bold;
	color: #36250e;
	font-size: 17px;
}

.sponsor_link:hover{
	-webkit-transition-duration: 0.6s;
	transition-duration: 0.6s;
	color: ivory;
}

.former-logos-v1 {
	margin-top: 1.5vh;
}

.former-logos-v2 {
	width: 90%;
	margin-top: 1.5vh;
	margin-right: 5%;
	margin-left: 5%;
}

.image1{
	margin: 0;
	border-radius: 0;
	border: none;
	float: none;
}

.image2{
	width: auto;
	height: 165px;
	margin-left: 45px;
	border-radius: 8px;
	border: 2px solid var(--color-dark);
	float: left;
}

.content-video{
	position: relative;
	margin: 0;
}

.content-video-div{
	margin-left: 1%;
	grid-template-columns: 1fr;
	gap: 10px;
	max-height: 56vh;
	overflow-y: auto;
}

.fullhdvideo{
	width: 90%;
	height: auto;
	margin: 0 5%;
	border-radius: 8px;
	border: 2px solid var(--color-dark);
}

.vertical-menu02 {
	margin-top: 22px;
    width: 96%;
    max-height: 30vh;
}

.media{
	margin-top: 55vh;
	text-align: right;
	padding-right: 8px;
}

/*===== SPONSORS + COPYRIGHT =====*/

.sponsors{
	font-size: 35px;
}

.csop-logo{
	width: 60px;
}

.lesy{
	width: 115px;
}

.nadace{
	width: 160px;
}

.mzp{
	width: 130px;
}

.dm{
	width: 100px;
	margin-left: 20px;
}

.asio{
	width: 125px;
	margin-right: 20px;
}

.nordic{
	width: 170px;
}

.billa{
	width: 110px;
	margin-top: 1vh;
}

.net4gas{
	width: 120px;
	margin-top: 10px;
}

.veolia{
	width: 120px;
	margin-right: 10px;
}

.copyright{
	font-size: 16px;
}

.maxprogres {
	width: 180px;
	margin-left: 20px;
	margin-bottom: 0;
}

/* ====== MOBILE SETTINGS ======= */

@media (max-width: 480px) {

	.title {
		font-size: 25px;
	}

	.bottom-buttons-space {
		width: 90px;
	}
}

@media (max-width: 414px) {
	.image {
		width: 120px;
	}

	.title {
		font-size: 27px;
	}

	.sponsors {
		font-size: 28px;
	}

	.asio {
		width: 100px;
	}

	.nordic {
		width: 130px;
	}

	.dm {
		width: 80px;
	}

	.maxprogres {
		width: 150px;
		margin-left: 20px;
		margin-bottom: 0;
	}
}

@media (max-width: 412px) {
	.bottom-buttons-space {
		width: 50px;
	}
}

@media (max-width: 375px) {

	.csop-img {
		width: 60px;
	}

	.image {
		width: 110px;
	}

	.title {
		font-size: 25px;
	}

	.bottom-buttons-space {
		width: 50px;
	}
}

@media (max-width: 360px) {

	.title {
		font-size: 25px;
	}

	.bottom-buttons-space {
		width: 30px;
	}

	.asio {
		width: 110px;
		margin-right: 10px;
	}

	.nordic {
		width: 120px;
	}

	.dm {
		width: 70px;
		margin-left: 10px;
	}
}

@media (max-width: 320px) {

	.container-top {
		height: 80px;
	}

	.csop-img {
		width: 50px;
	}

	.image {
		width: 85px;
	}

	.title {
		font-size: 22px;
	}

	.bottom-buttons-space {
		width: 50px;
	}

	.vertical-menu a.active {
		font-size: 19px;
	}

	.imglinks {
		width: 45px;
	}

	.vertical-menu a {
		font-size: 12px;
	}

	.texts {
		font-size: 12px;
	}

	.texts-title {
		font-size: 15px;
	}

	.asio {
		width: 90px;
		margin-right: 3px;
	}

	.nordic {
		width: 100px;
	}

	.dm {
		width: 70px;
		margin-left: 3px;
	}
}

/* ====== LANDSCAPE ORIENTATION (otočený mobil) ======= */

@media screen and (orientation: landscape) and (max-height: 500px) {
	.container-top {
		height: 55px;
	}

	.main-title {
		font-size: 34px;
		line-height: 55px;
	}

	.title-line1, .title-line2 {
		display: inline;
		margin-left: 0;
	}

	.csop-img {
		width: 45px;
	}

	.images {
		display: none;
	}

	.title {
		font-size: 18px;
		margin-top: 5px;
		margin-bottom: 5px;
	}

	.content {
		display: grid;
		grid-template-columns: 72% 28%;
		grid-template-rows: 1fr auto auto;
		height: auto;
	}

	.stream {
		grid-column: 1;
		grid-row: 1 / 3;
		margin: 1vw;
	}

	.stream-wrapper {
		width: 100%;
	}

	.buttons {
		grid-column: 2;
		grid-row: 1;
		margin: 1vh 1vw 0;
	}

	.button-box {
		margin-top: 0;
		margin-left: 0;
		width: 100%;
	}

	.button {
		width: 100% !important;
		height: auto !important;
		font-size: 13px !important;
		padding: 6px 3px !important;
		margin-top: 6px;
	}

	.bottom-buttons {
		grid-column: 2;
		grid-row: 2;
		display: flex;
		flex-direction: column;
		justify-content: center;
		margin: 0.5vh 1vw 1vh;
		padding: 0;
		width: auto;
	}

	.bottom-button-center {
		display: flex;
		flex-direction: column;
		width: 100%;
		margin-right: 0;
		gap: 6px;
	}

	.bottom-button-center > .bottom-button-wrap {
		width: 100%;
	}

	.bottom-button-spacer {
		display: none;
	}

	#button5,
	#button6 {
		width: 100% !important;
		font-size: 13px !important;
		padding: 6px 3px !important;
		height: auto !important;
		margin-left: 0;
	}

	.menu {
		grid-column: 1 / 3;
		grid-row: 3;
		width: 98%;
		margin-left: 1%;
		padding-left: 0;
	}

	.vertical-menu {
		max-height: 28vh;
		overflow-y: auto;
		width: 100% !important;
		margin-top: 10px;
		margin-bottom: 10px;
	}

	.vertical-menu a {
		font-size: 15px;
	}

	.vertical-menu a.active {
		font-size: 18px;
	}

	.imglinks {
		width: 70px;
		height: 70px;
	}

	.texts {
		margin-left: 1%;
	}

	.content-video-div {
		max-height: 66vh;
		padding-left: 0;
	}
}