/*
Theme Name: Santa Claus Anonymous
Description: An Enfold <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. These are modifications to the Enfold them that make it work like the custom design for SCA

Version: 1.11
Author: Christie Wood
Author URI: http://christiemade.com/
Template: enfold

*/


/*
* GLOBAL EDITS
*/
h2 {
  font-size:18px;
  line-height: 25px;
  padding: 10px 0px 12px 0px;
  margin:0px;
}
p {
  line-height: 20px;
  padding: 10px 0px;
  margin:0px;
}
.floatleft {
  margin-right: 25px;
}
.at-below-post-page.addthis_tool {
  display: none; 
}
a {
  color: #000000;
  text-decoration: underline;
}
.main_color .entry-content a:hover {
  color: #7DBDC0;
  text-decoration: underline;
}
#top .main_color .avia-button {
  font-family: 'arvo', Verdana, Geneva, sans-serif;
  border-radius: 10px;
}
#top .main_color .avia-color-theme-color {
  background-color:#84c2c6;
}
.avia-button.avia-size-large {
  padding: 15px 30px 13px;
  font-size: 18px;
}
.avia-button.avia-size-large .avia_button_icon {
  font-size: 25px; 
  margin-top: -2px;
  float: left;
  margin-right: 5px;
}
@media (max-width: 767px) {
  .floatleft {
    float: none; 
    display: block;
    margin-bottom:25px;
  }
}
.av-image-caption-overlay-center p {
  line-height: 1em
}
.av-image-caption-overlay-center p small {
  font-size: 17px;
  font-style: italic;
}

/*
* HEADER
*/
#header {
  background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.01) 1%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.01) 1%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.01) 1%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
}
#header_main {
}
@media only screen and (max-width: 767px) {
  .responsive .logo img {
    max-height: 55px;
  }
  .responsive #top .logo {
    height:62px !important;
    padding-bottom: 40px;
    padding-top: 10px;
  }
  .responsive #top #wrap_all #header_main .container {
    width: 95%;
    max-width: 95%;
  }
}
#tagline {
  font-size: 20px;
  font-family: 'arvo', Verdana, Geneva, sans-serif;
  background: url(images/site-slogan.png) right no-repeat;
  color: #ffffff;
  font-style: italic;
  width: 273px;
  height: 51px;
  position: absolute;
  top: 30px;
  right: -10px;
  padding: 11px 0px 0px 14px;
}

