/*
You are allowed to do whatever you want with this layout. Though I would be
pleased if you placed a link on your site to csseasy.com or to profit42.com
(best "blog about hacking" ever). Donations are also welcome:
paypal@profit42.com (or follow the donation button on csseasy.com)
*/
 


html {
   background-color: #AAAAAA;
   /* make sure the vertical scroll bar is always visible IE8*/
   min-height: 101%;
}
body {
   width:950px;
   margin:0 auto;
   margin-top:30px;
   font-family: "Helvetica", Arial, sans-serif;
   /* make sure the vertical scrollbar is always visible (all other browsers)*/
   min-height: 101%;
}

/* ----- COMMON CLASSES ----- */
.center {
   text-align: center;
}
.bold {
   font-weight: bold;
}
.italic {
   font-style: italic;
}
.und/*erline*/ {
   text-decoration: underline;
}
.rtlAr {
   direction: rtl;
   float: right;
   font-size: 1.2em;
   font-style: normal;
}
.rtl {
   direction: rtl;
   float: right;
   font-size: 1.2em;
}
.fauxlink {
   text-decoration: underline;
   cursor: pointer;
}
.forceCursor {
   cursor: default;
}
.right {
   float: right;
}
.left {
   float: left;
}
.nofloat {
   float: none;
}
.clearfix {
   clear: both;
}

#ajaxError {
   padding: 0 0.7em;
}

ul#jqUI_icons {
   margin: 0;
   padding: 0;
}
ul#jqUI_icons li {
   margin: 2px;
   position: relative;
   padding: 4px 0;
   cursor: pointer;
   float: left;
   list-style: none;
}
ul#jqUI_icons span.ui-icon {
   float: left;
   margin: 0 4px;
}

/* ----- DISPLAY BOX ----- */
.box-wrapper {
   width: 370px;
   min-height: 50px;
   position: relative;
   background-color: blue;
}
.box-icon {
   float: left;
   max-width: 64px;
   max-height: 64px;
   padding: 4px;
}
.box-text {
}
.box-title {
   float: left;
   width: 290px;
   margin-top: 3px;
   padding-top: 5px;
/*   padding-bottom: 2px;*/
   cursor: pointer;
}
.box-title-en {
   float: left;
   font-size: 1.1em;
   padding-left: 10px;
   margin: 0;
}
.box-title-ar {
   float: right;
   direction: rtl;
   font-size: 1.2em;
   padding-right: 10px;
   margin: 0;
}
.box-title-end {
   clear: right;
   margin-bottom: 3px;
}
.box-desc {
   float: right;
   padding-top: 9px;
   margin-bottom: 0;
   padding-bottom: 0;
   width: 290px;
   padding-right: 5px;
   line-height: 1.3;
}
.box-end {
   clear: both;
}

/* ----- HEADER ----- */
#header {
   width: 950px;
   height: 90px;
   /*vertical-align: middle;*/
   /*padding-top: 20px;*/
   padding-bottom: 0;
   font-size: 2em;
}
#header #logo {
   display: inline;
   margin-left: 10px;
   float: left;
   margin-top: -30px;
   height: 120px;
}
#header #slogan {
   display: inline;
   margin-left: 20px;
   margin-top: -10px;
   float: right;
}
#header h1 {
   display: inline;
   font-size: 2em;
   font-style: italic;
   margin-left: 20px;
   margin-right: 60px;
}
#loginPrompt {
   float: right;
   color: #000000;
   width: 200px;
   margin: 10px 250px 0 0;
   font-size: 0.8em;
}
 
/* ----- NAVIGATION ----- */
#navigation {
   width:950px;
   height:43px;
   margin:10px 0;
   font-size: 1.2em;
}
#navigation ul {
   display: block;
   margin: 10px 0;
   padding: 0px 0 0 20px;
}
#navigation li {
   display: inline;
   padding: 0 20px 0 0;
}
#navigation a {
   text-decoration: none;
   text-shadow: 1px 1px 0px #eee, 2px 2px 0px #707070;

}
#navigation a:hover {
   text-decoration: underline;
}
#navigation #logout {
   float: right;
   margin-right: 15px;
}
#navigation img {
   background-color: #FFFFFF;
   margin-left: 20px;
   margin-top: 2px;
   width: 40px;
   height: 40px;
   border: none;
}

/* ----- LOGIN FORM ----- */
#loginForm {
   padding: 10px 20px;
   text-align: right;
}
#loginForm label {
   padding-top: 5px;
}

/* ----- CONTACT BUTTON -----*/
#contactbutton {
   position: fixed;
   right: -3px;
   top: 200px;
   background-color: #FFFFFF;
   cursor: pointer;
}
#contactattention {
   width: 200px;
   position: fixed;
   right: 95px;
   top: 168px;
   border: 3px double #000000;
   padding: 0 5px;
}
/* ----- MAIN CONTENT ----- */
#content { 
   width:910px;
   min-height:450px; /* for modern browsers */
   height:auto !important; /* for modern browsers */
   height:450px; /* for IE5.x and IE6 */
   background-color:#FFFFFF;
   margin-top:10px;
   padding: 10px 20px;
}
#content h1 {
   font-style: italic;
}
#content p {
   text-indent: 10px;
   font-size: 1.1em;
}
 
