@import '//fonts.googleapis.com/css?family=Alegreya+Sans+SC:300,300i,400,400i,500,500i,600,600i,700,700i';
@font-face {
    font-family: 'sf_ui_textlight';
    src: url('../fonts/sf-ui-text-light-webfont.eot');
    src: url('../fonts/sf-ui-text-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sf-ui-text-light-webfont.woff2') format('woff2'),
         url('../fonts/sf-ui-text-light-webfont.woff') format('woff'),
         url('../fonts/sf-ui-text-light-webfont.ttf') format('truetype'),
         url('../fonts/sf-ui-text-light-webfont.svg#sf_ui_textlight') format('svg');
    font-weight: normal;
    font-style: normal;
}

body { font-family: 'sf_ui_textlight', sans-serif; }

#site-main {
  height: 100vh;
}

#site-footer {
  /*background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkOQMAANoA0gIYEGUAAAAASUVORK5CYII=);*/
  background: rgba(0,0,0,0.85);
  padding: 19px 25px 25px 25px;
}

#site-footer .footer-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

#site-footer .logo {
  display: inline-block;
  min-width: 130px;
}

#site-footer .logo img {
  max-width: 130px;
}

#site-footer #primary {
  display: inline-block !important;
  margin: 0;
  flex: 1 1 0px;
}

#site-footer #primary-nav {
  display: inline-block !important;
  vertical-align: bottom;
  margin-left: 2.7em;
}

#site-footer #primary .nav li {
  white-space: nowrap;
}
#site-footer #primary .nav li:last-child a,
#site-footer #primary .nav li:last-child a:hover {
  padding: 11px 16px;
  background-color: #fbf9f4;
  margin-left: 14px;
  color: #000;
  position: relative;
  top: 9px;
  font-weight: 500;
}
#site-footer #primary .nav li a {
  /*padding: 20px 9px 0;
  line-height: 0.5;
  font-size: 1.8rem;*/
  color: #fbf9f4;
	padding: 20px 9px 0;
    line-height: 0.5;
    font-size: 2rem;
    font-weight: 400;
}
#site-footer #primary .nav li.current-menu-item>a, 
#site-footer #primary .nav li.current-menu-ancestor>a {
    color: #caba8a;
}

#site-footer #primary .nav li .sub-menu {
  display: none !important;
}

#site-footer #primary .nav li ul li a {
  font-size: 15px;
}

#site-footer #primary .nav > li > a:hover,
#site-footer #primary .nav > li > a:focus,
#site-footer address.location a:hover,
#site-footer .social_list li.blog a:hover,
#site-footer #primary .nav li.current-menu-ancestor>a,
#site-footer #primary .nav li.current-menu-item>a {
  /*color: #5d5c58;*/
  font-style: normal;
  background: none;
}

#site-footer .social_contact {
  color: #fbf9f4;
  align-items: baseline;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -moz-box-wrap: nowrap;
  -webkit-box-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
  -ms-flexbox-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  margin: 22px 0 0 25px;
}

#site-footer address.location {
  font-size: 17px;
  font-family: 'Alegreya Sans SC', sans-serif;
  margin: 0;
  line-height: 0.6;
  white-space: nowrap;
  font-weight: 400;
}
#site-footer address.location a {
  display: inline-block;
  margin-left: 14px;
  font-size: 1.6rem;
}

#site-footer .social_list {
  align-items: baseline;
  margin-left: 14px;
}

#site-footer .social_list li {
  line-height: 15px;
  margin-left: 9px;
}

#site-footer .social_list li img {
  width: auto;
  height: 12px;
  margin: 0 1px;
}

#site-footer .social_list li:first-child {
  margin-right: 23px;
  display: none;
}

#site-footer .social_list li:last-child {
  margin-left: 15px;
  margin-right: 24px;
}

#site-footer .social_list li a {
  line-height: 10px;
  font-size: 21px;
  vertical-align: bottom;
}

#site-footer .social_list img.logo-icon {
  width: 100%;
  height: auto;
}

#site-footer .social_list li.blog a {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 20px;
  vertical-align: -1px;
  font-weight: 400;
}
.mean-container#site-footer .mean-bar a.meanmenu-reveal span {
    width: 23px;
    margin-top: 4px;
    height: 2px;
}
.inquiry-button {
  display: none;
  position: absolute;
  left: 160px;
  padding: 11px 16px;
  background-color: #fbf9f4;
  color: #000;
  top: 37px;
  font-weight: 500;
  font-size: 16px;
  font-family: 'Alegreya Sans SC', sans-serif;
  line-height: 0.5;
}

@media screen and (max-width: 1300px) {
  #site-footer .social_list { display: none; }
} 
@media screen and (max-width: 1100px) {
  #site-footer address.location {
    line-height: 18px;
    margin-right: 14px;
  }
  #site-footer address.location a {
    display: block;
    font-size: 14px;
  }
}
@media screen and (max-width: 980px) {
  .inquiry-button {
    display: block;
  }
}
@media screen and (max-width: 530px) {
  .inquiry-button {
    display: none;
  }
}
.content_wrap h1 {
  font-size: 20px;
  font-weight: 500;
}

.content_wrap p,
.content_wrap li {
  font-size: 15px;
  font-weight: 500;
  text-shadow: 0 0 0;
}

.func-title,
.spaces_details>li>h6,
.content_wrap h6 {
  font-size: 18px;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-weight: normal;
}

.spaces_details>li>h6 {
  text-decoration: underline;
  margin-bottom: 0;
}

.spaces_details>li .description {
  margin-bottom: 0;
  padding-left: 12px;
}

.contact .open_close_tab,
.ceremonies .open_close_tab,
.receptions .open_close_tab,
.small-weddings .open_close_tab,
.rehearsals-engagements .open_close_tab {
  display: none;
}

.open_close_tab {
  top: 0;
  bottom: auto !important;
}

.open_close_tab i {
  padding: 0;
}

.open_close_tab .toggle_close:before,
.open_close_tab .toggle_open:before {
  content: "";
  background: transparent url('/wp-content/themes/weylin/assets/images/resize.png');
  width: 21px;
  height: 21px;
  display: block;
}

.about-us .contents_sidebar #primary-nav .nav > li,
.history .contents_sidebar #primary-nav .nav > li,
.weylin .contents_sidebar #primary-nav .nav > li {
  display: none;
}

.about-us .contents_sidebar #primary-nav .nav > li.about-menu,
.history .contents_sidebar #primary-nav .nav > li.about-menu,
.weylin .contents_sidebar #primary-nav .nav > li.about-menu {
  display: block;
}

.about-us .contents_sidebar #primary-nav .about-menu > a,
.about-us .contents_sidebar #primary-nav .nav li.about-us-menu,
.history .contents_sidebar #primary-nav .about-menu > a,
.history .contents_sidebar #primary-nav .nav li.about-us-menu,
.weylin .contents_sidebar #primary-nav .about-menu > a,
.weylin .contents_sidebar #primary-nav .nav li.about-us-menu,
.architecture .contents_sidebar #primary-nav .about-menu > a,
.restoration .contents_sidebar #primary-nav .about-menu > a {
  display: none !important;
}

