.main_form {
	position:absolute;
	left:0;
	top:118px;
	width:394px;
	background:#fff;
	padding:0 25px 0 25px;	
}
.request-form-wrap {
	position:relative;
	min-height:733px;
}
.tabs {
	width: 100%;	
}
.tab_buttons {
    height: 72px;
    width: 100%;
    border-bottom: 3px solid #f1f2f2;
    width: 340px;
    padding-bottom: 0;	
}
#tab3 .tab_form {
    max-height: 865px;
    overflow-x: hidden;
    overflow-y: auto;
}
.tab_buttons ul li {
	float:left;
	height:72px;
	line-height:72px;
	text-align:center;
	width:33.3333%;
	position:relative;
}
body .pac-item1 {
	color:#000;
	padding:0 10px;
	font-size:14px;
	border-color:#000;
	font-family:Arial,sans-serif;
}
body .pac-container1 {
	box-shadow: 0 2px 10px rgba(0,0,0,0.85);	
}
.tab_buttons ul li:before {
	position:absolute;
	background:#a00026;
	height:3px;
	width:100%;
	left:0;
	bottom:0;
	z-index:99;
	display:none;
	content:'';
}
.tab_buttons ul li.actor:before {
	display:block;	
}
.tab_buttons ul li a {
	cursor:pointer;
	display:block;
	position:relative;
	width:100%;
	font-weight:600;
	text-transform:uppercase;
	color:#000;
	padding:0;
	margin:0;	
}
.tab_buttons ul {
	padding:0;
	margin:0;
	list-style:none;
}
.tab_form ul {
	list-style:none;
	padding:0;
	margin:0;
}
.tab_form ul li {
	display:block;
	margin:0 0 15px 0;
	clear:both;
}
.tab_form ul li.email_left {
	float:left;
	width:50%;
	padding-right:10px;
	clear:none;
}
.tab_form ul li.phone_number {
	float:left;
	width:50%;
	padding-left:10px;
	clear:none;
}
.tab_form ul li input, .tab_form ul li .input-group .form-control {
	display:block;
	width:100%;
	border:none;
	border-radius:0;
	background:#f1f2f2;
	float:none;
	padding:0 15px;
	font-size:14px;
	color:#000;
	height:45px;
	line-height:45px;
}
.tab_form ul li .input-group {
	display:block;
}
.tab_form ul li label {
	display:inline-block;
	float:left;
	margin:0 30px 0 0;
	position:relative;
	cursor:pointer;
}
.tab_form ul li.arrived span:before {
	content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 1px;
    background-color: #eee;
    border: 1px solid #3e3e3e;
    border-radius: 50%;		
}
.tab_form ul li.arrived label input[type=radio]:checked + span:before {
	content: "";
    border: 0;
    box-shadow: inset 0 0 0 5px #3e3e3e;
    background: #fff;
    top: 2px;	
}
.tab_form .form-group {
	position:relative;
	margin-bottom:0;
}
.tab_form .form-group .input-group-addon .glyphicon {
	top:0;
	height:45px;
	width:45px;
	position:absolute;
	right:0;
	top:0;
	font-size:18px;
	text-align:center;
	line-height:45px;
}
.tab_form .input-group-addon {
	cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
	z-index:10;
    height:45px;
	background:transparent;
	border-radius:0;
	padding:0;
	border:none;
	width:100%;
}
.tab_form ul li input[type="number"] {
	display:block;
	width:120px;	
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}
.tab_form ul li label input[type="radio"] {
	opacity:0;
	display:block;
	width:14px;
	border:none;
	padding:0 10px;
	font-size:14px;
	color:#000;
	height:14px;
	line-height:0;
	position:absolute;
	left:0;
	top:2px;	
}
.tab_form ul li.arrived span {
	font-size:14px;
	color:#000;
	position:relative;
	display:inline-block;
	padding-left:21px;
}
.tab_form ul li textarea {
	display:block;
	width:100%;
	border:none;
	padding:15px;
	font: 14px/20px Arial,sans-serif;
	resize:none;
	background:#f1f2f2;
	color:#000;
	height:64px;
}
.tab_form ul li:last-child {
	margin-bottom:20px;
}
.tab_form input[type="submit"] {
	display:inline-block;
	padding:0 25px;
	height:45px;
	line-height:45px;
	border-radius:0;
	background:#a00026;
	color:#fff;
	text-transform:uppercase;
	font-weight:600;
	border:none;
	outline:none;
	cursor:pointer;
	border:1px solid #a00026;
	transition:0.25s;
	-webkit-transition:0.25s;	
}
.tab_form input[type="submit"]:hover {
	background:none;
	border-color:#a00026;
	color:#a00026;
}
.tab_form ul li.phone_number input[type="number"] {
	width:100%;
}
.tab_form ul li label:last-child {
	margin:0;
}
.tab_form {
	padding:20px 0;
}
.cloned_depar {
	width:100%;
	display:none;
	padding:15px;
	border:1px solid #bfbfbf;
	margin-bottom:15px;
}
.first_depar {
	display:block;
}
.newforms {
	padding:30px 15px 15px 15px;	
}

