/*
Theme Name: Turnagaindental
Theme URI: http://underscores.me/
Author: Turnagaindental Project Delivery Unit
Author URI: http://turnagaindental.se/
Description: Turnagaindental Development theme
Version: 2.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: turnagaindental
Tags: rtl-language-support

Turnagaindental is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/
.tdent-header__container--init {
	position: relative;
}
.tdent-body--home .insurance-btn {
	margin-left: 0;
    position: absolute;
    top: 110%;
    right: 15px;
    max-width: 310px;
}
#secondary .insurance {
	background-color: #000;
	padding-bottom: 50px;
}
#secondary .insurance h3, #secondary .insurance p {
	color: #fff;
	max-width: 470px;
	margin: auto;
	text-align: center;
}
#secondary .insurance p {
	max-width: 435px;
}
#secondary .tdent-reviews__readmore {
	max-width: 420px;
	margin: auto;
	text-align: center;
}
.tdent-accreditations__item:nth-of-type(7), .tdent-accreditations__item:last-of-type {
	display: block;
	margin: auto;
}
.insurance .row {
	justify-content: center;
	margin-left: 0;
	margin-right: 0;
}
#secondary .insurance .tdent-reviews__readmore {
	margin: initial;
	flex: 0 1 50%;
}
#smile_eval label, #smile_eval .radio-label {
	color: #000;
	margin-top: 20px;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}
#smile_eval .tdent-form__row--flex {
	flex-direction: column;
	width: 100%;
}
#smile_eval .tdent-form__row--flex.name {
	flex-direction: row;
}
#smile_eval .tdent-form__row--flex.name input {
	margin-bottom: 10px;
	width: 98%;
}
#smile_eval .tdent-form__row--flex.name input.tdent-form__input--last {
	width: 100%;
}
#smile_eval .tdent-form__row--flex.name label {
	margin-top: 0;
	font-weight: initial;
}
#smile_eval .tdent-form__row--flex.radio label {
	margin-top: 5px;
	margin-bottom: 5px;
	font-weight: initial;
}
#smile_eval .tdent-form__row--flex.phone input, #smile_eval .tdent-form__row--flex.email input {
	width: 49%;
}
#smile_eval .tdent-form__row--flex. textarea:placeholder {
	color: #333;
}
#smile_eval .tdent-form__row--flex .contact-submit {
	max-width: 350px;
    margin: 25px auto;
}
.tdent-header__block--appointment .eval-btn {
	font-size: 12.5px;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
    display: block;
    padding: 5px;
    color: #fff;
    background-color: #3d738d;
    margin-bottom: 0;
    border: none;
    width: 100%;
    cursor: pointer;
    border-radius: 0;
    -webkit-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
    transition: all linear 0.3s;
}
.tdent-header__block--appointment .eval-btn:hover {
	color: #fff;
    background-color: #7f2345;
    outline: none;
}

/* Join Our Team form styling */
#wpcf7-f24892-p24885-o1 label{
	width: 100% !important;
}
#wpcf7-f24892-p24885-o1 input{
	height: 50px;
	line-height: 50px;
}

#wpcf7-f24892-p24885-o1 input, #wpcf7-f24892-p24885-o1 textarea{
	width: 100% !important;
	max-width: 100%;
	border:0;
	padding: 0px 10px;
	background: #3d738d;
	transition: background-color 0.5s ease;

}
#wpcf7-f24892-p24885-o1 input:hover, #wpcf7-f24892-p24885-o1 textarea:hover{
	background: #fff;
	border: 2px #3d738d solid;
	
}
#wpcf7-f24892-p24885-o1 #resume, #wpcf7-f24892-p24885-o1 #resume:hover{
	background: #fff !important;
	border: 2px #3d738d solid !important;
}
#wpcf7-f24892-p24885-o1 .wpcf7-submit{
	max-width: 300px;
	margin:0 auto;
	background: #fff;
	border: 2px #3d738d solid;
	display: block;
	font-weight: bold;
}

#wpcf7-f24892-p24885-o1 .wpcf7-submit:hover{
	background: #3d738d;
	color: #fff;
}
.tdent-resume__resume {
	max-width: 420px;
	margin: auto;
	text-align: center;
}
.tdent-resume__resume-link {
	display: inline-block;
	background-color: #3d738d;
	color: #fff !important;
	text-transform: uppercase;
	font-family: Lato, Verdana, Tahoma, Helvetica, Ubuntu, sans-serif;
	font-size: 16.67px;
	font-weight: 400;
	letter-spacing: 1.5px;
	padding: 15px 35px 15px 30px;
}

.tdent-resume__resume-image {
	float: left;
	display: block;
	padding: 0 20px 0 0;
	max-width: 90px;
}

