/* global */
* {
    outline: none;
}
html, body {
    background: #f2f2f2;
    color: #353535;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
#wrapper { 
    margin: 25px auto 0;
    width: 675px;
}
.content {
    background: transparent url(/img/contentbg-line-bot.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;
    left: 0;
    top: 0;
    width: 675px;
}
.content-left {
    float: left;
    margin-right: 20px;
    position: relative;
    width: 200px;
    z-index: 1;
}
.content-right {
    color: #4a4a4a;
    float: left;
    padding-left: 15px;
    width: 370px;
    z-index: 1;
}
/* nav */
#nav {
    clear: both;
    list-style: none;
    margin: 0 0 15px;
    overflow: hidden;
    width: 100%;
}
#nav li {
    float: left;
    height: 122px;
    margin-right: 15px;
    position: relative;
    width: 215px;
}

#nav li.ru a, #nav li.nl a, #nav li.de a, #nav li.hu a, #nav li.pl a, #nav li.pt a, #nav li.el a, #nav li.fr a, #nav li.jp a, #nav li.pt-br a {
  line-height: 18px;
  font-size: 13px;
  padding-top: 81px;
  padding-bottom: 4px;
}

#nav li.last { margin-right: 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;
	left: 10px;
}

#browser-icons li {
	width: 48px;
	height: 48px;
	margin-right: 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-right: 4px; margin-left: -5px; }
#browser-icons li.ie { background-position: -245px 0;}

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

/* header */
#header {
    overflow: hidden;
    width: 98%;
    margin-left: 1%;
}
#header h1 { 
    font-size: 58px;
    margin-bottom: 13px;
}
#header h1 a { color: #000; text-decoration: none; }
#header h2 { 
    float: left;
    font-size: 16px;
    line-height: 16px;
}
#header h4 { display: none; }
#share {
    float: right;
    list-style: none;
    margin: 0;
}
#share li {
    float: left;
    height: 18px;
    margin-left: 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: 180px;
    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;
    left: 14px;
    width: 180px;
    display: none;
}
#index #loading {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -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-left: 1.5em;
}
#tips li img {
    margin-left: 10px;
    position: absolute;
}
body.fr li img {
    right: -40px;
    top: 0;
}
#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-left: 20px; 
}
#tips .content-left ul, #more .content-left ul {
    color: #393939;
    font-size: 11px;
    list-style: none;
    margin: 0 0 30px;
}
#tips .content-left ul li, #more .content-left ul li, #admin_selector li {
    /*   height: 20px; */
    /*   line-height: 20px; */
    margin-bottom: 10px;
    padding-left: 20px; 
}
#tips .content-left ul li.active, #more .content-left ul li.active, #admin_selector li.active {
    background: url(/img/list-arrow.png) no-repeat 0 -2px;
}
#expire_cache_form {
    float: right;
    text-align: right;
    line-height: 40px;
}
#more .content-left { padding-top: 5px; }
#more #more-content { text-align: center; }

#admin_language_selector { float: right; }

#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: left;
    list-style: none;
    margin: 0;
}
#footer ul li { float: left; margin-right: 10px; }
#footer p#credits { float: right; font-size: 11px; }
#footer p#credits img { margin: 0 0 -7px 0;}

/* 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-right: 50px;
}

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

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

#admin_language_selector {
    margin-top: 43px;
    margin-right: 30px;
    float: right;
    font-size: 14px;
}

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

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

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

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

#admin_navigation li.chosen {
    border-top: 1px solid #333;
    border-left: 1px solid #333;
    border-right: 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 {
    padding: 40px;
    margin-top: -1px;
    border-top: 1px solid #333;
}

#admin_sections {
    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-right: 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 0;
}

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

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

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

#admin_browsers li a span, #admin_languages li a span {
    display: table-cell;
    vertical-align: middle;
}

#copy_elements {
    margin-top: 30px;
}

#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 0;
}

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;
}
