/* Higher Peaks Academy - site styles (original layout 2007) */
body {
  margin: 0;
  padding: 14px 8px 30px 8px;
  background: #8fd3f4 url(images/clouds.gif) repeat-x top left;
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Trebuchet MS", cursive;
  font-size: 14px;
  color: #333333;
}
a { color: #1a4fa0; }
a:hover { color: #e8202a; }
img { border: 0; max-width: 100%; height: auto; }

#page {
  max-width: 800px;
  margin: 0 auto;
  background: #fffdf2;
  border: 4px solid #f7b500;
  -moz-border-radius: 18px;
  -webkit-border-radius: 18px;
  border-radius: 18px;
  overflow: hidden;
}

/* ---------- HEADER ---------- */
#header {
  background: #ffd43b;
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#fff3a6), to(#ffc928));
  background: linear-gradient(#fff3a6, #ffc928);
  padding: 10px 16px;
  border-bottom: 4px dashed #e8202a;
  overflow: hidden;
}
#header .logo { float: left; margin-right: 14px; }
#header .logo img { width: 120px; display: block; }
#header .title { float: left; padding-top: 14px; }
#header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  color: #3a53a4;
  text-shadow: 2px 2px 0 #ffffff, 3px 3px 0 #e8202a;
}
#header .slogan { color: #2b8a3e; font-size: 15px; font-weight: bold; margin-top: 6px; }
#header .callnow { float: right; text-align: center; padding-top: 8px; }
.starburst {
  display: block;
  width: 108px;
  padding: 20px 6px;
  background: #e8202a;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.15;
  text-align: center;
  -webkit-transform: rotate(8deg);
  transform: rotate(8deg);
  -webkit-clip-path: polygon(50% 0, 61% 20%, 85% 12%, 80% 37%, 100% 50%, 80% 63%, 85% 88%, 61% 80%, 50% 100%, 39% 80%, 15% 88%, 20% 63%, 0 50%, 20% 37%, 15% 12%, 39% 20%);
  clip-path: polygon(50% 0, 61% 20%, 85% 12%, 80% 37%, 100% 50%, 80% 63%, 85% 88%, 61% 80%, 50% 100%, 39% 80%, 15% 88%, 20% 63%, 0 50%, 20% 37%, 15% 12%, 39% 20%);
}
.starburst:hover { background: #c92a2a; }
.callnow .phone { display: block; margin-top: 8px; font-size: 16px; font-weight: bold; color: #3a53a4; text-decoration: none; }

/* ---------- NAV TABS ---------- */
#nav { padding: 8px 10px 0 10px; background: #fffdf2; overflow: hidden; }
#nav a {
  float: left;
  margin-right: 4px;
  padding: 7px 13px;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  -moz-border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
}
#nav a.t1 { background: #e8202a; }
#nav a.t2 { background: #f08c00; }
#nav a.t3 { background: #2f9e44; }
#nav a.t4 { background: #3a53a4; }
#nav a.t5 { background: #9c36b5; }
#nav a.t6 { background: #e64980; }
#nav a:hover, #nav a.current { padding-top: 10px; margin-top: -3px; text-decoration: underline; }

/* ---------- TICKER ---------- */
.ticker {
  background: #fff3bf;
  border-top: 3px solid #3a53a4;
  border-bottom: 1px solid #fab005;
  color: #c92a2a;
  font-weight: bold;
  font-size: 13px;
  padding: 5px 8px;
  overflow: hidden;
  white-space: nowrap;
}
.ticker span { display: inline-block; padding-left: 100%; -webkit-animation: ticker 26s linear infinite; animation: ticker 26s linear infinite; }
@-webkit-keyframes ticker { to { -webkit-transform: translateX(-100%); } }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker span { -webkit-animation: none; animation: none; padding-left: 0; } }

/* ---------- COLUMNS ---------- */
#columns { overflow: hidden; padding: 12px; }
#sidebar { float: left; width: 190px; margin-right: 14px; }
#content { overflow: hidden; line-height: 1.55; }

