/* AT Styles
 * NOTICE: This is a commercial Drupal theme. Elements of this theme including this file
 * are licensed under a standard commercial license which does not permit redistribution.
 */

/* Frontpage and Taxonomy Grids */
.content-display-grid article.article {
  float: left;
  margin-bottom: 10px;
  padding-bottom: 0;
  min-width: 150px;
}
.content-display-grid article .article-inner {
  padding: 0 5px;
}
.content-display-grid article .article-inner:hover {}
.content-display-grid article.article h1{
  font-size: 1.077em;
}
.content-display-grid article .article-content {
  padding: 0;
}
.content-display-grid article .submitted time {
  display: block;
}
body.front.fpcc-2 #block-system-main article.article,
body.page-taxonomy.tpcc-2 #block-system-main article.article {
  width: 50%;
}
body.front.fpcc-3 #block-system-main article.article,
body.page-taxonomy.tpcc-3 #block-system-main article.article {
  width: 33.33333333333333%;
}
body.front.fpcc-4 #block-system-main article.article,
body.page-taxonomy.tpcc-4 #block-system-main article.article {
  width: 25%;
}
body.front.fpcc-5 #block-system-main article.article,
body.page-taxonomy.tpcc-5 #block-system-main article.article {
  width: 20%;
}
body.front.fpcc-6 #block-system-main article.article,
body.page-taxonomy.tpcc-6 #block-system-main article.article {
  width: 16.66666666666667%;
}
body.front.fpcc-7 #block-system-main article.article,
body.page-taxonomy.tpcc-7 #block-system-main article.article {
  width: 14.28571428571429%;
}
body.front.fpcc-8 #block-system-main article.article,
body.page-taxonomy.tpcc-8 #block-system-main article.article {
  width: 12.5%;
}

/* HL - Left */
.hl-l #branding {
  float: left;
  margin: 65px 20px 0 0;
}
.hl-l #logo {
  margin: 0;
  padding: 0 10px;
}
.hl-l #menu-wrapper {
  float: right;
  margin: 65px 0 0 0;
}
/* HL - Right */
.hl-r #branding {
  float: right;
  margin: 65px 0 0 20px;
  clear: none;
}
.hl-r #logo {
  float: right;
  margin: 0;
  padding: 0 10px;
}
.hl-r #site-name,
.hl-r #site-slogan {
  text-align: right;
}
.hl-r #menu-wrapper {
  float: left;
  margin: 65px 0 0 0;
  clear: none;
}
.hl-r .region-header .block {
  float: right;
}
.hl-r .region-header .block-menu ul.menu li {
  padding: 0 0 0 15px;
}

/* HL - Centered */
.hl-c #branding {
  float: none;
  margin: auto;
  text-align: center;
}
.hl-c #logo,
.hl-c #header hgroup,
.hl-c #site-name,
.hl-c #site-slogan {
  float: none;
  margin: 0;
  padding: 5px 0;
  text-align: center;
}
.hl-c #menu-wrapper,
.hl-c #region-header-wrapper .block{
  display: table;
  text-align: center;
  margin: auto;
  float: none;
  clear: both;
}
.hl-c #header hgroup {
  margin-bottom: 15px;
  line-height: 1.1;
}
.hl-c #menu-wrapper li a,
.hl-c #region-header-wrapper .block li a {
  text-align: left;
}

/* Top menu bar layout */
.hl-l .region-menu-bar-top .block,
.hl-c .region-menu-bar-top .block,
.hl-r .region-menu-bar-top #block-search-form {
  float: left;
}
.hl-l .region-menu-bar-top #block-search-form,
.hl-c .region-menu-bar-top #block-search-form,
.hl-r .region-menu-bar-top .block {
  float: right;
}

