html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
a:focus,
input {
    outline: none;
}
input::-moz-focus-inner,
button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

/*============================= COMMON STYLES =============================*/

body {
    background-color: #FAF9F4;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #000;

}
.wrapper {
    position: relative;
    margin: 0 auto;
    padding: 0 15px;
    max-width: 960px;
}
a {
    color: #000;
    text-decoration: none !important;
}

/*============================= HEADER =============================*/


.logo h1 {
    font-family: 'Fira Sans', sans-serif;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #444343;
}
.logo {
    float: left;
    margin-top: 32px;
}
.header-img {
    display: none;
}
@media (min-width: 960px) {
    .header-img {
        display: inline;
    }
}
/* address */

.address {
    position: relative;
    margin: 30px 0 0 5px;
    width: 220px;

}
@media (min-width: 960px) {
    .address {
        float: right;
    }
}
.address p {
    font-size: 16px;
    line-height: 20px;
    font-style: normal;
}
.address i {
    color: #e9b112;
}
.mail, .phon {
    display: inline-block;
    background: url('../img/addres_ico.png') no-repeat;
    overflow: hidden;
    text-indent: -9999px;
    text-align: left;
}
.phon,
.mail {
    position: relative;
    left: -5px;
    top: 2px;
}
.phon {
    background-position: -5px -15px;
    width: 12px;
    height: 14px;
}
.mail {
    background-position: -5px -0px;
    width: 14px;
    height: 10px;
}

/*============================= NAVIGATION =============================*/

#navigation {
    margin: 0;
    border: none;
    background: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
@media (max-width: 767px) {
#navigation {
    margin-left: -15px;
    margin-right: -15px;
}
}
#navigation .navbar-collapse {
    padding: 0;
}
.navbar-default .navbar-toggle {
    border-color: #000;
    background-color: #FBD776;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #000;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #EAB213;
}

#navigation ul {
    margin: 0;
    padding: 0;
}
#navigation ul li {
    margin: 0;
    padding: 0;
    vertical-align: middle;
    background-color: #fbd776;
}
#navigation a {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 14px 10px 11px;
    vertical-align: middle;
    text-transform: uppercase;
    color: #424443;
}

@media (min-width: 768px) {
    #navigation ul {
        display: table-row;
    }
    #navigation ul li {
        display: table-cell;
        text-align: center;
        border-right: 1px solid #f8c268;
    }
    #navigation a {
        font-size: 11px;
        display: table-cell;
        width: 1000px !important;
        padding: 0;
        height: 45px;
        line-height: 15px;
    }
    #navigation li:nth-child(1) > a,
    #navigation li:nth-child(1) {
        -webkit-border-radius: 5px 0px 0px 5px;
        border-radius: 5px 0px 0px 5px;

    }
    #navigation li:nth-child(6) > a,
    #navigation li:nth-child(6) {
        -webkit-border-radius: 0px 5px 5px 0px;
        border-radius: 0px 5px 5px 0px;
        border-right: transparent;
    }
}
@media (min-width: 960px) {
    #navigation a {
        font-size: 14px;
    }
}
.active > a {
    background-color: #eab213;
}
#navigation ul li a:hover {
    background-color: #eab213;
}

/*============================= CONTENT =============================*/

#content {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    min-height: 600px;
    background-color: #fff;
    padding: 10px 15px 15px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
@media (max-width: 767px) {
    #content {
        margin-left: -15px;
        margin-right: -15px;
    }
}
@media (min-width: 960px) {
    #content {
        padding: 10px 30px 30px;
    }
}
#content h1 {
    margin-top: 15px;
    font-size: 22px;
    font-family: 'Fira Sans', sans-serif;
    text-transform: uppercase;
    line-height: 1;
    color: #444343;
}
#content h2 {
    font-size: 20px;
}
#content h3 {
    font-size: 18px;
}
#content .thumbnail {
    margin-top: 15px;
    margin-bottom: 0;
    padding: 0;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#content .thumbnail img {
    float: left;
    overflow: hidden;
}
#content .thumbnail .caption {
    float: left;
    padding: 0;
}
@media (min-width: 960px) {
    #content .thumbnail .caption {
        padding-left: 20px;
    }
}
/* main-page */

.main-page p {
font-size: 18px;
}
@media (min-width: 960px) {
    .main-page .thumbnail .caption {
        width: 50%;
    }
}
/* documents */

.documents img {
    margin: 10px;
    vertical-align: top !important;
}
.ros-control span, .ros-control strong {
    display: block;
}
.ros-control p {
    margin: 10px 0 5px 0;
    font-size: 16px;
}

/* services */

#content table td:last-child {
    white-space: nowrap;
	text-align: right;
}
#content table h2 {
    margin-top: 15px;
}

/* contacts */

.contacts span {
    margin-bottom: 10px;
}
.contacts strong, .contacts span {
    display: block;
}

/*============================= FOOTER =============================*/

#footer {
    margin-top: 60px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #ddbd74;
}
#footer a {
    color: #ddbd74;
}
#footer .hr {
    width: 100%;
    height: 1px;
    background: #ddbd74;
}
#footer p {
line-height: 1.4;
}
.copiright {
    float: left;
    margin: 25px 0;
}
.dev {
    float: right;
    margin: 25px 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href)")";
    }
    abbr[title]:after {
        content: " (" attr(title)")";
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
