/*
Theme Name:  Guild of Fine Foods
Theme URI:   http://lighthouseuk.net
Description: The Guild of Fine Foods WordPress theme.

Author:      Lighthouse
Author URI:  http://lighthouseuk.net

version:     1.1
Tags:        custom-menu, featured-image-header, featured-images, theme-options,
             flexible-width, custom-header, flexible-header
*/

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888
 */
@-ms-viewport {
  width: device-width;
}

@viewport {
  width: device-width;
}

/* Start Custom Bootstrap */
.badge-primary { background-color: #428BCA; }
.badge-success { background-color: #5CB85C; }
.badge-info    { background-color: #5BC0DE; }
.badge-warning { background-color: #F0AD4E; }
.badge-danger  { background-color: #D9534F; }
a { color: #a22d1e; }
a:hover { color: #772116; }
.btn { border: 0 !important; margin: 5px; transition: 0.1s all; font-family: 'Puritan', sans-serif; }
.btn-default,
.btn-default:focus { background: #fff; box-shadow: 0 3px 0 #ccc; }
.btn-default:hover { background: #fff; box-shadow: none; }
.btn-default:active { background: #fff; box-shadow: 0 -3px 0 #ccc; }
.btn-danger,
.btn-danger:focus { background: #A22D1E; box-shadow: 0 3px 0 #C78178; }
.btn-danger:hover { background: #A22D1E; box-shadow: none; }
.btn-danger:active { background: #B5574B; box-shadow: 0 -3px 0 #A22D1E; }
.btn-primary,
.btn-primary:focus { background: #3A8D8D; box-shadow: 0 3px 0 #B0D1D1; }
.btn-primary:hover {  background: #3A8D8D;box-shadow: none; }
.btn-primary:active { background: #61A4A4; box-shadow: 0 -3px 0 #3A8D8D; }
.btn-info,
.btn-info:focus,
.btn-info:hover,
.btn-info:active { background: #C0AD77; box-shadow: 0 1px 2px rgba(0,0,0,0.25); cursor: auto; }
.input-group-btn .btn { margin: 0; box-shadow: none; padding: 7px 12px; }
.form-control { background: #ccc; border: 0; transition: .25s background; }
.form-control:focus { background: #fff; }
/* End Custom Bootstrap */

img {
  max-width: 100%;
  height: auto;
}

/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object,
video {
  margin-bottom: 24px;
  max-width: 100%;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
  margin-bottom: 0;
}

/* Alignment */

.alignright {
  float: right;
}

.alignleft {
  float: left;
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

blockquote.alignleft,
figure.wp-caption.alignleft,
img.alignleft {
  margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {
  margin-right: 14px;
}

blockquote.alignright,
figure.wp-caption.alignright,
img.alignright {
  margin-left: 24px;
}

.wp-caption.alignright {
  margin: 7px 0 7px 14px;
}

blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
  margin-top: 7px;
  margin-bottom: 7px;
}

.postcontent blockquote.alignleft,
.postcontent blockquote.alignright {
  padding-top: 17px;
  width: 50%;
}

.postcontent blockquote.alignleft p,
.postcontent blockquote.alignright p {
  margin-bottom: 17px;
}

.wp-caption {
  margin-bottom: 24px;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0;
}

.wp-caption-text {
  -webkit-box-sizing: border-box;
  -moz-box-sizing:    border-box;
  box-sizing:         border-box;
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  margin: 9px 0;
}

div.wp-caption .wp-caption-text {
  padding-right: 10px;
}

div.wp-caption.alignright img[class*="wp-image-"],
div.wp-caption.alignright .wp-caption-text {
  padding-left: 10px;
  padding-right: 0;
}

#topbar {
  color: #858585;
  background: #f6f6f6;
  font-weight: bold;
  font-family: 'Puritan', sans-serif;
}

@media (max-width: 767px){
  #topbar {
    display: none;
  }
}

.topbar-btn {
  text-transform: uppercase;
  display: block;
  padding: 10px 15px;
  float: left;
}

.topbar-btn:hover {
  background-color: #B5574B;
  color: #fff;
  text-decoration: none;
}

.topbar-icon-account {
 /* background-image: url('res/img/icon-login.png');*/
  background-position: center left;
  background-repeat: no-repeat;
 /* padding-left: 50px;*/
}

.topbar-grey,
.topbar-black,
.topbar-red {
  color: #fff;
}

.topbar-grey {
  background-color: #ADADAD;
}
.topbar-grey:hover {
  background-color: #CCC;
}

.topbar-black {
  background-color: #000000;
}

.topbar-black:hover {
  background-color: #003366;
}

.topbar-red {
  background-color: #A22C1E;
}

.topbar-edit {
  background-position: center center;
  background-repeat: no-repeat;
  padding: 10px;
}

#slider_topbar {
  background: #000;
  color: #fff;
  height: 50px;
}
@media (max-width: 767px){
  #slider_topbar{
    display: none !important;
  }
  #slider.swipe{
    display: none !important;
  }
}

.slider_slide_controls a {
  display: block;
  background: #fff url('res/img/slider-left.png') no-repeat center center;
  height: 50px;
  width: 50px;
  float: right;
}

a.hero_slider_next {
  background-image: url('res/img/slider-right.png');
}

.slider_slide_controls a:hover {
  background-color: #eee;
}

.slider_slide_controls {
  display: none;
  position: relative;
  z-index: 999;
}

@media (min-width: 768px) {
  .slider_slide_controls {
    display: block;
  }
}

.slider_slide_titles {
  display: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

@media(min-width: 768px) {
  .slider_slide_titles {
    float: left;
  }
}

.slider_slide_titles li {
  display: inline-block;
  height: 50px;
  padding: 14px 7px;
  cursor: pointer;
}

@media(min-width: 768px) {
  .slider_slide_titles li {
    margin: 0 10px;
    padding: 14px;
  }
}

.slider_slide_titles li.active {
  background: #fff;
  color: #444;
}

.jumbotron.slider {
  background: url('res/img/jumbotron.jpg');
  background-size: cover;
  background-position: center center;
  padding: 0;
  margin-bottom: 0;
}

.jumbotron.slider .container {
  position: relative;
  height: 210px;
}

.jumbotron.slider .wrapper {
  padding: 25px;
  height: 210px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0,0,0,0.25);
}

.jumbotron.slider .wrapper.medium .categorypicture{
  margin-right: 30px;
}
.jumbotron.slider .wrapper h1{
  margin-top: 0px;
  margin-bottom: 5px;
}
.jumbotron.slider .wrapper h1 ~ p{
  margin-top: 0px !important;
}
.jumbotron.slider .wrapper p{
  display: block;
  margin-top: 20px;
  margin-bottom: 5px;
}

@media (min-width: 768px) {
  .jumbotron.slider .wrapper {
    position: absolute;
    right: 0;
    width: 50%;
  }
  .jumbotron.slider .wrapper.medium,
  .jumbotron.slider .wrapper.large{
    width: 100%;
  }
}

@media (min-width: 992px) {
  .jumbotron.slider .wrapper {
    width: 35%;
  }
  .jumbotron.slider .wrapper.large{
    width: 75%;
  }
  .jumbotron.slider .wrapper.medium{
    width: 45%;
  }
}

.jumbotron.slider .hero_slider_controls {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding-bottom: 25px;
  font-size: 24px;
}

.jumbotron.slider .hero_slider_indicator {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.jumbotron.slider .hero_slider_indicator_disc {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: none;
  border-radius: 100%;
  border: 1px solid #fff;
}

.jumbotron.slider .hero_slider_indicator_disc.active {
  background: #A22C1E;
  border: 0;
}

.jumbotron.slider h1 {
  font-size: 30px;
}

.jumbotron.slider p {
  font-size: 18px;
  display: table-cell;
  vertical-align: middle;
}

.jumbotron.slider .topbar {
  position: relative;
  border-top: 5px solid #CDFD5C;
  background: #fff;
  padding: 5px 50px;
}

.jumbotron.slider .categorypicture {
  height: 100px;
  display: table-cell;
  vertical-align: middle;
  float: left;
  margin-right: 20px;
  margin-top: 25px;
  margin-bottom: 105px;
}


.jumbotron.slider .content {
  text-align: center;
  padding: 20px 0;
}

.jumbotron.slider .btn {
  /*display: none;*/
  font-size: 1.1em;
  padding: 14px 18px;
  margin: 0 auto;
}

.event-header .jumbotron {
  background: url('res/img/jumbotron.jpg');
  background-size: cover;
  background-position: center center;
  padding: 0;
  margin-bottom: 0px;
  position: relative;
}

.event-header .jumbotron .wrapper {
  width: 60%;
  background: url('res/img/bg-trans-white.png');
  box-shadow: 0 1px 1px rgba(0,0,0,0.25);
  margin: 75px 0px;
  position: relative;
  z-index: 9;
}

.event-header .jumbotron .wrapper .row{
  margin-left: 0;
  margin-right: 0;
}

.event-header .jumbotron .container{
  min-width: 950px;  
}
@media (max-width: 768px){
  .event-header .jumbotron .container{
    min-width: 100%;  
  }
}
.harrogate .postcontent{
  padding: 10px;
}
.harrogate .postcontent ul{
  padding-left: 20px;
}
@media (min-width: 768px){
  .harrogate .postcontent{
   padding: 50px;
  }
  .harrogate .postcontent ul{
    padding-left: 40px;
  }
}

.event-header .jumbotron img{
  margin-top: 24px;
}

.event-header .jumbotron h1 {
  font-size: 30px;
}

.event-header .jumbotron p {
  font-size: 18px;
}

.event-header .jumbotron .topbar {
  position: relative;
  border-top: 5px solid #CDFD5C;
  background: #fff;
  padding: 5px 50px;
}

.event-header .jumbotron .categorypicture {
  display: block;
  height: 120px;
  margin: 20px auto 0;
}

.event-header .jumbotron .content {
  text-align: left;
  padding: 20px 30px;
}

.event-header .jumbotron .btn {
 /* font-size: 1.1em;  
  margin: 50px 0 0;*/
  padding: 14px 18px;
  margin: 5px 0;
}

#slideshow{
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
#slideshow .slide{
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 1s;
  position: absolute;
  background-size: cover;
  background-position: center center;
}
#slideshow .slide.active{
  opacity: 1;
}
.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #401D3E;
  opacity: 0.65;
  z-index: -1;
}

.event-header {
  background-color: #401D3E;
  font-family: 'Puritan', sans-serif;
  margin-top: 42px;
}
@media (max-width: 767px){
  .event-header {
    margin-top: 0px;
  }
}

.event-details {
  /*padding: 20px 0;
  color: #fff;
  text-align: center;*/
}

.event-details table {
  margin: 0 auto;
  display: inline-block;
}

.event-details table th,
.event-details table td {
  padding: 5px 20px;
}

.event-details table th {
  font-weight: normal;
  text-transform: uppercase;
}

.event-details table td {
  font-weight: bold;
  font-size: 21px;
}

.event-details .register-btn {
  display: inline-block;
  vertical-align: top;
}

@media (max-width: 767px){
  .event-details{
    padding: 15px 15px 0 15px;
  }
  .event-details .event-date,
  .event-details .event-location,
  .event-details .event-price{
    font-size: 18px;
    margin-bottom: 5px;
    text-align: center;
    border-top: none;
    background-color: transparent;
  }
}

.event-location {
  text-align: center;
  background: #f6f6f6;
  border-top: 1px solid #bbb;
}

.event-location h2 {
  font-size: 24px;
  margin: 20px 0;
}

.event-location .agm_google_maps,
.event-location .agm_google_maps > div {
  width: 100% !important;
  height: 400px !important;
}

.event-location #agm_mh_footer { display: none; }

.event-map {
  border-top: 1px solid #bbb;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center center;
}

.event-image {
  background: #fff;
  border: 1px solid #bbb;
  padding: 50px;
  max-width: 100%;
  margin: 10px 0;
}

.event-title {
  margin-top: 0;
}

.event-fee {
  color: #bbb;
}

.event-response {
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  padding: 10px 0;
  margin: 30px 0;
}

.event-page-details h3 {
  margin: 10px 0;
}

.tab-navbar {
  border-bottom: 1px solid #ccc;
  color: #401D3E;
}

.tab-pad {
  vertical-align: bottom;
}

.tab {
  cursor: pointer;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: center;
  padding: 15px 0;
  font-size: 18px;
  font-family: 'Puritan', sans-serif;
  font-weight: bold;
}

@media (min-width: 768px) {
  .tab {
    border-left: 0;
  }
}

.stand {
  background: #fff;
  border: 1px solid #d6d6d6;
  color: #A9ADB0;
  margin: 10px 0;
  padding-right: 10px;
}

.stand th, .stand tr {
  padding: 5px;
}

.stand th {
  padding-bottom: 0;
  font-size:14px;
  font-weight: normal;
  vertical-align: bottom;
}

.stand tr {
  padding-top: 0;
  vertical-align: middle;
}

.stand .stand_number {
  text-align: center;
}

.stand .stand_number .text {
  display: block;
  font-size: 24px;
  font-weight: bold;
}

.stand.booked .stand_number .text {
  color: #A22C1E;
}

.stand.booked .stand_occupier {
  color: #666;
  font-weight: bold;
}

.stand .more_booking_info {
  border-top: 1px solid #d6d6d6;
}

.stand .more_booking_info dl {
  margin-left: 20px;
}

.stand .more_booking_info dt {
  margin-top: 20px;
}

.booking_form .ginput_container input, .booking_form .ginput_container textarea{
  background: #fff;
  border-radius: 0;
  border: 1px solid #d6d6d6;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  padding: 5px !important;
}

.booking_form .gform_wrapper .ginput_complex input[type=text],
.booking_form .gform_wrapper .ginput_complex .ginput_right input[type=text],
.booking_form .gform_wrapper .ginput_complex .ginput_full input[type=text] {
  width: 100% !important;
}

.gform_anchor, .gform_anchor:hover {
  background: none !important;
}

.booking_form .btn {
  color: #fff !important;
  font-size: 24px;
  padding: 10px 20px;
}


li:first-child .tab {
  border-left: 1px solid #ccc;
}

.tab:hover {
  text-decoration: underline;
}

.nav > li > a.tab {
  padding: 15px 0;
}

.nav > li > a.tab:hover {
  text-decoration: underline;
}

.tab.active,
.tab.active:hover {
  background: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel:first-child {
  display: block;
}

.event-sidebar {
  border-left: 1px solid #ccc;
}

.wp-breadcrumb {
  border-top: 1px dashed #bbb;
  border-bottom: 1px dashed #bbb;
  margin-bottom: 25px;
  padding: 10px;
}

.white-panel {
  background: #fff;
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  padding: 40px 0;
}

.white-panel h2 {
  color: #C0AD77;
}

.white-panel h3 {
  font-size: 16px;
  text-transform: uppercase;
  color: #bbb;
}

.white-panel > div {
  text-align: center;
}

.testimonial-panel {
  background: #f3f3f3 url('res/img/grain-bg.png');
  text-align: center;
  border-top: 1px solid #ccc;
}

.testimonials li {
  display: inline-block;
  width: 33%;
  background: #fff;
  border-radius: 5px;
  border: 0;
  padding: 25px !important;
  position: relative;
  margin: 20px 20px 50px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.25);
  text-align: left;
}

.testimonials li:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -25px;
  left: 50px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 25px 0 0;
  border-color: #ffffff transparent transparent transparent;
}

.testimonials li em {
  font-style: normal;
  color: #CDBE93;
}

.auto-panel {
  text-align: center;
  background: #F5F3F3;
  border-top: 1px solid #D8D5D5;
  padding: 2% 0 3% 0;
  min-height: 500px;
}

.auto-panel p {
  text-align: left;
  line-height: 1.7em;
  font-size: large;
}

.auto-panel h2 {
  color: #6F6A66;
  font-size: 2.5em;
  padding-bottom: .6em;
  font-weight: 200;
  text-shadow: 1px 1px #fff;
}

.auto-panel:nth-child(odd) {
  background: #EEEEEE;
  background-image:url('res/img/bg-img-line-diag.png');
  border-color: #d6d6d6;
}

.auto-panel:nth-child(odd) h2 {
  color: #444;
}

.awards-prices {
  background: #fff;
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  padding: 40px 0;
}

.awards-prices h3 {
  font-size: 16px;
  text-transform: uppercase;
  color: #bbb;
}

.awards-prices > div {
  text-align: left;
}

.awards-price-box {
  border-left: 1px solid #bbb;
  background:#f6f6f6;
  border: 1px solid #E5E6E1;
  padding: 10px 30px 30px 30px;
}


.awards-price-box ul,ol {
text-align:left;
}
.awards-price-box ul {
padding:0;
}

.awards-price-box h6 {
font-family: 'Adelle', serif;
font-size: 16px;
text-decoration: none;
}
.awards-price-box h3 {
font-size: 28px;
text-decoration: none;
text-align: left;
font-weight:100;
color:#8BB32F;
}

.awards-dates {
  background: #F1F5F9;
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  padding: 40px 0;
}

.awards-dates h3 {
  font-size: 16px;
  text-transform: uppercase;
  color: #bbb;
}

.membership {
  text-align: left;
}

p:last-child {
  margin-bottom: 0;
}

.blue-panel {
  background: #F1F5F9;
  border-top: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
  padding: 40px 0;
}

.benefits-panel h2,
.membership-panel h2 {
  font-size: 28px;
  text-decoration: underline;
  margin: 0;
  margin-bottom: 40px;
}

.membership-panel h3 {
  font-size: 18px;
}

.membership {
  border-right: 1px solid #d6d6d6;
  padding: 30px;
  padding-left: 0;
}

.row > div:last-child > .membership {
  border-right: none;
}

.benefits-panel h2, .benefits-panel h3,
.membership-panel h2, .membership-panel h3 {
  color: #C0AD77;
  margin-top: 0;
}

.benefits-panel .benefit {
  background: #fff;
  border: 1px solid #d6d6d6;
  padding: 20px;
  width: 350px;
  margin-bottom: 15px;
}

.benefit h3.title {
  color: #A22C1E;
  font-size: 18px;
  margin: 0;
  margin-bottom: 10px;
}

.related-events li {
  padding-left: 5px;
}

.sponsors-topbar {
  border-bottom: 1px solid #d6d6d6;
  margin-bottom: 40px;
}

.sponsors {
  padding-top: 0;
  z-index: 5;
  position: relative;
}

.sponsors h3 {
  font-size: 16px;
  text-transform: uppercase;
}

.sponsor {
  margin: 10px 5px;
}

.sponsor img {
  max-height: 50px;
  width: auto;
}

.diary-dates {
  background: #F9F5E7;
  border-top: 1px solid #bbb;
  margin: 30px;
}

.diary-dates h4 {
  font-size: 16px;
  text-transform: uppercase;
  color: #bbb;
}
.diary-dates h5 {
  font-size: 18px;
  text-transform: uppercase;
  color: #bbb;
}

.navbar-default {
  background: url('res/img/bg1.png');
}

.navs {
  font-family: 'Puritan', sans-serif;
}

.navs .nav {
  border-left: 1px solid #ADADAD !important;
  margin-bottom: -3px;
}

.navs ul {
  padding: 0;
}

.navs.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1999;
}

.navs li {
  position: static;
  font-weight: normal;
  border-right: 1px solid #ADADAD !important;
}

.navs li > a {
  color: #333;
  padding: 10px;
  display: block;
}
.navs li > a:hover {
  text-decoration: underline;
}

.nav > li > a {
  padding-top: 10px;
}

.sticky .nav > li > a {
  padding-top: 10px;
}

.navs li>a:hover,
.navs li>a:focus {
  background: none;
}

.navs .nav > li.current-menu-item,
.navs .nav > li.current_page_item,
.navs .nav > li.current_page_ancestor {
  font-weight: bold;
  border-bottom: 3px solid;
}

.navs .sub-menu > li.current-menu-item,
.navs .sub-menu > li.current_page_item,
.navs .sub-menu > li.current_page_ancestor {
  font-weight: bold;
  text-decoration: underline;
}

.navs-mobile {
  display: none;
  background: #333;
}
@media (min-width: 767px){
  .navs-mobile{
    display: none !important;
  }
}
.navs-mobile .nav > li > a {
  padding: 10px;
  color: #fff;
  margin: 0;
}

.navs-mobile .nav > li:hover > a {
  color: #A22D1E;
}

.navs-mobile .menu-submenu {
  position: static;
  background: #2a2a2a;
  margin: 0;
}

.navs-mobile .sub-menu {
  list-style-type: none;
  padding: 0;
}

.navs-mobile .sub-menu > li {
  text-align: center;
}

.navs-mobile .sub-menu > li > a {
  display: block;
  color: #fff;
  padding: 10px;
}

.navs-mobile .sub-menu > li:hover > a {
  background: #fff;
  color: #A22D1E;
}

.menu-wrapper {
}

.menu-submenu {
  position: absolute;
  left: 0;
  right: 0;
  background: #f1f1f1;
  display: none;
}

.current-menu-item .menu-submenu,
.current_page_item .menu-submenu,
.current_page_ancestor .menu-submenu {
  display: block;
  margin-top: 3px;
}

#navbar2 {
  display: block;
  border-bottom: 3px solid #adadad;
  background: #fff;
  white-space: nowrap;
}

#navbar2 ul .sub-menu {
  list-style-type: none;
  display: table;
}

#navbar2 ul .sub-menu li {
  display: table-cell;
  width: 1%;
  text-align: center;
}

.navbar-nav {
  float: left;
}

body {
  font-family: 'Adelle', serif;
  font-size: 16px;
  background: url('res/img/bg1.png');
  overflow-x: hidden;
  overflow-y: auto;
}

.body_background {
  background-size: auto !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Puritan', sans-serif;
}

h1 { font-size: 43px; }
h2 { font-size: 38px; }
h3 { font-size: 28px; font-weight: bold; }
h4 { font-size: 28px; font-weight: lighter ;}
h5 { font-size: 20px; }
h6 { font-size: 18px; font-weight: bold; text-decoration: underline; }

.pageitem > h1, .post > h1 {
  margin: 0 auto 40px;
}

h1.title {
  margin: 0.5em 0;
}

.scrolltop {
  text-align: center;
  padding: 20px 0;
  cursor: pointer;
}

.icon-uparrow {
  display: block;
  width: 18px;
  height: 18px;
  background: url('res/img/icon-uparrow.png');
  background-size: auto 100%;
  margin: 0 auto 5px auto;
}

#footer,
.bottombar,
.scrolltop {
  background: #333;
  color: #fff;
  border-top: 1px solid #555;
  font-family: 'Puritan', sans-serif;
  z-index: 5;
  position: relative;
}

.bottombar a {
  color: #fff;
}

#footer h2 {
  font-size: 28px;
  border-bottom: 1px solid #555;
  padding: 0 0 5px 0;
}

#footer .agm_mh_info_content {
  color: #333;
}

#footer .agm-google_map-widget,
#footer .agm-google_map-widget > div {
  width: 100% !important;
}

.agm_mh_directions_container,
.agm_mh_marker_item_directions {
  display: none;
}

body .gform_wrapper .top_label input.medium,
body .gform_wrapper .top_label select.medium {
  width: 100%;
}

body .ginput_container input {
  height: 34px;
}

body .ginput_container input,
body .ginput_container textarea {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.428571429;
  color: #555;
  vertical-align: middle;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: .25s background;
  transition: .25s background;
  background: #ccc;
  border: 0;
}

body .ginput_container input:focus,
body .ginput_container textarea:focus {
  background: #fff;
}

body .gform_button {
  background: #A22D1E;
  box-shadow: 0 3px 0 #c78178;
  border: 0;
  margin: 5px 0;
  transition: 0.1s all;
  -webkit-transition: 0.1s all;
  font-family: 'Puritan', sans-serif;
  display: block;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  border-color: #D43f3a;
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

body .gform_button:hover {
  background: #A22D1E;
  box-shadow: none;
}

body .gform_button:active {
  background: #B5574B;
  box-shadow: 0 -3px 0 #a22d1e;
}

body .gform_wrapper div.validation_error,
body .gform_wrapper .validation_message,
body .gform_wrapper .gfield_error .gfield_label {
  color: #fff;
}

body .gform_wrapper li.gfield.gfield_error,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
}

#footer textarea.form-control { height: 12em; }

.footer-icon {
  display: inline-block;
  height: 20px;
  width: 20px;
  background: url('res/img/icons-footer.png') no-repeat;
  margin-right: 10px;
  background-size: auto 100%;
}

.footer-icon.plus{ background-position: 0 0; }
.gform_widget .footer-icon,
.footer-icon.help{ background-position: -20px 0; }
.widget_agmmapswidget .footer-icon,
.footer-icon.compass{ background-position: -40px 0; }
.footer-icon.phone{ background-position: -60px 0; }
.col-sm-5 .gform_widget .footer-icon,
.footer-icon.mail{ background-position: -80px 0; width: 26px; }

.icon-send {
  display: inline-block;
  vertical-align: middle;
  height: 14px;
  width: 15px;
  margin-right: 10px;
  background-image: url('res/img/icon-send.png');
  background-size: auto 100%;
}

.social-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  background: url('res/img/icons-social.png') no-repeat;
  background-size: auto 100%;
}
.social-icon.facebook { background-position: 0 0; }
.social-icon.twitter { background-position: -48px 0; }
.social-icon.googleplus { background-position: -96px 0; }
.social-icon.youtube { background-position: -144px 0; }

.postcontent a {
  text-decoration: none;
  /*background: #a22d1e;*/
  color: #a22d1e;
  padding: 3px 5px;
  transition: .25s all;
}

.postcontent a.btn-danger,
.postcontent a.btn-primary,
.postcontent a.btn-info {
  color: #fff;
}

.postcontent a:hover {
  text-decoration: underline;
  background: none;
  background: #a22d1e;
  color: #fff;
  transition: .25s all;
}

.postcontent .featured_video_plus {
  margin-bottom: 1em;
}

blockquote, q {
  background: #fff;
  border-radius: 5px;
  border: 0;
  padding: 1em;
  position: relative;
  margin-top: 20px;
  margin-bottom: 50px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.25);
}

blockquote:after, q:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -25px;
  left: 50px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 25px 0 0;
  border-color: #ffffff transparent transparent transparent;
}

blockquote p {
  font-weight: bold;
}

p {
  margin: 0 0 1em;
}

#footer > .container {
  padding-top: 2em;
  padding-bottom: 3em;
}

.bottombar .row {
  padding: 1em 0;
}

.bottombar .list-inline,
.bottombar p {
  margin-bottom: 0;
}

#actionbar {
  position: relative;
  border-top: 1px solid #d6d6d6;
  border-bottom: 1px solid #b6b6b6;
  background: #fff;
}

