* {
  margin: 0;
}

html, body, input, a {
  font-family: 'Ubuntu', Arial, sans-serif;
}

html, body {
  margin:0;
  width: 100%;
  height: 100%;
}
/*hdr-top*/
body {
  padding:0 2.0em 2.0em 2.0em;
}

/*** BEGIN FORM CSS ***/
fieldset {
  padding: 30px;
  background-color:white;
}

table td {
  vertical-align: top;
}

.optionGroup {
  height: 90px;
  display: block;
  /*border: 2px solid gray;*/
}
#updProfileForm, #registerForm, #simplecartCheckout {
  left: 0;
  width: 85%;
  text-align:left;
  /*border: 2px solid #000000;*/
}
#updProfileForm p, #registerForm p, #simplecartCheckout p {
  margin-top: 0;
  margin-bottom: 1.3em;
}
#updProfileForm label, #registerForm label, #simplecartCheckout label {
  width: 150px;
  display: inline-block;
  /*border: 2px solid red;*/
}
#updProfileForm label.chkBox, #registerForm label.chkBox {
  width: auto;
  min-width: 0;
}

#registerForm label.prefRole:hover, #registerForm label.prefRole:focus {
  background-color: lightyellow;
  border: 1px gray solid;
  width: 10em;
}

.formViewGrayed {
  color: rgba(0,0,0,0.4);
  font-style: italic;
  font-size: 80%;
}

.formData {
  position: absolute;
  display: inline-block;
  font-size: 90%;
  color: black;
}

.formData.has-error {
  border: 1px solid red;
}

.formData#username {
  color: rgba(0,0,0,0.6);
}

.form-error, .error {
  padding: 6px 12px;
  line-height: 180%;
  background: none repeat scroll 0 0 #FFE5ED;
  border-radius: 4px;
  margin-bottom: 22px;
  color: #8B0000;
}

.validateError {
  color: red;
  text-align:left;
}

.validateError span.error {
  display: block;
}


.help-block {
  position: relative;
  margin-top: 20px;
  /*left: 60px;*/
  font-size: 80%;
  color: red;
}

/*** END FORM CSS ***/

#blanket {
  background-color:#111;
  opacity: 0.85;
  position:absolute;
  z-index: 9001;
  top:0;
  left:0;
  width:100%;
}
#popUpDiv {
  position:absolute;
  background-color:white;
  width:400px;
  border:5px solid #000;
  z-index: 9002;
}
#ann-hdr {
  background-color:#146A83;
  text-align:right;
  padding: 8px;
}
#ann-hdr a {
  color: white;
}
#ann-hdr a:hover {
  color: gray;
}
#ann-body {
  padding: 20px;
}

#ann-body-hdr {
  text-align: center;
}

p {
  line-height: 140%;
}

p, #ann-body p {
  margin-top: 0;
  margin-bottom: 1em;
}

p.normal {
  font-style: normal;
}

p.normal-bold {
  font-style: normal;
  font-weight: bold;
}

p.italic {
  font-style: italic;
}

p.italic-bold {
  font-style: italic;
  font-weight: bold;
  /*font-size: medium;*/
  font-size: large;
  /*font-size: x-large;*/
}

p.oblique {
  font-style: oblique;
}

p.oblique-bold {
  font-style: oblique;
  font-weight: bold;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a.home {
  color: #ebac67;
  /*text-decoration: underline;*/
}

a:hover {
  color: #808080;
  text-decoration: underline;
}

#outer-wrapper {
  min-width: 380px;
  max-width: 1350px;
  margin: 0 auto -40px; /* the bottom margin is the negative value of the footer's height */
  padding:0;
  font-stretch: normal;
}

#outer-wrapper #hdr-top {
  /*height:194px;*/
  height:140px;
  width:100%;
  margin:0;
  padding:0;
  text-align:left;
}

#outer-wrapper #hdr-top #img-header {
  padding:20px;
  width:400px;
  float:left;
  position: absolute; z-index: 2;
}

