/* CSS Document */

body {
    margin: 0;
    font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    line-height: 1.7;
}
#page-header {
    background-color: #500778;
    float: left;
    width: 100%;
    height: 9.5vw;
    background-image: url(ucl-logo.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: top;
}

#page-content {
    float: left;
    clear: both;
    margin: 0;
}
#page-content-inner {
    padding: 2em 35px;
}
#page-content-left {
    float: left;
    width: 70%;
    margin: 0 0 2em;
}

#page-content-right {
    float: right;
    width: 25%;
    margin: 0 0 2em;
}

#page-footer {
    clear: both;
    float: left;
    width: 100%;
    margin: 0;
    background-color: #40403e;
    padding-bottom: 3em;
}
#page-footer-inner {
    padding: 2em 35px;
}
#page-footer-left {
    display: block;
    float: left;
    margin-left: 0;
    margin-right: -100%;
    width: 31%;
}
#page-footer-centre {
    display: block;
    float: left;
    margin-left: 34%;
    margin-right: -100%;
    width: 31%;
}
#page-footer-right {
    display: block;
    float: left;
    margin-left: 68%;
    margin-right: -100%;
    width: 31%;
}

#page-header p {
    color: #fff;
    margin: 30px 35px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
}

h1, h2, h3 {
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 0.2em;
    font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
}
h2 {
    font-size: 1.7em;
    line-height: 1.2em;
}
#page-content-left-head {
	float: left;
	clear: both;
	width: 100%;
	padding-left: 20px;
	background-color: #eee;
}
/* Nav buttons */
#HeaderButtons {
  float: right;
}
a.HeaderButton {
  color: #fff !important;
  cursor: pointer;
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 20px;
  border: 0;
  background-color: #9ca35f;
}
a.HeaderButton:hover {
  text-decoration: none;
  background-color: #8f993e;
}
a.HeaderButtonEmail {
    background: #034da1;
}
a.HeaderButtonEmail:hover {
    background: #002854;
}
/* New top buttons resize */
#HeaderButtons img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.box {
    border-top: 5px solid #500778;
    background: #eee6f2;
    overflow: hidden;
    padding: 1em 3%;
    font-size: 14px;
	margin-bottom: 20px;
}

.box-grey {
    border-top: 5px solid #503060;
    background: #eeeeee;
    overflow: hidden;
    padding: 1em 3%;
    font-size: 14px;
	margin-bottom: 20px;
	float: right;
	clear: both;
}


#page-footer p {
    color: #fff;
    font-weight: 400;
    font-size: 14px;
}
#page-footer a {
    color: #fff;
    font-weight: bold;
}


@media only screen and (max-width: 959px)
{
#page-content-left,
#page-content-right {
    width: 100%;
}
}

@media only screen and (max-width: 767px)
{
#page-header {
    height: 73px;
    background-position-x: right;
    background-size: 770px;
}
#page-footer-inner {
    width: auto;
    padding: 2em 35px 5em;
}
#page-footer-left,
#page-footer-centre,
#page-footer-right {
    width: 100%;
    margin: 0;
}
}

@media only screen and (max-width: 400px)
{
#page-header {
    margin-top: -8px;
    position: fixed;
}
#page-content-inner {
    padding: 2em 1em;
}

#HeaderButtons  {
    margin-top: 73px;
    text-align: center;
    float: none;
}
}

.donate-container,
.bar-container {
	clear: both;
}

.bar-container .bar-description {
	float: left;
	clear: both;
	width: 50%;
}
.bar-container .bar-quantity {
	float: left;
	clear: none;
	width: 20%;
}
.bar-container .bar-addbasket {
	float: right;
	clear: none;
	width: 30%;
}
.bar-container .bar-response {
	float: right;
	clear: none;
	width: 50%;
}
.bar-container .bar-break {
	float: left;
	clear: both;
	width: 100%;
}
@media only screen and (max-width: 650px)
{
    .bar-container .bar-description {
        width: 100%;
    }
    .bar-container .bar-quantity {
        float: left;
        clear: both;
        width: 40%;
    }
    .bar-container .bar-addbasket {
        width: 60%;
    }
    .bar-container .bar-response {
        width: 100%;
    }
}
.bar-container .success {
	color: green;
}
.bar-container .fail {
	color: red;
}
.donate-value {
	display: block;
    background: #fff;
    border: 1px solid #999;
    margin-bottom: 20px;
    padding: 8px;
}
.fundname, 
.donate-value .value {
	font-weight: bold;
}

spektrix-donate button, 
.donate-container input.button,
.bar-container .checkout,
.offerForm .button {
    background: #034da1 !important;
    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    text-align: center;
    color: #fff;
	text-decoration: none;
    line-height: 1;
    font-weight: 700;
    font-size: 19.2px !important;
    padding: .75em 0;
    margin: 20px 0;
    width: 100%;
    clear: both;
    float: right;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 0;
 	box-shadow: none;
 	border-radius: 2px;
}

.offerForm .button {
    width: 50%;
    float: left;
}

spektrix-donate button:hover, 
.donate-container input.button:hover,
.bar-container .checkout:hover,
.offerForm .button:hover  {
	background: #002854 !important;
}

.offerForm .textInput {
    padding: 5px;
}

.memberType {
    float: left;
    width: 3%;
    padding: 5px;
    margin: 5px;
    min-width: 258px;
    border: 3px solid rgba(193,193,193,1.00);
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}