/* Simple Resets */
body {
	font-family: "open-sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-weight: 300;
	background-color: #FFF;
	color: #333;
	margin: 0; padding: 0;
}

* {box-sizing: border-box;}
table {border-collapse: collapse; border-spacing: 0;}
td, th {padding: 0;}
strong {font-weight: 600;}
.pull-left {float: left; margin-right: 20px;}
.pull-right {float: right; margin-left: 20px;}
.row:after, .md-footer:after {visibility: hidden; display: block; content: ""; clear: both; height: 0;} /* clearfix hack */


/* Super Simple Grid System */
.main {
	width: 1366px; height: 768px; margin-left:auto; margin-right: auto;
	background:url(../img/bg.jpg) no-repeat left top;
}
.row {margin-bottom: 20px;}
.row:last-child {margin-bottom: 0;}
.flavors .thumbnail {display:block; float: left; margin-left: 20px;}
.flavors .thumbnail:first-child {margin-left: 0;}

.flavors, .extras, .newsletter {float: left; margin-left: 40px; height: 768px;}
.flavors, .extras {margin-top: 148px;}
.flavors {width: 580px;}
.extras {width: 270px; position:relative;}
.newsletter {width: 396px; padding: 40px; padding-top: 200px;}
.newsletter iframe {height: 330px !important;}

.col-two {
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
	column-count: 2;
	-webkit-column-gap: 40px; /* Chrome, Safari, Opera */
	column-gap: 40px;
}

.col-two table {
	-webkit-column-break-inside:avoid;
	column-break-inside:avoid;
}



/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: "atrament-web",Helvetica,Arial,sans-serif;
	font-weight: normal;
	line-height: 0.8em;
	margin-bottom: 7.5px;
	margin-top: 0.75em;
}

h3, h4, h5, h6, small {font-weight: 300; line-height: 1.1em;}

p {margin-top: 0; margin-bottom: 20px;}

