/************************


                                                     *
                                                    *%%
                         ,#               ((         *%&
          .%%          /%%%*              %%%          %%        #%(    (.. /
         %%%%         &%%%%                &%%.        .%%     %%%     . %#.
        %%%%&       *%%%%%,                 %%%          %% *%%%         *./.
       &%%%%%      &%%(%%#                   %%%,         %%%(
      (%%*&%(     &%% %%%                     /%%.      &%%%%
     *%%%.%%,    %%% ,%%/       .&%%%%%&       /%%*  *%%%.  %%,
     %%& /%%   .%%%  &%&      %%%%%   %%&       .%%%%%&      %%.
    #%%  %%&  .%%&  .%%.    #%%%.    ,%%%        %%%%         /%*
   .%%(  &%% ,%%&   &%&   ,%%%,    /%%%%%      %%%%%%*         /%.
   &%&   &%% %%&   ,%%,  &%%%    #%%%&%%    *%%%#   &%#          %*
   %%,   &%%%%%    %%&  &%%,   &%%% .%%#  %%%%/      &%(          %
  %%&    &%%%&     %%* %%%, /%%%%   /%%/%%%%.         %%%
  %%*    &%%%     ,%%  #%%%%%%(      %%%%%             %%#
  #,     &%%,     %%%    %%,                            (%%
                  &%/                                    (%#
                  %%                                      .%%

************************/

/* General Styling **************************************/

.page-section {
  width: 100%;
}

.not-front .page-section {
  max-width: 1170px;
}

.page-section .container {
  max-width: 1200px;
}

#page-section-mobile {
  display: none;
}

#section-slider {
  width: 100%;
  max-width: 1920px;
  margin: 220px auto 0px;
}

a.nivo-control {
  color: transparent;
  background: url(/sites/default/files/slider-dot.png) no-repeat transparent;
  width: 17px;
  height: 17px;
  display: inline-block;
  padding: 0;
  margin-right: 10px;
}

#section-slider .slider-wrapper {
  position: relative;
}

#section-slider .slider-wrapper .nivoSlider a img,
.nivoSlider img {
  height: auto !important;
}

.nivo-controlNav {
  bottom: 10px;
  right: 20px;
  z-index: 9;
}

h1, h2, h3, h4, h5, h6 {
  font-family: eb garamond,serif;
}

a.button-fancy {
  display: inline-block;
  color: #35497a;
  background: url(/sites/default/files/arrow-gold.png) no-repeat transparent;
  background-position: 95% 50%;
  border: 1px solid #af9f81;
  padding: 7px 30px 7px 16px;
  text-decoration: none;
  font-weight: 600;
}

/* Header */

#headerleft img {
  width: 100% !important;
  max-width: 198px !important;
  height: auto !important;
}

#headerleft #block-block-11 {
  margin-top: 0px;
}

.tb-megamenu {
  max-width: 1555px !important;
}

.tb-megamenu .mega-nav > li, .tb-megamenu .dropdown-menu .mega-nav > li {
    width: auto;
    text-align: left;
}

.tb-megamenu .mega-nav > li a, .tb-megamenu .dropdown-menu .mega-nav > li a {
  border: 0;
}

/* HOMEPAGE **************************************/

.alert {
  background: #b90e50;
  border: 0;
  color: #fff !important;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
  margin-bottom: 0;
  padding: 0;
}

.alert p {
  font-size: 20px;
  padding: 10px 35px 10px 15px;
  margin: 0;
}

.header-inner * {
  -moz-transition: all .4s ease-in;
  -webkit-transition: all .4s ease-in;
  -o-transition: all .4s ease-in;
  transition: all .4s ease-in;
}

.header-inner.shrink .container {
  background: #081532;
}

.header-inner.shrink .aveta-logo,
.header-inner.shrink .aveta-logo img {
  width: 140px;
}

.header-inner.shrink #headerleft #block-block-11 {
  margin-top: 0;
}

.header-inner.shrink #headerright {
  margin: 0 2% 0px 0px;
}

.header-inner.shrink #headerright .searchbox {
  margin-top: 35px;
}

/* Page Section 1 */

#page-section-1 {
  margin: 0;
  background: #fff;
  padding: 25px 0 30px;
  border-bottom: 0;
  -webkit-box-shadow: 0px -1px 28px 2px rgba(0, 0, 0, 0.32);
  -moz-box-shadow: 0px -1px 28px 2px rgba(0, 0, 0, 0.32);
  box-shadow: 0px -1px 28px 2px rgba(0, 0, 0, 0.32);
}

#page-section-1 .top-cta {
  width: 20%;
  float: left;
  text-align: center;
  border-right: 1px solid #d4d4d4;
  position: relative;
  height: 0;
  padding-bottom: 6%;
}

#page-section-1 .top-cta:last-child {
  border-right: 0;
}

#page-section-1 .top-cta h3 {
  font-style: italic;
  font-size: 27px;
}

#page-section-1 a {
  color: #003d4c;
  text-decoration: none;
  position: absolute;
  left: 0;
  right: 0;
}

#page-section-1 h3 a {
  left: 0;
  right: 0;
  bottom: -5px;
  top: unset;
}

#page-section-1 .container img {
  width: 100%;
  max-width: 41px;
}

#page-section-1 .container img,
#page-section-1 .container h3 {
  -moz-transition: all .2s ease-in;
  -webkit-transition: all .2s ease-in;
  -o-transition: all .2s ease-in;
  transition: all .2s ease-in;
}

#page-section-1 .top-cta:hover img {
  max-width: 45px;
}

/* Page Section 2 */

#page-section-2 {
  background: #091636;
  text-align: center;
  width: 100%;
  float: left;
}

#page-section-2 #block-block-26 {
  background: url(/sites/default/files/gold-line.png) repeat-x 50% transparent;
}

#page-section-2 #block-block-26 a {
  margin: 0 20px;
}

#page-section-2 h2 {
  color: #fff;
  display: inline-block;
  background: #091636;
  padding: 0 30px;
  margin: 0 auto;
}

/* Page Section 3 */

#page-section-3 {
  overflow: hidden;
  height: 500px;
  width: 100%;
}