.spaces .contents_sidebar #primary-nav .nav > li,
.main-rotunda .contents_sidebar #primary-nav .nav > li,
.oculus-dome .contents_sidebar #primary-nav .nav > li,
.the-domes .contents_sidebar #primary-nav .nav > li,
.the-gallery .contents_sidebar #primary-nav .nav > li,
.page-id-2883 .contents_sidebar #primary-nav .nav > li,
.small-spaces .contents_sidebar #primary-nav .nav > li {
  display: none;
}

.spaces .contents_sidebar #primary-nav .nav > li.spaces-menu,
.main-rotunda .contents_sidebar #primary-nav .nav > li.spaces-menu,
.oculus-dome .contents_sidebar #primary-nav .nav > li.spaces-menu,
.the-domes .contents_sidebar #primary-nav .nav > li.spaces-menu,
.the-gallery .contents_sidebar #primary-nav .nav > li.spaces-menu,
.page-id-2883 .contents_sidebar #primary-nav .nav > li.spaces-menu,
.small-spaces .contents_sidebar #primary-nav .nav > li.spaces-menu {
  display: block;
}

.spaces .contents_sidebar #primary-nav .spaces-menu > a,
.main-rotunda .contents_sidebar #primary-nav .spaces-menu > a,
.oculus-dome .contents_sidebar #primary-nav .spaces-menu > a,
.the-domes .contents_sidebar #primary-nav .spaces-menu > a,
.the-gallery .contents_sidebar #primary-nav .spaces-menu > a,
.page-id-2883 .contents_sidebar #primary-nav .spaces-menu > a,
.small-spaces .contents_sidebar #primary-nav .spaces-menu > a {
  display: none !important;
}

.contents_sidebar {
  padding: 5.5em 3em 1em 3em;
  background: #fbf9f4;
  text-align: left;
}

.contents_sidebar #primary-nav {
  margin: 0;
  display: none !important;
}

.spaces .contents_sidebar #primary-nav,
.about-us .contents_sidebar #primary-nav,
.history .contents_sidebar #primary-nav,
.weylin .contents_sidebar #primary-nav,
.main-rotunda .contents_sidebar #primary-nav,
.oculus-dome .contents_sidebar #primary-nav,
.the-domes .contents_sidebar #primary-nav,
.the-gallery .contents_sidebar #primary-nav,
.page-id-2883 .contents_sidebar #primary-nav,
.small-spaces .contents_sidebar #primary-nav,
.architecture .contents_sidebar #primary-nav,
.restoration .contents_sidebar #primary-nav {
  display: block !important;
  height: auto !important;
}

.restoration #menu,
.architecture #menu {
  position: fixed;
  bottom: 85px;
  right: 0;
  background-color: #f2eee3;
  width: 250px;
  z-index: 9;
  padding: 15px 30px;
  box-shadow: 0 0 20px #cec6b0;
}

.restoration #menu ul li,
.architecture #menu ul li {
  border-bottom: 1px solid;
  padding: 6px 0;
}

.restoration #menu ul li a,
.architecture #menu ul li a {
  font-size: 20px;
  font-family: 'Alegreya Sans SC', sans-serif;
  line-height: 1;
  display: block;
}

.restoration #menu ul li:last-child,
.architecture #menu ul li:last-child {
  border: 0;
}

.restoration #menu ul li.current-menu-item a,
.architecture #menu ul li.current-menu-item a {
  font-weight: 400;
  font-style: italic;
  color: #caba8a;
}

.custom-fixed-menu {
  position: absolute;
  top: 60px;
  right: 30px;
  z-index: 999;
}

.custom-fixed-menu a {
  display: block;
  width: 30px;
  height: 22px;
  cursor: pointer;
}

.custom-fixed-menu a span {
  margin-top: 4px;
  height: 4px;
  display: block;
  background: #000;
}

.fixed-menu {
  display: none;
}

.restoration .page_main .wrapper, .architecture .page_main .wrapper {
  max-width: 100%;
}

.photo_list {
  transition: all 0.4s linear;
}

.restoration .photo_list li, .architecture .photo_list li {
  width: 25%;
  height: 19.7vw;
}

.restoration .photo_list.toggle_wide li, .architecture .photo_list.toggle_wide li {
  width: 25%;
}

.restoration h5, .architecture h5 {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 18px;
}
.restoration .restoration img.img-responsive {
  width: 100%;
}

.contents.jpibfi_container::-webkit-scrollbar,
.contents_sidebar .content_wrap::-webkit-scrollbar,
.restoration::-webkit-scrollbar,
.architecture::-webkit-scrollbar {
    display: none;
}
.contents_sidebar #primary-nav .nav li .sub-menu {
  display: block !important;
}

.contents_sidebar #primary-nav .nav li .sub-menu li {
  display: block;
  text-align: left;
  border-bottom: 1px solid;
}

.contents_sidebar #primary-nav .nav li .sub-menu li a {
  font-size: 20px;
  padding: 6px 0;
}

.contents_sidebar #primary-nav .nav li .sub-menu li a:hover {
  color: #caba8a;
}

.contents_sidebar #primary-nav .nav li .sub-menu li:last-child {
  border: 0;
}

.mean-container#site-footer .mean-bar .mean-nav {
  left: -115px;
  bottom: 62px;
}
.mean-container#site-footer .mean-bar a.meanmenu-reveal {
  font-size: 22px !important;
  font-weight: normal;
}

.page_overlay {
  background: rgba(248,244,233,0.97);
  background: #fbf9f4;
}

#events_page .event_wrapper,
.page-template-events_films-blade #events_page .event_wrapper,
#press_page .press_wrapper {
  max-width: 100%;
  padding: 0 80px;
}

.event_cats > li,
.page-template-events_films-blade .event_cats > li {
  width: 100%;
  padding: 0;
  height: auto;
  clear: both;
}

.event_cats h2,
h1.title,
h2.title {
  font-weight: 500;
  text-align: left;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 26px;
  letter-spacing: -1px;
  padding-bottom: 0;
  border-bottom: 1px solid #000;
  margin-bottom: 15px;
}

.event_posts {
  text-align: left;
  width: 100%;
  display: block;
}

.event_cats {
  display: block;
}

.event_cats .caption_tile {
  background-size: cover;
  padding: 0;
}

.event_posts li,
.page-template-events_films-blade .event_cats .event_posts li {
  width: 15.63%;
  padding: 0;
  float: left;
  vertical-align: top;
  margin-left: 1.2%;
  height: 132px;
  margin-bottom: 15px;
  margin-bottom: 1.2vw;
  overflow: hidden;
  align-items: center;
}
.page-template-events_films-blade .event_posts.film-and-shoots li.event_item {
    height: 10vw;
}
.page-template-events_films-blade .event_posts.film-and-shoots li.event_item img {
    height: auto !important;
    width: 100%;
}

.event_posts li a {
  height: 100%;
  width: 100%;
  position: relative;
  display: block;
}

.event_posts li a img {
  min-height: 100%;
  min-width: 100%;
}

.event_posts li:nth-child(6n+7),
.event_posts li:first-child,
.page-template-events_films-blade .event_cats .event_posts li:nth-child(6n+7),
.page-template-events_films-blade .event_cats .event_posts li:first-child {
  margin-left: 0;
}

