/* Popup */
.emgp-relative {
	position: relative;
}

.emgp-popup {
	position: absolute;
	z-index: 10;
	width: 90%;
	left: 50%;
	top: 25px;
	margin-left: -45%;

	background-color: #ffffff;

	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 0 1px 0 0 rgba(0,0,0,.05), 0 1px 2px 0 rgba(0,0,0,.05), 0 10px 20px 0 rgba(0,0,0,.05);
}

.emgp-popup .well {
	margin-bottom: 0;
}

.emgp-popup p:empty {
	display: none;
}

.emgp-popup .emgp-popup-content {
	padding: 30px 30px 10px 30px;
	line-height: 22px;
}

.emgp-popup .emgp-popup-content  li:before {
    content: '✔';
    margin-left: -1em;
    margin-right: .600em;
    color: green;
 }

.emgp-popup .emgp-popup-content ul {
   padding-left: 14px;
   text-indent: 2px;
   list-style: none;
   list-style-position:o utside;
   margin-bottom: 20px;
}

.emgp-popup .emgp-popup-content img {
	max-width: 100%;
}

.emgp-popup .emgp-popup-content h1,
.emgp-popup .emgp-popup-content h2,
.emgp-popup .emgp-popup-content h3,
.emgp-popup .emgp-popup-content h4,
.emgp-popup .emgp-popup-content h5 {
	margin-top: 0px;
}

.emgp-popup .emgp-popup-content p,
.emgp-popup .emgp-popup-content li {
	font-size: 14px;
}

.emgp-popup .emgp-popup-content p {
	margin-bottom: 20px;
}

/* Other */
.emgp-preview-blur {
	filter: blur(5px);
	-webkit-filter: blur(5px);
	-moz-filter: blur(5px);
	-o-filter: blur(5px);
	-ms-filter: blur(5px);
	opacity: .6;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.emgp-clear-both {
	clear: both;
	display: inline-block;
	width: 100%;
}

.emgp-label {
	color: #fff;
	background: #333;
}

/* Files */
.emgp-files-placeholder {
	background: #f6f6f6;
	border: 1px solid #ddd;
	padding: 15px;
}

/* Post */
.emgp-block {
	padding: 0px !important; /* important for EMG parent theme fix */
}

.emgp-block .emgp-embed-placeholder img,
.emgp-block .emgp-large-thumbnail img {
	max-width: 100%;
	height: auto;
}

.emgp-post-label {
	padding: 1px 5px;
	font-size: 12px;
	line-height: 1.5;
	color: #fff;
	background-color: #5cb85c;
	display: inline-block;
}

.emgp-thumbnail-label {
	padding: 1px 5px;
	font-size: 12px;
	line-height: 1.5;
	color: #fff;
	background-color: #5cb85c;
	position: absolute;
	left: 0px;
	bottom: 0px;
}

.emgp-post-header,
.emgp-post-content  {
	padding: 50px 100px 25px 100px;
	font-family: "proxima-nova", arial;
	font-size: 126%;
}

.emgp-large-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .nav-tabs > li {
        float:none !important;
        border:1px solid #dddddd !important;
    }
    .nav-tabs > li.active > a{
        background:#fff !important;
        border:none !important;
    }
    .nav-tabs > li.active {
        background:#fff !important;
    }
    .emgp-post-content,
    .emgp-post-header {
        padding: 15px;
    }
    .col-md-3 {
    	width: 100% !important;
    }
    .col-md-4 {
    	width: 100% !important;
    }
}

/* Embed */
.emgp-embed-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.emgp-embed-placeholder {
	width: 100%;
	height: auto;
	position: relative;
	display: block;
}

.emgp-embed-container iframe,
.emgp-embed-container object,
.emgp-embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.emgp-embed-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../images/video-play-button.png) center center no-repeat;
}

/* Subscriptions */
.emgp-subscriptions-overview ul,
.emgp-check-list-items {
	padding-left: 14px;
	text-indent: 2px;
	list-style: none;
	list-style-position: o utside;
	margin-bottom: 20px;
}

.emgp-subscriptions-overview li:before,
.emgp-check-list-items li:before {
	font-family: 'FontAwesome';
	content: '\f00c';
	margin-left: -1em;
	margin-right: .600em;
	color: #5cb85c;
}

.emgp-subscription-features {
	height: auto !important;
}

.emgp-subscriptions-overview .emgp-missing-features {
	margin-top: -20px;
}

.emgp-subscriptions-overview .emgp-missing-features li {
	color: #999;
}

.emgp-subscriptions-overview .emgp-missing-features li:before {
	color: #999;
	content: '\f00d';
}

.emgp-subscriptions-page .block h1 {
	display: none;
}

.emgp-subscriptions-overview .col-md-4,
.emgp-subscriptions-overview .col-md-3 {
	text-align: center;
}

.emgp-normal-price {
	text-decoration: line-through;
}