@media only screen and (min-width: 920px) {
  #tagline {
    font-size: 26px; 
    width: 334px;
    height: 67px;
    padding-top:13px;
  }
}
@media only screen and (max-width: 767px) {
  #tagline {
    background:#f5473b; 
    left: 0px;
    top: 73px;
    font-size: 17px;
    line-height: 26px;
    height: auto;
    padding: 0px 5% 0px 2.5%;
  }
}
.container.av-logo-container {
  padding: 21px 50px;
}
#header_main_alternate {
  background: #3d4c54 url(images/menu_shadow.gif) 0px 0px repeat-x;
  font-family: 'arvo', Verdana, Geneva, sans-serif;
}
@media only screen and (min-width: 860px) {
  .av_minimal_header #header_main .container, .av_minimal_header .main_menu ul:first-child > li a {
    height:126px;
    line-height:126px;
  }
  .av_minimal_header #header_main_alternate .container {
     padding-left: 25px;
  }
}
#header .main_menu ul:first-child > li.home {
  display:none;
}
#header .main_menu ul:first-child > li > a {
  color:#ffffff;
}
#header .main_menu ul:first-child > li > a:hover {
  color: #7dbdc0 !important;
}
.av-main-nav > li > a {
  font-size: 20px;
  font-weight: 300;
  padding: 0 25px;
}
@media only screen and (max-width: 840px) and (min-width: 768px) {
  .av-main-nav > li > a {
	  font-size:18px;
  }
}
@media only screen and (max-width: 1070px) and (min-width: 768px) {
  .responsive .main_menu ul:first-child > li > a,
  #header #header_main_alternate .container {
    padding:0px 13px;
  }
}
#top #header.av_minimal_header #header_main_alternate .main_menu ul:first-child >li > ul {
  border: 0px; 
  background:url(images/menu_bg.png) repeat;
  padding: 9px 0px;
  width: 180px
}
.av-main-nav ul li {
  padding: 7px 12px 8px 31px;
}
#header .main_menu ul li ul.sub-menu li a {
  background: transparent;
  color:#ffffff;
  font-size:14px;
  border: 0;
  padding: 0;
  line-height: 14px;
  min-height: 14px;
}
#top #header .main_menu .menu ul.sub-menu li>a:hover,
#top #header .main_menu .menu ul .current_page_item > a, #top .header_color .main_menu .menu ul .current-menu-item > a,
#top #header .main_menu .menu ul .current_page_item > a:hover, #top .header_color .main_menu .menu ul .current-menu-item > a:hover {
  color:#80c0c4;
  font-weight: bold;
}
.page-thumb, .big-preview {
  display:none;
}
#banner {
  background-repeat: no-repeat;
  background-size: cover;
  height: 250px;
  position: relative;
  background-position:center;
}
#banner h1 {
  margin:0px;
  height: 95px;
  background: url(images/bg-title.png) right 0px no-repeat;
  color: #ffffff;
  font-weight: bold;
  font-size: 50px;
  padding: 16px 50px 0px 29px;
  position: absolute;
  bottom: -53px;
  z-index:99;
}
#banner h1:before {
  background: url(images/bg-title-left.png) right 0px no-repeat;
  content: "";
  height: 112px;
  width: 33px;
  position: absolute;
  display: block;
  left: -27px;
  bottom: -17px;
}
.image-overlay {
	display: none !important;
}
#banner + .container_wrap_first {
  padding-top: 40px;
}
#header .av-hamburger-inner, #header .av-hamburger-inner::before, #header .av-hamburger-inner::after {
  background-color:#ffffff;
}
@media only screen and (max-width: 767px) {
   #banner h1 { 
     font-size: 33px;
     background-size: auto 66px;
     height: 86px;
     padding-top: 14px;
   }
   #banner h1:before {
    bottom: 0px;
    background-size: auto 86px;
    height: 86px;
   }
}
@media only screen and (max-width: 460px) {
   #banner {
     min-width:285px;
   }
   #banner h1 { 
      font-size: 23px;
      padding-top: 9px;
   }
}


/*
* HOMEPAGE BANNER
*/
body.page-id-75 #main {
  position:relative;
}
#fullscreen_slider_1 .avia-slideshow {
  height: 526px;
}
body.page-id-75 #av_section_1 .container {
  padding:0px;
}
body.page-id-75 .addthis_tool {
 display: none; 
}
#ribbon {
  position: relative;
}
#ribbon:before {
  content: "";
  display: block;
  position:absolute;
  left:-27px;
  top:0px; 
  background: url(images/ribbon-left.png) 0px 0px no-repeat; 
  width: 27px;
  height: 145px;
}
#ribbon:after {
  content: "";
  display: block;
  position:absolute;
  right:-31px;
  top:0px; 
  height: 145px;
  width: 31px;
  padding: 0px;
  background: url(images/ribbon-right.png) 0px 0px no-repeat; 
}
#ribbon .container {
  background-color:#f5473b;
  min-height:103px;
  max-height:103px;
  overflow:hidden;
}
#ribbon .container .content {
  padding:0px;
  color:#ffffff;
  font-family: 'arvo';
  font-size: 17px;
  line-height:1.3em;
  padding: 0px 12px 0px 18px;
}
#ribbon strong {
  color:#ffffff;
}
#ribbon .post-entry {
  display:table;
  height: 103px;
  width:100%;
}
#ribbon .entry-content-wrapper {
  display:table-row;
  width: 100%;
  height: 103px;
}
#ribbon .av_textblock_section {
  display: table-cell;
  vertical-align:middle; 
}
#ribbon .av_textblock_section p {
  margin:0px;
  line-height:1.5em;
}
@media(max-width: 950px) {
 #ribbon > .container {
   padding: 0px 20px;
 }
}
@media(max-width: 830px) {
  #ribbon .container .content {
    font-size: 15px;
  }
}
@media only screen and (max-width: 767px) {
  .responsive #top #wrap_all #ribbon .container {
    width: 100%;
    max-width:100%;
    padding: 0px 20px;
  }
  .responsive body#top.page-id-75 #wrap_all #av_section_1 .container {
    width: 100%;
    max-width:100%;
  }
}
@media only screen and (max-width: 590px) {
  .responsive #top #wrap_all #ribbon .container {
    padding:10px 10px;
  }
  #ribbon:before {
    background-color:#f5473b;
    background-image:url(images/mobile-ribbon.png); 
    width: 10px;
    background-position: bottom left;
    height: 109%;
    left: -10px;
  }
  #ribbon:after {
    background-image:url(images/mobile-ribbon.png); 
    background-color:#f5473b;
    right: -10px;
    width: 10px;
    background-position: bottom right;
    transform: scaleX(-1);
    height: 109%;
  }
  #ribbon .container,
  #ribbon .post-entry,
  #ribbon .entry-content-wrapper {
    height:auto;
    max-height:215px;
  }
}
@media only screen and (max-width: 400px) {
  #ribbon:before,
  #ribbon:after {
    height: 107%;
  }
}




