/* global */
* {
    outline: none;
    direction: rtl;
}
html, body {
  background: #f2f2f2;
  color: #353535;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.left_to_right {
  direction: ltr;
}
#wrapper { 
  margin: 25px auto 0;
  width: 675px;
}
.content {
  background: transparent url(/img/contentbg-line-bot-rtl.png) no-repeat 50% bottom;
  margin-bottom: 15px;
  padding: 22px;
  position: relative;
  width: 631px;
  min-height: 290px;
  z-index: 1;
}
div.content-top {
  background-image: url(/img/contentbg-top.png);
  background-repeat: no-repeat;
  height: 22px;
  position: absolute;
  right: 0;
  top: 0;
  width: 675px;
}
.content-left {
  float: right;
  margin-left: 20px;
  position: relative;
  width: 200px;
  z-index: 1;
}
.content-right {
  color: #4a4a4a;
  float: right;
  padding-right: 15px;
  width: 370px;
  z-index: 1;
}
/* nav */
#nav {
  clear: both;
  list-style: none;
  margin: 0 0 15px;
  overflow: hidden;
  width: 100%;
}
#nav li {
  float: right;
  height: 122px;
  margin-left: 15px;
  position: relative;
  width: 215px;
}
#nav li.last { margin-left: 0; }
#nav li#browser a { background-position: 0 0; }
#nav li#more a { background-position: 0 -122px; }
#nav li#tips a { background-position: 0 -244px; }
#nav li#browser a:hover, #nav li#browser:hover { background-position: -215px 0; }
#nav li#more a:hover { background-position: -215px -122px; }
#nav li#tips a:hover { background-position: -215px -244px; }
#nav li#browser.active a { background-position: -215px 0; }
#nav li#more.active a { background-position: -215px -122px; }
#nav li#tips.active a { background-position: -215px -244px; }

#nav li#browser { background-color: #fff; }

#nav a {
  background: url(/img/nav-bg2.png) no-repeat;
  bottom: 0px;
  color: #353535;
  display: block;
  font-size: 16px;
  line-height: 20px;
  height: 37px;
  padding-top: 85px;
  vertical-align: center;
  text-align: center;
  text-decoration: none;
  width: 215px;
	position: relative;
	z-index: 2;
}

#nav #browser-icons {
	list-style-type: none;
	position: absolute;
	z-index: 0;
	top: 16px;
	right: 10px;
}

#browser-icons li {
	width: 48px;
	height: 48px;
	margin-left: 8px;
	background: transparent url(/img/nav-icons.png) no-repeat;
	display: none;
}

#browser-icons li.safari { background-position: 2px 0; }
#browser-icons li.firefox { background-position: -59px 0; }
#browser-icons li.chrome { background-position: -121px 0;}
#browser-icons li.opera { background-position: -179px 0; width: 60px; margin-left: 4px; margin-right: -5px; }
#browser-icons li.ie { background-position: -245px 0;}

#browser-icons li.last { margin-left: 0; }

/* header */
#header {
  overflow: hidden;
  width: 98%;
  margin-right: 1%;
}
#header h1 { 
  font-size: 58px;
  margin-bottom: 13px;
}
#header h1 a { color: #000; text-decoration: none; }
#header h2 { 
  float: right;
  font-size: 16px;
  line-height: 16px;
}
#header h4 { display: none; }
#share {
  float: left;
  list-style: none;
  margin: 0;
}
#share li {
  float: right;
  height: 18px;
  margin-right: 10px;
  width: 18px;
}
#share li a { 
  background: url(/img/share_buttons_2.gif) no-repeat;
  display: block;
  overflow: hidden;
  text-indent: -9999px;
  height: 20px;
}
#share li#facebook a { background-position: 0 0;}
#share li#digg a { background-position: -23px 0;}
#share li#twitter a { background-position: -46px 0;}

#share li#language {
  width: 176px;
  margin-top: -4px;
}

