@import url(reset.css);

/* =body
************************************************************** */

body {
	background: #faf9f0 url(i/bg/bg.gif) repeat;
	font: normal 69% Arial, Helvetica, sans-serif;
	color: #000;
	height: 100%;
}

#wrapper {
	background: url(i/bg/wrapper.png) repeat-x left top;
}

#site {
	position: relative;
	width: 956px;
	margin: 0 auto;
}

h1 {
	position: absolute;
	left: 22px;
	top: 54px;
	width: 240px;
	height: 52px;
	background: url(i/logo.png) no-repeat left top;
	text-indent: -1000em;
}

h1 a {
	position: absolute;
	left: 0;
	top: 0;
	width: 228px;
	height: 80px;
}

/* =masthead
************************************************************** */

#masthead {
	position: relative;
	height: 58px;
	padding-top: 90px;
	padding-right: 5px;
	margin-bottom: 21px;
}

/* =nav
************************************************************** */

#nav {
	float: right;
	list-style: none;
	padding-left: 37px;
	background: url(i/nav/bg.png) no-repeat left top;
}

#nav li {
	float: left;
}

#nav li a {
	display: block;
	float: left;
	height: 35px;
	background-position: left top;
	background-repeat: no-repeat;
	text-indent: -1000em;
}

#nav li a:hover,
#nav li.selected a {
	background-position: left -35px;
}

#nav li.main a {
	width: 141px;
	background-image: url(i/nav/main.png);
}
#nav li.offer a {
	width: 78px;
	background-image: url(i/nav/offer.png);
}
#nav li.about a {
	width: 103px;
	background-image: url(i/nav/about.png);
}
#nav li.questions a {
	width: 119px;
	background-image: url(i/nav/questions.png);
}
#nav li.contact a {
	width: 103px;
	background-image: url(i/nav/contact.png);
}

/* =main
************************************************************** */

#main {
	position: relative;
	background: url(i/main/middle.png) repeat-y center top;
	margin-bottom: 42px;
}

#main:after {
	content: "";
	display: block;
	height: 0;
	overflow: hidden;
	clear: both;
}

/* =content-1st
************************************************************** */

#content-1st {
	float: left;
	width: 721px;
	margin-right: 9px;
}

/* =content-2nd
************************************************************** */

#content-2nd {
	float: left;
	width: 226px;
}

/* =home-box
************************************************************** */

#home-box {
	position: relative;
	height: 213px;
	background: url(i/home-box/bg.jpg) no-repeat left top;
}

#home-box h2 {
	position: absolute;
	top: 26px;
	left: 284px;
	width: 267px;
	height: 37px;
	background: url(i/home-box/h2.png) no-repeat left top;
	text-indent: -1000em;
}

#home-box .content {
	position: absolute;
	top: 83px;
	left: 285px;
	width: 410px;
	height: 117px;
	color: #fff;
	overflow: hidden;
	line-height: 1.8em;
}

#home-box .content a {
	color: #ffb10c;
	font-weight: bold;
}

#home-box .content a:hover {
	text-decoration: underline;
}

#home-box #temida {
	position: absolute;
	top: -38px;
	left: 48px;
	width: 183px;
	height: 250px;
	background: url(i/home-box/temida.png) no-repeat left top;
}

/* =boxes
************************************************************** */

.box {
	position: relative;
	display: block;
	width: 221px;
	height: 103px;
	margin-bottom: 7px;
	background-position: left top;
	background-repeat: no-repeat
}

#form-box {
	background-image: url(i/boxes/form-box.jpg);
}

#form-box .doctor {
	display: block;
	position: absolute;
	top: -9px;
	right: 0px;
	width: 85px;
	height: 112px;
	background: url(i/boxes/doctor.png) no-repeat left top;
}

#contact-box {
	width: 224px;
	background-image: url(i/boxes/contact-box.png);
}

#localization-box {
	background-image: url(i/boxes/localization-box.png);
}

#localization-box .map {
	display: block;
	position: absolute;
	top: 36px;
	right: -14px;
	width: 108px;
	height: 73px;
	background: url(i/boxes/map.png) no-repeat left top;
}


/* =content
************************************************************** */

#content {
	background: url(i/content/bg-top.png) no-repeat left top;
}

#content .inner {
	padding: 0 22px 22px;
	background: url(i/content/bg-bottom.gif) no-repeat left bottom;
}

#content h2 {
	position: relative;
	height: 13px;
	top: -5px;
	left: -11px;
	margin-bottom: 15px;
	background-position: left top;
	background-repeat: no-repeat;
	text-indent: -1000em;
}

