html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-wrap {
    min-height: 100%;
    /* equal to footer height */
    margin-bottom: -80px;
}
.page-wrap:after {
    content: "";
    display: block;
}

.footer, .page-wrap:after {
    /* .push must be the same height as footer */
    min-height: 80px;
    overflow: hidden;

}
.footer{
    background: #127AA3;
    border-top: 4px solid #0B5B8C;
}

.footer-container{
    width:1020px;
    margin: auto;
    color: #fff;
}

body{
    background: url('../img/bg-1.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.container{
    width:1020px;
    margin: auto;
    padding: 0;
    min-height: 100%;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .footer{
        width: 1020px;
    }
    .page-wrap {
        min-height: 100%;
        margin-bottom: 0;
    }
}

@media only screen and (max-device-width: 480px) {

    .footer{
        width: 1020px;
    }
    .page-wrap {
        min-height: 100%;
        margin-bottom: 0;
    }

}

.main{
    background: white;
    -webkit-border-radius:5px;
    -moz-border-radius: 5px;
    border-radius:5px;
    margin-top: 7px;
    -webkit-box-shadow: rgba(0,0,0,0.5) 0  12px;
    box-shadow: rgba(0,0,0,0.5) 0 0 12px;
    border-color: #adb4a5;
}
.main-content{
    padding: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.logo_nav{
    border: 1px solid transparent;
    margin: -20px 0 -10px;
}

.logo_nav a img{
    float: left;
    margin: 0 0 0 -7px;
}
.logo_nav h2{
    font-size: 40px;
    padding: 8px 0 0 130px;
    color: #EB7E5F;
    font-weight: bold;
    font-family: 'Lobster', cursive;
}

#cssmenu,
#cssmenu ul,
#cssmenu li #cssmenu a {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 12px;
    line-height: 1;
}
#cssmenu {
    width: auto;
    margin-bottom: 20px;
}
#cssmenu ul {
    zoom: 1;
    float: right;
    margin-left: 20px;
}
#cssmenu ul:before {
    content: '';
    display: block;
}
#cssmenu ul:after {
    content: '';
    display: table;
    clear: both;
}
#cssmenu a,
#cssmenu a:link,
#cssmenu a:visited {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: #ffffff;
}
#cssmenu a.noglyphicon {
    padding: 10px 10px 12px 10px !important;
}
#cssmenu a:hover {
    color: black;
}
#cssmenu li {
    float: left;
    background-color: #127CA5;
}
#cssmenu ul>li>ul>li>a{
    width: 150px;
    margin-left: -20px;
    background-color: #127CA5;
}
#cssmenu ul>li>ul>li>a:hover{
    background-color: #fff;
}
.top-nav-active{
    background: #e7f7fd;
    color:black !important;
}
#cssmenu li:hover{
    background: white;
}

#cssmenu .bg-orange{
    background: #E9714E;
}
#cssmenu .bg-orange .top-nav-active{
    background: #ffebe6;
}

#nav {
    width: 100%;
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #1178A1;
    font-family: arial, sans-serif;
    -webkit-border-radius:5px 5px 0 0 ;
    -moz-border-radius:5px 5px 0 0 ;
    border-radius:5px 5px 0 0 ;
}
#nav li {
    float: left;
}
#nav li a {
    display: block;
    padding:17px;
    text-decoration: none;
    color: white;
    border-right: 1px solid #0F6688;
    text-transform: uppercase;
    font-weight: bolder;
    color:#efefef;
}
#nav li a:hover {
    color: #fff;
}


.image-banner{
    position: relative;
    display: inline-block;
    height: 30px;
    width: 40px;
    background: url('../img/banner.png');
}
.icon {
    display: inline-block;
    margin: -13px 15px 0 11px;
    vertical-align: middle;
}

.icon-coupon {
    width: 35px;
    height: 30px;
    background-image:url('../img/kupon.png');
}

.icon-coupon-active {
    width: 35px;
    height: 30px;
    background-image:url('../img/kupon-active.png');
}
.icon-banner {
    width: 40px;
    height: 30px;
    background-image:url('../img/banner.png');
}
.icon-banner-active {
    width: 40px;
    height: 30px;
    background-image:url('../img/banner-active.png');
}

.icon-booklet {
    width: 35px;
    height: 30px;
    background-image:url('../img/buklet-active.png');
}

.icon-booklet-active {
    width: 35px;
    height: 30px;
    background-image:url('../img/buklet.png');
}

