* {
    -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;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    font-family: 'Lora', serif;
    color: #20365D;
}

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

p {
    /*margin: 0;*/
    line-height: 170%;
}

.btn {
    font-family: 'Lora', serif;
}

a {
    color: #258E58 !important;
}

.btn-primary {
    background-color: #37AF68;
    border-color: #37AF68;
}

.btn-primary:hover, .btn-primary:active {
    background-color: #fff !important;
    border-color: #37AF68 !important;
    color: #37AF68 !important;
}

.btn-outline-primary {
    color: #37AF68;
    border-color: #37AF68;
    border-width: 2px;
}

.btn-outline-primary:hover, .btn-outline-primary:active {
    color: #fff !important;
    background-color: #37AF68 !important;
    border-color: #37AF68 !important;
}

body {
    background-color: #F5F6F9;
    color: #50678F;
    font-family: Roboto, "sans-serif";
    font-weight: 400;
}

header {
    background: #fff;
    padding: 30px 0 0 0;
}

#logo {
    display: block;
    height: 140px;
    width: 140px;
}

#logo h1 {
    background: url('img/logo_home.png') no-repeat;
    text-indent: -99999px;
    outline: none;
    height: 140px;
    width: 140px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #logo h1 {
        background: url('img/logo_home@2x.png') no-repeat;
        background-size: 140px 140px;
    }
}

.content-page #logo, .content-page #logo h1 {
    display: block;
    height: 120px;
    width: 120px;
}

.content-page #logo h1 {
    background: url('img/logo.png') no-repeat;
    text-indent: -99999px;
    outline: none;
}

header.content-page .back {
    margin-top: 40px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .content-page #logo h1 {
        background: url('img/logo@2x.png') no-repeat;
        background-size: 120px 120px;
    }
}

footer {
    background-color: #37AF68;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

footer a, footer a:hover {
    color: #fff;
}

.footer-menu li {
    display: inline-block;
}

.text-blocks-wrapper {
    background: #fff;
    padding-bottom: 100px;
}

.text-block h2 {
    margin: 30px 0 20px 0;
}

/* Header */

.header-section {
    background: #fff;
}

.header-section .content h2 {
    font-size: 32px;
    margin: 30px 0 30px;
}

.header-section .content p {
    font-size: 20px;
    color: #50678F;
}

#down-link {
    display: block;
    width: 48px;
    height: 48px;
    background: url('img/arrow_down.png');
    text-indent: -99999px;
    outline: none;
    margin: 0 0 50px 0;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #down-link {
        background: url('img/arrow_down@2x.png');
        background-size: 48px 48px;
    }
}

.header-section .image img {
    width: 100%;
    border-radius: 0 100px 0 100px;
}

/* Concept */

.concept-intro-section {
    background: #D0F4D0;
}

.concept-intro-section .content {
    padding-top: 50px;
}

.concept-intro-section .content h2 {
    color: #137755;
    font-size: 46px;
}

.concept-intro-section .content h3 {
    color: #137755;
    font-family: Roboto, "sans-serif";
    font-weight: 400;
    font-size: 20px;
    padding: 10px 0 20px 0;
    line-height: 150%;
}

.concept-intro-section .content p {
    color: #20365D;
    font-size: 18px;
    line-height: 145%;
}

.quote {
    margin: 30px 0 50px 0;
    background: #D0F4D0;
    position: relative;
    border: 2px solid #37AF68;
    border-radius: 0 30px 0 30px;
    padding: 50px 30px 10px 30px;
}

#quote-icon {
    width: 48px;
    height: 48px;
    position: absolute;
    top: -24px;
    background: url('img/icon_quote.png');
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #quote-icon {
        background: url('img/icon_quote@2x.png');
        background-size: 48px 48px;
    }
}

.quote p {
    font-weight: 400;
    font-size: 22px;
    color: #137755;
    line-height: 150%;
}

.quote p strong {
    font-size: 18px;
    font-weight: 500;
    color: #137755;
}

.concept-section {
    padding-bottom: 50px;
    position: relative;
}

.triangle-up-left {
    border-top: 200px solid #D0F4D0;
    background-image: linear-gradient(to right bottom, #D0F4D0 0%, #D0F4D0 50%, transparent 50%);
    position: absolute;
    width: 100%;
    height: 300px;
    top: 0;
    left: 0;
}

.concept {
    position: relative;
    background: #fff;
    border-radius: 0 30px 0 30px;
    padding: 90px 30px 30px 30px;
    box-shadow: 0 2px 6px 0 rgba(0,0,0,0.10);
    margin-top: 70px;
    font-size: 18px;
}

.concept-icon {
    width: 96px;
    height: 96px;
    position: absolute;
    top: -48px;
}

#concept-icon-1 {
    background: url('img/icon_diy.png') no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #concept-icon-1 {
        background: url('img/icon_diy@2x.png') no-repeat;
        background-size: 96px 96px;
    }
}