#page-section-3 .view-homepage-feature-boxes .view-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
     -moz-box-orient: horizontal;
     -moz-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-justify-content: space-around;
      -ms-flex-pack: distribute;
          justify-content: space-around;
}

#page-section-3 .view-homepage-feature-boxes .view-content .views-row {
  text-align: center;
  background: #fff;
  display: inline-block;
  margin: 10px 0;
  width: -webkit-calc(33.33333% - 20px);
  width: -moz-calc(33.33333% - 20px);
  width: calc(33.33333% - 20px);
  float: left;
  padding: 15px;
}

#page-section-3 .homepage-box img {
  width: 100%;
  height: auto;
}

#page-section-3 .homepage-box {
  width: 100%;
  float: left;
}

#page-section-3 .views-field-title {
  margin-bottom: 20px;
}

#page-section-3 .views-field-title span {
  color: #003d4c;
  font-size: 17px;
  font-weight: 600;
}

#page-section-3 .homepage-box a {
  text-decoration: none;
  font-weight: 600;
  width: 100%;
  float: left;
  margin: 15px 0 10px;
  font-size: 18px;
}

#page-section-3 .homepage-box a.home-button {
  display: inline-block;
  color: #35497a;
  background: url(/sites/default/files/arrow-gold.png) no-repeat transparent;
  background-position: 95% 50%;
  border: 1px solid #af9f81;
  padding: 7px 30px 7px 16px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  max-width: 170px;
  margin: 0 auto;
  float: none;
}

/* Page Section 4 */

#page-section-4 {
  background: #ad9c7e;
  padding: 2px 0;
  margin: 0;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
  text-align: center;
  position: relative;
}

#page-section-4 .container {
  padding: 0 30px;
}

#page-section-4 .container .row {
  padding: 0;
}

#page-section-4 #block-block-27 p {
  margin: 0;
}

#page-section-4 #block-block-27 button {
  position: absolute;
  display: inline-block;
  background: #091636;
  -webkit-border-radius: 50%;
     -moz-border-radius: 50%;
          border-radius: 50%;
  width: 85px;
  height: 80px;
  color: #fff;
  padding: 27px 10px 34px;
  text-decoration: none;
  font-family: eb garamond,serif;
  font-style: italic;
  font-size: 30px !important;
  font-weight: 100;
  top: -40px;
  border: none;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

#page-section-4 #block-block-27 button:focus {
  outline: none;
}

#page-section-4 #block-block-27 button span.less {
  display: none;
}

#page-section-4 #block-block-27 button.less span.less {
  display: block;
}

#page-section-4 #block-block-27 button.less span.more {
  display: none;
}

#page-section-4 #block-block-27 button img {
  -webkit-transform: rotate(0deg);
     -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
       -o-transform: rotate(0deg);
          transform: rotate(0deg);
  -moz-transition: all .5s ease-in;
  -webkit-transition: all .5s ease-in;
  -o-transition: all .5s ease-in;
  transition: all .5s ease-in;
}

#page-section-4 #block-block-27 button.less img {
  -webkit-transform: rotate(180deg);
     -moz-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
       -o-transform: rotate(180deg);
          transform: rotate(180deg);
}

/* Countdown */

#page-section-countdown {
  display: block;
  background: url(/sites/default/files/countdown-bg.png) no-repeat #fff;
  background-position: 900px bottom;
  -webkit-background-size: 1003px 1003px;
     -moz-background-size: 1003px;
       -o-background-size: 1003px;
          background-size: 1003px;
  text-align: right;
  padding: 30px 0 15px;
  float: left;
  width: 100%;
}

#page-section-countdown .container {
  max-width: 1150px;
}

#page-section-countdown #block-block-50 {
  width: 33.333333%;
  float: left;
  text-align: left;
}

#page-section-countdown #block-block-50 h2 {
  color: #bf0007;
  text-transform: uppercase;
  margin: 0;
  font-size: 63px;
  line-height: 49px;
  margin-bottom: 10px;
  padding: 0;
}

#page-section-countdown #block-block-50 h2 span {
  font-size: 58px;
}

#page-section-countdown #block-block-50 h3 {
  color: #444;
  font-size: 46px;
  margin: 0;
}

#page-section-countdown #block-block-50 h3 span {
  font-size: 53px;
  margin-bottom: 30px;
  float: left;
}

#page-section-countdown #block-block-50 p a {
  font-family: eb garamond,serif;
  width: 100%;
  max-width: 338px;
  display: inline-block;
  text-align: center;
  background: #ad9c7e;
  text-decoration: none;
  color: #fff;
  padding: 4px 0;
  font-size: 20px;
}

#page-section-countdown #block-countdown-event-countdown-event {
  width: 66.666667%;
  float: left;
  padding-top: 30px;
}

#page-section-countdown #block-countdown-event-countdown-event h3 {
  color: #444;
  font-size: 36px;
  margin-bottom: 25px;
}

#page-section-countdown #block-countdown-event-countdown-event #clock_holder {
  display: none;
  text-align: right;
  font-family: eb garamond,serif;
}

#page-section-countdown #block-countdown-event-countdown-event span#label_msg {
  display: none;
}

.countdownDigitBk {
  top: 15px;
  font-size: 60px;
  padding: 5px 11px;
  background: #444444; /* Old browsers */
  background: -moz-linear-gradient(top, #444444 0%, #444444 49%, #393938 50%, #393938 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #444444 0%, #444444 49%, #393938 50%, #393938 100%); /* Chrome10-25,Safari5.1-6 */
  background: -webkit-gradient(linear, left top, left bottom, from(#444444), color-stop(49%, #444444), color-stop(50%, #393938), to(#393938));
  background: -o-linear-gradient(top, #444444 0%, #444444 49%, #393938 50%, #393938 100%);
  background: linear-gradient(to bottom, #444444 0%, #444444 49%, #393938 50%, #393938 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#393938',GradientType=0 ); /* IE6-9 */
}

.countdownDisplay {
  font-size: 23px;
  padding: 5px 0 5px 10px;
}

/* Page Section 5 */

#page-section-5 {
  background-color: #f0efed;
  background-image: none;
  text-align: center;
  float: left;
  padding: 30px 0;
}

#page-section-5 h1 {
  color: #333333;
}

#page-section-5 p {
  color: #333333;
}

#page-section-5 #block-block-28 {
  width: -webkit-calc(100% - 311px);
  width: -moz-calc(100% - 311px);
  width: calc(100% - 311px);
  padding-right: 10%;
  float: left;
  text-align: left;
}

#page-section-5 #block-block-31 {
  width: 311px;
  height: auto;
  float: left;
}

