@font-face {
  	font-family: opensans-condlight-webfont;
 	src: url('../fonts/opensans-condlight-webfont.woff') format('woff');
}

body {
	margin: 0;
	font-family: opensans-condlight-webfont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 22px;
	line-height: 1.5em;
	background-color: #d8d8d8;
	background-image: linear-gradient(silver, black);
}

body { 
	-webkit-animation:fadein 1.5s; animation:fadein 1.5s }
	@-webkit-keyframes fadein { from {opacity:0} to {opacity:1} }
	@keyframes fadein { from {opacity:0} to {opacity:1}
}

ul {
       list-style-type: square;
       margin-left: 40px;
       color: #555555;
}       

#myBtn {
       display: none;
       position: fixed;
       bottom: 20px;
       right: 30px;
       z-index: 99;
       font-size: 18px;
       border: none;
       outline: none;
       background-color: #FEB41D;
       color: white;
       cursor: pointer;
       padding: 15px;
       border-radius: 4px;
}

#myBtn:hover {
       background-color: #555;
}

#wrapper{
       max-width: 1200px;
       margin: 0 auto;
       background-color: #ffffff;
}

.boxen {
       width: 48%;
       margin-left: 1%;
       margin-right: 1%;
       margin-bottom: 20px;
       float:left;
}

hr { 
       background-color: #FEB41D; 
       border: none; 
       color: #FEB41D; 
       height: 1px; 
       margin-bottom: 30px;
}

img{
       max-width: 100%;
}

article {
       padding: 1em;
}

header {
       background-color: #555555; 
       background-image:url(../images/header-back.jpg);
       height: 220px;
}

h1 { 
    display: block;
    font-size: 2em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
    line-height: 50px;
}

h2 { 
    display: block;
    font-size: 1.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

h4 { 
    display: block;
    font-size: 2.9em;
    font-weight: bold;
    line-height: 50px;
    padding-bottom: 10px;
}

p {
    margin-bottom: 1em;
}

.lightbox {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0, 0, 0, .8);
}

.lightbox_table {
    width:100%;
    height:100%;
}

.lightbox_table_cell {
    vertical-align:middle;
}

a:link{color:#000000; text-decoration: none}
a:visited{color:#000000; text-decoration: none}
a:hover{color:#000000; text-decoration: underline}
a:active{color:#000000; text-decoration: none}    

/* These styles apply to wide screen (though come carry over to mobile */
/* The whole nav menu */

#menu {
	width: 100%;
	background: #FEB41D;
	overflow: hidden;
	border-top: solid 1px #000000;
	border-bottom: solid 1px #000000;
	display: flex;
	align-items: center;
  	justify-content: left;
}
/* Each link in the nav menu */

#menu a {
	display: block;
	float: left;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 22px;
	padding-bottom: 22px;	
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	color: black;
	border-right: solid 1px #000000;
}
/*Checkbox looks like a button, easy to detect click */

input[type=checkbox] {
	display: none;
}
/*When the "checkbox" is checked, show the dropdown menu */

input[type=checkbox]:checked~#menu {
	display: block;
}


/* The top bar that shows the hamburger icon on small screens */

.hamburger {
	text-decoration: none;
	color: #000;
	background: #FEB41D;
	padding: 13px 0 12px 17px;
	display: none;
}
/* Just the hamburger image */

#burger {
	height: 36px;
	padding-top: 8px;
}

#overallfull {
	float: right;
	max-width: 450px;
	padding-top: 104px;
	padding-right: 30px;
	color: #fff;
} 

/* Start of Modalbox */

.modalDialog {
    position: fixed;
    color: #000000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalDialog:target {
    opacity: 1;
    pointer-events: auto;
}

.modalDialog > div {
    width: 60%;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #ffffff;
}

.close {
    line-height: 25px;
    position: absolute;
    right: 20px;
    text-align: center;
    top: 20px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

.close:hover {
    background: #ffffff;
}

@media screen and (max-width: 768px) {
	#overallfull {
	display: none !important;
	background-color: #FEB41D;
}

@media screen and (max-width: 768px) {
	/* CSS for narrow screens */
	/* Hide the drop-down menu */
	#menu {
		position: absolute;
		display: none;
		padding-bottom: 20px;
	}


	/* The top bar that shows the hamburger icon */
	.hamburger {
		display: block;
		border-bottom: solid 1px #000000;
		border-top: solid 1px #000000;
	}
	/* Each link in the dropdown menu */
	#menu a {
		display: block;
		float: none;
		padding: 10px 0;
		margin-left: 20px;
		margin-right: 20px;
		text-align: left;
		background: #FEB41D;
		text-decoration: none;
		color: black;
		border-bottom: solid 1px #000000;
		border-right: none;
	}
	#overall {
	    position: relative;
	    background-color: #FEB41D;
	    height: 52px;
	    margin-right: 18px;
	}
	#navbar {
	    float: left;
	    width: 50px;
	    	}
	#main {
	    margin-left: 70px;
	}
	
	h3 { 
	    display: block;
	    font-size: 1.9em;
	    font-weight: bold;
	    line-height: 50px;
	}
}
/* End of #media screen */

@media only screen and (max-width:768px) { /* Tablet */
  .boxen  {
    width:100%;
    float:none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
  }