.box {
  background: #e7f5ff;
  border: 2px dotted #3a53a4;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
  font-size: 13px;
}
.box h3 { margin: 0 0 6px 0; color: #e8202a; font-size: 16px; }
.box ul { margin: 0; padding-left: 18px; line-height: 1.8; }
.box.yellow { background: #fff9db; border-color: #f08c00; }
.box.green { background: #ebfbee; border-color: #2f9e44; }
.box .big { font-size: 17px; font-weight: bold; color: #3a53a4; }
.hours td { padding: 1px 4px 1px 0; vertical-align: top; white-space: nowrap; }

h2 { color: #2b8a3e; font-size: 23px; margin: 0 0 8px 0; }
h3.sub { color: #3a53a4; font-size: 18px; margin: 18px 0 6px 0; border-bottom: 2px dashed #ffd43b; padding-bottom: 3px; }
.rainbow { height: 6px; margin: 16px 0; background: #e8202a; background: linear-gradient(to right, #e8202a, #f08c00, #ffd43b, #2f9e44, #3a53a4, #9c36b5); border-radius: 3px; }

/* polaroid photos */
.photos { overflow: hidden; margin: 12px 0; }
.polaroid {
  float: left;
  width: 160px;
  margin: 0 14px 14px 0;
  padding: 6px 6px 8px 6px;
  background: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,0.3);
  box-shadow: 2px 3px 5px rgba(0,0,0,0.3);
  text-align: center;
  font-size: 12px;
  -webkit-transform: rotate(-2deg);
  transform: rotate(-2deg);
}
.polaroid:nth-child(even) { -webkit-transform: rotate(2deg); transform: rotate(2deg); }
.polaroid img { display: block; width: 160px; height: 140px; object-fit: cover; margin-bottom: 5px; }

.btn {
  display: inline-block;
  background: #40c057;
  background: linear-gradient(#69db7c, #2f9e44);
  color: #ffffff !important;
  font-weight: bold;
  font-size: 15px;
  padding: 9px 18px;
  border: 2px solid #237032;
  -moz-border-radius: 22px;
  -webkit-border-radius: 22px;
  border-radius: 22px;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
}
.btn:hover { background: #2f9e44; }
.btn.blue { background: linear-gradient(#5c7cfa, #3a53a4); border-color: #263a80; }

.quote { background: #ffffff; border: 2px solid #ffd43b; padding: 10px 12px; margin: 10px 0; -moz-border-radius: 10px; border-radius: 10px; font-size: 13px; }
.quote b { color: #9c36b5; }

.program { overflow: hidden; background: #ffffff; border: 2px solid #a5d8ff; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.program h3 { margin: 0 0 4px 0; font-size: 18px; }
.program .ages { display: inline-block; background: #ffd43b; color: #5c3d00; font-size: 12px; font-weight: bold; padding: 1px 8px; border-radius: 8px; margin-bottom: 4px; }
.program.c1 h3 { color: #e8202a; } .program.c2 h3 { color: #f08c00; } .program.c3 h3 { color: #2f9e44; }
.program.c4 h3 { color: #3a53a4; } .program.c5 h3 { color: #9c36b5; } .program.c6 h3 { color: #e64980; }

/* forms */
.form { background: #fff9db; border: 3px dashed #f08c00; border-radius: 14px; padding: 12px 14px; }
.form table { width: 100%; border-collapse: collapse; }
.form td { padding: 5px 4px; vertical-align: top; font-size: 13px; }
.form td.label { width: 34%; font-weight: bold; color: #3a53a4; text-align: right; padding-top: 8px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=date], .form select, .form textarea {
  width: 95%;
  padding: 4px;
  border: 2px inset #cccccc;
  font-family: Verdana, Arial, sans-serif;
  font-size: 13px;
  background: #ffffff;
}
.form textarea { height: 80px; }
.req { color: #e8202a; }
.hide { position: absolute; left: -9999px; }
.alert { background: #ffe3e3; border: 2px solid #e8202a; color: #c92a2a; padding: 8px; font-weight: bold; margin-bottom: 10px; display: none; }
.alert.show { display: block; }

/* ---------- FOOTER ---------- */
#footer {
  background: #3a53a4;
  color: #ffffff;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  text-align: center;
  padding: 10px;
  line-height: 1.7;
}
#footer a { color: #ffe066; }
#footer .tagline { color: #ffe066; font-weight: bold; }

/* small screens */
@media (max-width: 640px) {
  body { padding: 6px 6px 20px 6px; }
  #header .logo, #header .title, #header .callnow { float: none; text-align: center; }
  #header .logo img { margin: 0 auto; }
  .starburst { margin: 8px auto 0 auto; }
  #nav a { padding: 6px 9px; font-size: 13px; margin-bottom: 3px; }
  #columns { display: flex; flex-direction: column; }
  #sidebar { float: none; width: auto; margin: 16px 0 0 0; order: 2; }
  .callnow .phone { display: inline-block; background: #2f9e44; color: #ffffff; padding: 8px 18px; border-radius: 22px; border: 2px solid #237032; }
  .callnow .phone:before { content: "°E  Tap to Call "; }
  .polaroid { width: 40%; } .polaroid img { width: 100%; }
  .form td, .form td.label { display: block; width: auto; text-align: left; }
}