#hdr-top {
  background-image: url('/img/SoCo_logo_small_transp_wtext.png');
  background-repeat: no-repeat;
  /*background-size: 430px;*/
  background-size: 300px;
  background-position: 10px 10px;
}

#user {
  height:46px;
  position: relative;
  z-index: 3;
  top: 0;
  float: right;
  display: none;

}

#user div {
  background-color:#005e82;
  text-align:left;
  float:right;
  width:200px;
  padding:5px 5px 5px 15px;
  border-bottom-left-radius: 1em;
  border-bottom-right-radius: 1em;
  font-size: 100%;
}

#user div span {
  font-size: 80%;
}

.clear {
  clear: both;
}

.menu-horiz {
  height: 50px;
  width: 100%;
}
.menu-vert {
  display: none;
  float: right;
  width: 60%;
  padding-top: 15px;
}
.menu-mobile {
  padding:10px 20px 10px 10px;
  height: 74px;
}

#btn-IMG-Announce {
  background-image: url("/img/announcements60x60.png");
  background-color: transparent; /* make the button transparent */
  background-repeat: no-repeat;  /* make the background image appear only once */
  background-position: 0 0;  /* equivalent to 'top left' */
  border: none;           /* assuming we don't want any borders */
  cursor: pointer;        /* make the cursor like hovering over an <a> element */
  padding-left: 0;     /* make text start to the right of the image */
  vertical-align: middle; /* align the text vertically centered */
  width: 60px;
  height: 60px;           /* make this the size of your image */
  margin: 0 5px 0 0;
}

#btn-IMG-CalAgenda {
  background-image: url("/img/calendar60x60.png");
  background-color: transparent; /* make the button transparent */
  background-repeat: no-repeat;  /* make the background image appear only once */
  background-position: 0 0;  /* equivalent to 'top left' */
  border: none;           /* assuming we don't want any borders */
  cursor: pointer;        /* make the cursor like hovering over an <a> element */
  padding-left: 0;     /* make text start to the right of the image */
  vertical-align: middle; /* align the text vertically centered */
  width: 60px;
  height: 60px;           /* make this the size of your image */
  margin: 0;
}

.columnsContainer {
  min-height: 550px;
  position: relative;
  top: 0;
  text-align:left;
}

/* breadcrumb styling*/
.breadcrumbs {
  padding: 10px 40px 10px 40px;
}
.breadcrumbs ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: left;
}
.breadcrumbs ul li {
  display: inline;
  font-size: smaller;
  /*border: 1px solid #000000;*/
}
.breadcrumbs ul li + li:before {
  content:  '>';
  margin: 6px;
}
.breadcrumbs ul li a {
  text-decoration: underline;
  padding: 0;
  color: #146A83;
  background-color: white;
}
.breadcrumbs ul li a:hover {
  color: blue;
  background-color: white;
}

/* default css for left and right columns */
.columnsContainer .leftColumn {
  background-color: transparent;
  height: 100%;
  min-height: 550px;
}

.columnsContainer .rightColumn .rtcol-hdr {
  padding: .5em;
  font-size: 18px;
  background-color: #146A83;
  color: white;
  text-align: center;
}

#cal-popup {
  width: 90%;
  margin: 0 auto;
}

#cal-agenda {
  /*display:block;*/
  float: left;
}

#child-div-announce {
  width:330px;
  vertical-align: middle;
  min-height:100px;
  background-color:#FEE4A9;
  padding: 12px;
  position:absolute;
  top:-20px;
  right:20px;
  border: 2px solid;
  border-radius: 20px;
  border-color: red;
}