.event_posts li .caption_tile h3,
.page-template-events_films-blade .event_cats .event_posts li div {
  background: rgba(0,0,0,0.6);
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  width: 100%;
  height: 100%;
  letter-spacing: 0.5px;
}

.page-template-events_films-blade .event_cats .event_posts li div {
  position: absolute;
  top: 0;
  right: 0;
}

.select-client-list .contents_sidebar {
  display: none;
}

.select-client-list h1.title,
.single-film h1.title {
  margin: 20px 70px;
}

.select-client-list #single_event.events-single-page .photo_list,
.single-film #single_event.events-single-page .photo_list {
  max-width: 100%;
}

.select-client-list #single_event.events-single-page ul.photo_list li {
  /*width: 20%;*/
  width: 12.5%;
}

body.single.select-client-list ul.photo_list li img,
.select-client-list .clients ul.photo_list li img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.event_posts.select-client-list li {
  border: 1px solid #5d5957;
}

.event_posts.select-client-list li .caption_tile {
  background-size: 65%;
  background-color: #fff;
  position: relative;
}

.event_posts.select-client-list li .caption_tile h3,
.page-template-events_films-blade .event_cats .event_posts li div,
.event_posts li.event_item.video:hover a:after {
  display: none;
}

.event_posts.select-client-list li:hover .caption_tile h3,
.event_posts.select-client-list li:last-child .caption_tile h3,
.page-template-events_films-blade .event_cats .event_posts li:hover div,
.page-template-events_films-blade .event_cats .event_posts li:last-child div {
  display: block;
  font-size: 0;
}

.event_posts.select-client-list li .caption_tile h3:after,
.event_posts.select-client-list li:last-child .caption_tile h3:after,
.page-template-events_films-blade .event_cats .event_posts li:last-child div:after {
  content: '+';
  font-family: 'Arial', sans-serif;
  font-size: 50px;
  background-color: #000;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  font-weight: 500;
  text-shadow: 0px 0px 0px #fff;
}

.event_posts li.event_item.video a:after {
  content: '\0025B8';
  font-size: 35px;
  background-color: #000;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: #fff;
  position: absolute;
  bottom: 0;
  right: 0;
  font-weight: 500;
}

.single_event_content ul li a,
.single_event_content ul li span.item {
  border: 1px solid #5d5957;
}
.film .fancybox-type-iframe .fancybox-nav,
.single-film .fancybox-type-iframe .fancybox-nav  { 
  width: 47px; 
  height: calc(100% - 50px);
}
.fancybox-close {
    background-image: url("../images/close2.png"); 
    background-size: 12px;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    padding: 12px;
    box-sizing: content-box;
    background-position: 50%;  
}

/***************** CLIENTS PAGE ******************/
.clients {
  background-color: #fbf9f4;
}
#single_event.events-single-page.clients ul.photo_list li {
  /*height: 14.7vw;*/
  height: 8vw;
}
.clients .single_event_content ul li span.item {
  border: none;
  padding: 5% 20%;
  background-color: #fff;
}
#single_event.events-single-page.clients .photo_list {
  margin: 1em 60px 20px;
}
.select-client-list .clients h1.title {
  margin-bottom: 0;
}



/*.page-id-3420 .page_overlay {
  background: rgba(248,244,233,0.85);
}

.page-id-3420 #press_page .press_wrapper {
  max-width: 1200px !important;
  padding: 0 !important;
}

.page-id-3420 #press_page h1.title {
  font-size: 3.5em;
  font-weight: normal;
  border-bottom: none;
  padding-bottom: 3px;
  letter-spacing: normal;
  border-bottom: 1px inset #5d5957;
}

.page-id-3420 #press_page .press_list li {
  padding: 15px;
height: auto;	
}

.page-id-3420 #press_page .press_list li > a img {
  vertical-align: -1px;
}

.page-id-3420 #press_page .press_list li .detail {
  height: 135px;
}

.page-id-3420 #press_page .press_list li .detail h2 {
  font: normal normal bold normal 2.6em "Josefin Sans", sans-serif;
  margin-bottom: 10px;
}

.page-id-3420 #press_page .press_list li .detail h5 {
  font-size: 2em;
  max-width: none;
  max-height: none;
}
*/
.press_list li {
  padding: 1.5em 1.5em 1.5em 0;
  align-items: flex-end;
  height: 200px;

  padding: 1em 1.5em 1em 0;
}
.press_list li > a {
  width: 50%;
}
.press_list li > a img {
  height: calc(200px - 2em);
}
.press_list li .detail {
  width: 50%;
  padding-left: 2em;
  height: calc(200px - 2em);
}

.press_list li .detail h2 {
  font-size: 2.4em;
  font-weight: bold;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-weight: 500;
  margin-bottom: 20px;

  margin-bottom: 10px;
  padding: 0;
  height: 47px;
  display: block;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

.press_list li .detail h5 {
  font-size: 1.8em;
  max-width: 80%;
  display: block;
  display: -webkit-box;
  line-height: 23px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: -6px;
  max-height: 70px;

  font-size: 13px;
  max-width: none;
  line-height: 21px;
  -webkit-line-clamp: 5;
  height: 109px;
  color: #666;
  max-height: none;
  margin-bottom: 0;
}
.press_list li .detail h5 + a {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  font-style: italic;
}

.contact #primary {
  display: none !important;
}

.contact .content_wrap h6 {
  font-size: 20px;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-weight: normal;
  margin-bottom: 30px;
  text-transform: lowercase;
  letter-spacing: -0.5px;
}

.contact .content_wrap img {
  height: 20px;
}

.contact .content_wrap p.fancy-p {
  margin: 20px 0 30px;
  font-weight: 300;
  font-size: 17px;
}

.contact .content_wrap p.negative-top {
  margin-top: -27px;
  font-size: 18px;
  font-weight: 300;
  color: #555;
}

.contact .gform_wrapper .top_label .gfield_label {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: -4px;
  display: block;
}

.gform_wrapper .top_label .gfield_label {
  font-size: 1.3em;
}
.ui-datepicker-title select { 
  color: #000; 
}
body .gform_wrapper ul li.gfield.no-margintop,
body .gform_wrapper ul li.field_description_below.no-margintop div.ginput_container_checkbox, 
body .gform_wrapper ul li.field_description_below.no-margintop div.ginput_container_radio
.gform_wrapper .no-margintop ul.gfield_checkbox, 
.gform_wrapper .no-margintop ul.gfield_radio {
  margin-top: 0;
}
body .gform_wrapper ul li.gfield.no-margintop {
  margin-top: -35px;
  z-index: -1;
}
body .gform_wrapper ul li.gfield.no-margintop label {
    line-height: 100%;
    position: relative;
    top: 4px;
}
.inquire_link {
  bottom: auto !important;
  top: 0;
  left: 0;
  right: auto;
  background: none;
  position: relative;
  display: inline-block;
  height: 20px;
  vertical-align: bottom;
  margin-left: 11px;
}
/*.inquire_link a { color: #fff; background-color: #000; font-family: 'Alegreya Sans SC', sans-serif; padding: 12px 30px; text-transform: uppercase; font-weight: bold; font-size: 18px; display: block; }*/
.inquire_link a {
  font-family: 'Alegreya Sans SC', sans-serif;
  padding: 1px 0 0;
  font-size: 20px;
  display: block;
}

