/*** General stuff, Arial, Helvetica, sans-serif; ***/

body {
	color: #e7e7e7;
	background: black url(http://antipope.info/image/Antipope_backdrop_homepage_1200.png) center no-repeat fixed;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12pt;
	margin: 0px;
	padding: 0px;
	/* Hide scrollbar */
	-ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
    overflow-y: scroll; 
}

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

#main {
	width: 1200px;
	z-index: 1;
	text-align: left;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
}

hr {
	width: 80%;
	color:#e7e7e7;
}

div.copyright {
	font-size: 10pt;
	padding-top: 3px;
	text-align: center;
	margin-bottom: 20px;
}

div.generalHeader {
	font-size: 14pt;
	font-weight: bold;
	margin-bottom: 4px;
	color: #80080b;
}

div.generalTitle {
	font-size: 18pt;
	font-weight: bold;
	letter-spacing: 2px;
	margin-bottom: 16px;
}

div.spacer {
	margin-top: 30px;
}

img {
	border: 0px;
	vertical-align: unset;
} 

div.imageFloat {
	float:right;
	margin-right: 40px;
}

a:link.menu		{text-decoration: none; font-weight: bold; font-size: 24px; color: #b5b5b5;}
a:visited.menu	{text-decoration: none; font-weight: bold; font-size: 24px; color: #b5b5b5;}
a:active.menu	{text-decoration: none; font-weight: bold; font-size: 24px; color: #b5b5b5;}
a:hover.menu	{text-decoration: none; font-weight: bold; font-size: 24px; color: #80080b; transition: .1s linear;}

a:link.menudd		{text-decoration: none; font-weight: bold; font-size: 24px; color: black;}
a:visited.menudd	{text-decoration: none; font-weight: bold; font-size: 24px; color: black;}
a:active.menudd	{text-decoration: none; font-weight: bold; font-size: 24px; color: black;}
a:hover.menudd	{text-decoration: none; font-weight: bold; font-size: 24px; color: #80080b;}

a:active.indexText	{text-decoration: none; font-weight: bold; font-size: 24px; color: #b5b5b5;}
a:hover.indexText	{text-decoration: none; font-weight: bold; font-size: 24px; color: #80080b;}

a:link {text-decoration: underline; color: #b5b5b5;}
a:visited {text-decoration: underline; color: #b5b5b5;}
a:active {text-decoration: underline; color: #b5b5b5;}
a:hover {text-decoration: underline; color: #80080b;}

/*** Menu stuff ***/

table.menu {
	width: 100%;
	text-align: center;
	margin-top: 10px;
	border-bottom-width: 12px;
	border-bottom-color: #b5b5b5;
	border-bottom-style: solid;
}

td.menu {
	text-align: center;
	margin: 0px;
	padding: 0px;

}

div.page {
	font-size: 6pt;
	color: black;
	background-color: transparent;  /***#333333 palkin v채ri sama kuin dropdownin tausta ***/
	padding-bottom: 2px;
}
div.page:hover {
	font-size: 6pt;
	color: black;
	background-color: #80080b;  /***#333333 palkin v채ri sama kuin dropdownin tausta ***/
	padding-bottom: 2px;
}

/*** News item stuff ***/

span.newsTitle {
	margin: 0;
	padding-left: 3px;
	padding-right: 3px;
	padding-bottom: 1px;
	color: black;
	background-color: #b5b5b5;
}

div.newsTitle {
	padding: 0;
	margin-right: 50px;
	border-bottom: 1px solid #b5b5b5;
}

div.newsText {
	margin-top: 2px;
	margin-bottom: 0px;
	margin-left: 5px;
	margin-right: 50px;
}

/*** Index page stuff ***/

div.indexText {
	margin-top: 10px;
}

div.smallNote {
	position: relative;
	float: right;
	top: -80px;
	right: -180px;
	width: 120px;
	text-align: center;
	font-size: 10pt;
	font-style: italic;
	background: black;
	padding: 15px;
	border: 3px double white;
	z-index: 2;
}

/*** Context menu spesific stuff ***/

td.contextMenu {
	vertical-align: top;
	text-align: left;
	width: 200px;
}

td.contextText {
	vertical-align: text-top;
	font-style: normal;
	text-align: left;
	padding: 10px;
}

div.contextMenuHeader {
	background-color: #b5b5b5;
	color: black;
	text-align: center;
	font-weight: bold;
	margin-top: 5px;
	margin-bottom: 3px;
}

div.contextMenuItem {
	color: #b5b5b5;
	margin-top: 12px;
	margin-left: 8px;
	font-weight: bold;
}

/*** Info spesific stuff ***/

div.infoText {
	margin-top: 10px;
	margin-left: 120px;
	margin-right: 20px;
}

/*** Header stuff ***/

table.header {
	width: 100%;
}

td.header {
	width: 100px;
}

td.headerMiddle {
	text-align: center;
}

/*** Link page spesific stuff ***/

div.link {
	margin-bottom: 5px;
	margin-left: 20px;
	letter-spacing: 1px;
}

/*** Dropdown stuff ***/
.dropdown {
  position: center;
  display: inline-block;
}

.dropdown-content, .dropdown-disco-content {
  display: none;
  position: absolute;
  margin-left: -88px;
  background-color: #b5b5b5;
  min-width: 180px;
  padding: 20px 24px;
  z-index: 1;
  border-radius: 3px;
  transition-delay: 1s;
}

.dropdown-disco-content {
    margin-left: -44px;
}

.dropdown-divider {
    border-top: 1px solid;
    color: black;
} 

.dropdown:hover .dropdown-content {
  display: block;
  color: #80080b;
}

.dropdown:hover .dropdown-disco-content {
  display: block;
  color: #80080b;
}

/*** Disco link stuff ***/
div.discoContainer{
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 0px -10px;
}

.discoImg {
 max-width: 300px;   
 margin-bottom: -4px; 
}

.discoImg:hover, .discoImg:active {
  filter: invert(80%) sepia(82%) saturate(200%) hue-rotate(341deg) brightness(75%) contrast(113%);
  transform: scale(1.5, 1.5);
  margin-top: -25px;
  margin-left: -25px;
  transition: .25s linear;
  /***filter: invert(29%) sepia(82%) saturate(200%) hue-rotate(341deg) brightness(75%) contrast(113%); ***/
  /***filter: invert(29%) sepia(82%) saturate(2202%) hue-rotate(341deg) brightness(106%) contrast(113%); ***/
}

/*** Disco modal stuff ***/
/* The Modal (background) */
.modal, .img-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content, .img-modal-content {
  background-color: #444444;
  margin: auto;
  padding: 20px;
  padding-bottom: 40px;
  border: 2px solid #888;
  border-radius: 2px;
  width: 80%;
  height: 85%;
}

.img-modal {
  overflow: none; /* Enable scroll if needed */
  padding-top: 25px; /* Location of the box */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
  text-align: center;
}

.img-modal-element {
    max-width: 85%; 
    max-height: 85%; 
    object-fit: cover;
}

/* The Close Button */
.close, .img-close {
  font-size: 38px;
  color: #aaaaaa;
  float: right;
  font-weight: bold;
  position: relative;
}

.img-close {
    font-size: 50px;   
    float: none;
    position: absolute;
    top: 15px;
    margin-left: 10px;
}

/* Photos modal description */
.imgDescription {
    font-size: 13pt;
	padding-top: 3px;
	padding-bottom: 20px;
	text-align: center;
}


/*** SOME links stuff ***/
.someImg {
    margin: 0px 7px 0px 7px;
    display: inline-block;
}

.someImg:hover, .someImg:active {
  filter: invert(25%) sepia(53%) saturate(5929%) hue-rotate(336deg) brightness(96%) contrast(87%);
  transform: scale(1.1, 1.1);
  transition: .25s linear;
}

/* tour stuff */
.tour_container {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.tour_item {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 5px;
}
.show_list {
    display: block;
}

.poster_group, 
.poster_item {
    
    display: flex;
    justify-content: space-around;

}

.poster {
    width: 160px;
    object-fit: contain;
}