#actionbar .logo {
  width: 138px;
  height: 110px;
  /* SVG logo with PNG fallback, see http://css-tricks.com/using-svg/ */
  background: url('res/img/logo.png') no-repeat center right;
  background-image: url('res/img/logo.svg'), none;
  background-size: contain;
}
@media (max-width: 767px){
  #actionbar .logo {
    width: 100px;
    height: 65px;
  }
}

#actionbar a{
  text-decoration: none;
}

#actionbar .site-description {
  display: none;
  margin-left: 158px;
  color: #C0AD77;
  font-size: 24px;
  text-decoration: none;
  margin-top: 45px;
}

#actionbar .actionbarnav {
  margin-top: 0;
}

.header-list {
  margin-bottom: 0;
  height: 140px;
}
.header-list li{
  height: 100%;
  display: table;
  float: left;
  text-align: center;
  padding: 0;
  border-right: 1px solid #d6d6d6;
}
.header-list li:first-child{
  border-left: 1px solid #d6d6d6;
}
.header-list li a{
  vertical-align: middle;
  display: table-cell;
  font-family: 'Puritan' sans-serif;
  color: #a3a3a3;
  font-weight: bold;
  padding-left: 10px;
  padding-right: 10px;
  min-width: 100px;
}
.header-list a:hover{
  color: #C0AD77;
}
.header-list a.active{
 color: #C0AD77;
}
.header-icon {
  background-repeat: no-repeat;
  margin: 0 auto;
}
.header-icon-membership {  
  background-image: url('res/img/icon-members.png');
  height: 50px;
  width: 50px;
}
.header-icon-contact { 
  background-image: url('res/img/icons-actionbar.png');
  height: 26px;
  width: 24px;
  margin-top: 8px;
  margin-bottom: 8px;
  background-position: -24px 0;
}
.header-list a:hover .header-icon-contact{
  background-position: -24px -26px;
}
.header-icon-media { 
  background-image: url('res/img/icons-actionbar.png');
  height: 26px;
  width: 24px;
  margin-top: 8px;
  margin-bottom: 8px;
  background-position: -48px 0;
}
.header-list a.active .header-icon-media,
.header-list a:hover .header-icon-media{
  background-position: -48px -26px;
}
.header-icon-digest { 
  background-image: url('res/img/digest-icon.png');
  height: 42px;
  width: 80px;
  margin-top: 8px;
  background-size: contain;
}
.news-image img{
  width: auto;
  height: 120px;
}
.news-link:hover{
  text-decoration: none;
  color: #a3a3a3;
}
.news-link p {
  display: block;
  width: 50px;
  margin: 0 auto;
}

