* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix::after {
    clear: both;
    content: ".";
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

.container {
    margin-right: auto;
    margin-left: auto;
}

h1, h2, h3, h4, h5 {
    font-weight: normal;
}

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

p {
    margin: 0;
}

body {
    font-family: 'Neuton', serif;
    font-weight: 400;
    background: #082a3f;
}

header {
    background: #f5f6f6;
}

header h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto;
    padding: 30px 0 8px 0;
    text-align: center;
    background: url('img/title_wall.png') no-repeat center bottom;
}

header h2 {
    font-size: 13px;
    font-weight: 400;
    color: #666666;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

header a.logo {
    color: #082a3f;
    text-decoration: none;
}

header nav {
    padding: 30px 0;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    text-align: center;
    border-top: 1px solid #ccc;
}

header nav ul li:last-child {
    border-bottom: 1px solid #ccc;
}

header nav ul a {
    font-size: 17px;
    display: block;
    color: #082a3f;
    text-decoration: none;
    padding: 3px 0;
}

header nav ul a:hover, header nav ul .active a {
    background: #eee;
    color: #111;
}

header .contact-details {
    text-align: center;
    padding: 0;
}

header .contact-details .inverse {
    color: #e3e3e3;
    background: #0e5672;
    padding: 5px 0;
    margin: 5px 0 0 0;
}

header .contact-details .inverse a {
    color: #e3e3e3;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
}

header .contact-details .phone {
    color: #0e5672;
}

header .contact-details .phone span {
    background: url('img/icon_phone.png') no-repeat left center;
    padding: 10px;
}

header .contact-details .inverse span {
    display: none;
}

footer {
    background: #082a3f;
    color: #f5f6f6;
    font-weight: 400;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    z-index: -1;
}

footer nav ul {
    margin: 0;
    padding: 0;
}

footer a {
    color: #e3e3e3;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.copyright {
    padding: 30px 0 0 0;
}

.content {
    background: #fff;
    padding: 50px 0;
}

.content-grey {
    background: #f5f6f6;
    padding: 50px 0;
}

.content h2 {
    color: #072a3f;
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    background: url('img/subtitle_wall.png') center bottom no-repeat;
    margin: 0;
    padding: 0 0 10px 0;
}

.content p {
    margin: 10px 0;
}

.intro {
    background: #0e5672;
    text-align: center;
    color: #e3e3e3;
    font-size: 18px;
    line-height: 150%;
    padding: 50px;
}

.header-photo {
    background: #fff;
}

.header-photo img {
    width: 100%;
    vertical-align: middle;
}

/* Home */

.home-quote {
    font-family: 'Istok Web', sans-serif;
    font-size: 30px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    padding: 50px 0;
}

.services {
    padding: 20px 0;
}

.service {
    padding: 10px 15px;
}

.service-content h2 {
    font-size: 19px;
    color: #0e5672;
}

.service-content {
    padding: 20px;
    position: relative;
    z-index: 20;
}

.service-header {
    padding: 0 0 10px 0;
}

.service-header a {
    width: 90px;
    height: 90px;
    display: block;
    margin: 0 auto;
    text-indent: -99999px;
    outline: none;
    background-size: 90px !important;
    z-index: 99;
    position: relative;
}

.service-header a:hover {
    background-position: 0 -90px !important;
}

/* Persons */

.persons-wrapper {
    background: #0e5672;
}

.person-tabs {
    width: 100%;
    margin: 0;
    padding: 0;
    display: table;
}

.person-tabs li {
    display: table-cell;
    text-align: center;
    background: #628fa1;
}

.person-tabs li a {
    color: #e3e3e3;
    text-decoration: none;
    display: block;
    padding: 15px 10px;
}

.person-tabs li a:hover, .person-tabs li.active a {
    background: #0e5672;
}

.persons {
    padding: 30px 30px 150px 30px;
}

.person {
    color: #e3e3e3;
}

.person p {
    line-height: 150%;
}

.person h3 {
    font-size: 23px;
    color: #e3e3e3;
    text-transform: uppercase;
}

.person-email {
    color: #082a3f;
    background: #e3e3e3;
    padding: 10px 15px;
    text-decoration: none;
}

/* Contact */

.contact-left {
    font-size: 18px;
    text-align: center;
    padding: 30px;
    color: #666;
    line-height: 150%;
}

.contact-right {
    padding: 30px;
}

#form dl dt {
    color: #072a3f;
    margin: 0 0 2px 0;
}