#page-section-5 #block-block-31 img {
  width: 100%;
  height: auto;
  float: left;
  border: 5px solid #fff;
}

/* Page Section 6 */

#page-section-6 {
  background: transparent;
}

#page-section-6 .container {
  padding: 0;
  max-width: 1920px;
}

#page-section-6 #features-1.row { /* WHY?!?! */
  margin: 0;
}

#page-section-6 .home-boxes {
  width: 16.666667%;
  height: auto;
  margin: 0;
  float: left;
  -webkit-background-size: cover !important;
     -moz-background-size: cover !important;
       -o-background-size: cover !important;
          background-size: cover !important;
  background-repeat: no-repeat !important;
}

#page-section-6 .home-boxes .box-contain {
  margin: 0;
  z-index: 1;
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  float: left;
  height: 0;
  -moz-transition: all .4s ease-in;
  -webkit-transition: all .4s ease-in;
  -o-transition: all .4s ease-in;
  transition: all .4s ease-in;
}

#page-section-6 .home-boxes .box-contain:hover {
  background: rgba(255, 255, 255, 0.8);
}

#page-section-6 .home-boxes .gradient {
  opacity: 0;
  -moz-transition: all .6s ease-in;
  -webkit-transition: all .6s ease-in;
  -o-transition: all .6s ease-in;
  transition: all .6s ease-in;
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding: 0 10px;
  text-align: center;
  position: absolute;
  height: 0;
  width: 100%;
  padding-bottom: 60%;
}

#page-section-6 .home-boxes a {
  text-decoration: none;
  margin: 0;
}

#page-section-6 .home-boxes .gradient h3 {
  color: #253646;
  font-weight: 500;
  font-size: 24px;
}

#page-section-6 .home-boxes .box-contain:hover .gradient {
  opacity: 1;
}

#page-section-6 .home-boxes .gradient .feature-content {
  margin: 0;
}

/* Page Section 7 */

#page-section-7 {
  background: #efeeec;
}

#page-section-7 #block-block-29 {
  width: -webkit-calc(100% - 400px);
  width: -moz-calc(100% - 400px);
  width: calc(100% - 400px);
  float: left;
  padding-right: 10%;
}

#page-section-7 #block-block-29 h2 {
  font-size: 36px;
  margin-top: 0;
}

#page-section-7 #block-block-29 p {
  font-size: 18px;
  letter-spacing: 0.3px;
  line-height: 24px;
  color: #333;
  font-weight: 500;
}

#page-section-7 #block-block-55 {
  width: 400px;
  float: left;
  border: 0px solid #ad9d7e;
  box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px;
}

#page-section-7 #block-block-55 ul.r-tabs-nav li {
  text-align: center;
  display: inline-block;
  width: 33.33333%;
  float: left;
  background: #091533;
  border: 1px solid #efeeec;
}

#page-section-7 #block-block-55 ul.r-tabs-nav li.r-tabs-state-active {
  background: #ad9c7e;
}

#page-section-7 #block-block-55 ul.r-tabs-nav li a {
  display: inline-block;
  width: 100%;
  padding: 10px;
}

#page-section-7 #block-block-55 p {
  margin: 0;
}

#page-section-7 #block-block-55 h3 {
  background: #fff;
  display: block;
  padding: 15px 10px;
  text-align: center;
  color: #091636;
  text-transform: uppercase;
  font-size: 17px;
}

#page-section-7 #block-block-55 h3 a {
  color: #091636;
  text-decoration: none;
  font-size: 19.5px;
}

.r-tabs .r-tabs-panel {
  padding: 0px 1px !important;
}

/* Footer */

footer {
  width: 100%;
  max-width: 1920px;
  background: #fff;
  position: relative;
}

footer:before {
  content: url(/sites/default/files/castle-blue.png);
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 123px;
  top: -67px;
}

footer > .container {
  background: #fff;
  max-width: 1200px;
  padding-bottom: 20px;
}

footer .region-footer {
  max-width: 1920px;
}

footer .footer-col {
  width: 25%;
  float: left;
  padding-right: 20px;
}

footer .footer-col.last img {
  width: 100%;
  max-width: 22px;
}

footer .footer-col.last a {
  margin-right: 10px;
}

footer h4 {
  font-weight: 100;
  font-size: 24px;
  margin-bottom: 15px;
}

footer h4 a {
  text-decoration: none;
  color: #333;
}

footer li {
  margin-bottom: 5px;
  color: #333;
}

.footer-col.last li {
  margin-bottom: 10px;
}

footer li a {
  text-decoration: none;
  color: #333;
}

footer .footer-full {
  width: 100%;
  float: left;
  text-align: left;
  margin-top: 30px;
}

footer .footer-full p {
  font-size: 12px;
}

footer .footer-full p a {
  color: #999;
}

@media (max-width: 1550px) {
  .tb-megamenu {
    max-width: 100% !important;
  }

  .tb-megamenu .nav > li > a {
    font-size: 16px;
  }
}

@media (max-width: 1200px) {
  #page-section-countdown #block-block-50 {
    width: 40%;
  }

  #page-section-countdown #block-countdown-event-countdown-event {
    width: 60%;
  }

  .countdownDigitBk {
    font-size: 50px;
  }

  .countdownDisplay {
    font-size: 20px;
  }

  #page-section-countdown #block-countdown-event-countdown-event h3 {
    font-size: 34px;
  }

  #page-section-1 .top-cta h3 {
    font-size: 22px;
  }
}

