/*---Use: font-family: 'Lato', sans-serif;--- */
/*primary color: #e67e22*/


/*---------------- Base Set Up ----------------*/


/*sets the base parameters of the elements*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: #fff;
    color: #555;
    font-family: 'Lato', 'sans-serif', 'Arial';
    font-size: 20px; /*all children font size elem will be defined from this, ie 200% etc*/
    font-weight: 300;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.row {
    max-width: 1140px;
    margin: 0 auto; /*centers*/
}

section {
    padding: 80px 0 80px;
}

/*clear floats with clear fix class*/
.clearfix {zoom:1}
.clearfix:after{
    content:'.';
    clear: both;
    display: block;
    height: 0;
    visibility:hidden;
}


/*-------------------- end base ------------------*/


/*------------------- Header ---------------------*/

/*set hero image background*/
header {
    background-image: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(/resources/images/hero.jpg);
    background-attachment: scroll; /*image stays inplace on scroll*/
    /* background-size: cover; */
    background-position: center;
    -o-background-size:cover; 
    -moz-background-size:cover; 
    -webkit-background-size:cover; 
    background-size:cover; 
    background-repeat:no-repeat;
    height: 100vh;
}

/*center hero text box-main image*/
.hero-text-box {
    position: absolute;
    width: 1140px;
    top: 50%; /* top and left position the bg image*/
    left: 50%;
    transform: translate(-50%, -50%); /*moves h1 to the left center of bgi*/
}

/*common h elements*/
h1,
h2, 
h3 {
    /*decrease font weight with big headlines*/
    font-weight: 300;
    text-transform: uppercase;
}

/*specific to h1*/
h1{
    font-size:240%; /*relative to parent(html=40px)*/
    margin:0;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
    word-spacing: 4px;
}

/*specific to h2-features*/
h2 {
    font-size: 180%;
    letter-spacing: 1px;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
}

h2:after {
    display: block;
    height: 2px;
    background-color: #e67e22;
    content:" ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}

h3 {
    font-size: 110%;
    margin-bottom: 15px;
}

.long-copy {
    line-height: 145%;
    width: 70%; /*reduce width*/
    margin-left: 15%; /*bc width was reduced, we need to center*/
}

.section-features .long-copy {
    margin-bottom: 30px;
}

/*navbar and logo on nav*/
.logo {
    height: 100px;
    width: auto;
    float: left;
    margin-top: 20px;
}

.logo-black{
    display:none;
    height: 50px;
    width: auto;
    float: left;
    margin: 7px 0;
}

/*============main navi================ */
.main-nav {
    float: right;
    list-style: none;
    margin-top: 55px;
}

.main-nav li {
    display: inline-block;
    margin-left: 40px;
}

/*keep links the same when visited*/
.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0; /*add space top/bot from line and text*/
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s; /*element to hover/trans time*/
}

/*add hover and active states to nav links*/
.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid #e67e22;
}

/*=============mobile nav button==========*/
.mobile-nav-icon {
    float: right;
    margin-top: 30px;
    cursor: pointer;
    display: none;
}
.mobile-nav-icon i {
    font-size: 200%;
    color: #fff;
}
/* Sticky navi */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 2px #efefef;
    z-index: 9999;
}
.sticky .main-nav { margin-top: 18px; }
.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    padding: 16px 0;
    color: #555;
}
.sticky .logo { display: none; }
.sticky .logo-black { display: block; }

/*features boxes, can be used elsewhere*/
.box {
    padding: 1%;
}

.box p {
    font-size: 90%;
    line-height: 145%;
}

/*Icons*/
.icon-big {
    font-size: 350%;
    display: block;
    color: #e67e22;
    margin-bottom: 10px;
}

/*----Button designs in header-----*/

/*common styles of both buttons go in btn*/
/*create states: link,visited, active (click), hover(mouse over)*/

