/*----------------------- Preloader -----------------------*/
body.preloader-site {
    overflow: hidden;
}

.preloader-wrapper {
    height: 100%;
    width: 100%;
    background: #FFF;
	opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
}

.preloader-wrapper .preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 120px;
}

form {
	margin-bottom:5px;
}

h3 {
	margin: 0px;
}

h3 small {
	font-size: 18px;
	margin-left: 10px;
}

body .modal {
   	width: 90%;
    margin-left: -45%;
}

.m-b-5 {
	margin-bottom: 5px;
}

.m-t-5 {
	margin-top: 5px;
}

.m-t-10 {
	margin-top: 10px;
}

.m-l-5 {
	margin-left: 5px;
}

.m-r-5 {
	margin-right: 5px;
}

.p-r-15 {
	padding-right: 15px;
}

.p-l-15 {
	padding-left: 15px;
}

.center {
	text-align: center;
}

td.center {
	text-align: center;
}

td.right {
	text-align: right;
}

th.center {
	text-align: center;
}

th.right {
	text-align: right;
}

.centering {
	float:none;
	margin:0 auto
} 

.dropdown-backdrop {
  position: static;
}

legend {
	margin-bottom: 10px;
	line-height: 30px;
}

legend a {
	font-size: 60%;
}

.small {
	font-size: 11px;
}

.catalog-header {
	font-size: 120%;
	font-weight: bold;
	padding-top: 5px;
	height: 70px;
}

.catalog-row {
	display: table;
	width: 100%;
	
}

.catalog-col {
	display: table-cell;
	padding-left: 5px;
	padding-right: 5px;
	height: 100%;
}

.catalog-input {
	display: table;
}

.catalog-line {
	margin: 5px;
	border-bottom: 1px solid #E5E5E5;
}

.catalog-price-excl-vat, .catalog-price {
	font-weight: bold;
	font-size: 120%;
}

.catalog-price-incl-vat {
	font-size: 90%;
}

.catalog-img-containter {
	position: relative;
	display: table;
	width: 100%;
	height: 185px;
	min-height: 185px;
}

.catalog-img-desktop {
	display: table-cell;
	vertical-align: middle;
	text-align: center;	
	height: 300px;
}

.catalog-img-tablet {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	height: 300px;
}

.catalog-img-phone {
	width: 100%;
}

.catalog-img {
	width: 100%;
}

.catalog-action {
	position: absolute; 
	left:0px; 
	top: 0px;
}

td.basket_sn {
	padding-left: 20px;
	font-size: 90%;
}

#imgMain {
  cursor: pointer;
  transition: 0.3s;
}

#imgMain:hover {
	opacity: 0.7;
}

/* The Modal (background) */
.img-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.img-modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* The Close Button */
.img-modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .img-modal-content {
    width: 100%;
  }
}

/* Next & previous buttons */

.img-prev,
.img-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 40px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 80px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.img-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.img-prev:hover,
.img-next:hover {
	color: white;
	text-decoration: none;
	background-color: rgba(0, 0, 0, 0.8);
}

.table td .no-border {
	border-top: 0px;
	border-bottom: 1px solid #dddddd;
}
