/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

* { outline: none; }
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}
html, button, input, select, textarea { font-family: Tahoma, Geneva, Kalimati, sans-serif; color: #4a4a4a; font-size: 13px; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #3a70d2; color: #fff; text-shadow: 0 1px #002957; }
::selection { background: #3a70d2; color: #fff; text-shadow: 0 1px #002957; }

a {
	color:#282828;
	outline: none;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

p { margin: 0 0 1em; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


*:-moz-placeholder:focus {
    color: transparent !important;
}
*[autofocus]:-moz-placeholder:focus {
    color: graytext !important;
}

*::-webkit-input-placeholder:focus {
    color: transparent !important;
}
*[autofocus]::-webkit-input-placeholder {
    color: graytext !important;
}

textarea, input {
    resize: none;
    outline: none;
    color:#000;
}



/* ===== Primary Styles ========================================================
   Author:
   ========================================================================== */


body {
    margin:0;
    padding:0;
    background:#FFF;
}

.clr {
    clear: both;
}

.ul_reset {
    margin:0;
    padding:0;
    list-style: none;
}

#container {
    width: 1200px;
    margin:0 auto;
    background:url("../img/bg_header.jpg") no-repeat top right;
}

#head {
    position: relative;
    height:414px;
}

#logo {
    position: absolute;
    top:39px;
    left:29px;
}

#menu {
    position: absolute;
    top:51px;
    right:32px;
    background:url("../img/bg_menu.png") no-repeat;
    width:781px;
    height:47px;
}

#menu li {
    float: left;
    background:url("../img/seprator.png") no-repeat right;
    padding-right:2px;
}

#menu li:last-child {
    background: none;
}

#menu li a {
    display: block;
    line-height: 47px;
    color:#FFF;
    padding:0 28px;
    font-size:12px;
    text-decoration: none;
}

#menu li a:hover {
    background:url("../img/a2.png") no-repeat center -4px;
    padding-top:10px;
    line-height: 37px;
}

#action {
    position: absolute;
    top:195px;
    left:54px;
    width:310px;
    text-transform: uppercase;
}

#action span {
    font:29px Century Gothic;
    display: block;
    color:#898989;
    text-align: center;
}

#action a {
    display: inline-block;
    margin-top:5px;
    padding-left:30px;
    color:#404040;
    text-decoration: none;
    font-size:20px;
    background:url("../img/a3.png") no-repeat left;
    text-transform: lowercase;
}

.wrapper {
    margin:0 28px 20px 28px;
    padding-bottom:20px;
    border-bottom: 1px solid #eaeaea;
}

.wrapper > div {
    min-height:230px;
    float: left;
    width:324px;
    border-right:1px solid #eaeaea;
    margin-right:9px;
    padding: 0 20px 0 26px;
}

.welcome h4, .service h4, .gallery h4, .video h4 {
    font:29px Century Gothic;
    line-height: 40px;
    padding-left:24px;
    border-left:3px solid;
    margin:0 0 20px -27px;
}

.wrapper > div.clr {
    float: none;
    min-height: 1px;
    border:none;
}

.wrapper > div.gallery {
    margin:0;
    border:none;
}

.welcome h4, .video h4 {
    border-color:#ffa40f
}

.service h4 {
    border-color:#ff4012;
}

.gallery h4 {
    border-color:#0fcdfd;
}

.service li {
    background:url("../img/a4.png") no-repeat left;
    padding-left:10px;
    margin-bottom:8px;
}

.gallery ul {
    overflow: hidden;
    margin-right:-20px;
}

.gallery ul li {
    float: left;
    margin:0 20px 0 0;
}

.gallery ul li img {
    border:3px solid #efefef;
}

.more {
    margin-top:17px;
    text-align: right;
}

.more a {
    background:url("../img/btn.png") no-repeat;
    width:149px;
    height:24px;
    display: inline-block;
    text-align: center;
    color:#FFF;
    line-height: 24px;
    text-decoration: none;
    font-weight: bold;
    font-size:12px;
}