#announcements, #otherlinks {
  display:block;
  margin: 0;
  padding: 0;
  /*position: relative;*/
  /*float: left;*/
  /*position:absolute;*/
}
#announcements ul, #otherlinks ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#announcements li:hover, #otherlinks li:hover {
  background: #f7f2ea;
}
#announcements li a, #otherlinks li a {
  display: block;
  width: 100%;
  padding: 0.5em;
  color: #146a83;
  text-decoration: none;
}
#announcements li a:hover, #otherlinks li a:hover {
  background: transparent;
}
#precontent {
  margin: 20px 0 0 40px;
  text-align:left;
}
#content {
  margin:0 auto;
  padding: 20px 40px 20px 40px;
  width:100%;
  height:95%;
  text-align:left;
  -webkit-animation: fadein 1s; /* Safari and Chrome */
  -moz-animation: fadein 1s; /* Firefox */
  -o-animation: fadein 1s; /* Opera */
  animation: fadein 1s;
}

#content table#teachers {
  /*border: 5px solid #000000;*/
  border-collapse: separate;
  border-spacing: 20px;
}

#content table#teachers td.tchrimage {
  max-width: 220px;
  width: 20%;
}

#content table#teachers td img {
  margin-bottom: 30px;
  max-width: 216px;
  min-width: 100px;
  width: 100%;
}

#contactForm table,
#registerForm table,
#profileView table,
#updProfileForm table,
#pwChangeForm table,
#loginFPForm table {
  border: 2px solid #000000;
  border-collapse: separate;
  border-spacing: 20px;
}

#myPage, .checkoutPage {
  /*border: 2px solid #000000;*/
  margin:0 auto;
  width:100%;
}

#myPage div, .checkoutPage div {
  /*border: 2px solid #000000;*/
  margin:0 auto;
  margin-bottom: 20px;
  max-width:500px;
}

#myPage table {
  border: 2px solid #146A83;
  margin-left:auto;
  margin-right:auto;
  max-width:500px;
  padding: 5px;
}

#myPage table th {
  text-align: center;
  background-color: #146A83;
  font-size: 18px;
  font-weight: normal;
  color: white;
  padding: 8px;
  margin: 0;
}

#myPage ul, .checkoutPage ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#myPage li, .checkoutPage li {
  margin: 0.5em;
}
#myPage li:hover, .checkoutPage li:hover {
  /*background: #f7f2ea;*/
}
#myPage li a:hover,.checkoutPage li a:hover {
  /*background: transparent;*/
  color: #ffffff;
}
#myList table {
  border-collapse: collapse;
  border: 2px solid #146A83;
  margin-left:auto;
  margin-right:auto;
  /*max-width:500px;*/
  padding: 5px;
}

#myList table thead tr th, #myList table tbody tr td {
  border: 1px solid black;
  font-size: 16px;
  font-weight: normal;
}

#myList table thead tr th {
  text-align: center;
  vertical-align: bottom;
  background-color: #146A83;
  color: white;
  padding: 5px;
  margin: 0;
}

#myList table tbody tr td ul li{
  font-size:13px;
}

#img-home-block {
  position: relative;
  left: 0;
  padding: 20px;
  background-color: transparent;
  -webkit-animation: fadein 2s; /* Safari and Chrome */
  -moz-animation: fadein 2s; /* Firefox */
  -ms-animation: fadein 2s; /* Internet Explorer */
  -o-animation: fadein 2s; /* Opera */
  animation: fadein 2s;
}

#img-home-block #img-home-full {
  /*display: none;*/
  max-width: 80%;
  height: auto;
  margin: auto;
}

#img-home-block #img-home-mobile {
  display: none;
}
.announcements2 {
  list-style-type: none;
  margin-bottom: 10px;
}
.announcements2 li {
  margin-bottom: 10px;
}
.addToCalendar {
  /*padding: 10px;*/
  margin-left: 20px;
  font-size: smaller;
  font-style: italic;
  /*background-color: yellow;*/
}
.addToCalendar a img {
  position: relative;
  top: 7px;
  left: 0;
}

.image-outer {
  width: 100%;
  /*border: 1px solid red;*/
  overflow: hidden;
  position: relative;
}
.image-inner {
  float: left;
  position: relative;
  /*left: 50%;*/
  left: 46%;
}
.image-inner img {
  display: block;
  position: relative;
  left: -46%;
  /*max-width:100%;*/
  width:100%;
  height: auto
}