h1 {font-size: 115px; color: #cf343d; text-transform: uppercase; letter-spacing:-.01em;}
h2 {font-size: 48px; }
h3, h1 small {font-size: 36px;}
h4 {font-size: 30px;}

#modal-extras h3 {color: #cf343d;}
#modal-extras h3 small {color:#333;}

small {color: rgba(50, 50, 50, 0.5); letter-spacing: 0; font-size: .65em;}

.md-modal h1 small {color: #333; text-transform: none; display: inline-block; position: relative; top: -5px;}

hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eeeeee;
}

.badge {
	background: #d9534f;
	font-weight:bold !important;
	color: white;
	padding: 0.2em 0.4em 0.3em;
	line-height: 1em;
	display: inline-block;
	border-radius: 0.25em;
	white-space: nowrap;
}

/* Forms */
input[type=text], input[type=email] {
	color: #333;
	border: none;
	display:block;
	width: 100%;
	padding: 10px 14px;
	font-size: 16px;
	font-weight: 300;
}

::-moz-placeholder, ::-webkit-placeholder {color: #cacaca;}

.btn-primary, .btn-default, input[type=text], input[type=email] {
	height: 50px; line-height: 46px; 
	position: relative; 
	display:block;
}

.btn {
	font-family: "atrament-web",Helvetica,Arial,sans-serif;
	font-weight: 200;
	letter-spacing: 0.015em;
	text-align:center;
	color: #333;
	text-decoration: none;
	font-size: 24px;
	display:block;
}

.btn-lg {font-size: 28px;}

.btn-primary {
	background: linear-gradient(#e97168, #ce3530); 
	border: 1px solid #ce3530;
	box-shadow: inset 1px 1px 0px rgba(255,255,255,.3);
	border-radius: 4px;
	color: white;
}

.btn-default {
	background: linear-gradient(#f1f1f1, #e3e3e3); 
	border: 1px solid #d7d7d7;
	border-radius: 4px;
	color: #8f8f8f;
}


#btn-extras {
	position:absolute;
	width: 100%;
	top: -97px;
}

.carousel .btn {
	padding: 8px 15px; border: 1px solid #CCC;
	border-radius: 4px;
}

.newsletter .btn {color: white;}
.newsletter .btn:hover {color: #f6e086;}

.btn-primary:hover {background: linear-gradient(#ce3530, #e97168); }

.extras .thumbnail .btn {margin-top: 180px;}
.box-goals {background: white url(../img/btn-goals.gif) center top; margin-bottom: 40px;}
.box-extras {background: white url(../img/btn-extras.gif) center top;}
.box-loyalty {background: white url(../img/btn-loyalty.gif) center top;}

/* Input Group */
.input-group {position: relative; display:block; z-index: 400;}

.input-group-addon {
	background: url(../img/icon-arrow.gif) no-repeat center center;
	position: absolute; right: 0; top: 0;
	border: none;
	width: 50px;
	height: 50px;
	padding: 0;
	cursor: pointer;
	z-index: 500;
}


/* Thumbnails */
.flavors .thumbnail {opacity: 0.15; box-shadow: none; cursor: default; transition: all 1s;}
.flavors .thumbnail.active {opacity: 1; cursor: pointer; transition: all 1s;}

.thumbnail {width: 180px; height: 180px;}
.extras .thumbnail {width: 270px; height: 270px; padding: 20px; position: relative;}
.flavors .active, .extras .thumbnail {box-shadow: 0px 0px 10px rgba(0,0,0,.15); transition: .35s; background-repeat: no-repeat; background-position: center center; background-color: white;}
.thumbnail.active:hover {box-shadow: 0px 0px 15px rgba(0,0,0,.3);}
.thumbnail:active {box-shadow: inset 0px 0px 12px rgba(0,0,0,.2);}

.extras .thumbnail:hover {box-shadow: 0px 0px 10px rgba(0,0,0,.15);}

.super-fit 	{background: url(../img/super-fit.gif);}
.super-power 	{background: url(../img/super-power.gif);}
.super-fuel 	{background: url(../img/super-fuel.gif);}
.super-charge 	{background: url(../img/super-charge.gif);}
.super-sleep 	{background: url(../img/super-sleep.gif);}
.super-trim 	{background: url(../img/super-trim.gif);}
.super-gain 	{background: url(../img/super-gain.gif);}
.super-meal 	{background: url(../img/super-meal.gif);}
.super-calm 	{background: url(../img/super-calm.gif);}





.extras img {display:block; margin-bottom: 40px;}
.extras img:last-child {margin-bottom: 0px;}

.newsletter {position: relative;}
.newsletter .title, iframe {display: block; margin-bottom: 10px;}
.newsletter .twitter-feed {position: absolute; bottom: 40px; text-align: center; color: white;}



/* Modals */
.float-img, .float-description {float: left;}
.float-img {width: 36.197%;}
.float-img img {width: 100%;}
.float-description {width: 61.844%; margin-left: 1.959%;}




/* Dropdown Menus */
.caret {
border-left: 0.25em solid transparent;
    border-right: 0.25em solid transparent;
    border-top: 0.25em solid;
    display: inline-block;
    height: 0;
    margin-left: 0px;
    vertical-align: middle;
    width: 0;
    margin-top: -0.125em;
}

.btn-group {position: relative;}


.dropdown-menu {
    background-clip: padding-box;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
    /*display: none;*/
    float: left;
    font-size: 14px;
    left: 0;
    list-style: none outside none;
    margin: 0;
    min-width: 160px;
    padding: 0px;
    position: absolute;
    text-align: left;
    top: 100%;
    z-index: 1000;
    width: 100%;
    overflow: hidden;
    height: 0px;
    transition: all 0.5s;
}

.btn-group:hover .dropdown-toggle {
	border-radius: 4px 4px 0 0;
}

.btn-group:hover .dropdown-menu {
	display: block;
	height: 340px;
	transition: all 0.5s;
}

.dropdown-menu a {
	color: #333;
	display: block;
	padding: 7px 15px;
	text-decoration: none;
	transition: all 0.5s;
}

.dropdown-menu a:hover {background-color: #EBEBEB;}





/* Alerts */
.md-content .alert {padding: 8px; border: 2px solid #333; font-size: 13px;}
p.small {font-size: 13px;}

/* Bootstrap Tables */
table {
    background-color: transparent;
}
th {
    text-align: left;
}
.table {
    margin-bottom: 15px;
    max-width: 100%;
    width: 100%;
}
.table > thead > tr > th, .table > thead > tr > td, .table > tbody > tr > th, .table > tbody > tr > td, .table > tfoot > tr > th, .table > tfoot > tr > td {
    border-top: 1px solid #e7e7e7;
    line-height: 1.25;
    padding: 8px;
    vertical-align: top;
}
.table > thead > tr > th {
    border-bottom: 2px solid #e7e7e7;
    vertical-align: bottom;
}
.table > caption + thead > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > th, .table > thead:first-child > tr:first-child > td {
    border-top: 0 none;
}
.table > tbody + tbody {
    border-top: 2px solid #e7e7e7;
}
.table .table {
    background-color: #e7e7e7;
}
.table-condensed > thead > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > th, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > th, .table-condensed > tfoot > tr > td {
    padding: 5px;
}
.table-bordered {
    border: 1px solid #e7e7e7;
}
.table-bordered > thead > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > th, .table-bordered > tfoot > tr > td {
    border: 1px solid #e7e7e7;
}
.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
    border-bottom-width: 2px;
}
.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color: #ececec;
}
.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
    background-color: #f1f1f1;
}
table col[class*="col-"] {
    display: table-column;
    float: none;
    position: static;
}
table td[class*="col-"], table th[class*="col-"] {
    display: table-cell;
    float: none;
    position: static;
}

/* Table Overrides */
.table tr.divider td {
    background: none repeat scroll 0 0 #333;
    height: 5px;
    padding: 0;
    border-top: 0px !important;
}


/* Bootstrap Slider */
.img-responsive,
.thumbnail img,
.thumbnail a img,
.carousel-inner .item img,
.carousel-inner .item a img { 
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.carousel {
  position: relative;
}
.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.carousel-inner > .item {
  position: relative;
  display: none;
  -webkit-transition: .6s ease-in-out left;
       -o-transition: .6s ease-in-out left;
          transition: .6s ease-in-out left;
}
.carousel-inner .item img,
.carousel-inner .item a img {
  line-height: 1;
}
.carousel-inner .active, .carousel-inner .next, .carousel-inner .prev {display: block;}
.carousel-inner .active {left: 0;}
.carousel-inner .next,
.carousel-inner .prev {
  position: absolute;
  top: 0;
  width: 100%;
}
.carousel-inner .next {left: 100%;}
.carousel-inner .prev {left: -100%;}
.carousel-inner .next.left,
.carousel-inner .prev.right {left: 0;}
.carousel-inner .active.left {left: -100%;}
.carousel-inner .active.right {left: 100%;}

.left {float: left;}
.right {float: right;}

.carousel-control.right {right: 0;left: auto;}
.carousel-control:hover, .carousel-control:focus { }
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-block;
}
.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
  left: 50%;
  margin-left: -10px;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
  right: 50%;
  margin-right: -10px;
}
.carousel-control .icon-prev,
.carousel-control .icon-next {
  width: 20px;
  height: 20px;
  margin-top: -10px;
  font-family: serif;
}

.carousel-indicators {
  position: absolute;
  bottom: 0px;
  left: 50%;
  z-index: 15;
  width: 60%;
  padding-left: 0;
  margin-left: -30%;
  text-align: center;
  list-style: none;
}
.carousel-indicators li {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 1px;
  text-indent: -999px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid #ccc;
  border-radius: 10px;
}
.carousel-indicators .active {
  /*width: 12px;
  height: 12px;
  margin: 0;*/
  background-color: #ccc;
}
.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 20px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.carousel-caption .btn {
  text-shadow: none;
}
@media screen and (min-width: 768px) {
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-prev,
  .carousel-control .icon-next {
    width: 30px;
    height: 30px;
    margin-top: -15px;
    font-size: 30px;
  }
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .icon-prev {
    margin-left: -15px;
  }
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-next {
    margin-right: -15px;
  }
  .carousel-caption {
    right: 20%;
    left: 20%;
    padding-bottom: 30px;
  }
  .carousel-indicators {
    bottom: 20px;
  }
}









/* MD Modal Styles */

.md-modal {
	/*display:none;*/
	position: fixed;
	top: 45px;
	left: 50%;
	width: 50%;
	margin-left: -550px;
	width: 1100px;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}

.md-show {visibility: visible;}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(0,0,0,0.6);
	transition: all 0.5s;
}

.md-show ~ .md-overlay {opacity: 1; visibility: visible;}

.md-close {
	height: 50px;
	width: 50px;
	background:url(../img/btn-close.gif) center center;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 500;
}

/* Content styles */
.md-content {
	background: #FFF;
	color: #333;
	position: relative;
	margin: 0 auto;
	border-radius: 6px;
}

.md-generic .md-content {padding: 30px; padding-top: 40px;}
.md-content .carousel {padding-left: 30px; padding-right:30px; padding-top: 40px;}
.md-footer {padding: 30px; padding-top:0;}

.md-content h1 {margin-top: -7px;}
.md-content ul {margin: 0;padding: 0 0 30px 20px;}
.md-content ul li {padding: 5px 0;}

/* Individual modal styles with animations/transitions */
/* Effect 9: 3D flip vertical and Blur */
.md-effect-9.md-modal {-webkit-perspective: 1300px; -moz-perspective: 1300px; perspective: 1300px;}

.md-effect-9 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateX(-70deg);
	-moz-transform: rotateX(-70deg);
	-ms-transform: rotateX(-70deg);
	transform: rotateX(-70deg);
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
	opacity: 0;
	outline: 1px solid transparent;
}

.md-show.md-effect-9 .md-content {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	transform: rotateX(0deg);
	opacity: 1;
}

.md-show.md-effect-9 ~ .container {
	-webkit-filter: blur(4px);
  	-webkit-transform: translate3d(0, 0, 0);
	filter: blur(4px); 
	transform: translate3d(0,0,0); /* force hardware acceleration */
}
.md-show.md-effect-9 ~ .container, .md-effect-16 .md-content {-webkit-transition: all 0.5s ease-in; transition: all 0.5s ease-in;}


/* Crema Overrides */
.md-modal header {margin-left: -75px;}
.md-modal .btn.pull-left {opacity: 0.5; cursor: default;}
.md-content .carousel {height: 565px; overflow: auto;}
.md-modal .carousel-control {background: white; padding: 8px 12px; border: 1px solid #ccc; border-radius: 4px;}
.md-footer {margin-top: 15px;}

/* Fix for Generic Modals */
.md-generic {height: 620px;}
.md-generic .md-content {height: 100%; overflow: auto;}



/* Newsletter Signup Error Messages */
#mce-success-response, #mce-error-response {display:none !important;}
#mc_embed_signup div.mce_inline_error {font-size: 13px !important;}