﻿body, html {
    /*height: 100%;*/
}

body {
}

.header__main{
    padding:7px;
    background: linear-gradient(#222a54, #222a54);
    color:#fff;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5pt;
}

.header__main a{
    color: #fff;
}

.header__phone{
    text-align:right;
}

.toggler_down {
    font-size:35px;
    color:#0275d8;
}

.navbar-brand{
    font-family: Open Sans, sans-serif;
    text-align: left;
    font-size: 22px;
    font-weight: 800;
}

.nav-link {
    font-size: 16px;
    font-weight: bold;
}

#toTop {
    width:100px;
    border:1px solid #ccc;
    background:#f7f7f7;
    text-align:center;
    padding:5px;
    position:fixed;
    bottom:10px; /* отступ кнопки от нижнего края страницы*/
    right:20px;
    cursor:pointer;
    display:none;
    color:#000;
    font-family:verdana;
    font-size:16px;
    font-weight:bold;
}

@media (max-width:992px){
    #main-navbar {
        width:100%;
        background: #fff;
    }
    
    .header__main{
        margin-top: 60px;
    }
    
    .section__header h2{
        font-size:1.5rem;
    }
    
    .card img{
        max-width: 90%;
    }
}

.main__pic{
    max-height: 400px;
    overflow: hidden;
}
.main__pic img{
    width:100%
}
.align-right{
    text-align:right
}

.main__section1{
    text-align:center;
    background: #1b2247;
    color:#fff;
    padding-top: 20px;
    padding-bottom: 20px;
    
}
h2{
    text-transform:uppercase;
}
.main__section1 h3{
    text-transform:uppercase;
    font-size: 1.3rem;
    margin-top: 20px;
}
.section__header{
    margin-bottom:20px;
    margin-top:40px;
    text-align:center;
    width:100%;
}

.servise-block {
    margin-bottom: 20px;
}

.card {
    box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12), 0px 2px 4px -1px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.card h4{
    text-align:center;
}

.card img{
    margin: auto;
}

.card-text{
    max-height: 200px;
}

.btn-service {
    width:100%;
}

.form-control {
    margin-bottom:10px;
}

.btn-send {
    width:100%;
}

.footer {
    margin-bottom: 20px;
}

.footer p{
    text-align:center;
    font-size: 16px;
    font-weight: bold;
}

.footer_contacts{
    text-align:center;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer_contacts a{
    color: #000;
}

.service_img {
    margin: auto;
}

.center-block-service {
    position:relative;
    top:25%;
}

.service_header {
    margin-bottom: 20px;
}

.border_bottom {
    border-bottom: 2px solid #222a54;
    margin-top: 20px;
}

#crumbs {
    margin-top: 20px;
}

#crumbs ul li a {
    display: block;
    float: left;
    height: 30px;
    background: #3498db;
    text-align: center;
    padding: 0px 5px 0 20px;
    position: relative;
    margin: 0 5px 5px 0;     
    font-size: 18px;
    text-decoration: none;
    color: #fff;
}
#crumbs ul li{
    list-style:none;
    display: inline;
}

#crumbs ul li a:after {
    content: "";  
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #3498db;
    position: absolute; 
    right: -15px; 
    top: 0;
    z-index:2;
}

#crumbs ul li a:before {
    content: "";  
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #fff;
    position: absolute; left: 0; top: 0;    
}

#crumbs ul li:first-child a {
    border-top-left-radius: 10px; border-bottom-left-radius: 10px;
}
#crumbs ul li:first-child a:before {
    display: none; 
}
 
#crumbs ul li:last-child a {
    padding-right: 20px;
    border-top-right-radius: 10px; border-bottom-right-radius: 10px;
}
#crumbs ul li:last-child a:after {
    display: none; 
}
#crumbs ul li a:hover {
    background: #555;
}
#crumbs ul li a:hover:after {
    border-left-color: #555;
}
.navbar-toggleable-md .navbar-nav .nav-link {
padding-right: .9rem;
}
.navbar-nav{
    margin: 0 auto;
}

.card-footer{
text-align: center;
}

