#nav{
    flex-grow: 0;
}

#phones{
    flex-grow: 0.3;
}
ul.phones{
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.phones li{
    height: 25px;
}
ul.phones li a{
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}
ul.phones li a:hover{
    color: initial;
}
ul.phones li a:before{
    margin-right: 5px;
    width: 21px;
}
ul.phones li.phone a:before,
ul.phones li.email a:before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
ul.phones li.phone a:before{
    content: "\f879";
}
ul.phones li.email a:before{
    content: "\f0e0";
}
ul.phones li.kyivstar a:before{
    content: " ";
    background-image: url(../img/ks.png);
    width: 21px;
    height: 20px;
    position: relative;
    top: 3px;
    display: inline-block;
    background-position: left center;
    background-size: 100% 100%;
}
ul.phones li.mts a:before,
ul.phones li.lifecell a:before,
ul.phones li.kyivstar a:before{
    content: " ";
    width: 21px;
    height: 20px;
    position: relative;
    top: 3px;
    display: inline-block;
    background-position: left center;
    background-size: 100% 100%;
}
ul.phones li.kyivstar a:before{
    background-image: url("../img/ks.png");
}
ul.phones li.lifecell a:before{
    background-image: url("../img/lifecell.png");
}
ul.phones li.mts a:before{
    background-image: url("../img/mts.png");
}

@media screen and (max-width: 991px){
    #phones{
        width: 100%;
    }
}

.navbar {
  margin-bottom: 20px;
}
.menu .nav-link:hover,
.menu .nav-link.active{
    color: rgb(163, 149, 110);
    background-color: white;
}
.menu>.nav-pills>.nav-item>.nav-link{
	background-color: rgb(163, 149, 110);
}
.menu>.nav-pills>.nav-item>.nav-link:hover{
    color: white;
}
.menu>.nav-pills>.nav-item>.nav-link.active{
    background-color: white;
    box-shadow: inset 0 0 6px 1px rgb(163, 149, 110);
    color: black;
}
.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: rgba(248, 230, 128, 0.9);
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: rgba(248, 230, 128, 0.9);
}
.navbar-expand-lg .navbar-nav .nav-link {
	border-radius: .25rem;
	margin: 2px;
	background-color: rgb(62, 56, 43);
	color: azure;
    white-space: nowrap;
}
.navbar-light{
	background-color: rgb(184, 171, 134);
}
.nav-item>.nav{
	margin-left: 20px;
	margin-right: 20px;
	background-color: rgb(255, 255, 255);
}
.dropdown-item {
	color: #ffffff;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: rgb(184, 171, 134);;
}
#main>.container>.row{
	margin-top: 20px;
}
a{
	color: black;
}
/*a>.navbar-brand>img{
	padding: 50px;
}*/
footer p{
    color: #3b3528;
	text-align: center;
}
footer, header{
	background:transparent;
}
.footer{
	background-color: rgb(184, 171, 134);
	margin-top: 20px;
    color: #3b3528;
}
/*.pb-3, .py-3{
	margin-top: 20px;
}*/
#lang + .dropdown-menu{
	background-color: rgb(62, 56, 43);
	min-width: auto;
}
#lang + .dropdown-menu a{
	padding: .25rem 1rem;
}

body{
	background-color: rgb(238, 236, 239);
}

.easyadmin-thumbnail:hover{
    text-decoration: none;
}
.easyadmin-thumbnail img{
    box-shadow: 0 0 0 2px var(--white),0 0 4px 1px var(--gray-600);
    margin-bottom: 2px;
    margin-top: 2px;
    max-height: 100%;
    /*max-width: 300px;*/
}
.navbar-nav .nav-link {
    padding-right: .5rem;
    padding-left: .5rem;
}
.nav-link{
    position: relative;
}
.nav-link .price{
    position: absolute;
    top: .5rem;
    right: 1rem;
    text-align: right;
}
.homepage .nav-link .price{
    top: 50%;
    margin-top: -12px;
}
.homepage .nav-link .price>span:first-child,
.homepage .nav-link .legend>span:first-child{
    margin-right: 5px;
}
.homepage .nav-link .price>span:last-child,
.homepage .nav-link .legend>span:last-child{
    margin-left: 5px;
}
.nav-link .name,
.nav-link small{
    display: inline-block;
    width: 100%;
    padding-right: 45px;
}
.homepage .nav-link .name,
.homepage .nav-link small{
    padding-right: 115px;
}
.nav-link .legend{
    position: absolute;
    top: 0;
    right: 1rem;
    text-align: right;
    font-size: 12px;
}
.homepage .nav-link .legend{
    top: 50%;
    margin-top: -12px;
    font-size: 14px;
}

.owl-carousel{
    position: relative;
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next{
    position: absolute;
    opacity: 1;
    top: 45%;
    width: 30px;
    height: 30px;
    background-color: #fff;
}
.owl-carousel .owl-nav .owl-prev{
    left: 0;
}
.owl-carousel .owl-nav .owl-next{
    right: 0;
}
.owl-carousel .owl-item .slide{
    height: 320px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
}
@media screen and (max-width: 991px){
    .owl-carousel .owl-item .slide{
        background-size: cover;
    }
}
.owl-carousel.small .owl-item .slide{
    background-size: contain;
}
.owl-carousel .owl-item .slide .slide-text{
    padding: 12px;
    position: absolute;
    background: rgba(255,255,255,0.6);
    width: auto;
    height: auto;
    min-height: 50px;
    min-width: 100px;
    transform: translate(-50%,0);
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    left: 50%!important;
    bottom: 0!important;
    cursor: pointer;
}

[draggable] {
    user-select: none;
    -webkit-user-drag: element;
    cursor: move;
}

table.sortable i.fa.fa-arrows {
    color: #999;
}
table.sortable tr.over {
    border: 1px dashed #0f74a8;
}
