/************************************************************************************
RESET
*************************************************************************************/
* {
    
    margin-top: 0;
}

html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}


/************************************************************************************
GENERAL STYLING
*************************************************************************************/
html, body {
           height: 100%;
           }
  
body {
	font: 1.1em/100% Arial, Helvetica, sans-serif;
	line-height: 1.3em;
     	color: #000000;
	background: #FFFFFF;
	background-size: 100%;
	background-image:url(../jpg/bg.jpg);
     	overflow-y:scroll;
     	overflow-x:hidden;
	min-height: 100%;
	height: auto !important; /* This line and the next line are not necessary unless you need IE6 support */
	height: 100%;
	margin: 0 0 -35px 0; /* the bottom margin is the negative value of the footer's height */        
     }

/*Opera Fix*/
body:before {
            content:"";
            height:100%;
            float:left;
            width:0;
            margin-top:-32767px;
            }

   
a {
  font: 1.0em/100% Arial, Helvetica, sans-serif;
  color: #440066;
  text-decoration: none;
  outline: none;
  }
    
a:hover {
	text-decoration: underline;
        cursor: pointer;
        }
                     
ul, ol {
	margin: 0;
	padding: 0;
        display: block;
       }
    
li {
	font: 1.0em/100% Arial, Helvetica, sans-serif;
	padding: 0.5em 0em 0.2em 0.75em;
	display: block;
    }  

blockquote {
	   font: 1.0em/100% Arial, Helvetica, sans-serif;
	   margin: 1em;
	line-height: 1.2em;
           }
    
/* headings */
h1, h2, h3, h4, h5, h6 {
	                line-height: 1.2em;
	                margin: 0;
	                color: #000000;
                       }
    
h1 {
	font-size: 1.3em;
    	padding: 0em 1em 0.25em 0.5em;
	margin-bottom: 5px;
    	background-color: #440066;
    	color: #FFFFFF;
    }
  
h2 {
	font-size: 1.2em;
    	text-align: center;
    	background-color: #440066;
   	color: #FFFFFF;  
    	padding: 4px 0 4px 0;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
    }
   
h3 {
	font-size: 1.1em;
    	padding: 4px 0 4px 0px;
    }
    
h4 {
	font-size: 1.1em;
	text-align:center;
    	background-color: #000000;
   	color: #FFFFFF;
	margin: 0; 
    	padding: 4px 0 4px 0;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
    }
    
h5 {
	font-size: 1.0em;
    }
    
h6 {
	font-size: 0.9em;
	color: #566573;
	font-style: italic;
	text-align:center;
    }

h7 {
	font-size: 0.75em;
	margin: 0;
	color: #000000;
	float: left;
    }


h8 {
	font-size: 1.2em;
    	text-align: center;
    	background-color: #440066;
   	color: #FFFFFF;
    	padding: 0.2em 0.6em 0.2em 0.6em;
	margin-bottom: 0.5em;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
    }

p.small {
	font-size: 0.8em;
	line-height: 90%;
	margin: 0;
	color: #000000;
    	}

hr {
	margin: 10px 0 20px 0;
	}

/* reset webkit search input styles */
input[type=search] {
	-webkit-appearance: none;
	outline: none;
    }

input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
	display: none;
    }

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        background-color:#000000;
        }

#banner {
        background: #440066;
        }
    
/************************************************************************************
PAGE STRUCTURE
*************************************************************************************/
#pagewrap {
	  width: 100%;
          min-height:100%;
	  background: #EFDEC0;              
	}

#container {
	 width: 100%;
         float: left;
         text-align: left;
         }

#content {
         text-align: left;
         margin-top: 1em;
         margin-left: 1em;
         margin-right: 1em;
         }

#content-center {
                text-align: center;
                margin-right: 1em;
                margin-bottom: 1em;
                padding-right: 1em;                
                }

#list {
       font: 1.1em/ Arial, Helvetica, sans-serif;
       list-style-position: outside;
       text-indent: -1.2em;
       margin: 0.5em 0 0.5em 0.5em;
       padding-bottom: 1em;
       padding-left: 1.5em;  
       display: block;
       }                              

.box {
      font: 1.1em/100% Arial, Helvetica, sans-serif;
      line-height: 1.2em;
      text-align: left;
      background-color: #f6efdf;
      border: 1px solid #440066;
      border-radius: 5px;
      -webkit-box-shadow: #B3B3B3 5px 5px 5px;
      -moz-box-shadow: #B3B3B3 5px 5px 5px;
      box-shadow: #B3B3B3 5px 5px 5px;
      margin: 1em 0em 1.5em 0em;
      }

