
/*
Filename: style.css
Description: CSS Main style sheet for aynaplaces.com
*/

/*	Google APIs arabic fonts	*/
@import url(http://fonts.googleapis.com/earlyaccess/droidarabickufi.css);
@import url(http://fonts.googleapis.com/earlyaccess/droidarabicnaskh.css);

@font-face {
	font-family: 'gothic';
	src: url('fonts/gothic.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}


/* GLOBAL: Reset & Basics 
**********************************************************/
	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }

	a {
		cursor: pointer;
	}
	
	a:hover {
		color: red;
	}
	
		
/* GLOBAL: Font
**********************************************************/
 
h1, h2, h3, h4, h5, h6 { 
	font-family: 'Droid Arabic Kufi', serif;
}

#place-related span,
#place-info li,
.popup,
.list-container {
	font-family: 'Droid Arabic Naskh', serif;
}

* {
	font-family: gothic, 'Droid Arabic Naskh', serif !important;
	line-height: 150% !important;
}


/* GLOBAL: Positioning
**********************************************************/

html,
body {
	height:100%;
}

nav {
	margin: 20px 10px;
}

section {
	margin: 20px 15vw;
}

h1 {
	margin: 10px;
}

hr {
	max-width: 80%;
}

#wrapper {
	min-height:100%;
	position: relative;
}

#content {
	padding-bottom:50px; /* Height of the footer */
}

#places-list {
	width: 65vw;
	margin: 30px auto;
}

#load-more {
	margin: 20px;
}

#places-view {
	margin: 20px;
	border: solid 1px black;
	height: 400px;
}

.list-container div,
.list-container .list-img {
	float: left;
}
.list-container .list-item {
	margin: 5px;
	padding: 10px;
	/* min- */width: 100%;
	width: 90%;
	display: inline-block;
	border: 1px solid darkgrey;
	border-radius: 7px;
}
.list-container span {
	display: inline-block;
	margin: 4px;
}
.list-img {
	max-width: 100px;
	max-height: 100px;
	margin-right: 15px;
}
.list-container li:last-child {
	clear: both;
}

#list .ads-list-container div,
#list .ads-list-container .ads-list-item {
	text-align: center;
}
#list .ads-list-container h3 {
	font-size: 125%;
	margin: 10px 10px 25px 10px;
}
#list .ads-list-container h2 {
	font-size: 125%;
	font-weight: bold;
}
#list .ads-list-container img {
	max-width: 50vw;
	max-height: 70vh;
	height: auto;
	margin: 15px;
}
#list .ads-expire {
	font-style: italic;
}
#list .ads-list-container .ads-list-item {
	margin: 5px;
	padding: 10px;
	min-width: 100%;
	display: inline-block;
	border: 1px solid darkgrey;
	border-radius: 7px;
}
#list .ads-list-container span {
	display: inline-block;
	margin: 4px;	
}
.v-ads {
	max-width: 10vw;
	max-height: 70vh;
	height: auto;
	margin: 15px;
}
#footer {
	clear: both;
	width:100%;
	height:50px;
	position:absolute;
	bottom:0;
	left:0;
}

#credits {
	margin-top: 20px;
}

.hcenter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.hright {
	text-align: right;
}

.hleft {
	text-align: left;
}


/* Navigation: Positioning
**********************************************************/

#wrapper {
	padding-top: 47px; /* fixed header height + 10px */
}

#header {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 10;
	width: 100%;
	/* padding: 20px; */
	height: auto;
	/* height: 50px; */
	/* background: #FFAE00; */
	background: #08062B;
	font-size: 110%;
	display: block;
}

#mainmenu {
	float: right;
	margin: 0;
}
#mainmenu * {
	box-sizing: border-box;
}

#mainmenu ul {
	width: 100%;	
}

#mainmenu li {
	display: inline-block;
}

#navigation ul {
	width: 80vw;
	margin-left: auto;
	margin-right: auto;
}

#content > hr {
	clear: both;
}

#navigation li {
	margin: 10px 2vw;
	display: inline-block;
	width: 40%;
	min-width: 150px;
	max-width: 400px;
}

#links a {
	text-decoration: none;
	color: dimgrey;
}

#links li,
#place-links li {
	margin: 0 25px 25px 25px;
	display: inline-block;
}

#place-cover img {
	max-width: 800px;
	width: 100%;
}

