@import "normalize.css";
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700");

html, 
body {
    font-size: 1rem;
    color: #313131;
    font-family: "Open Sans", sans-serif;
    vertical-align: baseline;
    line-height: 1.5rem;
    font-weight: 400;
    margin: 0;
}

/*  Responsive Styles   */
* {
    box-sizing: border-box;
}

.column,
.searchLeft,
.searchRight{
    width: 100%;
    margin: auto;
}

@media only screen and (min-width: 768px) {
    .column {
        float: left;
    }
    .searchLeft{
        width: 60%;
        padding: 10px;
    }
    .searchRight{
        width: 40%;
        padding: 10px;
    }
    
    .left,
    .contactLeft{
        width: 50%;
        padding: 10px;
    }
    
    .right,
    .contactRight{
        width: 50%;
        padding: 10px;
    }
    
    .aboutLeft{
        width: 70%;
        padding: 0;
    }
    
    .aboutRight{
        width: 30%;
        padding: 10px;
    }
}

/*  Clear floats after the columns  */
.row::after {
    content: "";
    clear: both;
    display: table;
}

.mobile{
    display: initial;
}

.desktop{
    display: none;
}

@media only screen and (min-width: 768px) {
    .desktop{
        display: initial;
    }
    
    .mobile{
        display: none;
    }
}

/*  End Responsive Styles   */

a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
}

/*  Header and menu    */

header{
    background-color: #fafafa;
    border: 1px solid #ededed;
    padding: 8px;
    width: 100%;
    height: 70px;
    z-index: 99;
}

header #logo {
    height: 0px;
    margin-left: 10%;
}

header #logo img{
    margin-top: 10px;
    padding: 0;
    height: 30px;
}

header #logo a{
    float:right;
    margin-right: 10%;
}

@media only screen and (min-width: 768px) {
    header #logo a{
        float:none;
    }
}

#mobileNavButton{
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: none;
    margin-top: 18px;
    margin-left: 8%;
    text-transform: uppercase;
    position: relative;
    background-color: #fafafa;
}

header #menu{
    position: relative;
    margin: 20px 0;
    overflow: hidden;
    z-index: 100;
}

@media only screen and (min-width: 768px) {
    header #menu{
        float: right;
        display: block;
        margin: 0 10% 0 0;
    }
}

header #menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0 0 50% 5%;
  background-color: #fff;
  border:1px solid #ededed;
}

@media only screen and (min-width: 768px) {
    header #menu ul {
        margin: 0;
        padding: 0;
        border: none;
    }    
}


header #menu li{
    color: #444;
    font-weight: 600;
    text-align: left;
    padding: 10px 0;
    margin-top: 14px;
    text-decoration: none;
    text-transform: uppercase;
}

@media only screen and (min-width: 768px) {    
    header #menu li{
        float: left;
        display: block;
        padding: 0;
        text-align: center;
    }
}

header #menu li a{
    color: #444;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 20px 100% 20px 20px;
}

@media only screen and (min-width: 768px) {
	header #menu li a{
    padding: 20px;
}
	
}

/*  CTA Home Page  */

#ctaContainer{
    background-color: #fff;
    height: calc(100vh - 70px);
    width: 100vw;
    max-width:100%;
    overflow: hidden; /* Fixes overflow on child transformations */
}

#searchContainer{
    height: 100%;
    position: relative;
}

#searchBox{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #444;
    border: none;
    padding: 20px 25px;
    margin: auto;
    width: 90%;
    text-align: center;
}

@media only screen and (min-width: 768px) {
   #searchBox{
       top: 46%;
       width: 720px;
   }       
}

#searchBox h1{
    margin: 0 0 25px;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

#searchBox p{
    margin: 20px 0 0;
}

#searchInput{
    margin: 0px;
    border: 1px solid #ccc;
    height: 60px;
    padding: 20px;
}

#searchInput:focus{
    outline: 1px solid #ccc;
}

#searchButton{
    margin: 0px;
    border: 1px solid #32cd32;
    height: 60px;
    padding: 20px;
    color: #fff;
    font-weight: 700;
    background-color: #32cd32;
}

/*  General Page body    */

#bodyContainer{
    background-color: #fff;
    min-height: calc(100vh - 70px);
    max-width:100%;
    margin: auto;
    overflow: hidden; /* Fixes overflow on child transformations */
    padding-bottom: 40px;
}

@media only screen and (min-width: 768px) {
    #bodyContainer{
        max-width: 85%;
    }
}

.bodyText{
    color: #444;
    margin-top: 0px;
    font-size: 1rem;
    padding: 20px 35px 0;
}

@media only screen and (min-width: 768px) {
    .bodyText{
        margin-top: 40px;
        font-size: 1rem;
    }
}

.bodyText h1{
    margin-bottom: 5px;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
}

.bodyText h2{
    margin: 25px 0 15px;
    color: #222;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.3;
}

/*  Contact Page    */

@media only screen and (min-width: 768px) {
    #bodyContainer{
        max-width: 85%;
    }
    
    #contactBox{
        margin-top: 10vh;
    }
}

@media only screen and (min-width: 768px) {
    #contactText{
        margin-top: 40px;
        font-size: 1rem;
    }
}

#contactText h1{
    margin-bottom: 25px;
}

/*  Contact Form    */

#contactForm{
    margin-top: 0px;
    margin-bottom: 35px;
    padding: 20px 35px;
    z-index: 9;
}

@media only screen and (min-width: 768px) {
    #contactForm{
        margin-top: 44px;
    }
}

#contactForm span {
        display: none;
    }


form fieldset {
    width: 100%;
    border: none;
    padding: 0;
    margin: 20px 0;
}

/* Processed meat in a can tastes sooo good! */
form input[name="lastofsender"] {
  display:none;
}
/* I ate some processed meat in a can today */

form fieldset input {
    width: 100%;
    height: 50px;
    display: block;
    padding: 0 20px;    
    font-style: italic;
    font-size: 13px;
    border: 1px solid #ccc;
}

form fieldset input:focus {
    border: none;
    font-weight:600;
    outline: 2px solid #ccc;
}

form fieldset textarea {
    width: 100%;
    height: 100px;
    display: block;
    padding: 20px;    
    font-style: italic;
    font-size: 13px;
    line-height: 1.5;
    border: 1px solid #ccc;
}

form fieldset textarea:focus {
    border: none;
    font-weight:600;
    outline: 2px solid #ccc;
}

.contactButton {
    width: 100%;
    padding: 18px 0px;
    background: #32cd32;
    border: 1px solid #fff;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.5s;
}

/*
.contactButton:hover {
    background: #32cd32;
    color: #fff;
}
*/

/*  Articles    */ 

.articleItems{
    
}

.articleItem{
        padding: 20px 0 0;
}

@media only screen and (min-width: 768px) {
    .articleItem{
        padding: 20px 40px 20px 0;
    }
}
/*  Footer  */

footer {
    background: #f2f2f2;
    position: absolute;
    left: 0;
    height: 100px;
    width: 100%;
    margin-top: 0px;
    border-top: 1px solid #ededed;
}

footer p {
    color: #444;
    font-size: 16px;
    text-align:center;
}

footer p a {
  color: #3366ff;
  font-weight: 400;
  text-decoration: none;
}

footer p a:hover {
  color: #3366ff;
  font-weight: 600;
}