/* Image Alignment */
.field-type-image {
  margin: 0;
  padding: 0;
}
.field-type-image img {
}
.ia-l .field-type-image {
  float: left;
  clear: left;
  margin: 4px 15px 0 0;
}
.ia-r .field-type-image {
  float: right;
  clear: right;
  margin: 4px 0 0 15px;
}
.ia-l .field-type-image,
.ia-r .field-type-image,
.ia-c .field-type-image {
  text-align: center;
}
.ia-l .field-type-image  img,
.ia-r .field-type-image  img,
.ia-c .field-type-image img {
  margin: auto;
}
.ia-c .field-type-image,
.ia-n .field-type-image {
  float: none;
  clear: both;
  border: none;
}
.ia-c .field-type-image figure,
.ia-n .field-type-image figure {
  border: none;
  padding: 10px 0;
}
.ia-n .field-type-image {
  margin: 0;
  text-align: left;
}
.ia-n .field-type-image figcaption {
  text-align: left;
}
.field-type-image.field-label-above {
  margin-top: 0;
}
.field-type-image .field-label {
  margin-bottom: 0.5em;
}
.field-type-image.field-label-inline .field-label {
  margin-bottom: 0;
  line-height: 1;
}
/* Override image alignment with short codes,
   its takes a lot to override the theme settings for image alignment */
