﻿/* Alex header*/
div#header {
    height:92px;
    background: #e2e2e2;
    background: linear-gradient(#778899, #e2e2e2);
    box-shadow: 0 2px 1px #9c9c9c; /* Затеняет просвет созданный border-radius в меню*/
    /*border-top: 1px solid #e2e2e2;*/
}

.navbar {
    /*min-height: 50px;*/
    /*height: 30px !important;*/
    /*height: 30px !important;*/
    /*margin-bottom: 0px;*/
    /*overflow: visible;*/
}
.navbar-expand-lg {
    background-color: #fafafa;
    background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
    background-repeat: repeat-x;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.067);
    min-height: 43px;
    padding-left: 20px;
    /*padding-right: 20px;*/
    }

.navbar-nav {
    /*left: 10px;*/
    /*margin-left: 10px;*/
    /*padding-left: 20px;*/
    /*position: fixed;*/
    /*float:left;*/
    /*left: 0px;*/
}

.dropdown-item {
	font-size: .85em;
}

.navbar .divider-vertical {
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #ffffff;
    height: 30px;
    margin: 0 9px;
    top: 5px;
}
.navbar-nav>li {
       border-left: 1px solid #ffffff;
       border-right: 1px solid #f2f2f2;
      /*border-right: 1px solid gray;*/
      /*height: 100%;*/
}
.navbar-nav>li>a {
   /*margin-left: 10px;*/
}
.container {
    margin-left: 10px;  /*fixed left margin!*/
}

.navbar-expand-lg .navbar-nav > li.active-link > a{
	border-bottom: 1px solid #d42819;
	/*color: #8d8c8c;*/
}
/* Додаємо базовий прозорий бордюр для посилань */
.navbar-expand-lg .navbar-nav > li > a {
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}
    .navbar-expand-lg .navbar-nav > li.active-link > a,
    .navbar-expand-lg .navbar-nav > li > a:hover,
    .navbar-expand-lg .navbar-nav > li > a:focus {
        border-bottom-color: #d42819; /* Тепер border вже є, він просто стає видимим */
        background-color: #F5F5F5;
    }
.navbar-expand-lg .navbar-nav > .open > a, .navbar-expand-lg .navbar-nav > .open > a:focus, .navbar-expand-lg .navbar-nav > .open > a:hover {
    /*color: #555;*/
    background-color: #e7e7e7;
}
.navbar-toggle {
    position: relative;
    float: left;
    border-radius: 5px;
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
	.navbar-nav {
          position:relative;
    }
}


/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.navbar-brand{
		padding-right: 10px;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
    div#header img {
        /*background:#a7f07d;*/
        width: 70%;
        height: auto;
    }
    .footer-wrapper {
        /*visibility:hidden;*/
        height: 100px;
    }

    .col-sm-10 {
        margin:auto;
        position:center;
        /*width: 250px;*/
        width: auto;
    }

}