@import url('https://fonts.googleapis.com/css?family=Exo+2:300|Noto+Sans|Roboto');

html {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875em;
    height: 100%;
}

body {
    background: #ffffff;
    margin: 0 auto;
    height: 100%;
}

/* Header */
header {
    position: relative;
    background: #ffffff;
    z-index: 1;
}

header > section > .blockWrap > div {
    padding: 3% 0 1% 0;
}

header > section > .blockWrap > div > .logo > a {
    text-decoration: none;
    color: #626061;
}

header > section > .blockWrap > div > .logo > a > img {
    display: block;
    margin-left: 30px
}

nav {
    display: block;
    margin: 0;
}

/* Menu */
.topMenu a {
    text-decoration: none;
    outline: none;
}

.topMenu {
    display: table;
    width: 100%;
    padding: 0;
    text-align: center;
}

.topMenu li {
    display: table-cell;
    position: relative;
}

.topMenu a.active {
    color: #008DD2;
    border: 1px solid #cccccc;
    background: #dfe1e1;
}

.topMenu > li > a {
    display: block;
    padding: 10px;
    color: #626061;
    /*text-transform: full-width;*/
    border: 1px solid transparent;
    position: relative;
    font-size: 1.214em;
    font-family: 'Roboto', sans-serif;
}

.topMenu > li:hover > a {
    color: #008DD2;
    border: 1px solid #cccccc;
    background: #dfe1e1;
}

.subMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subMenu {
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 220px;
    background: #f9f9fa;
    border: 1px solid #cccccc;
    margin-top: -1px;
    padding: 0;
}

.subMenu > li {
    display: block;
}

li:hover > .subMenu {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.subMenu li a {
    padding: 10px 0;
    border-bottom: 1px solid #cccccc;
    color: #626061;
    font-size: 1.214em;
    display: block;
    font-family: 'Roboto', serif;
}

.subMenu li a:hover {
    color: #008DD2;
}

.subMenu li:last-child a {
    border-bottom: none;
}

/* Content block */
.imContent {
    box-sizing: border-box;
    padding-bottom: 7em;
}

/* Up button */
.upButton {
    overflow: hidden;
    display: none;
    position: fixed;
    background: #999999;
    border: 2px solid #5C5B5C;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -ms-behavior: url(border-radius.htc);
    height: 45px;
    width: 45px;
    bottom: 40px;
    right: 16px;
    cursor: pointer;
    z-index: 900;
}

.upButton:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    margin: 40% 35%;
    background: transparent;
    border: 3px solid #5C5B5C;
    border-top: none;
    border-right: none;
    -webkit-transform: rotate(133deg);
    -moz-transform: rotate(133deg);
    -ms-transform: rotate(133deg);
    -o-transform: rotate(133deg);
    transform: rotate(133deg);
}

.upButton:hover {
    border: 2px solid #008DD2;
}

.upButton:hover:after {
    border: 3px solid #008DD2;
    border-top: none;
    border-right: none;
}

/* Footer */
footer {
    clear: both;
    height: 7em;
    margin-top: -6.5em;
    text-align: center;
    background: #ffffff;
    position: relative;
}

.logo {
    display: inline-block;
    text-align: left;
}

.contacts {
    display: inline-block;
}

.contacts p {
    color: #7b7d7d;
    font-size: 0.875em;
}