﻿
/*OUR STYLES START HERE*/
body {
    background-color: #F5F5F7;
    padding-bottom: 3rem;
    /*font-family: Arial, Helvetica, sans-serif*/
}

/* Отменяем подчеркивание у ссылки */
a {
    text-decoration: none;
}
/* unvisited link */

/*a:link- {
        color: orangered;
    }*/


/* visited link */

/*a:visited {
        color: orangered;
    }*/


/* mouse over link */

/*a:hover {
        color: #ff0000;
    }*/


/* selected link */

/*a:active {
        color: #ff4500;
    }*/

.morespace {
    margin-bottom: 80px;
}

blockquote {
    background: #fff1eb;
    border-left: 10px solid #ff9b76;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}

    blockquote:before {
        color: #ccc;
        content: open-quote;
        font-size: 4em;
        line-height: 0.1em;
        margin-right: 0.25em;
        vertical-align: -0.4em;
    }

    blockquote p {
        display: inline;
    }

.business-header {
    min-height: 70vh;
    /*min-height: 400px;*/
    background: url('/Content/Images/mainheader_2.jpg') center center no-repeat scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    border-radius: 5px;
    padding: 25px;
    text-shadow: 2px 1px 4px #555;
}

/*White rounded space*/

.whsp {
    background-color: white;
    border-radius: 5px;
    margin: 15px 0 15px 0;
    padding: 15px;
}

span {
    color: rgba(0, 0, 0, .9)
}

.pvw-title span {
    color: orangered;
}

@media screen and (max-width: 375px) {
    .pvw-title span {
        display: none;
    }

    .pvw-title:after {
        content: 'Вызов';
    }

    #mainBtn {
        margin-right: 0px;
    }
}

.bottom-left {
    display: block;
    position: absolute;
    bottom: 0;
    padding: 0 15px 10px 20px;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    color: #fff;
}


/* Italic for card text */

p.card-text {
    font-style: oblique;
}


/* Grid system */

.grid {
    display: grid;
    grid-gap: 15px;
    grid-template-areas: "mainimage" "navline" "content" "releatedtopics" "tags" "help" "chat";
}

mainimage {
    grid-area: mainimage;
}

navline {
    grid-area: navline;
}

content {
    grid-area: content;
}

releatedtopics {
    grid-area: releatedtopics;
}

tags {
    grid-area: tags;
}

help {
    grid-area: help;
}

chat {
    grid-area: chat;
}

footer {
    grid-area: footer;
}

@media (min-width: 640px) {
    .grid {
        grid-template-columns: 5fr 2fr;
        grid-template-areas: "mainimage mainimage" "navline navline" "content releatedtopics" "content tags" "content help" "chat ." "footer footer"
    }
}

.grid > * {
    background-color: #fff;
    border-radius: 5px;
    padding: 8px 20px;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
}

    /* Main image block */

    .grid > *:nth-child(1) {
        border-radius: 0px 0px 5px 5px;
        padding: 0px;
        margin: 0px;
        display: inline-block;
        position: relative;
    }

.layer {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0px 0px 5px 5px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0px;
}


/* navigation block */

.grid > *:nth-child(2) {
    padding: 0px 0px 0px 20px;
    background-color: #F5F5F7;
}


/* content block */

