/*
Author: Brian D. Lipscomb, Divergex LLC
Author URI: http://www.divergex.com/
Description: Stylesheet custom created for phscares.org
*/

/* Styles for devices 800px or less */

@media only screen and (max-width: 800px) {

#wrapper { width: 100%; max-width: 800px; }

#header { position: relative; width: 100%; height: 200px; border-top: 4px #f254c3; }

.content { width: 10%; box-sizing: border-box; margin: 5px 5%; padding: 20px; color: #fff; }

#footer { width: 100%; min-height: 200px; margin: 5px 0 0 0; border-top: 1px solid #f254c3; background: #141414; }

.title { font-size: 18px; font-family: verdana; font-weight: bold; }

html, body { font-size: 1em; }

#footer-left {
  width: 90%;
  padding: 20px;
  margin: 0 5%;
  box-sizing: border-box;
  text-align: center;
}

#footer-right {
  width: 90%;
  padding: 20px;
  margin: 0 5%;
  box-sizing: border-box;
  text-align: center;
}

#footer-full {
  width: 90%;
  padding: 25px 0;
  margin: 0 5%;
  box-sizing: border-box;
  clear: both;
  text-align: left;
  font-size: .9em;
}

/* Navigation Menu Styles */

#nav { display: none; }

#mnav { position: relative; text-align: center; margin: 0; padding: 6px; background: #5E5E5E; border: 1px solid #333; border-bottom: 1px solid #333;}

#mnav { z-index: 10; font-size: 1em; position: absolute; top: 40px; left: 5%; width: 90%; line-height: 24px; background: #444; border: 1px solid #333; padding: 0; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

#mnav ul { font-size: 1em; text-align: left; list-style: none; margin: 0; padding: 0; width: 100%; }

#mnav ul li { display: block; margin: 0; padding: 8px 8px 0 8px; }

#mnav ul li a { text-decoration: none; }

#mnav ul ul { margin: 0; padding: 0; }

.desktop { display: none; }

}

/* Styles for devices greater than 800px */

@media only screen and (min-width: 800px) {

#wrapper {
  width: 100%;
  margin: 0;
  border-top: 6px solid #f254c3;
  background: #fff;
}

#header {
  width: 100%;
  height: 110px;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-align: center;
  background: #191919;
}

.content {
  width: 100%;
  height: auto;
  max-width: 1000px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 20px;
  color: #000;
  background: #fff;
  overflow: auto;
}

.content-narrow {
  width: 100%;
  height: auto;
  max-width: 800px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 20px;
  color: #000;
  background: #fff;
}

.content-special {
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 20px;
}

.photo-box {
  width: 100%;
  height: auto;
  overflow: auto;
  margin: 40px 0;
  padding: 0;
}

.photo-box img {
  float: left;
  width: calc(50% - 10px);
  margin: 10px 5px 0 5px;
  border: 1px solid #777;
  box-sizing: border-box;
}

.small-logo {
  float: left;
  padding: 15px 0 15px 50px;
  height: 80px;
  width: auto;
}

.title { font-size: 1.6em; }

.pink-button {
  width: 260px;
  height: 60px;
  border-radius: 30px;
  line-height: 60px;
  font-size: 1.3em;
  color: #fff;
  background: #f254c3;
  text-align: center;
  margin: 0 auto 20px auto;
}

html, body { font-size: 16px; }

h1 {
  text-align: center;
  font-size: 2.4em;
  font-weight: bold;
  margin: 20px 0 40px 0;
  color: #f254c3;
  text-transform: uppercase;
}

h2 {
  text-align: center;
  font-size: 1.7em;
  font-weight: bold;
  margin: 35px 0 15px 0;
  color: #f254c3;
  text-transform: uppercase;
  border-bottom: 1px solid #f254c3;
}

h3 {
  text-align: center;
  font-size: 1.3em;
  font-weight: normal;
  padding: 20px 0;
  color: #888;
  text-transform: uppercase;
}

h4 {
  text-align: left;
  font-size: 1.4em;
  font-weight: bold;
  margin: 20px 0 10px 0;
  color: #f254c3;
  text-transform: uppercase;
  border-bottom: 1px solid #f254c3;
}