.btn:link,
.btn:visited,
input[type=submit] {
    border-radius: 200px;
    display: inline-block; /*set width and height on element */
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none; /*eliminate unerline*/
    transition: background-color 0.2s, border 0.2s, color 0.2s;/*smoother transition when hovered*/
}


/*makes buttons look the same after clicked, no visit status*/
.btn-full:link,
.btn-full:visited,
input[type=submit] {
    background-color: #e67e22; /* flatuicolors.com*/
    border: 1px solid #e67e22; /*adding this makes btn-full same w/h as bth ghost*/
    color: #fff;
    margin-right: 15px;
}

.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid #e67e22;
    color: #e67e22;
}

/*creates a darker color when hovered*/
.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active {
    background-color: #cf6d17;
}

.btn-full:hover,
.btn-full:active {
    border: 1px solid #e67e22; 
}

/*makes solid bg when hovered and changes text to white*/
.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #cf6d17;
    color: #fff;
}

/*-----------------end header----------------*/



/*---------------- Meals Section -------------- */
.section-meals {
    padding: 0;
}

.meals-showcase {
    list-style: none; /*get rid of bullets*/
    width: 100%; /*make w all across page*/
}

.meals-showcase li {
    display: block; /*inline display*/
    float: left; /*make elements side by side*/
    width: 25%; /*4 elements inside of 100%*/
}

.meal-photo {
    width: 100%;
    margin: 0;
    overflow: hidden; /*keeps image in container by hiding the overflow*/
    background-color: black;
}

.meal-photo img {
    opacity: 0.7;
    width: 100%;
    height: auto;
    transform: scale(1.15); /*zooms in on img when its not hovered*/
    transition: transform 0.5s, opacity 0.5s; /*animates-slows down the hover effect*/
}

.meal-photo img:hover{
    opacity: 1; /*opacity returns to normal on hover*/
    transform: scale(1.03); /*transfroms img back to normal on hover*/
}


/* ----------------How it Works Section-------------- */

.section-steps {
    background-color: #f4f4f4;
}

/* sel boxes individually using psuedo class-first child */
.steps-box:first-child{
    text-align: right;
    padding-right: 3%;
    margin-top:30px;
}

/* box 2 on the right */
.steps-box:last-child{
    padding-left: 3%; 
    margin-top: 70px;
}

.app-screen {
    width: 40%;
}

.works-step {
    margin-bottom: 50px;
}

/* icons */
.works-step div {
    color: #e67e22;
    border: 2px solid #e67e22;
    display: inline-block;
    border-radius: 50%;
    height: 55px;
    width: 55px;
    text-align: center;
    padding:5px;
    float:left;
    font-size: 150%;
    margin-right: 25px;
}

/* push buttons down with margin and using a child class */
.works-step:last-of-type{
    margin-bottom: 80px;
}

/* buttons */
.btn-app:link,
.btn-app:visited {
    border:0;
}

.btn-app img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}


/*--------------- Cities Section -------------*/

