/*Permaculture Prie 2018 application form */
.page-node-10964 label,
.page-node-10964 .form-item .description {
  font-size: 1em!important;
  line-height: 1.5em!important;
}
.page-node-10964 .form-type-textfield { max-width: 100%;}
.page-node-10964 .webform-component img { 
  width: 50%;
  max-width: 250px;
  height: auto;
}

/* Stockists */
.page-stockists .views-exposed-form .views-exposed-widget {float: none;}
.page-stockists .views-exposed-form .views-exposed-widget .form-submit {
  margin-top: 0;
  margin-bottom: 15px;
} 
.page-stockists .views-exposed-form .views-submit-button {float: left;}
.page-stockists .country-name {margin-bottom: -8px;}
#views-record-count-text {margin: 10px 0;}
#views-record-count-text strong {
  color: #00483A !important;
  font-family: Trebuchet MS,arial,sans-serif;
}
.page-stockists .view-header,
.page-stockists-map .view-header {
  border-bottom: 0;
  text-align: left;
  text-transform: none;
}
.page-stockists .views-field-path {margin-bottom: 10px;}


/* People pages */
#landing-page .people .views-field-body {
  float: none !important;
  margin-bottom: 10px;
  max-width: 100% !important;
}
.people .views-field-title {font-size: 1.2em;}
.people .views-field-field-job-title {font-weight: bold;}
.people img {
  width: 220px;
  max-width: 220px !important;
  height: auto;
}
.people .views-row {
  /*background: #FFFEEF;*/
  border: 0;
  padding: 20px;
  margin: 10px 0;
}
.people .views-column {
  margin-bottom: 40px;
}
.people {margin-top: 10px;}
.people .block-title {
  font-size: 2.2em;
  line-height: 1.4em;
  padding: 20px 0px 0px 5px;
}
.people .field-content {margin-top: 10px;}

/*@media screen and (min-width: 657px) {*/
@media screen and (min-width: 480px) {
  .people .views-row {
    width: 100%;
    margin-bottom: 20px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
  }
  .people .views-column {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */
    flex: 1;
    padding: 20px 33px;
    margin-bottom: 0;
    min-width: 220px !important;
  }
  .people img {
    width: 180px;
    max-width: 180px !important;
  }
}

@media screen and (min-width: 1000px) {
  .people img {
    width: 220px;
    max-width: 220px !important;
  }
  .people .views-row {padding: 0px 0px 20px 0px}
}

.person .node-title {display: none;}
.person .field-name-field-job-title {
  font-size: 1.2em;
  margin-bottom: 10px;
}
.person .field-name-field-picture {
  margin-right: 10px;
}
.person .field-name-body {
  margin-top: -8px;
  /*font-size: 1.1em;*/
}
.people {
  clear: both;
  width: 100%;
}
#landing-page .pane-people-panel-pane-4 .views-field-title {
  margin-bottom: 8px;
}
#landing-page .people .views-row {border-bottom: 0;}

.person-content-row  {
  border-bottom: 1px solid #00483A;
  /*margin-bottom: 1.5em;*/
  /*padding-bottom: 1.5em;*/
  padding-top: 1.5em;
  clear: both;
} 
.row-first .person-content-row  {
  padding-top: 0;
}
@media screen and (min-width: 480px) {
  .person .field-name-field-picture {float: left;}
}



.node-type-product-book .special-price-wrapper {
    clear: right;
    float: right;
    font-size: 1.3em;
    font-weight: bold;
    padding-bottom: 4px;
    padding-left: 4px;
    text-align: right;
    margin-bottom: 10px;
    width: 326px;
}

.page-catalog .original-sell-price {font-size: 0.8em; }
.page-catalog .special-price {font-size: 1em !important; }

#edit-taxonomy-catalog-und {
  width: 500px;
  height: 250px;
}

/*
 * Ubercart catalog pages 
 */

.product-image {
  float: none;
}
@media screen and (min-width: 600px) {
  .product-image {float: right;}
}

/*
 * Ubercart catalog pages 
 */
