/* STYLES FOR ANDYVEAL.COM 
 * Author: @andyveal
 */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
}

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;
    background: #666;
}

h1,
h2,
h3,
h4,
h5,
h6,
label,
a {
    color: #34495e;
}

a {
text-decoration: none;
}

.work-banner {
    /*background: #f5887e;*/
    background: #6C9486;
    margin-top: 0;
}

.work-banner .content {
    padding: 0.75em 0;
}

.work-banner p, .work-banner a {
    color: white;
    text-align: center;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

.container {
    background: #666;
}

.splash {
    width: 80%;
    height: 50%;
    margin: auto;
    margin-top: 40px;
    text-align: center;
    text-transform: uppercase;
}

.splash-head {
    background-color: white;
    border: 3px solid white;
    padding: 0.5em 0.5em;
}

.splash-head h1 {
	font-weight: bold;
	margin-top: 0.67em;
	margin-bottom: 0.67em;
}

.splash-head h2 {
    margin-top: 0.83em;
    margin-bottom: 0.83em;
}

.splash-head p {
    margin-top: 1em;
    margin-bottom: 1em;
}


.splash-head a:hover {
	color: #fc9a2b;
	text-decoration: none;
}

/*
.splash-footer {
    width:100%;
    background-color: red;
    text-align: center;
    border-top: 1px solid #777;
}
*/

.splash-footer-icons img {
	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	margin-top: 20px;
}

.menu {
    width: 100%;
    padding-left: 0px;
    margin-top: 1em;
    margin-bottom: 1em;
}

.menu .menu-list {
    display: inline-block;
}

.menu-list a {
    /*color: #777;*/
    color: #34495e;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
}

.menu-list:hover,
.menu-list:focus {
    background-color: #eee;
    color: #fc9a2b;
}

/* CONTACT FORM */
#contact {
	z-index: 900;
}

.field {
  margin: 1em 0;
}

label {
  display: block;
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: #999999;
}

input {
  width: 100%;
  padding: 0.5em 0.5em;
  font-size: 1.2em;
  border-radius: 3px;
  border: 1px solid #D9D9D9;
}

textarea {
  width: 100%;
  height: 200px;
  padding: 0.5em 0.5em;
  font-size: 1.2em;
  border-radius: 3px;
  border: 1px solid #D9D9D9;
}

button {
  display: inline-block;
  border-radius: 3px;
  border: none;
  font-size: 0.9rem;
  padding: 0.5rem 0.8em;
  background: #69c773;
  border-bottom: 1px solid #498b50;
  color: white;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  margin: 0;
  width: 100%;
  text-align: center;
}

button:hover, button:focus {
  opacity: 0.75;
  cursor: pointer;
}

button:active {
  opacity: 1;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1) inset;
}

.success {
  padding: 1em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.error {
  padding: 1em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #b94a48;
  background-color: #f2dede;
  border: 1px solid rgba(185, 74, 72, 0.3);
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

/* Other stuff */
.message {
  background: #181818;
  color: #FFF;
  position: absolute;
  top: -250px;
  left: 0;
  width: 100%;
  height: 250px;
  padding: 20px;
  transition: top 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
  overflow: hidden;
  box-sizing: border-box;
}

#toggle {
  position: absolute;
  appearance: none;
  cursor: pointer;
  left: -100%;
  top: -100%;
}

#toggle + label {
  position: absolute;
  cursor: pointer;
  padding: 10px;
  background: #26ae90;
  width: 100px;
  border-radius: 3px;
  padding: 8px 10px;
  color: #FFF;
  line-height: 20px;
  font-size: 12px;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
  margin: 20px 50px;
  transition: all 500ms ease;
}

#toggle + label:after {
  content: "Open"
}

#toggle:checked ~ .message {
  top: 0;
}

#toggle:checked ~ .container {
  margin-top: 250px;
}

#toggle:checked + label {
  background: #dd6149;
}

#toggle:checked + label:after {
  content: "Close"
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 */
@media (min-width: 48em) {

    body {
        font-size: 16px;
    }

    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head h1 {
        font-size: 250%;
        line-height: 0.9;
    }
    
    .splash-head h2 {
        font-weight: bold;
    }

    .splash-footer-icons img {
	margin-left: 15px;
	margin-right: 15px;
	display: inline;
	vertical-align: middle;
	margin-top: 0px;
	/*
	margin-left: auto;
    	margin-right: auto;
    	margin-top: 20px;
    	*/
    }
    
    #wiredSussex-logo {
	width: 30%;
    }
    
}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 */
@media (min-width: 78em) {
    .splash-head h1 {
        font-size: 300%;
        
    }
    
    #wiredSussex-logo {
	width: 23%;
    }
}