html {
    min-height: 100%;
    position: relative;
}

body {
    background: url('/assets/resources/images/background.jpg');
    color:#777;
    font-family: Ubuntu, sans-serif;
    margin-bottom: 60px;
    padding-bottom:40px;
}

#loader {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.4);
    z-index: 10000;
    background-image: url('/assets/resources/images/spin.gif');
    background-repeat: no-repeat;
    background-position: center;
}

#loader:after {
    
}

.gray-link {
    color:#777;
}

.gray-link:focus, .gray-link:hover {
    color:#337ab7;
}

.text-primary {
    color:#337ab7 !important;
}

.text-gray {
    color:#333 !important;
}

.mg-top-lg {
    margin-top:60px !important;
}
.mg-bottom-lg {
    margin-bottom:60px !important;
}

sup {
    color:red;
}

h1, h2, h3 {
    color:#333333;
}

.title-under.text-center:after {
    left: 50%;
    margin-left: -34px;
}
.title-under {
    position:relative;
    margin-bottom: 20px;
}
.title-under:after {
    content: "";
    position: absolute;
    display: block;
    height: 5px;
    width: 68px;
    background: #3D9DCD;
    bottom: -10px;
}

/*******HEADER*********/
.navbar-nav > li > a{
    font-size: 15px;
    text-transform: uppercase;
    color: #333;
    font-weight: bolder;
}

.navbar-nav > li > a:visited, .navbar-nav > li > a:focus {
    outline:0;
}

.navbar-default {
    background: none;
    border:0;
}
.navbar-default .navbar-toggle {
    border-color: #777;
}

.navbar-default .navbar-collapse {
    border:none;
}

.dropdown .dropdown-menu > li > a {
    display: block;
    color: #777777;
    font-size: 1em;
    line-height: 1em;
    padding: 16px 7px 17px;
    text-decoration: none;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 300;
    margin: 0 15px;
}

.navbar-nav > li > a.cart-link {
    padding:12px 10px 10px;
}
.cart-link .icon-shopping_basket {
    font-size:22px;
}

.badge--cart {
    margin-left: -5px;
}

@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding: 10px 9px;
    }

    ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;
    }
    .navbar-nav > li > a .act-underline {
        display: inline-block;
        padding-bottom: 10px;
        padding-top: 5px;
        position: relative;
    }

    .navbar-nav > li:hover .act-underline:before {
        opacity: 1;
    }

    .navbar-nav > li > a .act-underline:before {
        content: "";
        position: absolute;
        bottom: 0px;
        display: block;
        background-color: #3D9DCD;
        height: 0.28em;
        width: 100%;
        left: 0;
        opacity: 0;
        -moz-transition: all 0.12s linear;
        -o-transition: all 0.12s linear;
        -webkit-transition: all 0.12s linear;
    }

    .nav .dropdown .dropdown-menu {
        width: 304px;
        margin-top: -9px !important;
        left:9px;
    }
}

@media (min-width: 1025px) {
    .navbar-nav > li > a {
        padding: 10px 15px;
    }

}

@media (max-width:767px) { 
    .custom-navbar .navbar-right {
        float: right;
        padding-right: 15px;
    }
    .custom-navbar .nav.navbar-nav.navbar-right li {
        float: left;
    }
    .custom-navbar .nav.navbar-nav.navbar-right li > a {
        padding:8px 5px;
    }
    .custom-navbar .nav.navbar-nav.navbar-right > li > a.cart-link {
        padding:5px 5px 10px;
    }
    .navbar-default .navbar-nav>.open>a, 
    .navbar-default .navbar-nav>.open>a:hover, 
    .navbar-default .navbar-nav>.open>a:focus {
        background:none;
    }
    .custom-navbar .navbar-toggle {
        float: left
    }
    .custom-navbar .navbar-header {
        float: left;
        width: auto!important;
    }
    .custom-navbar .navbar-collapse {
        clear: both;
        float: none;
    }
}


/*********FOOTER*********/
footer {
    position: absolute;
    bottom: 0;
    height: 60px;
    background-color: #f5f5f5;
    width:100%;
}

.footer .nav li a span {
    padding: 10px 0px;
    display: inline-block;
}

.footer .social-icons {
    margin-bottom: 0px;
    padding: 5px 0px;
    float:right;
}

.footer .social-icons .icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 27px;
    background-color: #3D9DCD;
    color: #fff;
    text-decoration: none;
    text-align:center;
    border-radius:50%;
}

.footer .social-icons .icon:hover {
    background-color: #fff;
    color: #3D9DCD;
}

