@import "http://fonts.googleapis.com/css?family=Expletus+Sans:regular,600|Walter+Turncoat:regular,b,i,bi";


#page {
  margin: 0 auto 0 auto; padding: 0; border:0;
  width: 100%; max-width: 960px;
  /* Use a 14px base font size with a 18px line height */
  font-size: 0.875em; /* 16px x .875 = 14px */
  line-height: 1.286em; /* 14px x 1.286 = 18px */
  font-family: verdana, sans-serif;
}

#navigation {
  position: relative;
  float: none;
  display: block;
  margin: 0;
  padding: 0;
  padding-bottom: 0;
  border: 0;
  text-align: center;
  font-size: 80%;
  height: 3em;
}
  

#navigation div,
#navigation p {
  margin: 0;
  padding: 0;
  border: 0;
}

.node-teaser .field-label-above {
  display: none;
}
  
.breadcrumb {
  padding-bottom: 0; /* Undo system.css */
}

  h1.node-title, /* The title of the page */
  h2.node-title, /* Block title or the title of a piece of content when it is given in a list of content */
  h3.node-title /* Comment title */
  {
    margin: 0;
  }

  div.messages /* Important messages (status, warning, and error) for the user */
  {
    margin: 0 1em 5px 1em;
    border: 2px solid #ccc;
    padding: 5px;
    color: #000;
    background-color: #fff;
    font-style: italic;
  }

  div.status /* Normal priority messages */
  {
  }

  div.warning /* Medium priority messages */
  {
    /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
  }

  div.warning,
  tr.warning,
  body.section-admin tr.warning
  {
    /* color: #220; */ /* Drupal core uses #220 */
    background: #ffd;
  }

  div.error /* High priority messages. See also the .error declaration below. */
  {
    /* border: 1px solid #d77; */ /* Drupal core uses: 1px solid #d77 */
  }

  div.error,
  tr.error,
  body.section-admin tr.error
  {
    /* color: #200; */ /* Drupal core uses #200 */
  }

  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 */
  {
  }

  .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
  {
    padding: 0.5em;
  }

  .node-unpublished div.unpublished, /* The word "Unpublished" displayed beneath the content. */
  .comment-unpublished div.unpublished
  {
    height: 0;
    overflow: visible;
    color: #d8d8d8;
    font-size: 75px;
    line-height: 1;
    /*font-family: Impact, "Arial Narrow", Helvetica, sans-serif;*/
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    word-wrap: break-word; /* A very nice CSS3 property */
  }

  .marker /* "New" or "Updated" marker for content that is new or updated for the current user */
  {
    color: #c00;
  }

  .node.node-unpublished .picture,
  .comment.comment-unpublished .picture
  {
    position: relative; /* Otherwise floated pictures will appear below the "Unpublished" text. */
  }

  .node div.links /* Wrapper for node links */
  {
    margin: 1em 0;
  }

  ul.links /* Taxonomy links, node links, comment links */
  {
    margin: 0;
    padding: 0;
  }

  ul.links.inline
  {
    display: inline;
  }

  ul.links li
  {
    display: inline;
    list-style-type: none;
  }

/** Drupal comments **/
  #comments /* Wrapper for all comments */
  {
    margin: 1em 0;
  }

  .comment div.links /* Wrapper for comment links. See also the ul.links declaration in the node section above. */
  {
    margin: 1em 0;
  }

/** Drupal blocks **/
  .block /* Block wrapper */
  {
    margin-bottom: 12px;
  }


  .more-link /* Aggregator, blog, and forum more link */
  {
    text-align: right;
  }

  #user-login-form /* Drupal's default login form */
  {
    text-align: left;
  }

  tr.even, tr.odd /* Some tables have rows marked even or odd. See also the ".section-admin tr.even" declaration below. */
  {
    border: 1px solid #EDB;
  }

  tr.even
  {
    /* background-color: #eee; */ /* Drupal core uses a #eee background */
  background: #EEE;
  }

  tr.odd
  {
    /* background-color: #eee; */ /* Drupal core uses a #eee background */
  background: #F7F7F7;
  }

  td {
    padding: 0.2em 1em;
  }
  
  li a.active /* The active item in a Drupal menu */
  {
    color: #000;
  }


