/*RESET*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;} body {line-height: 1;}ol, ul{list-style:none;} blockquote, q{quotes:none;} blockquote:before, blockquote:after, q:before, q:after{content:'';content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse; border-spacing:0;}

/*MAIN*/
body{
	  background-image: url('gray4.jpg');
 background-repeat: repeat;

background-color: #383838;
 padding: 7px 7px 7px 7px;
 box-shadow: 0px 0px 10px #3f362a;
 
 
 }
 
 
/*NEW IDEA instead of collapsing tables*/

* {
    box-sizing: border-box;
}
.row::after {
    content: "";
    clear: both;
    display: block;
}
[class*="col-"] {
    float: left;
    padding: 15px;
}
html {
    font-family: "Lucida Sans", sans-serif;
}
.header {
    background-color: #9933cc;
    color: #ffffff;
    padding: 15px;
}
.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.menu li {
    padding: 8px;
    margin-bottom: 7px;
    background-color :#33b5e5;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.menu li:hover {
    background-color: #0099cc;
}
.aside {
    background-color: #33b5e5;
    padding: 15px;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.footer {
    background-color: #0099cc;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    padding: 15px;
}
/* For desktop: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    [class*="col-"] {
        width: 100%;
    }
}



/*NEW IDEA*/
 
 
/**
 * I'm including this css here for reference as it's needed to make the javascript useful.
 * If this code is used this should proably be combined with the :hover styles already in _s.
 */

.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li.focus > ul {
	left: 100%;
}


#menu-icon {
	display:hidden;
	width: 40px;
	height: 40px;
	background: #383838 url(menu-icon.png) ;
	text-align: center;
}


a:hover#menu-icon {
	background-color: #bda27e;
	border-radius: 0px 0px 0 0;
}

p {
	line-height: 1.45em;
}


nav {
	float: right;
	position: relative;
	width: 56%;
	
}

a {
	color: #000000;
	text-decoration: none;
	font-weight: bold;
	font-size: 15px;
}

a:hover {
	color: #FFFFFF;
}
img {
	max-width: 100%;
	height: auto;
	/*border-radius: 15px 15px 15px 15px;*/
	/* box-shadow: 0px 0px 10px #3f362a;*/
}

ul {
	list-style: none;
}

li {
	display: inline-block;
	float: left;
	padding: 10px;
}

.current {
	color: #ffffff;
}

section {
	margin: 20px 40px 20px 40px;
	max-width: 1200px;
	position: relative;
	padding: 0px 0px 0px 0px;
}

h5{
 font-family:, Georgia, serif;
 color: #383838;
 font-size: 16px;
 font-weight: bold;
 text-align: center;
 }
}



@media screen and (max-width: 768px) {
	#simplegallery{
		width: 100% !important;
		height: 200px !important;
	}
}



 #gallery{
	 z-index:999;
	 border-color: #383838 20px 20px 20px 20px; 
 }

  #formbox{
  padding: 2px;
 margin:0px;
 font-family: Georgia, Times, serif;
 width: 100% ;
 text-align: top;
 font-size: 16px;
 text-align: left;
 line-height: 1.6;
 
 }

 #maintop{
 padding: 10px;
 background-image: url('greenbackground.gif');
 border-radius: 30px 30px 30px 30px;
 }
 
 p
 {
 font-family: Georgia, serif;
 color: #383838;
 font-size: 16px;
 margin:15px;
 }
 
 h1
 {
 font-family: Gabriola, Harlow Solid Italic, Broadway, Georgia, serif;
 color: #383838;
 text-align: center;
 font-size: 45px;
 font-weight: bold;
  margin: 0px 0px 0px 0px;
 }
 
    h2
 {
 font: Georgia, serif;
 color: #383838;
 font-size: 14px;
 margin: 0px 0px 0px 0px;
 line-height: 1.4em;
 text-align: left;
 }
 
   h3
 {
 font: Georgia, serif;
 color: #383838;
 font-size: 13px;

 }
    h4
 {
 font: Georgia, serif;
 color: #383838;
 font-size: 16px;
 text-align: left;
 }

a
{font-family: Georgia, serif;
 color: #383838;
 font-size: 20px;
 }
 
 a:hover
{font-family: Georgia, serif;
 color: #e5e5e5;
 font-size: 20px;
 }
 
ul#menu
 {
 padding: 20px 20px 20px 20px;
 position: relative;
 margin: 0;
 display: inline-table;
 list-style: none;
 white-space: nowrap;
 }
 
 ul#menu ul
 {
 display: none;
 position: absolute; 
 }
 
ul#menu li
 {
 float: left;
 }
 
ul#menu li:hover > ul {	
	}