#main {
    margin:0 28px;
}

#footer {
    border-top:1px solid #eaeaea;
    padding:22px;
    margin-top:20px;
    font-size:12px;
    position: relative;
}

#map {
    margin-top:8px;
}

#map a {
    background: url("../img/icon_map.png") no-repeat left;
    padding-left:20px;
    line-height: 18px;
    display: inline-block;
}

#foot_links {
    position: absolute;
    top:22px;
    left:434px;
    line-height: 31px;
}

#foot_links li {
    float: left;
    margin-right:38px;
}

#foot_links li a {
    padding-left:20px;
}

#foot_links li.email a {
    padding-left:20px;
    background: url("../img/icon_mail.png") no-repeat left;
}

#foot_links li.response a {
    padding-left:20px;
    background: url("../img/icon_pencil.png") no-repeat left;
}

#foot_links li.vkk2 a {
    padding-left:20px;
    background: url("../img/vkk2.png") no-repeat left;
}

#foot_links li.visa a {
    padding-left:60px;
    background: url("../img/oplata-visa-mc.png") no-repeat left;
}

#counter {
    position: absolute;
    top:22px;
    right:22px;
}

#content {
    float: left;
    width:686px;
    text-align: justify;
}

#content h1, #content h1 {
    font-weight: normal;
    margin:0 0 10px 0;
    font-size:24px;
}

#content h2, #content h2 {
    font-weight: normal;
    margin: 19px 0 5px;
    font-size:18px;
}

#content h3, #content h3 {
    font-weight: normal;
    margin: 19px 0 5px;
    font-size:18px;
}

.article li span {
    list-style: none outside none;
    background: url("../img/a4.png");
}

#main > aside {
    float: right;
    width:396px;
    border-left:1px solid #eaeaea;
    padding-left:8px;
}

#main > aside > div {
    margin:0 0 20px 28px;
}

#content img {
    border:5px solid #FFF;
}

@media screen and  (max-width: 1200px) { 
    #container {
        width: 96%;
        margin:0 auto;
        background:url("../img/bg_header.jpg") no-repeat top right;
    }
    
    img {
        max-width:100%;
        height: auto;
    }
    
    #head {
        position: relative;
        height: auto;
        padding-top:20px;
        margin-bottom:20px;
    }
    
    #logo {
        text-align: center;
        position: static;
        margin-bottom:20px;
    }
    
    #menu {
        position: static;
        top:51px;
        right:32px;
        background:#2D2D2D;
        width: auto;
        height: auto;
        background-size: cover;
        border-radius: 10px;
        margin-bottom:20px;
    }
    
    #menu li {
        float:none;
        background:none;
        padding-right:0;
        text-align: center;
    }
    
    #action {
        position: static;
        top:195px;
        left:54px;
        width: auto;
        text-align: center;
    }
    
    .wrapper > div {
        min-height:1px;
        float: none;
        width: auto;
        border-right:0;
        margin:0 0 20px 0;
        padding: 0 0 0 26px;
    }
    
    .more a.link-tour {
        display: none;
    }
    
    .gallery ul {
        overflow: hidden;
        margin-right:0;
    }
    
    .gallery ul li {
        float: none;
        padding-right: 8px;
        margin:0 0 10px 0;
        text-align: center;
    }
    
    #content {
        float: none;
        width: auto;
        margin-bottom:20px;
    }
    
    #main > aside {
        float: none;
        width: auto;
        border-left:none;
        padding-left:0;
    }
    
    #copyright {
        margin-bottom:20px;
        text-align: center;
    }
    
    #map {
        text-align: center;
    }
    
    #foot_links {
        position: static;
        line-height: 31px;
    }
    
    #foot_links li {
        float: none;
        margin: 0 0 10px 0;
        text-align: center;
    }
    
    #counter {
        position: static;
        text-align: center;
    }
}