.embed-container {
                height: 0;
                width: 100%;
		border: 1px solid #440066;
                padding-bottom: 56.25%;
                overflow: hidden;
                position: relative;
		border-radius: 7px;
	        -webkit-box-shadow: #B3B3B3 5px 5px 5px;
	        -moz-box-shadow: #B3B3B3 5px 5px 5px;
		box-shadow: #B3B3B3 5px 5px 5px;
		margin: 0 0 1.5em 0;
                 }
			
.embed-container iframe {
                        width: 100%;
                        height: 100%;
                        position: absolute;
                        top: 0;
                        left: 0;
                        }

button.accordion {
    		background-color: #ededed;
    		color: #440066;
    		cursor: pointer;
		margin-top: 0.5em;
    		padding: 5px;
    		width: 100%;
    		border: none;
    		text-align: left;
    		outline: none;
    		font-size: 1em;
    		font-weight: bold;
		}

button.accordion:hover {
    			content: '\002B';
    			background-color: #440066;
    			color: #ffffff;
			}

button.accordion.active {
    			content: '\002B';
    			background-color: #440066;
    			color: #ffffff;
			}

button.accordion:after {    		
    			content: '\002B';
			background-color: #440066;
			float: right;
    			color: #ffffff;
			padding-top: 3px;
			padding-right: 8px;
			padding-bottom: 3px;
			padding-left: 8px;
			}

button.accordion.active:after {
    				content: "\2212";
    				float: right;
    				padding-right: 10px;
				}

div.panel {
	font: 1.0em/100% Arial, Helvetica, sans-serif;
	line-height: 1.2em;
	padding: 0px 10px;
    	background-color: #ffffff;
    	max-height: 0;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
    	overflow: hidden;
    	transition: max-height 0.3s ease-out;
    	margin-bottom: 1em;
	}



/************************************************************************************
TABLES
*************************************************************************************/                
table {     
	table-layout:auto;
	width: 100%;
	margin: 0.25em 0em .25em 0em;
      }

td {
   font: 1.0em/100% Arial, Helvetica, sans-serif;
   line-height: 110%;
   vertical-align:top;
   padding: 0.2em 0.5em 0.2em 0.5em;
   }

#table-decor {
	     width: 100%;
             float: left;
	     margin: 0.5em 0em 1.5em 0em;
	     text-align: left;
             background-color: #f6efdf;
	     border: 1px solid #440066;
             border-radius: 5px;
             -webkit-box-shadow: #B3B3B3 5px 5px 5px;
             -moz-box-shadow: #B3B3B3 5px 5px 5px;
             box-shadow: #B3B3B3 5px 5px 5px; 
             }
             
#table-decor th {
                padding: 0.2em 0em 0.2em 0.5em;
                background-color: #440066;
	        font-weight: bold;
	        font-size: 1em;
                color: #FFFFFF;
                text-align: left;
                }
                
#table-decor tbody {
	            background: #f6efdf;
                   }

#table-decor td {
                padding: 0.2em 0em 0.2em 0.5em;
	        color: #000000;
                font: 1.0em/100% Arial, Helvetica, sans-serif;
	        border-top: 1px dashed #cccccc;
		text-align: left;
                }

#table-decor tbody tr:hover td {
				color: #000000;
	                        background: #D4BEDF;
                               }

#table-decor tfoot {
	            font-weight: 700;
                   }

#table-ms {
	     margin: 0 auto;
	     padding: 0;
	     width: 100%;
             float: left;
	     border-collapse: collapse;
             }

#table-ms tbody {
	         font
                 }

#table-ms tr{
            padding: 0;
	    margin: 0;
	    background: #ffffff;
            }

#table-ms td {
             padding: 0px 5px 0px 5px;
             }
   
/************************************************************************************
COLUMNS
*************************************************************************************/                
#col20 {
	width: 20%;
	padding: 0.5em 0.5em 0em 0.5em;
	float: left;
           }

#col25 {
	width: 24%;
	padding: 0.5em 0.5em 0em 0.5em;
	float: left;
           }

#col30 {
	width: 30%;
	padding: 0.5em 0.5em 0em 0.5em;
	float: left;
           }
                      
#col33 {
	width: 33%;
	padding: 0.5em 0.5em 0em 0.5em;
	float: left;
           }

#col35 {
	width: 35%;
	padding: 0.5em 0.5em 0em 0.5em;
	float: left;
           }

#col33gallery {
	width: 33%;
	padding: 0.5em 0.5em 0em 0.5em;
	float: left;
	text-align: center;
           }
           
#col40 {
	width: 39%;
	padding: 0.5em 0.5em 0em 0.5em;
	float: left;
       }
 
#col50 {
	width: 50%;
	padding: 0.5em 0.5em 0em 0.5em;
	float: left;
        }

