/* W3.CSS 4.04 Apr 2017 by Jan Egil and Borge Refsnes */

/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
html
{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
html{overflow-x:hidden}

body {margin:0;}

/* test dropdown code 2*/

#top-bar {
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	margin:0;
	padding:0;
	z-index:998;
	overflow:visible;
	background:#f1f1f1;
	
}
#topbar-inner, #footer-inner {
	height:62px;
	background:#f1f1f1;
	max-width: 1020px;
		margin:auto;
}
.spacer {
	height:130px
}/* same height as footer/header to preserve space*/
p {
	margin-top:0
}
ul {
	margin:0 auto;
	padding: 0;
	list-style: none;
	width:600px;
	float: right;
}
ul li {
	position: relative;
	float: right;
	width:100px;
}
li ul {
	position: absolute;
	left: 0;
	top: auto;
	display: none;
	z-index:998;
	width:auto
}
li ul ul {
	position: absolute;
	left:100%;
	top: -.1em;
	display: none;
}
/* Styles for Menu Items */
ul li a {
	display: block;
	text-decoration: none;
	color: #777;
	background: #f1f1f1; /* IE6 Bug */
	padding: 20px;
	border:  #ccc;
	text-align:center;
	
}
/* this sets all hovered lists to red */
li:hover a, li.over a, li:hover li:hover a, li.over li.over a, li:hover li:hover li:hover a, li.over li.over li.over a, li:hover li a:hover, li.over li a:hover, li:hover li:hover li:hover a:hover, li.over li li a:hover, li:hover li:hover li:hover li:hover a:hover, li.over li.over li.over li.over a:hover {
	color: #fff;
	background-color: #DA405A;
}
/* set dropdown to default */
li:hover li a, li.over li a, li:hover li:hover li a, li.over li.over li a, li:hover li:hover li:hover li a, li.over li.over li.over li a {
	color: #777;
	background-color: #fff;
}
li ul li a {
	padding: 10px 8px;
} /* Sub Menu Styles */
ul li:hover ul ul, ul li:hover ul ul ul, ul li.over ul ul, ul li.over ul ul ul {
	display:none;
}
ul li:hover ul, ul li li:hover ul, ul li li li:hover ul, ul li.over ul, ul li li.over ul, ul li li li.over ul {
	display: block;
}
/** end **/

/* original fixed menu code
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    position: fixed;
    top: 0;
    width: 100%;
	 z-index: 99;
}

li {
    float: right;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover:not(.active) {
    background-color: #111;
}

.active {
    background-color: #4CAF50;
}

*/

/*test dropdown code 

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

li {
    float: left;
}

li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color: red;
}

li.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}

/*#fixedmenu {
	position:relative;
	top:0;
}
*/

/*menuwrapper {
	position:fixed;
	top:0;
	}*/
/* original website gallery code */
.thumb {
	background-color:transparent;
	float:left;
	width:150px;
	height:150px;
	margin-left:5px;
	margin-right:5px;
	margin-top:5px;
	margin-bottom:5px;
}

#gallery-body { 
margin: auto;
padding-bottom: 100px;
max-width: 1020px;
overflow: auto;}

#js-email-prot {text-align: center; }

#contact { height: 200px;}


/*edited w3schools template code*/

html,body{font-family:Verdana,sans-serif;font-size:15px;line-height:1.5}

html{overflow-x:hidden}

h1{font-size:36px}h2{font-size:30px}

h3{font-size:24px}

h4{font-size:20px}

h5{font-size:18px}

h6{font-size:16px}

.w3-serif{font-family:serif}

h1,h2,h3,h4,h5,h6{font-family:"Segoe UI",Arial,sans-serif;font-weight:400;margin:10px 0}

.w3-wide{letter-spacing:4px}

hr{border:0;border-top:1px solid #eee;margin:20px 0}

.w3-image{max-width:100%;height:auto}

img{margin-bottom:-5px}

a{color:inherit}


/* Contact field */

.w3-btn,.w3-button{border:none;display:inline-block;outline:0;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}

.w3-tooltip:hover .w3-text{display:inline-block}

.w3-ripple:active{opacity:0.5}.w3-ripple{transition:opacity 0s}

.w3-input{padding:8px;display:block;border:none;border-bottom:1px solid #ccc;width:100%}

.w3-select{padding:9px 0;width:100%;border:none;border-bottom:1px solid #ccc}

.w3-main,#main{transition:margin-left .4s}

.w3-content{max-width:980px;margin:auto}

.w3-rest{overflow:hidden}

.w3-cell-row{display:table;width:100%}

.w3-cell{display:table-cell}

.w3-cell-top{vertical-align:top}

.w3-cell-middle{vertical-align:middle}

.w3-cell-bottom{vertical-align:bottom}

.w3-hide{display:none!important}

.w3-show-block,.w3-show{display:block!important}

.w3-show-inline-block{display:inline-block!important}

/* Contact field and About section positioning etc */

.w3-container,.w3-panel{padding:0.01em 16px}.w3-panel{margin-top:16px;margin-bottom:16px}


/* keeps the about image from running into the gallery thumgs*/
.w3-container:after,.w3-container:before,.w3-panel:after,.w3-panel:before,.w3-row:after,.w3-row:before,.w3-row-padding:after,.w3-row-padding:before,
.w3-cell-row:before,.w3-cell-row:after,.w3-clear:after,.w3-clear:before,.w3-bar:before,.w3-bar:after{content:"";display:table;clear:both}

.w3-justify{text-align:justify!important}

.w3-center{text-align:center!important}

.w3-border-0{border:0!important}.w3-border{border:1px solid #ccc!important}

.w3-section,.w3-code{margin-top:16px!important;margin-bottom:16px!important}

.w3-margin{margin:16px!important}

.w3-margin-top{margin-top:16px!important}

.w3-margin-bottom{margin-bottom:16px!important}

.w3-margin-left{margin-left:16px!important}

.w3-margin-right{margin-right:16px!important}

.w3-padding-small{padding:4px 8px!important}

.w3-padding{padding:8px 16px!important}

.w3-padding-large{padding:12px 24px!important}

.w3-padding-16{padding-top:16px!important;padding-bottom:16px!important}

.w3-padding-24{padding-top:24px!important;padding-bottom:24px!important}

.w3-padding-32{padding-top:32px!important;padding-bottom:32px!important}

.w3-padding-48{padding-top:48px!important;padding-bottom:48px!important}

.w3-padding-64{padding-top:64px!important;padding-bottom:64px!important}

.w3-left{float:left!important}

.w3-right{float:right!important}

.w3-button:hover{color:#000!important;background-color:#ccc!important}

.w3-transparent,.w3-hover-none:hover{background-color:transparent!important}

.w3-hover-none:hover{box-shadow:none!important}



/* Colors */

.w3-black,.w3-hover-black:hover{color:#898989!important;background-color:#DFDFDF!important}

.w3-light-grey,.w3-hover-light-grey:hover,.w3-light-gray,.w3-hover-light-gray:hover{color:#000!important;background-color:#f1f1f1!important}

.w3-dark-grey,.w3-hover-dark-grey:hover,.w3-dark-gray,.w3-hover-dark-gray:hover{color:#000!important;background-color:#DFDFDF!important}













