﻿h1, h2, h3, h4, h5 {
    color: #006ca5;
    padding: 5px;
    padding: 25px 70px 0px 70px;
    margin: 10px 0px 0px 0px;
    text-align: left;
    font-weight: normal
}

@media ( max-width:1100px ) {
    h1, h2, h3, h4, h5 {
        padding: 20px 30px 0px 30px
    }
}

h1 {
    font-size: 31px
}

h2 {
    font-size: 18px
}

h3 {
    font-size: 26px
}

h4 {
    font-size: 23px
}

h5 {
    font-size: 20px
}

@media ( max-width:1100px ) {
    h1 {
        font-size: 27px
    }

    h2 {
        font-size: 25px
    }

    h3 {
        font-size: 23px
    }

    h4 {
        font-size: 22px
    }

    h5 {
        font-size: 20px
    }
}

a {
    color: #006ca5
}

strong {
    color: #006ca5
}

div.main ol {
}

    div.main ol li {
        margin: 3px 70px 3px 70px
    }

@media ( max-width:1100px ) {
    div.main ol li {
        margin: 3px 30px 3px 30px
    }
}

p {
    padding: 3px 70px 3px 70px;
    margin: 10px 0px 2px 0px
}

    p::first-letter {
        font-size: 27px;
        color: #CC0000
    }

    p span.fotosm {
        width: 500px;
        height: 400px;
        float: right;
        margin: 5px 0px 5px 10px;
        background-size: cover;
        border-radius: 15px
    }

    p span.fotobig {
        position: fixed;
        width: 100%;
        top: 0px;
        left: 0px;
        text-align: center;
        height: 100%;
        z-index: 2000;
        background-image: url('../design/win_bg.png')
    }

        p span.fotobig img {
            width: 60%;
            border-radius: 20px;
            border: 5px white solid;
            box-shadow: 0px 0px 35px 0px rgba(27,162,192,0.28);
            -webkit-box-shadow: 0px 0px 35px 0px rgba(27,162,192,0.28);
            -moz-box-shadow: 0px 0px 35px 0px rgba(27,162,192,0.28)
        }

@media ( max-width:1100px ) {
    p {
        padding: 3px 30px 3px 30px
    }
}

@media ( max-width:500px ) {
    p span.fotosm {
        display: block;
        width: auto;
        float: inherit;
        margin: 5px 0px 15px 0px
    }

    p span.fotobig img {
        display: block;
        width: auto
    }
}

img.ill {
    width: 300px;
    height: 200px;
    margin: 15px 10px 10px 10px;
    float: right;
    border-radius: 15px
}

img.ill2 {
    display: inline-block;
    width: 300px;
    height: 200px;
    margin: 0px 20px 10px 10px;
    vertical-align: top;
    border-radius: 15px
}

span.text2 {
    display: inline-block;
    vertical-align: top;
    width: 800px;
    padding-top: 10px
}

    span.text2 span.title {
        display: block;
        color: #006ca5;
        font-size: 21px
    }

    span.text2 span.gps {
        display: block;
        font-size: 18px;
        text-align: right;
        margin-top: 7px
    }

@media ( max-width:1900px ) {
    span.text2 {
        width: 700px
    }
}

@media ( max-width:1800px ) {
    span.text2 {
        width: 600px
    }
}

@media ( max-width:1700px ) {
    span.text2 {
        width: 500px
    }
}

@media ( max-width:1600px ) {
    span.text2 {
        width: 400px
    }
}

@media ( max-width:1500px ) {
    span.text2 {
        width: 300px
    }
}

@media ( max-width:1400px ) {
    span.text2 {
        width: 250px
    }
}

@media ( max-width:1300px ) {
    span.text2 {
        width: 300px
    }
}

@media ( max-width:1200px ) {
    span.text2 {
        width: 230px
    }
}

@media ( max-width:1100px ) {
    span.text2 {
        width: 500px
    }
}

@media ( max-width:1000px ) {
    span.text2 {
        width: 400px
    }
}

@media ( max-width:900px ) {
    span.text2 {
        width: 300px
    }
}

@media ( max-width:800px ) {
    span.text2 {
        display: block;
        width: auto
    }

    img.ill2 {
        display: block;
        width: 100%;
        height: auto;
        margin: 20px 0px 5px 0px
    }
}


div.main {
    display: block;
    text-align: left;
    font-family: 'Old Standard TT', serif;
    padding: 10px 0px 100px 0px;
    margin: 30px 0px 10px 0px;
    font-size: 18px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0px 0px 15px 0px rgba(27,162,192,0.28);
    -webkit-box-shadow: 0px 0px 15px 0px rgba(27,162,192,0.28);
    -moz-box-shadow: 0px 0px 15px 0px rgba(27,162,192,0.28)
}

    div.main div.line {
        display: block;
        padding: 15px 20px 15px 20px;
        vertical-align: top
    }

        div.main div.line span.img_small {
            display: inline-block;
            width: 10%;
            vertical-align: top;
            text-align: right;
            padding-right: 20px;
            padding-top: 10px
        }

        div.main div.line span.txt {
            display: inline-block;
            width: 80%;
            vertical-align: top
        }

            div.main div.line span.txt span.title {
                display: block;
                font-size: 24px;
                color: #2966aa
            }