.header-icon-menu { 
  background-position: -72px 0;
}

.header-list li:hover .header-icon-menu { background-position: -72px -26px; }

@media (max-width: 767px){
  .header-list{
    height: 80px;
  }
}

.header-search {
  padding-left: 10px;
} 

.header-search input {
  height: 65px;
  border-radius: 0;
}

.heading-content{
  display: block;
  margin: 15px 0;
  width: auto;
  text-decoration: none;
}
@media (min-width: 992px){
  .heading-content{
    width: 55%;
  }
}

.heading-content:hover{
  text-decoration: none;
  color: #a22d1e;
}

.page-content,
#content {
  padding-top: 30px;
  padding-bottom: 30px;
}

.flash-wrapper{
  display: none;
}

.stacks,
.items {
  margin: 0 auto;
}

.items .filter{
  width: 270px;
  background-color: #FFF;
  box-shadow: 0 1px 1px rgba(0,0,0,0.25);
  margin-bottom: 20px;
  text-align: left;
  padding: 20px;
}
.items .filter h5{
  margin: 0 0 10px 0;
}
.items .filter ul{
  list-style: none;
  padding-left: 0px;
}
.items .filter ul .children{
  padding-left: 20px;
}

.stack,
.item {
  text-align: left;
  cursor: pointer;
  width: 100%;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0,0,0,0.25);
}