/** Drupal forms **/
  .form-item, /* Wrapper for a form element (or group of form elements) and its label */
  .form-checkboxes,
  .form-radios
  {
    margin: 1em 0;
  }

  .form-item input.error, /* Highlight the form elements that caused a form submission error */
  .form-item textarea.error,
  .form-item select.error
  {
    border: 2px solid #c00;
  }

  .form-item label /* The label for a form element */
  {
    display: block;
    font-weight: bold;
  }

  .form-item label.option /* The label for a radio button or checkbox */
  {
    display: inline;
    font-weight: normal;
  }

  .form-required /* The part of the label that indicates a required field */
  {
    color: #c00;
  }

  .form-item .description /* The descriptive help text (separate from the label) */
  {
    font-size: 0.85em;
  }

  .form-checkboxes .form-item, /* Pack groups of checkboxes and radio buttons closer together */
  .form-radios .form-item
  {
    margin: 0.4em 0;
  }

  .container-inline div, .container-inline label /* Inline labels and form divs */
  {
    display: inline;
  }

  .tips /* Tips for Drupal's input formats */
  {
    margin: 0;
    padding: 0;
    font-size: 0.9em;
  }

/** OpenID **/
  /* The default styling for the OpenID login link seems to assume Garland's
   * styling of list items.
   */
  #user-login-form ul /* OpenID creates a new ul above the login form's links. */
  {
    margin-bottom: 0; /* Position OpenID's ul next to the rest of the links. */
  }

  #user-login-form li.openid-link, /* The "Log in using OpenID" links. */
  #user-login li.openid-link
  {
    margin-top: 1em;
    margin-left: -20px; /* Un-do some of the padding on the ul list. */
  	padding-left: 20px;
  	background-position: left center;
  }

  #user-login-form li.user-link, /* The "Cancel OpenID login" links. */
  #user-login li.user-link
  {
    margin-top: 1em;
  	list-style-type: disc;
  	list-style-position: outside;
  }

  #user-login li.openid-link, /* The OpenID links on the /user form. */
  #user-login li.user-link
  {
    margin-left: -2em; /* Un-do all of the padding on the ul list. */
  }

/** Drupal admin tables **/
  /* We overrode these styles in html-elements.css, but restore them for the
   * admin section of the site.
   */
  .section-admin tbody
  {
    border-top: 1px solid #ccc;
  }

  .section-admin th
  {
    text-align: left;
    padding-right: 1em;
    border-bottom: 3px solid #ccc;
  }

  .section-admin tbody th
  {
    border-bottom: 1px solid #ccc;
  }

  .section-admin thead th
  {
    text-align: left;
    padding-right: 1em;
    border-bottom: 3px solid #ccc;
  }

  .section-admin tr.even,
  .section-admin tr.odd
  {
    background-color: #eee;
    border-bottom: 1px solid #ccc;
    padding: 0.1em 0.6em;
  }

.sidebar .block {
  position: relative;
  border: 1px solid #EDC;
  background: LemonChiffon;
  background: -moz-linear-gradient(top left, LemonChiffon, White, LemonChiffon);
  background: -webkit-linear-gradient(top left, LemonChiffon, White, LemonChiffon);
  background: linear-gradient(top left, LemonChiffon, White, LemonChiffon);
  padding: 0;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
}

#main-wrapper {
  margin: 0 2px;
}

#main {
  margin: 0;
  padding: 0;
  border: 0;
}

#content {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

#main-content, .sidebar {
  margin: 0;
}

#main .content {
  text-align: justify;
  /*font-size: 1em;*/
}