@media ( max-width:1100px ) {
    div.main {
        padding: 10px 0px 0px 0px;
        margin: 0px 0px 0px 0px;
        font-size: 16px;
        border-radius: 0px
    }
}

div.txt_phone {
    padding: 5px 50px 5px 50px;
    text-align: center;
    font-weight: bold;
    color: #CC0000
}

    div.txt_phone span.phone {
        display: inline-block;
        white-space: nowrap;
        color: #006ca5;
        font-size: 24px;
        margin-top: 10px
    }

        div.txt_phone span.phone span.fa {
            color: #a1e4f9
        }

div.persons {
    display: block;
    text-align: center;
    margin: 20px 0px 20px 0px;
    padding: 20px 0px 20px 0px;
    border-bottom: 1px #bcdae3 solid;
    border-top: 1px #bcdae3 solid
}

    div.persons div.person {
        display: inline-block;
        width: 260px;
        text-align: center;
        vertical-align: top
    }

        div.persons div.person img {
            display: inline-block;
            width: 150px;
            height: 150px;
            border-radius: 75px
        }

        div.persons div.person span.fio {
            display: block;
            font-size: 18px;
            margin-bottom: 10px;
            margin-top: 5px
        }

@media ( max-width:1600px ) {
    div.persons div.person {
        width: 160px
    }
}

@media ( max-width:900px ) {
    div.persons div.person {
        width: 45%
    }

        div.persons div.person img {
            width: 100px;
            height: 100px
        }
}

div.tren {
    font-size: 0px;
    width: 100%;
    text-align: center;
    padding: 30px 0px 30px 0px;
    margin: 3px 0px 3px 0px;
    border-top: 1px #bcdae3 solid
}

    div.tren div.tf_foto {
        display: inline-block;
        width: 18%;
        font-size: 22px;
        vertical-align: top
    }

        div.tren div.tf_foto img {
            display: inline-block;
            width: 150px;
            height: 150px;
            border-radius: 75px
        }

        div.tren div.tf_foto span.fio {
            display: block
        }

    div.tren div.tr_txt {
        display: inline-block;
        width: 39%;
        font-size: 22px;
        vertical-align: top;
        text-align: left;
        padding-left: 20px
    }

    div.tren div.cont {
        display: inline-block;
        width: 22%;
        font-size: 22px;
        vertical-align: top;
        text-align: left;
        padding-left: 20px;
        color: #006ca5
    }

        div.tren div.cont span.fa {
            color: #42c2f4;
            margin-right: 6px
        }

        div.tren div.cont a {
            text-decoration: none
        }

        div.tren div.cont span.title {
            display: block;
            font-size: 18px;
            padding: 5px;
            margin-left: 15px
        }

        div.tren div.cont span.phone {
            display: block;
            font-size: 18px;
            padding: 5px;
            margin-left: 15px;
            font-weight: bold;
            white-space: nowrap
        }

        div.tren div.cont span.email {
            display: block;
            font-size: 18px;
            padding: 5px;
            margin-left: 15px;
            font-weight: bold;
            white-space: nowrap
        }

        div.tren div.cont span.button {
            display: inline-block;
            margin-top: 30px;
            margin-left: 20px;
            white-space: nowrap
        }

@media ( max-width:1600px ) {
    div.tren div.tf_foto {
        font-size: 18px
    }

        div.tren div.tf_foto img {
            width: 120px;
            height: 120px
        }

    div.tren div.tr_txt {
        font-size: 18px
    }

    div.tren div.cont {
        font-size: 18px;
        padding-left: 10px
    }

        div.tren div.cont span.title {
            font-size: 15px;
            margin-left: 10px
        }

        div.tren div.cont span.phone {
            font-size: 15px;
            margin-left: 10px
        }

        div.tren div.cont span.email {
            font-size: 15px;
            margin-left: 10px
        }
}

@media ( max-width:1400px ) {
    div.tren div.tf_foto {
        width: 20%
    }

    div.tren div.tr_txt {
        width: 70%;
        padding-bottom: 10px
    }

    div.tren div.cont {
        display: block;
        width: auto;
        text-align: center
    }

        div.tren div.cont span.title {
            display: none
        }

        div.tren div.cont span.phone {
            display: inline-block
        }

        div.tren div.cont span.email {
            display: inline-block
        }

        div.tren div.cont span.button {
            display: inline-block;
            margin-top: 10px;
            margin-left: 0px
        }
}

@media ( max-width:600px ) {
    div.tren div.tf_foto img {
        width: 100px;
        height: 100px
    }

    div.tren div.tf_foto {
        font-size: 15px
    }

    div.tren div.tr_txt {
        font-size: 15px
    }
}

@media ( max-width:500px ) {
    div.tren div.tf_foto {
        display: inline-block;
        width: auto;
        float: left;
        margin: 0px 15px 10px 10px
    }

    div.tren div.tr_txt {
        display: block;
        width: auto;
        padding-right: 15px
    }
}