.restoration span {
  color: inherit;
  font-size: inherit;
  display: initial;
  padding: inherit;
}

.single-film .photo_list li {
  margin: 0;
  border: 9px solid #f4eee2;
}

#single_event.events-single-page .contents_sidebar {
  text-align: left;
}

#single_event.events-single-page .wrapper {
  max-width: 100%;
}

#single_event.events-single-page .photo_list {
  max-width: calc(100% - 495px);
  margin: 0 60px;
}

#single_event.events-single-page ul.photo_list li {
  height: 19.7vw;
}

#single_event.events-single-page ul.photo_list li.gallery-video {
  position: relative;
}

#single_event.events-single-page ul.photo_list li.gallery-video::after {
  content: '';
  position: absolute;
  bottom: 1em;
  right: 1em;
  background: url(../images/play-btn.png) no-repeat;
  width: 46px;
  height: 46px;
}
.back-to-events {
  font-size: 18px;
  font-family: 'Alegreya Sans SC', sans-serif;
    font-size: 15px;
    font-family: 'sf_ui_textlight', sans-serif;
    text-transform: uppercase;
}
.event-full-video {
    font-family: 'Alegreya Sans SC', sans-serif;
    background: #000;
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    padding: 2px 10px;
}

.func-list {
  list-style: none;
}

.page-id-2883 .content_wrap h1 {
  margin-bottom: 10px;
  font-size: 0;
  background: transparent url(../images/1875bar.png) no-repeat top center;
  width: 128px;
  height: 50px;
  background-size: contain;
}
.small-spaces .weylin_slider {
  width: calc(100vw - 375px);
}
@media (max-width: 1100px) and (min-width: 767px) {
  .small-spaces .weylin_slider {
    width: calc(100vw - 275px);
  }
}
@media (max-width: 767px) {
  .small-spaces .weylin_slider {
    width: 100vw;
  }
}
.weylin_slider .slides .slide_item {
  background-position: inherit;
  background-size: cover;
}

.page_main .title a.pull-right {
  font-size: 15px;
  text-transform: initial;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0;
  font-family: 'sf_ui_textlight', sans-serif;
  text-transform: uppercase;
}

.faq_page {
	background: #fbf9f4;
}
#faq_content h1.title span {
    margin-left: 7px;
}
#faq_content h2.title {
  border: none;
  cursor: pointer;
  text-transform: capitalize;
  padding: 8px 0 10px;
  font-weight: normal;
  font-style: normal;
  margin-bottom: 0;
  -moz-transition: 0.15s padding-top ease-out;
  -webkit-transition: 0.15s padding-top ease-out;
  transition: 0.15s padding-top ease-out;
  font-size: 2em;
}
#faq_content h2:after,
#faq_content h3:after {
	width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 6px 0 6px;
    border-color: #999 transparent transparent transparent;
    content: '';
    float: right;
    margin-top: 10px;
}

.faq {
	border-bottom: 1px solid #000;
}
.faq.active-item {
	border-bottom: 0;
}
.faq.active-item h2 {
	display: none;
}
.faq-category {
	display: none;
}
.faq-item {
  background: transparent;
  margin-bottom: 4px;
  padding: 0;
}
.faq-item h3 {
	padding: 8px 0 10px;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: normal;
    color: #000;
    border-bottom: 1px solid #000;
    font-style: normal;
  	margin-bottom: 0;
	-moz-transition: 0.15s padding-top ease-out;
	-webkit-transition: 0.15s padding-top ease-out;
  	transition: 0.15s padding-top ease-out;
}
#faq_content .active h3:after {    
	border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #999;
}
.faq-item h3, .faq-item h2, .faq-item p {
  color: #000;
}
.faq-item p {
  font-size: 1.5em;
  padding-bottom: 25px;
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
	#faq_content { float: none;	width: 100%; margin-bottom: 40px; }
	#faq_content .single_event_content { padding: 0; }
	.faq-img { position: relative; }
}

.inquiry_form_content form .name_first,
.inquiry_form_content form .name_last {
  padding-top: 0 !important;
}

.inquiry_form_content form .name_first label,
.inquiry_form_content form .name_last label {
  display: none !important;
}

.inquiry_form_content form .gf_left_third {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.inquiry_form_content form .divider-list-item,
.inquiry_form_content form .divider-list-item ul li:last-child {
  margin-bottom: 0 !important;
}

.inquiry_form_content form .gform_footer {
  text-align: right;
  margin-top: 10px;
}

.inquiry_form_content form .gform_footer .gform_button {
    margin-right: 0;
    font-size: 1.7em;
    letter-spacing: 1px;
    padding: 0 15px 0;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 500;
}

/************** Sidebar Expand / Collapse ***************/

.open_close_tab .toggle_close:before,
.open_close_tab .toggle_open:before {
  width: 32px;
  height: 32px;
}

.open_close_tab .toggle_close:before {
  background-position: -32px 0;
}

#weylin_page {
  padding-bottom: 100px;
  padding-right: 20%;
}

#weylin_page img {
  width: auto;
}

/**************** NEW BLOG PAGE **************************/
.blog_overlay {
  background-position: 0px -258px;
}
#blog_header {
  height: 23vh;
  align-items: flex-end;
}
#blog_header h1 {
  display: flex;
  align-items: baseline;
  margin-bottom: 15px;
  color: #fbf9f4;
}
#blog_header h1 img {
  margin-left: -25px;
  margin-right: 5px;
}
#blog_post {
  background: #fbf9f4;
}
#blog_post article.type-post {
  align-items: flex-end;
  margin: 30px 0;
}
#blog_post article.type-post .featured {
    width: 27%;
    max-height: 200px;
    overflow: hidden;
    padding: 0;
}
#blog_post article.type-post .featured img {
    max-width: none;
    width: 100%;
    height: 175px;
    object-fit: cover;
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    -ms-object-fit: cover;
    -o-object-fit: cover;
    object-position: center center;
    -webkit-object-position: center center;
    -moz-object-position: center center;
    -ms-object-position: center center;
    -o-object-position: center center;
}
#blog_post article.type-post .content {
    padding: 0;
    padding-left: 3%;
    margin-bottom: -4px;
}
#blog_post article.type-post .content h2 {
  font-size: 2.4em;
  font-weight: bold;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 0;
    padding-top: 0;
}
#blog_post .entry-meta time { 
  font-family: 'Alegreya Sans SC', sans-serif;
}
#blog_post article.type-post .content .excerpt p {
    display: block;
    display: -webkit-box;
    height: 89px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
}
#blog_post article.type-post .content p a {
  display: none;
}
#blog_post article.type-post .content a.more {
    font-size: 16px;
}