@media (max-width: 1023px) {
  .aveta-logo {
    float: left;
  }

  #headerleft {
    top: 25px;
    right: 230px;
  }

  #headerleft img {
    float: right;
  }

  .header-inner.shrink .aveta-logo img {
    margin-left: 5px;
  }

  .header-inner.shrink #headerleft img {
    max-width: 0 !important;
    float: right;
  }

  #page-section-countdown #block-block-50 {
    width: 100%;
    float: none;
    text-align: center;
  }

  #page-section-countdown #block-countdown-event-countdown-event {
    width: 100%;
    float: none;
    padding-top: 0;
    margin: 0 auto;
    text-align: center;
  }

  #page-section-countdown #block-countdown-event-countdown-event #clock_holder {
    text-align: center;
  }

  #page-section-countdown #block-block-50 h3 span {
    float: none;
  }

  #page-section-countdown {
    padding: 55px 0 85px;
    background-position: 150px bottom;
  }
}

@media (max-width: 1024px) {
  #page-section-6 .home-boxes {
    width: 25%;
  }
}

@media (max-width: 1000px) {
  header .container {
    background: url(../../images/header-bg.jpg) repeat-x #081532;
    padding: 0px;
    max-width: 100%;
  }

  .aveta-logo {
    width: 340px;
    float: left;
    margin-left: 0;
  }

  #headerleft {
    width: 282px;
    position: absolute;
    margin-left: 0;
  }

  #headerright .searchbox {
    margin-top: 65px;
  }
}

@media (max-width: 979px) {
  header {
    position: fixed !important;
  }

  .tb-megamenu .btn-navbar {
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
    background: #efeeec;
    color: #091636;
    font-family: eb garamond,serif;
    text-shadow: none;
    font-style: italic;
    font-size: 20px !important;
    width: 100%;
  }

  #navigation {
    width: 100% !important;
    margin-bottom: 0px;
  }

  .tb-megamenu .nav-collapse .nav {
    border: 0 !important;
    background: #ad9d7e;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…IgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -moz-linear-gradient(45deg, #ad9d7e 0%, #c6ae81 100%);
    background: -webkit-linear-gradient(45deg, #ad9d7e 0%, #c6ae81 100%);
    background: -o-linear-gradient(45deg, #ad9d7e 0%, #c6ae81 100%);
    background: linear-gradient(45deg, #ad9d7e 0%, #c6ae81 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ad9d7e', endColorstr='#c6ae81',GradientType=1 );
  }

  .tb-megamenu .nav-collapse .nav > li > a.dropdown-toggle {
    border: none !important;
    color: #fff !important;
  }

  .tb-megamenu .nav-collapse .nav > li > a, .tb-megamenu .nav-collapse .dropdown-menu a {
    border: 0 !important;
    color: #fff !important;
  }

  .tb-megamenu .nav-collapse .dropdown-menu li + li a {
    color: #091636 !important;
  }

  .tb-megamenu .nav li.dropdown.open > .dropdown-toggle {
    background-color: transparent;
  }

  .mega-nav .mega-group > .mega-group-title, .tb-megamenu .dropdown-menu .mega-nav .mega-group > .mega-group-title, .tb-megamenu .dropdown-menu .active .mega-nav .mega-group > .mega-group-title {
    color: #091636 !important;
  }

  .tb-megamenu .mega-nav > li:first-child > a, .tb-megamenu .dropdown-menu .mega-nav > li:first-child > a {
    color: #091636 !important;
    background: transparent;
  }

  .tb-megamenu .nav-collapse {
    top: 0;
    width: 100%;
  }

  .tb-megamenu .nav li.dropdown.active > .dropdown-toggle,
  .tb-megamenu .nav li.dropdown.open.active > .dropdown-toggle,
  .tb-megamenu .nav > li.dropdown.open.active > a:hover {
    background-color: transparent !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 30px;
  }

  #page-section-1 {
    display: block;
  }

  #page-section-1 .container img {
    max-width: 34px;
  }

  #page-section-3 .view-homepage-feed .view-content {
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
  }

  #page-section-5 {
    padding-bottom: 20px;
  }

  #page-section-5 #block-block-28 {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  #page-section-5 #block-block-31 {
    display: none;
  }

  #page-section-7 {
    padding: 0 0 75px 0;
  }

  #page-section-7 #block-block-29 {
    width: 100%;
    padding: 0;
  }

  #page-section-7 #block-block-55 {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 30px;
    float: none;
    clear: both;
  }

  footer > .container {
    padding: 30px !important;
  }

  #page-section-1 {
    padding: 30px 0;
  }

  #page-section-1 a {
    top: -10px;
  }

  #page-section-1 h3 a {
    bottom: -15px;
  }
}

@media (min-width: 768px) {
  .row {
    margin: 0;
  }
}

@media (max-width: 767px) {

  #headerleft { display: none;}

  #page-section-1 {
    display: block;
    padding-bottom: 0;
  }

  #page-section-1 .top-cta {
    width: 50%;
    border: 0;
    height: auto;
    padding-bottom: 2%;
  }

  #page-section-1 a {
    position: static;
  }

  #page-section-1 h3 a {
    bottom: -30px;
    position: static;
  }

  #page-section-1 .top-cta:hover img {
    max-width: 34px;
  }

  #page-section-1 .top-cta:last-child {
    width: 100%;
  }

  header {
    position: static !important;
  }

  #section-slider {
    margin: 0px auto 0px;
  }

  #page-section-6 .home-boxes {
    width: 33.33333%;
  }

  .header-inner.shrink #headerright {
    margin: 30px 2% 0px 0px;
  }

  .header-inner.shrink .aveta-logo {
    width: 340px;
  }

  .header-inner.shrink .aveta-logo img {
    width: 280px;
    margin-left: 0px;
  }

  .header-inner.shrink #headerleft img {
    max-width: 210px !important;
  }

  .header-inner.shrink #headerright .searchbox {
    margin-top: 65px;
  }

  .header-inner.shrink #headerleft #block-block-11 {
    margin-top: 0;
  }

  .alert {
    font-size: 16px !important;
  }

  #page-section-3 {
    height: 820px;
    
  }

  #page-section-3 .view-homepage-feature-boxes .view-content {
    -webkit-column-count: 1;
    -moz-column-count: 1;
         column-count: 1;
  }

  #page-section-3 .view-homepage-feature-boxes .view-content .views-row {
    width: -webkit-calc(50% - 20px);
    width: -moz-calc(50% - 20px);
    width: calc(50% - 20px);
    margin: 0 10px 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;a
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center
  }

  #page-section-3 .view-homepage-feature-boxes .views-field.views-field-nothing {
    height: 100%;
  }

  #page-section-3 .view-homepage-feature-boxes .field-content {
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  #page-section-3 .homepage-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
    -webkit-align-content: center;
        -ms-flex-line-pack: center;
            align-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 100%;
  }

  #page-section-3 .homepage-box a {
    margin-bottom: auto;
    padding-bottom: 10px;
  }

  /*#page-section-3 .view-homepage-feature-boxes .view-content .views-row:nth-child(n+5) {
    display: none;
  }*/

