/* MAIN */
*,
*:before,
*:after {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    font: 15px/20px 'Roboto', sans-serif;
}

/* LINKS */
a {
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
a.dashed {
    text-decoration: none;
    border-bottom: 1px dashed;
}

/* OUTLINE */
button:focus, button:active,
input:focus, input:active,
optgroup:focus, optgroup:active,
select:focus, select:active,
textarea:focus, textarea:active {
    outline: none;
}

/* CLEARFIX */
.clearfix:after {
    font-size: 0;
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    content: ' ';
}
.clearfix {
    display: inline-block;
}
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}

/* OVERFLOW */
.overflow {
    overflow: hidden;
}

/* BITRIX INCLUDE */
.bx-context-toolbar-empty-area {
    min-width: 12px;
    min-height: 12px;
}

/* VERTICAL CONTENT ALIGN */
.vertical-element {
    display: -moz-inline-box;
    display: inline-block;
    zoom: 1;
    vertical-align: middle;
    //display: inline;
}
.vertical-helper {
    display: -moz-inline-box;
    display: inline-block;
    zoom: 1;
    width: 0;
    height: 100%;
    vertical-align: middle;
    //display: inline;
}

/* IMG */
img {
    vertical-align: middle;
    border: none;
}
img[align=left] {
    float: left;
    margin: .3em 1.5em 1em 0;
}
img[align=right] {
    float: right;
    margin: .3em 0 1em 1.5em;
}

/* BUTTONS */
.button {
    font-size: 80%;
    line-height: inherit;
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: auto;
    padding: 7px 10px;
    cursor: pointer;
    transition: all .3s ease;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: .4px;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 2px;
    outline: none;
}
.button:hover {
    opacity: .8;
}

/* OWL CAROUSEL */
.owl-carousel {
    display: none; /* loading hack */
}

/* WRAPPER */
#wrapper {
    position: relative;
    width: 100%;
    min-width: 1000px;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
#wrapper .inner {
    position: relative;
    width: 1000px;
    padding: 0 15px;
    margin: 0 auto;
}

/* TOPLINE */
#topline {
    position: relative;
    width: 100%;
    padding: 20px 0;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
}
#topline .left {
    float: left;
    height: 50px;
    width: 30%;
}
#topline .left ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#topline .left ul li {
    display: inline-block;
    margin-right: 15px;
}
#topline .center {
    float: left;
    height: 50px;
}
#topline .callback-button-box {
    float: left;
    height: 50px;
    margin-left: 2.5%;
}
#topline .right {
    float: right;
    height: 50px;
}

/* HEADER */
#header {
    position: relative;
    width: 100%;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
}
#header .bonnet {
    position: relative;
    width: 100%;
}
#header .bonnet .left {
    float: left;
    height: 220px;
    width: 30%;
    line-height: 220px;
    text-align: center;
}
#header .bonnet .left img {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}
#header .bonnet .right {
    float: right;
    height: 220px;
    width: 70%;
}
#header .navigation {
    position: relative;
    width: 100%;
}

/* CONTENT */
#content {
    position: relative;
    width: 100%;
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    padding: 0;
}
#content .inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-line-pack: stretch;
        align-content: stretch;
}
#content:before {
    display: block;
    height: 0px;
    content: ' ';
}
#content:after {
    display: block;
    height: 50px;
    content: ' ';
}

/* SIDEBAR */
#content #sidebar {
    float: left;
    width: 30%;
    padding: 25px;
}
#content #sidebar .box {
    margin: 28px 0 0;
}
#content #sidebar .box i {
    display: block;
    padding: 0 13px;
}
#content #sidebar div:first-child {
    margin-top: 0;
}

/* WORKAREA */
#content #workarea.partial {
    float: right;
    width: 70%;
    padding: 25px;
}
#content #workarea.full {
    width: 100%;
    padding: 25px;
}
#content #workarea .col-left {
    float: left;
    width: 50%;
}
#content #workarea .col-right {
    float: left;
    width: 50%;
    padding-left: 40px;
}
#content #workarea hr {
    display: block;
    height: 1px;
    margin: 25px 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,.05);
}
#content #workarea h1,
#content #workarea h2,
#content #workarea h3,
#content #workarea h4,
#content #workarea h5,
#content #workarea h6 {
    font-weight: 600;
    margin-bottom: 16px;
}
#content #workarea h1 {
    font-size: 200%;
}
#content #workarea h2 {
    font-size: 180%;
}
#content #workarea h3 {
    font-size: 160%;
}
#content #workarea h4 {
    font-size: 140%;
}
#content #workarea h5 {
    font-size: 120%;
}
#content #workarea h6 {
    font-size: 100%;
}
#content #workarea h1.title {
    font-size: 190%;
    font-weight: 500;
    line-height: 1.1;
    margin: 3px 0 25px;
    padding-bottom: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0,0,0,.1);
}
#content #workarea p {
    margin: 0 0 16px;
}
#content #workarea sup {
    line-height: 1;
}
#content #workarea table {
    width: 100%;
}
#content #workarea table,
#content #workarea table td,
#content #workarea table th {
    border-collapse: collapse;
}
#content #workarea table th {
    padding: 8px 10px;
    text-align: left;
    vertical-align: middle;
}
#content #workarea table td {
    padding: 8px 10px;
    vertical-align: top;
}

/* FOOTER */
#footer {
    position: relative;
    width: 100%;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
}
#footer .inner {
    font-size: 90%;
    line-height: 1.5;
    padding-top: 25px;
    padding-bottom: 35px;
}
#footer .left {
    float: left;
    margin-left: 20px;
}
#footer .develop {
    line-height: 1.2;
    float: right;
    margin-left: 15%;
    margin-right: 20px;
}
#footer .develop span {
    font-size: 80%;
    display: block;
    letter-spacing: .2px;
}
#footer .develop #bx-composite-banner {
    margin: 15px 0 0 -18px;
}
#footer .right {
    float: right;
    text-align: right;
}
