body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
table { border-collapse:collapse; border-spacing:0; }
fieldset,img { border:0; }
address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
ol,ul { list-style:none; }
caption,th { text-align:left; }
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
q:before,q:after { content:''; }
abbr,acronym { border:0; }

body {
  background: #f0f0f0;
  color: #333;
  font-family: Lucida Grande, Tahoma, Verdana, Arial, Helvetica, sans-serif;     	
  /*text-align: center;*/
}

/* links  */

a {
  color: #7C90A1;
  text-decoration: underline;
}
a:hover { color: #234466; }

/* headings */

h1 {font-size:2em}  /* displayed at 24px */
h2 {font-size:1.5em}  /* displayed at 18px */
h3 {font-size:1.25em}  /* displayed at 15px */
h4 {font-size:1em}  /* displayed at 12px */

/* strong em */
strong { font-weight: bolder; }
em { font-style: italic; }

/* tables & forms */

input, select, th, td {font-size:1em}

/* classes */

#ftext { 
    font-size: 13px;
    line-height: 20px;
    float: left;
    position: absolute;
    right: 96px;
    text-align: center;
    top: 39px;
    width: 315px;
    height: 257px;
}

#slideshow {
    width: 407px;
    height: 290px;
    position: relative;
}

#slideshow p{
    font-size: 12px;
}

#slideshow img{
    margin-bottom: 10px;
}

#ftext .ftext{
    /*position: absolute;*/
    display: none;
}

#slideshow div{
    position: absolute;
    display: none;
}
    
#ftext .ftext.active, #slideshow div.active{
    display: block;
}
    
.error { color: red; }

/* page structure & layout */
#top_bar {
    background: url(./images/topbar.jpg) repeat-x;
    height: 27px;
}

#page {
  background: #fff;
  margin: 0 auto;
  text-align: left;
  width: 940px;
  background: url(./images/headgradient.png) repeat-x #fff;
  
}      

#header {	
  height: 202px;
  position: relative;
}

#logo,
#title {
    position: absolute;    
}

#logo{
    right: 34px;
    top: 15px;
}

#title {
    left: 39px;
    top: 32px;
}

#nav {
    bottom: 0;
    position: absolute;
    left: 39px;	
    box-shadow: 0 0 17px #DFDFDF;/* Каноническое задание */
    -webkit-box-shadow: 0 0 17px #DFDFDF; /* Safari, Chrome */
    -moz-box-shadow: 0 0 17px #DFDFDF; /* Firefox */    
}

#content {
    float: left;
    font-size: 14px;
    line-height: 1.5em;
    padding: 39px;
    position: relative;
}

#footer {
    background: url(./images/footer_shadow.png) no-repeat top center #fff;
    clear: both;
    padding: 66px 39px 15px 39px;
}
.clr {
    clear: both;
}
#bottom_line {
    background: url(./images/bottomline.jpg) no-repeat bottom center;
    height: 10px;
    margin-bottom: 25px;
}

/* header */
/* navigation */

#nav ul {
  display: inline;
}

#nav li {
  display: block;
  float: left;
  list-style: none;
}

#nav li a {
    font-size: 15px;
    background: #fff;
    color: #5d3819;
    display: block;
    margin: 0 1px 0 1px;
    line-height: 1.6em;
    padding: 9px 16px 9px 17px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #cccccc;
    margin: 0 -1px;
    text-transform: uppercase;
}

#nav li.first a {
    padding: 9px 18px 9px 18px;
}

#nav li a:hover,
#nav li a.current { background: #eeead7; }

/* content */

#content h2 {
  color: #76aac9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: normal;
  letter-spacing: -1px;
  padding: 0 0 17px 0;
}
#content h2 a {
  color: #76aac9;
  text-decoration: none;
}
#content h2 a:hover {
  color: #7C90A1;
}

#content h3, #content h4 {
  font-weight: bold;
  padding-bottom : 10px;
}

#content p {
  line-height: 1.5em;
  margin: 0 0 20px 0;
}
#content ol {
  line-height: 1.8em;
  margin: 0 30px 20px 50px;
}
#content ul {
  line-height: 1.8em;
  margin: 0 30px 20px 30px;
}
#content ul li {
  line-height: 1.8em;
  list-style: square;
  padding-left: 2px;
}

/* footer */

#footer p {
    color: #5d381b;
    line-height: 1.5em;
    font-size: 12px;
    margin-bottom: 6px;
}
#footer a {
    font-size: 12px;
    color: #5d381b;
    text-decoration: none;
}
#footer a:hover {
    text-decoration: underline;
}

/* misc */

a img { border: none; }
acronym { cursor: help; }
blockquote {
  background: url(quote.gif) no-repeat 10px 0;
  color: #76aac9;
  border-left: 2px solid #76aac9;
  line-height: 1.5em;
  margin: 0 10px 20px 10px;	
  padding: 0 10px 0 10px;
}
hr, .hide { display: none; }
.show { display: inline; }

pre, code { font-size: 1.1em; line-height: normal; background: #eee; color: #444; }

/* classes */
.column {
    float: left;
    width: 410px;
    
}

.column_wide {
    float: left;
    width: 452px;
    
}



.right {
    margin-left: 21px;
}
.left{
    margin-right: 21px;
}

.right, .left {
    
}
/*
.right, .left {
  background: #fff;
  border: 1px solid #e3e7e8;
  float: left;
  margin: .5em 12px 6px 0;
  padding: 6px;
}
.right {
  float: right;
  margin: .5em 0  6px 12px;
}
.left {
  float: left;
  margin: .5em 12px 6px 0;
}

*/
/* comment */
.comment-form-body {
 /* width: 450px;*/
}
/** map **/
#map_box{
    float: left;
    width: 863px;
    height: 347px;
    border: 1px solid #ccc;
    position: relative;
    font-size: 12px;
    line-height: 19px;
    
    
}
#map_box .locations{ 
    float: left;
}

#map_box .location{ 
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-top: -1px;
    height: 86px;
    width: 306px;
    text-align: center;
    vertical-align: center;
    
    
}

#map_box .location .inner{ 
    margin: 23px;
    text-align: left;

}

div.location:hover{ 
    background: #f0f0f0;
    cursor: pointer;    
}

#map_box #mapgoogle{ 
    width: 548px; 
    height: 339px;
    float: right;
    border: 4px solid #ccc;
    border-left: 5px solid #ccc;
}

#map_box .g_map{ 
    width: 548px; 
    height: 339px;
    right:0;
    border: 4px solid #ccc;
    border-left: 5px solid #ccc;
    position: absolute;
   /* display: none;*/
}

#map_box .g_map.active{ 
    display: block;
}


.oculoplastic {
    width: 355px;
    float: left;
    
}
.oculoplastic_img {
    /*clear: both;*/
    float: right;
    margin-top: 35px;
    margin-left: 17px;
}