.middle {
  width: 90%;
  margin: 0 auto;
  padding: 10px;
  text-align:center;
  color: #ebac67;
  min-height: 70px;
  overflow: hidden;
}

.middle h2 {
  /*font-size: 180%;*/
  font-size: 1.9em;
}
.middle h3 {
  font-size: 120%;
}

.middle ul {
  display: inline-block;
  text-align:left;
  font-size: 100%;
}

.lower {
  width: 90%;
  margin: 0 auto;
  padding: 30px 10px 10px 10px;
  text-align:center;
  color: white;
  /*background-color: lightblue;*/
}

.lower a {
  color: white;
}

.lower a:hover {
  color: #808080;
}

.lower ul {
  display: flex;
  align-items: center;
  /*justify-html-content: space-around;*/
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
}
.lower li {
  display: block;
  flex: 0 1 auto; /* Default */
  list-style-type: none;
}

.closeWindow {
  padding-top: 15px;
  margin-left: auto;
  margin-right: auto;
  text-align:center;
}

footer {
  max-width: 1350px;
  padding: 0.5em;
  background-color: #77ff54;
  margin: 0 auto;
  border-bottom-left-radius: 2em;
  border-bottom-right-radius: 2em;
  text-align:center;
}

footer, .push {
  height: 40px; /* '.push' must be the same height as 'footer' */
}

/*
Sticky Footer by Ryan Fait
http://ryanfait.com/
*/

#classimages img {
  max-width:100%;
  height: auto
}

#btn-CSS-Announce, #btn-CSS-CalAgenda {
  margin: 0.5em 0.2em 0.5em 0.3em;
}

#btn-CSS-CalPopup {
  margin: 0.5em 0 0.5em 0;
}

#btn-CSS-Pause, #btn-CSS-Play {
  width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.btns-CSS * {
  display:inline;
}

#btnCalPopup {
  display:none;
}

.btn-CSS {
  -webkit-border-radius: 29px;
  -moz-border-radius: 29px;
  border-radius: 29px;
  font-family: 'Arial';
  color: #ffffff;
  font-size: 14px;
  background: #7a1f8c;
  padding: 5px;
  text-decoration: none;
  border: 1px solid #000000;
}

.btn-CSS:hover {
  background: #3cb0fd;
  text-decoration: none;
}

