﻿html, body {
    height: 100%;
}


html {
    font-size: 9px
}


body {
    font: 1.4rem 'Pt Sans', 'Raleway', Verdana, Geneva, 'DejaVu Sans', sans-serif;
    margin: 0;
}

.back {
    background-image: url("../../Content/image/snow.jpg");
}

img, video, iframe {
    max-width: 100%;
}

td img, video, iframe {
    max-width: none;
}

a {
    color: #3277b3;
}

.container {
    min-height: 100%;
    padding-bottom: 35px;
}


div[role=main] {
    margin-top: 10px;
    padding-left: 30px;
    padding-right: 30px
}

.pager {
    margin-top: 2em;
    margin-bottom: 50px;
    text-align: center
}

    .pager div.btn-group {
        text-align: left;
        width: inherit;
        display: inline-block;
    }

input[type], button, textarea {
    font: inherit !important;
}

header {
    background-color: #d9534f;
    width: 100%;
    height: 5px
}

.blog-header {
    text-align: center
}

    .blog-header img {
        width: 200px;
    }

    .blog-header .h-title {
        font-size: 2rem
    }

    .blog-header .h-descr {
        font-size: 1rem;
        font-weight: normal
    }

/*#endregion */

.slideClone img {
    float: left;
}

.blog-aside {
    background-color: #e6e6e6
}

    .blog-aside em {
        text-align: center;
        margin-bottom: 40px;
        display: block;
    }

        .blog-aside em b {
            display: block;
            margin-bottom: 5px
        }

.categories {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: solid 2px grey
}

    .categories h3 {
        margin-top: 0px;
        margin-top: 0px;
        font-size: 2rem;
        padding: 2px 2px;
        background-color: #d9534f;
        color: white;
    }

    .categories ul {
        list-style-type: none;
        padding-inline-start: 0px;
        margin: 30px 30px;
        text-align: right
    }

        .categories ul li {
            padding-top: 3px;
        }

            .categories ul li.active {
                font-weight: bold
            }

            .categories ul li a {
                color: black;
            }

                .categories ul li a:hover {
                    font-weight: bold;
                    text-decoration: none
                }

            .categories ul li.active a {
                color: #bc3737
            }

.link_to_main {
    text-align: center;
    font-weight: bold;
    background: #fb8989;
    border-color: hsla(0, 0%, 0%, 0.5);
    border-radius: 10px;
    padding: 5px 5px;
    margin-bottom: 10px
}

    .link_to_main a, .link_to_main a:hover {
        color: white;
    }

        .link_to_main a:hover {
            text-decoration: none;
        }

    .link_to_main:hover {
        background-color: #d92f2a
    }

section.advertisement {
    height: 200px;
    width: auto;
    margin-bottom: 20px;
    border-bottom: solid 2px grey
}

    section.advertisement .ad-title {
        width: 100%;
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 10px;
        text-align: center
    }

    section.advertisement .ad-content img {
        width: 100%;
        height: auto
    }

section.contactus {
    text-align: center;
}

@media only screen and (min-width: 768px) {

    .categories ul li a {
        font-size: 1.3rem;
    }
}

h1 {
    font-size: 2rem
}

h2 {
    font-size: 1.7rem
}

h3 {
    font-size: 1.5rem
}

h4 {
    font-size: 1.4rem
}

#commentform {
    margin-top: 2em;
}

footer {
    margin-top: 20px;
    background-color: #2f2f2f;
    opacity: 0.8;
    color: white;
    font-family: "Roboto Condensed", Helvetica, Arial, sans-serif;
    border-top: solid 5px #d9534f;
}

    footer .f-block {
        margin-bottom: 10px
    }


        footer .f-block p {
            font-size: 1.2rem;
            text-indent: 7px;
        }

    footer .footer-menu {
        font-size: 1.2rem
    }

    footer a {
        color: #69b7fb
    }

    footer .container {
        padding-bottom: 0px;
    }

    footer i {
        padding-right: 5px
    }

@media (min-width: 768px) {
    html {
        font-size: 11px
    }
}

@media (min-width: 1024px) {
    html {
        font-size: 11px
    }
}

@media (min-width: 1400px) {
    html {
        font-size: 11px
    }
}

@media (min-width: 1700px) {
    html {
        font-size: 12px
    }
}

.f-copyright {
    font-size: 1rem
}

ul {
    list-style-position: inside;
}

nav#admin {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 5000;
    height: 100px;
    background-color: #f2f2f2;
    width: 100%;
}

body.admin {
    padding-top: 100px
}


.btn-pager.disabled, .btn-pager:disabled {
    color: #000;
    background-color: #e6e6e6;
    border-color: #e6e6e6;
    opacity: .3;
}

    .btn-pager.disabled:hover, .btn-pager:disabled:hover {
        color: #000;
        background-color: #e6e6e6;
        border-color: #e6e6e6;
    }

.btn-pager {
    color: #000;
    background-color: #e6e6e6;
    border-color: #e6e6e6;

    border-radius: 10px
}

    .btn-pager:hover {
        color: #fff;
        background-color: #fb8989;
        border-color: #fb8989;
    }