/*
* HOMEPAGE BLOCKS
*/
#blocks .container {
  padding:0px 39px;
}
#blocks .av_one_third {
  margin-left: 4%; 
  width: 30.66666%;
}
#blocks .av_one_third.first {
  margin-left: 0px;
}
#blocks h3, .em-booking-buttons input {
  font-family: 'arvo';
  font-size: 25px;
  font-weight:normal;
  text-transform: uppercase;
  padding-right: 10px;
  height: 37px;
  margin-bottom:1px;
}
#blocks h3 a, #em-booking-submit {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  background: url(images/home-block-h2.png) 0px 0px no-repeat;
  padding: 6px 5px 6px 13px;
  line-height: 25px;
  height: 37px;
  position:relative;
  padding-right: 16px;
  outline:none;
}
#blocks h3 a:after, .em-booking-buttons:after {
  background: url(images/home-block-h2-right.png) right top no-repeat;
  content: "";
  display:block;
  height: 37px;
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
}
#blocks h3 a:hover, .em-booking-buttons:hover #em-booking-submit {
  background-position: 0px -37px;
}
#blocks h3 a:hover:after, .em-booking-buttons:hover:after {
  background-position: 100% -37px; 
}
#blocks .av_textblock_section {
  border-right: 1px #9f9f9f solid;
  padding-right: 20px;
}
#blocks .avia-builder-el-last .av_textblock_section {
  border-right: 0px;
  padding-right: 0px;
}
#blocks .av_textblock_section img {
  margin-top:10px;
  display:block;
  margin-left: auto;
  margin-right:auto;
}
@media(max-width: 767px) {
  #blocks .av_textblock_section {
    border-right: 0px;
    border-bottom:  1px #9f9f9f solid;
    text-align:center;
    padding:30px 0px;
  }
  #blocks .first .av_textblock_section {
    padding-top: 0px; 
  }
  #blocks .avia-builder-el-last .av_textblock_section {
    border-bottom:0px;
    padding-bottom: 0px;
  }
}