#place-title .imgLogo {
	float: right;
	margin: 10px;
	width: 150px;
	vertical-align: middle;
}


#place-title .imgQR {
	float: left;
	margin: 5px;
	width: 85px;
}

#place-geolocation iframe {
	width: 700px;
	height: 350px;
}

#place-info ul {
	margin: 10px;
}

#place-info li img {
	width: 60px;
}

#places-view {
	overflow-y: auto;
	overflow-x: hidden;
}

#places-view ul,
#places-view ul li {
	max-width: 95%;
}

/*
#places-view .list-container div,
#places-view .list-container .list-img {
	float: none;
}

#places-view .list-container {
	float: left;
	overflow: hidden;
}

#places-view .list-container .list-item {
	margin: 5px;
	padding: 10px;
	min-width: initial;
	display: inline-block;
	border: 1px solid darkgrey;
	border-radius: 7px;
	width: 150px;
    padding-bottom: 10000px;
    margin-bottom: -10000px;
}

#places-view .list-container span {
	display: inline-block;
	margin: 4px;
}

#places-view .list-img {
	max-width: 100px;
	max-height: 100px;
	margin-right: auto;
	margin-left: auto;
}

#places-view .list-container li:last-child {
	clear: initial;
}
*/
#loading {
	display: none;
	margin: 0 3px;
}

/* Global: Styling
**********************************************************/

h1 {
	font-weight: bold;
}

.menu-link {
	font-family: gothic, sans-serif;
    padding: 8px 25px;
	display: block;
    color: #FFF;
    text-decoration: none;
	letter-spacing: 0.05em;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

#lang-switcher.menu-link {
	padding-right: 15px;
	padding-left: 15px;
}

.menu-link:hover {
	color: #FFAE00;
}

.menu-link:active {
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 1px 4px rgba(255,255,255, 0.6);
	color: darkred;
}

.button-link {
	display: block;
    padding: 10px 15px;
    background: #FFAE00;
    color: #000;
    text-decoration: none;
	letter-spacing: 0.05em;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.button-link:hover {
    background: #FFC74F;
	letter-spacing: 0.2em;
}

.button-link:active {
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    background: #CC8B00;
}


.nav-item {
	margin: 0 auto;
}

.nav-item img {
	width: 56px;
	height: auto !important;
	margin-right: 25px;
	vertical-align: middle;
}

.nav-item span {
	font-size: 1.5em;
	color: white;
	font-weight: bold;
}



/* Social Links */

#links li {
	/* margin-bottom: 10px; */
}

.link-item {
	opacity: 0.7;
	-webkit-transition-duration: 0.4s;
	-moz-transition-duration: 0.4s;
	transition-duration: 0.4s;
}

.link-item:hover {
	opacity: 1;
}


.link-item img {
	width: 100px;
	height: 100px;
}


#load-more a {
    padding: 10px 15px;
    color: white;
	background: #08064B;
    text-decoration: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;	
}

#load-more a:hover {
	color: #FFAE00;
}

#load-more a:active {
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    background: #08061B;	
}


/*	Map styling	*/

#mapContainer {
	display: none;
}

.btn-showmap {
	display: block;
    padding: 10px 15px;
	margin: 10px;
	max-width: 30%;
    background: rgb(238,134,55);
    color: white;
	background: #08064B;
    text-decoration: none;
	cursor: pointer;
	letter-spacing: 0.05em;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}
.btn-showmap:hover {
	color: #FFAE00;
    /* background: rgb(204,0,0); */
}
.btn-showmap:active {
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    background: #08061B;
}

#place-geolocation div,
#mapContainer,
.btn-showmap {
	margin-left: auto;
	margin-right: auto;
}

/*	Social-links Styling	*/

#place-info img {
	margin: 10px;
}

#place-info li {
	display: inline-block;
	text-align: center;
	cursor: pointer;
	margin: 10px;
	padding: 5px;
	text-decoration: none;
	border: solid 3px transparent;
}

#place-info li:hover,
#place-info li:focus {
	border: outset 3px #FF6F00;
}

/*	popup Styling	*/

#clickme {
	cursor: pointer;
}

.popup {
    background-color: #fff;
    border-radius: 10px 10px 10px 10px;
	border: outset 5px #FF6F00;
	text-align: center;
	color: #111;
    display: none;
    min-width: 200px;
	max-width: 60vw;
	min-height: 100px;
	max-height: 90vh;
    padding: 25px;
}