.sidebar .content {
  padding: 9px;
  overflow: hidden;
  /*font-size: 0.9em;*/
}

.content .center {
  text-align: center;
  font-weight: bold;
  font-size: 120%;
  margin: 10px;
}

.content address {
  text-align: right;
}

.content address:before {
  content: "\2015";
}

.content blockquote address:before {
  content: "(";
}

.content blockquote address:after {
  content: ")";
}

.node .content h2 {
  font-family: "Expletus Sans", sans-serif;
  border-bottom: 1px dotted DarkGreen;
  color: DarkGreen;
  font-size: 130%;
}

.node .content h3 {
  font-family: "Expletus Sans", sans-serif;
  color: DarkGreen;
  font-size: 110%;
}

.content hr {
  width: 8em;
  margin-left: 2em;
}

.content .footnotes {
  font-size: 85%;
}

.content blockquote {
  border: 1px solid wheat;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  background-color: wheat;
  background-image: url(../images/quote-left.png);
  background-position: 10px 10px;
  background-repeat: no-repeat;
  margin-left: 1em;
  margin-right: 1em;
  padding: 10px;
}
.content blockquote p {
  margin: 0;
  padding-left: 40px;
  padding-right: 40px;
  background-image: url(../images/quote-right.png);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  min-height: 30;
}
.content blockquote.remark {
  font-style: italic;
  background: none;
  /*background-color: #F9FFDD;*/
}
.content blockquote.remark p {
  background: none;
}

table.data {
  margin: 1em auto;
  caption-side: bottom;
  border-top: 1px solid silver;
}

table.data caption {
  margin: 1em auto;
  font-style: italic;
}

table.data tr {
  border-bottom: 1px solid silver;
}

table.data td {
  vertical-align: top;
}

a, a:link, a:visited {
  color: Olive; /*#D01010;*/
  text-decoration: none;
}

a:hover, a:focus {
  color: DarkGreen; /*#D01010;*/
  text-decoration: underline;
}

a:active, a.active {
  color: Olive; /*#D01010;*/
}

ul.images {
  display: block;
  width: 800px;
  margin-right: 500px;
}

ul.images li {
  float: left;
}

#comments-title {
  display: none;
}

.comment {
  background: LightYellow; /*#FFF7E7;*/
  border: 1px solid #EDC;
  margin: 1em;
  padding: 1em;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
}

.node ul.links {
  display: block;
  font-size: 80%;
  color: Gray;
  text-align: right;
}

.view .node-teaser .taxonomy {
  display: none;
}

#content .view .node .node-title a,
#content .view .node .node-title a:hover {
  font-size: 120%;
  /*font-weight: 600;*/
  /*font-variant: small-caps;*/
}

#content .view .node {
  font-size: 90%;
  border: 1px solid #EDC; /*silver;*/
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  box-shadow: #DDD -3px -3px 6px;
  padding: 8px;
  margin-bottom: 12px;
  background: Beige;
  background: -moz-linear-gradient(top left, Beige, White, Beige);
  background: -webkit-linear-gradient(top left, Beige, White, Beige);
  background: linear-gradient(top left, Beige, White, Beige);
}

.sidebar .block {
  box-shadow: #DDD -3px -3px 6px;
}

.group_tags div {
    display: inline;
	text-align: left;
}

.view-mode-full .field-type-date,
.view-mode-full .field-type-taxonomy-term-reference {
	/*float: right;*/
}

.view-mode-full ul.links.inline {
	display: block;
	text-align: right;
	width: 100%;
	font-size: 80%;
}

.view-mode-full .field-type-date div,
.view-mode-full .field-type-taxonomy-term-reference div,
.view-mode-full ul.links.inline li {
	display: inline;
}
	
.view-mode-full .field-type-taxonomy-term-reference a {
  font-size: 80%;
  border: 1px solid #DCB;
  color: Red;
  background: #FED;
  padding: 0 0.5em;
  margin: 0 0.5em;
}