body .image-left,
body div.image-left,
body div.image-left .field-type-image {
  float: left;
  margin: 4px 15px 0 0;
  text-align: left;
}
body .image-left img,
body div.image-left img,
body div.image-left .field-type-image img {
  text-align: left;
  margin: 0;
}
body .image-right,
body div.image-right,
body div.image-right .field-type-image {
  float: right;
  margin: 4px 0 0 15px;
  text-align: right;
}
body .image-right img,
body div.image-right img,
body div.image-right .field-type-image img {
  text-align: right;
  margin: 0;
}
body .image-center,
body .image-center img,
body div.image-center,
body div.image-center .field-type-image {
  text-align: center;
}
body .image-center,
body div.image-center,
body div.image-center .field-type-image img{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* Reset node from image fields */
form.node-form div.field-type-image {
  text-align: left !important;
}
form.node-form div.field-type-image {
  float: none !important;
  margin: 0 !important;
}
form.node-form div.field-type-image img {
  text-align: left !important;
  display: inline !important;
  margin: 0 !important;
}

/* Font-Family Presets */
/* sans-serif small */
body.bf-sss,
.bf-sss .form-text,
.snf-sss #site-name,
.ssf-sss #site-slogan,
.ptf-sss #page-title,
.ntf-sss .article-title,
.ctf-sss .comment-title,
.btf-sss .block-title {
  font-family: "Trebuchet MS", "Helvetica Neue", Arial, Helvetica, sans-serif;
}
/* sans-serif large */
body.bf-ssl,
.bf-ssl .form-text,
.snf-ssl #site-name,
.ssf-ssl #site-slogan,
.ptf-ssl #page-title,
.ntf-ssl .article-title,
.ctf-ssl .comment-title,
.btf-ssl .block-title {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
/* sans-serif arial/helvitica */
body.bf-a,
.bf-a .form-text,
.snf-a #site-name,
.ssf-a #site-slogan,
.ptf-a #page-title,
.ntf-a .article-title,
.ctf-a .comment-title,
.btf-a .block-title {
  font-family: Arial, Helvetica, sans-serif;
}
/* calibri and candara windows fonts */
body.bf-cc,
.bf-cc .form-text,
.snf-cc #site-name,
.ssf-cc #site-slogan,
.ptf-cc #page-title,
.ntf-cc .article-title,
.ctf-cc .comment-title,
.btf-cc .block-title {
  font-family: Calibri, Candara, Arial, Helvetica, sans-serif;
}
/* serif small */
body.bf-ss,
.bf-ss .form-text,
.snf-ss #site-name,
.ssf-ss #site-slogan,
.ptf-ss #page-title,
.ntf-ss .article-title,
.ctf-ss .comment-title,
.btf-ss .block-title {
  font-family: Garamond, Perpetua, "Times New Roman", serif;
}
/* serif large */
body.bf-sl,
.bf-sl .form-text,
.snf-sl #site-name,
.ssf-sl #site-slogan,
.ptf-sl #page-title,
.ntf-sl .article-title,
.ctf-sl .comment-title,
.btf-sl .block-title {
  font-family: Georgia, Baskerville, Palatino, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
}
/* Modern/Myriad */
body.bf-m,
.bf-m .form-text,
.snf-m #site-name,
.ssf-m #site-slogan,
.ptf-m #page-title,
.ntf-m .article-title,
.ctf-m .comment-title,
.btf-m .block-title {
  font-family: "Segoe UI", "Myriad Pro", Myriad, Arial, Helvetica, sans-serif;
}
/* Lucida */
body.bf-l,
.bf-l .form-text,
.snf-l #site-name,
.ssf-l #site-slogan,
.ptf-l #page-title,
.ntf-l .article-title,
.ctf-l .comment-title,
.btf-l .block-title {
  font-family: "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Verdana, Geneva, sans-serif;
}
/* mono */
body.bf-ms,
.bf-ms .form-text,
.snf-ms #site-name,
.ssf-ms #site-slogan,
.ptf-ms #page-title,
.ntf-ms .article-title,
.ctf-ms .comment-title,
.btf-ms .block-title {
  font-family: Consolas, Monaco, "Courier New", Courier, monospace;
}

/* Base fontsize */
.fs-smallest {font-size: 0.833em;}
.fs-small       {font-size: 0.917em;}
.fs-medium     {font-size: 1em;}
.fs-large       {font-size: 1.083em;}
.fs-largest   {font-size: 1.167em;}

/* Heading styles */
.hs-caps h1,
.hs-caps h2,
.hs-caps h3,
.hs-caps h4,
.hs-caps h5,
.hs-caps h6 {
  text-transform: uppercase;
}
.hs-fwn h1,
.hs-fwn h2,
.hs-fwn h3,
.hs-fwn h4,
.hs-fwn h5,
.hs-fwn h6 {
  font-weight: 400;
}
.hs-ts .block-title {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Title case */
.ptc-n #page-title,
.ntc-n .article-title,
.ctc-n .comment-title,
.btc-n .block-title {
  text-transform: none;
}
.ptc-uc #page-title,
.ntc-uc .article-title,
.ctc-uc .comment-title,
.btc-uc .block-title {
  text-transform: uppercase;
}
.ptc-lc #page-title,
.ntc-lc .article-title,
.ctc-lc .comment-title,
.btc-lc .block-title {
  text-transform: lowercase;
}
.ptc-c #page-title,
.ntc-c .article-title,
.ctc-c .comment-title,
.btc-c .block-title {
  text-transform: capitalize;
}
.ptc-sc #page-title,
.ntc-sc .article-title,
.ctc-sc .comment-title,
.btc-sc .block-title {
  text-transform: none;
  font-variant: small-caps;
}

/* Title weight */
.ptw-n #page-title,
.ntw-n .article-title,
.ctw-n .comment-title,
.btw-n .block-title {
  font-weight: 400;
}
.ptw-b #page-title,
.ntw-b .article-title,
.ctw-b .comment-title,
.btw-b .block-title {
  font-weight: 700;
}

/* Title alignments */
.pta-l #page-title,
.nta-l .article-title,
.cta-l .comment-title,
.bta-l .block-title {
  text-align: left;
}
.pta-r #page-title,
.nta-r .article-title,
.cta-r .comment-title,
.bta-r .block-title{
  text-align: right;
}
.pta-c #page-title,
.nta-c .article-title,
.cta-c .comment-title,
.bta-c .block-title{
  text-align: center;
}

/* Title shadows */
.pts-l #page-title,
.nts-l .article-title,
.cts-l .comment-title,
.bts-l .block-title{
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}
.pts-d #page-title,
.nts-d .article-title,
.cts-d .comment-title,
.bts-d .block-title{
  text-shadow: 0 1px 1px rgba(0,0,0,0.5);
}
.pts-w #page-title,
.nts-w .article-title,
.cts-w .comment-title,
.bts-w .block-title{
  text-shadow: 0 1px 1px rgba(255,255,255,0.8);
}

/* Login block - horizontal (theme setting) */
.lb-h {
  min-width: 320px;
  margin-top: 1px;
}
.region-header .lb-h {
  float: right;
}
.lb-h .block-inner,
.lb-h .block-content {
  background: none;
  padding: 0;
}
.lb-h #user-login-form {
  margin: 0;
}
.lb-h #user-login-form label {
  line-height: 1.2
}
.lb-h .form-item {
  float:left;
  margin: 0;
}
.lb-h input.form-text {
  margin:0 3px 0 0;
  width:110px;
}
.lb-h #edit-actions {
  margin: 0;
}
.lb-h input.form-submit {
  margin: 0 !important;
  padding: 1px 3px !important;
  position: absolute;
  right: 30px;
  top: 1.2em;
}
.lb-h .form-required,
.lb-h .item-list {
  display: none;
}
.lb-h h2 {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  clip: rect(1px 1px 1px 1px);
}