.popup img {
	max-width: 100px;
	margin: 4px;
}

.popup table {
	width: 100%;
}

.popup table td {
	text-align: left;
	padding: 5px;
}

.list-box {
	max-height: 60vh;
	max-width: 70vw;
	overflow-y: auto;
	overflow-x: auto;
}

.list-item:hover {
	box-shadow: inset -1px 5px 2px 1px #FFAE00,
				inset 1px -5px 2px 1px #FFAE00;
}


#header > a,
#header > a:visited {
	color: white;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;	
}

#header > a:hover {
	color: #FFAE00;
}

.b-close {
    text-align: center;
    text-decoration: none;	
    display: inline-block;	
    cursor: pointer;
    color: #FF6F00;	
    border-radius: 7px;
    box-shadow: none;
    font: bold 131% sans-serif;
    padding: 0 6px 2px;
    position: absolute;
    right: 2px;
    top: 2px;
	z-index: 1000;
}

.b-close:hover {
	color: #08062B;
}


.list-container a {
	text-decoration:  none;
}



.list-box .list li {
	margin: 7px;
}

.list-box .list li a  {
	text-decoration: none;
}

.list-box .list li a:hover {
	color: red;
}

.search {
	border-style: inset; 
	border-width: 2px; 
	padding: 1px 0px 1px 0px; 
}



.toast {
    width:200px;
    height:20px;
    height:auto;
    position:fixed;
    left:50%;
    margin-left:-100px;
    bottom:50%;
    background-color: #383838;
    color: #F0F0F0;
    font-family: Calibri;
    font-size: 20px;
    padding:10px;
    text-align:center;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 1);
    -moz-box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 1);
    box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 1);
}


.mfp-container,
.mfp-close {
	cursor: pointer !important;
}



/*	back to top button	*/

.cd-top {
	display: inline-block;
	height: 40px;
	width: 40px;
	position: fixed;
	bottom: 60px;
	right: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: rgba(8, 6, 43, 0.8) url(icons/cd-top-arrow.svg) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;

}

.cd-top.cd-is-visible {
	visibility: visible;
	opacity: 1;
}
.cd-top.cd-fade-out {
	opacity: .5;
}
.cd-top:hover {
	background-color: #FF6F00;
	opacity: 1;
}

/* Footer: formatting
**********************************************************/

#footer {
	color: #08062B;
	font-weight: bold;
	background: #FF6F00;
}






/****************************************/
#qa-list hr {
	margin: 10px auto 25px auto;
}

#qa-list h3 {
	color: #cc0000;
}
/****************************************/

input {
	padding: 10px;
	border: 1px solid;
	border-color: #a8acbc #babdcc #c0c3d2;
	border-radius: 5px;
	-webkit-appearance: textfield;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: inset 0 1px #e5e7ed, 0 1px #fcfcfc;
	box-shadow: inset 0 1px #e5e7ed, 0 1px #fcfcfc;
}


.search-container {
	margin: 25px auto;
	width: 640px;
}

.searchbox input {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 13px;
	color: #555860;
}

.searchbox {
	position: relative;
	margin: 0 auto;
	width: 300px;
}
.searchbox input {
	height: 26px;
	width: 100%;
	padding: 0 12px 0 25px;
	background: white url("../images/search.png") 8px 6px no-repeat;
	border: 1px solid;
	border-color: #a8acbc #babdcc #c0c3d2;
	border-radius: 0;
	-webkit-appearance: textfield;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: inset 0 1px #e5e7ed, 0 1px #fcfcfc;
	box-shadow: inset 0 1px #e5e7ed, 0 1px #fcfcfc;
}
.searchbox input:focus {
	outline: 0;
	border-color: #ff6f00;
	-webkit-box-shadow: 0 0 2px rgba(255, 111, 0, 0.9);
	box-shadow: 0 0 2px rgba(255, 111, 0, 0.9);
}


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


#download #content,
#contactus #content {
	padding: 35px 0;
}

#download h1 {
	font-size: 150%;
	padding: 20px 0 50px 0;
}

#download h3 {
	font-weight: bold;
	font-size: 125%;
	margin-bottom: 25px;
}

#download a {
	display: inline-block;
	border: 3px solid transparent;
	border-radius: 5px;
	padding: 1px;	
}

#download a:hover {
	border: 3px solid #cc0000;
}	
	

#download img {
	width: 200px !important;
	height: auto;
}
















