
/****************************************/
/* HEADER								*/
/****************************************/
header {
	position: relative;
	z-index: 9;
	padding-bottom: 7px;
	direction: rtl;
	text-align: center;
	background: url('../img/pattern-bg.jpg') repeat;
}
@media only screen and (min-width : 992px) {
	/* md */
	header {
		background: none;
	}
}

/* Top banner */
#top-banner {
	position: relative;
	padding: 1px 0;
}
#logo-container {
	margin: 3px auto;
}
#logo-container > img{
	display: block;
	max-width: 100%;
	margin: 0 auto;
}
@media only screen and (min-width : 480px) {
	/* xs */
}
@media only screen and (min-width : 768px) {
	/* sm */
}
@media only screen and (min-width : 992px) {
	/* md */
	#logo-container {
		margin: 8px auto;
	}
}
@media only screen and (min-width : 1200px) {
	/* lg */
}
@media only screen and (min-width : 1600px) {
	/* xl */
	#logo-container {
		margin: 20px auto;
	}
}
@media only screen and (min-width : 1920px) {
	/* xxl */
}
/***/



/* NAVBAR */
#navbar-container-space {
	position: relative;
	min-height: 50px;
}
#navbar-container {
	position: relative;
	min-height: 50px;
	background: rgba(58,53,52,.9);
}
#navbar-container.sticked {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 999;
}

#navbar {
	position: relative;
	height: 0;
	overflow: hidden;
	-webkit-transition:	all 0.35s ease; 
	   -moz-transition:	all 0.35s ease;
		-ms-transition:	all 0.35s ease;
		 -o-transition:	all 0.35s ease;
			transition:	all 0.35s ease;
	-webkit-transform: translate3d(0,0,0);
			transform: translate3d(0,0,0);
}

#navbar > ul {
	padding: 50px 0 20px 0;
}
#navbar li {
	display: block;
	position: relative;
	height: 40px;
	overflow: hidden;
	-webkit-transition:	all 0.35s ease; 
	-moz-transition:	all 0.35s ease;
	-ms-transition:		all 0.35s ease;
	-o-transition:		all 0.35s ease;
	transition:			all 0.35s ease;
}
#navbar li > a {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	/*overflow: hidden;*/
	line-height: 40px;
	color: #f6f6f6;
	text-align: center;
}
#navbar li > a:after {
	content: "";
	position: absolute;
	z-index: 0;
	display: block;
	top: 50%;
	left: 45%;
	width: 10%;
	height: 0px;
	-webkit-transition:	all 0.35s ease; 
	-moz-transition:	all 0.35s ease;
	-ms-transition:		all 0.35s ease;
	-o-transition:		all 0.35s ease;
	transition:			all 0.35s ease;
}
#navbar li.active > a
#navbar li > a:hover {
	color: #ffeb6b;
}

#navbar li.active > a:after,
#navbar li > a:hover:after {
	-webkit-box-shadow: 0px 0px 24px 2px rgba(255,255,108,1);
	-moz-box-shadow: 0px 0px 24px 2px rgba(255,255,108,1);
	box-shadow: 0px 0px 24px 2px rgba(255,255,108,1);
}


.submenu {
	position: relative;
	background: rgba(68,63,62,.9);
}
.submenu:after {
	content: '';
	display: block;
	position: absolute;
	top: -22px;
	left: 5%;
	width: 0px;
	height: 0px;
	border-top: 8px solid rgba(255,255,108,0.8);
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 0px;
	-webkit-transition:	all 0.35s ease; 
	-moz-transition:	all 0.35s ease;
	-ms-transition:		all 0.35s ease;
	-o-transition:		all 0.35s ease;
	transition:			all 0.35s ease;
}
.submenu.open:after {
	border-bottom: 8px solid rgba(255,255,108,0.9);
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 0px;	
}


