/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */


/*
 * Body
 */
body {
  margin: 0;
  padding: 0;
}

#page-wrapper {
  /* border-left: 3px #7AA7D9 double; */
  /* border-right: 3px #7AA7D9 double; */
}

#page {
}

/*
 * The skip navigation link will be completely hidden until a user tabs to the
 * link. See http://www.webaim.org/techniques/skipnav/
 */
#skip-link a,
#skip-link a:visited {
  position: absolute;
  display: block;
  left: 0;
  top: -500px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  text-align: center;
  background-color: #666;
  color: #fff;
}

#skip-link a:hover,
#skip-link a:active,
#skip-link a:focus {
  position: static;
  width: 100%;
  height: auto;
  padding: 2px 0 3px 0;
}

/*
 * Header
 */
#header {
  position: relative;
}

#header .section {
}

#logo /* Wrapping link for logo */ {
  float: left; /* LTR */
  margin: 0;
  padding: 0;
}

#logo img {
  vertical-align: bottom;
}

#name-and-slogan /* Wrapper for website name and slogan */ {
  padding: 40px 150px 20px 150px;
}

h1#site-name,
div#site-name /* The name of the website */ {
  margin: 0;
  padding: 0;
  line-height: 120%;
  font-size: 2.6em;
  letter-spacing: -0.04em;
  font-weight: normal;
  text-align: center;
  font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
}

#site-name a:link,
#site-name a:visited {
  color: #1a1a1a;
  text-decoration: none;
}

#site-name a:hover,
#site-name a:focus {
  text-decoration: none;
}

#site-name strong {
  font-weight: normal;
}

#site-slogan /* The slogan (or tagline) of a website */ {
}

.region-header /* Wrapper for any blocks placed in the header region */ {
}

.region-header #block-block-10 {    /* Баннеры Росархива в Шапке */
  position: absolute;
  top: 30px;
  right: 10px;
}

#block-block-10 a {   /* Баннеры Росархива в Шапке */
  padding: 0 0 10px 0;
  display: block;
}

.region-navigation {
  padding-left: 10px;
}

.region-navigation .block {   /* Параметры отдельного блока из верхней линейки навигации с крупными кнопками */
  float: left;
  width: 160px;
  margin: 4px 10px 0 0px;
  padding: 3px 5px 0 3px;
  /* margin: 0 30px 0 0;
  border-bottom: 1px #E4CBA5 dashed;  */
  border: 1px #A9A9A9 solid;
  
  border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;  
  overflow: hidden;
    behavior: url(../images/PIE.htc);
    zoom: 1;
}
.region-navigation .block:hover {
  border: 1px #DCDCDC solid;
  background-color: #cdcdcd;
}

.region-navigation .block .content {
  min-height: 70px;
}

.region-navigation .block .content p {
  padding: 7px 0 0 65px;
  margin: 0;
  line-height: 90%;
}

.region-navigation .block .content a {
  text-decoration: none;
  color: #333;
  display: block;  /* Чтобы кликабельной была вся область ссылки */
  font-size: 0.8em; /* размер шрифта в верхнем меню */
}

/*
 * Main (container for everything else)
 */
#main-wrapper {
  
}

#main {
}

#main .region-highlight {
  margin: 0 0 20px 0;
  padding: 0;
}

#main .region-highlight .content {
  min-height: 60px;
  padding: 10px 10px 10px 70px;
  text-align: left;
  margin: 0;
}

.block-tagadelic .content {
  padding: 12px 3px 0 5px;
}

.block-tagadelic a {
  text-decoration: none;
}

.block-tagadelic a:hover {
  text-decoration: underline;
}

.block-tagadelic .more-link {
  padding: 15px 0 0 0;
  font-size: 0.65em;
}

.block-tagadelic .more-link a {
  text-decoration: underline;
}

.tagadelic.level1 {
  font-size: 0.65em;
  letter-spacing: -0.1em;
  line-height: 110%;
  color: #000;
}

.tagadelic.level2 {
  font-size: 0.85em;
  letter-spacing: -0.1em;
  line-height: 110%;
  color: #333;
}

