/*American-Palermitan STYLESHEET */
/*MCL, 2023*/

body, html {
	height: 100%;
	margin: 0;
	
}

body {
	font-family: Georgia;
}


/*MAKES ALL TITLES BURGUNDY, FORMAT TEXT*/
h1 {color: #801D07; font-size: 300%; text-shadow: 2px 2px #cfcfcf; text-align:center;}
h2 {color: #801D07; font-size: 200%; text-shadow: 2px 2px #cfcfcf; margin-left:40px; }
h3 {color: #801D07; font-size: 130%; margin-bottom: 0; margin-left: 10px; }
h4 {color: black; font-size: 100%; margin-top: 0; font-weight: normal; margin-left:30px;}
h5 {margin-left:40px;}
h6 {color: #801D07; font-size:100%; margin-top: 0; text-align: center;  margin-left:40px; } /*light blue #006bb3*/
p {font-size: 115%; margin-left:40px; line-height: 1.3;}
ul{color: #801D07; font-size: 100%; margin-left: 40px; line-height:1.5; }
hr {width:100%; background-color: blue;}  /*horizontal line break*/





/*FORMAT HEADER IMAGE*/
.bg {
	/* The image used */
	background-image: url("images/AP_banner.png");

	/* Full height */
	height: 40%; 

	/* Center and scale the image nicely */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Change styles for header on extra small screens*/
@media screen and (max-width: 800px) {
  .bg {
	/* 25% of screen height */
	height: 25%; 
  }
}



/* Set a style for all buttons*/
button {
  width:auto; 
  font-size: 15px; 
  border: none; 
  outline: none; 
  background-color: #4CAF50; /*light green*/
  color: white; 
  cursor: pointer; 
  padding: 10px; 
  border-radius: 4px;
  opacity: 0.9;
}

button:hover {
  opacity:1;
}




/*MAKE a red border FOR IMPORTANT TEXT*/
.redborder {
	border-style: solid;
	border-color: #cb2027;
	margin-left:80px;
	margin-right: 120px;
	padding-right:5px;
	
}

/* Change styles for redborder on extra small screens*/
@media screen and (max-width: 800px) {
  .redborder {
	margin-left:40px;
	margin-right: 20px;
  }
}



/*FOR SLIDESHOW*/



/*TO FORMAT TEXT LINKS*/
a:link {
  color: #0087ba;  /*sky blue*/
  background-color: transparent;
  text-decoration: underline;
}

a:visited {
  color: #cc0099;
  background-color: transparent;
  text-decoration: underline;
}

a:hover {
  color: red;
  background-color: transparent;
  text-decoration: underline;
}






/*TO CENTER THINGS*/
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}




/*TABS / TOP NAVIGATION THAT COLLAPSES TO HAMBURGER MENU ON SMALL SCREENS*/
.topnav {
  overflow: hidden;
  background-color: #801D07;  /*burgundy*/
}

.topnav a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 10px 50px; /*used to be 70*/
  text-decoration: none;
  font-size: 30px;
  font-family: 'Work Sans', sans-serif;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 1290px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 1450px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}







/*SOCIAL MEDIA BUTTONS go here if ever wanted later; 
to add more, visit https://www.w3schools.com/howto/howto_css_social_media_buttons.asp*/





/*SCROLL TO TOP BUTTON*/

#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 15px;
  z-index: 99;
  font-size: 15px;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 4px;
}


#topBtn:hover {
  background-color: #ff6161;  /*light red*/
}





/*SIGN UP FORM goes here if ever wanted later*/




/*STYLE THE BLOG / POSTS*/
* {
  box-sizing: border-box;
}


/* Create two unequal columns that float next to each other */

/* Left column */
.leftcolumn {   
  padding-left:60px;
  float: left;
  width: 70%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 25%;
  padding-left: 20px;
}

/* Fake image */
.fakeimg {
  background-color: #b1cfab;
  width: 100%;
  padding: 20px;
}

/* Add a card effect for articles */
.card {
   background-color: white;
   padding: 5px;*/
   margin-left:40px;   
   padding-right:20px;
   margin-top: 20px;
   border-style: outset;
   border-radius:4px;
   box-shadow: 0 8px 16px 0 rgba(100,100,100,0.3);
   transition: 0.3s;
}



/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


/* Responsive Blog layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding-left: 0px;
  }
  .card {   
    padding:5px;
	margin-left:0px;
  }
}





/*STYLE THE ACCORDIAN TABS, LIKE FOR CHAPTERS IN STORY TAB*/
.accordion {
  background-color: #eee;
  color: #801D07; 
  font-size: 150%;
  font-family: 'Work Sans', sans-serif;

  cursor: pointer;
  padding: 18px;
  border: none;
  text-align: left;
  outline: none;
  transition: 0.4s;
  margin-left: 10%;
  width:85%;
}

.active, .accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

/*CHANGE PLUS TO MINUS ON CLICK, COULDN'T MAKE THIS WORK WITHOUT ADDING IT TO TOPNAV
.accordian, .active:after {
  content: "\2212";
}*/

.panel {
  margin-left:5px;
  padding: 0 5px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* Responsive accordian layout*/
@media screen and (max-width: 800px) {
  .panel {   
    padding: 0px;
  }
}










/*IMAGE Grid*/
.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four(now it's two) equal columns that sits next to each other */
.column {
  -ms-flex: 50%;
  flex: 50%;
  max-width: 50%;
  padding: 0px 4px;

}

.column img {
  margin-top: 10px;
  vertical-align: middle;
  horizontal-align: middle;
  width: 100%;
}


/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}





/*MODAL IMAGE LIGHTBOX FOR ARTWORK TAB*/
* {
  box-sizing: border-box;
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}


/* The Modal (background) */
.imgmodal {
  display: none;
  position: fixed;
  z-index: 2;
  padding-top: 30px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.imgmodal-content {
  position: relative;
  text-align: center;
  background-color: none;
  max-width: 800px;
  max-height: 600px;
  padding: 0;
  margin: 2% auto 15% auto;
}





/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  background-color: rgba(100, 0, 100, 0.5);
  
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "previous button" to the left */
.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(100, 0, 100, 0.8);
  color:white;
  text-decoration:none;
}

/* Number text (1/3 etc) */
.numbertext {
  color: white; 
  font-size: 100%;
  padding: 8px 12px;
  position: absolute;
  top: -30px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}









/*STYLE BLOCKQUOTES*/

blockquote {
  font: 14px/22px normal helvetica, sans-serif;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 50px;
  padding-left: 15px;
  border-left: 4px solid #ccc;
} 






 /* The alert message box for Terms&Privacy, shown on Index.htm*/
.alert {
  padding: 20px;
  background-color: #525252; /* Red #f44336*/
  color: white;
  margin-bottom: 15px;
  opacity:0.9;
  
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

/* The close button */
.closebtn2 {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn2:hover {
  color: black;
} 








/*STYLE THE COOKIE BANNER*/
.cookie-banner {
	position: fixed;
	bottom: 40px;
	left: 10%;
  right: 10%;
  width: 80%;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #eee;
  border-radius: 5px;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

.closecookie {
  height: 20px;
  background-color: #777;
  border: none;
  color: white;
  border-radius: 2px;
  cursor: pointer;
}


