@import url("font.css");
@import url("header.css");
@import url("footer.css");
@import url("section.css");
@import url("product.css");
@import url("banner.css");
@import url("fadein.css");
@import url("index_below.css");

*{
	box-sizing:border-box;
	}
body {
	width: auto;
	margin: auto;
	line-height:auto;
	background-image: url(bg.jpg);
	background-size:cover;
	background-attachment: fixed;
}
.border_right{		
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCCCCC;
	padding-right:40px;
}
garisan{
	display:none;
	}
	

slidertext{
	position: absolute;
	margin:auto;
	top:30%;
	left:0;
	right:0;
	display:inline-block;
	width:80%;
	max-width:600px;

	text-align:center;
	padding:40px;
	font-size: 26px;
	line-height:36px;
	z-index:999;
	text-transform: uppercase;
	}
slidertext img{
	width:40px !important;
	}	
slidertext img:hover{
	opacity:0.6;}
blackdot{
	display:block;
	position:absolute; 
	left:0px; 
	right:0px; 
	top:0px; 
	bottom:0px; 
	width:100%; 
	height:100%; 
	background:url(../images/blackdot.png); 
	z-index:10;
	pointer-events:none;
	z-index:998;
	}
	
.videostyle{
	    border: 2px solid #e6e6e6;
    box-shadow: 0px 0 2px 0 rgba(0,0,0,0.1), 0 0 0px 0 rgba(0,0,0,0.1), 0 2px 2px 0 rgba(0,0,0,0.18);
	
}
@media only screen and (max-width: 740px) {

slidertext{
	top:10%;
	}

}
	
@media only screen and (max-width: 740px) {
.border_right{		
	border-right-width: 0px;
	padding-right:0px;
}	
garisan{
	display:block;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCC;	
	margin:20px auto;
	}
.markets{
	width:auto !important;}
.hilangdimobil{
	display:none;
	}
}



/* ======== Newsletter Popup ========= */
/* Popup Section Styling */
section.popup-section {
	background-size: cover !important;
	overflow: hidden;
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
  }
  
  /* Fade In Animation */
  @keyframes fadeIn {
	from {
	  opacity: 0;
	}
	to {
	  opacity: 1;
	}
  }
  
  /* Hide Popup Animation (Fade Out) */
  @keyframes fadeOut {
	from {
	  opacity: 1;
	}
	to {
	  opacity: 0;
	}
  }
  
  /* Hide the popup when the class 'hide-popup' is added */
  section.popup-section.hide-popup {
	animation: fadeOut 1s ease-out forwards;
  }
  
  /* Background Overlay */
  section.popup-section:before {
	content: '';
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(56, 54, 50, 0.8); /* Semi-transparent background */
	z-index: 1;
	transition: opacity 0.3s ease-out;
  }
  
  /* Popup Inner Styling */
  .popup-inner {
	position: absolute;
	z-index: 9;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
	animation: slideUp 1s ease-out;
	top: 20%;
	left: 50%;
	transform: translateX(-50%);
	max-width: 100%; /* Prevents the inner content from overflowing */
	width: auto;
	padding: 10px;
	display: flex;
	justify-content: center;  /* Center image horizontally inside the popup */
	align-items: center;  /* Center image vertically inside the popup */
  }
  
  @keyframes slideUp {
	from {
	  opacity: 0;
	  transform: translate(-50%, 100%);
	}
	to {
	  opacity: 1;
	  transform: translate(-50%, 0%);
	}
  }

  
  
  /* Popup Content (Image or Other Elements) */
  #newsletter-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: rgba(0,0,0,0.5);
  }
  
  .popup-inner img {
	max-width: 100%;  /* Make image responsive */
	max-height: 70vh;  /* Adjust the maximum height to fit the screen */
	object-fit: contain; /* Ensures the image fits without stretching */
	display: block;  /* Removes any unwanted space below the image */
  }
  
  /* Flexbox Layout for Centering Content */
  .popup-inner--row {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 100%;
  }
  
  /* Center the Inner Column */
  .popup-inner-column {
	width: 100%;
	text-align: center;
  }
  
  /* Close Button Styling */
  span.close-popup--btn {
	z-index: 10;
	height: 40px;
	width: 40px;
	position: absolute;
	right: 20px;
	top: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	cursor: pointer;
	/* background-color: white; Optional: add background to make the button stand out */
	border: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Optional: for a subtle shadow effect */
  }
  
  /* Responsive Design for Smaller Screens (Mobile) */
  @media (max-width: 768px) {
	.popup-inner {
	  padding: 5%;  /* Adjust padding for smaller screens */
	}
  
	.popup-inner img {
	  max-height: 70vh; /* Adjust the max-height for images on smaller screens */
	}
  }
  
  /* Responsive Design for iPhone Size Screens */
  @media only screen and (max-width: 480px) {
	.popup-inner {
	  max-width: 100%;
	}
  
	.popup-inner img {
	  max-height: 70vh; /* Keep images responsive */
	}
  
	.bg-cover {
	  height: 300px;  /* Adjust image size for smaller screens */
	}
  
	.form-header h2.form-heading {
	  font-size: 2.438rem;
	  line-height: 2.4rem;
	}
  
	.header-column a {
	  font-size: 20px;
	}
  }
  
  /* Slider Container - Optional (if you're using images in a slider) */
  #newsletter-popup .popkslider {
	width: 100%;  /* Make the slider take full width */
	max-width: 600px;  /* Set a max width for better control */
	margin: 0 auto;  /* Center the slider */
  }
  
  /* Slider Images */
  #newsletter-popup .popkslider img {
	width: 100%;  /* Ensure images are responsive */
	height: auto;  /* Maintain aspect ratio */
  }
  
  .hidden-popup {
	display: none;
  }