/* begin - all media */
body {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 0.9em;
	line-height: 1.25em; /*was 1.75em*/
	background-color: #FFFFFF;
	margin: 0 auto;
	padding: 0px;
	width: 1000px; /*changes*/
	color: #05315f;
}
h1,h2,h3,h4 {
	color: #05315f;
	line-height: 1.2em;
	padding: 0 10px;
}
h1 {
	font-size: 1.8em;
	/*text-shadow: 1px 1px 3px #333;*/
}
h2 {
	font-size: 1.4em;
}
h3 {
	font-size: 1.2em;
}
p {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	padding-right:10px;
	padding-left:10px;
}
li {
	text-align: left;
	-webkit-hyphens: auto;
  	-moz-hyphens: auto;
  	-ms-hyphens: auto;
  	hyphens: auto;
}
a {
	text-decoration: none;
	color: #00bcb4;
}
a:hover {
	color: #990000;
}
.egypt-text {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 12px;
	color: #FFF;
	padding-top: 0px;
	padding-right: 40px;
	padding-bottom: 0px;
	padding-left: 40px;
}
.egypt-foot {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 12px;
	color: #CCC;
	padding-top: 0px;
	padding-right: 40px;
	padding-bottom: 0px;
	padding-left: 40px;
	font-style: italic;
	text-align: right;
}
.egypt-foot a {
	color: #69C;
}

/*font with a special char for outside links...*/
@font-face {
    font-family: 'Modern';
    src: url('_fonts/modernpics-webfont.eot');
    src: url('_fonts/modernpics-webfont.eot?#iefix') format('embedded-opentype'),
         url('_fonts/modernpics-webfont.woff') format('woff'),
         url('_fonts/modernpics-webfont.ttf') format('truetype'),
         url('_fonts/modernpics-webfont.svg#ModernPictogramsNormal') format('svg');
    font-weight: normal;
    font-style: normal;
}
#history a[href^="http://"]:after {
	content:" o";
	font-family: Modern, sans-serif;
	font-size: 1.1em;
	position: relative;
	top: -.2em;
}
/*end of font + outside links...*/

#main {
	text-align: left;
	margin: 0;
	background-color: #E8ECF0;
	padding: 0px;
}
#main #history, #main #contacts, #main #price, #main #services {
	padding: 0px;
	float: left; /*changes*/
	width: 570px;
}
#main #footer {
	clear: both;
	color: #00bcb4;
	background-color: #05315f;
	padding: 5px 0;
}
#right_contents {
	background-color: #D2DAE2;
	overflow: visible;
	float: right; /*changes*/
	width: 400px; /*changes*/
	padding: 0px; /*changes*/
}
#program_contents {
	background-color: #D2DAE2;
	padding: 0px;
	overflow: visible;
}
#program_article {
	float: left; /*changes*/
	width: 100%; /*changes*/
}
#main #services {
	padding-left: 0px;
}
#heading {
	background-color: #CCCCFF;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
}
#contents {
	background-color: #05315f;
	position: relative;
	margin: 0 auto;
	padding: 0px;
}
#contents_menu {
	position: relative;
	top: 115px;
}
#publishers {
	float:right;
	background:#00bcb4;
	margin: 20px;
	padding: 20px;
}
.image_in_text {
	padding: 0px;
	margin-right: 10px;
	margin-bottom: 10px;
	border: 1px solid black;
}
img {
	-webkit-box-shadow: 2px 2px 5px grey;
	box-shadow: 2px 2px 5px grey;
}
.img-no-shadow {
	-webkit-box-shadow: none;
	box-shadow: none;
}

#contents img {
   	box-shadow: none;
}
#main #price {
	padding: 0px;
}
table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 1px 3px;
}
.my_table, .my_table2, .price_table, .first_table {
	font-family: Arial, Helvetica, sans-serif;
	font-size: .9em;
	width: 95%;
	border: 1px solid black;
	box-shadow: 2px 2px 5px grey;
    margin-left:auto; 
    margin-right:auto; 
}

.egypt_table {
	width: 350px;
	float: right;
	text-align: center;
	border:hidden;
}
.egypt_table th, .egypt_table td {
	border:hidden;
}

.my_table th, .my_table2 th, .price_table th, .price_table thead {
	background-color: #32567C;
	color: white;
}
.my_table tr:nth-child(odd), .first_table tr:nth-child(odd), .my_table2 tr:nth-child(odd), .price_table tr:nth-child(odd) { 
    background-color:#E8ECF0; 
}
.my_table tr:nth-child(even), .first_table tr:nth-child(even), .my_table2 tr:nth-child(even), .price_table tr:nth-child(even) { 
    background-color: white; 
}
.my_table2 {
	width: 97%;
	margin-bottom: 10px;
}
.first_table {
	font-size: .8em;
	width: 99%;
	align-content:center;
}
.first_table th, .price_table th {
	background-color: #32567C;
	color: white;
}
/* new - begin */
.first_table tr:nth-child(even) {
	background-color: white;
}
.first_table tr:nth-child(odd) {
	background-color: #E8ECF0;
}

/* hover table cells */
td:hover {
	box-shadow: 0px 0px 5px 2px #05315f;
}

/* new- end */