.single-post #site-main {
  padding-left: 66%;
}
.single-post .blog_overlay {
    width: 66%;
    background-size: 67%;
    background-size: auto 100%;
    background-position: 0 0;
    background-color: #fbf9f4;
}
/** width smaller than height **/
.single-post.taylor-federici-abigail-kirsch-catering .blog_overlay,
.single-post.then-and-now-a-thanksgiving-menu-from-1900 .blog_overlay { 
  background-size: 66%;
}
.single-post #blog_header {
  height: auto;
  background: #fbf9f4;
  padding: 20px 20px 10px;
}
.single-post #blog_header .entry-meta time {
  color: #000;
  font-family: 'Alegreya Sans SC', sans-serif;
}
.single-post #blog_header h1 {
    color: #000;
    font-size: 22px;
}
.single-post #blog_post .container,
.single-post #blog_header .container {
  width: 100%;
}
.single-post #blog_post {
    padding: 0 20px;
}
.single-post #blog_header .back-link a { 
    font-size: 16px;
    color: #333;
    font-family: 'Alegreya Sans SC', sans-serif;
}
.single-post #blog_post article.type-post {
  margin-top: 0;
  margin-bottom: 120px;
}
.single-post #blog_post article.type-post p,
.single-post #blog_post article.type-post .entry-content * {
  font-size: 16px;
  width: 100% !important;
}


/************** Media Queries ***************/

@media (max-width: 1060px) and (min-width: 550px) {
  body.single ul.photo_list li,
  .clients ul.photo_list li {
    height: 20vw;
    padding: 1em;
    background: none;
    border: 0;
    display: block;
  }
}

body.single ul.photo_list li,
.clients ul.photo_list li {
  height: 27.6vw;
  padding: 1em;
    /*margin: 1em;*/
  background: none;
  border: 0;
  display: block;
    /*width: calc(25% - 2em);*/
  width: 25%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

body.single ul.photo_list li img,
.clients ul.photo_list li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-object-fit: cover;
  -moz-object-fit: cover;
  -ms-object-fit: cover;
  -o-object-fit: cover;
    /*object-fit: cover;
    -webkit-object-fit: initial;
    -moz-object-fit: initial;
    -ms-object-fit: initial;
    -o-object-fit: initial;*/
  object-position: center center;
  -webkit-object-position: center center;
  -moz-object-position: center center;
  -ms-object-position: center center;
  -o-object-position: center center;
}

@media screen and (min-width: 991px) {
  .spaces .contents_sidebar #primary-nav,
  .about-us .contents_sidebar #primary-nav,
  .history .contents_sidebar #primary-nav,
  .weylin .contents_sidebar #primary-nav,
  .main-rotunda .contents_sidebar #primary-nav,
  .oculus-dome .contents_sidebar #primary-nav,
  .the-domes .contents_sidebar #primary-nav,
  .the-gallery .contents_sidebar #primary-nav,
  .page-id-2883 .contents_sidebar #primary-nav,
  .small-spaces .contents_sidebar #primary-nav,
  .restoration .contents_sidebar #primary-nav {
    height: 265px !important;
    position: absolute;
    bottom: 0;
    width: 84%;
  }

  .about-us .contents_sidebar #primary-nav,
  .history .contents_sidebar #primary-nav,
  .weylin .contents_sidebar #primary-nav,
  .architecture .contents_sidebar #primary-nav,
  .restoration .contents_sidebar #primary-nav {
    height: 200px !important;
    position: absolute;
    bottom: 0;
    width: 84%;
  }

  .contents.jpibfi_container > ul {
    z-index: 9;
    position: relative;
  }

  .restoration .contents.jpibfi_container,
  .history .contents.jpibfi_container,
  .about-us .contents.jpibfi_container {
    height: calc(100% - 185px);
    overflow: auto;
  }

  .main-rotunda .contents.jpibfi_container,
  .oculus-dome .contents.jpibfi_container,
  .the-domes .contents.jpibfi_container,
  .the-gallery .contents.jpibfi_container,
  .small-spaces .contents.jpibfi_container {
    height: calc(100% - 220px);
    overflow: auto;
  }

  .page-id-2883 .contents.jpibfi_container {
    height: calc(100% - 250px);
    overflow: auto;
  }
}

@media screen and (max-width: 1280px) {
  #site-footer #primary .nav li a {
    padding: 14px 8px;
    font-size: 16px;
  }
  #site-footer #primary .nav li:last-child a {
      top: 4px;
  }
  .inquire_link {
    margin-left: 8px;
  }

  .inquire_link a {
    font-size: 16px;
    padding: 0;
  }

  #site-footer #primary {
    margin-top: 1.3em;
  }
  #site-footer .social_contact {
    margin-top: 15px;
  }

  #site-footer address.location {
    font-size: 16px;
  }
}

@media screen and (min-width: 1200px) {
  .event_posts li {
    height: 10vw;
  }

  .page-template-events_films-blade .event_cats .event_posts li {
    height: 18.5vw;
  }

  .page-template-events_films-blade .event_cats .event_posts li a img {
    height: 100%;
    max-width: none;
  }

  .page-template-events_films-blade .event_cats .event_posts.movies-tv-shows li a img {
    height: auto;
    max-width: 140%;
  }

  .press_list li {
    height: 10vw;
    overflow: hidden;
    height: 200px;
  }
  /*.press_list li>a img { height: 100%; }*/
  body.single ul.photo_list li,
  .clients ul.photo_list li {
    height: 317px;
  }
}

@media screen and (min-width: 1100px) {
  .restoration .photo_list, .architecture .photo_list {
    max-width: calc(100% - 375px);
  }

  body .photo_list.toggle_wide,
  #single_event.events-single-page .photo_list.toggle_wide {
    max-width: 100%;
  }
}

@media screen and (max-width: 1200px) {
  #site-footer .logo img,
  #site-footer .logo {
    max-width: 80px;
    min-width: 80px;
  }

  #site-footer {
    padding: 19px 15px 16px 15px;
  }
  #site-footer .social_list li:last-child {
    margin-right: 14px;
  }
  #site-footer address.location {
    font-size: 15px;
  }
  /*#site-footer .social_contact { padding-top: 15px; }*/
  .restoration #menu, .architecture #menu {
    bottom: 67px;
  }
}

@media (max-width: 1200px) and (min-width: 767px) {
  .press_list li>a img {
    height: 100%;
  }
  .press_list li>a {
    height: 100%;
  }
  .event_posts li {
    height: 11vw;
  }
  .page-template-events_films-blade .event_cats .event_posts li {
    height: 18vw;
  }
  .page-template-events_films-blade .event_cats .event_posts li a img {
    height: 100%;
    max-width: none;
  }
  .content_wrap p,
  .content_wrap li {
    width: 96%;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .press_list li { height: 140px; }
  .press_list li > a img { height: calc(140px - 2em); }
  .press_list li .detail { height: calc(140px - 2em); }
  .press_list li .detail h2 { height: 24px; -webkit-line-clamp: 1; }
  .press_list li .detail h5 { line-height: 18px; -webkit-line-clamp: 4; height: 74px; }
}
@media (max-width: 1100px) and (min-width: 767px) {
  .restoration .photo_list {
    max-width: calc(100% - 275px);
  }

  .restoration .photo_list.toggle_wide {
    max-width: 100%;
  }

  #single_event.events-single-page .photo_list {
    max-width: calc(100% - 370px);
  }

  body.single ul.photo_list li,
  .clients ul.photo_list li {
    width: 33%;
  }

  #site-footer .social_contact {
    display: block;
    margin-top: 8px;
  }
}

@media screen and (max-width: 979px) {
  #site-footer #primary {
    display: none !important;
  }

  body .event_cats .caption_tile {
    padding: 0;
  }

  .event_posts li .caption_tile h3 {
    font-size: 14px;
  }

  .mean-container#site-footer .mean-bar {
    margin-top: 5px;
    position: absolute;
    left: 115px;
  }
  #site-footer address.location,
  #site-footer .social_list li:last-child {
    margin-right: 0;
  }
}

