/* 1. RESET
*******************************************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
:focus {
    outline: 0;
}
body {
    line-height: 1;
    color: black;
    background: white;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}

/* 2. GLOBAL
*******************************************************************************/

body {
    font: 13px/150% Arial, Helvetica, Tahoma, sans-serif;
    color: #606060;
    background: #e3e3e3 url(../img/bg.png) repeat-x 0 0;
}

.clear {
    height: 0;
    line-height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}

/* 2.1 Links
==============================================================================*/

a {
    color: #2288af;
    text-decoration:none;
}

a:hover {
    color: #DE1D58;
}

/* 2.2 Headers
==============================================================================*/

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 100%;
}

h1 {
    font-size: 26px;
    color: #de1d58;
    letter-spacing: -1px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc;
}

h2 {
    font-size: 20px;
    color: #2493be;
}

h3 {
    font-size: 18px;
    color: #606060;
}

h4 {
    font-size: 16px;
}

/* 3. TEMPLATE
*******************************************************************************/

/* 3.1 Header
==============================================================================*/

#wrapper {
    width: 964px;
    margin: 0 auto;
    overflow: hidden;
}

#header {
    height: 434px;
    position: relative;
    color: #fff;
}

#logo {
    width: 225px;
    height: 49px;
    position: absolute;
    top: 27px;
    left: 24px;
    display: block;
    background: url(../img/header/logo.png) no-repeat 0 0;
    text-indent: -9999px;
}

#top-nav {
    position: absolute;
    top: 45px;
    right: 12px;
    text-align: right;
}

#top-nav li {
    margin-right: 15px;
    display: inline;
}

#top-nav a {
    padding: 3px 3px 3px 17px;
    color: #fff;
}

#top-nav a:hover {
    color: #fff7be;
}

#top-nav .home a {
    background: url(../img/header/icons/home.png) no-repeat 0 3px;
}

#top-nav .sitemap a {
    background: url(../img/header/icons/page.png) no-repeat 0 3px;
}

#top-nav .contact a {
    padding-left: 21px !important;
    background: url(../img/header/icons/mail.png) no-repeat 0 5px;
}

#slideshow {
    height: 276px;
    overflow: hidden;
    padding: 3px 3px 0;
    clear: both;
    position: relative;
    top: 106px;
    left: 0;
    background-color: #fff;
}

#slideshow .left-corner,
#slideshow .right-corner {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    background-repeat: no-repeat;
    background-position: 0 0;
}

#slideshow .left-corner {
    left: 0;
    background-image: url(../img/header/left_corner.png);
}

#slideshow .right-corner {
    right: 0;
    background-image: url(../img/header/right_corner.png);
}

#main-nav {
    width: 100%;
    height: 46px;
    position: absolute;
    top: 385px;
    left: 0;
    border-top: 3px solid #fff;
}

#main-nav li {
    display: block;
    float: left;
}

#main-nav a {
    height: 46px;
    display: block;
    text-indent: -9999px;
    background-image: url(../img/header/nav.png);
    background-repeat: no-repeat;
}

#main-nav a:hover {
    background: url(../img/header/nav.png) no-repeat 0 -46px;
}

#main-nav li.home a {
    width: 112px;
    background-position: 0 0;
}

#main-nav li.home a:hover {
    background-position: 0 -46px;
}

#main-nav li.examinations a {
    width: 120px;
    background-position: -112px 0;
}

#main-nav li.examinations a:hover {
    background-position: -112px -46px;
}

#main-nav li.clinics a {
    width: 121px;
    background-position: -232px 0;
}

#main-nav li.clinics a:hover {
    background-position: -232px -46px;
}

#main-nav li.gallery a {
    width: 120px;
    background-position: -353px 0;
}

#main-nav li.gallery a:hover {
    background-position: -353px -46px;
}

#main-nav li.biofeedback a {
    width: 121px;
    background-position: -473px 0;
}

#main-nav li.biofeedback a:hover {
    background-position: -473px -46px;
}

#main-nav li.medical-store a {
    width: 140px;
    background-position: -594px 0;
}

#main-nav li.medical-store a:hover {
    background-position: -594px -46px;
}

#main-nav li.pharmacies a {
    width: 121px;
    background-position: -734px 0;
}

#main-nav li.pharmacies a:hover {
    background-position: -734px -46px;
}