@media only screen and (min-width : 768px) {
	#navbar {
		height: 50px;
		padding: 0px 30px;
		overflow: visible;
	}
	#navbar > ul {
		padding: 0;
		text-align: center;
	}
	#navbar > ul > li {
		display: inline-block;
		position: relative;
		height: 50px;
		padding: 5px 10px;
		overflow: visible;
	}
	#navbar > ul > li > a {
		padding: 0px 10px;
	}
	.submenu:after {
		content: none;
	}
	.submenu {
		position: absolute;
		z-index: 9;
		top: -9999px;
		right: -45px;
		left: -45px;
		padding-top: 4px;
		background: none;
		opacity: 0;
		-webkit-transform: translate3d(0,20px,0); 
		   -moz-transform: translate3d(0,20px,0); 
			-ms-transform: translate3d(0,20px,0); 
			 -o-transform: translate3d(0,20px,0); 
				transform: translate3d(0,20px,0);
		-webkit-transition: -webkit-transform 0.2s ease, opacity 0.2s ease, top 0s ease 0.2s; 
		   -moz-transition:    -moz-transform 0.2s ease, opacity 0.2s ease, top 0s ease 0.2s; 
			-ms-transition: 	-ms-transform 0.2s ease, opacity 0.2s ease, top 0s ease 0.2s; 
			 -o-transition: 	 -o-transform 0.2s ease, opacity 0.2s ease, top 0s ease 0.2s; 
				transition: 		transform 0.2s ease, opacity 0.2s ease, top 0s ease 0.2s;
	}
	.submenu > li {
		margin-top: 5px;
		padding: 0 45px;
		background: rgba(58,53,52,.9);
	}
	#navbar .submenu > li:first-child {
		display: none;
	}
	#navbar li:hover > .submenu {
		top: 100%;
		opacity: 1;
		-webkit-transform: translate3d(0,0,0); 
		   -moz-transform: translate3d(0,0,0); 
			-ms-transform: translate3d(0,0,0); 
			 -o-transform: translate3d(0,0,0); 
				transform: translate3d(0,0,0);
		-webkit-transition: -webkit-transform 0.2s ease 0.2s, opacity 0.2s ease 0.2s, top 0s ease 0s; 
		   -moz-transition:    -moz-transform 0.2s ease 0.2s, opacity 0.2s ease 0.2s, top 0s ease 0s; 
			-ms-transition: 	-ms-transform 0.2s ease 0.2s, opacity 0.2s ease 0.2s, top 0s ease 0s; 
			 -o-transition: 	 -o-transform 0.2s ease 0.2s, opacity 0.2s ease 0.2s, top 0s ease 0s; 
				transition: 		transform 0.2s ease 0.2s, opacity 0.2s ease 0.2s, top 0s ease 0s;
	}
	#navbar-toggle {
		display: none;
	}
}

@media only screen and (min-width : 992px) {
	#navbar {
		position: relative;
		padding: 0px;
	}
	#navbar > ul {
		text-align: justify;
		padding-left: 16.6666%;
	}
	#navbar > ul:after {
		content: '';
		display: inline-block;
		width: 100%;
		height: 0;
	}
	#navbar > ul > li {
		display: inline-block;
		padding: 5px 20px;
	}
	#navbar > ul > li:first-child {
		margin-right: 45px;
	}
	#navbar > ul > li.last-item {
		position: absolute;
		width: 16.6666%;
		text-align: center;
	}
	#navbar > ul > li > a{
		padding: 0px 10px;
	}
}	
@media only screen and (min-width : 1200px) {
	#navbar > ul > li:first-child {
		margin-right: 45px;
	}
	#navbar > ul > li {
		padding: 5px 45px;
	}
	#navbar > ul > li > a{
		padding: 0px 10px;
	}
	.submenu {
		position: absolute;
		z-index: 9;
		top: -9999px;
		right: -25px;
		left: -25px;
	}
	.submenu > li {
		padding: 0 25px;
	}
}	
@media only screen and (min-width : 1600px) {
	#navbar > ul > li > a {
		padding: 0px 45px;
	}
	.submenu {
		right: 0px;
		left: 0px;
	}
	.submenu > li {
		padding: 0;
	}
}


/* Navbar toggle */
#navbar-toggle {
	position: absolute;
	z-index: 999;
	top: 0px;
	right: 0px;
	width: 50px;
	height: 50px;
	padding: 12px 18px;
	cursor: pointer;
}
#navbar-toggle:focus {
  outline: 0;
}
#navbar-toggle > span {
  display: block;
  width: 34px;
  height: 5px;
  border-radius: 2px;
  background: #f6f6f6;
}
#navbar-toggle > span + span {
  margin-top: 5px;
}
/***/