@media screen and (min-width: 767px) {
  .contents_sidebar {
    height: 100vh !important;
    padding-bottom: 99px;
  }

  .contents_sidebar .content_wrap {
    position: relative;
    padding-bottom: 35px;
  }

  .back-to-events {
    margin-top: 20px;
    display: inline-block;
    margin-bottom: 25px;
  }

  .single-film.single ul.photo_list li {
    width: 16.6%;
  }
}

@media screen and (max-width: 767px) {
  #site-main {
    background: #fbf9f4;
  }
  #site-footer .social_contact {
    display: block;
    margin-top: 0;
  }
  .press_list li>a {
    height: 100%;
  }

  .press_list li {
    height: 153px;
    overflow: hidden;
    height: auto;
  }
  .press_list li .detail h2 {
    font-size: 20px;
  }
  .press_list li>a img {
    height: 100%;
    max-height: 100%;
}
  .press_list li>a img,
  .press_list li .detail {
    height: calc(160px - 2em);
  }

  #events_page .event_wrapper,
.page-template-events_films-blade #events_page .event_wrapper,
#press_page .press_wrapper {
    padding: 0 20px;
  }

  .press_list li .detail h5 {
    line-height: 18px;
    -webkit-line-clamp: 4;
    height: 73px;
  }

  .event_posts li,
.page-template-events_films-blade .event_cats .event_posts li,
.page-template-events_films-blade .event_cats .event_posts.movies-tv-shows li,
body.page-template-events_films-blade .event_cats li,
.single-film .photo_list li,
body.single ul.photo_list li,
.clients ul.photo_list li {
    width: 100%;
    min-height: 45vw;
    height: auto;
    margin: 10px 0 !important;
  }

  .event_posts li {
    height: 45vw;
  }

  .event_posts li .caption_tile h3 {
    font-size: 20px;
  }

  .event_posts.select-client-list li .caption_tile {
    background-size: 55%;
  }
  .contents_sidebar #primary-nav {
    margin-top: 30px;
  }
  .contents_sidebar #primary-nav .nav > li {
    width: 100%;
  }

  .contents_sidebar #primary-nav .nav li .sub-menu {
    position: relative;
    top: auto;
  }
  /*.content_wrap { padding-bottom: 110px; }*/
  .restoration #menu, .architecture #menu {
    bottom: 85px;
  }

  .contents_sidebar {
    right: auto !important;
    padding-bottom: 100px;
  }

  #single_event.events-single-page .photo_list {
    max-width: 100%;
    margin: 10px;
  }

  #single_event.events-single-page ul.photo_list li,
  .select-client-list #single_event.events-single-page ul.photo_list li {
    width: 50%;
    height: auto;
  }
  .select-client-list .clients h1.title {
    margin-left: 6px;
    margin-right: 6px;
  }
  .select-client-list #single_event.events-single-page.clients .photo_list {
    margin-left: 0;
    margin-right: 0;
  }
  .select-client-list #single_event.events-single-page ul.photo_list li {
    margin: 0 !important;
  }
  #blog_post article.type-post {
    -webkit-box-direction: initial;
    -ms-flex-direction: initial;
    flex-direction: initial;
  }
  #blog_post article.type-post .featured {
    width: 100%;
    max-height: none;
  }
  #blog_post article.type-post .featured img {
    height: auto;
  }
  #blog_post article.type-post .content { padding-left: 0; margin-bottom: 0; }
  .single-post #site-main {
      padding: 280px 0 0;
  }
  .single-post .blog_overlay {
    height: 280px;
    width: 100%;
    background-position: top center;
    background-size: 100%;
  }
  #weylin_page img {
    height: auto;
  }
}

@media screen and (max-width: 550px) {
  .restoration .photo_list li,
  .restoration .photo_list.toggle_wide li {
    width: 50%;
    height: 35vw;
  }
  #site-footer .social_contact {
    width: calc(100% - 100px);
    float: right;
    margin-left: 0;
  }

  #site-footer .logo img {
    margin-top: 0;
  }

  #site-footer {
    margin-top: 0;
  }

  #site-footer .social_contact {
    padding-top: 0;
    margin-top: 0;
  }

  #site-footer .nowrap,
  #site-footer address.location a {
    margin-top: 3px;
    margin-bottom: 3px;
  }
}

@media screen and (max-width: 480px) {
	.single_event_content {
		padding: 0 15px;
	}
	.weylin_slider .slides .slide_item {
		background-position: center center;
	}
	.weylin_slider .slides .slide_item,
	.page_featured img {
		height: 70vh;	
	}
	.home .weylin_slider .slides .slide_item {
		height: 100vh;
	}
	
	#primary-nav .nav {
		display: block;
	}
	
	#weylin_page {
		padding: 10px;
		height: auto;
		min-height: 80vh;
	}
	#weylin_page img {
		width: 100%;
		height: auto;
	}
	.fancybox-skin .fancybox-title-float-wrap,
	.fancybox-skin .fancybox-title .child {
		width: 32px;
		height: 32px;
	}
	
	.event_posts li a img {
		width: 100%;
		height: auto;
		min-width: inherit;
		max-width: none;
		min-height: inherit;
		max-height: none;
	}
	#site-footer address.location a {
		display: block;
	}
}
@media screen and (max-width: 430px) {

  .restoration #menu, .architecture #menu {
    bottom: 97px;
  }

  .architecture .custom-fixed-menu {
    top: 15px;
  }

  .custom-fixed-menu {
    right: 18px;
  }
}

.back_to_events_link {
  bottom: auto !important;
  top: 0;
}

.back_to_events_link {
  z-index: 9;
}

.back_to_events_link {
  position: fixed;
  left: 0;
  cursor: pointer;
  font-style: normal;
  background: rgba(85,85,85,0.85);
}

.back_to_events_link a {
  color: #fff;
  background-color: #000;
  font-family: 'Alegreya Sans SC', sans-serif;
  padding: 12px 30px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 18px;
  display: block;
}

@media (max-width: 640px) {
  .page_main h1 {
    padding-top: 20px !important;
  }
}