#main-nav li.contact a {
    width: 109px;
    background-position: -855px 0;
}

#main-nav li.contact a:hover {
    background-position: -855px -46px;
}

/* 3.3 Content
==============================================================================*/

#content {
    padding: 25px;
    clear: both;
    overflow: hidden;
    background-color: #fff;
}

#content #main {
    width: 610px;
    float: left;
    text-align: justify;
}

#content #main h1 {
    margin-bottom: 25px;
}

#content #main h2 {
    margin: 25px 0 15px;
}

#content #main h2:first-child {
    margin-top: 0 !important;
}

#content #main h2 a {
    color: #2493be;
}

#content #main h2 a:hover {
    color: #38abd7;
}

#content #main h3,
#content #main h4,
#content #main h5,
#content #main h6 {
    margin: 15px 0 10px;
}

#content #main p,
#content #main ul {
    margin-bottom: 15px;
}

#content #main ul {
    margin-left: 3px;
}

#content #main ul a {
    color: #606060;
}

#content #main ul a:hover {
    color: #909090;
}

#content #main li {
    padding-left: 15px;
    background: url(../img/bullet.png) no-repeat 0 5px;
}

#content #main .entry {
    margin-bottom: 25px;
    overflow: hidden;
}

#content #main .entry .date {
    margin-top: -10px;
    color: #aaa;
}

#content #main .photos li {
    margin: 0 33px 15px 0;
    display: block;
    float: left;
    padding-left: 0 !important;
    background: none !important;
}

#content #main .photos li.last-right {
    margin-right: 0 !important;
}

#content #main .photos li.last-bottom {
    margin-bottom: 0 !important;
}

#content #main .photos li img,
#content #main .home-photo img {
    width: 170px;
    height: 115px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

#content #main .home-photo img {
    margin: 0 0 5px 10px;
    float: right;
}

#content #main .photos img:hover {
    border-color: #6cc2df;
}

#content #main #map {
	width:610px; 
    height:400px; 
}

#content #sidebar {
    width: 270px;
    float: right;
}

#content #sidebar .box {
    margin-bottom: 15px;
}

#content #sidebar .box .content {
    min-height: 94px;
    padding: 10px 19px;
    position: relative;
    background: #f3f3f3 url(../img/sidebar/boxes/content_bg.png) no-repeat 0 100%;
}

#content #sidebar .box .content p:first-child {
    margin-bottom: 10px;
}

#content #sidebar .box .header {
    height: 40px;
    text-indent: -9999px;
    background-repeat: no-repeat;
    background-position: 0 0;
}

#content #sidebar .box .icon {
    display: block;
    position: absolute;
    right: 15px;
    bottom: 15px;
    background-repeat: no-repeat;
    background-position: 0 0;
}

#content #sidebar .box.address .header {
    background-image: url(../img/sidebar/boxes/address/header.png);
}

#content #sidebar .box.address .icon {
    width: 74px;
    height: 59px;
    background-image: url(../img/sidebar/boxes/address/icon.png);
}

#content #sidebar .box.hours .header {
    background-image: url(../img/sidebar/boxes/hours/header.png);
}

#content #sidebar .box.hours .icon {
    width: 66px;
    height: 66px;
    background-image: url(../img/sidebar/boxes/hours/icon.png);
}

#content #sidebar .box.registration .header {
    background-image: url(../img/sidebar/boxes/registration/header.png);
}

#content #sidebar .box.registration .icon {
    width: 70px;
    height: 53px;
    background-image: url(../img/sidebar/boxes/registration/icon.png);
}

#content #sidebar #nfz-button {
    width: 270px;
    height: 86px;
    display: block;
    text-indent: -9999px;
    background: url(../img/sidebar/nfz_button.png) no-repeat 0 0;
}

/* 3.4 Footer
==============================================================================*/

#footer {
    height: 45px;
    margin-bottom: 20px;
    padding: 0 26px;
    line-height: 45px;
    background: url(../img/footer/bg.png) no-repeat 0 0;
}

#footer .copyright {
    width: 50%;
    float: left;
}

#footer .realisation {
    width: 50%;
    float: right;
    text-align: right;
}

#footer a {
    font-weight: bold;
    color: #de1d58;
}

#footer a:hover {
    color: #f34278;
}