/*
Theme Name:		Invent Child
Theme URI:		http://www.portfoliotheme.org/invent
Description:    Child theme for the Invent Theme
Author:			LiveMesh
Author URI:		http://www.portfoliotheme.org/
Template:		invent
Version:		0.1.0
*/



/*=================================================
// MISC
*/

.clear {
	clear: both;
	overflow: hidden;
	height: 1px;
}

/* don't display page content on home */
/*body.home #main { display: none; }*/



/*=================================================
// HEADER OVERRIDES
*/

#site-logo a img {
	display: block;
	height: 25px;
	width: auto;
	max-width: 100%;
}

@media(min-width: 768px){
	#site-logo a {
		width: 25px;
		overflow: hidden;
	}
	#site-logo a img {
		max-width: none;
	}
}

@media(min-width: 900px){
	#site-logo a { width: auto;	}
	#site-logo a img {
		height: 36px;
		width: auto;
	}
}

@media(min-width: 1100px){
	#site-logo { top: 18px; }
	#site-logo a img { height: 60px; }

	#header.sticky #site-logo { top: 10px; }
	#header.sticky #site-logo a img { height: 40px; }
}



/*=================================================
// LANDING TEMPLATE
*/

.landing-row {
	padding: 35px 0;
}

.landing-title {
	margin: 0 0 35px;
	line-height: 1.1;
	text-align: center;
	font-size: 32px;
	font-size: 2rem;
}

.landing-title br {
	display: none;
}

.landing-content-td.video {
	margin-bottom: 30px;
}

.landing-content-td.video iframe {
	width: 100%;
}

.landing-content-td p {
	margin: 0;
}

.landing-list {
	list-style: none;
}

.landing-list-item {
	display: block;
	position: relative;
	font-size: 17.6px;
	font-size: 1.1rem;
	min-height: 25px;
	line-height: 20px;
	padding-left: 35px;
	margin: 30px 0;
}

.landing-list-item:first-child {
	margin-top: 0;
}

.landing-list-item:last-child {
	margin-bottom: 0;
}

.landing-list-item:before {
	content: '';
	width: 26px;
	height: 25px;
	background: transparent url(images/landing-check.png) scroll 0 0 no-repeat;
	position: absolute;
	top: 0;
	left: 0;
}

.landing-green {
	background-color: #90C841;
	padding: 35px 0;
	position: relative;
	color: #90C841;
}

.landing-link-wrapper {
	text-align: center;
}

.landing-link-text {
	color: #fff;
	font-weight: 300;
	font-size: 36px;
	font-size: 2.25rem;
	margin-bottom: 30px;
	line-height: 1.1;
}

.landing-link {
	display: inline-block;
	width: 200px;
	height: 51px;
	background: transparent url(images/landing-link.png) scroll 0 0 no-repeat;
	background-size: contain;
}

@media(min-width: 768px){
	.landing-title {
		margin-top: -10px;
	}
	.landing-title br {
		display: block;
	}
	.landing-content {
		display: table;
		width: 100%;
	}

	.landing-content-td {
		vertical-align: top;
		display: table-cell;
		width: 50%;
		margin: 0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	.landing-content-td:first-child {
		padding-right: 15px;
	}
	.landing-content-td:last-child {
		padding-left: 15px;
	}

	.landing-link {
		width: 235px;
		height: 60px;
	}
}

@media(min-width: 980px){
	.landing-title {
		font-size: 41.6px;
		font-size: 2.6rem;
	}
}

@media(min-width: 1200px){
	.landing-content-td.video {
		width: 600px;
		padding: 15px 80px 0 30px;
		background: transparent;
	}
	.landing-content-td.list {
		padding: 20px 0 0;
		width: calc(100% - 600px);
	}
	.landing-list-item {
		font-size: 20px;
		font-size: 1.25rem;
	}
	.landing-link-text {
		display: inline-block;
		line-height: 70px;
		vertical-align: middle;
		padding-right: 120px;
		position: relative;
		margin-bottom: 0;
	}
	.landing-link-text:before {
		content: '';
		width: 55px;
		height: 70px;
		background: transparent url(images/landing-arrow.jpeg) scroll 0 0 no-repeat;
		position: absolute;
		top: 0;
		right: 40px;
		background-size: 55px 70px;
	}
	.landing-green:after {
		content: '';
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 20px 15px 0 15px;
		border-color: #F7F7F7 transparent transparent transparent;
		position: absolute;
		left: 50%;
		margin-left: -15px;
		top: 0;
	}
	.landing-link {
		vertical-align: middle;
	}
}



/*=================================================
// TEMPLATE OVERRIDES
*/

body.template-no-footer-top #footer { display: none; }

body.template-no-footer-bottom #footer-bottom { display: none; }

body.template-no-header-links #primary-menu,
body.template-no-header-links #mobile-menu-toggle { display: none; }
body.template-no-header-links #site-logo a { cursor: default; }
@media(min-width: 768px){
	body.template-no-header-links #site-logo a {
		width: auto;
		overflow: visible;
	}
	body.template-no-header-links #site-logo { top: 25px; }
	body.template-no-header-links #header.sticky { height: 45px; }
}
@media(min-width: 900px){
	body.template-no-header-links #site-logo { top: 20px; }
	body.template-no-header-links #header.sticky { height: 55px; }
}
@media(min-width: 1100px){
	body.template-no-header-links #site-logo { top: 8px; }
	body.template-no-header-links #header.sticky { height: 60px; }
}