.tagadelic.level3 {
  font-size: 1.1em;
  letter-spacing: -0.1em;
  line-height: 110%;
  color: #555;
}

.tagadelic.level4 {
  font-size: 1.3em;
  letter-spacing: -0.1em;
  line-height: 110%;
  color: #777;
}

.tagadelic.level5 {
  font-size: 1.55em;
  letter-spacing: -0.1em;
  line-height: 110%;
  color: #999;
}

.tagadelic.level6 {
  font-size: 1.8em;
  letter-spacing: -0.1em;
  line-height: 110%;
  color: #bbb;
}

.tagadelic.level7 {
  font-size: 2.1em;
  letter-spacing: -0.1em;
  line-height: 110%;
  color: #ccc;
}

/*
 * Content
 */
#content {
}

#content .section {
}

#mission /* The mission statement of the site (displayed on homepage) */ {
}

.region-content-top /* Wrapper for any blocks placed in the "content top" region */ {
}

.breadcrumb /* The path to the current page in the form of a list of links */ {
  padding: 0 0 15px 25px; /* Undo system.css */
  background: url(../images/feet.png) no-repeat left top;
  background-position: 0px 1px;
}

h1.title, /* The title of the page */
h2.title, /* Block title or the title of a piece of content when it is given in a list of content */
h3.title /* Comment title */ {
  margin: 0;
}

h1.title {      /* Заголовки разделов, например, История РГАНТД */
  font-size: 2.0em;
  line-height: 120%;
  padding: 0 0 10px 0;
  font-weight: normal;
  color: #555;
}

.node h2.title {      
  font-size: 1.4em;
  line-height: 100%;
  text-indent: 0px;
  padding: 0 0 0 0px;
  font-weight: normal;
}

.node h2.title a {
  color: #555;
}

.node h2.title:first-letter {
  color: #C0C0C0;
}

.node h2.title a:first-letter {   /* специально для IE */
  color: #C0C0C0;
  font-size: 1.5em;
  font-weight: bold;
}

.sidebar .block h2.title {    /* Заголовки меню, например, Архив */
  padding: 5px 0 0px 5px;
  font-size: 1.4em;
  letter-spacing: -0.05em;
  line-height: 100%;
  color: #394e66;
  font-weight: normal;
  font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
  border-bottom: 4px #999 solid;
}

.menutree-page h3 {
  display: none;
}

.region-sidebar-first .block h2.title {  /* Заголовок меню вплотную к меню  */
  margin-bottom: -14px;
}

.region-sidebar-first .block h2.title {   /* верхняя часть подложки для блока */
  background: url() no-repeat left top;   /* ширина картинки 230 пикс */
}

.region-sidebar-first .block .content {   /* нижняя часть подложки для блока */
  padding: 0;
  background: url() no-repeat right bottom;   /* ширина картинки 230 пикс */
}

.region-sidebar-first .block a {
  color: #2b3b4d;
}

.region-sidebar-first .block {
  margin-bottom: 30px;
}

tr.even /* Some tables have rows marked even or odd. */ {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

tr.odd {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}
.border-top {
  border-left: 1px #666 dashed;
}
.border-right {
  border-left: 1px #666 dashed;
}
.border-bottom {
  border-left: 1px #666 dashed;
}
.border-left {
  border-left: 1px #666 dashed;
}

div.messages /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */ {
}

div.status /* Normal priority messages */ {
}

div.warning,
tr.warning /* Medium priority messages */ {
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
}

div.error,
tr.error /* High priority messages. See also the .error declaration below. */ {
}

.error /* Errors that are separate from div.messages status messages. */ {
  /* color: #e55; */ /* Drupal core uses a #e55 background */
}

.warning /* Warnings that are separate from div.messages status messages. */ {
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
}

div.tabs /* See also the tabs.css file. */ {
}

.help /* Help text on a page */ {
  margin: 1em 0;
}

.more-help-link /* Link to more help */ {
  font-size: 0.85em;
  text-align: right;
}

#content-area /* Wrapper for the actual page content */ {
}

#content-area p {    /* Весь текст в абзацах выравнивается по ширине */
  text-align: justify;
}