/*  #page-section-4 {
    display: none;
  }*/

  #page-section-5 {
    padding: 20px 0;
  }

  footer .footer-col {
    width: 50%;
    float: left;
    margin-bottom: 20px;
  }

  footer .footer-col:nth-child(3) {
    clear: both;
  }

  .countdownDigitBk {
    font-size: 35px;
  }
}

@media (max-width: 650px) {
  #headerright {
    margin: 30px 2% 0px 0px;
    height: auto;
  }

  #headerleft {
    width: 162px;
    margin-right: 15px;
  }

  .aveta-logo {
    width: 240px;
  }

  .aveta-logo img {
    width: 210px;
  }
}

@media (max-width: 560px) {

  .container {
    padding: 0 15px;
  }

  .searchbox, #headerleft {
    display: none;
  }

  #headerright {
    margin: 0;
  }

  .aveta-logo {
    width: 240px;
    float: none;
    margin: 0 auto;
  }

  #section-slider {
    margin: 0px auto 0px;
  }

  #page-section-6 .home-boxes {
    width: 50%;
  }

  #page-section-3 .view-homepage-feed .view-content {
    -webkit-column-count: 1;
       -moz-column-count: 1;
            column-count: 1;
  }

  footer .footer-col {
    width: 50%;
    float: left;
    margin-bottom: 10px;
    padding-right: 10px;
  }

  footer .footer-col {
    width: 100%;
    text-align: center;
  }

  footer h4 {
    padding-bottom: 0;
  }

  .footer-col ul {
    display: none;
  }

  .footer-col:hover ul {
    display: block;
  }

  .countdownDigitBk {
    top: 6px;
    font-size: 25px;
  }

  #page-section-countdown #block-countdown-event-countdown-event {
    display: none;
  }

  #page-section-countdown {
    padding: 30px 0 20px;
  }

  .countdownDisplay {
    font-size: 16px;
    padding: 5px 0 5px 0px;
  }
}

@media (max-width: 641px) {
  body {
    min-width: unset;
  }
}

@media (max-width: 500px) {
  #page-section-mobile {
    display: block;
    width: 100%;
    float: left;
    padding: 0;
  }

  #page-section-1 .top-cta {
    width: 100%;
    padding-bottom: 5%;
  }

  #page-section-mobile img {
    width: 100%;
    height: auto;
    float: left;
  }

/*  #section-slider {
    display: none;
  }*/

  #page-section-1 {
    padding-top: 20px;
  }

  #page-section-1,
  #page-section-2 {
    width: 100%;
    float: left;
    height: auto !important;
  }

  .header-inner.shrink .aveta-logo {
    width: 260px;
  }

  #page-section-1 h3 a {
    bottom: -42px;
  }

  #page-section-3 {
      height: 670px;
  }
}

@media (max-width: 425px) {

  #page-section-7 #block-block-55 h3 {
    font-size: 17px;
    line-height: 1;
  }

  #page-section-7 #block-block-55 h3 a {
    font-size: 14.3px;
    margin-top: 10px;
    display: block;
  }

  #page-section-3 .homepage-box a {
    font-size: 15px;
    line-height: 1;
  }

  #page-section-3 .homepage-box a.home-button {
    padding: 7px 20px 7px 10px;
    font-size: 15px;
  }

  #page-section-3 .view-homepage-feature-boxes .view-content .views-row {
    padding: 10px;
  }

  #page-section-3 {
      height: 570px;
  }

}
@media (max-width: 400px) {
  #page-section-countdown #block-block-50 h3 {
    font-size: 36px;
  }

  #page-section-countdown #block-block-50 h2 {
    font-size: 50px;
  }

  #page-section-countdown #block-block-50 h2 span {
    font-size: 46px;
  }

  #page-section-countdown #block-block-50 h3 span {
    font-size: 42px;
  }
}
@media (max-width: 320px) {

  #page-section-4 {
    display: none;
  }

  #page-section-3 {
    height: auto;
    padding: 10px 10px 0;
  }

  #page-section-3 .view-homepage-feature-boxes .view-content .views-row {
    width: 100%;
    margin: 0 0 20px;
  }

}


/**** Heroes at Highclere Higlights 2018 ***/

.page-node-242 #sidebar,
.page-node-242 #page-header .breadcrumb,
.page-node-242 h1 {
  display: none;
}

.page-node-242 #main-content {
  width: 100% !important;
  margin-bottom: 30px;
}

/**** Heroes at Highclere gallery ***/
#block-views-heroes-2018-gallery-block {
  width: 100%;
  float: left;
}


#block-views-heroes-2018-gallery-block .views-row {
    width: -webkit-calc(20% - 20px);
    width: -moz-calc(20% - 20px);
    width: calc(20% - 20px);
    margin-right: 20px;
    float: left;
    margin-bottom: 20px;
}

#block-views-heroes-2018-gallery-block .views-row img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1023px) {
  #block-views-heroes-2018-gallery-block .views-row {
    width: -webkit-calc(25% - 20px);
    width: -moz-calc(25% - 20px);
    width: calc(25% - 20px);
  }
}

@media screen and (max-width: 767px) {
  #block-views-heroes-2018-gallery-block .views-row {
    width: -webkit-calc(33.33333% - 20px);
    width: -moz-calc(33.33333% - 20px);
    width: calc(33.33333% - 20px);
  }
}

@media screen and (max-width: 500px) {
  #block-views-heroes-2018-gallery-block .views-row {
    width: -webkit-calc(50% - 20px);
    width: -moz-calc(50% - 20px);
    width: calc(50% - 20px);
  }
}