.catalog-top .view-uc-catalog .views-exposed-widgets {
  display: none;
}
.view-uc-catalog .views-exposed-widgets {
  margin-bottom: 40px;
}
.view-uc-catalog .views-exposed-form .views-exposed-widget {
  float: right;
}
.view-uc-catalog .views-exposed-form .views-exposed-widget .form-submit {
  margin-top: 1.4em;
}
.view-uc-catalog-terms .view-content {
  width: 100%;
}
.uc-catalog-terms .views-row {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  flex-wrap: wrap;
}
.uc-catalog-terms .views-column {
  flex: auto;
  -webkit-flex: auto; 
  -ms-flex: auto; 
  padding: 4px;
  margin: 2px;
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
}
.page-catalog-46 .uc-catalog-terms .views-column,
.page-catalog-26 .uc-catalog-terms .views-column {
  width: 140px !important;
  text-align: center;
}
.catalog-top .uc-catalog-terms .views-column {
  min-width: 240px !important;
  margin: 10px 30px 30px 30px;
}
.section-catalog .uc-catalog-terms .views-field {
  text-align: center;
  font-size: 1.1em;
  font-family: Trebuchet MS,arial,sans-serif;
}
.section-catalog .views-field-entity-id .field-content img {
  width: 100%;
  max-width: 220px;
  height: auto;
}
.catalog-top .views-field-entity-id .field-content img {
  position: relative;
  bottom: 40px;
  margin-bottom: -40px;
}
.section-ebooks .uc-catalog-terms .views-column {
  min-width: 93% !important;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  line-height: 40px;
}
@media screen and (min-width: 660px) {
  .page-catalog-98 .uc-catalog-terms .views-column, 
  .section-ebooks .uc-catalog-terms .views-column {
    min-width: 46% !important;
    margin-bottom: 20px;
    margin-top: 20px;
  }
}
.uc-catalog-terms .views-field {
  width: 100%;
}
.uc-catalog-terms .views-row a {
  display: block;
  height: 100%;
  width: 100%;
  min-height: 40px;
  font-family: Trebuchet MS,arial,sans-serif;
  font-weight: normal;
  vertical-align: middle;
}
.uc-catalog-terms .views-row a:before {
  /*content: '> ';*/
}

/*Grid*/
.view-uc-catalog-grid .view-content {
  width: 100%;
}
.uc-catalog-grid .views-row {
  margin-bottom: 20px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  flex-wrap: wrap;
}
.uc-catalog-grid .views-row .views-column {
  flex: 1;
  padding: 10px 20px;
  margin-bottom: 44px;
  /*min-width: 250px;*/
  /*max-width: 300px;*/
  max-width: 130px;
  min-width: 120px !important;
}
.uc-catalog-grid .views-field-title,
.uc-catalog-grid .views-field-uc-product-image,
.uc-catalog-grid .views-field-display-price {
  margin-bottom: 5px;
}
.uc-catalog-grid img {
  /*width: 218px;*/
  /*height: 334px;*/
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.uc-catalog-grid img:hover {
  opacity: 0.95;
}
.uc-catalog-grid .views-row .views-column a {
  font-weight: normal;
}

/* Hide breadcrumb except on catalog and product pages */
.breadcrumb {display: none;}
@media screen and (min-width: 480px) {
  .page-catalog .breadcrumb, 
  .node-type-product-book .breadcrumb, 
  .node-type-product-book .breadcrumb {display: inline;}
}

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

#user-login-form ul {
  list-style: none;
  padding-left: 0 !important;
}

#user-login-form ul li {
  margin-bottom: 10px !important;
}

#user-login-form ul li a {
  background: #222 url('../images/buttonoverlay.png') repeat-x;
  display: inline-block;
  padding: 5px 10px 6px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  line-height: 1;
  /*
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-box-shadow: 0 1px 3px #999;
  -webkit-box-shadow: 0 1px 3px #999;
  text-shadow: 0 -1px 1px #222;
  */
  border-bottom: 1px solid #222;
  position: relative;
  cursor: pointer;
}

.accountbuttons {
  position: relative;
  width: 100%;
  width: 34%;
  float: right;
  font-size: 12px;
}

.accountbuttons #google_translate_element {
  display: none;
  width: 50%;
  float: left;
}

.logged-in .accountbuttons #google_translate_element {
  /*position: relative;*/
  /*right: 645px;*/
}
.accountbuttons .internal-wrapper {
  display: inline-block;
  float: right;
  /*position: absolute;
  right: 0px;*/
  text-align: right;
  padding-top: 1px;
}
.accountbuttons a.internal {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  background: #222 url('../images/buttonoverlay.png') repeat-x;
  display: inline-block;
  padding: 4px 10px 5px;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  border-bottom: 1px solid #222;
  position: relative;
  cursor: pointer;
}
.accountbuttons a:hover {
  text-decoration: underline;
}
.page-user .accountbuttons {
  display: none;
}

/*Top banner region*/
/*
#banner-holder {
  position: absolute;
  float: right;
  margin: 1px 0 10px -18px;
}
*/
#banner-holder .region-top-banner {
  width: 65%;
}

#banner-holder li {
  width: 60px;
  height: 15px;
  text-align: center;
  font-size: 12px;
  margin-left: 3px;
  background-color: #C03326;
  padding: 7px 3px 5px 3px;
  font: arial;
}
#block-superfish-2 a {
  font-weight: normal;
  font-family: Arial,Helvetica,sans-serif;
  color: white;
  text-decoration: none;
}

#block-superfish-1 li {
  display: none;
}

/*Small screen / tablet */
@media screen and (min-width: 768px) {
  #banner-holder {
    position: relative;
    float: left;
  }
  .page .logged-in #banner-holder {
    top: 40px;
  }
  #banner-holder li {
    width: 65px;
  }
}



/*Superfish break point */
@media screen and (min-width: 950px) {

  #block-superfish-1 li {
    display: block;
  }

}