.stacks > a, .stacks > a:hover{
  background-color: transparent !important;
  text-decoration: none !important;
  color: #222 !important;
}
.items > a, .items > a:hover {
  text-decoration: none;
  color: #222;
}

.item.media_resource{
  cursor: default;
}
.item.media_resource:hover .feature img{
  opacity: 1;
}
.item.media_resource .info{
  margin: 0 10px;
}
.item.media_resource h6{
  font-size: 16px;
  margin-bottom: 2px;
}
.item.media_resource .links{
  list-style: none;
  padding: 0;
}
.item.media_resource .links a{
  padding: 0;
  color: #a22d1e;
}
.item.media_resource .links a:hover{
  color: #772116;
  text-decoration: underline;
  background-color: transparent;
}


.see-more {
  display: block;
  width: 175px;
  height: 45px;
  position: absolute;
  top: 33%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  text-transform: uppercase;
  border: 3px solid #fff;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding-top: 8px;
  opacity: 0;
  transition: .25s opacity;
}

.stack:hover .see-more,
.item:hover .see-more {
  opacity: 1;
  transition: .5s opacity;
  transition-delay: .1s;
}

.video-container {
  position: relative; /* keeps the aspect ratio */
  padding-bottom: 56.25%; /* fine tunes the video positioning */
  padding-top: 60px; overflow: hidden;
  border: 1em solid rgba(255, 250, 250, 1);
  box-shadow: 1px 1px 1px rgba(3, 0, 0, 0.35);
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.feature {
  position: relative;
  background: #333;
}

.feature img {
  height: auto;
  width: 100%;
  transition: .25s opacity;
}

.stack:hover .feature img,
.item:hover .feature img {
  opacity: 0.5;
  transition: .25s opacity;
}

.masonry-container {
    width: 85%;
    margin: 0 auto;
}

.item-video .masonry-container {
  width: 93%;
}

.masonry-container h3 {
  font-size: 21px;
  margin-top: 10px;
  color: #222;
}

.stack a,
.item a {
  color: #222;
  transition: .25s color;
}

.stack a:hover,
.item a:hover {
  text-decoration: none;
}

.stack:hover h3,
.item:hover h3 {
  color: #B75D15;
  transition: .25s color;
}

.category {
  text-decoration: none;
  font-weight: normal;
  /*float: left;*/
}

.icon {
  display: inline-block;
  vertical-align: middle;
  width: 42px;
  height: 42px;
}

.category- { border-bottom: 5px solid #000; }

.category-general, .category-fine-food-digest { border-bottom: 5px solid #C08BAD; }
.category-advertisement { border-bottom: 5px solid #EACAAD;}
.category-publications { border-bottom: 5px solid #B7C6DF;}
.category-training { border-bottom: 5px solid #33DAB2;}

.icon-comment { width:30px; background-position: center center; background-image: url('res/img/icon-comment.png'); }
.icon-post { width:30px; background-position: center center; background-image: url('res/img/icon-post.png'); }

hr {
  background:0;
  border:0;
  border-top: 1px solid #C5C4CA;
  margin: 10px 0;
}

.awards-header-box hr {
  border-color: #d6d6d6;
}

hr.solid {
  border-style: solid !important;
}

.page-content hr,
.post hr {
  border-top: 1px dashed #bbb;
}

.masonry-container hr {
  border-top: 1px solid #e9e9e9;
  margin-top: 0px;
}

.author-footer {
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  margin: 10px 0;
  padding: 10px 0;
}

.avatar {
  display: none;
  margin-right: 0.5em;
  border-radius: 100%;
  float: left;
}

.author-attribution {
  float: left;
  font-size: 0.8em;
}

.author-attribution a {
  color: #B75D15;
}


.post .date {
  color: #bcbcbc;
  vertical-align: middle;
  float: right;
  font-family: 'Puritan', sans-serif;
  margin-top: 8px;
}

.item .date .day,
.item .date .month,
.item .date .year {
  float: left;
  font-size: 0.9em;
  margin-right: 5px;
}

.dotted {
  background: url('res/img/overlay-dotted.png');
  height: 400px;
  margin-top: -400px;
  opacity: 0.25;
}

.featuredimg {
  float: left;
  margin: 0 1em 1em 0;
}
.sidebar .featuredimg{
  margin: 0 0 1em 0;
  width: 100%;
}
.award-logo {
  margin: 10px 0;
  padding: 10px;
}

.award-header-box {
  text-align: center;
}

.award-header-box img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}

.award-header-box h1 {
  font-size: 32px;
  margin: 0;
}

.awardspost {
font-size: 18px;
margin: 0 auto;
padding: 2.5em;
background: url('res/img/bg-trans-white.png');
}
.post, .pageitem {
  font-size: 18px;
  margin: 0 auto;
}

.pageitem {
  text-align: center;
}

.postcontent {
  text-align: left;
}

.awards-sidebar-list {
  padding:0;
  margin:0;
  list-style-type: none;
}

.awards-sidebar-list li a {
  display: block;
  padding: 15px;
  padding-left: 30px;
  border-bottom: 1px solid #676963;
  background: url('res/img/bullet.png') center left no-repeat;
  color: #fff;
  font-weight: 100;
}
.awards-sidebar-list li:last-child a {
  border:0;
}

.authorbio {
  background: #F9F5E7 url('res/img/icon-author.png') no-repeat top right;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.25);
  margin-bottom: 20px;
  padding-top: 20px;
  font-family: 'Puritan', sans-serif;
}

.authorbio .avatar {
  display: block;
  float: none;
  margin: 0 auto 20px;
  border-radius: 100%;
  border: 5px solid #fff;
  box-shadow: 0 0 1px rgba(0,0,0,0.25);
  box-sizing: content-box;
}

.authorbio .info {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding: 20px;
  text-align: center;
}

.authorbio .joindate {
  color: #858585;
  font-style: italic;
  font-size: 0.7em;
}

.authorbio .links {
  font-size: 0.9em;
}

.sidebar {
  background: #f6f6f6;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.25);
  margin-bottom: 20px;
  font-family: 'Puritan', sans-serif;
}

.related-media{
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #DDDDDD;
  margin-left: -20px;
  margin-right: -20px;
}
.related-media:last-child{
  border-bottom: none;
  padding-bottom: 0px;
}
.related-media img{
  margin-bottom: 12px;
}

.widget {
  padding: 1px 20px 20px 20px;
}

.widget + .widget {
  border-top: 1px solid #e8e8e8;
}

#footer .widget {
  padding: 0;
}

#footer.widget + .widget {
  border-top: 0;
}

.widget-nopad > div {
  padding: 10px 20px;
}

.widget-title {
  background: #401D3E;
  color: #fff;
}

.widget h1 {
  font-size: 22px;
  line-height: 1.0909090909;
}

.widget h2 {
  font-size: 20px;
  line-height: 1.2;
}

.widget h3 {
  font-size: 18px;
  line-height: 1.3333333333;
}

.widget h4 {
  font-size: 16px;
  line-height: 1.5;
}

.widget h5 {
  font-size: 14px;
  line-height: 1.7142857142;
}

.widget h6 {
  font-size: 12px;
  line-height: 2;
}

.widget ul,
.widget ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-table {
  border-collapse: separate;
  border-spacing: 0 25px;
  width: 100%;
}

.event-listing {
  background: #fff;
  border: 1px solid #d6d6d6;
  margin: 25px 0;
}

.event-listing .eventdate {
  font-family: 'Puritan', sans-serif;
  padding: 15px 0;
  color: #a22d1e;
}

.eventdate .day {
  font-size: 35px;
}

.eventdate .month {
  font-size: 20px;
  margin-top: -0.7em;
  margin-left: 2em;
}

.event-listing .eventdetails {
  text-align: left;
  padding: 15px;
}

.event-listing .eventdetails h1 {
  font-size: 25px;
  margin: 0;
  font-family: 'Adelle', serif;
}

.event-listing .eventdetails p {
  color: #b5b5b5;
  margin: 0;
}

.event-listing .eventnav {
  vertical-align: middle;
  padding: 10px;
}

.event-listing .eventnav .btn {
  margin: 0;
  padding: 6px 12px;
  color: #fff;
}


.event-listing > td {
  text-align: center;
  display: inline-block;
  border: 1px solid #d6d6d6;
  vertical-align: top;
  border-right: 0;
}

.event-listing > td:last-child {
  border-right: 1px solid #d6d6d6;
}

.event-listing .col-15 {
  width: 15%;
}

.event-listing .col-70 {
  width: 70%;
}

.white-box,
.grey-box {
  background: rgb(245, 237, 237);
  background: rgba(245, 237, 237, 0.85);
  border: 1px solid rgba(214, 214, 214, 0.38);
  margin: 0 10px 0 10px;
}
.box-header {
  background: #fff;
  font-size:30px;
  margin:  10px 10px  0 10px;
  padding: 15px;
  border-top: 5px solid #9DC938;
}
.box-header h1{
  text-align: center;
  font-size:30px;
  margin:0;
}
.menu-box {
  background: rgb(61, 55, 55);
  background: rgba(61, 55, 55, 0.93);
  margin: 10px 0;
  padding: 10px;
  box-shadow: 1px 1px 1px rgba(3, 0, 0, 0.35);
}
.status-box {
  background: #8BB32F;
  padding: 10px;
  border-bottom: 5px solid #9DC938;
}
.status-box h4 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight:100;
  color: #BECE7E;
  line-height: .7em;
}
.status-box h3 {
  font-size: 20px;
  font-weight:100;
  color: white;
  font-family: 'Adelle', serif;
  padding: 0 12px 0 12px;
}

.status-box.entry-count{
  background-color: #9DC938
}


.pageitem.press-center,
.display-posts-listing{
  border: 1px solid #DDD;
  border-radius: 15px;
  background-color: #F6F6F6;
  margin-bottom: 20px;
}

.listing-item{
  padding: 20px;
  border-top: 1px solid #DDD;
  display: table;
  width: 100%;
  padding-right: 180px;
  position: relative;
}
.listing-item:first-child{
  border-top: none;
}
.listing-item .date{
  float: left;
  display: block;
  margin-top: 0px;
  margin-bottom: 8px;
  color: #999;
}
.listing-item .title{
  float: left;
  clear: left;
}
.listing-item .download{
  float: right;
  color: #D85F5A;
  background-image: url('./res/img/pdf.png');
  background-repeat: no-repeat;
  display: block;
  min-height: 51px;
  line-height: 51px;
  padding-left: 60px;
  margin-top: 4px;
  position: absolute;
  right: 20px;
}

/* Generic post-block styles */
.post-block{
  padding: 28px;
  border-top: 1px solid #DDDDDD;
}
.post-block:first-child{
  border-top: none;
}
.post-block .featured-image{
  float: left;
  width: 210px;
  height: 158px;
  overflow: hidden;
  text-align: center;
  margin-right: 22px;
  display: block;
}
.post-block .content{
  text-align: left;
}
.post-block .content.no-content{
  text-align: center;
}
.post-block .content.no-content p{
  color: #333 !important;
}
.post-block .content h5{
  margin-bottom: 5px;
}
.post-block .content p{
  margin-bottom: 0px;
}
.post-block .content ul{
  list-style: none;
}

/* Press release archive */
.post-block.press-release{

}
.pdfDownload,
.plainTxtDownload{
  background-repeat: no-repeat;
  display: inline-block;
  height: 51px;
  padding-left: 60px;
  line-height: 51px;
  margin-bottom: 12px;
  margin-right: 12px;
}
.pdfDownload{
  background-image: url('res/img/pdf.png');
}
.plainTxtDownload{
  background-image: url('res/img/txt.png');
}

/* Media resource archive */
.post-block.media-resource{

}

/* Video archive */
.post-block.video{

}

/* Documents archive */
.post-block.documents{
  border-top: 1px solid #DDD;
  display: table;
  width: 100%;
  padding-right: 180px;
  position: relative;
}
.post-block.documents:first-child{
  border-top: none;
}
.post-block.documents .date{
  /*float: left;*/
  display: block;
  margin-top: 0px;
  margin-bottom: 8px;
  color: #999;
}
.post-block.documents .title{
  float: left;
  clear: left;
}
.post-block.documents .download{
  float: right;
  color: #D85F5A;
  background-image: url('./res/img/pdf.png');
  background-repeat: no-repeat;
  display: block;
  min-height: 51px;
  line-height: 51px;
  padding-left: 60px;
  margin-top: 4px;
  position: absolute;
  right: 20px;
}

.post-block.video .featured-image{
  position: relative;
  background: #FFF;
}
.post-block.video .featured-image .overlay{
  position: absolute;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  background-color: #ADADAD;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  opacity: 0.6;
}
.post-block.video .featured-image .overlay:after{
  content: '';
  display: block;
  width: 0; 
  height: 0;
  position: absolute;
  left: 6px;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;

  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;  
  border-left: 15px solid #FFF;
}

.post-block.media-resource .content p{
  color: #ADADAD;
}
.post-block.media-resource .content hr{
  border-top: 1px solid #bbb;
  margin: 5px 0;
}

/* General page styles */
.pageitem.video .content,
.pageitem.press-release .content{
  text-align: left;
  padding: 28px;
}
/* Single press release*/
.pageitem.press-release{
  overflow: hidden;
}
.pageitem.press-release .wpptopdfenh img{
  margin-right: 8px;
}
.pageitem.press-release .publish-date{
  float: right;
  margin-top: 10px;
}
.pageitem.press-release .content div + p{
  margin-top: 36px;
}
.pageitem.press-release .supplement{
  text-align: left;
  background-color: #EEEEEE;
  padding: 28px;
  border-top: 1px solid #DDDDDD;
}
.press-form{
  padding: 0 28px;
}
/* Single Video */
.pageitem.video{

}
.team-profiles{
  position: relative;
  padding-top: 40px;
  margin-top: 30px;
  margin-bottom: -30px;
}
.team-profiles:before{
  display: block;
  content: '';
  background-color: #FFF;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 400%;
  margin-left: -100%;
  border-top: 1px solid #bbb;
}
.team-profiles > *{
  position: relative;
}
.team-profiles h2{
  text-align: center;
  color: #C0AD77;
}
.team-profiles .team-member .image-wrapper{
  margin: 0 !important;
}
.team-profiles .team-member h3{
  text-transform: uppercase;
  color: #C0AD77;
}
.team-profiles .team-member p b{
  color: #A22C1E;
}

ul.contact-block{
  display: block;
  margin-bottom: 8px;
}
.contact-block .name{font-weight: bold;}
.contact-block .position{display: inline; margin-right: 8px;}
.contact-block .number{display: inline; margin-right: 8px; margin-left: 5px;}
.contact-block .email{display: inline;}


@media only screen and (max-width: 480px){
  .listing-item{
    padding-right: 20px;
    padding-bottom: 85px;    
  }
  .listing-item .download{
    bottom: 20px;
    left: 20px;
  }
}

.white-box.pad,
.grey-box.pad {
  padding: 25px;
}

.grey-box {
  background: #F6F6F6;
}

.goldtitle {
 font-size: 25px;
 color: #BFAC77;
 margin: 0;
 margin-bottom: 10px;
 text-transform: uppercase;
}

/* fudge welcome page styling as TML doesn't have a template for this */
.logged-in .login.mu_register {
  background: #FFF;
  border-radius: 5px;
  margin: 0 auto;
  padding: 15px 30px 30px;
  width: 60%;
}

.login .tab-navbar {
  border: 0;
}

.login .nav-tabs a {
  color: #D6D6D6;
  font-size: 24px;
  padding-top: 10px;
  border-bottom: 0;
}

.login .nav-tabs li:first-child a {
  border-top-right-radius: 0;
}

.login .nav-tabs li:last-child a {
  border-top-left-radius: 0;
}

.login .nav-tabs li {
}

.login .nav-tabs a {
  background: #FFF;
  border-color: #CFCFCF;
  box-shadow: inset 3px -5px 5px 0 #F8F9F8;
}
.login .nav-tabs .active a,
.login .nav-tabs a:hover {
  background: #FFF;
  box-shadow: none;
  color: #444;
}

.login .nav-tabs .active a,
.login .nav-tabs .active a:hover {
  border-top: 5px solid #C0AD77;
}

.login .white-box {
  margin-bottom: 25px;
  background: #fff;
}

.login .grey-box label {
  color: #666;
}

.login input {
  width: 100%;
  border: 1px solid #d6d6d6;
  min-height: 40px;
}

.login input[type="checkbox"] {
  width: auto;
  min-height: inherit;
}

.login input:focus {
  border-color: #017FFF;
}

.login .hint {
  color: #888;
  font-size: small;
}

.login .submit,
.login .moreinfo {
  margin: 25px 0;
}

.login p.error {
  border: 1px solid #ff0101 !important;
  background-color: #ffeeee !important;
}

.login p.message {
  border: 1px solid #ffff01 !important;
  background-color: #ffffee !important;
}

.tml-action-links {
  margin: 25px 0;
  padding: 0;
  list-style-type: none;
}

.tml-action-links li {
  display: inline-block;
}

.smtitle {
  font-size: 20px;
  font-weight: bold;
  color: #545454;
  margin-bottom: 10px;
}

.login input.error {
  border-color: #ff0101 !important;
}

.login .error {
  color: #ff0101 !important;
}

#slider_topbar,
.swipe {
  display: none;
}

.swipe {
  overflow: hidden;
  visibility: hidden;
  position: relative;
  border-bottom: 5px solid #adadad;
  box-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.swipe-wrap {
  overflow: hidden;
  position: relative;
}
.swipe-wrap > div {
  float:left;
  width:100%;
  position: relative;
}
.swipe .overlay{
  top: 0;
  height: 100%;
  position: absolute;
  background-color: #FFF;
  opacity: 0.8;
  z-index: 20;
}

.swipe .overlay.right{
  left: 0;
}

.swipe .overlay.left{
  right: 0;
}


@media (min-width: 768px) {  
  .item {
    width: 270px;
  }
  .item.issuu,
  .item.stack{
    width: 230px;
  }
  .item.media_resource{
    width: 220px;
  }
  .item-video {
    width: 555px;
  }
  .awards-sidebar.sticky {
    position: fixed;
    top: 114px;
    width: 165px;
    z-index: 3;
  }
  .sponsor {
    margin: 20px 15px;
  }
  .sponsor img {
    max-height: 100px;
  }
}
@media (min-width: 992px) {
  .awards-sidebar.sticky {
    width: 220px;
  }
  #actionbar .site-description {
    display: block;
  }
}
@media (min-width: 1200px) {
  .awards-sidebar.sticky {
    width: 270px;
  }
}

@media (max-width: 767px) {
  .jumbotron {
    padding: 30px 0;
  }
  .jumbotron .categorypicture {
    display: none;
  }
  .jumbotron .wrapper {
    margin: 5% auto;
    width: 60%;
  }
  .jumbotron .wrapper.large{
    width: 100%;
  }
  .jumbotron .wrapper .content {
    padding: 20px 5px;
  }
  .jumbotron h1 {
    font-size: 28px;
    margin-top: 0;
  }
  .logged-in .login.mu_register {
    margin: 0 10px;
    width: auto;
  }
  .swipe .overlay{
    display: none;
  }
  .event-header .jumbotron .wrapper{
    width: 100%;
    margin: 15px 0;
  }
  .event-header .jumbotron img{
    margin-top: 0px;
    max-height: 60px;
  }
  .event-header .jumbotron h1{
    font-size: 28px;
  }
  .event-header .jumbotron h2{
    font-size: 18px !important;
    margin: 10px 0 0 0;
  }
  .photospace_res ul.thumbs{
    display: none;
  }
  .testimonials li{
    width: 80%;
  }
}

/* retina images */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
     only screen and (min--moz-device-pixel-ratio: 1.5),
     only screen and (-o-min-device-pixel-ratio: 3/2),
     only screen and (min-device-pixel-ratio: 1.5),
     only screen and (min-resolution: 144dpi),
     only screen and (min-resolution: 1.5dppx) {
  #actionbar .logo {
    background-image: url('res/img/logo@2x.png') !important;
    background-size: auto 100%;
  }

}

.entry-count .counter{
  line-height: 3.5em;
  margin: 0 auto 5px auto;
  padding: 0;
  display:block;
}

.entry-count .counter li{
  display: inline;
  background-color: white;
  color: #8BB32F;
  font-weight: bold;
  margin: 5px 3px;
  padding: 9px;
  list-style-type: none;
  width: 35px;
  height: 46px;
  font-size: 1.5em;
  list-style-type: none;
}
@media (min-width: 768px) and (max-width: 992px){
  .entry-count .counter li{
    margin:0px;
    font-size: 1em;
  }
}

.image-wrapper a:hover {
  background: none;
}

.image-wrapper a img {
  max-height: 600px;
}

.photospace_res {
  background: #f5f5f5;
  border: 1px solid #ccc;
  padding: 10px;
}

.photospace_res a.pageLink{
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #FFF !important;
}

.photospace_res .thumbs_wrap{
  width: 100%;
  height: 60px;
  display: block;
  float: none;
  left: 0;
  right: 0;
}
.photospace_res .thumnail_row{
  left: 0;
  float: none;
  width: 540px;
  margin: 0 auto;
}
.photospace_res .psr_paging{
  width: auto;
  position: relative;
  margin: 0;
}
.photospace_res ul.thumbs{
  padding-left: 0px;
  position: absolute;;
  top: 0;
  left: 0;
  right: 0;
  width: 420px;
  margin: 0 auto;
}
.photospace_res ul.thumbs li{
  cursor: pointer;  
  position: absolute;
}

.photospace_res ul.thumbs li.neighbour.pos1{
  left: 0px;
}
.photospace_res ul.thumbs li.neighbour.pos2{
  left: 60px;
}
.photospace_res ul.thumbs li.neighbour.pos3{
  left: 120px;
}
.photospace_res ul.thumbs li.selected{
  left: 180px;
}
.photospace_res ul.thumbs li.neighbour.pos4{
  left: 240px;
}
.photospace_res ul.thumbs li.neighbour.pos5{
  left: 300px;
}
.photospace_res ul.thumbs li.neighbour.pos6{
  left: 360px;
}


.thumbs .placeholder{
  width: 50px;
  height: 50px;
  margin-right: 10px;
  margin-bottom: 10px;
  display: none;
}
.thumbs .selected,
.thumbs .neighbour{
  display: inline-block !important;
  float: left;
}
.photospace_res ul.thumbs img{
  cursor: pointer;
}

@media (min-width: 768px) {
  .psr_paging {
    display: block;
    width: 128%;
    position: absolute;
    margin-left: -60px;
  }
  .photospace_res .thumnail_row a.prev {
    float: left;
  }

  .photospace_res .thumnail_row a.next {
    float: right;
  }
}
.pydPaging .dots{
  display: none;
}