/* Overall  */

body {background-color: #2B5876; background-attachment: fixed; background-size: 100% 100%;}
* {box-sizing: border-box;}  /* includes padding and margins in overall box size */
.clear {clear: both;}
#maincontainer {max-width: 1000px; margin: 0 auto; background-color: #ffffff;}

/* Images */

img {width: 100%;}
img.link {border-style: solid; border-width: 2px; border-color: #ffffff;}
img.link:hover {border-style: solid; border-width: 2px; border-color: #a4c1c1;}
.footerimage {height: 120px; width: initial;}

/* Header */

#header {width: 100%; background-color: #E6ECEF;}
#logo {float: left; width: 40%;  z-index: 2; padding-top: 22%; margin-left: 2%; 
background-image: url(images/jcblogo.png); background-size: 100% 100%; background-repeat: no-repeat;}
#headertext {float: right; width: 50%; z-index: 3; margin-top: 1%; margin-right: 1%; font-size: 200%; text-align: center;}

/* Links */

a:link {  color: #000000; text-decoration: none; font-weight: bold;}
a:visited {  color: #000000; text-decoration: none; font-weight: bold;}
a:hover {  color: #2B5876; text-decoration: none; font-weight: bold;}
a.white:hover {  color: #ffffff; text-decoration: none; font-weight: bold;}

/*  Menu */

#topmenu  {visibility:hidden; display:none;}
#mainmenu {width: 100%; z-index: 5; float: left;}
#mainmenu ul {font-family: Tahoma; font-weight: bold; list-style-type: none; margin: 0; padding-top: 0; padding-inline-start: 0px;}
#mainmenu a {display: block; padding: 3px; text-decoration: none; color: #000000; position: relative; /*for ie7*/ }
#mainmenu a:hover {background-color: #2B5876; color: #ffffff; }


#menucontent {display: flex; justify-content: center; gap: 10px;}

a.menu:link {  color: #000000; text-decoration: none;}
a.menu:visited {  color: #000000; text-decoration: none;}
a.menu:hover {  color: #000000; text-decoration: none;}

a.quote:link {  color: #ffffff; text-decoration: none;}
a.quote:visited {  color: #ffffff; text-decoration: none;}
a.quote:hover {  color: #ffffff; text-decoration: none;}

#dmenubutton {display: block; padding-top: 5%; margin: auto;}

/* Banner */

a.banner {display: block; width: 60%; padding-top: 1px; padding-bottom: 1px; margin-top: 2%; margin-bottom: 2%; margin-left: 20%; margin-right: 20%; font-family: ff-nexus-sans, sans-serif; text-align: center; background-color: #2B5876; background-size: 100% 100%; background-repeat: no-repeat;}
a.banner:hover {color: #ffffff;}


/* Buttons */

a.button {display: block; background-color: #2B5876; color: #ffffff; border-radius: 10%; border-style: solid; border-width: 2px; border-color: #ffffff; width: 25%; padding: .5em; text-align: center; text-decoration: none;}
a.button:hover {background-color: #ffffff; border-style: solid; border-width: 2px; border-color: #2B5876; color: #2B5876;}
input.button {display: block; background-color: #2B5876; color: #ffffff; border-radius: 10%; border-style: solid; border-width: 2px; border-color: #ffffff; width: 25%; margin: auto; padding: .5em; text-align: center; text-decoration: none;}
input.button:hover {background-color: #ffffff; border-style: solid; border-width: 2px; border-color: #2B5876; color: #2B5876;}
p.center > a.button {width: 100%;}
input.button.center {width: 100%;}

/* Form */

form {text-align: center;}

/* Blockquote */

.blockquote_wrapper {border-left: 12px solid #000000;}
.blockquote_punctuation {float: left; font-family: arial; font-size: 3em; color: #000000; padding-left: .25em;}
.blockquote_text {font-style: italic; padding-top: .5em; }
.blockquote_text span {text-align: right;}

/* Horizontal Rule */

.horizontal_rule {width: 80%; padding-top: 10%; background-image: url(images/horizontalrule.jpg); background-size: 100% 100%; background-repeat: no-repeat;  margin: 1% auto;}

/* Content */

.center {width: 100%; margin: auto; text-align: center;}
.center_img {display: block; margin: auto;}
#maincontent {width: 100%; padding: 2% 2% 2% 2%; text-align: left; z-index: 10; float: right;}
.float_box {float: right; width: 30%; min-width: 225px; padding: 2%; margin: 2%; border: 2px solid #2B5876;}
.mobile_box {clear: both; width: 100%; min-width: 225px; padding: 1%; margin: 2%; display: none;}
#board {list-style-type: none; margin: 0; padding: 0;}
.original { width: initial;}
#thank_you {width: 100%; text-align: center; color: red; border: 2px solid #344c4c;}
h1 {width: 100%; font-size: 150%; text-align: center}
h2 {font-size: 100%;}
h3 {font-size: 100%; text-align: center}
h4 {font-family: ff-nexus-sans, bold; font-size: 300%; text-align: center; clear: both; color: #344c4c; margin: initial;}
h5 {width: 100%; font-size: 125%; text-align: center; clear: both;}

/* Image_Left*/

#image_left img {border-radius: 5%;}
.image_left {float: left; width: 40%; z-index: 3; margin: 2%; padding: 1%; border: 2px solid #2B5876;}

/* Image_right*/

#image_right img {border-radius: 5%;}
.image_right {float: right; width: 40%; z-index: 3; margin: 2%; padding: 1%; border: 2px solid #2B5876;}

/* popup */

#popup {position: relative; display: none; } 
#popup_content { position: absolute; margin-left: 30%; width: 30%; max-width: 600px; background-image: url(images/artdecoframe.jpg); background-size: 100% 100%; background-repeat: no-repeat; padding: 2%; z-index: 10; }

/* Columns */
.col1 {float: left; width: 50%; padding: 1%;}
.col2 {float: right; width: 50%; padding: 1%;}

/* About Us */
#boardimage {width: 100%; }

/* Events */
#eventwrapper {clear: both;}
#eventimagewrapper {float: left; width: 25%; padding-left: 1%; padding-right: 1%; overflow: hidden; display:flex; align-items:center; justify-content:center;}
#eventimage {width: auto; height: auto; max-width: 100%; max-height: 100%;}
#eventdate{ float: right; width: 75%; padding-left: 5%;}
#eventcontent{ float: right; width: 75%; padding-left: 5%;}
#eventregister{float: left; width: 25%; margin: 5%;}
#eventregister a.button { width: 100%;}
#eventinfo{float: right; width: 25%; margin: 5%;}
#eventinfo a.button {width: 100%;}

/* Membership */
#membership_level { width: 40%;}
#membership_level th{background-color: #a4c1c1; padding: 2%;}
#table_title {colspan: 3; text-align: center;}

/* Resources */
.resource_logo {padding-top: 5%; width:80%;}

/* Photo Gallery */

a.link-icons {display: block; padding-top: 4em; padding-bottom: 4em;}
a.link-icons:link, a.viewer-icons:link, a.link-icons:visited, a.viewer-icons:visited {color: #ffffff; text-decoration: none;}
a.link-icons {background-color: #a4c1c1; border-style: solid; border-width: 2%; border-color: #a4c1c1;}
a.link-icons:hover {background-color: #ffffff; color: #a4c1c1;}
#galleryviewerwraper {position: relative; display: none;}
#galleryviewer { position: absolute; margin-left: -10%; width: 100%; max-width: 1000px; background-color: #344c4c; padding: 2%; z-index: 10; }
#mainimage {max-width: 100%;}
.photo_set_title {font-family: ff-nexus-sans, bold; font-size: 300%; text-align: center; clear: both; color: #344c4c; margin: initial;}
#closeviewer {position: absolute;  right: 2%;  opacity: 0.3; z-index: 20;}
#previmage {position: absolute;  left: 2%; top: 45%; opacity: 0.3; z-index: 20;}
#nextimage {position: absolute;  right: 2%; top: 45%; opacity: 0.3; z-index: 20;}
#closeviewer:hover, #previmage:hover, #nextimage:hover {opacity: 1;}
#closeviewer .material-icons, #previmage .material-icons, #nextimage .material-icons {font-size: 8em;}
.arrow {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.backwards, .forwards {float: left; }
#backwards .material-icons, #forwards .material-icons {display: block;}
.imagecontainer1, .imagecontainer2, .imagecontainer3 {float: left; width: 29%; padding-left: 1%; padding-right: 1%; overflow: hidden; display:flex; align-items:center; justify-content:center;}
.image1, .image2, .image3 {width: auto; height: auto; max-width: 100%; max-height: 100%;}
.image1:hover, .image2:hover, .image3:hover {border-style: solid; border-width: 2%; border-color: #a4c1c1;}

/* Footer */

#footer {width: 100%; padding: 1%;  background-color: #E6ECEF; z-index: 2; clear: both;}
#footertext {width: 100%; height: 10%; text-align: center; z-index: 3; clear: both;}
#footerleft {float: left; width: 30%;}
#footercenter {float: left; width: 40%;}
#footerright {float: left; width: 30%;}
 #copyright {width: 100%; font-size: 75%; text-align: center; z-index: 2; clear: both;}

/* Murder Mystery Page */
h4.murder {font-family: 'Finger Paint', cursive; color: #c10306;}
ul.murder {list-style-type: none;}
.horizontal_rule.murder {clear: both;}
form.murder {text-align: initial;}
form.murder input {margin: 0px 1%;}
form.murder input.name {width: 37%;}
form.murder input.address {width: 98%;}
form.murder input.csz {width: 30.8%;}
form.murder input.phone {width: 25%;}
form.murder input.email {width: 70%;}
form.murder select.meal {width: 20%;}
form.murder textarea {margin: 0px 1%; width: 98%; height: 10%;} 
form.murder input.submit {display: block; margin: auto; font-size: 150%; color: #fad402; background-color: #000000;}
form.murder input.submit:hover {color: #000000; background-color: #fad402;}
div.ticket {padding: 10px; border-width: 10px; border-style: Solid; border-color: #000000; background-color: #fad402;}
div.murder {width: 242px; height: 240px;font-weight: bold; font-size: 150%; margin: Auto;}

/* Optimize for cellphones */
@media screen and (max-width: 600px) {

/* Header */
#headertext {font-size: 100%;}

/* Menu */
#mainmenu {width: 100%; float: initial; background-color: #E6ECEF; color: #ffffff;}
#topmenu  {visibility:initial; display:initial;}
#menucontent {display: none;}
#mainmenu ul {margin: 0; padding: 0;}

/* Buttons */
a.button {width: 50%; margin: auto;}

/* Links */
a:link {text-decoration: underline;}
a:visited {text-decoration: underline;}
a.banner:link {text-decoration: none;}
a.banner:visited {text-decoration: none;}
a.button:link {text-decoration: none;}
a.button:visited {text-decoration: none;}

/* popup */

#popup_content {width: 90%; margin-left: 5%;}


/* Content */
#maincontent {float: initial; clear: both; padding: 2%; width: 100%;}
.col1 {float: initial; width: 100%;}
.col2 {float: initial; width: 100%; clear: both;}
.float_box {display: none;}
.mobile_box { display: initial; }
#banner_box {width: 100%; float: initial;}
h4 {font-size: 200%;}

/* Events */
#eventcontent{ Clear: both; width: 100%}
#eventregister {width: 40%}
#eventinfo {width: 40%;}

/* Photogallery */

#galleryviewer {width: 90%; margin-left: 5%;}
.imagecontainer1, .imagecontainer2, .imagecontainer3 {width: 27%}
a.link-icons { padding-top: 1.5em; padding-bottom: 1.5em;}
#closeviewer .material-icons, #previmage .material-icons, #nextimage .material-icons {font-size: 3em;}
a.link-icons:hover {background-color: #a4c1c1; color: #ffffff;}

/* Footer */

#footertext {height: auto; overflow: auto;}
#footerleft, #footercenter, #footerright {clear: both; width: 100%; padding: 2%;}
#footerleft {display: none;}

}