.confirm {
  color: #146A83;
  padding: 5px;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hidden {
  display: none;
}

/* START meanMenu CSS */
.menu-vert nav {
  text-align: center;
}
.menu-vert nav ul {
  margin: 0;
  padding: 1em;
  list-style-type: none;
}
.menu-vert nav ul li {
  display: inline;
  /*margin-left: 1em;*/
  margin-left: 0;
}
.menu-vert nav ul li:first-child {
  /*margin-left: 0;*/
}
.menu-vert nav ul li ul {
  display: none;
}
/* END meanMenu CSS */

/* START login page CSS */
.col2-set { clear:both; overflow:hidden; }
.col2-set .col-1 {
  float:left; width:48%;
  border-right: 2px solid #ccc;
  padding-right: 30px;
}
.col2-set .col-2 { float:right; width:48%; }
.col2-set .narrow { width:33%; }
.col2-set .wide { width:65%; }

.loginFields {
  margin: 20px 0 20px 0;
}
.loginPrompts {
  float: right;
}
.loginPrompts div {
  font-size: smaller;
}
.input-box { clear: both; }
.input-box input.input-text {border: 1px solid #ccc;  padding: 5px 10px; min-height:40px; width: 89%; }
.input-box select {border: 1px solid #ccc;   padding:8px 4px 7px; width: 96%; }
.input-box select.multiselect { min-height:90px; background:#F7F7F7; border:none; border: none; border-top: 1px solid #ccc; border-bottom: 1px solid #ddd; padding:5px; }
/* END login page CSS */

.headsup {
  text-align: center;
  background-color: #FF7F50;
  padding: 20px;
  font-weight: bold;
  height: 65px;
  font-size: larger;
  height: 100%;
}
.pagetitle {
  text-align: center;
  background-color: #E0E0E0;
  padding: 5px;
  font-weight: bold;
  /*height: 65px;*/
}
.pagetitle-collapse {
  display: flex;
  /*text-align: center;*/
  align-self: center;
  flex-flow: row nowrap;
  /*justify-html-content: center;*/
  justify-content: space-between;
  background-color: #E0E0E0;
  padding: 5px;
  font-weight: bold;
  height: 65px;
}
.pagetitle-collapse > .plus {
  font-size-adjust: 1.0;
  cursor: pointer;
  align-self: center;
}
.pagetitle-collapse > .title {
  align-self: center;
}
.documentation li:first-child {
  /*background-color: yellow;*/
  margin-top: 10px;
}
.documentation li {
  margin-bottom: 10px;
}

/* #### Phones: Portrait #### */
@media screen and (min-device-width: 320px) and (max-width: 590px) {
  /* resize footer for phone portrait view */
  body {
    padding: 0;
  }

  #outer-wrapper {
    margin: 0 auto -60px; /* the bottom margin is the negative value of the footer's height */
  }

  #outer-wrapper #hdr-top {
    display: block;
    height: 140px;
  }

  #outer-wrapper #hdr-top #img-header {
    width: 300px;
  }

  #hdr-top {
    background-size: 300px;
  }

  .rightColumn .btns-CSS {
    display: none;
  }

  footer, .push {
    height: 60px; /* '.push' must be the same height as 'footer' */
  }

  .dev-content {
    display: none;
  }

  .middle {
    min-height: 0;
  }
}

/* #### Phones: Portrait or Landscape, Tablets: Portrait #### */
/*@media screen and (min-device-width: 320px) and (max-width: 960px){*/
@media screen and (min-device-width: 320px) and (max-width: 800px){
  /*Over max-width: 960px: desktop landscape applies */

  body {
    padding:0;
  }
  #hdr-top {
    display: block;
  }
  .menu-horiz {
    /*display: none;*/
    display: block;
  }
  .menu-vert {
    display: block;
  }
  .menu-mobile {
    display: block;
  }
  .rightColumn #announcements-hdr {
    /*display: none;*/
  }
  .rightColumn .btns-CSS {
    display: none;
  }
  #img-home-block #img-home-full {
    display: none;
    /*max-width: 80%;
    height: auto;*/
  }
  #img-home-block #img-home-mobile {
    display: block;
    max-width:100%;
    max-height:100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* #### Tablets: Landscape, Desktops: All #### */
@media screen and (min-device-width: 800px) and (min-width: 768px){
  #user {
    display: block;
  }
}

/* #### Tablets: Landscape, Desktops: All #### */
/*@media screen and (min-width: 961px) {*/
@media screen and (min-width: 801px) {

  #hdr-top {
    display: none;
  }
  #user {
    display: block;
  }
  .menu-horiz {
    display: block;
  }
  .menu-vert {
    display: none;
  }
  .menu-mobile {
    display: none;
  }
  .columnsContainer .leftColumn {
    /* margin-right: is set only if there is right column */
    /* margin-right: 320px;*/
  }
  .columnsContainer .rightColumn {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
  }
  #img-home-block #img-home-full {
    display: block;
    max-width:90%;
    max-height:90%;
  }

  #img-home-block #img-home-mobile {
    display: none;
  }
  .btn-CSS {
    -webkit-border-radius: 15;
    -moz-border-radius: 15;
    border-radius: 15px;
    font-family: 'Arial';
    color: #ffffff;
    font-size: 14px;
    background: #7a1f8c;
    padding: 5px;
    text-decoration: none;
    border: 1px solid #000000;
  }
  .btn-CSS:hover {
    background: #3cb0fd;
    background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
    background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
    text-decoration: none;
  }
  #btnCalPopup {
    display:inline;
  }
}