.add_leg:hover {
	background:none;
	color:#3e3e3e;
}
.tab_form .cloned_depar ul li:last-child {
	margin-bottom:0;
}	
.tab_box span.wpcf7-not-valid-tip {
	font-size:13px;
	margin-top:4px;	
}
.tab_form div.wpcf7-validation-errors {
	border-color:#f00;
	background:#f00;
	text-align:center;
	color:#fff;
	font-size:14px;
	margin:20px 0 0 0;
}
/*begin sidebar form*/
.sidebar .main_form {
	position:static;
	width:auto;
box-shadow:0 0 10px rgba(0,0,0,0.5);
}
.sidebar .tab_buttons {
	width:100%;
}
.sidebar .tab_buttons ul li {
	margin:0;
}
.sidebar .tab_buttons ul li:last-child {
	margin:0;
}
.sidebar {
		margin-top:30px;
		margin-bottom:30px;
	}
/*end sidebar form*/
.tab_form div.wpcf7-mail-sent-ok {
	border-color:#000;
	background:#000;
	text-align:center;
	color:#fff;
	font-size:14px;
	margin:20px 0 0 0;
}
.buttonadd {
	overflow: hidden;
    width: 100%;
}
.add_leg {
	display: block;
     width:100%;
    height: 34px;
    line-height: 31px;
    cursor: pointer;
    text-align: center;
    text-transform: capitalize;
    background: #3e3e3e;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #3e3e3e;
    outline: none;
    transition: 0.15s;
    -webkit-transition: 0.15s;
    margin-bottom: 15px;	
}
.tab_form br {
	display:none;
}
.delete_leg:hover {
	background:#a00026;	
}
.delete_block {
	height: 25px;
    width: auto;
    line-height: 23px;
    padding: 0 10px;
    cursor: pointer;
	position:absolute;
	right:0;
	top:0;
    text-align: center;
    text-transform: capitalize;
    background: #3e3e3e;
    color: #fff;
    border: 1px solid #3e3e3e;
    outline: none;
	display:none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.15s;
    -webkit-transition: 0.15s;
}
.buttonsleg {
	overflow:hidden;
	width:100%;
}
.delete_leg {
	height:34px;
    width: auto;
    line-height:31px;
    padding: 0 10px;
    cursor: pointer;
	float:left;
    text-align: center;
    text-transform: capitalize;
    background: #3e3e3e;
    color: #fff;
    border: 1px solid #3e3e3e;
    outline: none;
	display:none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.15s;
    -webkit-transition: 0.15s;
}
.delete_block:hover {
	background:none;
	color:#3e3e3e;
}
.add_leg.youleft {
	float: right;
    padding: 0 20px;
    width: auto;	
}

@media only screen and (max-width:760px){
.sidebar .main_form {
		margin:30px 0;
	}
.promo-slider .item {
background:#486F90;
background-repeat:no-repeat;
background-size:contain;
}
#tab3 .tab_form {
    overflow-y: inherit;
    overflow-x: inherit;
max-height: inherit;
}
.tab_buttons {
width:100%;
}
.request-form-wrap {
    min-height: auto;
}
.main_form {
position: static;
    transform: none;
    -webkit-transform: none;
    width: 100%;
    background: #fff;
    overflow: hidden;
}	
.sidebar {
width:100%;
}
}

@media only screen and (max-width:568px){
	.tab_buttons {
		width:100%;
	}
	.main_form {
		position:static;
		transform:none;
		-webkit-transform:none;
		width:100%;
		background:#fff;
	}
	.tab_form ul li.email_left, .tab_form ul li.phone_number {
		float:none;
		width:100%;
		padding:0;
	}
	.request-form-wrap {
		min-height:725px;
	}
    .request-form{
        width:100%
    }
}
@media only screen and (max-width:520px){
	.tab_buttons ul li {
		float:none;
		width:100%;
		padding:15px 0;
		height:auto;
		line-height:1;
	}
	.tab_buttons {
		border-bottom:none;
		height:auto;
	}
}
@media only screen and (max-width:400px){
	.tab_buttons ul li span {
		margin-left:18px;
	}
	.tab_buttons ul li:last-child {
		margin:0;
	}
}