#nav a.general-menu-active{
    color:#539CB8;
    background-image: -webkit-linear-gradient(top, #fff, #f4f4f4);
    background-image: -moz-linear-gradient(top, #fff, #f4f4f4);
    background-image: -o-linear-gradient(top, #fff, #f4f4f4);
    background-image: linear-gradient(to bottom, #fff, #f4f4f4);
    -webkit-border-radius:5px 0 0 0 ;
    -moz-border-radius:5px 0 0 0 ;
    border-radius:5px 0 0 0 ;
}
#nav a.general-menu-active:hover,#nav a.general-menu-active-baner:hover{
    color:#539CB8;
}
#nav a.general-menu-active-baner{
    color:#539CB8;
    background-image: -webkit-linear-gradient(top, #fff, #f4f4f4);
    background-image: -moz-linear-gradient(top, #fff, #f4f4f4);
    background-image: -o-linear-gradient(top, #fff, #f4f4f4);
    background-image: linear-gradient(to bottom, #fff, #f4f4f4);
}

#nav2{
    background-image: -webkit-linear-gradient(top, #f4f4f4, #eaeaea);
    background-image: -moz-linear-gradient(top, #f4f4f4, #eaeaea);
    background-image: -o-linear-gradient(top, #f4f4f4, #eaeaea);
    background-image: linear-gradient(to bottom, #f4f4f4, #eaeaea);
}
#nav2 ol ol {
    display: none;
}

#nav2 ol li:hover > ol {
    display: block;
}
/*styles*/
#nav2 ol {
    padding: 0;
    list-style: none;
    position: relative;
    display: inline-table;
    z-index: 100;
}
#nav2 ol:after {
    content: ""; clear: both; display: block;
}

#nav2 ol li {
    float: left;

}

#nav2 ol li a:hover {
    color: #0F6688;

}
#nav2 .active-submenu{
    color: #0F6688;
}

#nav2 ol li a {
    display: block;
    color: black;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 15px 0;
}
#nav2 ol ol {
    background-image: -webkit-linear-gradient(top, #f4f4f4, #eaeaea);
    background-image: -moz-linear-gradient(top, #f4f4f4, #eaeaea);
    background-image: -o-linear-gradient(top, #f4f4f4, #eaeaea);
    background-image: linear-gradient(to bottom, #f4f4f4, #eaeaea);
    border-radius: 0px;
    padding: 0;
    position: absolute;
}
#nav2 ol ol li {
    float: none;
    position: relative;
}
#nav2 ol li ol {
    z-index: 1000;
}
#nav2 ol ol ol {
    position: absolute; left: 100%; top:0;
}

@media screen and (max-width: 600px) {

    #nav2 ol li a{
        pointer-events: none;
    }

    #nav2 ol ol li a {
        pointer-events: auto;
    }

}

.thumbnail{
    word-wrap: break-word;
}

.caption h2{
    font-size:12pt;
    height: 60px;
    margin:0px;
}

.caption{
    overflow: hidden;
}


.caption p{
    height: 40px;
}

.thumbnail:hover{
    -webkit-box-shadow: rgba(0,0,0,0.35) 0 0 7px;
    box-shadow: rgba(0,0,0,0.35) 0 0 7px;
}
.price{
    color: #1178A1;
    font-weight: bold;
    font-size:13pt;
}
.discount{
    color:#EB7E5F;
    font-size: 14px;
    line-height: 38px;
    vertical-align: middle;
}
.discount-small{
    text-decoration: line-through;
}

.block{
    float:left;
    width:340px;
    padding:0 10px;
}
h1.product-title{
    font-size: 22px;
    margin: 10px 0;
}

h5.product-title{
    font-size:18px;
    margin:10px 0;
}

.bord{
    border: 1px solid lightgray;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    margin: 5px;
    padding: 5px;
}

.product-price-title{
    font-size: 20px;
}
.product-price{
    font-size: 22px;
    color: #EB7E5F;
    font-weight: bold;
}
.bold{
    font-weight: bold;
}
.price-discount{
    font-weight: bold;
    font-size: 16px;
}
.img-thumbnail {
    border: none;
}
.table td{
    border: none !important;
}
.dropdown-menu {
    box-shadow: none
}

.open .dropdown-toggle{
    color: black !important;
}
#cssmenu .dropdown-menu {
    background-color: transparent;
}

.seach-box{
    float: right;
    width:300px;
    padding: 11px 10px 0 0;
}

.thumbnail .cap-image{
    height: 143px;
    text-align: center;
}

.cap-image img{
    max-height: 143px;
    max-width: 310px;
    text-align: center;
    vertical-align: middle;
}

/*.form-control{
    height: auto;
}*/

.alert {
    padding: 5px;
    margin-bottom: 10px;
}

.table>thead>tr>th>h4{
    font-size: 14px;
}

.table>tbody>tr>td{
    font-size: 13px;
}

ol.delivery-info{
    padding-left: 0;
    list-style: none;
}
.contacts{
    min-height: 100%;
    width: 200px;
    float: left;
}

.aligorex-logo{
    float: right;
    padding-top: 20px;
}

.coupone-descr > h1{
    font-size: 16px;
    margin: 0 0 30px;
}

.coupone-descr > p{
    margin-bottom: 5px;
}

.coupone-descr > p.price-block{
    font-size: 16px;
}

.coupone-descr > p.price-block > span.glyphicon{
    font-size: 14px;
}

.c-descr{
    height: 70px;
    overflow: hidden;
}

.breadnav h1{
    font-size: 16px;
    margin: 0;
    margin: 15px 0 0 15px;
    font-weight: bold;
}

table.banners-table tr td{
    vertical-align: middle;
}


.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

.fotorama__fullscreen-icon{
    width: 100% !important;
    height: 100% !important;
    background: none !important;
}
