@charset "utf-8";
/* CSS Document */

#contacts h3{
  display: block;
	padding: 30px 0 50px;
	margin: 0 0 30px;
	text-align: center;
	font-size: 125%;/*20px*/
	font-weight: 500;
	line-height: 1.75;
	background: url(../img/global/ornament.png) no-repeat center bottom;
	background-size: 90px;
	color: #425760;}
#contacts #contact-container {
	display: block;
	width: 100%;
	max-width: 1366px;
	padding: 0 0 150px;
	margin: 0 auto;
	background-color: #fff;
	text-align: center;
	color: #425760;
	line-height: 1.75;
	font-size: 100%;
}
#contacts .contact-container {
	display: inline-block;
	width: 100%;
	margin: 0 auto;
	padding: 30px;
	text-align: center;
	background-color: #fbfaf3;
}
#contacts .confirm-container {
	display: inline-block;
	width: 100%;
	margin: 0 auto;
	padding: 10px 30px;
	text-align: center;
	background-color: #fbfaf3;
}

#contacts .formTable {
	margin:0 0 50px;
	width: 100%;
	table-layout: fixed;
	word-break: break-all;
	word-wrap: break-all;
}

table.formTable{
	width: 100%;
	margin: 0 auto;
	border-spacing: 0;
	border-collapse: collapse;
	border:0;
	cellpadding:0;
	cellspacing:1;
}
table.formTable tr {
		  border-bottom: 1px #fff solid;
}
table.formTable tr:last-child {
  border-bottom: none;  
}
table.formTable th{
	width: 30%;
  border-right: 1px #fff solid;
  padding: 30px 50px;
	color: #fff;
  text-align: left;
  vertical-align: middle;
  background: #007f89;
}
table.formTable td{
	border: 1px solid #ccc;
	padding: 30px 10px;
  text-align: left;
  background: #f7f7f7;
}
table.formTable input[type=text] {
    font: 15px/24px sans-serif;
    box-sizing: border-box;
    width: 100%;
    margin: 8px 0;
    padding: 1.2em;
    transition: 0.3s;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}
table.formTable input[type=tel] {
    font: 15px/24px sans-serif;
    box-sizing: border-box;
    width: 100%;
    margin: 8px 0;
    padding: 1.2em;
    transition: 0.3s;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}
textarea {
    font: 15px/24px sans-serif;
    box-sizing: border-box;
    width: 100%;
	  height: auto;
    margin: 8px 0;
    padding: 1.2em;
    transition: 0.3s;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

input#submit_button {
	position: relative;
	display: block;
	width: 100%;
	max-width: 350px;
	height: 70px;
	line-height: 1.2;
	font-size: 112.5%;/*18px*/
	margin: 10px auto;
	padding: 10px 0;
	color: #fff;
	border-radius: 8px;
	background-color: #007f89;
	border: none;
}
#submit_button:hover{
	background-color: #41a8b0;
}
input#history_back_button {
	position: relative;
	display: block;
	width: 100%;
	max-width: 350px;
	height: 70px;
	line-height: 1.2;
	font-size: 112.5%;/*18px*/
	margin: 10px auto;
	padding: 10px 0;
	color: #fff;
	border-radius: 8px;
	background-color: #007f89;
	border: none;
}
#history_back_button:hover{
	background-color: #41a8b0;
}
.confirm-text {
	margin: 30px auto
}

/* thanks */
.thanks {
	margin: 30px auto;
	padding: 20px 30px 50px;
	text-align: center;
}


/*--media---------------------------------------------*/
@media screen and (min-width: 0px) and (max-width: 768px) {
#contacts .contact-container {
	padding: 0 10px 10px;
}
table.formTable th{
	display: block;
	width: 100%;
	text-align: left;
}
table.formTable td{
	display: block;
  width: 100%;
	padding: 30px 20px;
	border: none;
}
table.formTable input[type=text] {
    border: none;
}
table.formTable input[type=tel] {
    border: none;
}
textarea {
    border: none;
}
#contacts .formTable_second tr:nth-child(1) th:nth-child(1) {
	display:none;
}
.thanks {
text-align: left;
}
}