.gform_wrapper label, .gform_wrapper .gf_or, .gform_wrapper .gsection_title, .gform_wrapper .gfield_description {
    font-family: 'Alegreya Sans SC', sans-serif;
}
.gform_wrapper select {
    background: white;
    padding: 5px 4px;
    height: 30px;
}
.gform_wrapper.gf_browser_chrome select {
    padding: 5px 4px;
}
.gform_wrapper .gfield_description {
    width: auto;
    display: inline;
    margin-left: 4px;
    font-style: normal;
    color: #888;
    font-size: 1.2em;
    font-family: 'sf_ui_textlight';
    font-weight: normal;
}
.gform_wrapper .column-count-1-of-2 {
    width: 35%;
    margin-right: 4%;
}
.gform_wrapper .column-count-2-of-2 {
    width: 61%;
}
.gform_wrapper .gfield_html.gfield_no_follows_desc.gf_or {
  display: inline-block;
  margin-top: 34px;
  margin-bottom: 0;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  margin-right: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.gf_fourth_quarter, .gf-margin-top-0 {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}

#inquiry_form.page_main .wrapper,
.faq_page.page_main .wrapper {
    max-width: 100%;
}
.inquiry-img,
.faq-img {
	position: fixed;
    top: 0;
    left: 0;
    height: calc(100vh - 94px);
    margin-right: 45px;
    background-size: cover;
    background-position: top center;
}
#inquiry_form.page_main {
	padding: 2em 0 130px 0;
}
#inquiry_form.page_main.bottom-space {
    padding-bottom: 260px;
}
#inquiry_form h1 {
    font-size: 22px;
    margin-top: 30px;
    text-transform: none;
    font-weight: 400;
    border-bottom: 1px solid #000;
    padding-bottom: 8px;
    display: inline-block;
    margin-bottom: 0;
    text-align: left;
}
#inquiry_form .gform_wrapper .gform_body {
    width: 100%;
}
#inquiry_form .gform_wrapper .gsection {
    border: 0;
    margin-bottom: 20px;
    font-size: 0.8em;
}
#inquiry_form .gform_wrapper h2.gsection_title {
    font-size: 2.9em;
    font-weight: 500;
}
#inquiry_form .gform_wrapper ul.gform_fields li.gfield {
    padding-right: 0;
}
#inquiry_form div.ginput_container {
    margin-top: 4px;
}
#inquiry_form .ginput_container_checkbox {
    margin-top: 0;
}
#inquiry_form input[type=checkbox] {
    margin-top: 0;
}
#inquiry_form li.gfield.no-margintop {
    position: absolute;
    z-index: 999;
    min-width: 100px;
}
#inquiry_form .gfield_checkbox label {
    font-size: 14px;
    top: 0;
    text-transform: lowercase;
    font-weight: 500;
}
.inquiry_form_content,
#faq_content {
    float: right;
    width: calc(100% - 33vh);
    padding: 0 4vw;
}
#inquiry_form label {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.5px;
}
#inquiry_form .gf_fourth_quarter label,
#inquiry_form .gf_left_third label {
  font-weight: 500;
}
#inquiry_form .gform_wrapper .gfield_required {
  color: red;
  font-size: 18px;
}
#inquiry_form .gform_wrapper #field_2_8 .gfield_required {
  display: none;
}
#inquiry_form select, #inquiry_form input[type=text], #inquiry_form textarea {
	border: 1px solid #464040;
}
input:focus, textarea:focus, keygen:focus, select:focus {
  outline: none;
}
#inquiry_form select, #inquiry_form input[type=text] {
    height: 35px;
	font-size: 14px;
    font-family: 'sf_ui_textlight';
    font-weight: normal;
    color: #000;
}

#inquiry_form select.small, #inquiry_form input.small, #inquiry_form textarea.small {
    width: 25%;
}

#inquiry_form select.medium, #inquiry_form input.medium, #inquiry_form textarea.medium {
    width: 50%;
}

#inquiry_form select.large, #inquiry_form input.large, #inquiry_form textarea.large {
    width: 100%;
}

#inquiry_form textarea.large {
    height: 201px;
    font-family: 'sf_ui_textlight';
    font-size: 14px;
}

#inquiry_form .gf_fourth_quarter {
    padding-right: 0;
    margin-right: 10px;
    width: 26.4%;
}
#inquiry_form .gf_left_third {
    /*width: 44%;*/
}
#inquiry_form input.chosen-search-input[type=text] {
  height: 24px;
}
body .gform_wrapper .chosen-container .chosen-results li.highlighted,
body .ui-datepicker-calendar .ui-state-hover {
  background: #ccc;
}
/*.gform_wrapper #field_2_22 .chosen-container .chosen-results {
  max-height: 62px;
}*/
.nowrap {
    white-space: nowrap;
}

@media screen and (max-width: 1200px) {
	.inquiry-img,
	.faq-img { height: calc(100vh - 84px); }
}
@media screen and (max-width: 1100px) {
	#inquiry_form textarea.large { height: 200px; }
	.inquiry-img,
	.faq-img { height: calc(100vh - 89px); }	
  #site-footer { height: 89px; }
  #inquiry_form .gf_fourth_quarter { width: 35%; }
  #inquiry_form .gf_left_third {
    display: block;
    margin-top: 16px !important;
    margin-bottom: 20px !important;
  }
}
@media screen and (max-width: 991px ) {
	.inquiry-img { margin-right: 20px; }
	#inquiry_form .gform_wrapper .gform_body { width: 100%; }
	body #inquiry_form .gform_wrapper .column-count-2-of-2,
	body #inquiry_form .gform_wrapper .column-count-1-of-2 { width: 100%; margin-bottom: 30px !important; margin-right: 0; }
	#inquiry_form .gform_wrapper ul.gform_fields li.gfield { padding-right: 0; }
	#inquiry_form .gform_wrapper .gfield_html.gfield_no_follows_desc.gf_or { padding-right: 16px; }
	.inquiry_form_content form .gform_footer { margin-right: 0; }
   .gform_wrapper #field_2_22 .chosen-container .chosen-results { max-height: none; }
}
@media screen and (max-width: 767px) {
	.inquiry_form_content,
	#faq_content { width: 100%; float: none; }
	.inquiry-img,
	.faq-img { display: none; }

	#inquiry_form select.medium, #inquiry_form input.medium, #inquiry_form textarea.medium,
	#inquiry_form select.small, #inquiry_form input.small, #inquiry_form textarea.small,
	#inquiry_form .gf_fourth_quarter,
	#inquiry_form .gform_wrapper .top_label li.gfield.gf_left_third:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm), 
	#inquiry_form .gform_wrapper .top_label li.gfield.gf_middle_third:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm) { width: 100%; }
	#inquiry_form .gform_wrapper .gfield_html.gfield_no_follows_desc.gf_or { margin-top: 0; }
	#inquiry_form input.datepicker { width: calc(100% - 23px); }
	.inquiry_form_content form .gform_footer { margin-top: -20px; margin-right: 0; }
}

/***********************************************************************
    Video backgrounds
 ***********************************************************************/

.video-container {
    position: relative;
    overflow: hidden;
}

body.home .video-container {
    width: 100%;    /* no sidebar on the homepage */
}

.video-container video {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 100%;
    height: 100%;

    object-fit: cover; /* it's like background-size: cover - but for videos */

    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 0;
}

@media screen and (min-width: 767px) {
    .video-container {
        width: calc(100vw - 375px);
        height: 100vh;
    }

    .contents_sidebar {
        height: 100vh !important;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .video-container {
        width: calc(100vw - 275px);
    }
    #site-footer .social_contact {
      margin-top: 0;
    }
}

@media (min-width: 1200px) {
    .video-container {
        height: 100vh;
    }

    .contents_sidebar {
        height: 100vh !important;
    }

}

@media (max-width: 767px) {
	 .video-container {
        height: 100vh;
    }

    .contents_sidebar {
        /*min-height: 100vh !important;*/
    }
}


/***********************************************************************
    Single Event Videos (at the top of the grid)
 ***********************************************************************/

#single_event.events-single-page ul.photo_list li.event-video {
    height: auto !important;
    width: 100% !important;
    overflow: hidden;
}