#main #contents {
	height: 150px;
	margin: 0;
	padding: 0;
}
#main #contents li {
	display: block; /*changes*/
	float: left; /*changes*/
}
#main #contents a {
    list-style-type: none;
    text-decoration: none;
	line-height: 1.5em;
	color: #FFFFFF;
	font-size: 1em;
	margin: 4px;
	padding: 5px;
	font-weight: bold;
	background-color: #00bcb4; /*changes ?*/
	white-space: nowrap;
}
#main #contents a:hover {
	color: #990000;
	background-color: #FFF; /*changes ?*/
}
#main #left_statistics {
	padding: 0px;
	width: 475px; /*changes*/
	float: left; /*changes*/
}
#main #right_statistics {
	padding: 0px;
	float: left; /*changes*/
	width: 480px; /*changes*/
}
#main #footer p {
	font-size: .8em;
	color: white;
	font-weight: bold;
}
#main #footer p a {
	background-color: #00bcb4;
	line-height: 2em;
	padding-top: 3px;
	padding-right: 7px;
	padding-bottom: 3px;
	padding-left: 7px;
	color: #fff;
}
#main #footer p a:hover {
	background-color: #fff;
	color: #900;
}
.book_description {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: .8em;
	text-align: justify;
}
#main #contents .current_open {
	color: #CCC;
	background-color: #666;
	cursor: default; 
}
#main #contents .current_open:hover   {
	background-color: #666;
	color: #CCC;
}

#fb-root {
	padding: 0;
	margin: 0;
}

#main #my_search_box {
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 0px;
	text-align: right;
      width: 98%;
	  border: 0px;
	  clear:both;
	  float:none;
  }
/* end - all media */


/* begin mobile */
@media only screen and (max-width: 768px)
{
* {
   margin-top: 0px;
}
  body {
	  width: 100%;
  }
  h1 {
	  text-shadow: none;
  }
  #footer p {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
  }
  
  #main #history, #main #contacts, #main #price, #main #services {
      float: none;
      clear: both;
	  width: 100%;
	  clear: both;
  }
  #right_contents {
	  display: none;
      float: none;
      clear: both;
      width: 100%;
      padding: 0px;
	  margin: 0px;
  }  
  #program_article {
	  float: none;
      clear: both;
	  width: 100%;
	  padding: 5px;
  }
  #program_contents {
	  float: none;
      clear: both;
      width: 100%;
      padding: 0px;
  }
  .image_in_text {
      max-width: 50%;
  }
  #main #contents {
	height: 250px;
  }
  #main #contents ul{
	  padding: 10px;
	  text-align: left;
  }
  #main #contents li {
	  display: inline;
	  list-style-type: none;
	  float: none;
  }
  #main #contents a {
	  line-height: 3em;
	  margin: .5em;
	  padding: .5em;
  	  box-shadow: none;
  }
  #main #left_statistics {
	  width: 100%;
      float: none;
      clear: both;
      padding: 0px;
	  margin: 0px;
  }
  #main #right_statistics {
      width: 100%;
      float: none;
      clear: both;
      padding: 0px;
  }
  img {
	  box-shadow: none;
  }
  #contents {
	  background-color: #05315f;
	  background-image: url(images/logo-mobile2.png);
	  background-repeat: no-repeat;
	  position: relative;
  }
  #contents_menu {
	  position: relative;
	  top: 0px;
  } 
  #main #contents li {
	  display: list-item;
	  float: none;
	  margin: 1px;
	  text-align: right;
  }
  #main #contents a {
	  line-height: 1.7em;
	  color: #FFFFFF;
	  font-size: 1.1em;
	  margin: 5px;
	  padding: 1px;
	  font-weight: bold;
  }
  #main #contents a:hover {
	  color: #990000;
	  background-color: #FFF; /*changes ?*/
  }
  .egypt_table {
	float: none;
	margin-left:auto; 
	margin-right:auto;
	border: hidden;
  }
p {
	padding-right:8px;
	padding-left:8px;
}
 
} /* end mobile */

/* begin - desktop */
@media only screen and (min-width: 769px)
{
html { 
	height: 100%; 
	width: 100%; 
}

body {
	height: 100%; 
	margin: 0 auto;
}

#contents {
	background-color: #05315f;
	background-image: url(images/logo2.png);
	background-repeat: no-repeat;
	margin: 0 auto;
	padding: 0;
}
#contents_menu{
	padding-left: 150px;
}
#main #history {
	float: left;
	width: 570px;
	margin: 0 auto;
}
#right_contents {
	float: right;
	width: 400px;
	padding: 5px;
}
#program_article {
	float: left;
	width: 570px;
	padding-left: 5px;
}
#program_contents {
	float: left;
	width: 400px;
	padding-left: 5px;
}
#main #contents a {
	-webkit-box-shadow: 2px 2px 5px grey;
	box-shadow: 2px 2px 5px grey;
	-webkit-border-radius: .4em;
    border-radius: .4em;
	-webkit-transition: background-color .75s ease;
	-moz-transition: background-color .75s ease;
	-o-transition: background-color .75s ease;
	transition: background-color .75s ease;
}
#main #contents a:hover {
	background-color: #FFF; /*changes ?*/
}
#main #contents li {
	display: block;
	float: left;
}
#main #left_statistics {
	width: 500px;
	float: left;
}
#main #right_statistics {
	float: left;
	width: 490px;
}


} /* the end of desktop */