#form dl dd {
    margin: 0 0 10px 0;
}

#form .field {
    padding: 5px 7px;
    background: #e3e3e3;
    border: 1px solid #e3e3e3;;
    width: 100%;
    font-family: Neuton, serif;
}

#form .field.error {
    border: 1px solid #FF0000;
}

.button {
    color: #e3e3e3;
    background: #0e5672;
    border: 1px solid #0e5672;
    margin: 20px 0 0 0;
    padding: 5px 10px;
    font-family: Neuton, serif;
    text-transform: uppercase;
}

.button:hover {
    background: #e3e3e3;
    color: #0e5672;
}

#sending, #sent {
    padding: 20px 30px 100px 30px;
    text-align: center;
    display: none;
}

#sending {
    background: url('img/loader.gif') no-repeat center 70%;
}

/* Content blocks */

.text-block {
    font-size: 14px;
    color: #666;
    padding: 10px 20px;
}

.text-block ol, .text-block ul {
    padding: 0 0 0 40px;
}

.text-block ul li {
    list-style: disc;
}

.text-block .container {
    padding: 0 30px;
}

.columns .text-block .container {
    padding: 30px 0;
}

.text-block h3 {
    color: #072a3f;
    font-size: 23px;
    margin: 0;
    padding: 20px 0 20px 15px;
    background: url('img/subtitle_wall.png') 10px bottom no-repeat;
}

.text-block table td {
    vertical-align: top;
    padding: 0;
    line-height: 150%;
    display: block;
}

.text-block table td p {
    padding: 15px 25px 0;
    background: url('img/list.png') no-repeat 0 25px;
}

.small-blocks .text-blocks-wrapper {
    background: #fff;
}

.small-blocks .text-blocks.container {
    background: #fff;
    padding: 30px 0;
}

.small-block {
    width: 100%;
    float: left;
}

.subtitle-block {
    background: #fff;
    padding: 0 20px;
}

.subtitle-block .container {
    padding: 0 30px;
}

.subtitle-block h3 {
    margin: 0;
    padding: 20px 0 5px 0;
    text-transform: uppercase;
    color: #072a3f;
    font-size: 22px;
}

.image {
    padding: 10px 0;
    background: #fff;
}

.image img {
    width: 100%;
    vertical-align: middle;
}

.small-block.subtitle-block {
    background: #e3e3e3;
    background-size: auto;
    color: #072a3f;
    text-align: center;
    font-weight: 400;
    position: relative;
    padding: 0;
}

.small-block.subtitle-block h3 {
    font-size: 32px;
    margin: 0;
}

.small-blocks .text-block {
    background: #0e5672;
    color: #e3e3e3;
}

.small-blocks .text-block h3 {
    color: #e3e3e3;
    font-size: 18px;
    padding: 0 0 10px 0;
    background: none;
}

.small-blocks .text-block p {
    font-size: 15px;
    line-height: 150%;
    margin: 0;
}

.small-blocks .photo-block {
    background-position: center center !important;
    background-size: cover !important;
}