/*
* NEWSLETTER
*/
#newsletter {
  position: absolute;
  top: 0px;
  right: -32px;
  z-index: 199;
  overflow: hidden;
  height: 200px;
  width: 32px;
}
#newsletter h2 {
  width: 32px;
  height: 141px;
  text-indent: -9999px;
  background: url(images/e-newsletter.png) 0px 0px no-repeat;
  cursor: pointer;
  float: right;
}
#newsletter .wpcf7 {
  position: relative;
  margin-right: 32px;
  width: 358px;
}
#newsletter .wpcf7 .wpcf7-form {
  z-index: 199;
  background: rgba(132,194,198,0.9);
  position: absolute;
  top: 0px;
  right: 0px;
  margin-right: -358px;
  padding: 1px 29px 10px 29px;
  height: 141px;
  margin:0px;
  width: 326px;
}
#newsletter .wpcf7 .wpcf7-form.sent {
  height: 220px;
}
#newsletter div.wpcf7-response-output {
  font-size: 14px;
  border:0px;
  margin: 30px 0px 0px;
  line-height: 15px;
  padding: 5px 10px;  
}
#newsletter div.wpcf7-mail-sent-ok {
  border: 0px;
  background-color: #3d4c54;
  color: #ffffff;
}
#newsletter .form-item {
  width: 265px;
  margin: 0px;
  padding: 4px 0px 0px 0px;
}
#newsletter .form-item label {
  color: #3d4c54;
  font-size: 12px;
  font-weight: normal;
  line-height: 19px;
}
#top #newsletter .form-item input,
#top #newsletter .form-item input[type="text"] {
  width: 268px;
  border: 0px;
  padding: 4px 5px;
  font-family: 'arvo';
  margin: 0px;
}
#newsletter .form-actions {
  height: 5px;
  margin: 0px;
  padding: 4px 0px 0px 0px;
}
#top #newsletter .wpcf7-submit {
  background: #3d4c54;
  width: auto;
  text-transform: uppercase;
  color: #ffffff;
  font-size: 11px;
  font-family: 'cabin';
  float: right;
  padding: 3px 10px 2px 10px;
  cursor: pointer;
}
@media(max-width: 600px) {
 #newsletter {
    right: 0px;
     
 }
 #newsletter .wpcf7 { width:300px; }
 #newsletter .wpcf7 .wpcf7-form { width: 253px; padding: 10px;}
 #newsletter .form-item { width:210px; padding-top: 0px;}
 #top #newsletter .form-item input, #top #newsletter .form-item input[type="text"] { width:233px; }
}
#newsletter p {
  padding: 0px;
}


/*
* DONATION FORM (GRAVITY)
*/
#gform_wrapper_1 {
  background: #7dbdc0;
  padding:10px 20px;
  margin-top: 17px;
}
#top #gform_wrapper_1 fieldset {
  margin-bottom: 0px;
}
#gfield_description_1_13, #field_1_14 {
  display: none;
}
#top #gform_wrapper_1 legend, #top #gform_wrapper_1 label {
  font-size: 17px;
  font-weight: 400;
}
.gform_wrapper.gravity-theme .ginput_container_address span:not(.ginput_full):not(:last-of-type):not(:nth-last-of-type(2)), .gform_wrapper.gravity-theme .ginput_full:not(:last-of-type) {
  margin-bottom: 16px;
}
#top .input-text, #top input[type=email], #top input[type=input], #top input[type=number], #top input[type=password], #top input[type=search], #top input[type=tel], #top input[type=text], #top input[type=url], #top select, #top textarea {
  border: 2px solid #ccc;
  font-size: 18px;
  padding: 15px 10px;
}
.gform_confirmation_message {
  color: #6bb6ba;
  font-family: 'arvo',Helvetica,Arial,sans-serif;
  font-size: 40px;
  line-height: 1.1em;
  padding: 30px 0px;
}
#gform_confirmation_wrapper_2 .gform_confirmation_message {
  font-size: 26px;
  line-height: 1.5em;
  padding: 20px 30px;
  border: 10px solid #6bb6ba;
}
#gform_submit_button_1 {
  padding: 0px;
  margin: 0px;
  outline: none;
  height: 38px; 
  width: 183px; 
  transition: none;
  font-size:0; 
  line-height: 0; 
  text-indent:-9999px; 
  background: url(images/donate-now.png) 0px 0px no-repeat; 
}

article.post-entry-2 .at-below-post-page.addthis_tool {
  display: block; 
}



