/*---Universal---*/
*{
    font-family: sans-serif;
}

body{
    background-color: lightgray;
}

#wrapper{
    margin: 10px;
    background-color: white;
    opacity: 1;
    height: 1100px;
    position: relative;
}

nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: black;
    text-align: center;

}
nav li{
    display: inline-block;
    position: relative;

}
nav a{
    text-decoration: none;
    font-family: sans-serif;
    padding: 8px 60px;
    display: block;
    font-weight: bold;
    color: white;
    text-align: center;
    line-height: 20px;
}
nav a:hover{
    background-color: white;
    color: black;

}
nav ul li ul{
    display: none;
    position: absolute;
    min-width: 100%;
    z-index: 999;
}
nav ul li:hover ul{
    display: block;
}
nav ul li ul li{
    display: block;
}
nav ul li ul li a{
    text-align: center;
    padding: 8px 30px;
}

/*---Header---*/
header{
    font-size: 100%;
    width: 100%;
    text-align: center;
    height: 100px;
}

.head_text{
    color: white;
}

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}

/*---Footer---*/
.footer{
    text-align: center;
    position: absolute;
}

.footer a{
	text-decoration: none;
  color: white;
}

.footer a:hover{
    color: lightgray;
}

.footer{
    background-color: black;
    width: 100%;
    position: absolute;
	height: 50px;
	color: #FAFAFA;
	font-weight: bold;
	padding: 5px;
    text-align: center;
    float: clear: both;
    bottom: 0;
}

/*---Home page---*/
#gallery-slider{
    width: 50%;
    height: 20%;
    position: absolute;
    overflow: hidden;
    margin-left: 10px;
    margin-top: 10px;
}

.filler{
    width: 50%;
    height: 20%;
    margin-left: 10px;
    margin-top: 10px;
    float: left;
    background-color: cyan;
}

.aside{
    border-radius: 5px;
    margin-top: 10px;
    margin-left: 3.5%;
    width: 45%;
    height: auto;
    float: left;
}

.article{
    background-color: #D5D5D5;
    width: 52.5%;
    height: 200px;
    margin-top: 3.5%;
    margin-left: 10px;
    float: left;
}

.selector{
    text-align: center;
    width: 100%;
    float: left;
    margin-left: auto;
    margin-right: auto;
}

.index-p{
    text-align: justify;
    margin-top: 30px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: lightgray;
    margin-left: 10px;
    width: 49%;
    float: left;
}

.index-x{
  float: right;
  margin-top: 30px;
  margin-right: 10px;
  padding-left: 10px;
  padding-right: 10px;
  width: 49%;
  text-align: justify;
  background-color: lightgray;
}

.button-home{
    display: inline-block;
    border-radius: 4px;
    background-color: black;
    border:none;
    color: white;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 20px;
    width: 200px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;

}

.button-home span{
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.button-home span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
  }

.button-home:hover span {
    padding-right: 25px;
  }

.button-home:hover span:after {
    opacity: 1;
    right: 0;
  }

.form1{
    display: inline-block;
}

.form2{
    display: inline-block;
}

.form3{
    display: inline-block;
}

/*---Plan Your Trip page, Trail Safety page---*/
.sideleft{
    float: left;
    width: 30%;
    padding: 20px;
}

.sideleft p{
    text-align: justify;
}

section{
    padding: 20px;
    width: 30%;
    float: left;
}

section p{
    text-align: justify;
}

aside{
    padding: 20px;
    text-align: justify;
    float: left;
    width: 30%;
}

main{
    background-color: white;
    height: 800px;
}

h2{
    text-align: center;
}