/**** Contact Form 2018 ***/

.page-contact .heading {
  padding-bottom: 10px;
}

#block-webform-client-block-274 {
  background: #e6e6e6;
  padding: 20px;
  float: left;
  width: 100%;
}

#block-webform-client-block-274 h3 {
  display: none;
}

#block-webform-client-block-274 label {
  color: #000;
  width: 100%;
  float: left;
}

#block-webform-client-block-274 .webform-component-textarea {
  width: 100%;
  float: left;
  margin-bottom: 20px;
}

#block-webform-client-block-274 .webform-component input,
#block-webform-client-block-274 textarea {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
  border: 1px solid #cacaca;
  width: 100%;
  float: left;
}

#block-webform-client-block-274 input.form-checkbox {
  float: left;
  width: 14px; 
  margin-top: 5px;
}

#block-webform-client-block-274 label.option {
  display: none;
}

#block-webform-client-block-274 .webform-component--marketing-info-tick,
#block-webform-client-block-274 .webform-component--privacy-tick {
  width: 100%;
  float: left;
  margin-bottom: 10px;
}

#block-webform-client-block-274 .webform-component--marketing-info-tick label,
#block-webform-client-block-274 .webform-component--privacy-tick label {
  float: right;
  width: -webkit-calc(100% - 14px);
  width: -moz-calc(100% - 14px);
  width: calc(100% - 14px);
  padding-left: 15px;
  margin-bottom: 0;
  font-size: 14px !important;
  padding: 0 0 0 10px;
  margin: 0;
}

#block-webform-client-block-274 .form-actions {
    width: 100%;
    float: left;
}

#block-webform-client-block-274 input.form-submit {
  float: left;
  background: #ad9d7e;
  border: 0px;
  text-transform: uppercase;
  font-size: 16px !important;
  font-weight: 400;
  padding: 10px 18px !important;
}

/***** full width page layout *******/

body.bg-1.node-type-full-width-page {
  background: #fff;
}

.node-type-full-width-page h1 {
  margin-top: 0;
}

.node-type-full-width-page .page-section {
  max-width: 1920px;
}

.node-type-full-width-page #page-header {
    background: #fff;
    margin: 100px 0 auto;
    float: left;
    width: 100%;
    max-width: unset;
}

.node-type-full-width-page #page-header #top-banner-image {
  padding: 0;
}

.node-type-full-width-page #page-content {
  width: 100%;
  float: left;
  margin: -5% auto 0;
  background: transparent;
}

.node-type-full-width-page #page-content .container {
  padding: 15px 30px 0;
  background: #fff;
}

.node-type-full-width-page footer {
  float: none;
  margin: 90px auto 0;
}

.node-type-full-width-page .breadcrumb {
  background: transparent;
  padding: 8px 0;
  margin: 0 0 15px 0 !important;
}

.node-type-full-width-page #main-content.col-lg-8 {
  padding-left: 0;
  width: calc( 100% - 390px);
}

.node-type-full-width-page #main-content.col-lg-8 p {
  margin-bottom: 20px;
  font-weight: 300;
  font-size: 18px;
  line-height: 24px;
}

.node-type-full-width-page #main-content.col-lg-8 h2 {
  font-size: 24px;
  line-height: 26px;
  margin: 20px 0px 20px 0px;
  color: #333230;
}

.node-type-full-width-page #main-content.col-lg-8 h3 {
  margin-top: 30px;
}

.node-type-full-width-page #sidebar {
  background: #fff;
  padding: 0;
  width: 352px;
  float: right;
}

.node-type-full-width-page #sidebar .sidebar-bg .widget {
  padding: 0;
  border: 0;
}

.node-type-full-width-page #sidebar #block-block-51 {
  text-align: center;
}

.node-type-full-width-page .tour-header {
  background: #efeeec;
  padding: 18px 0;
}

.node-type-full-width-page .tour-header h3 {
  color: #333230;
  text-transform: uppercase;
  padding: 0;
  font-size: 24px;
}

.node-type-full-width-page .tour-header img {
  width: 26px;
  height: auto;
  margin-bottom: 5px;
}

.node-type-full-width-page .tour-body {
  padding: 20px;
  border: 1px solid #efeeec;
  border-top: 0;
}

.node-type-full-width-page #sidebar .sidebar-bg .tour-body p {
    margin-bottom: 10px;
    line-height: 26px;
    font-size: 17px;
}

.node-type-full-width-page #page-section-3 {
  padding: 30px 0 30px;
  background: #efeeec;
  height: auto;
}

.node-type-full-width-page #page-section-3 h3 {
  background: transparent;
  color: #333230;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: 10px;
}

.node-type-full-width-page .breadcrumb>.active {
    color: #d5d0d6;
}

@media (max-width: 978px) {

  .node-type-full-width-page #page-content {
    margin: -50px auto 0;
  }

  .node-type-full-width-page #page-content .container {
    max-width: 945px;
  }
}

@media (max-width: 768px) {
  .node-type-full-width-page #main-content.col-lg-8 {
      width: calc( 100% - 270px);
  }

  .node-type-full-width-page #sidebar {
    width: 230px;
  }
}

@media (max-width: 767px) {

  .node-type-full-width-page #main-content.col-lg-8,
  .node-type-full-width-page #sidebar {
    width: 100%;
    float: left;
  }

  .node-type-full-width-page #page-content .container {
    padding: 0px 15px 0;
  }

  .node-type-full-width-page #page-header {
    margin-top: 0;
  }
}

@media (max-width: 500px) {

  .node-type-full-width-page #page-content {
      margin: 0px auto 0;
  }

  .node-type-full-width-page #page-header {
    display: none;
  }

  .node-type-full-width-page footer {
    float: left;
  }
}

#ccc[dark] a, #ccc[dark] h2, #ccc[dark] h3, #ccc[dark] p, #ccc[dark] span {
  font-weight: 100 !important;
      font-family: 'Source Sans Pro', sans-serif !important
}

#ccc[dark] h2, #ccc[dark] h3 {
  font-size: 22px !important;
  font-weight: 400 !important;
  padding-bottom: 0 !important;
}

