.red{
	color:#DC141F;
}

.clear{
	clear:both;
}
::-webkit-input-placeholder {
   font-style: italic;
}
:-moz-placeholder {
   font-style: italic;  
}
::-moz-placeholder {
   font-style: italic;  
}
:-ms-input-placeholder {  
   font-style: italic; 
}
#iv-container{ /*use to override image view*/
	background: rgba(0,0,0,0.75);
}
.section{
	padding:3%;
}
/**contact section*/
#contact{
	background:#F7F5F6;
}
#contact h2{
	color:#0A41A8;
}
#contact form .container{
	width: 90%;
	max-width:760px;
	background-color: #FFFFFF;
	padding:0;
}

#contact .form-control ,.form-control:focus{
	padding-left:0;
	box-shadow: none;
	border: 0;
	border-bottom: 2px solid black;
	box-shadow: none;
}
#contact a{
	color : #0A41A8;
	text-decoration: underline;
	font-size: 1.2em;
}

#contact hr{
	border: 2px solid #DC141F;
	max-width:150px;
}

#contact .btn-primary {
    background: #DC141F;
    border-radius:0;
    border:0;
    padding-top: 15px;
    padding-bottom: 15px;
}

#contact .btn-primary:hover{
	background: #ed3640;
}

#contact form{
	margin-top: 20px;
	margin-bottom: 50px;
}
#contact .form-detail{
	padding:20px;
	clear:both;
	margin:0 auto;
}
#contact .form-element{
	padding: 3%;
}
#contact .form-element:last-child {
	clear:both;
	padding:0;
	margin:0 auto;
}


/**location section*/
#location{
	width:100%;
	margin:0;
	position: relative;
}
#location h2{
	color:#0942A9;
}
#location .background{
	position: absolute;
	left:0;
	right:0;
	top:0;
	width:100%;
	height:100%;
	filter:brightness(1);
	background: url(../img/location-background.jpg);
	opacity: 0.3;
	z-index:-1;
}
#location .container{
	max-width:640px;
	margin:0 auto;
	width:100%;
}
#location .location-element{
	display: block;
	background:#EEEEEE;
	height:40%;
	max-height:200px;
	margin:5% auto;
	filter:brightness(1.2);
	filter:grayscale(0.7);
	color:grey;
}
#location .location-element img{
	width:auto;
	height:100%;
	overflow: hidden;
}
#location .location-element .col p{
	margin-top:20px;
}
#location .location-element .col .icon{
	margin:0;
	font-size:28px;
	background:#CACACA;
	height:100%;
	width:100%;
	display:flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color:grey;
}
#location .location-element .col{
	overflow:hidden;
	height:100%;
}
#location .location-element .col:nth-child(odd){
	padding-left:0;
	padding-right: 0;
}
#location .location-element:hover{
	filter:none;
	color:black;
	box-shadow: 5px 5px 5px rgba(0,0,255,0.25);
}
#location .location-element:hover .col .icon{
	color:blue;
}
/**product section*/
#product{
	background:#124594;
	padding-top:20px;
}
#product > .container{
	position: relative;
	color:white;
	text-align:center;
}
#product h2{
	color: white;
}
#product .slick-slideshow{
	width:90%;
	height:50%;
	display: flex;
	align-items: center;
	margin:0 auto;
}
#product .slick-slide{
	width:100%;
	height:80%;
	margin:5px;
	overflow: hidden;
	display:grid;
	grid-template-columns:repeat(4, 1fr);
	grid-auto-rows:50%;
	grid-gap:10px;
}
#product .product-element{
	padding:0;
	height:100%;
}

#product .product{
	padding:0;
	overflow: hidden;
	display: flex;
	align-items: center;
	text-align: center;
	height:100%;
	width: 100%;
	background-color: #ECEBE9;
}
#product .product-small{
}
#product .product-big{
	grid-column:span 2;
	grid-row:span 2;
}
#product .product img{
	height:auto;
	width:100%;
	margin: 0 auto;
	display: inline-block;
	transform: scale(1.2, 1.2);
	transition-property: transform;
	transition-duration: .25s;
}
#product .product img:hover{
	transform: scale(1.35, 1.35);

}
#product .slideshow-btn{
	position: absolute;
	top:50%;
	width:48px;
	height:48px;
	font-size:30px;
	padding:18px;
	z-index:100;
	border-radius:50px;
	border:2px solid white;
	display: flex;
	align-items: center;
}
#product .slideshow-next{
	right:0;
}
#product .slideshow-prev{
	left:0;
}

@media (max-width: 991px) {
	#product .slick-slide{
		height:100%;
		grid-template-columns:repeat(2, 1fr);
		grid-auto-rows:23%;
	}
	#product .slideshow-btn{
		width:36px;
		height:36px;
		font-size:22px;
		padding:7px;
	}
}

/**toast message bar*/
/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 25%; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */

/* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}