/*
* CONTACT FORM
*/
#contact.avia-section .content {
   padding-top:0px; 
}
#contact.avia-section .content > .post-entry {
  padding: 11px 37px;
  margin: 0px;
  background: #84c2c6;
  position: relative;
}
@media(max-width:680px) { 
  #contact.avia-section .content > .post-entry { padding: 11px 16px; }
}
#contact.avia-section h3 {
  color:#ffffff;
  font-size: 25px;
  float: none;
  font-weight: normal;
  padding: 20px 0px;
}
#contact .special-heading-border {
  display:none;
}
#contact .wpcf7 label {
  display: block;
  float: left;
  width: 270px;
  line-height: 14px;
  color: #3d4c54;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
}
@media(max-width:680px) { 
  #contact .wpcf7 label {
     float: none;
     width: auto; 
  }
}
#contact .wpcf7 .form-item {
    margin: 0px;
    padding: 3px 0px;
}
#contact .wpcf7 input.form-text {
  width: 339px;
  padding: 7px 0px 6px 8px;
  border: 0px;
  font-family: 'arvo';
  font-size: 14px;
}
@media(max-width:680px) { 
  #contact .wpcf7 input.form-text { width:100%; }
}
#contact .wpcf7 textarea.form-textarea {
  font-family: 'arvo';
  font-size: 14px;
  padding: 10px 9px;
  height: 132px;
  border: 0px;
  margin:0px;
  margin-top: 2px;
}
@media(min-width:930px) {
  #contact .wpcf7 .webform-component--newsletter {
    width: 50%;
    float:left;
  }
  #contact .wpcf7 .webform-component--privacy {
    margin-left: 50%;
  }
}
@media(max-width:929px) {
  #contact .wpcf7 .webform-component--newsletter,
  #contact .wpcf7 .webform-component--privacy {
    clear:both;
    float: none;
  }
}
#contact .wpcf7 .webform-component--privacy p {
  margin: 0;
  padding: 3px 0px;
}
#contact .wpcf7 .actual_newsletter .wpcf7-list-item {
  margin-left:0px;
}
#contact .wpcf7 .actual_newsletter .wpcf7-list-item-label {
  line-height: 32px;
}


/*
* NEW EVENT REGISTRATION (With Gravity)
*/
.gform_wrapper.gravity-theme .gfield--type-quantity .gfield_label {
  margin-bottom: 0px;
}
#field_3_2 { /* First attendee email only */
  padding-top: 30px;
}
#top .gfield input[type=email], #top .gfield input[type=number], #top .gfield input[type=tel], #top .gfield input[type=text], #top .gfield input[type=url], #top .gfield select, #top .gfield textarea {
  font-size: 15px;
  padding: 3px 6px;
}
#top #input_3_21_2_cardinfo_left legend.gform-field-label--type-sub {
      font-weight: bold;
    font-size: 0.92em;
}
#top #input_3_21_2_cardinfo_left legend.gform-field-label--type-sub + .ginput_card_expiration_container {
  margin-bottom: -14px;
}
#top #input_3_21_2_cardinfo_right {
  align-items: flex-start;
}



/*
* EVENT REGISTRATION
*/
header h1.post-title,
article.post-entry footer, span.hidden,
header .post-meta-infos { display:none; }
.single-event  .entry-content > img { display: none; }
.single-event  .entry-content > .at-above-post.addthis_tool { display:none;}
.single-event  .entry-content .basics { font-size: 1.2em; }
.entry-content .basics p {
    line-height: 23px;
    padding: 0px 0px 19px 0px;
}
p.ticket-price label { margin-right: 5px; }
p.ticket-price label:after { content: ":"; }
@media(min-width: 640px) { 
  .single-event  .entry-content .basics > p:first-child {
    float:left;
    width: 48%;
  }
  .single-event  .entry-content .basics > p:second-child {
    margin-left: 52%;
  }
  .single-event  .entry-content .basics > p:last-child {
    clear:both;
  }
}
@media(min-width:768px) {
  .single-event .entry-content .left {
    float:left;
    width: 48%;
  }
  .single-event .entry-content .right {
    margin-left: 53%; 
  }
}
.main_color tr:nth-child(even) {
  color: var(--enfold-main-color-color);
  background-color: #fafafa;
}
.em-tickets.em-tickets-single {
  margin-bottom: 30px;
}
p.em-tickets-spaces {
  display: flex;
  gap: 10px;
  justify-content: start;
  align-items: center;
}
#top p.em-tickets-spaces select {
  margin-bottom: 0px;
  padding: 4px 43px 4px 19px;
  width: auto;
}
.em-ticket-bookings .em-ticket-booking {
  border: 1px #ebebeb solid;
  margin: 7px 0px;
  padding:13px;
}
#top .em-ticket-bookings .em-ticket-booking .input-text {
  background: transparent;
  padding: 0px;
  border: 0px;
  margin: 0px;
}
#top .em-ticket-bookings .em-ticket-booking .input-text label {
  font-family: 'cabin',Helvetica,Arial,sans-serif;
  font-weight: 500;  
  font-size: 14px;
  color:#000;
  padding-bottom: 2px;
}
#top .em-ticket-bookings .em-ticket-booking .input-text.input-field-attendee_name {
  padding-bottom: 10px;
}
#top .em-ticket-bookings .em-ticket-booking .input-text input[type='text'] {
  margin-bottom: 0px;
  font-size: 16px;
  padding: 3px 6px;
}
.em-booking-form-details {
  margin-bottom: 30px;
}
#top .em-booking-section select,
#top .em-booking-section input[type='text'] {
  padding: 8px 10px;
  margin-bottom: 0px;
}
#em-booking {
  margin:0px;
}
#em-booking .em-booking-form {
  clear:none;
}
#em-booking .em-booking-form label,
p.input-field-attendee_name label, p.input-field-attendee_email label {
  white-space: nowrap;
  display: block;
  float: none;
}
#em-booking .em-booking-form p.input-field-data_privacy_consent label {
  white-space:normal;
  font-weight: 300;
}
#top .main_color #em-booking .em-booking-form  input[type='text'] {
  display:block;
}
#em-booking .em-booking-form-details {
  padding:0px;
  width: auto;
  float: left;
}
.main_color .em-attendee-fieldset {
  padding:15px;
  border:1px dotted #aaa;
  margin-bottom:7px;
}
#top .main_color .em-attendee-fields .input-text {
  background-color: transparent;
  border:0px;
  color:#000000;
}
body.page-civicrm-contribute .em-attendee-fieldset input[type="text"] {
    width: auto;
    display: block;
    clear: left;
}
#top .main_color .em-attendee-fieldset input[type='text'] {
    border: 1px #aaa solid;
    padding: 4px;
    font-size: 14px;
    color: #333333;
    outline: none;
}
.input-field-data_privacy_consent br {
  display: none;
}
#em-booking-submit {
  display: block;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}
