@import url('https://fonts.googleapis.com/css?family=Roboto:300,700&amp;display=swap');

.img-res{
	max-width: 100%;
	height:auto;
}
.mobile{
	display:none;
}
#sidebar {
	float: none;
	display: block;
}
#content {
    float: none;
}
select{
	margin-left:0px !important;
}
body.type-3 .select-holder{
	margin-left: 20px !important;
	margin:0px;
}
body.type-3 .field{
	margin-left: 32px;
}
@media (max-width: 320px){
	.ty .post{
		padding: 0 20px;
	}
	.click-here{
		float:left;
	}
	.video-text{
		font-size: 18px !important;
	}
}
@media (min-width: 321px) and (max-width: 480px){
	.click-here{
		float:left;
		margin-left: 41px;
	}
}
@media (max-width: 407px){
	.mobile{
		display: block;
	}
	.desktop{
		display:none;
	}
	select, .steps .submit-button, .steps .send{
		width: 100%;
	}
	.blog-v4 #copyrights{
		line-height: 20px;
	}
	.item{
		text-align: center;
	}
	.steps .field{
		width: 100%;
	}
	.infusion-field{
		text-align:center;
	}
	body.type-3 .field{
		margin-left: 0px;
	}
}
@media (min-width: 408px) and (max-width: 767px){
	.mobile{
		display: block;
	}
	.desktop{
		display:none;
	}
	.select-wrap{
		text-align: center;
	}
	.steps .submit-button{
		width: 350px;
	}
	.blog-v4 #copyrights{
		line-height: 20px;
	}
	.item{
		text-align: center;
	}
	.infusion-field{
		text-align:center;
	}
	body.type-3 .field{
		margin-left: 0px;
	}
}
@media (min-width: 768px) and (max-width: 1279px){
	select{
		width: 100%;
	}
	.steps .submit-button{
		width: 350px;
	}
	.blog-v4 #copyrights{
		line-height: 10px;
	}
	.blog-v4.ty #copyrights{
		line-height: 24px;
	}
	.infusion-field{
		text-align:center;
	}
	body.type-3 .field{
		margin-left: 0px;
	}
	.steps .field{
		width: 100%;
	}
}
body.type-3 #sidebar .item {text-align:right;}
body.type-3 .mobile #sidebar .item {text-align:center;}
body.type-3 .submit-button {margin-top:10px !important;}
.select-holder .select-wrap select{margin:0px;}

body > .container > .row {
	display: none;
}

.ti-container {
	position: relative;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	margin: 0px 0px 0px 0px;
	padding: 0 10px;
	float: left;
	width: 100%;
	background: url(../jpg/ti_bg.jpg) no-repeat 0 200px;
	background-size: cover;
	background-color: #FFFFFF;
	z-index: 10;
	background-position: inherit;
}

.ti-form-container {
	max-width: 620px;
	margin: 200px 0px 232px 0px;
	background: #FFFFFF;
	padding: 60px 60px 50px 60px;
	box-shadow: 0px 0px 13px 6px rgba(0, 0, 0, .2);
	float: right;
	display: block;
	position: relative;
	box-sizing: border-box;
	width: 100%;
}

.ti-form-container .validation_error {
	display: none;
}

.ti-logo {
	background: url(../png/ti_logo.png) no-repeat;
	height: 85px;
	width: 162px;
	display: block;
	margin: 35px auto 35px auto;
	background-size: cover;
}

.ti-head {
	color: #04273C;
	font-family: Roboto, 'Lato', arial;
	font-size: 60px;
	font-weight: bold;
	width: 100%;
	line-height: 60px;
	padding-right: 20%;
	background: url(../svg/rachaelraybadge.svg) no-repeat top right;
}

.ti-head h1 {
	font-size: inherit;
}

.ti-sub-head {
	font-size: 36px;
	font-weight: 100;
	width: 85%;
	line-height: 42px;
}

.ti-bold {
	font-weight: bold;
}

.ti-form-container input:not([type='submit']) {
	border: 0px solid transparent;
	border-bottom: 4px solid #04273C;
	border-radius: 0px;
	padding-bottom: 5px !important;
	padding-right: 0px;
	padding-left: 10px;
	font-family: Roboto, 'Lato', arial;
	color: #04273C;
	width: 100%;
	margin-left: 0px;
}

.gform_wrapper ul.gform_fields li.gfield {
	padding-right: 0px;
}


#field_1_8 {
	display: none;
}

.ti-form-container .infusion-form .infusion-submit .send {
	background: #FF3146 !important;
	color: #FFFFFF;
	font-size: 24px;
	font-family: Roboto, 'Lato', arial;
	font-weight: bold;
	border-radius: 0px;
	padding: 16px 0px;
	width: 100%;
	max-width: 400px;
	margin: 25px auto 0px auto;
	letter-spacing: 1px;
	border-radius: 4px;
	display: block;
}

.gform_wrapper .gform_footer {
	max-width: 400px;
	margin: 0 auto;
}

.ti-value-props {
	padding: 50px 0px;
	background: #58BCC4;
	float: left;
	width: 100%;
}

.ti-form-container:before {
	content: "";
	background: url(../jpg/ti_matt.jpg) no-repeat;
	height: 165px;
	width: 165px;
	display: block;
	background-size: contain;
	border: 2px solid #FFFFFF;
	border-radius: 50%;
	position: absolute;
	top: -85px;
	left: calc(50% - 80px);
}

.ti-inner-container {
	margin: 0 auto;
	display: block;
	height: auto;
	max-width: 1240px;
}