.emgp-ribbon {
	background: #58b957;
	color: #fff;
	font-weight: bold;
	font-size: 90%;
	padding: 4px 10px;
	text-align: center;
	width: 200px;
	z-index: 1;
	position: absolute;
	top: 35px;
	left: -50px;
	/*rotate*/
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.emgp-subscriptions-overview .well {
	overflow: hidden;
}

.emgp-subscriptions-overview .well img {
	max-width: 100%;
	height: auto;
}

.emgp-subscriptions-overview hr {
	height: 1px;
	width: 100%;
	background: #fff;
	display: block;
}

/* Subscription */
.emgp-order-form {
	background: #eee;
	margin-top: 20px;
	padding: 40px;
}

/* Bootstrap */
.panel-heading a:after {
   content: "▼";
	float: right;
	color: grey;
	font-size: 14px;
	margin-right: 4px;
}

.panel-heading a.expanded:after {
    content:"▲";
}

.emgp-panel {
	border: 1px solid #DDD;
	margin-bottom: 3px;
	border-radius: 3px;
}

/* Switch */
.emgp-alert {
	padding: 10px;
	display: block;
	border: 1px solid transparent;
	margin-bottom: 10px;
}

.emgp-alert.success {
	color: #3c763d;
	background-color: #dff0d8;
	border-color: #d6e9c6;
}

.emgp-alert.info {
	color: #31708f;
	background-color: #d9edf7;
	border-color: #bce8f1;
}

.emgp-alert.danger {
	color: #a94442;
	background-color: #f2dede;
	border-color: #ebccd1;
}

/* Password strength meter */
#pass-strength-result {
	background-color: #eee;
	border: 1px solid #ddd;
	float: left;
	margin: 13px 5px 5px 1px;
	padding: 3px 5px;
	text-align: center;
	width: 200px;
	display: block;
}
#pass-strength-result.bad {
	background-color:#ffb78c;
	border-color:#ff853c!important;
}
#pass-strength-result.good {
	background-color:#ffec8b;
	border-color:#fc0!important;
}
#pass-strength-result.short {
	background-color:#ffa0a0;
	border-color:#f04040!important;
}
#pass-strength-result.strong {
	background-color:#c3ff88;border-color:#8dff1c!important;
}

/* Bootstrap fallback */
.emgp-subscriptions-overview .col-md-3,
.emgp-subscriptions-benefits .col-md-3 {
	width: 25%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-left: 10px;
	padding-right: 10px;
}

.emgp-subscriptions-overview .col-md-4,
.emgp-subscriptions-benefits .col-md-4 {
	width: 33%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-left: 10px;
	padding-right: 10px;
}

.well {
	min-height: 20px;
	padding: 19px;
	margin-bottom: 5px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}


/**
 * 	Tabs
 */
.emgp-tabs {
	margin: 40px 0px 30px 0px;
	padding: 0;
}

.emgp-tabs li {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-block;
}

.emgp-tabs li a,
.emgp-tabs li a:visited {
 	color: #999;
	background-color: #f3f3f3;
	border: 1px solid #ddd;
	border-bottom-color: transparent;
	margin-right: 2px;
	line-height: 1.42857143;
	border-radius: 4px 4px 0 0;
	padding: 10px;
}

.emgp-tabs li a:hover,
.emgp-tabs li.active a {
	color: #000;
	background-color: #ffffff;
}

/**
 * EMGP slider
 */
.emgp-flexslider {
	position: relative;
	background: none;

    border: none;

    box-shadow: none;

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

    margin: 0 0 20px 0;
}

.emgp-flexslider .slides > li {
	background-color: #000000;

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

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

.emgp-flexslider .slides > li.video {
	min-height: auto;
}

.emgp-flexslider .slides img {
	width: inherit;
	height: inherit;
}

.emgp-flexslider .slide-content {
	color: #fff;

	padding: 40px;
}

.emgp-flexslider .flex-control-nav {
	bottom: 20px;

	z-index: 50;
}

.emgp-flexslider .flex-control-paging li a {
	background: #fff;

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

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

.emgp-iframe-preview {
	background: #eee;
	width: 100%;
	min-height: 440px;
}

.notification {
	background: #eee;
	padding: 10px;
}

.emgp-loading {
	position: fixed;
	top: 15px;
	left: 15px;
	width: 200px;
	padding: 15px;
	background: #333;
	color: #fff;
	font-size: 13px;
}

.emgp-login-form .emgp-login-form__meta {
    display: flex;
    justify-content: space-between;
}

.emgp-login-form .emgp-login-form__remember-me input {
    display: inline;
}

.emgp-login-form .emgp-login-form__lost-password {
    text-align: right;
}

.eisbook-preview {
    box-shadow: 0 1px 0 0 rgba(0,0,0,.05), 0 1px 2px 0 rgba(0,0,0,.05), 0 10px 20px 0 rgba(0,0,0,.05);
    background: #fff;
    display: block;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.eisbook-subscribe {
    display: block;
    text-align: center;
    border-top: 1px solid #ddd;
}

.eisbook-subscribe .btn {
    margin: 10px 0;
}

.eisbook-preview-title {
    display: block;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.eisbook-preview-title,
.eisbook-subscribe {
    font-weight: bold;
    padding: 25px;
    background: #f9f9f9;
}

.emgp-faq-item .panel-title {
	font-size: 1.1rem;
}