/* simple reset */
html, body, p, div, div, ul, li, h3 {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  font-family: Arial, sans-serif;
}

.wrapper {
  margin: 0 auto;
  width: 75%;
  float: none;
}

div {
  float: left;
  width: 100%;
  margin-bottom: 10px;
  display: block;
  position: relative;
  *zoom: 1;
}


/* IE 7 only styles */

.gs-ie7clear {
  display: block;
  width: 100%;
  border: none;
  background: none;
  float: left;
  clear: both;
  height: 0;
  margin: 0 0 0 100%;
  visibility: hidden;
}

/* general styles */
.white-bg{
  background-color: white;
  margin-bottom: 0px; 
}
.clearfix:before,
.clearfix:after {
   content: "";
   display: table;
}

.clearfix:after {
   clear: both;
}




img {
  max-width: 100%;
}

ul {

}

p{
  line-height:1.2em;
}

p span{
  line-height:1.2em !important;
}


/* dashboard */

.dashboard h2 {
  text-align: center;
}

.dashboard h3 {
  margin-top: 20px;
}

.dashboard-option a {
  font-size: 22px;
  background: #D5EDF3;
  padding: 12px 10px;
  color: #333;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  text-align: center;
  display: block;
}

/* end dashboard */

/* admin - users */

.add-new, .edit, .delete {
  font-size: 16px;
  background: #00A176;
  padding: 10px 20px;
  color: #fff;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

.delete {
  background: #D91D44;
}

tr {
  margin: 20px 0px;
  line-height: 2;
}

.add-resource label,
.admin label{
  font-weight: bold;
  margin-top: 1em;
  display: block;
}

.add-resource input, 
.admin input{
  margin:0 0 1em 0;
}

.admin input[type=text]{
  width:100%;
  padding:0.5em;
}

.add-resource input[type=checkbox],
.admin input[type=checkbox]{
  width: 20px;
}

.add-resource textarea,
.admin  textarea{
    width: 100%;
    height: 180px;
}

.error{
  border:1px solid #BE2625;
  color:#BE2625;
  background-color: #EEB4B4;
}

.error ul li{
  padding-left:10px;
  list-style-type: none;
}

.success{
  border:1px solid #4A7023;
  color:#4A7023;
  background-color: #CFDBC5;
}

.success p,
.error p{
  margin-top:10px;
  margin-left:10px;
}

/*Frontend*/
.login-form{
  font-family: 'Open Sans', sans-serif;
  width:50%;
  margin:0 auto;
  background-color:#8a0000;
  float:none;
  color:white;
  padding:2em;
  text-align: center;
  font-size:1.5em;
  background-image:url("/images/logo.png");
  background-repeat: no-repeat;
  background-position: top right;
  border-radius: 0 0 25px 25px;
}

.login-form input,
a.read{
  font-family: 'Open Sans', sans-serif;
  font-size:1em !important;
  width:40%;
  margin-bottom:1em;
  padding:5px; border:2px solid #ccc; 
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.login-form input[type=submit],
a.read{
  background-color: rgb(206, 206, 206);
}

.login-form input[type=submit]:hover,
a.read:hover{
  background-color: rgb(105, 105, 105);
  color:white;
}

.login-form a{
  color:white;
  font-size:0.5em;
}

.red_bg{
    background-color:#8a0000;
}

.date_links a{
  color:black;
}

.red_bg .wrapper .item_container{
    background-image:url("/images/logo.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-color:white;
  padding:1em;
}

.red_bg .wrapper .item_container p{
  margin-bottom:2em;
}

.item_container .item{
  border-bottom:2px solid #efefef;
  padding:1em 0 1em 0;
}

a.read{
  color:black;
}

.gallery,
.video,
.documents{
  margin-bottom:1em;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*date picker override*/
.ui-datepicker .ui-datepicker-title{
  margin:0 !important;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next{
  z-index: 2;
}
@media screen and (max-width: 915px) {
  .wrapper{
    width:95%;
  }

  .login-form {
    width: 85%;
  }

  .red_bg .wrapper .item_container {
    padding: .2em;
  }
}

@media screen and (max-width: 640px) {
  .login-form {
    font-size:1em;
    background-size: 15%;
    padding:1em;
  }
}
