@font-face {
    font-family: 'korolevbold_italic';
    src: url('korolev_bold_italic-webfont.woff2') format('woff2'),
         url('korolev_bold_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'korolevbold';
    src: url('korolev_bold-webfont.woff2') format('woff2'),
         url('korolev_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'korolevmedium_italic';
    src: url('korolev_medium_italic-webfont.woff2') format('woff2'),
         url('korolev_medium_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'korolevmedium';
    src: url('korolev_medium-webfont.woff2') format('woff2'),
         url('korolev_medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* reset --------------------------  */

html,
body,
div,
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
dfn,
del,
p,
blockquote,
fieldset,
input,
textarea,
select,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
button,
canvas,
video {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
address,
caption,
cite,
code,
th,
dfn,
del {
    font-weight: normal;
    font-style: normal;
}

ul,
ol {
    list-style: none
}

fieldset,
img {
    border: none
}

caption,
th {
    text-align: left
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
.clearfix {
    display: block
}

audio,
canvas,
video {
    display: inline-block
}

a > img {
    vertical-align: bottom
}

strong,
.strong,
b {
    font-weight: bold
}

em,
.italic,
i {
    font-style: italic
}

del,
.del {
    text-decoration: line-through
}

:focus {
    outline: none
}

img {
    max-width: 100%;
    width: auto;
    height: auto;
}

/* tools --------------------------  */

.clear {
    clear: both;
    display: block;
    line-height: 0;
    height: 0;
    font-size: 0;
}

.clearfix:after,
.wrap:after,
.spanning:after,
.content:after,
.main:after,
aside:after,
section:after,
article:after,
.text:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
    font-size: 0;
}

.align-left {
    float: left !important
}

.align-right {
    float: right !important
}

.overflow-hidden {
    overflow: hidden;
    display: block;
}

/* common --------------------------  */

.comments .tab-prev,
.comments .tab-next,
.button-download:after {
    background: url(../images/sprite.png) 0 0 no-repeat
}

html {
    height: 100%;
    background: white;
}

body {
    height: 100%;
    font: 16px/28px , "korolevmedium", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #222222;
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.main {
    min-height: 100%;
    overflow: hidden;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.wrap {
    margin: 0 auto;
    padding: 0 15px;
    max-width: 1200px;
}

.wrap2 {
    margin: 0 auto;
    padding: 0 15px;
    max-width: 1300px;
}

a {
    color: #10bbf1;
    cursor: pointer;
    background: transparent;
    text-decoration: none;
}

a:hover {
    color: #40c9f4
}

a:active {
    color: #0b97c3
}

/* header --------------------------  */

header {
    padding: 50px 0 80px 0;
    background: url(../img/header-bg.png) bottom center no-repeat;
}

.header-img {
    margin: 0 auto;
	display: block;
	max-width: 350px;
}

.header-wrapper {
    padding-top: 87px;
    max-width: 655px;
}

/* footer --------------------------  */

footer {
    background: #fff;
    padding: 60px 0 50px 0;
    text-align: center;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

footer .column {
    padding: 0 15px 0;
    float: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 33%;
}

/* home --------------------------  */

/* content --------------------------  */

.spanning {
    clear: both
}

.comments {
    background: url(../img/pattern-bg.jpg) center center no-repeat;
	background-size: cover;
	height: 200px;
    text-align: center;
    padding: 70px 0 40px 0;
	position: relative;
	color: #fff;
	font-family: "korolevmedium", sans-serif;
	font-size: 18px;
	text-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
}
.comments a { color: #fff; }

.comments::before {
	width: 174px;
	height: 48px;
	margin: 0 0 0 -87px;
	background: url(../img/white-arrow.png) center center no-repeat;
	content: '';
	position: absolute;
	bottom: -2px;
	left: 50%;
	z-index: 999;
}

.content {
    padding: 80px 0 120px 0;
	text-align: center;
	position: relative;
}

.content::before {
	width: 174px;
	height: 48px;
	margin: 0 0 0 -87px;
	background: url(../img/grey-arrow.png) center center no-repeat;
	content: '';
	position: absolute;
	bottom: -1px;
	left: 50%;
	z-index: 999;
}

.content-wrapper {
    margin: 0 -15px
}

.content-column {
    padding: 0 15px 60px;
    float: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 25%;
}

.content img {
    padding-top: 23px;
}

.content h3 {
    font-family: "korolevbold", sans-serif;
	font-size: 26px;
	color: #d9002c;
    margin-bottom: 12px;
}

.content p {
    font-family: "korolevmedium", sans-serif;
	font-size: 24px;
	color: #231f20;
    margin-bottom: 12px;
}

.services {
    padding: 80px 0 60px 0;
	background: #241f20;
	color: #fff;
	position: relative;
}

.services::before {
	width: 174px;
	height: 48px;
	margin: 0 0 0 -87px;
	background: url(../img/white-arrow.png) center center no-repeat;
	content: '';
	position: absolute;
	bottom: -1px;
	left: 50%;
	z-index: 999;
}

.services-wrapper {
    margin: 0 -15px
}

.services-column {
    padding: 0 15px 60px;
    float: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 25%;
}

.services-column.tahi { width: 20%; }
.services-column.rua { width: 30%; }
.services-column.toru { width: 25%; }
.services-column.wha { width: 25%; }

.services ul {
	list-style: disc;
    font-family: "korolevmedium", sans-serif;
	font-size: 20px;
}
.services h5 {
    font-family: "korolevmedium", sans-serif;
	font-size: 28px;
	margin: 0 0 20px 0;
	color: #d9002c;
	text-align: center;
}

@media (max-width: 800px) {
	header { padding: 40px 0 60px 0; }
	.comments { height: auto; padding: 100px 20px 100px 20px; font-size: 12px; }
	.services-column { padding: 20px 5% 20px 5%; margin: 0 auto; float: none; display: block; }
	.services-column.tahi { width: 70%; }
	.services-column.rua { width: 70%; }
	.services-column.toru { width: 70%; }
	.services-column.wha { width: 70%; }
	.content h3 { font-size: 20px; }
	.content p { font-size: 17px; }
	footer .column { padding: 15px 0 0; float: none; display: block; margin: 0 auto; width: 80%; }
}