/* index */
#index .content-left { padding: 20px 0; text-align: center; width: 220px; position: relative; height: 280px;}
#index .content-left #browser_info {
    position: absolute;
    top: 50%;
    margin-top: -50px;
    right: 14px;
    width: 180px;
    display: none;
}
#index #loading {
    position: absolute;
    top: 50%;
    right: 50%;
    margin-top: -25px;
    margin-right: -34px;
}
#index .content-left #browser_info p {
    color: #707070;
}
#index .content-right {
  padding: 20px 0 0 15px;
  text-align: center;
}
#index .content-right p {
    margin: 10px 0;
    color: #707070;
}
/* #index p { font-size: 14px; margin-bottom: 10px; } */
#index h3 { color: #000;
  font-size: 36px; font-weight: bold;
  line-height: 42px;
  margin-bottom: 20px;
}
#index h4 { 
  border-top: 1px solid #ebebeb;
  color: #4a4a4a;
  margin: 15px auto;
  padding-top: 15px;
  width: 325px;
}

#browsers-hide { display: none; }
#browsers { list-style: none; margin: 40px auto 20px 45px; overflow: hidden; width: 576px; }
#browsers li { 
  float: left;
  height: 140px;
	margin-right: 29px;
}
#browsers li a { 
  background: url(/img/browser-icons.png) no-repeat;
  color: #707070;
  display: block;
  font-size: 14px;
  line-height: 16px;
  padding-top: 105px;
  text-align: center;
  text-decoration: none;
}
#browsers li.firefox { width: 86px; }
#browsers li.safari { width: 79px; }
#browsers li.chrome { width: 84px; }
#browsers li.ie { width: 82px; }
#browsers li.opera { width: 78px; }
#browsers li.firefox a { background-position: -223px 0; }
#browsers li.safari a { background-position: -462px 0; }
#browsers li.chrome a { background-position: -107px 0; }
#browsers li.ie a { background-position: -344px 0; }
#browsers li.opera a { background-position: 0 0; }
#browsers li a:hover { text-decoration: underline }

/* try a new browser */
#browser .content { text-align: center; }
#browser .content h3 { font-size: 14px; text-align: center; color: #707070; margin-top: 50px; }

/* tips & more */
#tips .content-right p, #more .content-right p, #tips .content-right li, #more .content-right li { 
  color: #3e3e3e;
  font-size: 12px;
  margin-bottom: 1em;
  position: relative;
}
#tips .content-right p, #tips .content-right li {
  margin-right: 1.5em;
}
#tips li img {
  margin-right: 10px;
  margin-bottom: -10px;
/*   position: absolute; */
}
#tips h3, #more h3 {
  color: #7f7f7f;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
}
#browser .content {
  background: transparent url(/img/contentbg-bot.png) no-repeat 50% bottom;
}    
#more h3 {
    margin-bottom: 10px;
}
#tips h4, #more h4 {
  color: #393939;
  font-size: 11px;
  font-weight: bold;
  margin: 0 0 20px;
  padding-right: 20px; 
}
#tips .content-left ul, #more .content-left ul, #admin_selector {
  color: #393939;
  font-size: 11px;
  list-style: none;
  margin: 0 0 40px;
}
#tips .content-left ul li, #more .content-left ul li, #admin_selector li {
  height: 20px;
  line-height: 20px;
  margin-bottom: 10px;
  padding-right: 20px; 
}
#tips .content-left ul li.active, #more .content-left ul li.active, #admin_selector li.active {
  background: url(/img/list-arrow-rtl.png) no-repeat right;
}
#expire_cache_form {
    float: left;
    line-height: 40px;
}
#more .content-left { padding-top: 5px; }
#more #more-content { text-align: center; }

#admin_language_selector { float: left; }

#tabbed_content .tab {
    display: none;
}
#tabbed_content .instruction {
    display: none;
}
#details .content, #about .content, #terms .content, #privacy .content, #error .content {
    font-size: 12px;
    background: transparent url(/img/contentbg-bot.png) no-repeat 50% bottom;    
}
    
/* footer */
#footer {
  border-top: 1px solid #d4d4d4;
  color: #858585;
  font-size: 11px;
  overflow: hidden;
  padding-top: 5px;
  width: 100%;
}
#footer ul { 
  float: right;
  list-style: none;
  margin: 0;
}
#footer ul li { float: right; margin-left: 10px; }
#footer p#credits { float: left; font-size: 11px; }

.disclaimer {
  font-size: 11px;
  color: #aaa;
  clear: both;
  text-align: center;
  width: auto;
  margin-bottom: -20px;
  display: block;
}

/* admin */
#admin_wrapper { 
    margin: 25px;
    background-color: #fafafa
}