h5 {
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  margin: 15px 0 10px 0;
  color: #f254c3;
}

.special-text {
  font-size: 1.2em;
  font-weight: bold;
  padding: 20px;
  color: #000;
}

.event-line {
  height: 4px;
  margin: 10px 0;
  border-top: 1px solid #f254c3;
}

.event-image {
  margin: 0 5%;
  width: 90%;
  height: auto;
}

.form-box {
  width: 30%;
  height: 400px;
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid #000;
  border-radius: 7px;
  padding: 0;
  margin: 10px;
  overflow: hidden;
}

.form-title-area {
  background: #eee;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  height: 110px;
  margin-bottom: 10px;
}

.form-title {
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  color: #000;
  margin: 0;
  padding: 6px;
}

.form-subtitle {
  font-size: .8em;
  text-align: center;
  color: #000;
  margin: 0;
  padding: 4px;
}

.form-thumbnail {
  width: 90%;
  height: auto;
  margin: 0 5%;
  border: 1px solid #ccc;
  border-radius: 7px;
}

#footer {
  width: 100%;
  height: 600px;
}

#footer-tophalf {
  width: 100%;
  height: 350px;
  background: #000;
}

#footer-bottomhalf {
  width: 100%;
  height: 250px;
  background: #191919;
}

#footer-left {
  width: 40%;
  padding: 20px;
  box-sizing: border-box;
  float: left;
  text-align: center;
  color: #fff;
}

#footer-right {
  width: 60%;
  padding: 20px;
  box-sizing: border-box;
  float: right;
  text-align: center;
  color: #fff;
}

#footer-full {
  width: 90%;
  padding: 25px 0;
  margin: 0 5%;
  box-sizing: border-box;
  text-align: left;
  font-size: .9em;
  color: #fff;
}

/* Navigation Menu Styles */

#mnav {
  display: none;
}

#nav {
  width: 790px;
  height: 110px;
  line-height: 110px;
  margin: 0 auto;
}

#nav ul {
  list-style-type: none;
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
}

#nav ul a {
  display: inline-block;
  margin: 0px;
  padding: 0;
  text-decoration: none;
  color: #f254c3;
  width: 100px;
  height: 100%;
}

#nav ul a:hover {
  background: #f254c3;
  color: #fff;
}

#nav ul a:active {
  background: #f254c3;
  color: #fff;
}

#nav ul li a {
  text-decoration: none;
  color: #f244c3;
  padding: 0;
  margin: 0;
}

#nav ul ul {
  display: none;
}

#nav ul li:hover > ul {
  display: block;
  background: #f254c3;
  position: absolute;
  top: 30px;
  text-align: left;
  padding: 8px;
  border: 1px solid #333;
  line-height: 24px; }

#nav ul li:hover > ul li { float: none; margin: 5px; }

.mobile { display: none; }

}

body {
  font-family: "Droid Sans", sans-serif;
  margin: 0;
  padding: 0;
  color: #000;
  background: #fff;
  }

img.banner { width: 100%; height: auto; margin: 0; padding: 0; }

p { line-height: 1.5em; }

a { color: #0000ff; text-decoration: none; }

a:hover { color: #f254c3; }

strong { color: #000; }


/* Form Field Styles */

form {
width: 80%;
padding: 20px;
margin: 10px 10%;
background: #e5e5e5;
border-radius: 5px;
}

input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  background: #f5f5f5;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  background: #f5f5f5;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}


label {
  padding: 10px;
  margin: 0;
  color: #000;
  font-size: 1em;
}

button {
  padding: 10px;
  border-radius: 5px;
  margin: 0;
  font-size: 1em;
}

/* Other Styles */

body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; padding: 24px; background:#f7f7f7; color:#222; }

.container { max-width:700px; margin: 0 auto; background:#fff; padding:20px; border-radius:8px; box-shadow:0 6px 18px rgba(0,0,0,.08);}

.error { background:#ffe6e6; border:1px solid #ddd; padding:10px; color:#000; border-radius:6px; margin-top:12px; }

.success { background:#e6ffef; border:1px solid #b8f0d0; padding:10px; color:#000; border-radius:6px; margin-top:12px; }

small.hint { display:block; margin-top:6px; color:#e5e5e5; }