body.template-no-header-logo #site-logo { display: none; }

body.template-no-header #header { display: none; }
@media(max-width: 767px){
	body.template-no-header #content { margin-top: 0; }
}



/*=================================================
// THRIVE
*/

@media only screen and (max-width: 774px){
	.thrv_table {
		overflow: visible;
	}
}

.thrive-full {
	box-shadow: 1000px 0px 0px 0px #7BC542,
				-1000px 0px 0px 0px #7BC542;
	line-height: 1.3!important;
}

@media only screen and (max-width: 1080px){
	.thrive-full {
		position: relative;
		left: -31px;
		width: calc(100% + 62px);
		padding-left: 30px;
		padding-right: 30px;
		box-sizing: border-box;
	}
}



/*=================================================
// SPECIAL HEADER LINKS
*/

#primary-menu .header-button > a {
	display: block;
	background-color: #00B527;
	height: 30px;
	margin: 33px 15px 0;
	line-height: 30px!important;
	border-radius: 4px;
	border: 1px solid #00B527;
	transition: border .25s ease;
}

#primary-menu .header-button > a:hover {
	border-color: #fff;
}

#header.sticky #primary-menu .header-button > a {
	margin-top: 13px;
}

#primary-menu { margin-right: 0; }

#primary-menu .logged-in,
body.logged-in #primary-menu .logged-out,
#mobile-menu .logged-in,
body.logged-in #mobile-menu .logged-out { display: none; }
body.logged-in #primary-menu .logged-in { display: inline-block; }
body.logged-in #mobile-menu .logged-in { display: list-item; }

#primary-menu > ul.menu > li > a { padding: 0 15px; }



/*=================================================
// COURSE GRID
*/

.ld_course_grid .price { display: none; }

#ld_course_list .ld_course_grid:nth-child(odd){ clear: left; }



/*=================================================
// MODAL
*/

.modal-overlay {
	z-index: 2000;
	background: rgba(0,0,0,.75);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	cursor: pointer;
	display: none;
}

.modal {
	background-color: #fff;
	border-radius: 10px;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 650px;
	margin-left: -325px;
	transform: translateY(-50%);
	padding: 60px 30px;
	box-sizing: border-box;
	text-align: center;
	cursor: default;
}

.modal h3 {
	color: #333;
	font-size: 28px;
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	line-height: 1.5;
	margin-bottom: 40px;
}

.modal .modal-close {
	background-color: #ccc;
	border-radius: 50px;
	height: 22px;
	width: 22px;
	transition: background .25s ease;
	position: absolute;
	top: 15px;
	right: 15px;
	cursor: pointer;
}
.modal .modal-close:hover {
	background-color: #aaa;
}
.modal .modal-close:before {
	line-height: 22px;
	font-size: 12px;
}

.modal input[type=email],
.modal input[type=password] {
	display: block;
	border: 2px solid #ddd;
	margin-bottom: 10px;
	padding: 18px 10px;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	width: 100%;
	border-radius: 4px;
}

.modal button {
	background-color: #6E9D43;
	border-radius: 4px;
	display: block;
	padding: 15px;
	text-transform: uppercase;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	text-shadow: #353739 0px 1px 0px;
	text-align: center;
	font-family: "Tahoma","Geneva","sans-serif";
	border: 2px solid #666;
	transition: opacity .25s ease;
	text-decoration: none;
	width: 100%;
	cursor: pointer;
}
.modal button:hover {
	opacity: .95;
	text-decoration: none;
}



/*=================================================
// THRIVE OVERRIDES
*/
#tve_two_set .tve-leads-lightbox.tve_two_set_v6 .tve_p_lb_content .thrv_lead_generation.thrv_lead_generation_vertical input[type='password'] {
	margin-bottom: 10px;
}
#tve_two_set .thrv_lead_generation.thrv_lead_generation_vertical input[type="password"] {
	padding: 18px 10px !important;
	margin-bottom: 15px;
}
#tve_two_set .thrv_lead_generation input[type="password"] {
	font-family: 'Open Sans',sans-serif;
    border-radius: 0;
    border: 2px solid #ddd;
    background: #fcfcfc;
    color: #666;
    font-size: 19px;
    font-weight: 400;
    height: auto;
    line-height: 27px;
    margin-top: 0;
    padding: 16px 10px !important;
}



/*=================================================
// CANCEL FORM
*/

.ldo-cancel-form {
	display: block;
	margin: 40px 0;
	opacity: 1;
	transition: opacity .3s;
}
.ldo-cancel-form:first-child { margin-top: 0; }
.ldo-cancel-form:last-child { margin-bottom: 0; }
.ldo-cancel-form.is-processing { opacity: .5; }

.ldo-cancel-form label {
	font-weight: bold;
	font-size: 13px;
	display: block;
}

.ldo-cancel-form label.is-required:after {
	content: '*';
	color: red;
	margin-left: 3px;
}

.ldo-cancel-form fieldset + fieldset {
	margin-top: 20px;
}

.ldo-cancel-form .error {
	color: red;
}