@charset "utf-8";

*
{
  margin: 0;
  padding: 0;
  border: none;
  line-height: normal;
}

img.gallery
{
  margin: 7px;
}

body
{
  background-color: #d8d8d8;
  font-family: Arial, Arial, sans-serif;
}


.bg
{
  margin: 20px auto;
  width: 940px;
  background: url(/images/bg.jpg) repeat-y;
  border-top: solid white 1px;
}

.error-bg
{
  margin: 20px auto;
  width: 465px;
  background: url(/images/error-bg.jpg) repeat-y;
  border-top: solid white 1px;
}

.header
{
  height: 57px;
  background: url(/images/menu.jpg) repeat-x;
  margin: 0 3px;
}

.error-header
{
  height: 4px;
  background: url(/images/error-header.jpg) repeat-x;
  margin: 0 3px;
}

.menu
{
  float: left;
  width: 680px;
  height: 57px;
  line-height: 57px;
}

.search
{
  float: none;
  margin-left: 680px;
  height: 57px;
  width: 253px;
}

.search form div
{
  height: 50px;
  background: url(/images/powered-by-google.jpg) no-repeat left bottom;
  padding-top: 3px;
}


.search-textbox
{
  position: relative;
  height: 17px;
  padding: 1px;
  width: 180px;
  border: 1px solid #444;
  font-size: 13px;
}

.search-button
{
  position: relative;
  height: 22px;
  width: 32px;
  top: 6px;
}


.post-header
{
  clear: both;
  margin: 0 3px;
}

.logo
{
  width: 344px;
  height: 160px;
  float: left;
  background: url(/images/logo.jpg) no-repeat;
}

.languages
{
  height: 17px; /* real height is 19px, but we have padding-top set to 2px */
  background: #f6f6f6;
  margin-left: 344px;
  padding-right: 40px;
  padding-top: 2px;

  text-align: right;
  font-size: 11px;
  color: #444;
}

.languages a, .languages a:visited, .languages a:hover
{
  text-decoration: none;
  color: #444;
}
.languages a:hover { text-decoration: underline; color: #a11926}

span.divider { padding: 0 10px; }


.hot-info
{
  margin-left: 344px;
  height: 141px;
  background: url(/images/hot-info.jpg) repeat-x;
  padding: 1px 0;
}

.hot-info .regexp-screenshot
{
  float: left;
  width: 145px;
  height: 139px;
  background-image: url(/images/regexp-screenshot.jpg);
  background-repeat: no-repeat;
}

.hot-info .regexp-quick-info
{
  float: none;
  margin-left: 150px;
  width: 440px;
}

.regexp-quick-info a, .regexp-quick-info a:visited
{
  color: #f57900; text-decoration: none;
}

.regexp-quick-info a:hover
{
  color: #FF952B; text-decoration: underline;
}

.hot-info .regexp-caption-en
{
  background: url(/images/regexp-caption-en.jpg) no-repeat;
  width: 292px;
  height: 59px;
}

.hot-info .regexp-caption-be
{
  background: url(/images/regexp-caption-be.jpg) no-repeat;
  width: 292px;
  height: 59px;
}

.hot-info .regexp-caption-ru
{
  background: url(/images/regexp-caption-ru.jpg) no-repeat;
  width: 292px;
  height: 59px;
}

.hot-info .regexp-description
{
  margin-left: 3px;
  margin-top: 10px;

  font-size: 11px;
  color: #444;
}

.hot-info .regexp-links
{
  color: #444;
  font-size: 16px;
  font-weight: bold;

  margin-left: 5px;
  margin-top: 10px;
}



.sidebar
{
  clear: both;
  float: left;
  width: 258px;
  padding: 19px 19px 0;
}

.sidebar-group
{
  border: 1px solid #cdcdcd;
  padding-bottom: 14px;
  margin-bottom: 22px;
}

.sidebar-group h1
{
  border-bottom: 1px solid #cdcdcd;
  height: 35px;
  overflow: hidden;
  background: #F2F2F2 url(/images/sidebar-group-h1.jpg) repeat-x;

  text-align: center;
  line-height: 35px;
  font-size: 18px;
  font-weight: normal;
  text-transform: uppercase;
  color: #a11926;
}

.sidebar-group h2
{
  background: url(/images/small-arrow.jpg) no-repeat left 2px;
  padding-left: 16px;
  margin: 14px 10px 5px 10px;

  font-size: 15px;
  text-transform: uppercase;
  font-weight: bold;
  color: #6E6E6E;
  letter-spacing: -1px;
  word-spacing: 4px;
}

.sidebar-group p
{
  margin: 3px 10px 6px 26px;
  text-align: justify;  

  font-size: 13px;
  color: #444;
}

.sidebar-group p a, .sidebar-group p a:visited, .main a, .main a:visited,
.footer a, .footer a:visited
{
  color: #a11926;
  text-decoration: none;
}

.sidebar-group p a:hover, .main a:hover, .footer a:hover
{
  color: #d04956;
  text-decoration: underline;
}

.main
{
  float: none;
  margin-left: 296px;
  padding: 0px 23px 22px 0;
  width: 621px;
  color: #444;
}

.error-bg .main
{
  margin: 20px 20px;
  float: none;
  padding: 0;
  width: 425px;
}

.main h1
{
  border-bottom: 1px solid #cdcdcd;
  padding-bottom: 4px;
  margin-bottom: 14px;
  margin-top: 27px;

  font-size: 18px;
  font-weight: normal;
  text-transform: uppercase;
  color: #a11926;
}

.error-bg .main h1 {
  margin-top: -10px;
  line-height: 200%;
  text-align: center;
}


.main p, .main ul, .main table
{
  font-size: 17px;
  line-height: 23px;
  margin-bottom: 10px;
  text-align: justify;
}

.main ul { margin-left: 30px; }

.main li { line-height: 24px; }

.main .contribute-button-and-code
 {
   margin-left: 30px;
   margin-bottom: 20px;
 }

.main .contribute-button
 {
   float: left;
   width: 110px;
 }

.main .contribute-code
 {
   float: none;
   margin-left: 110px;
   font-family: Courier New;
   font-size: 12px;
   border: 1px solid #cdcdcd;
   background-color: #FBFBFB;
   padding: 2px 5px;
 }

.main .download
{
  font-size: 20px;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 4px;
  
}
.main .post-download
{
  font-size: 14px;
  font-weight: bold;
  /*border-bottom: 1px solid #d7d7d7;*/
}

.pre-footer
{
  clear: both;
  background: url(/images/pre-footer.jpg) no-repeat top;
  height: 3px;
  font-size: 0;
}


.footer
{
  background-color: #d8d8d8;
  background-image: none;
  text-align: center;
  color: #444;
  font-size: 11px;
  line-height: 16px;
}