.tdent-resume__resume-text {
	display: inline-block;
	float: left;
	line-height: 1.2;
	padding: 11px 0;
}

/* END Join Our Team form styling */

@media screen and (max-width: 1199px) {
	.tdent-accreditations__item:nth-of-type(7), .tdent-accreditations__item:last-of-type {
		margin: 10px auto 0;
	}
	.insurance .row {
		flex-direction: column;
	}
	#secondary .insurance .tdent-reviews__readmore {
		flex: 0 1 100%;
		margin: auto;
	}
}
@media screen and (max-width: 1024px) {
	#smile_eval .tdent-form__row--flex.name input, #smile_eval .tdent-form__row--flex.phone input, #smile_eval .tdent-form__row--flex.email input {
		width: 100%;
	}
}
@media screen and (max-width: 500px) {
	.tdent-body--home .insurance-btn {
		top: 255%;
	    right: 50%;
	    margin-right: -155px;
	}
}
@media screen and (max-width: 410px) {
	.tdent-body--home .insurance-btn {
		top: 208%;
	}
}



/* Form Power */
.pc-form-widget #my_unique_widget_id_field_control_date_of_birth input {
    text-align: center;
}
.pc-form-widget .form-loaded .form-content .form-field .pc-checkbox .pretty {
    text-wrap: wrap;
}
.pc-form-widget .form-button {
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    display: block;
    padding: 20px;
    color: #fff;
    background-color: #3d738d;
    margin-bottom: 0;
    border: none;
    width: 100%;
    cursor: pointer;
    border-radius: 0;
    -webkit-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
    transition: all linear 0.3s;
	max-width: 570px;
	margin: auto
}
.pc-form-widget .form-button:hover {
    color: #fff;
    background-color: #7f2345;
    outline: none;
}
.pc-form-widget .form-captcha div {
    display: block;
    margin: auto;
}
.pc-form-widget #footer_form_form_content label {
	color: #fff;
}
.tdent-body--free-digital-smile-evaluation .pc-form-widget label {
	color: #000;
}
.pc-form-widget .pretty .state label:after, .pretty .state label:before {
    top: calc(-40% + 1em);
}
#contact-section .pc-form-widget .pretty .state label:after, #contact-section .pretty .state label:before {
    top: calc(-108% + 1em);
}
.pc-form-widget .form-loaded .form-content {
    margin: auto;
    max-width: 1200px;
}
.pc-form-widget .form-loaded .form-content input, .pc-form-widget .form-loaded .form-content textarea  {
	background-color: #3d738d;
	border: 0;
	border-radius: 0;
	color: #fff;
    width: 100%; 
	height: 50px;
    line-height: 50px;
	font-size: 16.67px;
    padding: 0 20px;
}
.pc-form-widget .form-loaded .form-content textarea {
	height: 240px;
	min-height: 150px;
}
.pc-form-widget #smile_evaluation_field_control_how_do_you_prefer_we_get_back_to_you {
	width: 100%;
    display: flex;
    flex-direction: row;
}
.tdent-body--free-digital-smile-evaluation .pc-form-widget .form-loaded .form-content .form-field .pc-radios .pc-radio-horizontal {
	display: flex;
	flex-direction: row;
}
.tdent-body--free-digital-smile-evaluation .pc-form-widget .form-loaded .form-content .form-field .pc-radios .pc-radio-horizontal input {
	height: 24px;
	width: 20px;
}
@media screen and (max-width: 1199px) {
    .pc-form-widget .pretty .state label:after, .pretty .state label:before {
        top: calc(-21% + 1em);
    }
    .pc-form-widget #form_field_by_checking_this_box_you_agree_to_the_terms_of_use_detailed_above .pretty .state label:after, .pc-form-widget #form_field_by_checking_this_box_you_agree_to_the_terms_of_use_detailed_above .pretty .state label:before {
        top: calc(-40% + 1em);
    }
    #contact-section .pc-form-widget .pretty .state label:after, #contact-section .pretty .state label:before {
        top: calc(-61% + 1em);
    }
    #contact-section .pc-form-widget #form_field_by_checking_this_box_you_agree_to_the_terms_of_use_detailed_above .pretty .state label:after, #contact-section .pc-form-widget #form_field_by_checking_this_box_you_agree_to_the_terms_of_use_detailed_above .pretty .state label:before {
        top: calc(-108% + 1em);
    }
}
@media screen and (max-width: 1023px) {
    #contact-section .pc-form-widget .form-loaded .form-content .pc-col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #contact-section .pc-form-widget .pretty .state label:after, #contact-section .pretty .state label:before {
        top: calc(-41% + 1em);
    }
}
@media screen and (max-width: 680px) {
    .pc-form-widget .form-loaded .form-content .pc-col-6, .pc-form-widget .form-loaded .form-content .pc-col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}