/**
 * Global
 */
.emg-subscriptions h2,
.emg-subscriptions h3,
.emg-subscriptions h4,
.single-subscription h2,
.single-subscription h3,
.single-subscription h4 {
	margin-top: 0;
}

.emg-subscriptions p.lead {
	font-size: 2.2em;
}

/**
 * Marketing slider
 */
.marketing-slider {
	background: none;

    border: none;

    box-shadow: none;

	-webkit-border-radius: 0;
	   -moz-border-radius: 0;
            border-radius: 0;

    margin: 0 0 20px 0;
}

.marketing-slider .slides > li {
	background-color: #000000;

	-webkit-background-size: cover;
	   -moz-background-size: cover;
	        background-size: cover;

	/* min-height: 400px; */
}

.marketing-slider .slides > li.video {
	min-height: auto;
}

.marketing-slider .slides img {
	width: inherit;
	height: inherit;
}

.marketing-slider .slide-content {
	color: #fff;

	padding: 40px;
}

.marketing-slider .flex-control-nav { 
	bottom: 20px;

	z-index: 50;
}

.marketing-slider .flex-control-paging li a {
	background: #fff;

	-webkit-box-shadow: none;
       -moz-box-shadow: none;
	        box-shadow: none;
}

.marketing-slider .flex-control-paging li a.flex-active {
	background: #56c200;
}

/**
 * Subscriptions
 */
.subscriptions {
	margin-top: 20px;
}

.subscriptions .subscription {
	overflow: hidden;

	min-height: 150px;

	position: relative;
}

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

.subscriptions .subscription .subscription-meta {
	background: #f6f6f6;

	padding: 20px;
}

.subscriptions .subscription .price-box {
	margin-bottom: 10px;

	text-align: right;
}

.subscriptions .subscription span.price {
	display: block;

	font-size: 24px;
	line-height: 1.2;
	
	font-weight: 600;
}

.subscriptions .subscription span.regular-price {
	display: block;

	color: #999;

	font-size: 14px;
	line-height: 1.2;
	font-weight: normal;

	text-decoration: line-through;
}

.subscriptions .subscription .label {
	font-size: 12px;
	
	vertical-align: middle;
}

.subscriptions .subscription .ribbon {
	background: #58b957;
	
	color: #fff;
	
	font-weight: bold;

	padding: 4px 10px;

	position: absolute;
	top: 35px;
	left: -50px;

	-webkit-transform: rotate(-45deg);
	   -moz-transform: rotate(-45deg);
	    -ms-transform: rotate(-45deg);
	        transform: rotate(-45deg);

	text-align: center;

	width: 200px;

	z-index: 20;
}

@media (max-width: 991px) {
	.subscriptions .subscription .magazine-preview,
	.subscriptions .subscription .subscription-content {
		margin-bottom: 20px;
	}
}

/**
 * Subscription
 */
.single-subscription .subscription-form,
.emg-subscriptions .subscription-form {
	background: #eee;

	margin-top: 20px;
	padding: 40px;
}

.single-subscription .magazine-preview,
.emg-subscriptions .magazine-preview {
	float: left;

	margin-right: 20px;
}

.emg-subscriptions .subscription .magazine-preview {
	float: none;

	margin-right: 0;
}

/**
 * Buttons
 */
.emg-subscriptions .btn-primary {
	background: #50bf00;

	background-image: -o-linear-gradient(bottom, #72d40a 0%, #50bf00 100%);
	background-image: -moz-linear-gradient(bottom, #72d40a 0%, #50bf00 100%);
	background-image: -webkit-linear-gradient(bottom, #72d40a 0%, #50bf00 100%);
	background-image: -ms-linear-gradient(bottom, #72d40a 0%, #50bf00 100%);
	background-image: linear-gradient(to bottom, #72d40a 0%, #50bf00 100%);
	
	border: none;

	padding-left: 15px;
	padding-right: 15px;

	position: relative;

	text-align: left;
}

.emg-subscriptions .btn-primary:after {
	content: "\e131";

	display: block;

	font-family: "Glyphicons Halflings";
	font-style: normal;
	font-weight: normal;
	line-height: 1;

	margin-top: -9px;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	
	position: absolute;
	top: 50%;
	right: 10px;
}

/**
 * Gravity Forms
 */
.single-subscription .gform_wrapper,
.emg-subscriptions .gform_wrapper {
	margin: 0;
}

.single-subscription .gform_wrapper .ginput_total,
.emg-subscriptions .gform_wrapper .ginput_total {
	color: #58b957;

	font-size: 26px;
}

.single-subscription .gform_wrapper .ginput_product_price_label,
.emg-subscriptions .gform_wrapper .ginput_product_price_label {
	color: #999;
}

.single-subscription .gform_wrapper .gform_footer,
.emg-subscriptions .gform_wrapper .gform_footer {
	margin: 0;
}

/**
 * Global
 */
.glyphicon,
.fa {
	color: #5cb85c;
	
	vertical-align: middle;
}

span.text {
	font-size: 0.75em;
}

/**
 * Responsive video
 */
.video-container {
    position: relative;

	height: 0;

	overflow: hidden;

    padding-bottom: 56.25%;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;

    width: 100%;
    height: 100%;
}

/**
 * Orders widget
 */
.widget_emg-subscriptions-total-orders-widget {
	text-align: center;
}

.widget_emg-subscriptions-total-orders-widget p.description {
	color: #999;

	font-size: 18px;
}

.widget_emg-subscriptions-total-orders-widget .totals {
	margin-bottom: 10px;
}

.widget_emg-subscriptions-total-orders-widget .totals span {
	border: 1px solid #ddd;

	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;

	box-shadow: 0 0 2px #eee;

	display: inline-block;

	font-size: 42px;
	font-weight: 600;
	
	position: relative;

	margin: 2px;
	padding: 2px 8px;
}

.widget_emg-subscriptions-total-orders-widget .totals span:before {
	content: " ";
	
	display: block;

	border-bottom: 1px solid #ccc;
	
	border-top: 1px solid #fff;

	height: 1px;
	
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
}

.widget_emg-subscriptions-total-orders-widget .totals span:after {
	content: " ";
	
	display: block;

	border-bottom: 1px solid #ccc;
	
	border-top: 1px solid #fff;

	height: 3px;
	
	position: absolute;
	bottom: 1px;
	left: 0;
	right: 0;
}

/**
 * Social share
 */
.emg-subscriptions-social-share {
	margin: 20px 0;
}

/**
 * Benefits
 */
.emg-subscriptions-benefits .col-md-4:nth-child(3n + 4) {
	clear: left;
}