.view-mode-full .field-type-date span {
  font-size: 80%;
  border: 1px solid #DCB;
  color: Gray;
  background: LemonChiffon;
  padding: 0 0.5em;
  margin: 0 0.5em;
}

.taxonomy ul.links.inline li {
  padding: 0;
  margin: 0;
}

.taxonomy .submitted,
.taxonomy .short-url {
  color: Gray;
  background: LemonChiffon;
}

.forum-topic-navigation {
  display: none;
}

.sidebar {
  font-size: 80%;
}

.block .block {
  font-size: 100%;
}

.sidebar .block h2.block-title {
  /*background-color: #E01010;*/
  background: FireBrick;
  background: -moz-linear-gradient(top, FireBrick, FireBrick, Darkred);
  background: -webkit-linear-gradient(top, FireBrick, FireBrick, Darkred);
  background: linear-gradient(top, FireBrick, FireBrick, Darkred);
  /*background: -moz-linear-gradient(left, Maroon, Red, Maroon);
  background: -webkit-linear-gradient(left, Maroon, Red, Maroon);
  background: linear-gradient(left, Maroon, Red, Maroon);*/
  color: PaleGoldenRod;
  margin: 0;
  border-bottom: none;
  -moz-border-radius: 7px 7px 0px 0px;
  -webkit-border-top-right-radius: 7px;
  -webkit-border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  border-top-left-radius: 7px;
  border-radius: 7px 7px 0 0;
  padding: 0.25em 1em 0.25em 1em;

  font-size: 115%;
  line-height: 1em;
  font-family: "Walter Turncoat", sans-serif;
  font-weight: bold;
}

.sidebar h2.block-title {
  border-bottom: 1px dotted #AAA;
  background: transparent;
  font-family: "Expletus Sans", sans-serif;
  font-weight: normal;
  color: DarkGreen;
  margin: .5em 0 .5em 0;
  font-size: 125%;
}

.block h2.block-title a {
  /*font-size: 95%;*/
}

#page-title,
#page-title a,
#page-title a:hover {
  font-family: "Expletus Sans", sans-serif;
  font-weight: normal;
  /*font-variant: small-caps;*/
  color: DarkGreen;
  margin: .5em 0 .5em 0;
  font-size: 166%;
}

#content h2 {
  font-family: "Expletus Sans", sans-serif;
  border-bottom: 1px dotted DarkGreen;
  color: DarkGreen;
  background: transparent;
  font-weight: normal;
  margin: .5em 0 .5em 0;
  font-size: 130%;
}

#content h2 a,
#content h2 a:hover {
  color: DarkGreen;
}

.node-teaser .content h2 {
  border-bottom: none;
}

#content-top,
#content-header,
#content-bottom,
#content-area {
  margin: 8px 0px 8px 8px;
}

.front h1.node-title {
  display: none;
}

.region-footer {
  /*color: white;*/
  text-align: center;
  margin: 8px 2px 2px 8px;
  font-size: 75%;
  padding: 0.5em;
  border: 1px solid #EDC;
  background: LemonChiffon;
  background: -moz-linear-gradient(top left, LemonChiffon, White, LemonChiffon);
  background: -webkit-linear-gradient(top left, LemonChiffon, White, LemonChiffon);
  background: linear-gradient(top left, LemonChiffon, White, LemonChiffon);
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  box-shadow: #DDD -3px -3px 6px;
}

.view-agenda .views-table thead tr {
  display: none;
}

td.views-field-tid, td.views-field-name {
  font-size: 80%;
  max-width: 25em;
}

tr.publication td.views-field-title a {
  font-weight: bold;
}

tr.article td.views-field-title a {
  /*padding-left: 1em;*/
}

td.views-field-created {
  font-size: 80%;
  white-space: nowrap;
}

td.views-field-tid a, td.views-field-name a {
  background: #FED;
  border: 1px solid #DCB;
  white-space: nowrap;
}

