@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700,300&subset=latin,cyrillic');

html, body {
    font-family: 'Roboto Condensed';

    letter-spacing: 0.6px;

    height: 100%;
    color: #40484c;

    font-size: 100%;
}

body {
    font-weight: lighter;
}

nav {
    --font-size: 120%;
}

h1 {
    font-family: 'Roboto Condensed';
    font-size: 160%;
}

h2 {
    font-family: 'Roboto Condensed';
    font-size: 250%;
    color: #0078d7;
}

h3 {
    font-family: 'Roboto Condensed';
    font-size: 140%;
    font-weight: bolder;
}

p {
    font-family: 'Roboto Condensed';
    font-size: 110%;
}

.bg {
    background: url("/assets/img/photo.jpg") center no-repeat;
}

header {
    background-color: #1a1a1a;
    opacity: 0.9;
    color: #ffffff;

}

header a {
    color: lightskyblue;
}

header a:hover {
    color: #ffffff;
}

header h1 {
    margin: 0;
    line-height: 90%px;
}

section {
    padding: 24px 0 0 0;
}

footer {
    font-size: 90%;
    margin: 0;
    padding: 40px 0 0 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

a.tel {
    color: white;
}

a.tel:hover {
    text-decoration: none;
}

/* section repair */

#repair h2 {
    color: #3f87cf;
}

#repair h3 {
    color: #3f87cf;
    margin-top: 0;
}

/* section apple */

#apple h2 {
    color: #f07c30;
}

#apple h3 {
    color: #f07c30;
}

#cartridges h2 {
    color: #d1534f;
}

#cartridges h3 {
    color: #d1534f;
}

#outcoursing {

}

#outcoursing h2 {
    color: #0f0f0f;
}

section#contacts {
}

.address .tel1 {
    font-size: 320%;
    margin-bottom: 12px;
}

.address .tel1 .code {
    font-size: 66%;
}

.address .tel2 {
    font-size: 256%;
}

#scroll-to-top {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 20px;
}

td {
    font-weight: bolder;
    color: #1a1a1a;
}

td.price {
    font-weight: bold;
    text-align: right;
    color: #ff6110;
    font-size: 140%;
}

.repair {
    max-width: 150px;
}

.modal-title {
    font-size: 240%;
    color: #ff6110;
}

@media (max-width: 768px) {

    h1 {
        font-size: 140%;
    }

    h2 {
        font-size: 200%;
    }

    h3 {
        font-size: 140%;
    }

    section {
        padding: 24px 0 0 0;
    }

    .page-header {
        margin-top: 24px;
    }

    .lead {
        font-size: 100%;
    }

    .modal-title {
        font-size: 160%;
        color: #ff6110;
    }
}

@media (max-width: 480px) {

    html, body {
        font-size: 96%;
    }

    .repair {
        max-width: 120px;
    }
}

@media (max-width: 320px) {

    html, body {
        font-size: 90%;
    }

    .repair {
        max-width: 100px;
    }
}