.entry-content .right p {
  padding:7px 0px;
}
.event_columns {
  padding-bottom:30px;
}
.event_columns:after {
  content: "";
  clear:both;
  display:none;
}
.g-recaptcha {
  padding-top:20px;
}
.submit {
  text-align: right;
}
.error {
  color:#cc0000;
  padding: 10px 0px;
}
#top .em-bookings-form-gateway-expiry select {
  width: 70px;
  display: inline;
  font-size: 14px;
}
.em-booking-buttons {
  max-width: 440px;
  margin: 0 auto;
  position:relative;
}
#em-booking-gateway-authorize_aim {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.em-bookings-form-gateway-cardno {
  flex-basis: 100%;
}
#top .em-bookings-form-gateway-expiry {
  flex: 1;
}
#top .em-bookings-form-ccv {
  clear: none;
  display: flex;
  align-items: center;
}
#top .em-bookings-form-gateway-expiry label {
  padding-right: 5px;
}
#top .em-bookings-form-ccv input[type='text'] {
  width: 63px;
}
#top .em-bookings-form-ccv label {
  padding-right: 5px;
}
#top .em-booking-buttons {
  margin-top: 30px;
}
.em-bookings-form-coupon {
  display: none;
}
@media(max-width: 1055px) and (min-width: 768px) {
  #em-booking-submit { font-size: 17px; }
}
@media(min-width: 768px) {
  #top p.input-dbem_state {
    float: left;
    width: 160px;
  }
  #top .input-dbem_zip {
    margin-left: 190px;
    clear: none; 
  }
}
@media(max-width: 910px) and (min-width: 768px) {
  #top .em-bookings-form-ccv { flex-basis: 100%; }
}
@media(max-width: 479px) {
  #top .em-bookings-form-ccv { flex-basis: 100%; }
}
@media(max-width: 520px) {
  .em-booking-buttons {
    margin: 0px -10px; 
    zoom: 0.6;
  }
  .em-booking-form-details .em-booking-submit {
    font-size:16px;
  }
}


/*
* ENFOLD OVERRIDES
*/
.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
  text-transform: none;
  letter-spacing: normal;
}
.html_boxed #main {
  overflow: visible;
}
@media only screen and (max-width: 989px) {
  .responsive body.boxed#top, .responsive.html_boxed.html_header_sticky #top #header, .responsive.html_boxed.html_header_transparency #top #header {
    max-width: 90%;
    overflow: visible;
  }
}
@media only screen and (max-width: 767px) {
  .responsive .boxed #wrap_all { 
    overflow: visible;
  }
}
@media only screen and (max-width: 510px) {
  .responsive body.boxed#top, .responsive.html_boxed.html_header_sticky #top #header, .responsive.html_boxed.html_header_transparency #top #header {
    max-width: 100%;
    padding: 0px 17px;
  }
}