.box img{
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.city-feature {
    margin-bottom: 5px;
}

.icon-small{
    color:#e67e22;
    display: inline-block;
    width: 30px;
    text-align: center;
    font-size: 120%;
    margin-right: 10px;
    /*to align icons w text*/
    margin-top: -5px;
    line-height: 120%;
    vertical-align: middle;
}


a:link,
a:visited {
    color:#e67e22;
    text-decoration: none;
    border-bottom: 1px solid #e67e22;
    padding: 1px;
    transition: background-color 0.2s, border 0.2s, color 0.2s;
}

a:hover,
a:active {
    color: #555;
    border-bottom: 1px solid transparent;
}


/*--------------- Testimonials Section -------------*/

.section-testimonials {
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url(/resources/css/imgbg/back-customers.jpg);
    background-size: cover;
    color: white;
    background-attachment: fixed; /*image stays inplace on scroll*/
}

/*blockquotes* style*/
blockquote {
    padding: 2%;
    font-style: italic;
    line-height: 145%;
    position: relative;
    margin-top: 40px;
}

cite {
    font-size: 90%;
    margin-top: 25px;
    display: block;
}

blockquote:before{
    content: "\201C";
    font-size: 500%;
    display: block;
    position: absolute;
    top: -5px;
    left: -5px;
}

cite img {
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle; /*aligns text to middle of img*/
}


/*----------------Sign up section ----------------*/
.section-plans {
    background-color: #f4f4f4;
}

.plan-box {
    background-color: #fff;
    border-radius: 5px; /*round corners*/
    width: 90%;
    margin-left: 5%;
    box-shadow: 0 2px 2px #efefef;
}

.plan-box div {
    padding: 15px;
    border-bottom: 1px solid #e8e8e8;
}

.plan-box div:first-child {
    background-color: #fcfcfc;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}


.plan-box div:last-child {
    text-align: center;
    border: 0;
}

.plan-price {
    font-size: 300%;
    font-size: 100;
    margin-bottom: 10px;
    color: #e67e22;
}

/* child to above */
.plan-price span{
    font-size: 30%;
    font-weight: 300;
}

.plan-price-meal {
    font-size: 80%;

}

.plan-box ul {
    list-style: none; /*get rid of bullets*/
}

.plan-box ul li {
    padding: 5px 0;
}


/*----------------Contact Form Section ----------------*/

.contact-form {
    width: 60%;
    margin: 0 auto;
}

input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid #ccc;
}


textarea {
    height: 100px;
}

input[type=checkbox] {
    margin: 10px 5px 10px 0;
}

*:focus{
    outline: none;
} /*outline of text boxes-email, etc*/

/*--------------------Footer-----------------------------*/
footer {
    background-color: #333;
    padding: 50px;
    font-size: 80%;
}

.footer-nav {
    list-style: none;
    float: left;
}

.social-links {
    list-style: none;
    float:right;
}

.footer-nav li,
.social-links li {
    display: inline-block;
    margin-right: 20px;
}

.footer-nav li:last-child,
.social-links li:last-child {
    margin: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.social-links li a:visited {
    text-decoration:none;
    border:0;
    color:#888;
    transition: 0.2s; /*eases color chnage when hovered*/
}

/*change color on over*/
.footer-nav li a:hover,
.footer-nav li a:active {
    color: #ddd;
}

.ion-social-linkedin,
.ion-social-facebook,
.ion-social-twitter,
.ion-social-googleplus,
.ion-social-instagram {
    transition: 0.2s;
}


.ion-social-linkedin:hover{
    color:#007bb6;
}

.ion-social-facebook:hover {
    color: #3b5998;
}

.ion-social-twitter:hover {
    color: #00aced;
}

.ion-social-googleplus:hover {
    color: #dd4b39;
}

.ion-social-instagram:hover {
    color: #517fa4;
}


.social-links li a:link,
.social-link li a:visited {
    font-size: 160%;
}


footer p {
    color:#888;
    text-align: center;
    margin-top: 20px;
}

/*-----------animations---------------------*/
.js--wp-1,
.js--wp-2,
.js--wp-3 {
    opacity:0;
    animation-duration: 1s;
}

.js--wp-1.animated,
.js--wp-2.animated,
.js--wp-3.animated {
    opacity:1;
}

/*======scroll top top button=====*/
.scrolltop {
	display:none;
	width:100%;
	margin:0 auto;
    position:fixed;
    z-index: 9999;
	bottom:20px;
    right:10px;	
}
.scroll {
	position:absolute;
	right:20px;
    bottom:20px;
    border-radius: 3px;
    background:#e67e22;
    color:white;
	padding:20px;
	text-align: center;
	margin: 0 0 0 0;
    cursor:pointer;
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s; 		
}
.scroll:hover {
	background:#cf6d17;
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s; 		
}
.scroll:hover .fa {
	padding-top:-10px;
}
.scroll .fa {
	font-size:30px;
	margin-top:-5px;
	margin-left:1px;
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s; 	
}