/**
 * @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.html {
  margin: 0;
  padding: 0;
  background: url('../images/pcrs_background.png') repeat scroll top left; 
}

/*body.html:before {
  content: url('../images/stethoscope.png');
  position: absolute;
  top: 0;
  left: 8%;
  z-index: -999;
}

body.html:after {
  content: url('../images/lungs.png');
  position: absolute;
  top: 0;
  right: 3%;
  z-index: -999;
}*/

#stethback {
  background: url('../images/stethoscope.png') no-repeat top left; 
  position: absolute;
  top: 0;
  left: 8%;
  z-index: -999;
  width:158px;
  height:513px;
}
#lungsback {
  background: url('../images/lungs.png') no-repeat top left; 
  position: absolute;
  top: 0;
  right: 3%;
  z-index: -999;
  width:316px;
  height:458px;
}

#page {
  margin: 80px auto;
  background: #FFF;

      -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
        -ms-border-radius: 5px;
         -o-border-radius: 5px;
           border-radius: 5px;
}

/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 * See the element-focusable rule in system.base.css.
 */

#skip-link {
  margin: 0;
}
#skip-link a,
#skip-link a:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}

/*
 * Header
 */

#header {
  background: #00325D;
  margin: 30px 0 30px 0;
  padding: 20px 30px;

  -webkit-border-radius: 5px 5px 0 0;
     -moz-border-radius: 5px 5px 0 0;
      -ms-border-radius: 5px 5px 0 0;
       -o-border-radius: 5px 5px 0 0;
          border-radius: 5px 5px 0 0;
}

#logo { /* Wrapping link for logo */
  float: left; /* LTR */
  margin: -40px 0 0 0;
  padding: 0;
  position: absolute;
}
#logo img {
  vertical-align: bottom;
}

#name-and-slogan { /* Wrapper for website name and slogan */
  text-align: right;
  color: #FFF;
  padding: 0 10px 0 0;
}

#site-name { /* The name of the website */
  margin: 0;
  font-size: 1.6em;
  line-height: 1.5em;
}
#site-name a:link,
#site-name a:visited {
  color: #FFF;
  text-decoration: none;
}
#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

#site-slogan { /* The slogan (or tagline) of a website */
  margin: 0;
  font-size: 1.2em;
  font-weight: normal;
}

.region-header { /* Wrapper for any blocks placed in the header region */
  clear: both; /* Clear the logo */
}

/*
 * Main (container for everything else)
 */

#main {
  margin: 10px 0;
}

/*
 * Content
 */

#content {
  width: 98%;
  padding: 10px 0px 30px 25px;
}

.front #content {
  padding: 0 20px 0 25px;
}

#content_bottom {
  clear: both;
}

/*#content .field-name-body p:first-of-type {
  font-weight: bold;
}*/

.region-highlighted {
}

.breadcrumb { /* The path to the current page in the form of a list of links */
  margin-left: 25px;
}

  .breadcrumb ol {
    margin: 0;
    padding: 0;
  }

      .breadcrumb li,
      .breadcrumb li a {
        font-size: 0.9em;
        font-weight: bold;
        color: #003A65;
      }

        .breadcrumb li {
          display: inline;
          list-style-type: none;
          margin: 0;
          padding: 0;
          color: #000;
        }


#content h2 {
	line-height: 1.5em;
	margin-bottom: 0;
}

.front h1.title { display: none; } /* Hide page title on front page */

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

h2.node-title {
  margin-top: 30px;
  line-height: 1.5em;
}

p.submitted {
  margin: 0 0 10px 0;
}

h1.title {
  color: #003a65;
  margin-top: 10px;
  font-size: 2em;
  font-weight: normal;
}

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

div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
}
div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

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

.tabs { /* See also the tabs.css file. */
}

.region-help { /* Help text on a page */
}

.more-help-link { /* Link to more help */
}

.region-content { /* Wrapper for the actual page content */
}

ul.inline { /* List of links generated by theme_links() */
  display: inline;
  padding: 0;
}
ul.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 1em 0 0; /* LTR */
}

span.field-label { /* The inline field label used by the Fences module */
  padding: 0 1em 0 0; /* LTR */
}

.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
  padding: 0;
}
.item-list .pager li { /* Each page number in the pager list */
  padding: 0 0.5em;
}

.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
}

.more-link { /* Aggregator, blog, and forum more link */
}

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

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

/*
 * Footer
 */

#footer {
  background: url('../images/footer_bg.png');
  padding: 5px 20px;

  -webkit-border-radius: 0 0 5px 5px;
     -moz-border-radius: 0 0 5px 5px;
      -ms-border-radius: 0 0 5px 5px;
       -o-border-radius: 0 0 5px 5px;
          border-radius: 0 0 5px 5px;
}

#footer div.block {
    text-shadow: 2px 0 1px #000;
}

/*
 * Page bottom
 */

.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
}

/*
* Contextual Links Reset
*/

div.contextual-links-region {
  text-shadow: none !important;
}


/* CiviCRM Styling */

#crm-container {
  color: #3E3E3E;
}

    #crm-container .form-checkbox,
    #crm-container .form-radio {
      margin: 0 5px 3px 0;
    }

      #crm-container select {
        padding: 2px;
      }

#crm-container .crm-section .label, .crm-section .label {
  width: 16%;
  margin: 0 10px 0 0;
}

/* EU Cookie Styling
* Added By PAH 15-11-2012
* Code from Inco
 */

#sliding-popup .popup-content {
	display: inline-block;
	width: 100%;
	max-width: 1076px;
}
#sliding-popup .popup-content #popup-text {
	margin: 5px 5%;
	width: auto;
	max-width: 100%;
}

#sliding-popup.sliding-popup-bottom {

}
#sliding-popup .popup-content #popup-buttons {
	float: none;
	margin: 10px;
}

@media (max-device-width: 480px) {
	#sliding-popup .popup-content #popup-text {
		float: none;
	}
	#sliding-popup h2 {
		font-size: 14px;
		line-height: 16px;
	}
	#popup-buttons button {
		margin-bottom: 5px;
	}
}
