/*			CSS > GrainRatio > 2020			*/

/*			B O D Y			*/

.main {
	background-color: #eee !important;
}
body {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}
.navbar  {
    margin-bottom: 0px;
    z-index:100;
}

/*			H E A D E R			*/

.page-head {
    min-height: 50vh;
    max-height: 80vh;
    background-position: center center;
    background-size: cover;
    margin: 15px 15px;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    vertical-align: center;
}
.page-head-small {
    min-height: 20vh;
    max-height: 30vh;
    background-position: center center;
    background-size: cover;
    margin: 15px 15px;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    vertical-align: center;
}
.search-top h1 {
    font-size: 2rem;

}
.caret {
    font-size: 50px;
    color: rgba(0, 0, 0, 0.26);
}
.header-filter {
    position: static;
}

.header-filter:before,
.header-filter:after {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  left: 0;
  top: 0;
  content: "";
}

.header-filter::before {
  background: rgba(0, 0, 0, 0.5);
}

.header-filter .container {
  z-index: 2;
  position: relative;
}
.feedback-header {
    position: relative;
  height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
}

/*			S E A R C H			*/

input#search {
	font-size: 30px;
	height: 50px;
}
input::placeholder {
    height: 48px;
    font-size: 24px;
}
.input {
	font-size: 50px;
	height: 80px;
}
.search {
    display:block;
}
.toggles {
    padding-left: 1rem;
    padding-right: 1rem;
}
.toggle-on {
    color: #9c27b0 !important;
}
.wg {
    margin-left: auto;
    margin-right: auto;
}
.gf {
    margin-left: auto;
    margin-right: auto;
}
.search-btm {
    padding-left: 1rem;
    padding-right: 1rem;
}


/*			C A R D S			*/

.card-deck .card {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
	flex-basis: 100%;
	margin-left: 0px;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 0px;
}
.card-deck {
    padding-top: 15px;
    padding-bottom: 15px;
}
.card-item {
    display: inline-block !important;
    padding: .5rem;
}
.servings {
    display: block;
}
.servingNum {
    font-size: 2rem;
    border-width: 0px;
    border-style: none;
    width: 25%;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none;
}
span.grainData {
    display: inline-block;
    margin-bottom: .5rem;
}
span.grain-numbers {
    font-size: 1.3rem;
    font-weight: 600;
}
.grain-info-calc .grainData {
    font-size: 1.3rem;
    font-weight: 600;
}
.modal li.card-item,
.grain-info-calc .card-item {
    margin: 0 .5rem;
    min-width: 60px;
}
.grainLabel {
    margin-bottom: .5rem;
}
.stack {
    display: inline-block;
}
.grain-info {
    padding-left: 0px;
}

.grain-info-calc {
    display: none;
}
li > span {
	display: block;
	margin-bottom: .5rem;
}
.card ul {
	padding: 0px;
}
.grain-subtitle {
	color: #b3b3b3;
	letter-spacing: 3px;
}

.tag {
	margin: 5px 3px 5px 0;
    position: relative;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
    font-size: .8em;
    text-transform: uppercase;
    display: inline-block;
    line-height: 1.5em;
    padding-left: .8em;
}
.grain-tags {
    max-width: 100%;
    line-height: 22px;
    position:absolute;
    top:5px;
    right:5px;
}
.grain-tags.tag {
    margin: 5px 3px 5px 0;
    position: relative;
    padding: 3px 8px;
    border-radius: 12px;
    color: #fff;
    font-weight: 500;
    font-size: .75em;
    text-transform: uppercase;
    display: inline-block;
    line-height: 1.5em;
    padding-left: .8em;
}
button.x {
    position:absolute;
    top:24px;
    right:24px;
    padding: 16px;
    margin: 8px;
} 
.instructions {
	text-align: left;
	font-size: 1rem;
}
.instructions h4 {
	font-weight: 700;
}
.instructions p {
	font-size: 1rem;
}

/*          BACK TO TOP  B U T T O N           */

#return-to-top {
    z-index: 500;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(156, 39, 176);
    background: rgba(156, 39, 176, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(156, 39, 176, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}
/*			M E D I A  Q U E R I E S			*/

@media (min-width: 331px) {
    .gf {
        padding-right: 1rem;
    }
}

@media (min-width: 400px) {
    .search {
        display: flex;
    }
    .changeBtn {
        display: none;
    }

}
@media (min-width: 454px) {
    .card-deck {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media(min-width: 574px) {
    .card-deck {
        width: 100%;

    }
}
@media (min-width: 575px) {
    .card-deck .card {
        flex-basis: 45%;
    }
    .card-deck {
        flex-flow: row wrap;
    }

}

@media (min-width: 576px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 769px) {
    .search-top h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
	.card-deck .card {
		flex-basis: 30%;
	}
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1280px) {
    .card-deck .card {
        flex-basis: 20%;
    }
    .container {
        max-width: 1200px;
    }
}