#ccc-title {
  font-size: 22px !important;
  line-height: 22px !important;
  margin: 0 0 30px 0 !important;
}

#ccc p {
  font-size: 14px !important;
  line-height: 17px !important;
}

#ccc h3 {
  font-size: 18px !important;
}

a#ccc-info-link {
    float: right;
}

#ccc[dark] #ccc-icon {
  margin: 0 !important;
}

#sidebar #openingtimes {
    background: #fff;
    padding: 95px 27px 20px;
    background: url(/sites/default/files/castle-letterbox.jpg) no-repeat center 10px #fff;
    text-align: center;
}

#sidebar #openingtimes h2 {
    margin: 0 0 9px 0;
    padding: 0;
    line-height: 1;
    border-bottom: 1px dotted #cecece;
    padding-bottom: 15px;
}

#sidebar #openingtimes h2 a {
  font-size: 22px;
  text-decoration: none;
  color: #091636;
}

.view-news.view-display-id-block_2 .views-row {
  width: 100%;
  float: left;
  margin: 0 0 20px;
}

.tb-megamenu .mega>.mega-dropdown-menu {
    min-width: 300px;
}

@media screen and (max-width: 1480px) {
  .tb-megamenu .nav>li>a {
    font-size: 17px;
  }
}

@media screen and (max-width: 1450px) {

  .tb-megamenu {
    max-width: 1325px !important;
    width: 100%;
  }

  

  .tb-megamenu .nav > li > a {
    font-size: 16px;
    padding: 12px 9px 8px !important;
  }
}

@media screen and (max-width: 1450px) {

  .tb-megamenu {
    height: auto;
  }

.tb-megamenu .nav {
    margin: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
       -moz-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .tb-megamenu .nav>li {
    height: auto;
  }

  #navigation {
    border: 0;
  }
}

@media screen and (max-width: 979px) {

  .tb-megamenu .nav {
    display: block;
  }

  .tb-megamenu {
    height: 40px;
  }
}

@media screen and (max-width: 500px) {

  #page-section-2 #block-block-26 a {
    margin: 0 10px;
  }

  #page-section-2 #block-block-26 a img {
      width: 100%;
      max-width: 22px;
  }
}

/***** COMPETITION 2020 *****/

.page-node-360 h1 span {
  color: #e73452;
}

.page-node-360 #page-content a,
.page-node-362 #page-content a {
  color: #e73452;
}

.page-node-360 .field-name-body h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  padding: 0;
  margin: 0px 0px 20px 0px;

}

.page-node-360 .comp-info {
    width: -webkit-calc(100% - 400px);
    width: -moz-calc(100% - 400px);
    width: calc(100% - 400px);
    float: left;
    padding-right: 50px;
    margin: 0 0 30px;
}

.page-node-360 .comp-form {
    width: 400px;
    float: left;
    margin: 0 0 60px;
    background: #f7f7f7;
    padding: 28px;
}

.charityLogos {
  width: 100%;
  float: left;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
     -moz-box-orient: horizontal;
     -moz-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-around;
      -ms-flex-pack: distribute;
          justify-content: space-around;
}

.charityLogos img {
  width: 33.333%;
  max-width: 175px;
  height: auto;
  margin: 0 5px;
}

.page-node-360 .form-item.webform-component {
  width: 100%;
  float: left;
  margin: 0 0 4px;
}

.page-node-360 .element-invisible {
  display: none;
}

.page-node-360 .form-item h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.1;
  color: #091636;
}

.page-node-360 .webform-component label,
.page-node-360 .webform-component input {
    width: 100%;
    float: left;
}

.page-node-360 .webform-component label {
  margin: 0 0 5px;
}

.page-node-360 .webform-component label strong {
  width: 100%;
  float: left;
  color: #091636;
}

.page-node-360 .webform-component input {
  border: 1px solid #091636;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.page-node-360 .form-type-radio,
.page-node-360 .form-type-checkbox {
  width: 100%;
  float: left;
  margin: 0 0 10px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
     -moz-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.page-node-360 .webform-component-radios input,
.page-node-360 .webform-component-checkboxes input {
  width: 20px;
  float: left;
  margin: 0 10px 0 0;

}

.page-node-360 .webform-component-radios label.option, 
.page-node-360 .webform-component-checkboxes label.option {
  width: -webkit-calc(100% - 30px);
  width: -moz-calc(100% - 30px);
  width: calc(100% - 30px);
  float: left;
  display: block;
  margin: 0;
  padding: 0;
  clear: none;
}

.page-node-360 .webform-client-form input.form-submit {
    margin: 0 2% 0 0;
    float: left;
    font-size: 20px !important;
    background: #e73452;
    border: 0;
}

.comp-tabs {
  width: 100%;
  float: left;
  margin: 0 0 50px;
}

ul.compTabs {
  margin: 0px !important;
  padding: 0px;
  list-style: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: space-evenly;
  -webkit-justify-content: space-evenly;
     -moz-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
}

ul.compTabs li{
  width: 50%;
  text-align: center;
  background: #f7f7f7;
  color: #222;
  display: inline-block;
  padding: 18px 15px;
  cursor: pointer;
  font-size: 22px;
  -webkit-transition: 0.2s ease;
  -o-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  transition: 0.2s ease;
}

ul.compTabs li:hover,
ul.compTabs li.current{
  background: #091636;
  color: #fff;
}

.tab-content {
  display: none;
  background: #ffffff;
  padding: 45px 30px 30px;
  border: 2px solid #091636;
}

.tab-content img {
  float: right;
  width: 100%;
  max-width: 250px;
  margin: 0 0 20px 20px;
}

.tab-content h2 {
  margin: 0 0 20px 0;
  padding: 0;
}

.tab-content ol li {
  width: auto !important;
}

.tab-content.current{
  display: inherit;
}


.charityAbout {
  width: 100%;
  float: left;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.charity {
  width: 100%;
  float: left;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
     -moz-box-orient: horizontal;
     -moz-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 0 40px;
}

.charity > p {
  display: block;
  width: 300px;
  margin: 0;
  text-align: center;
}

.charity > p img {
  width: 100%;
  height: auto;
  max-width: 200px;
}

.charity .text {
  width: -webkit-calc(100% - 300px);
  width: -moz-calc(100% - 300px);
  width: calc(100% - 300px);
  padding-left: 40px;
}

h2.mobileTitle.showTs {
  display: none;
}

@media (max-width: 1200px) and (min-width: 979px) {
.page-node-360 .page-section, .page-node-360 #footer-bottom, .page-node-360 #page-content, .page-node-360 header,
.page-node-362 .page-section, .page-node-362 #footer-bottom, .page-node-362 #page-content, .page-node-362 header {
    width: 100%;
    max-width: 1170px;
}

.page-node-360 #page-content .container,
.page-node-362 #page-content .container {
    max-width: unset !important;
  }

}


@media (max-width: 1023px) {
  .page-node-360 .comp-form {
    width: 270px;
    padding: 20px;
  }

  .page-node-360 .comp-info {
    width: -webkit-calc(100% - 270px);
    width: -moz-calc(100% - 270px);
    width: calc(100% - 270px);
    padding-right: 20px;
  }

  .charity > p {
    width: 180px;
  }

  .charity .text {
    width: -webkit-calc(100% - 180px);
    width: -moz-calc(100% - 180px);
    width: calc(100% - 180px);
    padding-left: 20px;
  }
}


@media (max-width: 979px) {

.page-node-360 #page-header {
    margin-top: 220px;
}

}