/* ----- FOOTER ----- */
#footer { 
   width:950px;
   height:45px;
   text-align: right;
   margin-top: 10px;
}
#footer p {
   padding: 0 20px 0;
   text-shadow: 1px 1px 0px #eee, 2px 2px 0px #707070;
}
#footer #adminpagelink {
   float: left;
   padding: 10px 20px 0;
}
#adminpagelink a {
   font-size: 1.2em;
   text-decoration: none;
   text-shadow: 1px 1px 0px #eee, 2px 2px 0px #707070;
}
#footer #admintools {
   float: left;
   padding: 10px 20px 0;
}
#admintools span {
   font-size: 1.2em;
   text-shadow: 1px 1px 0 #eee, 2px 2px 0 #707070;
   text-decoration: none;
}
#adminpagelink a:hover {
   text-decoration: underline;
}

/* ----- jQUERY UI ----- */
ul#actions {
   margin: 0;
   padding: 0;
}
ul#actions li {
   cursor: pointer;
   float: left;
   list-style: none outside none;
   margin: 2px;
   padding: 4px;
   position: relative;
}

/* ----- SYLLABLES ----- */
#wordAnimArt {
   margin: 0 auto;
   padding: 75px 0;
   width: 898px;
   text-align: center;
   line-height: 1.3;
}
#wordAnim {
   margin: 0 auto;
   padding: 75px 0;
   width: 600px;
   text-align: center;
}
#buttons {
   margin: 0 auto;
   padding: 50px 0 20px;
   width: 700px;
   text-align: center;
}
#buttons1 {
   margin: 0 auto;
   width: 700px;
   text-align: center;
   padding-top: 25px;
}
#challengeInstructions {
    padding: 0 25%;
    margin-top: 15px;
}
#buttonsChallenge {
   margin: 0 auto;
   padding: 50px 0 0;
   width: 700px;
   text-align: center;
}
#score {
   margin: 20px auto;
   width: 700px;
   text-align: center;
}
#scoreIcon {
   float: right;
   margin: -150px 100px 0 0;
}
#topTenTable {
   border: 1px solid #000000;
   border-collapse: collapse;
   margin: 0 auto;
   text-align: center;
}
#thisAttemptScore {
   width: 500px;
   margin: 0 auto;
   padding: 0;
}
#newChallengeButton {
   margin: 10px auto 0;
}

/* --- Visual Explanation Box (VEB) */
#veb {
   position: absolute;
   width: auto;
   margin-top: 175px;
   margin-left: 796px;
   cursor: pointer;
}

#veb1 {
   position: absolute;
   width: auto;
   margin-top: 32px;
   cursor: pointer;
   float: left;
}



/* --- Did You Know --- */
.dykText {
   width: 45%;
   vertical-align: top;
}
.dykTextSep {
   width: 100px;
}
#dyk {
   position: absolute;
   float: right;
   margin-left: 800px;
   margin-top: 30px;
   width: 101px;
   cursor: pointer;
}
#dykDialogContent {
   display: none;
   background-color: #C1FFC1
}
#dykNavDiv {
   width: 95%;
   text-align: center;
}
.dykArabicTitle {
   font-family: "Amiri", serif;
}
.dykEnglishTitle {
   font-family: "Salsa", sans-serif;
}

#explanationDialog {
   background-color: #FFFFFF;
}
.underlineold {
   border-bottom: 4px solid rgb(184, 0, 0);
}
.underline {
   border-bottom: 2px solid #00CC00;
}
.underline2Wrd {
   border-bottom: 2px solid #00CC00;
}

.black {
    color: black;
}

.green {
    color: green;
}

.blue {
    color: blue;
}

.orange {
    color: orange;
}

.purple {
    color: purple;
}
.fucsia {
    color: #BC005E;
}
.mustard {
    color: #CC9900;
}
.turquise {
    color: #009BD2;
}
.red {
    color: #EA0000;
}
.brown {
    color: #96450E;
}

/* Specifies the size of the audio container */
audio {
  width: 84px;
  height: 25px;
}

audio::-webkit-media-controls-panel {
  -webkit-justify-content: center;
  height: 25px;
}

/* Removes the timeline */
audio::-webkit-media-controls-timeline {
  display: none !important;
}

/* Removes the time stamp */
audio::-webkit-media-controls-current-time-display {
  display: none;
}
audio::-webkit-media-controls-time-remaining-display {
  display: none;
}
/* Removes mute-button */
audio::-webkit-media-controls-mute-button {
  display: none;
}

audio::-webkit-media-controls-mute-button {
    display: none !important;
}

audio::-webkit-media-controls-volume-slider {
    display: none !important;
}