td.views-field-title .cover-page {
  /*padding-left: 1em;*/
  /*font-style: italic;*/
  font-weight: bold;
}

td.views-field-title .single-page {
  /*padding-left: 1em;*/
  /*font-style: italic;*/
}

td.views-field-title .inner-page {
  padding-left: 1em;
  /*font-style: italic;*/
}

.standard .collapsible .form-item,
#edit-taxonomy-wrapper,
#edit-ibrp-year-wrapper,
#edit-ibrp-month-wrapper,
#edit-ibrp-mday-wrapper,
#edit-ibrp-page-wrapper {
  float: left; margin: 5px;
  bottom: 5px;
  /*display: inline;*/
}

.wym_area_right {
  display: none;
}

.comment-form  .filter-wrapper,
.comment-form  .form-item-subject {
  display: none;
}

.vertical-tabs-taxonomy .form-item {
  float: left; margin: 5px;
}

/*ul.links li.comment_reply,
ul.links li.comment_edit{
  display: none;
}*/

.teaser-checkbox {
  display: none;
}
.agenda-title-row {
  display: inline-block;
  border: 1px dashed DarkGreen;
  font-weight: bold;
  color: DarkGreen;
  background: Khaki;
}

.agenda-created-cell {
  /*float: left;
  clear: left;*/
  display: inline-block;
  text-align: center;
  width: 30px;
  margin-right: 5px;
  padding: 2px;
  background: DarkGreen;
  color: Khaki;
}
.agenda-title-cell {
  display: inline-block;
  width: 150px;
  vertical-align: top;
  padding: 2px;
}

#block-image-1 .content {
  text-align: center;
} 

.views-accordion-item  .views-field-view-node {
  clear: both;
  text-align: right;
}

.gallery-frame .gallery-slide  {
  text-align: center;
  /*margin-left: auto;
  margin-right: auto;
  padding-left: auto;
  padding-right: auto;
  background: silver;*/
  width: 500px;
}

.view-galleries/*,
.block-views .view-publications*/ {
  text-align: left;
}

.view-galleries .views-row/*,
.block-views .view-publications .views-row*/ {
  vertical-align: top;
  display: inline-block;
  font-weight: bold;
  text-align: center;
  margin: 10px;
  max-width: 120px;
}

/*.view .figure,*/
table .figure {
  width: 220px;
}

.front .figure {
  width: 120px;
}
  
.field-type-image,
.figure {
  padding: 5px 10px;
  clear: both;
  text-align: center;
  /*float: left;*/
}

.field-type-image img,
.figure img {
  max-width: 100%;
}

.front .field-type-image img,
.front .figure img {
  max-height: 120px;
}
  
.field-type-image .legend,
.figure .legend {
  padding: 5px 0 0 0;
  font-style: italic;
  border-bottom: 1px dashed silver;
  max-width: 360px;
}

.node,
.node-teaser,
.comment {
  clear: both;
}

.page-node.node-type-media .figure,
.views-row-even .node-teaser .figure,
.page-node.node-type-media .field-type-image,
.views-row-even .node-teaser .field-type-image {
  float: right;
}

.jcarousel .node-teaser .field-type-image,
.views-row-odd .node-teaser .field-type-image,
.views-row-odd .node-teaser .figure {
  float: left;
}

.node-teaser .legend {
  display: none;
}

div#sidebar-left {
  position: fixed;
  top: 100px;
}

div#block-taxonomyblocks-4 {
  height: 350px;
  overflow: scroll;
}

.ibrp_date label {
  display: none;
}

embed {
  z-index: 0;
}