.small-blocks .photo-block img {
    width: 100%;
    vertical-align: middle;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .container {
        width: 750px;
    }

    .copyright {
        float: right;
        padding: 0 50px 0;
    }

    header {
        height: 120px;
    }

    header h1 {
        padding: 20px 0 8px 0;
    }

    header a.logo {
        float: left;
    }

    header nav {
        float: left;
    }

    header nav ul {
        float: left;
        margin-left: 12px;
    }

    header nav ul li {
        text-align: left;
        border-top: none;
        display: inline;
        margin: 0 15px;
    }

    header nav ul li:last-child {
        border-bottom: none;
    }

    header nav ul a {
        font-size: 12px;
        color: #082a3f;
        text-decoration: none;
        padding: 3px 0;
        display: inline;
        text-transform: uppercase;
        font-weight: 700;
    }

    header nav ul a:hover, header nav ul .active a {
        color: #628fa1;
        background: none;
    }

    header .contact-details {
         width: 100%;
         float: left;
     }

    header .contact-details .inverse {
        margin: 0;
        padding: 0;
        color: #0e5672;
        background: #f5f6f6;
    }

    header .contact-details .inverse a {
        color: #0e5672;
    }

    header .contact-details li {
        display: inline-block;
    }

    header .contact-details .inverse span {
        display: inline;
    }

    .home-quote {
        width: 100%;
    }

    footer {
        padding-bottom: 50px;
    }

    footer nav ul, footer nav ul li {
        float: left;
    }

    footer nav ul li {
        margin: 0 20px 0 0;
    }

    .text-block table td {
        display: table-cell;
		width: 33%;
    }

    .persons {
        padding: 30px 60px 150px 60px;
    }

    .small-block {
        width: 50%;
        height: 310px;
        margin: 0 0 30px 0;
    }

    .small-blocks .photo-block {

    }

    .small-blocks .photo-block img {
        display: none;
    }

    .small-block.subtitle-block h3 {
        font-size: 32px;
        padding: 20px 20px;
        width: 100%;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: no-repeat;
        background-image: url('img/left_dot.png'), url('img/right_dot.png');
        background-position: left top, right bottom;
    }

    .image .container {
        padding: 0 100px;
    }

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .container {
        width: 970px;
    }

    header {
        height: 80px;
    }

    header nav ul {
        float: left;
        margin-left: 9px;
    }

    header nav ul li {
        margin: 0 9px;
    }

    header nav ul a {
        font-size: 13px;
    }

    header .contact-details {
        float: right;
        width: auto;
    }

    header .contact-details li {
        display: inline;
        float: left;
        margin: 0;
        height: 80px;
        line-height: 80px;
    }

    header .contact-details .inverse {
        color: #e3e3e3;
        background: #0e5672;
    }

    header .contact-details .inverse span {
        display: none;
    }

    header .contact-details .inverse a {
        height: 80px;
        padding: 0 20px;
        font-size: 20px;
        color: #f5f6f6;
    }

    header .contact-details .phone {
        margin-right: 10px;
    }

    /* Contact */

    .contact-left {
        float: left;
        width: 40%;
        text-align: left;
        padding-top: 40px;
    }

    .contact-right {
        float: left;
        width: 60%;
    }

    .persons {
        padding: 30px 200px 150px 200px;
    }

    .small-block {
        width: 33%;
    }

    .home-quote {
        background: none !important;
        font-size: 40px;
        line-height: 100%;
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -20%);
    }

    .home-content {
        background: none;
    }

    .service-header {
        padding: 0;
        position: relative;
    }

    .service-content {
        background: #fff;
        position: absolute;
        width: 200px;
        top: 70px;
        left: -35px;
        padding-top: 50px;
        display: none;
    }

    .service-content h2 {
        text-transform: capitalize;
        font-size: 15px;
        background: none;
    }

    .service {
        position: relative;
        float: left;
        padding: 10px 18px;
    }

    .home footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 80px;
        z-index: -19;
    }

    .services {
        padding: 0 19px;
        width: 920px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: no-repeat;
        background-image: url('img/line_home_left.png'), url('img/line_home_right.png');
        background-position: left center, right center;
    }

    .subtitle-block .container {
        padding: 0 100px;
    }

    .text-block .container {
        padding: 0 100px;
    }

    .image .container {
        padding: 0 200px;
    }

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }

    header nav ul {
        float: left;
        margin-left: 40px;
    }

    header nav ul li {
        margin: 0 15px;
    }

    header nav ul a {
        font-size: 14px;
    }

    header .contact-details .inverse a {
        height: 80px;
        padding: 0 20px;
        font-size: 20px;
    }

    .services {
        width: 1200px;
        padding: 0 40px;
    }

    .service {
        padding: 10px 35px;
    }

    .service-content {
        left: -15px;
    }

    .subtitle-block .container {
        padding: 0 200px;
    }

    .text-block .container {
        padding: 0 200px;
    }

    .image .container {
        padding: 0 300px;
    }

    .home-quote {
        font-size: 40px;
        line-height: 100%;
    }

}