.ti-award.cosmo {
	background: url(../png/ti_media_logos.png) no-repeat -15px 0;
	background-size: 261px 304px;
	width: 231px;
	height: 42px;
	display: inline-block;
}

.ti-award.today {
	background: url(../png/ti_media_logos.png) no-repeat -73px -80px;
	background-size: 261px 304px;
	width: 116px;
	height: 87px;
	display: inline-block;
}

.ti-award.rachael {
	background: url(../png/ti_media_logos.png) no-repeat 0 -208px;
	background-size: 261px 304px;
	width: 253px;
	height: 28px;
	display: inline-block;
}

.ti-award.match {
	background: url(../png/ti_media_logos.png) no-repeat -30px -275px;
	background-size: 261px 304px;
	width: 201px;
	height: 29px;
	display: inline-block;
}

.ti-award:not(:last-child) {
	margin: 0px 7% 0px 0px;
}

.ti-award {
	vertical-align: middle;
}

.ti-value-props-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ti-form-container .infusion-form:before {
	content: "Enter your name and email below to get your instant access on the next page…";
	margin: 38px auto 0px auto;
	position: relative;
	display: block;
	font-weight: 100;
	box-sizing: border-box;
	text-align: center;
	font-family: Roboto, 'Lato', arial;
	font-size: 24px;
	line-height: 30px;
}

.gform_wrapper li.gfield.gfield_error{
	background-color: transparent;
	border-top: 0px solid transparent;
	border-bottom: 0px solid transparent;
}

.gform_wrapper .validation_message {
	color: #FF3146;
	font-weight: bold;
	letter-spacing: normal;
	font-size: 14px;
	font-family: Roboto, 'Lato', arial;
	padding: 8px 0px 0px 10px !important;
}

.gform_wrapper .validation_message:before {
	content: "*";
}

.ti-form-container .infusion-form.error input{
	background: rgba(255, 49, 70, .16);
	margin-bottom: 0px !important;
}

.thrv_wrapper span {
	font-family: Roboto, 'Lato', arial !important;
}

.ti-form-container :focus {
	outline: -webkit-focus-ring-color auto 0px !important;
}

.gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
	max-width: none !important;
}

.ti-form-container .infusion-field input::placeholder {
	color: #04273C;
}

/*subheader margin*/
.ti-sub-head {
	margin: 20px 0 0;
}

/*form text color*/
.ti-form-container .infusion-form:before {
	color: #04273C;
}

/*moved form down because of the margin on the subheader*/
.ti-form-container {
	margin: 100px 0px 232px 0px;
}

/*Margin between input fields*/
.ti-form-container input:not([type='submit']) {
	margin-top: 45px;
}


/*Big tablet*/
@media (max-width: 1200px) and (min-width: 1025px) {
	.ti-container {
		background-position: -90px calc(100% + 100px);
	}
}

@media(max-width: 1185px){
	.ti-form-container {
		margin: 220px 0px 232px 0px;
	}
}

/*Small Tablet*/
@media (max-width: 1024px) and (min-width: 768px) {
	.ti-container {
		background-size: 1020px;
		background-position: 0 calc(100% - 420px);
	}
}
@media (max-width: 1024px){
	.ti-inner-container {
		width: 80%;
	}

	.ti-sub-head {
		margin: 0 auto;
	}

	.ti-head {
		width: 100%;
		position: relative;
		text-align: center;
		display: block;
		padding-right: 0;
		padding-bottom: 200px;
		background-position: bottom right;
		background-size: 180px;
	}

	.ti-form-container {
		margin: 100px auto 35px auto;
		float: unset;
	}

	.ti-value-props-container {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		align-content: center;
	}

	.ti-value-props-container .ti-award {
		margin: 10px 0px 10px 0px;
	}
	.ti-container {
		background: url(../png/ti_bg_mobile.png) no-repeat 0 200px;
		background-size: 100%;
		background-position-y: 75%;
	}
	.ti-value-props-container .ti-award:not(:first-child):not(:last-child) {
		margin: 20px 0px 20px 0px;
	}
	.ti-value-props {
		margin: 0 0 20px 0;
	}
	.blog-v4 #copyrights {
		line-height: 25px;
		padding-bottom: 15px;
	}
}
@media (max-width: 767px){
	.ti-container {
		background: url(../png/ti_bg_mobile.png) no-repeat 100% 100%;
		background-size: 120%;
		background-position-y: 40%;
	}

	.ti-head {
		text-align: left;
		font-size: 24px;
		line-height: 28px;
		padding-bottom: 135px;
		background-size: 120px;
	}

	.ti-sub-head {
		font-size: 18px;
		width: 100%;
		line-height: normal;
		margin: 10px 0px 0px 0px;
	}

	.ti-form-container:before {
		height: 83px;
		width: 83px;
	}

	.ti-inner-container {
		width: 100%;
	}

	.ti-logo {
		height: 51px;
		width: 81px;
		background-size: contain;
		margin: 25px auto 25px auto;
	}

	.ti-form-container:before {
		top: -46px;
		left: calc(50% - 43px);
	}

	.ti-form-container {
		padding: 30px 10px 10px 10px;
	}

	.ti-form-container .infusion-form:before {
		margin: 10px auto 0px auto;
		box-sizing: border-box;
		width: 100%;
		font-size: 14px;
		line-height: 20px;
	}

	.ti-form-container .infusion-form .infusion-submit .send{
		margin: 15px auto 30px auto;
		font-size: 18px;
		border: 0px solid transparent;
	}
	.ti-form-container #gform_fields_1 input {
		margin-bottom: 0px !important;
	}
	/*mobile fixing the margin I changed for desktop*/
	.ti-form-container input:not([type='submit']){
		margin-top:20px;
	}
}