/* Box shadows */
.sc-n #page  {
  -webkit-box-shadow:0 0 0 transparent;
  -moz-box-shadow:0 0 0 transparent;
  box-shadow:0 0 0 transparent;
}
.bs-l #page {
  -webkit-box-shadow:0 0 10px rgba(76, 76, 76, 0.7);
  -moz-box-shadow:0 0 10px rgba(76, 76, 76, 0.7);
  box-shadow:0 0 10px rgba(76, 76, 76, 0.7);
}
.bs-d #page  {
  -webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.9);
  -moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.9);
  box-shadow:0 0 10px rgba(0, 0, 0, 0.9);
}

/* Bullets */
.mb-n ul.menu {
  padding: 0;
  margin: 0;
}
.mb-n ul li.leaf,
.mb-n ul li.collapsed,
.mb-n ul li.expanded {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}
.mb-ah ul.menu {
  padding: 0 0 0 1.1em;
  margin: 0;
}
.mb-ah ul li.leaf,
.mb-ah ul li.collapsed,
.mb-ah ul li.expanded {
  list-style-image: url(images/arrow-head.png);
}
.mb-ahl ul li.leaf,
.mb-ahl ul li.collapsed,
.mb-ahl ul li.expanded {
  list-style-image: url(images/arrow-head-light.png);
}
.mb-ad ul.menu {
  padding: 0 0 0 1.2em;
  margin: 0;
}
.mb-ad ul li.leaf,
.mb-ad ul li.collapsed,
.mb-ad ul li.expanded {
  list-style-image: url(images/arrow-double.png);
}
.mb-ca ul.menu {
  padding: 0 0 0 1.6em;
  margin: 0;
}
.mb-ca ul li.leaf,
.mb-ca ul li.collapsed,
.mb-ca ul li.expanded {
  list-style-image: url(images/arrow-circle.png);
}
.mb-fa ul.menu {
  padding: 0 0 0 1.6em;
  margin: 0;
}
.mb-fa ul li.leaf,
.mb-fa ul li.collapsed,
.mb-fa ul li.expanded {
  list-style-image: url(images/arrow-fat.png);
}
.mb-sa ul.menu {
  padding: 0 0 0 1.6em;
  margin: 0;
}
.mb-sa ul li.leaf,
.mb-sa ul li.collapsed,
.mb-sa ul li.expanded {
  list-style-image: url(images/arrow-skinny.png);
}

/* Background textures */
body.bgo-n,
body.fpo-n #secondary-content-wrapper .block-inner,
body.pfo-n #page-footer .texture-overlay {
  background-image: none;
}
body.bgo-h1,
body.fpo-h1 #secondary-content-wrapper .block-inner,
body.pfo-h1 #page-footer .texture-overlay {
  background-image: url(images/hatch1.png);
}
body.bgo-h2,
body.fpo-h2 #secondary-content-wrapper .block-inner,
body.pfo-h2 #page-footer .texture-overlay {
  background-image: url(images/hatch2.png);
}
body.bgo-h3,
body.fpo-h3 #secondary-content-wrapper .block-inner,
body.pfo-h3 #page-footer .texture-overlay {
  background-image: url(images/hatch3.png);
}
body.bgo-h4,
body.fpo-h4 #secondary-content-wrapper .block-inner,
body.pfo-h4 #page-footer .texture-overlay {
  background-image: url(images/hatch4.png);
}
body.bgo-dg,
body.fpo-dg #secondary-content-wrapper .block-inner,
body.pfo-dg #page-footer .texture-overlay {
  background-image: url(images/diagonals.png);
}
body.bgo-ds,
body.fpo-ds #secondary-content-wrapper .block-inner,
body.pfo-ds #page-footer .texture-overlay {
  background-image: url(images/dots.png);
}