#single_event.events-single-page ul.photo_list li.event-video video {
    width: 100%;
}

body.single-event .contents_sidebar a.event-full-video {
    display: inline-block;
    margin-top: 15px;
    margin-left: 2px;
}

.gform_wrapper .chosen-container-single .chosen-single div b {
	transition: transform 0.5s;
}
.gform_wrapper .chosen-container-active.chosen-with-drop .chosen-single div b {
	-ms-transform: rotate(180deg) translateX(7px);
    -webkit-transform: rotate(180deg) translateX(7px);
    transform: rotate(180deg) translateX(7px);
    background-position: 0 2px;
    margin-left: 7px;
}
.gform_wrapper .chosen-container-single .chosen-single,
.gform_wrapper.gf_browser_chrome .chosen-container-single .chosen-single {
	border-radius: 0;
    height: 35px;
    background: #fff;
    font-size: 13px;
    font-family: 'sf_ui_textlight';
    font-weight: normal;
    color: #000;
    line-height: 33px;
    padding-left: 44px;
    text-align: center;
    border-color: #464040;
}
.gform_wrapper .chosen-container-single .chosen-single div {
	left: 0;
    border-right: 1px solid #464040;
    width: 32px;
    padding: 0 10px;
}
.gform_wrapper .chosen-container-single .chosen-single div b,
.gform_wrapper.gf_browser_chrome .chosen-container-single .chosen-single div b, 
.gform_wrapper.gf_browser_gecko .chosen-container-single .chosen-single div b, 
.gform_wrapper.gf_browser_safari .chosen-container-single .chosen-single div b {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 6px 0 6px;
    border-color: #8d8e8f transparent transparent transparent;
    background: none;
    margin-top: 12px;
    top: 0;
}
.gform_wrapper .chosen-container .chosen-results {
	font-family: 'sf_ui_textlight';
    font-size: 13px;
}
.gform_wrapper .chosen-container-active.chosen-with-drop .chosen-single {
	border-color: #464040;
	box-shadow: none;
	background: #fff;
}
.gform_wrapper .chosen-container .chosen-drop {
	border-color: #464040;
}
.gform_wrapper .chosen-container-single .chosen-search {
  display: none;
}

/***********************************************************************
    DatePicker Skinning
 ***********************************************************************/

.ginput_container_date { position: relative; width: 220px; }
body .gform_wrapper img.ui-datepicker-trigger {
    position: absolute;
    top: 10px; right: 10px;

    display: block;
    width: 17px; height: 16px;
    padding-left: 17px; /* this should be equal with the width */

    -moz-box-sizing: border-box;
    box-sizing: border-box;

    background: url('../images/datepicker-calendar.jpg') no-repeat;
}

#inquiry_form input.datepicker {
    width: 220px !important;
    outline: none !important;
    text-align: center;
}

.ui-datepicker {
    width: 220px;

    margin-top: -2px;

    border: 1px solid #464040;
    border-top: none;
    border-radius: 0 0 4px 4px;

    background: white;

    -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
    -moz-box-shadow: 0 4px 5px rgba(0,0,0,.15);
    box-shadow: 0 4px 5px rgba(0,0,0,.15);
}

.ui-datepicker-next, .ui-datepicker-prev {
    background-image: url('../images/datepicker-arrows.png');
}

.ui-datepicker * {
    font-family: 'sf_ui_textlight';
}

.ui-datepicker-title {
    margin-bottom: 15px;
}

.ui-datepicker-title select {
    color: #777;
    font-weight: normal;
    padding: 3px 5px;
    margin-top: 0;
    border: 1px solid #464040 !important;
    outline: none !important;
}

select.ui-datepicker-month {
    margin-right: 15px;
}

.ui-datepicker-header {
    background-color: white;
    border: none;
}

.ui-datepicker thead {
    background: white;
}

.ui-datepicker th {
    color: #16121b;
    font-size: 12px;
    font-weight: normal;
}

.ui-datepicker tbody tr, .ui-datepicker thead {
    border: none;
}

.ui-datepicker tbody td {
    border: none;
}

.ui-datepicker-calendar .ui-state-default {
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

td.ui-datepicker-unselectable.ui-state-disabled {
    background: transparent;
}

.ui-datepicker td a, .ui-datepicker td span {
    font-weight: 300;
    color: #16121b;
    text-shadow: none;
}

.ui-state-default.ui-state-active {
    width: 100%;
    color: #fff;

    background-color: #3875d7;
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));
    background-image: -webkit-linear-gradient(#3875d7 20%,#2a62bc 90%);
    background-image: -moz-linear-gradient(#3875d7 20%,#2a62bc 90%);
    background-image: -o-linear-gradient(#3875d7 20%,#2a62bc 90%);
    background-image: linear-gradient(#3875d7 20%,#2a62bc 90%);
    margin: 0;
    border: none;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    text-shadow: none;
}

.ui-datepicker-calendar .ui-state-hover {
    background-color: #3875d7;
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));
    background-image: -webkit-linear-gradient(#3875d7 20%,#2a62bc 90%);
    background-image: -moz-linear-gradient(#3875d7 20%,#2a62bc 90%);
    background-image: -o-linear-gradient(#3875d7 20%,#2a62bc 90%);
    background-image: linear-gradient(#3875d7 20%,#2a62bc 90%);
    text-shadow: none;
    color: white;
}

/* iCheck plugin Square skin, black
----------------------------------- */
.icheckbox_square,
.iradio_square {
  display: inline-block;
  *display: inline;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  width: 10px;
  height: 10px;
  background: url(../images/vendor/square.png) no-repeat;
  border: none;
  cursor: pointer;
  -webkit-background-size: 100px 10px;
  background-size: 100px 10px;
}

.icheckbox_square {
  background-position: 0 0;
}
.icheckbox_square.hover {
  background-position: -10px 0;
}
.icheckbox_square.checked {
  background-position: -20px 0;
}
.icheckbox_square.disabled {
  background-position: -30px 0;
  cursor: default;
}
.icheckbox_square.checked.disabled {
  background-position: -40px 0;
}

.iradio_square {
  background-position: -50px 0;
}
.iradio_square.hover {
  background-position: -60px 0;
}
.iradio_square.checked {
  background-position: -70px 0;
}
.iradio_square.disabled {
  background-position: -80px 0;
  cursor: default;
}
.iradio_square.checked.disabled {
  background-position: -90px 0;
}

/* HiDPI support */
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
  .icheckbox_square,
  .iradio_square {
    background-image: url(../images/vendor/square@2x.png);
    -webkit-background-size: 100px 10px;
    background-size: 100px 10px;
  }
}
/* Pinterest button */
.fancybox-title-float-wrap {
    top: auto;
    bottom: 0;
    right: 0;
    left: auto;
}
.restoration .fancybox-inner {
    overflow: hidden !important;
}
.weylin_slider .slides .slick-arrow.slick-prev,
.fancybox-prev span {
  background-image: url("../images/arrow-left2.png");
  width: 30px;
  height: 40px;
  opacity: 1;
  background-size: 12px 18px;
}
.weylin_slider .slides .slick-arrow.slick-next,
.fancybox-next span {
  background-image: url("../images/arrow-right2.png");
  width: 30px;
  height: 40px;
  opacity: 1;
  background-size: 12px 18px;
}