#concept-icon-2 {
    background: url('img/icon_budget.png') no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #concept-icon-2 {
        background: url('img/icon_budget@2x.png') no-repeat;
        background-size: 96px 96px;
    }
}

#concept-icon-3 {
    background: url('img/icon_choice.png') no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #concept-icon-3 {
        background: url('img/icon_choice@2x.png') no-repeat;
        background-size: 96px 96px;
    }
}

#concept-icon-4 {
    background: url('img/icon_tasks.png') no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #concept-icon-4 {
        background: url('img/icon_tasks@2x.png') no-repeat;
        background-size: 96px 96px;
    }
}

#concept-icon-5 {
    background: url('img/icon_eco.png') no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #concept-icon-5 {
        background: url('img/icon_eco@2x.png') no-repeat;
        background-size: 96px 96px;
    }
}

/* Photos section */

.photos-section img {
    width: 100%;
}

/* Procedure */

.procedure-section {
    background: #fff;
}

.procedure-section .intro {
    padding-top: 50px;
    padding-bottom: 50px;
}

.procedure-section .intro h2 {
    color: #20365D;
    font-size: 40px;
}

.procedure-section .intro p {
    font-size: 20px;
    color: #50678F;
}

.procedure {
    padding-bottom: 30px;
}

.procedure .counter {
    font-weight: 700;
    font-family: 'Lora', serif;
    color: #37AF68;
    font-size: 20px;
    border: 3px solid #37AF68;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    margin: 30px 0 20px;
}

.procedure h2 {
    font-size: 28px;
}

.procedure p {
    font-size: 18px;
}

.procedure .image {
    width: 100%;
    border-radius: 0 80px 0 80px;
}

/* Contact Form */

.form-section {
    border-top: 6px solid #37AF68;
}

.form-section .intro {
    padding-top: 50px;
}

.form-section .intro h2 {
    color: #20365D;
    font-size: 40px;
}

.form-section .intro p {
    font-size: 20px;
    color: #50678F;
}

label {
    font-weight: 700;
    font-family: 'Lora', serif;
}

input, textarea {
    border: 1px solid #C6D0E2 !important;
}

input.error, textarea.error {
    border: 1px solid #EF0F0F !important;
}

.form-check label {
    font-weight: 400;
    font-family: Roboto, "sans-serif";
}

.form-control {
    padding: 1.375rem .75rem;
}

.form-row {
    margin-bottom: 5px;
}

.fields .form-check {
    margin-bottom: 5px;
}

#sending, #sent {
    display: none;
}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {

}

/* Contact */

.contact {
    position: relative;
    background: #fff;
    border-radius: 0 30px 0 30px;
    padding: 90px 30px 30px 30px;
    box-shadow: 0 2px 6px 0 rgba(0,0,0,0.10);
    margin-top: 70px;
    font-size: 18px;
}

#contact-icon {
    position: absolute;
    top: -64px;
    left: 30px;
    width: 128px;
    height: 128px;
    background: url('img/logo_contact.png') no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #contact-icon {
        background: url('img/logo_contact@2x.png') no-repeat;
        background-size: 128px 128px;
    }
}

.contact h2 {
    color: #2B2B2B;
}

.contact .address {
    color: #50678F;
}

.contact .email-phone, .contact .email-phone a {
    color: #258E58;
}

.links {
    position: relative;
    border: 2px solid #37AF68;
    border-radius: 0 30px 0 30px;
    padding: 50px 30px 30px 30px;
    margin: 70px 0 0 0;
}

#link-icon {
    position: absolute;
    top: -24px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: url('img/link.png') no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #link-icon {
        background: url('img/link@2x.png') no-repeat;
        background-size: 48px 48px;
    }
}

.links h3 {
    color: #258E58;
}

.links ul {
    padding: 20px 0;
}

.links ul li {
    background: url('img/arrow.png') no-repeat left center;
    padding-left: 25px;
    margin-bottom: 5px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .links ul li {
        background: url('img/arrow@2x.png') no-repeat left center;
        background-size: 16px 16px;
    }
}

.links li a {
    color: #258E58;
    font-size: 18px;
}

/* Photos */

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

.photos .photo img {
    width: 100%;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .procedure {
        padding-bottom: 60px;
    }

    .procedure .counter {
        margin-top: 0;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .header-section .content h2 {
        font-size: 46px;
    }
}

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

}