@media (max-width: 978px) {
.page-node-360 .page-section, .page-node-360 #footer-bottom, .page-node-360 #page-content, .page-node-360 header,
.page-node-362 .page-section, .page-node-362 #footer-bottom, .page-node-362 #page-content, .page-node-362 header {
    width: 100%;
    max-width: 1170px;
}

.page-node-360 #page-content .container,
.page-node-362 #page-content .container {
    max-width: unset !important;
  }

  #page-section-3 .container {
    max-width: 100%;
  }

}

@media (max-width: 768px) {
  .page-node-360 .comp-info {
    width: 100%;
  }

  .page-node-360 .comp-form {
    width: 100%;
  }

  #page-section-3 .container {
    padding: 0;
  }
}


@media (max-width: 767px) {

  .charity {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .charity .text {
    width: 100%;
    padding: 0;
  }

  .charity > p {
    width: 100%;
    max-width: 350px;
    margin: 0 0 30px;
    text-align: center;
  }

  .page-node-360 #page-header {
    margin-top: 0px;
  } 
}

@media (max-width: 600px) {

  h2.mobileTitle.showTs {
    display: block;
  }

  .tab-content img {
    max-width: 100%;
    margin: 0 0 20px 0px;
  }

  .tab-content {
    padding: 0;
    margin: 0 0 20px;
    border: 0;
  }

  ul.compTabs {
    display: none;
  }

  .tab-content {
    display: block !important;
  }

  div#tab-2 {
    display: none !important;
  }

  div#tab-2.current {
    display: block !important;
  }

}

@media (max-width: 320px) {
  .charityLogos img {
    width: 100%;
    max-width: 150px;
    margin: 0 0 21px 0;
  }
}

.captcha {
    width: 100%;
    float: left;
}

a.header--login {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #091636;
  border: 2px solid #ad9d7e;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px;
  font-size: 20px;
  letter-spacing: 2px;
  max-width: 200px;
  font-family: eb garamond,serif;
  float: right;
  transition: 0.3s ease all;
}

a.header--login:hover {
    background: #ad9d7e;
}

@media (max-width: 560px) {

  a.header--login {
    display: none;
  }

}

ul.header-socials {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  margin: 0 0 20px;
  transition: 0.5s ease all;
  height: 25px;
  opacity: 1;
}

ul.header-socials li {
  margin-right: 10px;
  transform: translateY(0);
  transition: 0.3s ease all;
}

ul.header-socials li:hover {
  transform: translateY(-3px);
}


#headerleft ul.header-socials img {
  max-width: 24px !important;
}

.header-inner.shrink ul.header-socials {
  overflow: hidden;
  height: 0;
  opacity: 0;
  margin: 0;
}

@media screen and (max-width: 1023px) {
  ul.header-socials {
    justify-content: flex-end;
  }
}

.page-node-417 #sidebar {
  display: none;
}

.page-node-417 .col-lg-8 {
  width: 100% !important;
}

.lady-c-books {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    justify-content: space-between;
}

.book-card {
    width: calc(50% - 20px);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px;
    margin: 0 0 40px;
    padding: 20px;
}

.book-card__thumb {
  width: 150px;
}

.book-card__text {
  width: calc(100% - 150px);
  padding-left: 20px;
}

.book-card__text h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1;
  padding: 0;
}

.book-card__text p {
  font-size: 15px !important;
  line-height: 1.1 !important;
}

.book-card__text a {
  display: block;
  text-align: center;
  background: #ad9d7e;
  border: 2px solid #ad9d7e;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  padding: 5px 7px;
  font-size: 17px;
  letter-spacing: 1px;
  font-family: eb garamond,serif;
  transition: .3s ease all;
  float: left;
  width: auto;
  margin: 0 10px 10px 0px;
}

@media screen and (max-width: 1199px) {
  .page-node-417 #page-content {
    width: 100% !important;
    margin: 0 auto !important;
    max-width: 1170px;
  }

  .page-node-417 .container {
    max-width: 100% !important;
  }
}

@media screen and (max-width: 1023px) {
  .book-card {
    width: calc(50% - 10px);
    padding: 10px;
  }

  .book-card__thumb {
    width: 100px;
  }

  .book-card__text {
    width: calc(100% - 100px);
  }

}

@media screen and (max-width: 767px) {

  .nivo-controlNav {
    display: none;
  }
  .lady-c-books {
    flex-direction: column;
  }

  .book-card {
    width: 100%;
    padding: 20px;
    margin: 0 0 30px;
  }
}

@media screen and (max-width: 374px) {

  .book-card {
    flex-direction: column;
    padding: 15px;
  }

  .book-card__thumb {
    width: 100%;
    margin: 0 0 20px;
    text-align: center;
  }

  .book-card__text {
    width: 100%;
    padding: 0;
  }

}