ul.links /* List of links */ {
  margin: 1em 0;
  padding: 0;
}

ul.links.inline {
  margin: 0;
  display: inline;
}

ul.links li {
  display: inline;
  list-style-type: none;
  padding: 0 0.5em;
}

.terms-inline {
  display: none;
}

.pager /* A list of page numbers when more than 1 page of content is available */ {
  clear: both;
  margin: 1em 0;
  text-align: center;
}

.pager a,
.pager strong.pager-current /* Each page number in the pager list */ {
  padding: 0.5em;
}

.feed-icons /* The links to the RSS or Atom feeds for the current list of content */ {
  margin: 1em 0;
}

.more-link /* Aggregator, blog, and forum more link */ {
  text-align: right; /* LTR */
}

.region-content-bottom /* Wrapper for any blocks placed in the "content bottom" region */ {
}

/*
 * First sidebar (on left in LTR languages, on right in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */
.region-sidebar-first {
}

.region-sidebar-first .section {
}

/*
 * Second sidebar (on right in LTR languages, on left in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */
.region-sidebar-second {
}

.region-sidebar-second .block {    /*  Любой блок в правой колонке */
  border: 1px #C0C0C0 solid;
  background-color: #efefef;
  margin: 0 0 20px 0;
  padding: 0 5px 10px 5px;
  
  border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;  
  overflow: hidden;
    behavior: url(../images/PIE.htc);
    zoom: 1;
}


.region-sidebar-second .section {
}

#block-block-12 {     /*  Блок с баннерами  */
  text-align: center;
}
#block-block-12 img {     /*  Отдельный баннер   */
  margin: 0;
  padding: 0;
  border: 1px #C0C0C0 solid;
}

.block-search {            /*  Блок с формой поиска  */
  text-align: center;
}
.block-search .content {     /*  Форма поиска   */
  margin: 10px 0 0 0;
}

/*
 * Footer
 */
#footer {
}

#footer .section {
}

#footer-message /* Wrapper for the footer message from Drupal's "Site information"
                   and for any blocks placed in the footer region */ {
}

.region-footer {
}

/*
 * Closure
 */
.region-page-closure /* Wrapper for any blocks placed in the closure region */ {
  background-color: #C0C0C0;
  /* border: 3px #7AA7D9 double; */
  /* border-top: none; */
  padding: 2px;
  text-align: center;
  font-size: 0.6em;
  color: #555;
}

/*
 * Drupal boxes
 *
 * Wrapper for Comment form, Comment viewing options, Menu admin, and
 * Search results.
 */
.box /* Wrapper for box */ {
}

.box h2 /* Box title */ {
  font-size: 1.1em;
  color: #666;
  margin-top: 20px;
}

.box .content /* Box's content wrapper */ {
}

/*
 * Markup free clearing (See: http://www.positioniseverything.net/easyclearing.html )
 */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/**
 * Hide elements from all users.
 *
 * Used for elements which should not be immediately displayed to any user. An
 * example would be a collapsible fieldset that will be expanded with a click
 * from a user. The effect of this class can be toggled with the jQuery show()
 * and hide() functions.
 */
.element-hidden {
  display: none;
}

/**
 * Hide elements visually, but keep them available for screen-readers.
 *
 * Used for information required for screen-reader users to understand and use
 * the site where visual display is undesirable. Information provided in this
 * manner should be kept concise, to avoid unnecessary burden on the user. Must
 * not be used for focusable elements (such as links and form elements) as this
 * causes issues for keyboard only or voice recognition users. "!important" is
 * used to prevent unintentional overrides.
 */
.element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/*  Shared rules    */

.justify {
  text-align: justify;
}
.field-photo {
  text-align: center;
  margin: 30px 0 20px 0;
}
.field-photo .field-item {
  display: inline;
}
.field-photo .field-item a {
  padding: 4px 4px 8px 4px;
}
.comment_wrapper h2.title {
  text-align: center;
}
.comment_wrapper .content {
  width: 600px;
}
.field-field-photographer .field-items {
  text-align: right;
  font-size: 12px;
  color: #333;
  margin-bottom: 30px;
}
.submitted {
  display: none;
}