/* header-date-box */
#header-date-box {
	position: absolute;
	right: 100%;
	top: 50%;
	width: 238px;
	padding: 0 45px;
	font-size: 1.4em;
}
#header-date {
	position: absolute;
	top: 50%;
	left: 0px;
	width: 25%;
	
	margin-top: -30px;
	
	color: #1f1905;
	line-height: 1em;
	text-align: center;
	font-weight: bold;
}
#header-date > span {
	display: inline-block;
	border-top: 2px solid #1f1905;
	padding-top: 0.6em;
	text-align: right;
}
#header-date > span > span {
	font-size: 1.6em;	
}
@media only screen and (min-width : 480px) {
	#header-date {
	}
	
}
@media only screen and (min-width : 992px) {
	#header-date {
		width: 16.6666%;
	}
}


/***/


/****************************************/







/* PAGE MAIN CONTENT */
#main {
	position: relative;
	padding-top: 28%;
	direction: rtl;
}
@media only screen and (min-width : 767px) {
	#main {
		padding-top: 280px;
	}
} 
@media only screen and (min-width : 992px) {
	#main {
		padding-top: 280px;
	}
} 

/* Page backgrounds (multiple backgrounds, changing) */
#page-bg {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	min-height: 100%;
	z-index: -1;
}
.page-bg-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 0;
	background-position: 50% 0;
	background-repeat: no-repeat;
	background-size: 100% auto;
	
	-webkit-transition:	opacity 0s ease 1s; 
	-moz-transition:	opacity 0s ease 1s;
	-ms-transition:		opacity 0s ease 1s;
	-o-transition:		opacity 0s ease 1s;
	transition:			opacity 0s ease 1s;
}
.page-bg-item.active {
	z-index: 1;
	opacity: 1;
	-webkit-transition:	opacity 1s ease 0s; 
	-moz-transition:	opacity 1s ease 0s;
	-ms-transition:		opacity 1s ease 0s;
	-o-transition:		opacity 1s ease 0s;
	transition:			opacity 1s ease 0s;
}
.page-blue-bg { background-color: #007a95; background-image: url('../img/bg-blue-mobile.jpg'); }
.page-green-bg { background-color: #0db14b; background-image: url('../img/bg-green-mobile.jpg'); }
.page-red-bg { background-color: #e32f4c; background-image: url('../img/bg-red-mobile.jpg'); }

@media only screen and (min-width : 767px) {
	.page-bg-item {
		background-size: auto;
	}
} 
@media only screen and (min-width : 992px) {
	#page-bg {
		top: -346px;
	}
	.page-blue-bg { background-image: url('../img/bg-blue-desktop.jpg'); background-position: 50% -134px;}
	.page-green-bg { background-image: url('../img/bg-green-desktop.jpg'); background-position: 50% -134px;}
	.page-red-bg { background-image: url('../img/bg-red-desktop.jpg'); background-position: 50% -134px;}
}
/***/

/****************************************/



/************************************************************/
/* FOOTER		 											*/
/************************************************************/
footer {
	direction: rtl;
	padding-bottom: 40px;
	background: #ebebeb;
	text-align: center;
	line-height: 1.6em;
}
footer p {
	margin-bottom: 1.6em;
}
#footer-container {
	padding: 0 30px;
}
#footer-logos {
	margin: 40px 0; 
}
.f-logo {
	width: 50%;
	float: right;
	padding: 0 10px;
}
.f-logo > a {
	position: relative;
	display: block;
	padding-bottom: 80%;
}
.f-logo > a > img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	max-width: 100%;
	margin: auto;
}
@media only screen and (min-width : 480px) {
	#footer-container {
		padding: 0 60px;
	}
	#footer-logos {
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
	}
}
@media only screen and (min-width : 768px) {
	#footer-container {
		max-width: 888px;
		margin: 0 auto;
	}
	#footer-logos {
		max-width: 100%;
	}
	.f-logo {
		width: 25%;
	}
}
/****************************************/