.grid > *:nth-child(3) {
    box-shadow: 0px 4px 10px #0000000f;
}

    .grid > *:nth-child(3) img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        margin-left: auto;
        margin-right: auto;
        border-radius: 5px;
    }

    .grid > *:nth-child(3) iframe::before {
        display: block;
        content: "";
        padding-top: 56.25%;
    }

    .grid > *:nth-child(3) iframe {
        position: relative;
        display: block;
        padding: 0;
        overflow: visible;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

@media screen and (min-width: 601px) {
    div .headtext {
        font-size: 40px;
    }
}

@media screen and (max-width: 600px) {
    div.headtext {
        font-size: 24px;
        margin: 0px;
    }

    .dropdown-menu.active {
        border: 0px
    }

    .cloud li {
        padding: 20px;
        margin: 10px;
    }

    .grid {
        grid-gap: 0px;
        grid-template-columns: 100%;
        grid-template-areas: "mainimage" "navline" "content" "help" "releatedtopics" "tags" "chat"
    }

        .grid > * {
            margin-left: 0px;
            margin-right: 0px;
        }

            .grid > *:nth-child(2) {
                margin-top: 10px;
                margin-bottom: 10px;
            }

            .grid > *:nth-child(6) {
                margin-top: 15px;
            }
}


/* releated block */

.grid > *:nth-child(4) {
    background-color: #F5F5F7;
    padding: 0px;
}

/* tags block */

.grid > *:nth-child(5) {
    background-color: #F5F5F7;
    padding: 0px;
}

/* help block */

.grid > *:nth-child(6) {
    background-color: #F5F5F7;
    padding: 0px;
}

/* chat block */

.grid > *:nth-child(7) {
    box-shadow: 0px 4px 10px #0000000f;
}

/* Second panels */
.widget {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 4px 10px #0000000f;
    border: none;
    margin-bottom: 20px;
    color: #000;
    padding: 20px;
}

/* Footer Grid system */
.grid-footer {
    display: grid;
    grid-gap: 15px;
    grid-template-areas: "name" "adress" "phone";
}

name {
    grid-area: name;
}

adress {
    grid-area: adress;
}

phone {
    grid-area: phone;
}

@media screen and (min-width: 601px) {
    .grid-footer {
        grid-gap: 15px;
        grid-template-columns: 3fr 2fr 2fr;
        grid-template-areas: "name adress phone";
    }
}

@media screen and (max-width: 600px) {
    .grid-footer {
        grid-gap: 0px;
        grid-template-columns: 100%;
        grid-template-areas: "name" "adress" "phone";
    }

        .grid-footer > * {
            margin-left: 0px;
            margin-right: 0px;
            text-align: center;
        }
}

.grid-footer > *:nth-child(1) {
    text-align: center;
}


/* Tag cloud */

.cloud {
    display: inline;
    list-style-type: none;
    padding: 10px;
}

    .cloud li {
        list-style: none;
        display: inline;
        color: #00baff;
    }

        .cloud li:nth-of-type(3n+1) {
            font-size: 0.85em;
        }

        .cloud li:nth-of-type(4n+3) {
            font-size: 1.15em;
        }

        .cloud li:nth-of-type(5n - 3) {
            font-size: 1em;
        }


/* For hr */

hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
}


/* Center brand name */

.navbar .navbar-brand {
    /*padding-top: 8px;*/
    padding-left: 0px;
}


/* Recolor buttons */

.btn-outline {
    color: #FF4500;
    background-color: transparent;
    background-image: none;
    border-color: #FF4500
}

    .btn-outline:hover {
        color: #ffffff;
        background-color: #FF4500;
        border-color: #FF4500;
    }


    .btn-outline.focus,
    .btn-outline:focus {
        box-shadow: 0 0 0 .2rem rgba(255, 69, 0, .5)
    }

    .btn-outline.disabled,
    .btn-outline:disabled {
        color: #FF4500;
        background-color: transparent
    }

    .btn-outline:not(:disabled):not(.disabled).active,
    .btn-outline:not(:disabled):not(.disabled):active,
    .show > .btn-outline.dropdown-toggle {
        color: #ffffff;
        background-color: #FF4500;
        border-color: #FF4500
    }

        .btn-outline:not(:disabled):not(.disabled).active:focus,
        .btn-outline:not(:disabled):not(.disabled):active:focus,
        .show > .btn-outline.dropdown-toggle:focus {
            box-shadow: 0 0 0 .2rem rgba(255, 69, 0, .5)
        }