#col60 {
	width: 60%;
	padding: 0.5em 0.5em 0em 0.5em;
	float: left;
       }

#col70 {
	width: 70%;
	padding: 0.5em 0.5em 0em 0.5em;
	float: left;
       }

#col100 {
	width: 100%;
	padding: 0.5em 0.5em 0em 0.5em;
	float: left;
       }
   
/***********************************************************************************
IMAGES - FIGURES  - GRID
************************************************************************************/
img {
     max-width: 100%;
     }
     
#imgleft {
	 max-width: 50%;
	 height: auto;
         margin: 0em 0.75em 0.75em 0em;
	 padding: 0 em;
         float: left;
         }

#imgfloat {
	 max-width: 100%;
	 height: auto;
         margin: 0em;
	 padding: 0 em;
         float: left;
         }
 
#imgright {
	 max-width: 50%;
	 margin: 0em 0em 0.75em 0.75em;
	 padding: 0em;
         float: right;
          }

#elink {
	max-width: 400px;
	border: 1px solid black;
        background: #FFFFFF;
	padding: 0 em;
	}

figure {
        display: block;
        position:relative;
        overflow:hidden;
	border: 1px solid #440066;
	border-radius: 6px;
	-webkit-box-shadow: #B3B3B3 5px 5px 5px;
	-moz-box-shadow: #B3B3B3 5px 5px 5px;
	box-shadow: #B3B3B3 5px 5px 5px;
	margin: 0.5em 0em 1em 0em;
        }

        
figure img {
           display: block;
           width: 100%;
           height: auto;
           }

figcaption { 
   	   font-size: 1.1em;    
           display: table-caption;
           caption-side: bottom;
           position:absolute;
           bottom: 0px;
           width: 100%;           
           left: 0;
           padding: 5px;            
           height: auto;
           line-height: 1.5em;
           color: #FFFFFF;
           background: #000000;
           background: rgba(68,0,102,0.8);
           -webkit-transition: all 1s ease;
           -ms-transition: all 1s ease;
           -moz-transition: all 1s ease;
           -o-transition: all 1s ease;
           }
           
figure a {
	  font-size: 1em; 
	  color: #FFFFFF;
	  text-decoration: none;
	  outline: none;
         }
    
figure a:hover {
	       text-decoration: underline;
               cursor: pointer;
               }

.gallery {
         margin: 0 auto;
         width: 100%;
         height: 100%;
         text-align: center;
        }

.gallery img{
             max-width: 32%;
             float: left;
             margin: .25em;
             }

.gallery33 {
         width: 32.5%;
         height: 100%;
         float: left;
         margin: .1em;
        }

.gallery33 img {
             max-width: 100%;
             height: auto;
             border: 1px solid #000000;
             }

.gallery-left {
         width: 100%;
         height: 100%;
         float: left;
         margin: .1em;
        }

.gallery-left img {
	     float: left;             
	     max-width: 100%;
             height: auto;
             border: 1px solid #000000;
	     margin-right: 10px;
             }

.gallery-right {
         width: 100%;
         height: 100%;
         float: left;
         margin: .1em;
        }

.gallery-right img {
	     float: right;             
	     max-width: 100%;
             height: auto;
             border: 1px solid #000000;
	     margin-left: 10px;
	     margin-right: 5px;
             }
                     
/************************************************************************************
FORMS
*************************************************************************************/
form header {
  margin: 0 0 20px 0; 
}
form header div {
  font-size: 90%;
  color: #999;
}
form header h2 {
  margin: 0 0 5px 0;
}
form > div {
  clear: both;
  overflow: hidden;
  padding: 1px;
  margin: 0 0 10px 0;
}
form > div > fieldset > div > div {
  margin: 0 0 5px 0;
}
form > div > label,
legend {
	width: 25%;
  float: left;
  padding-right: 10px;
}
form > div > div,
form > div > fieldset > div {
  width: 75%;
  float: right;
}
form > div > fieldset label {
	font-size: 90%;
}
fieldset {
	border: 0;
  padding: 0;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
	width: 100%;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password] {
  width: 50%;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border-color: #4697e4;
}

@media (max-width: 600px) {
  form > div {
    margin: 0 0 15px 0; 
  }
  form > div > label,
  legend {
	  width: 100%;
    float: none;
    margin: 0 0 5px 0;
  }
  form > div > div,
  form > div > fieldset > div {
    width: 100%;
    float: none;
  }
  input[type=text],
  input[type=email],
  input[type=url],
  input[type=password],
  textarea,
  select {
    width: 100%; 
  }
}
@media (min-width: 1200px) {
  form > div > label,
	legend {
  	text-align: right;
  }
}