/*
* FOOTER
*/
#footer {
  font-size:13px;
  padding: 20px 0px 10px 0px;
}
#top #footer .widget_nav_menu li {
  float: left;
  background: url(images/footer-menu-li.png) 5px 2px no-repeat;
  padding-left: 11px;
  line-height: 14px;
  clear: none;
}
#top #footer .widget_nav_menu li:first-child {
  font-weight: normal;
  background: none;
  padding-left: 0px;
  font-weight: 600;
}
.widget_nav_menu .current-menu-item>a, .widget_nav_menu .current_page_item>a {
  font-weight:inherit;
  text-decoration:underline;
}
#footer .widget_nav_menu a,
#footer .widget_nav_menu ul:first-child>.current-menu-item>a, 
#footer .widget_nav_menu ul:first-child>.current_page_item>a {
  padding:0px;
}
#top #footer .widget_nav_menu li ul.sub-menu {
  display: none;
}
#footer .widget {
  margin:0px;
}
#footer .widget p {
  margin:0px;
}
#socket{
  border:0px;
  margin:0px;
  font-size: 14px;
}
#socket .container {
  padding-top: 0px;
  padding-bottom: 10px;
}
#socket .social_bookmarks {
  font-size:30px;
  height: 50px;
  margin-top: -18px;
}
#socket .social_bookmarks li {
  border-radius:60px;
  width: 50px;
  top: -5px;
}
#socket .social_bookmarks li a {
  min-height: 50px;
  text-decoration: none;
  width: 50px;
  line-height: 50px;
}



/*
* SUPPORTERS
*/
.main_color .flex_column table, .main_color .flex_column tr:nth-child(odd),
.main_color .flex_column .avia-content-slider .slide-image {
  background: transparent;
}
#top .avia-logo-grid .slide-entry-wrap {
  margin-bottom: 40px;
}
.avia-logo-element-container .slide-entry span { 
	filter: grayscale(1.0);
  background-position: center;}
.avia-logo-element-container .slide-entry span:hover { filter: grayscale(0);}
     
tr td:first-child.logos,
tr:first-child td.logos {
  border: 0px;
}
td.logos { 
	height:80px; 
  overflow: hidden; 
  padding: 0px 0px 30px 0px; 
  width:100%; 
  border:0px;
  background: transparent;}
td.logos a { display:block; height: 80px; overflow:hidden; float: left }
td.logos a img { margin-top:-80px;}
td.logos a:hover img { margin-top: 0px; margin-bottom: -80px; }

.avia-content-slider  {
  margin:0px 0px 30px 0px;
}
.avia-content-slider img {
  max-height:81px;
}
body.page-id-544 .avia-content-slider img  {
  max-height: 200px;
}
#top.page-id-544 .avia-logo-grid .slide-entry-wrap {
  margin-bottom: 20px;
}


/*
* BOARD OF DIRECTORS
*/
blockquote h4 {
  line-height: 1.4em;
}
.team-img-container {
  width: 200px;
  margin: 0px auto 10px auto;
  border-radius: 50%;
}
.entry-content-wrapper > .flex_column_table  > .flex_column_table_cell {
  box-shadow: 0 0 5px 0 #e5e5e5;
  padding: 30px;
  text-align: center;
}
.avia-team-member {
  margin-bottom: 0px;
}
.avia-team-member + .avia-button-wrap {
  margin-top: 8px;
}
@media(max-width: 1024px) and (min-width: 768px) {
  .entry-content-wrapper > .flex_column_table  > .flex_column_table_cell { margin-left: 3%; width: 50%; }
  .entry-content-wrapper > .flex_column_table  > .flex_column_table_cell:first-child { margin-left: 0px; }
}
@media(max-width: 767px) {
  #top .flex_column_table.av-equal-height-column-flextable:not(:first-child){
    margin-top: 0px;
  }
  .entry-content-wrapper > .flex_column_table  > .flex_column_table_cell { padding: 15px; }
}