.btn {
    color: #ffffff;
    background-color: #FF4500;
    border-color: #FF4500
}

    .btn:hover {
        color: #ffffff;
        background-color: #FF4500;
        border-color: #FF4500
    }

    .btn.focus,
    .btn:focus {
        box-shadow: 0 0 0 .2rem rgba(255, 69, 0, .5)
    }

    .btn.disabled,
    .btn:disabled {
        color: #ffffff;
        background-color: #FF4500;
        border-color: #FF4500
    }

    .btn:not(:disabled):not(.disabled).active,
    .btn:not(:disabled):not(.disabled):active,
    .show > .btn.dropdown-toggle {
        color: #ffffff;
        background-color: #FF4500;
        border-color: #FF4500
    }

        .btn:not(:disabled):not(.disabled).active:focus,
        .btn:not(:disabled):not(.disabled):active:focus,
        .show > .btn-warning.dropdown-toggle:focus {
            box-shadow: 0 0 0 .2rem rgba(255, 69, 0, .5)
        }

.btn-outline-warning {
    color: #FF4500;
    background-color: transparent;
    background-image: none;
    border-color: #FF4500
}

    .btn-outline-warning:hover span {
        cursor: pointer;
        color: white;
    }

    .btn-outline-warning:hover {
        color: #ffffff;
        background-color: #FF4500;
        border-color: #FF4500
    }



    .btn-outline-warning.focus,
    .btn-outline-warning:focus {
        box-shadow: 0 0 0 .2rem rgba(255, 69, 0, .5)
    }

    .btn-outline-warning.disabled,
    .btn-outline-warning:disabled {
        color: #FF4500;
        background-color: transparent
    }

    .btn-outline-warning:not(:disabled):not(.disabled).active,
    .btn-outline-warning:not(:disabled):not(.disabled):active,
    .show > .btn-outline-warning.dropdown-toggle {
        color: #ffffff;
        background-color: #FF4500;
        border-color: #FF4500
    }

        .btn-outline-warning:not(:disabled):not(.disabled).active:focus,
        .btn-outline-warning:not(:disabled):not(.disabled):active:focus,
        .show > .btn-outline-warning.dropdown-toggle:focus {
            box-shadow: 0 0 0 .2rem rgba(255, 69, 0, .5)
        }

.btn-warning {
    color: #ffffff;
    background-color: #FF4500;
    border-color: #FF4500
}

    .btn-warning:hover {
        color: #ffffff;
        background-color: #FF4500;
        border-color: #FF4500
    }

    .btn-warning.focus,
    .btn-warning:focus {
        box-shadow: 0 0 0 .2rem rgba(255, 69, 0, .5)
    }

    .btn-warning.disabled,
    .btn-warning:disabled {
        color: #ffffff;
        background-color: #FF4500;
        border-color: #FF4500
    }

    .btn-warning:not(:disabled):not(.disabled).active,
    .btn-warning:not(:disabled):not(.disabled):active,
    .show > .btn-warning.dropdown-toggle {
        color: #ffffff;
        background-color: #FF4500;
        border-color: #FF4500
    }

        .btn-warning:not(:disabled):not(.disabled).active:focus,
        .btn-warning:not(:disabled):not(.disabled):active:focus,
        .show > .btn-warning.dropdown-toggle:focus {
            box-shadow: 0 0 0 .2rem rgba(255, 69, 0, .5)
        }



/* Show it is fixed to the top */

.navbar-light .navbar-brand {
    color: rgba(255, 69, 0, .9)
}

    .navbar-light .navbar-brand:focus,
    .navbar-light .navbar-brand:hover {
        color: rgba(255, 69, 0, .9)
    }

.navbar-brand-dark {
    color: rgba(0, 0, 0, .9)
}

.navbar {
    color: #0fa4fc;
    background-color: #fff;
    border-bottom: 1px solid #D9D9D9;
}

.navbar-light {
    color: #ff4500;
}

body {
    padding-top: 4.5rem;
}

.navbar.navbar-brand {
    color: #ff4500;
}


/* Sticky footer styles*/

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 70px;
    /* Margin bottom by footer height */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 1%;
    margin: 0px;
    background-color: #3C3C3C;
}

@media screen and (max-width: 600px) {
    body {
        margin-bottom: 140px;
    }
}