@media (max-width:767px) {
    footer {
        height:120px;
    }

    body {
        margin-bottom: 120px;
    }

    .footer .nav {
        margin: 0 auto;
        text-align: center;
    }

    .footer .nav li{
        display:inline-block;
    }

    .footer .social-icons {
        float:none;
        text-align:center;
    }
}

@media (max-width:530px) {
    .footer .nav li a{
        padding: 10px 5px;
    }
}

@media (max-width:480px) {
    .footer .nav li a{
        padding: 10px 0px;
    }

}

@media (max-width:440px) {
    .footer .nav li {
        width:100%;
    }

    footer {
        height:240px;
    }

    body {
        margin-bottom: 240px;
    }

}

/**********HERO IMAGE*************/

.hero-img {
    height: 180px;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .hero-img {
        height: 300px;
    }
}

/*********MODALS*********/
.modal-md {
    max-width: 420px;
    width:100%;
}

.modal .modal-content .close {
    position: absolute;
    right: 25px;
    top: 25px;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

@media (min-width: 768px) {
    .modal .modal-body {
        padding: 30px 60px;
    }
    .modal .modal-header {
        padding: 45px 60px 20px;
    }
    .modal .modal-footer {
        padding: 30px 20px;
    }
}

.alert_message{
    position: fixed;
    max-width:96%;
    width:500px;
    right:2%;
    top:15px;
    z-index:9999999;
    text-align:center;
}

/**********FORMS*************/
.form-control {
    background-color: #DFDFDF;
    border: none;
    border-bottom: 2px solid #DFDFDF;
    -khtml-border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #333;
    height: 40px;
    margin-bottom: 20px;
    padding: 5px 15px;
}

.form-control:focus  {
    border:none;
    border-bottom: 2px solid #3D9DCD;
    box-shadow: none;
}

.btn {
    background-color: #3D9DCD;
    border: none;
    -khtml-border-radius: 2px 2px 2px 2px;
    -webkit-border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #FFF;
    font-weight: 700;
    overflow: hidden;
    padding: 12px 30px;
    text-transform: uppercase;
    -webkit-transition: .1s opacity ease-out;
    -moz-transition: .1s opacity ease-out;
    -o-transition: .1s opacity ease-out;
    transition: .1s opacity ease-out;
}

.btn:focus, .btn:hover {
    color: #FFF;
    opacity: .88;
}

.btn-block {
    display: block;
    width: 100%;
}

.error {
    border: 1px solid #d54141;
}

/*********PAGINATION************/
ul.pagination {
    display: inline-flex;
    margin: 20px 10px;

}
ul.pagination>li {
    padding: 5px;
    list-style: none;
}
ul.pagination>li a{
    border-radius: 4px;
}
ul.pagination>li a:hover{
    background-color: #337ab7;
    border-color: #337ab7;
    color:#fff;
}


/********HOME PAGE*************/
.hero-unit img {
    width:100%;
    height:auto;
}

.box-baners .banner {
    display: block;
    overflow:hidden;
    margin-bottom: 20px;
}

.box-baners .banner img {
    max-width:100%;
    transition: 0.3s;
}

.box-baners a:hover img {
    transform: scale(1.1);
}

.slick-arrow:hover:before {
    color:#fff;
}

.home-page-text h2 {
	font-size:36px;
	font-style:italic;
	text-align:center;
	color:#006699;
	font-family:times new roman,times,serif;
	font-weight:bold;
	margin-bottom: 25px;
}

.home-page-text p {
	font-style:italic;
	text-align:center;
	color:#006699;
	font-family:times new roman,times,serif;
	font-weight:bold;
	font-size:28px;
	text-align:justify;
}

@media (max-width: 991px) {
    .home-page-text h2 {
		font-size:30px;
	}
	
	.home-page-text p {
		font-size:25px;
	}
}

@media (max-width: 767px) {
    .home-page-text h2 {
		font-size:28px;
	}
	
	.home-page-text p {
		font-size:22px;
	}
}

@media (max-width: 480px) {
    .home-page-text h2 {
		margin-top: 0px;
		font-size:23px;
	}
	
	.home-page-text p {
		font-size:18px;
	}
}

/***********CATALOG PAGE****************/
.product-listing .product {
    height: 470px;
}
.product-listing .product-image {
    margin-bottom:30px;
    max-height:370px;
}
.product-listing .product-image img {
    max-height:370px;
    max-width: 100%;
    transition: 0.3s;
}
.product-listing .product:hover img {
    transform: scale(1.1);
}

.product-listing .product:hover .product-title{
    text-decoration: underline;
}

.product-listing .product .product-title {
    display: block;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/************PRODUCT PAGE***************/
.product-info .product-main-image img {
    width:100%;
}

.product-info-description table {
    border-color: #333;
    font-size:18px;
    border-collapse: collapse;
}

.product-info-description table tbody tr td {
    border: 1px solid #777;
    padding-left: 40px;
}

.product-info-description table tr:first-child td {
    border-top: 0;
    width:40%;
}

.product-info-description table tr td:first-child {
    border-left: 0;
}
.product-info-description table tr td:last-child {
    border-right: 0;
}

.product-gallery .gallery-item {
    height: 230px;
    margin-bottom: 20px;
}

.product-gallery .gallery-item img {
    width:100%;
}

.product-gallery .gallery-item a.fancyimage {
    display: block;
    max-height: 230px;
    overflow-y: hidden;
}

.price-block {
    display:inline-block;
    justify-content: center;
}

.price-block .btn {
    padding:12px 20px;
}

.price-block input[name="quantity"]{
    height: 46px;
    width: 70px;
    padding-left: 10px;
    margin-right: 20px;
}
.price-block .price {
    font-size: 34px;
    margin-left: 20px;
    vertical-align: middle;
}

.price-block .qty-label {
    color: #333;
    font-weight: bold;
}

.product-page-description {
    color:#0066FF !important;
    background: none !important;
}

/************CONTACT US PAGE***************/
.contacts-list ul {
    list-style: none;
    padding-left:0px;
}

.contacts-list ul li {
    margin-bottom:10px;
    color:#333333;
}

.social-links ul {
    display:inline-flex;
}

.social-links ul li {
    margin-right:15px;
}

.contacts-list ul li span.fa, .social-links ul li a.fa {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 21px;
    background-color: #3D9DCD;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 50%;
}

/************* ALEXANDRIES PAGE*****************/
.masonry-css .item ul li span {
    font-size:16px;
}
.masonry-css .item ul li a {
    color:#333333;
    text-decoration: underline;
    cursor:pointer;
}

.masonry-css {
    padding: 0;
    column-gap: 30px;
    -moz-column-gap: 30px;
    -webkit-column-gap: 30px;
}
.masonry-css .item {
    display: inline-block;
    width: 100%;
}
.masonry-css .item img,
.masonry-css .item iframe {
    max-width: 100%;
    height: auto;
    display: block;
}
.masonry-css .item h2 {
    margin-top: 30px !important;
}
@media (max-width: 767px) {
    .masonry-css {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
    .masonry-css .item h2 {
        text-align: center;
    }
    .masonry-css ul {
        max-width: 400px;
        margin: 0 auto;
    }
}
@media (min-width: 768px) {
    .masonry-css {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}
@media (min-width: 992px) {
    .masonry-css {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}
@media (min-width: 1200px) {
    .masonry-css {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}
@media (min-width: 1770px) {
    .masonry-css {
        -moz-column-count: 5;
        -webkit-column-count: 5;
        column-count: 5;
    }
}

/***********GALLERY PAGE***********/

.mosaicflow__item { 
    padding:3px; 
    position:relative;
} 
.mosaicflow__column { 
    float:left; 
} 
.mosaicflow__item img { 
    display:block; 
    width:100%; 
    height:auto; 
    padding: 4px; 
    border-radius: 4px; 
} 
.mosaicflow__item:hover img { 
    opacity: 0.9; 
    filter: alpha(opacity=90); 
} 

.mosaicflow__item .gallery-label {
    position: absolute;
    top: 20%;
    margin: 20px;
    display:none;
    z-index:9;
}

.mosaicflow__item:hover .gallery-label {
    display:block;
}

.gallery-item-title {
    font-size: 22px;
    color: #fff;
    width: 100%;
    display: block;
}

.gallery-item-author {
    font-style: italic;
}

/*********** SHOPPING CART******************/
.shopping-cart-table {
  width: 100%;
  margin-top:20px;
}
.shopping-cart-table tr {
  border-bottom: 1px solid #777;
}
.shopping-cart-table th {
  border-top: 1px solid #777;
  color: #333333;
  font-weight: 500;
  padding: 11px 0;
}
.shopping-cart-table td {
  padding: 15px 0;
}
.shopping-cart-table td,
.shopping-cart-table th {
  border-right: 1px solid #777;
  vertical-align: top;
  text-align: center;
}
.shopping-cart-table td:first-child,
.shopping-cart-table th:first-child,
.shopping-cart-table td:last-child,
.shopping-cart-table th:last-child,
.shopping-cart-table td:nth-child(2),
.shopping-cart-table th:nth-child(2) {
  border-right: none;
}
.shopping-cart-table td:first-child,
.shopping-cart-table th:first-child {
  text-align: left;
}
.shopping-cart-table td:nth-child(1),
.shopping-cart-table th:nth-child(1) {
  width: 18.3%;
}
.shopping-cart-table td:nth-child(2),
.shopping-cart-table th:nth-child(2) {
  width: 22.7%;
  text-align: left;
}
.shopping-cart-table td:nth-child(3),
.shopping-cart-table th:nth-child(3) {
  width: 10%;
}
.shopping-cart-table td:nth-child(4),
.shopping-cart-table th:nth-child(4) {
  width: 14%;
}
.shopping-cart-table td:nth-child(5),
.shopping-cart-table th:nth-child(5) {
  width: 15%;
}
.shopping-cart-table td:nth-child(6),
.shopping-cart-table th:nth-child(6) {
  width: 15%;
}
.shopping-cart-table td:nth-child(7),
.shopping-cart-table th:nth-child(7) {
  width: 5%;
}
.shopping-cart-table__product-name {
    font-size: 16px;
    font-weight: 600;
 }
 .grand-total {
     font-size:21px;
     font-weight:500;
     margin-bottom:10px;
 }
 
 .place-order {
     width:100%;
 }
@media (max-width: 1200px) {
  .shopping-cart-table td,
  .shopping-cart-table th {
    vertical-align: middle;
  }
}
.shopping-cart-table .icon,
.shopping-cart-table .fa {
  font-size: 20px;
}
.shopping-cart-table__product-image {
  padding: 0 19px 0 0;
}
.shopping-cart-table__product-price {
  font-size: 30px;
  line-height: 1.1em;
  color: #3D9DCD;
}
@media (max-width: 1200px) {
  .shopping-cart-table__product-price {
    font-size: 20px;
  }
}
.shopping-cart-table__input {
  width: 77px;
  display: inline-block;
}
.shopping-cart-table__input input {
  text-align: center;
  color: #3D9DCD;
}
.shopping-cart-table a {
  color: #3D9DCD;
  -webkit-transition:  all 0.3s 0s ease;
  -moz-transition:  all 0.3s 0s ease;
  -ms-transition:  all 0.3s 0s ease;
  -o-transition:  all 0.3s 0s ease;
  transition:  all 0.3s 0s ease;
}
.shopping-cart-table a:hover {
  color: #333333;
}
.shopping-cart-table__product-name {
  margin-bottom: 20px;
}
.shopping-cart-table__product-name a {
  color: #3D9DCD;
}
.shopping-cart-table__list-parameters {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.shopping-cart-table__list-parameters li {
  padding: 0 0 7px 0;
  text-align: left;
  font-size: 16px;
}
.shopping-cart-table__list-parameters span {
  color: #333333;
  display: inline-block;
  margin-right: 6px;
}
@media (max-width: 767px) {
  .shopping-cart-table__delete {
    float: right;
    position: relative;
    top: -10px;
  }
  .shopping-cart-table__list-parameters li {
    padding: 0 0 2px 0;
    font-size: 14px;
  }
  .shopping-cart-table tbody,
  .shopping-cart-table td,
  .shopping-cart-table tr {
    display: block;
    border: 0;
    width: 100% !important;
    text-align: center !important;
  }
  .shopping-cart-table tr {
    border-bottom: 1px solid #e5e5e5;
  }
  .shopping-cart-table td:nth-child(1) {
    width: 30% !important;
    display: table-cell !important;
  }
  .shopping-cart-table td:nth-child(2) {
    width: 45% !important;
    display: table-cell !important;
    text-align: left;
  }
  .shopping-cart-table td:nth-child(3) {
    width: 20% !important;
    display: table-cell !important;
    text-align: left;
  }
  .shopping-cart-table td:nth-child(4),
  .shopping-cart-table td:nth-child(5),
  .shopping-cart-table td:nth-child(6),
  .shopping-cart-table td:nth-child(7) {
    display: none !important;
  }
  .shopping-cart-table thead {
    display: none;
  }
  .shopping-cart-table .price-mobile {
    font-size: 20px;
    font-weight: 500;
  }
}

/********** PROFILE *************/
#checkout .panel-body {
    border-top:none;
}
#checkout .panel-title {
    font-weight: bold;
    
}

#checkout .panel-heading {
    padding:0px;
}

#checkout .panel-title a{
    width: 100%;
    display: block;
    padding: 10px 15px;
    text-decoration: none;
}

#checkout .panel-title a:after {
    content:"\f0d7";
    font-family: "FontAwesome";
}

#checkout .panel-title a.collapsed:after {
    content:"\f0da";
    font-family: "FontAwesome";
}