.offer #content h2 {
	background-image: url(i/headers/offer.png);
}
.about #content h2 {
	background-image: url(i/headers/about.png);
}
.questions #content h2 {
	background-image: url(i/headers/questions.png);
}
.contact #content h2 {
	background-image: url(i/headers/contact.png);
}

#content p {
	line-height: 1.7em;
}

#content p a:hover {
	text-decoration: underline;
}

.about #content p,
.contact #content .text p {
	margin-bottom: 1.7em;
}

#content p.sign {
	height: 33px;
	background: url(i/common/sign.png) no-repeat right top;
	text-indent: -1000em;
}

#content p.indent {
	text-indent: 36px;
}

#content ul {
	list-style: none;
	margin-left: 19px;
	margin-bottom: 0.7em;
}

#content ul li {
	padding-left: 17px;
	background: url(i/common/li-arr.gif) no-repeat left 7px;
	line-height: 1.6em;
}

#content ol {
	margin-left: 25px;
}

/* =contact
************************************************************** */

.contact #content .inner {
	position: relative;
}

.contact #content .inner:after {
	content: "";
	display: block;
	height: 0;
	overflow: hidden;
	clear: both;
}

.contact #content .text {
	float: left;
	width: 200px;
}

#map-container {
	float: right;
}

#map {
	width: 383px;
	height: 367px;
}

.contact #content .directions {
	position: absolute;
	bottom: 22px;
	left: 21px;
	width: 306px;
	height: 134px;
	background: url(i/contact/box.png) no-repeat left top;
}

.contact #content .directions .fields {
	position: absolute;
	top: 51px;
	left: 20px;
}

.contact #content .directions .fields .cell {
	margin-bottom: 15px;
}

.contact #content .directions .fields .cell label {
	color: #fff;
	margin-right: 12px;
	position: relative;
	top: -1px;
}

.contact #content .directions .fields .cell input {
	width: 109px;
	height: 17px;
	line-height: 17px;
	padding: 1px 7px 0;
	font-size: 11px !important;
	border: 1px #412f24 solid;
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
}

.contact #content .directions .submit {
	position: absolute;
	top: 20px;
	left: 192px;
	width: 36px;
	height: 58px;
	text-indent: -1000em;
}

/* =footer
************************************************************** */

#footer {
	background: url(i/footer/bg.gif) no-repeat right 28px;
	padding: 0 22px 15px;
}

#footer:after {
	content: "";
	display: block;
	height: 0;
	overflow: hidden;
	clear: both;
}

#footer .address {
	float: left;
	background: url(i/footer/par.png) no-repeat left 4px;
	padding-left: 33px;
}

#footer  p {
	line-height: 1.7em;
}

#footer a {
	color: #000;
}

#footer a:hover {
	text-decoration: underline;
}

#footer .notes {
	float: right;
	text-align: right;
}

#copy {
	margin-bottom: 1.7em;
}

/* =grid
************************************************************** */

.grid {
	position: relative;
	margin-bottom: 10px;
}

.grid .cell {
	margin-bottom: 10px;
}

.grid .double-cells {
	margin-bottom: 10px;
}

.grid .double-cells:after {
	content: "";
	display: block;
	height: 0;
	overflow: hidden;
	clear: both;
}

.grid .double-cells .cell {
	float: left;
}

.grid .cell:after {
	content: "";
	display: block;
	height: 0;
	overflow: hidden;
	clear: both;
}

.grid .double-cells .cell:after {
	display: inline;
	clear: none;
}


.grid .cell label {
	float: left;
	width: 78px;
	padding-top: 3px;
}

.grid .cell .fields {
	margin-left: 78px;
}

.grid .double-cells .cell .fields {
	margin-left: 0;
	float: left;
	width: 155px;
}

.grid .cell .fields input {
	width: 109px;
	height: 17px;
	line-height: 17px;
	padding: 1px 7px 0;
	border: 1px #e0dcc3 solid;
	color: #000;
	font-size: 11px !important;
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
}

.grid .cell .fields input.long {
	width: 342px;
}

.grid .cell .fields textarea {
	width: 342px;
	height: 175px;
	line-height: 17px;
	padding: 7px;
	border: 1px #e0dcc3 solid;
	color: #000;
	font-size: 11px !important;
	font-family: Arial, Helvetica, sans-serif !important;
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
}

.grid .cell .error {
	display: none;
	color: #fa1919;
	font-weight: bold;
	font-size: 0.91em;
	padding-top: 2px;
	padding-left: 78px;
	clear: both;
}