a.paypal {
	background-image: url(../images/cart20.jpg);
	background-repeat: no-repeat;
	padding-left: 27px;
	font-weight: bold;
	border-bottom: 1px dashed olive;
	font-size: 1.1em;
	margin: 0.75em;
	display: inline-block;

	/*font-size: 110%;*/
	/*padding: 12px 12px 12px 48px;
	margin-top: 5px;
	margin-bottom: 5px;
	min-width: 10em;
	height: 12px;
	font-weight: bold;
	display: inline-block;
	background-color: #F0E8A0;
	background-image: url(../images/cart.gif);
	background-repeat: no-repeat;
	background-position: left center;
	vertical-align: middle;
	border: 2px solid red;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;*/
}

.links {
	text-align: right;
	clear: both;
	font-weight: bold;
	font-size: 90%;
}

.links-actions /*.node_read_more, .page-node  .talk_add, .page-node  .talk_forbidden, .page-node  .talk_comments*/ {
	font-weight: bold;
	font-size: 120%;
}

.links-actions, .links-actions a, .links-actions a:link, .links-actions a:visited {
	color: DarkOliveGreen;
}

.node-teaser  .talk_add, .node-teaser  .talk_forbidden, .node-teaser  .talk_comments {
	display: none;
}

.links .comment_add, .links .comment_forbidden, .links .comment_reply {
	display: none;
}

#content-area .node-teaser p,
#content-area .node-teaser .links {
    margin: 0.5em 0;
	padding: 0;
}

#node-1145 table {
	float: none;
}

#content ul.galleries li.clear-block {
	float: left; /*width: 280px; height: 310px;*/ margin: 5px; padding: 5px;
	text-align: center;
}
#content ul.galleries li.clear-block a,
#content ul.galleries li.clear-block h3 {
	display: block;
	float: none;
	font-size: 110%;
}
#content ul.galleries li.clear-block img {
	display: inline;
	float: none;
	width: 120px;
	height: 120px;
}

#content ul.galleries li.clear-block .description,
#content ul.galleries li.clear-block p {
	display: none;
}

#content-top .item-list { display: none; }

.page-updates #content .links{ display: none; }
#node-6267 .links { display: none; }

#edit-notify-wrapper,
#edit-notify-type-1-wrapper,
#edit-notify-type-2-wrapper { display: none; }
 
.sidebar .figure {
	display: block;
	padding-left: 0px;
	margin-left: 0px;
}

.sidebar .figure img {
	width: 220px;
	padding-left: 0px;
	margin-left: 0px;
}

#content-bottom .block {
  clear: both;
}
 
/*.sidebar .block-ibrp .block-inner > .content {
  max-height: 25em;
  overflow: scroll;
}*/

object { display: block; }

table { clear: both; }

html[lang=fa] .node { letter-spacing: 1px; }

.block-ibrp .node h2.node-title {
    display: none;
}

.block-ibrp .node div,
.block-ibrp p {
    margin: 0px;
	padding: 0px;
}

.view-tracker {
    max-width: 95%;
	font-size: 90%;
}

#block-views-promoted-images-block .content {
	text-align: center;
}

.field-type-taxonomy-term-reference.field-widget-options-buttons {
	display: inline-block;
	width: 45%;
	font-size: 0.75em;
	margin: 5px;
	border: 1px solid silver;
}

.field-type-taxonomy-term-reference.field-widget-options-buttons .form-item,
.field-type-taxonomy-term-reference.field-widget-options-buttons input {
	margin: 0; padding: 0;
}
 
.field-type-taxonomy-term-reference.field-widget-options-buttons .form-checkboxes,
.field-type-taxonomy-term-reference.field-widget-options-buttons .form-radios {
	max-height: 9em;
	overflow: auto;
}
 
.block-title a {
	color: white;
}

@media only screen and (max-width: 640px) {
	.body,
	#page,
	#main,
	.region-header,
	.region-footer,
	.region-content,
	#content .section,
	#content .region-content,
	.region-sidebar-second,
	.region-sidebar-second .section {
		float: none;
		clear: both;
		margin: 0;
		padding: 0;
		border: 0;
		left: 0;
		right: 0;
		width: 100%;
		overflow: hidden;
	}
}
