body {
	background-color:#000000;
	padding: 0px;
	margin: 0px;
}
.lity-container{
	overflow: auto;
}
.lity-content{
	text-align: right;
}
.lity {
	background: rgba(0, 0, 0, 1);
}

video { 
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
	transform: translateX(-50%) translateY(-50%);

	background-size: cover;
	transition: 1s opacity;
}

body {
	color: #ffffff;
	font-family:'DIN Next LT Arabic Regular', tahoma, Arial, sans-serif; 
	font-size: 18px;
	line-height: 1.4em; 
	font-weight:normal;
	text-align: right;
	display: flex;
}
h1 {
	font-weight: normal;
	font-family:'DIN Next LT Arabic Regular', tahoma, Arial, sans-serif;
	font-size: 20px;
	margin:.45em 0;
	padding:0;
}
h2 {
	font-size: 16px;
	color: #ffffff;
}
h3 {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.5);
}


/* links */
a,
a:visited,
a:active,
a:hover{ color: rgba(255, 255, 255, 0.5);}
a:hover{ text-decoration:none;}


/* Box sizing. Awesome thing. Read about it here: http://www.w3schools.com/cssref/css3_pr_box-sizing.asp */
*{	box-sizing:border-box;
	-moz-box-sizing:border-box;
	margin: 0;
	padding: 0;}

  
/* structure */   
.wrapper{
	width: 92%; 
	margin: 0 auto;
	display: table;
	height: 100%;
}
.content {
	display: table-cell;
	vertical-align: middle;
}

#content {  
	margin:40px 0;
}

aside { 
	margin:40px 0;
}

p { margin:0 30px 1.5em 0;}


/* RESPONSIVE IMAGES */
img{ max-width:100%; height:auto;}


/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-bottom: 20px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}
/*
.thumbs .grid_1,
.thumbs .grid_2,
.thumbs .grid_3,
.thumbs .grid_4,
.thumbs .grid_5,
.thumbs .grid_6,
.thumbs .grid_7,
.thumbs .grid_8,
.thumbs .grid_9,
.thumbs .grid_10,
.thumbs .grid_11,
.thumbs .grid_12 {
	padding-left: 0;
	padding-right: 0; 
}
*/
.content {
	padding-top: 40px;
	padding-bottom: 20px;
}

.thumbs {
	border: 0 none;
}


/*FOOTER*/

/*colors and backgrounds*/
HTML, body {
	direction: rtl;
	background-color: #000000;
	height: 100%;
}

a.buttonlink{ 
	display:block;
	position: relative;
	text-decoration:none;
	border: 1px solid #ffffff;
}
a.buttonlink:hover .overlay {
  opacity: 1;
}
a.buttonlink img{ 
	display:block;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: rgba(0, 0, 0, 0.6);
  background-image: url(images/play-btn.png);
  background-position: center center;
  background-repeat: no-repeat;
}


/* Contain floats*/ 
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after,
.row:after{
  clear: both;
}


/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {
#banner{
	float:left;
	text-align:left;
	margin-bottom:-20px;/*this depends on the height of the logo*/
}
.menu-toggle{/*make menu float right, instead of sitting under the logo*/
	margin-top:10px; /*this depends on the height of the logo*/
	float:right;
}

} 

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width: 920px) {

.wrapper{
	max-width: 1200px; 
	margin: 0 auto;
}

#banner{ 
	float:left; 
	text-align:left;
	margin-bottom:0px;
}

#content {  
	float:left;
	width:65%;
}
#content.wide-content{
	float:none;
	width:100%;
}

aside { 
	float:right;
	width:30%;
}

/*GRID*/
/*
 & Columns : 12 

 */
 .row{
	 margin-left: -15px;
     margin-right: -15px;
}
 
.grid_1 { width: 8.33333333%; }
.grid_2 { width: 16.66666667%; }
.grid_3 { width: 25%; }
.grid_4 { width: 33.33333333%; }
.grid_5 { width: 41.66666667%; }
.grid_6 { width: 50%; }
.grid_7 { width: 58.33333333%; }
.grid_8 { width: 66.66666667%; }
.grid_9 { width: 75%; }
.grid_10 { width: 83.33333333%; }
.grid_11 { width: 91.66666667%; }
.grid_12 { width: 100%; }

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	float: right;
	display: block;
}
.thumbs .grid_1,
.thumbs .grid_2,
.thumbs .grid_3,
.thumbs .grid_4,
.thumbs .grid_5,
.thumbs .grid_6,
.thumbs .grid_7,
.thumbs .grid_8,
.thumbs .grid_9,
.thumbs .grid_10,
.thumbs .grid_11,
.thumbs .grid_12 {
	padding-left: 15px;
	padding-right: 15px; 
}
.content {
	padding-top: inherit;
	padding-bottom: inherit;
}

.rightfloat{float:right;}
/* @notation inspired by tinyGrid, .row and percentage by Twitter Bootstrap
 */
 
#hero [class*="grid_"] { margin-bottom:-20px;}


.thumbs {
    border-right: 1px solid #ffffff;
}
p {
    margin: 0 70px 1.5em 0;
}

}

/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px) {

} 

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {

} 

/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {


} 

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 

  
}

/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}