/* BODY */
body {
	-background: #dadada;
	color: white;
	-background-image: url("images/red_beam.png");
	-background-repeat: no-repeat;
	-background-attachment: fixed;
	font-family: Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 0;
}
body {
  background-color: #f7fafa;
}
/* HEADER */
header {
	-background: black;
	background-image: url("images/logo_background.jpg");
	height: 100px;
	padding: 0;
	text-align: center;
}

header a {
	color: #004391;
	text-decoration: none;
	font-weight: bold;
}

header ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

header li {
	display: inline;
	margin-right: 15px;
}

header .logo a {
	background-image: url("images/logo.png");
	background-size: 160px;
	background-repeat: no-repeat;
	display: inline-block;
	width: 160px;
	height: 80px;
	position: relative;
	top: 10px;
}

header .language a {
	position: relative;
	bottom: 20px;
}

/* NAVIGATION */
.mobile-menu {
	display:block;
	width:100%;
	background: #20c0bd;
	line-height: 1.6em;
	font-weight: 400;
	text-align:center;
	position: relative;
	margin:0 auto;
	height: 40px;
	z-index: 99999;
}

/* Strip the ul of padding and list styling */
.mobile-menu ul {
	list-style-type:none;
	margin: 0 auto;
	padding-left:0;
	text-align:center;
	width:100%;
	position: absolute;
	background: #7d0d19;
}

/* Create a horizontal list with spacing */
.mobile-menu li {
	display:inline-block;
}

/* Style for menu links */
.mobile-menu li a {
	display:block;
	min-width:140px;
	text-align: center;
	color: #fff;
	text-transform:uppercase;
	background: #7d0d19;
	text-decoration: none;
	margin-left:-5px;
	padding: 10px 0;  
	-webkit-transition: all 0.4s ease 0s;
	-moz-transition: all 0.4s ease 0s;
	-ms-transition: all 0.4s ease 0s;
	-o-transition: all 0.4s ease 0s;
	transition: all 0.4s ease 0s;
}

/* Hover state for top level links */
.mobile-menu li:hover a {
	-color: #4db3ff;
	background-color:#000;
}

/* Style for dropdown links */
.mobile-menu li:hover ul a {
	background: #f3f3f3;
	color: #2f3036;
	height: 40px;
	line-height: 40px;
}

/* Hover state for dropdown links */
.mobile-menu li:hover .mobile-menu ul a:hover {
	-color: #4db3ff;
}

/* Hide dropdown links until they are needed */
.mobile-menu li ul {
	display: none;
}

/* Make dropdown links vertical */
.mobile-menu li ul li {
	display: block;
	float: none;
}

/* Prevent text wrapping */
.mobile-menu li ul li a {
	width: auto;
	min-width: 100px;
	padding: 0 20px;
}

/* Style 'show menu' label button and hide it by default */
.mobile-menu .show-menu {
	text-decoration: none;
	color: #fff;
	background: #7d0d19;
	text-align: center;
	padding: 10px 15px;
	display: none;
	cursor: pointer;
	text-transform: uppercase;
}

.mobile-menu .show-menu span{
	padding-left: 35px;
	font-weight: bold;
}

/* Hide checkbox */
.mobile-menu input[type=checkbox]{
	display: none;
}

/* Show menu when invisible checkbox is checked */
.mobile-menu input[type=checkbox]:checked ~ #menu{
	display: block;
}

/* HOME */
.offer {	
	height: 600px;
	background-image: url("images/offer.gif");
	background-size: 80%;
	background-position: center;
    background-repeat: no-repeat;
}

h2 {
	color: #616161;
	text-align: center;
}

.features {
	background: white;
	color: #8b8b8b;
	padding: 20px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}

.features figure {
	margin: auto;
	width: 200px;
	padding: 25px;
	text-align: center;
}

.features figure img {
	width: 200px;
	box-shadow: grey 0px 0px 1px;
}

.features figure a {
	color: #8b8b8b;
	text-decoration: none;
}

/* CONTENT */
.content {
	text-align: left;
	padding: 15px;
	margin: 0px 10px 20px 10px;
	color: #8b8b8b;
}

.content h1 {
	text-align: left;
	color: #616161;
}

.content h3 {
	text-align: left;
	color: #616161;
}

-.content ul {
	-margin: 0;
	-padding: 0;
	-list-style-type: none;
-}

-.content li {
	-display: inline;
	-margin-right: 25px;
-}

footer {
	background: #7d0d19;
	color: #ffffff;
	padding: 15px 15px;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
}


/* LIST */
.list {
	text-align: left;
	padding: 10px;
	margin: 0px 15px 10px 15px;
	color: #8b8b8b;
}

.list h1 {
	text-align: left;
	color: #616161;
}

.list h3 {
	text-align: left;
	color: #616161;
}

/* VIDEO */
.video {
	text-align: center;
	padding: 10px;
}

.video iframe {
	width: 640px;
	height: 360px; 
}

/* SLIDER */
@keyframes slidy {
	0% { left: 0%; }
	20% { left: 0%; }
	25% { left: -100%; }
	45% { left: -100%; }
	50% { left: -200%; }
	70% { left: -200%; }
	75% { left: -300%; }
	95% { left: -300%; }
	100% { left: -400%; }
}
body { margin: 0; } 
div#slider { overflow: hidden; }
div#slider figure img { width: 20%; float: center; }
div#slider figure { 
  position: relative;
  width: 300%;
  margin: 0;
  left: 0;
  text-align: center;
  font-size: 0;
  animation: 30s slidy infinite; 
}

/* NEW LINE */
.newline h2 {
	color: #004391;
}

.fullscreenimages {
    text-align: center;
}

.fullscreenimages img {
    width: 80%;
}

/* RESPONSIVE RULES */
@media screen and (max-width: 1024px) {
	.offer {
		height: 450px;
	}
}

@media screen and (max-width: 665px) {
	.offer {
		background-image: url("images/offer-mobile-h.gif");
		height: 400px;
	}
	
	.video iframe {
		width: 412px;
		height: 232px; 
	}	
	
	.mobile-menu .lines {
		border-bottom: 15px double #f8f8f8; 
		border-top: 5px solid #f8f8f8; 
		content:"";
		height: 5px; 
		width:20px;
		padding-right:15px;
		float: right;
	}

	/* Make dropdown links appear inline */
	.mobile-menu ul {
		position: static;
		display: none;
	}

	/* Create vertical spacing */
	.mobile-menu li {
		margin-bottom: 1px;
	}

	/* Make all menu links full width */
	.mobile-menu ul li, .mobile-menu li a {
		width: 100%;
	}

	/* Display 'show menu' link */
	.mobile-menu .show-menu {
		display:block;
	}
}

@media screen and (max-width: 412px) {
	.offer {
		background-image: url("images/offer-mobile-v.gif");
		height: 400px;
	}
	
	.video iframe {
		width: 300px;
		height: 168px; 
	}
}

.fancy-button {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    padding: 15px 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: white;
    background-color: #bb1018;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.fancy-button:hover {
    background-color: #e72c3a;
    transform: scale(1.05);
}

.flashing-button {
    animation: flash 1s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