#admin_header {
    width: 100%;
    height: 110px;
    background-color: #bababa;
    color: #333;
    line-height: 40px;
}

#expire {
    display: block;
    height: 30px;
    margin-left: 50px;
}

.admin_description {
    width: 600px;
    margin: 30px;
}

#admin_title {
    padding: 35px;
    float: right;
    text-decoration: none;
}

#admin_language_selector {
    margin-top: 43px;
    margin-left: 30px;
    float: left;
}

#admin_navigation {
    padding: 20px 20px 0 20px;
    font-size: 20px;
    margin: 0;
    margin-right: 20px;
}

#admin_navigation li {
    border: 1px solid #333;
    background-color: #ababab;
    display: inline-block;
    padding: .2em 1em;
}

#new_browser_group {
    float: left;
    color: #aaa;
    text-decoration: none;
}

#admin_navigation li a {
    color: #eee;
    text-decoration: none;
}

#admin_navigation li.chosen {
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    border-left: 1px solid #333;
    border-bottom: 1px solid #fafafa;
    background-color: #fafafa;
    display: inline-block;
    padding: .2em 1em;
}

#admin_navigation li.chosen a {
    color: #333;
    text-decoration: none;
}

#admin_content {
    margin-top: -1px;
    border-top: 1px solid #333;
}

#admin_sections {
    margin: 40px;
    padding: 14px 40px 5px 40px;
    background-color: #eee;
}

#admin_selector {
    margin: 0;
    margin-top: 19px;
}

#admin_selector li {
    vertical-align: middle;
    padding: 0;
    width: 120px;
    height: 114px;
    display: inline-block;
    margin-left: 50px;
}

#admin_selector li a {
    display: block;
    text-indent: -999em;
    overflow: hidden;
    width: 120px;
    height: 114px;
    background: url(/img/sprite-sprite-sprite.png) no-repeat;
}

#admin_home.block a { background-position: 0px 0px; }
#admin_under_hood.block a { background-position: -148px 0px; }
#admin_browser.block a { background-position: -296px 0px; }
#admin_tips.block a { background-position: -454px 0px; }
#admin_footer.block a { background-position: -611px 0px; }

#admin_home a:hover { background-position: 0px -114px; }
#admin_under_hood a:hover { background-position: -148px -114px; }
#admin_browser a:hover { background-position: -296px -114px; }
#admin_tips a:hover { background-position: -454px -114px; }
#admin_footer a:hover { background-position: -611px -114px; }

#admin_home.current a { background-position: 0px -114px; }
#admin_under_hood.current a { background-position: -148px -114px; }
#admin_browser.current a { background-position: -296px -114px; }
#admin_tips.current a { background-position: -454px -114px; }
#admin_footer.current a { background-position: -611px -114px; }

#admin_entry h1 {
    margin: 40px;
}

#admin_browsers, #admin_languages {
    margin: 0;
    margin-top: 19px;
    margin-bottom: 40px;
}

#admin_browsers li, #admin_languages li {
    vertical-align: middle;
    padding: 0;
    width: 90px;
    height: 90px;
    display: inline-block;
    margin-left: 50px;
    margin-bottom: 50px;
}

#admin_browsers li a, #admin_languages li a {
    color: #aaa;
    text-align:center;
    display: block;
    padding: 5px;
    font-size: 14px;
    width: 90px;
    height: 90px;
    background-color: #fff;
    text-decoration: none;
}

#admin_browsers li.current a, #admin_browsers li a:hover, #admin_languages li.current a, #admin_languages li a:hover {
    color: #ccc;
    background-color: #333;
}

.input_unit {
    width: 600px;
    font-size: 14px;
    margin: 20px;
}

input[type=text], textarea {
    padding: 8px;
    font-size: 14px;
    width: 600px;
}

#save_button {
    width: 120px;
}

#delete_button{
    margin-top:30px;
}

.browser_version {
    margin: 20px;
    padding: 20px;
    border: 1px solid #999;
}

.admin_group {
    border: 1px solid #999;
}

.disclaimer {
    font-size: 11px;
    color: #aaa;
    clear: both;
    text-align: center;
    width: auto;
    margin-bottom: -20px;
    display: block;
}

.admin_link {
    text-align: center;
}