ul#menu li a 
{
 font: Georgia, serif;
 background-color: #383838;
 padding: 0px 0px;
 text-decoration: none;
 line-height: 2.5em;
 color: #282828;
 font-size: 15px;
 border-radius: 10px 10px 10px 10px;
 display: block;
 font-weight: bold;
 }
 
ul#menu li a:hover
 {
 background-color: #383838;
 } 
 
	@media only screen and ( max-width: 480px ) { /* 640 */

	 table{
		 width:95%;
		 }
		 input[type=text],textarea{
	width:75%
	}
	}
	
p {
	line-height: 1.45em;
}

nav {
	float: right;
	position: relative;
	width: 56%;
}

#menu-icon {
	display:hidden;
	width: 40px;
	height: 40px;
	background: #383838 url(menu-icon.png) ;
	text-align: center;
}

a:hover#menu-icon {
	background-color: #4d4d4d;
	border-radius: 0px 0px 0 0;
}


/*Idea 3*/
#nav
{
    /* container */
}

    #nav > a
    {
      display: none;
	  
    }
    #nav li
    {
        position: relative;
		float:left;
    }
 
    /* first level */
 
    #nav > ul{
        height: 4.75em;
		float: right;
		

    }
        #nav > ul > li
        {
			float: left;
			border: 4px solid #383838;
			padding: 6px;
			border-radius: 20px;
			
		
			   
background: black; /* For browsers that do not support gradients */
    
background: -webkit-linear-gradient(#8c8c8c, #f2f2f2); /* For Safari 5.1 to 6.0 */
    
background: -o-linear-gradient(#8c8c8c, #f2f2f2); /* For Opera 11.1 to 12.0 */
    
background: -moz-linear-gradient(#8c8c8c, #f2f2f2); /* For Firefox 3.6 to 15 */
    
background: linear-gradient(#8c8c8c, #f2f2f2); /* Standard syntax (must be last) */
        }
		
		    #nav > ul > li > a{
  font-size: 17px;
			}

    /* second level */
 
    #nav li  ul
    {
        display: none;
        position: absolute;
		z-index: 1001;
        top: 100%;
		border: 4px solid #383838;
		border-radius: 20px 20px 20px 20px;
		font-size: 11px;
background: black; /* For browsers that do not support gradients */
    
background: -webkit-linear-gradient(#8c8c8c, #f2f2f2); /* For Safari 5.1 to 6.0 */
    
background: -o-linear-gradient(#8c8c8c, #f2f2f2); /* For Opera 11.1 to 12.0 */
    
background: -moz-linear-gradient(#8c8c8c, #f2f2f2); /* For Firefox 3.6 to 15 */
    
background: linear-gradient(#8c8c8c, #f2f2f2); /* Standard syntax (must be last) */
    }
    }	
	
        #nav li:hover ul
        {
            display: block;
        }
		
	h5{
 font-family:, Georgia, serif;
 color: #383838;
 font-size: 13px;
 font-weight: bold;
 text-align: center;
 }
		
		/*Media QUERY--------------*/
	@media only screen and ( max-width: 1300px ) /* 640 */
{
    #nav
    {
        position: static;
		width: 100%;
    }
        #nav > a
        {
        }
        #nav:not( :target ) > a:first-of-type,
        #nav:target > a:last-of-type
        {
            display: block;
        }
 
    /* first level */
    #nav > ul
    {
        height: auto;
        display: none;
        position: absolute;
        left: 0;
        right: 0;
		z-index: 1001;
		border: 4px solid #383838;
		border-radius: 10px 10px 10px 10px;
		/*Gradient Black*/ 
background: #383838; /* For browsers that do not support gradients */
    
background: -webkit-linear-gradient(#a89070, #e8d9c5); /* For Safari 5.1 to 6.0 */
    
background: -o-linear-gradient(#a89070, #e8d9c5); /* For Opera 11.1 to 12.0 */
    
background: -moz-linear-gradient(#a89070, #e8d9c5); /* For Firefox 3.6 to 15 */
    
background: linear-gradient(#a89070, #e8d9c5); /* Standard syntax (must be last) */
    }
        #nav:target > ul
        {
            display: block;
        }
        #nav > ul > li
        {
        width: 100%;
        float: none;
		border: 4px solid #383838;
		border-radius: 10px 10px 10px 10px;
		padding: 12px;
		font-size: 16px;
        }
 
    /* second level */
 
    #nav li > ul
    {
        position: static;
    }

/*Idea 3*/
	@media only screen and ( max-width: 480px ) { /* 640 */

	 table{
		 width:95%;
		 }
		 input[type=text],textarea{
	width:75%
	}
	
	}
	