.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.accordion{
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.accordion:hover {
    background-color: #ccc;
}

.panel{
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
}

/*----Media Queries-----*/
@media only screen and (max-width: 1200px){
    img{width: 100%;}

    main{height: 1500px;}

    .sideleft, section, aside{width: 100%; padding: 5px; margin: 0;}

    .index-p, .index-x{width: 100%; padding: 5px; margin: 0;}

    .footer{
        bottom: 0;
        float: clear: both;
    }

    .form1, .form2, .form3{display: inline-block;}
}

/*----Gallery page-----*/
.gallery_body{
    font-family: Verdana, sans-serif;
    margin: 0;
    box-sizing: border-box;
}

.row > .column{
    padding: 0 8px;
}

.row:after{
    content:"";
    display: table;
    clear: both;
}

.column{
    float: left;
    width: 15%;
}

.modal{
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

.modal-content{
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

.close{
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.mySlides{
    display: none;
}

.cursor{
    cursor: pointer;
}

.prev, .next{
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next{
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover{
    background-color: rgba(0, 0, 0, 0.8);
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.caption-container{
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

.demo{
    opacity: 0.6;
}

.active, .demo:hover{
    opacity: 1;
}

img.hover-shadow{
    transition: 0.3s;
}

.hover-shadow:hover{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}


/*-----Trail Safety for Kids page-----*/
.kid-page-body{
    font-family: sans-serif;
    font-weight: 300;
    text-align: center;

}

.trail-safety-for-kids{
    width: 70%;
    margin: auto;
    padding: 10px;
    font-size: 20px;
    background-color: #444;
    color: #fff;
}

.question{
    font-size: 30px;
    margin-bottom: 10px;
}

.answers{
    margin-bottom: 20px;
    text-align: left;
    display: inline-block;
}

.answers label{
    display: block;
    margin-bottom: 10px;
}

#previous, #next, #submit{
    font-family: sans-serif;
    font-size: 22px;
    background-color: #279;
    color: #fff;
    border: 0px;
    border-radius: 3px;
    padding: 20px;
    cursor: pointer;
    margin-bottom: 20px;
}

#previous:hover, #next:hover, #submit:hover{
    background-color: #38a;
}

.slide{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
}

.active-slide{
    opacity: 1;
    z-index: 2;
}

.quiz-container{
    position: relative;
    height: 200px;
    margin-top: 40px;
}

.quiz-img img{
    width: 10%;
    float: left;
    margin-left: 10px;
}

.quiz-img2 img{
    width: 15%;
    float: right;
    margin-right: 10px;
    margin-top: 20px;
}

/*---Closures & Updates page---*/
.road-closure img{
    width: 50%;
    margin-left: 10px;
    float: left;
}

.road-update{
    float: right;
    width: 46%;
    margin-right: 10px;
}

.panel, .flip{
    padding: 5px;
    border: solid 1px black;
    border-radius: 5px;
}

.panel{
    padding: 20px;
    display: none;
}

.flip{
    text-align: center;
    background-color: rgb(212, 79, 79);
}

.panel2, .flip2{
    padding: 5px;
    border: solid 1px black;
    border-radius: 5px;
}

.panel2{
    padding: 20px;
    display: none;
}

.flip2{
    text-align: center;
    background-color: rgb(212, 79, 79);
}

.panel3, .flip3{
    padding: 5px;
    border: solid 1px black;
    border-radius: 5px;
}

.panel3{
    padding: 20px;
    display: none;
}

.flip3{
    text-align: center;
    background-color: rgb(212, 79, 79);
}

/*---Contact page---*/
input[type=text], textarea, select{
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=submit] {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover{
    background-color: #45a049;
}

.contactform{
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

/*---Get Involved page---*/
.overlay-container{
    position: relative;
}

.overlay-container img{
    display: block;
    width: 100%;
    height: auto;
}

.overlay{
    position: absolute;
    top: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 90.5%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 20px;
    padding: 20px;
    text-align: center;
}

.overlay a{
    color: white;
    text-decoration: none;
}

.overlay-container:hover .overlay{
    opacity: 1;
}

/*---Volunteer page---*/
.volunteer-href a{
    color: black;
    text-decoration: none;
}

.volunteer-href a:hover{
    color: blue;
}

.volunteer-img1 img{
    float: left;
    margin-left: 10px;
    width: 15%;
}

.volunteer-img2 img{
    float: right;
    margin-right: 10px;
    width: 15%;
}

.volunteer{
    margin-left: 25%;
    width: 46%;
    margin-right: 10px;
}

.panel-volunteer, .flip-volunteer{
    padding: 5px;
    border: solid 1px black;
    border-radius: 5px;
}

.panel-volunteer{
    padding: 20px;
    display: none;
}

.flip-volunteer{
    text-align: center;
    background-color: lightgray;
}

.panel-volunteer2, .flip-volunteer2{
    padding: 5px;
    border: solid 1px black;
    border-radius: 5px;
}

.panel-volunteer2{
    padding: 20px;
    display: none;
}

.flip-volunteer2{
    text-align: center;
    background-color: lightgray;
}

.panel-volunteer3, .flip-volunteer3{
    padding: 5px;
    border: solid 1px black;
    border-radius: 5px;
}

.panel-volunteer3{
    padding: 20px;
    display: none;
}

.flip-volunteer3{
    text-align: center;
    background-color: lightgray;
}