.grid .button {
	position: absolute;
	bottom: 11px;
	left: 502px;
	width: 73px;
	height: 67px;
}

.grid .button input {
	border: none;
	padding: 26px 17px;
	background: transparent url(i/buttons/send.png) no-repeat center top;
	color: #000;
	font-size: 14px !important;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
}

.legend {
	background-color: #e2ddc0;
	color: #717171;
	padding: 4px 9px;
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
}

.legend .caption {
	color: #000;
}

/* =buttons
************************************************************** */

.btn {
	
}

.btn:after {
	content: "";
	display: block;
	height: 0;
	overflow: hidden;
	clear: both;
}

/* =general
************************************************************** */

a {
	color: #FFB10C;
	font-weight: bold;
	outline: none;
	text-decoration: none;
}

.semantic {
	display: none;
}

.columns:after {
	content: "";
	display: block;
	height: 0;
	overflow: hidden;
	clear: both;
}

.msg-error,
.msg-ok {
	text-align: center;
	margin-bottom: 20px;
	
}

.msg-error span,
.msg-ok span {
	padding: 5px 9px;
	color: #fff;
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
	font-weight: bold;
}

.msg-error span {
	background-color: #ff0000;
}

.msg-ok span {
	background-color: #00a32a;
}

/* =sizes
************************************************************** */

 .size0 { background: none;}
 .size1 { width: 1%;}   .size2 { width: 2%;}  .size3 { width: 3%;}    .size4 { width: 4%;}
 .size5 { width: 5%;}   .size6 { width: 6%;}  .size7 { width: 7%;}    .size8 { width: 8%;}
 .size9 { width: 9%;}  .size10 { width: 10%;} .size11 { width: 11%;} .size12 { width: 12%;}
.size13 { width: 13%;} .size14 { width: 14%;} .size15 { width: 15%;} .size16 { width: 16%;}
.size17 { width: 17%;} .size18 { width: 18%;} .size19 { width: 19%;} .size20 { width: 20%;}
.size21 { width: 21%;} .size22 { width: 22%;} .size23 { width: 23%;} .size24 { width: 24%;}
.size25 { width: 25%;} .size26 { width: 26%;} .size27 { width: 27%;} .size28 { width: 28%;}
.size29 { width: 29%;} .size30 { width: 30%;} .size31 { width: 31%;} .size32 { width: 32%;}
.size33 { width: 33%;} .size34 { width: 34%;} .size35 { width: 35%;} .size36 { width: 36%;}
.size37 { width: 37%;} .size38 { width: 38%;} .size39 { width: 39%;} .size40 { width: 40%;}
.size41 { width: 41%;} .size42 { width: 42%;} .size43 { width: 43%;} .size44 { width: 44%;}
.size45 { width: 45%;} .size46 { width: 46%;} .size47 { width: 47%;} .size48 { width: 48%;}
.size49 { width: 49%;} .size50 { width: 50%;} .size51 { width: 51%;} .size52 { width: 52%;}
.size53 { width: 53%;} .size54 { width: 54%;} .size55 { width: 55%;} .size56 { width: 56%;}
.size57 { width: 57%;} .size58 { width: 58%;} .size59 { width: 59%;} .size60 { width: 60%;}
.size61 { width: 61%;} .size62 { width: 62%;} .size63 { width: 63%;} .size64 { width: 64%;}
.size65 { width: 65%;} .size66 { width: 66%;} .size67 { width: 67%;} .size68 { width: 68%;}
.size69 { width: 69%;} .size70 { width: 70%;} .size71 { width: 71%;} .size72 { width: 72%;}
.size73 { width: 73%;} .size74 { width: 74%;} .size75 { width: 75%;} .size76 { width: 76%;}
.size77 { width: 77%;} .size78 { width: 78%;} .size79 { width: 79%;} .size80 { width: 80%;}
.size81 { width: 81%;} .size82 { width: 82%;} .size83 { width: 83%;} .size84 { width: 84%;}
.size85 { width: 85%;} .size86 { width: 86%;} .size87 { width: 87%;} .size88 { width: 88%;}
.size89 { width: 89%;} .size90 { width: 90%;} .size91 { width: 91%;} .size92 { width: 92%;}
.size93 { width: 93%;} .size94 { width: 94%;} .size95 { width: 95%;} .size96 { width: 96%;}
.size97 { width: 97%;} .size98 { width: 98%;} .size99 { width: 99%;} .size100 { width: 100%;}


