/*
Theme Name: Sultan Qaboos Cultural Center
Theme URI: https://www.sqcc.org/
Version: 1.0
Description: A custom theme for SQCC
Author: The Snowberry Team
Author URI: https://snowberrymedia.com
template: bb-theme
*/


/**********************************************************
 * GENERAL
 * *******************************************************/

@media (min-width:1250px) {
    .skew-layout--left .fl-row-content {
        margin-left: calc((100vw - 1270px)/2);
    }
    .skew-layout--right .fl-row-content {
        margin-right: calc((100vw - 1270px)/2);
    }
    .col-padded--left .fl-col-content {
        padding-left: calc((100vw - 1270px)/2);
    }
    .col-padded--right .fl-col-content {
        padding-right: calc((100vw - 1270px)/2);
    }
}

.form-control,
input[type=text], input[type=password], input[type=email],
input[type=tel], input[type=date], input[type=month],
input[type=week], input[type=time], input[type=number],
input[type=search], input[type=url] {
	height: auto;
	padding: 10px;
    line-height: 1.3;
	font-size: inherit;
	background: #ffffff;
	border-color: #048a98;
}

.form-control,
input[type=text], input[type=password], input[type=email],
input[type=tel], input[type=date], input[type=month],
input[type=week], input[type=time], input[type=number],
input[type=search], input[type=url],
textarea,
select,
.btn {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.btn-primary {
	background-color: #048a98;
	border-color: #048a98;
}

.pattern-left > div:before,
.pattern-right > div:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 62px;
	background: url('img/pattern-y.png') top left repeat-y;
}

.pattern-left > div:before {
	left: 0;
}

.pattern-right > div:after {
	right: 0;
}

.radial-pseudo .uabb-photo-content {
	display: block;
	position: relative;
}

.radial-pseudo .uabb-photo-content:before {
	content: "";
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,1.0) 60%, #c9a11c 100%);
    mix-blend-mode: multiply;
}

.happening-infobox h3.uabb-infobox-title i {
    font-size: 16px;
    background: #048a98;
    border-radius: 50%;
    color: white;
    padding: 5px 5px 5px 5px;
    margin-top: 10px;
    margin-right: 5px;
}

.happening-infobox h3.uabb-infobox-title {
	margin-right: 30px;
}

.happening-infobox .uabb-imgicon-wrap .uabb-image-content {
    display: block;
    position: relative;
    border-radius: 100%;
    overflow: hidden;
    display: inline-block;
}

.happening-infobox .uabb-imgicon-wrap .uabb-image-content:before {
	 content: "";
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,1.0) 60%, #c9a11c 100%);
    mix-blend-mode: multiply;
}

.library-link-infobox h3.uabb-infobox-title i {
    font-size: 16px;
    background: #048a98;
    border-radius: 50%;
    color: white;
    padding: 5px 5px 5px 5px;
    margin-top: 10px;
    margin-right: 5px;
	float: left;
}

.library-link-infobox h3.uabb-infobox-title {
	margin-right: 30px;
}

.library-link-infobox .uabb-imgicon-wrap .uabb-image-content {
    display: block;
    position: relative;
    border-radius: 100%;
    overflow: hidden;
    display: inline-block;
}

.uabb-module-content.uabb-creative-button-wrap a {
	border-radius: 0 !important;
}

.faq-accordion .uabb-adv-accordion-icon-wrap {
	background: #048a98;
	padding: 15px;
}

@media (max-width: 1199px) {

    .fl-col-group-medium-reversed .fl-col-group.fl-col-group-responsive-reversed {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -moz-flex;
        display: -webkit-flex;
        display: flex;
        flex-flow: row wrap;
        -ms-box-orient: horizontal;
        -webkit-flex-flow: row wrap;
    }

    .fl-col-group-medium-reversed .fl-col-group.fl-col-group-responsive-reversed .fl-col {
        -webkit-box-flex: 0 0 100%;
        -moz-box-flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(1) {
        -webkit-box-ordinal-group: 12;
        -moz-box-ordinal-group: 12;
        -ms-flex-order: 12;
        -webkit-order: 12;
        order: 12;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(2) {
        -webkit-box-ordinal-group: 11;
        -moz-box-ordinal-group: 11;
        -ms-flex-order: 11;
        -webkit-order: 11;
        order: 11;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(3) {
        -webkit-box-ordinal-group: 10;
        -moz-box-ordinal-group: 10;
        -ms-flex-order: 10;
        -webkit-order: 10;
        order: 10;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(4) {
        -webkit-box-ordinal-group: 9;
        -moz-box-ordinal-group: 9;
        -ms-flex-order: 9;
        -webkit-order: 9;
        order: 9;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(5) {
        -webkit-box-ordinal-group: 8;
        -moz-box-ordinal-group: 8;
        -ms-flex-order: 8;
        -webkit-order: 8;
        order: 8;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(6) {
        -webkit-box-ordinal-group: 7;
        -moz-box-ordinal-group: 7;
        -ms-flex-order: 7;
        -webkit-order: 7;
        order: 7;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(7) {
        -webkit-box-ordinal-group: 6;
        -moz-box-ordinal-group: 6;
        -ms-flex-order: 6;
        -webkit-order: 6;
        order: 6;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(8) {
        -webkit-box-ordinal-group: 5;
        -moz-box-ordinal-group: 5;
        -ms-flex-order: 5;
        -webkit-order: 5;
        order: 5;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(9) {
        -webkit-box-ordinal-group: 4;
        -moz-box-ordinal-group: 4;
        -ms-flex-order: 4;
        -webkit-order: 4;
        order: 4;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(10) {
        -webkit-box-ordinal-group: 3;
        -moz-box-ordinal-group: 3;
        -ms-flex-order: 3;
        -webkit-order: 3;
        order: 3;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(11) {
        -webkit-box-ordinal-group: 2;
        -moz-box-ordinal-group: 2;
        -ms-flex-order: 2;
        -webkit-order: 2;
        order: 2;
    }

    .fl-col-group-medium-reversed .fl-col-group-responsive-reversed .fl-col:nth-of-type(12) {
        -webkit-box-ordinal-group: 1;
        -moz-box-ordinal-group: 1;
        -ms-flex-order: 1;
        -webkit-order: 1;
        order: 1;
    }
}

.row-fluid {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10, .span11, .span12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .span1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .span2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .span3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .span4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .span5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .span6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .span7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .span8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .span9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .span10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .span11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .span12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/**********************************************************
 * HEADER / FOOTER
 * *******************************************************/

#site_search {
	width: 0;
	overflow: hidden;
	position: absolute;
	top: -4px;
	right: 30px;
	max-height: 37px;
	-webkit-transition: width 0.2s ease-in-out;
	-moz-transition: width 0.2s ease-in-out;
	-ms-transition: width 0.2s ease-in-out;
	-o-transition: width 0.2s ease-in-out;
	transition: width 0.2s ease-in-out;
}

.open #site_search {
	width: 480px;
}

.open.site-search a .fa-search::before {
	content: '\f057';
}

#site_search .form-control {
	height: 37px;
	border-radius: 0;
}

#site_search button {
	border-radius: 0;
}

@media (max-width:991px) {
	.open #site_search {
		width: 320px;
	}
}

#footer .uabb-creative-menu-expanded ul.sub-menu li a,
#footer .uabb-creative-menu-accordion ul.sub-menu li a,
#footer .uabb-creative-menu-accordion ul.sub-menu li .uabb-has-submenu-container a,
#footer .uabb-creative-menu-expanded ul.sub-menu li .uabb-has-submenu-container a {
	text-indent: 0;
}

@media (max-width:767px) {
	#footer .sub-menu {
		display: block !important;
	}
}

/**********************************************************
 * HOME
 * *******************************************************/

.fl-module-content-slider .bx-wrapper {
	margin-bottom: 0 !important;
}

.fl-module-content-slider .bx-wrapper .bx-controls-auto,
.fl-module-content-slider .bx-wrapper .bx-pager {
	bottom: 30px;
}

.fl-module-content-slider .bx-wrapper .bx-pager.bx-default-pager a {
	background: #ffffff;
	border: 1px solid #fff;
}

.fl-module-content-slider .bx-wrapper .bx-pager.bx-default-pager a.active,
.fl-module-content-slider .bx-wrapper .bx-pager.bx-default-pager a:focus,
.fl-module-content-slider .bx-wrapper .bx-pager.bx-default-pager a:hover {
	background: #048a98;
	border: 1px solid #fff;
}

/**********************************************************
 * PAGES
 * *******************************************************/

.sqcc-underline-title .uabb-infobox-title {
	padding-bottom: 10px;
	display: inline-block;
	border-bottom: 14px solid #c9a01b;
}

.col-gradient .fl-col-content {
	position: relative;
}

.col-gradient .fl-col-content:before {
	content: "";
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,1.0) 60%, #c9a11c 100%);
    mix-blend-mode: multiply;
}

#timeline .uabb-info-list-content-wrapper.uabb-info-list-left .uabb-info-list-icon {
	margin-right: 0;
}

#timeline .uabb-info-list .uabb-info-list-icon div[class^="custom-character"] {
	width: 38px;
	line-height: 25px;
}

#timeline .uabb-info-list-content-wrapper.uabb-info-list-left .uabb-info-list-content {
	padding-left: 20px;
}

#timeline .uabb-info-list-wrapper.uabb-info-list-left li .uabb-info-list-connector,
#timeline .uabb-info-list-wrapper.uabb-info-list-left li .uabb-info-list-connector-top {
	left: -20px;
}

#timeline .uabb-info-list-connector {
	top: 7px;
	height: 100%;
	border-left-width: 2px;
}

#timeline .uabb-info-list-connector:before {
	content: '';
    position: absolute;
    top: 4px;
    left: -5px;
    background: #c9a11c;
    width: 8px;
    height: 8px;
    border-radius: 100%;
}

#timeline .uabb-info-list-wrapper li:first-child .uabb-info-list-connector {
	top: 11px;
}

#timeline .uabb-info-list-wrapper li:first-child .uabb-info-list-connector:before {
	top: 0;
}

#timeline .uabb-info-list-wrapper li:last-child .uabb-info-list-connector {
	display: block;
	height: 45%
}

.lesson-infobox h3.uabb-infobox-title i {
    font-size: 16px;
    background: #048a98;
    border-radius: 50%;
    color: white;
    padding: 5px 5px 5px 5px;
    margin-top: 10px;
	margin-left: 5px;
}

.lesson-infobox .uabb-imgicon-wrap .uabb-image-content {
    display: block;
    position: relative;
    border-radius: 100%;
    overflow: hidden;
    display: inline-block;
}

.lesson-infobox .uabb-infobox-content {
	border-bottom: 1px solid #c9a11c;
}

.suggested-reads img.uabb-gallery-img {
	box-shadow: 10px 10px 8px 10px #888888;
}

.uabb-image-carousel .uabb-image-carousel-content .uabb-gallery-img, .uabb-masonary-content .uabb-image-carousel-content .uabb-gallery-img {
	box-shadow: 10px 10px 8px 10px #888888;

}

.suggested-reads .uabb-image-carousel-content {
		box-shadow: 0px 0px 8px 0px rgba(85,89,91,0.5);
}

.suggested-reads .uabb-image-carousel-content a {
	position: relative;
}

.suggested-reads .uabb-image-carousel-content a:before {
	content: "";
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,1.0) 60%, #c9a11c 100%);
    mix-blend-mode: multiply;
}

#plan-visit-gallery {
    margin-left: 42px;
    margin-right: 42px;
	padding-bottom: 80px;
    overflow: hidden;
}

#plan-visit-gallery .uabb-image-carousel .slick-slide,
#plan-visit-gallery .uabb-gallery-img {
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}

#plan-visit-gallery .uabb-image-carousel .slick-slide.slick-active {
    transform: scale(0.9);
}

#plan-visit-gallery .uabb-image-carousel .slick-slide.slick-current + .slick-active {
    transform: scale(1);
}

#plan-visit-gallery .uabb-gallery-img {
	height: calc( (180vw / 3)*0.63 ) !important;
	object-fit: cover;
}

#plan-visit-gallery .uabb-image-carousel .slick-prev,
#plan-visit-gallery .uabb-image-carousel .slick-next {
    top: auto;
    bottom: -50px;
    left: 50%;
}

/**********************************************************
 * LIBRARY
 * *******************************************************/
 
#search-facets ul {
	padding: 0;
	list-style-type: none;
}

#search-facets h5 {
	
}

.results_summary {
    display: block;
    font-size: 85%;
    color: #707070;
    padding: 0 0 .5em 0;
}

.results_summary .results_summary {
	font-size: 100%;
}

.results_summary.actions {
	margin-top: .5em;
}

.results_summary.tagstatus {
	display: inline;
}

.results_summary .label {
	color: #202020;
}

.results_summary a {
	font-weight: normal;
}


/**********************************************************
 * EVENTS
 * *******************************************************/

.tribe-events-page-title {
	display: none;
}

#tribe-bar-form {
	background: none;
}

#tribe-bar-form .tribe-bar-submit input[type=submit] {
	background: #048a98;
}

#tribe-bar-form input[type=text] {
	border-bottom: 1px solid #048a98;
}

#tribe-bar-form label {
	color: #048a98;
}

.tribe-bar-date-filter {
	padding-left: 0;
}

.tribe-events-day .tribe-events-day-time-slot .type-tribe_events {
	margin-left: 0;
}

.tribe-events-day .tribe-events-day-time-slot .tribe-events-day-time-slot-heading,
.tribe-events-list-separator-month {
	margin-bottom: 40px;
	background: none;
    padding: 0;
	font-size: 18px;
}

.tribe-events-list .type-tribe_events {
	margin: 0 0 40px;
	padding: 0 0 40px;
	border-bottom-color: #c1b479;
}

.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first {
	padding-top: 0;
}

.tribe-events-list-event-title a,
.tribe-events-month-event-title a {
	color: #048a98;
	font-weight: 500;
    margin: 0;
    padding: 0 0 5px;
}

.tribe-events-tooltip .entry-title {
	color: #048a98;
}

.tribe-events-list-event-title i {
	font-size: 20px;
    background: #048a98;
    border-radius: 50%;
    color: #ffffff;
    padding: 5px 5px 5px 5px;
    margin-top: 10px;
    margin-left: 20px;
}

.tribe-event-schedule-details {
	text-transform: uppercase;
	font-size: 18px;
}

#tribe-events .tribe-events-content p,
.tribe-events-after-html p,
.tribe-events-before-html p {
	line-height: inherit;
}

#tribe-events .tribe-events-content p:last-child,
.tribe-events-after-html p:last-child,
.tribe-events-before-html p:last-child {
	margin-bottom: 0;
}

.tribe-events-list .tribe-events-loop .tribe-events-event-image {
	float: none;
	width: auto;
	margin-right: 1.5rem;
}

.tribe-events-list .tribe-events-event-image img {
	width: 180px;
	height: auto;
}

/***********************************************
*** CUSTOM
***********************************************/

body .ginput_container_list table.gfield_list tbody tr td.gfield_list_icons .add_list_item::before {
    content: "Add ";
}

body .ginput_container_list table.gfield_list tbody tr td.gfield_list_icons .delete_list_item::before {
    content: "Remove ";
}

body .ginput_container_list table.gfield_list tbody tr td.gfield_list_icons .add_list_item {
    margin-left: 20px;
    margin-right: 20px;
}

body .ginput_container_list table.gfield_list tbody tr td.gfield_list_icons {
    width: 200px !important;
}

.newsletter-custom-style {
	position: relative;
}

.newsletter-custom-style .ginput_container.ginput_container_email input {
	margin-left: auto;
	margin-right: auto;
	min-width: 680px;
}

.newsletter-custom-style .gform_footer.top_label {
	display: inline-block;
	width: auto;
	position: absolute;
	top: 0;
	right: 50%;
	margin: auto;
	padding-top: 0;
	margin-top: 0;
	transform: translateX(340px);
}

@media screen and (max-width: 740px) {
	.newsletter-custom-style .ginput_container.ginput_container_email input {
		min-width: 50vw !important;
	}
	.newsletter-custom-style .gform_footer.top_label {
		transform: translateX(47vw);
	}
	.newsletter-custom-style .gform_footer.top_label input {
		max-height: 60px;
	}
}

#tribe-bar-views .tribe-bar-views-inner {
	background: none;
}

#tribe-bar-form .tribe-bar-submit input[type=submit]:hover {
	background: #ffffff;
	color: #3299cc;
	border-color: #ffffff;
}

.select {
	cursor: pointer;
	position: relative;
	position: relative;
	min-width: 240px;
}

.hide {
	display: none;
}

select {
	display: none;
}

.gfield select {
	display: block;
}

.select-styled {
	padding: 13px 24px;
	border-radius: 0px;
	background: #048a98;
	border: 1px solid #048a98;
	color: #fff;
}

.select .select-styled {
	text-transform: uppercase;
}

.select .select-styled:after {
	font-family: "Font Awesome 5 Free";
	font-size: 25px;
	content: '\f107';
	position: absolute;
	font-weight: 900;
	top: 9px;
	margin-left: 15px;
}

.select .select-options {
	position: absolute;
	list-style: none;
	top: 100% !important;
	left: 0 !important;
	padding: 0;
	z-index: 1111;
	text-transform: uppercase;
}

.select .select-options li {
	background-color: #f1f1f1;
	border: 1px solid #989898;
	padding-left: 24px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-bottom: none;
}

.select .select-options li:last-child {
	border-bottom: 1px solid #989898;
}

@media (max-width:991px) {
	.select {
		min-width: 200px;
	}
}

#searchform {
	display: flex;
	align-items: flex-start;
	flex-wrap: nowrap;
	flex: 1 1 auto;
}

#searchform .input-append {
	display: flex;
}

@media (min-width:768px) {
	#subscribe input {
		width: 400px;
		border-width: 2px;
	}
}

@media (max-width:991px) {
	#searchform {
		flex-wrap: wrap;
	}
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) {
	display: flex !important;
	flex-direction: column;
	position: relative;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) input[type='text'] {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	font-size: 14px;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) input[type='text']::placeholder {
	font-size: 14px;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li {
	margin-bottom: 5px !important;
	width: 50%;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li label {
	display: none !important;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li.subscription-options {
	position: absolute;
	right: 0;
	top: 0;
	padding-left: 95px;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li.subscription-options li {
	margin-bottom: 25px !important;
	padding-left: 0 !important;
	position: relative !important;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li.subscription-options li label {
	padding-left: 26px;
	position: relative;
	font-size: 15px !important;
	z-index: 1111;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li.subscription-options li:after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	top: 0;
	margin: auto;
	bottom: 0;
	left: 0;
	border-radius: 50%;
	border: 1px solid #048a98;
	display: block;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li.subscription-options li input[type=checkbox]:checked+label {
	font-weight: 400 !important;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li.subscription-options li input[type=checkbox]:checked+label:after {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	top: -4px;
	margin: auto;
	bottom: 0;
	left: 4px;
	border-radius: 50%;
	display: block;
	background-color: #035054;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li.subscription-options li input {
	width: 0;
	height: 0;
	display: none;
	visibility: hidden;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li.subscription-options .gfield_label {
	font-size: 16px;
	color: #048a98;
}

.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li.subscription-options label {
	display: inline-block !important;
}

.subscribe-custom-style_wrapper .gfield_checkbox {
	display: flex !important;
	flex-wrap: wrap;
}

.subscribe-custom-style_wrapper .gfield_checkbox li {
	width: 49%;
	position: static !important;
}

.subscribe-custom-style_wrapper .gform_title {
	text-align: center;
	max-width: 1050px;
	font-size: 36px !important;
	line-height: 1.2;
	text-transform: uppercase !important;
	margin: 40px auto 65px auto !important;
}

.subscribe-custom-style_wrapper input {
	border: 1px solid #048a98 !important;
	min-height: 40px;
	padding-left: 20px;
	font-size: 14px;
	padding-top: 8px;
	padding-bottom: 8px;
	color: #048a98 !important;
	letter-spacing: .5px;
}

.subscribe-custom-style_wrapper input::placeholder {
	color: #cbcbcb !important;
	letter-spacing: .5px;
}

.subscribe-custom-style_wrapper .gform_footer {
	transform: translateY(-20px);
}

.subscribe-custom-style_wrapper .gform_footer input {
	padding: 8px 30px;
	font-size: 14px !important;
	border-radius: 0;
	color: #fff !important;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.subscribe-custom-style_wrapper select {
	color: #048a98 !important;
	border: 1px solid #048a98 !important;
	padding: 6px 8px !important;
	margin-top: 12px !important;
}

#searchform .select-options {
	margin-top: 5px;
}

#tribe-filter-EventCategory {
	display: block !important;
	padding: 0 !important;
	background: transparent !important;
	transform: translateY(-35px);
	box-shadow: none !important;
}

.tribe_events_filter_control.tribe-clearfix,
.tribe-events-filters-label {
	display: none !important;
}

.select .select-options li {
	padding-top: 7px;
	padding-bottom: 7px;
	border-color: #949494;
	font-size: 16px;
}

#tribe_events_filters_wrapper.tribe-events-filters-horizontal input[type=submit] {
	margin-left: 100px;
}

.events-cat-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.events-cat-list a {
	font-size: 18px;
	line-height: 2;
	color: #989898;
	transition: .4s;
}

.events-cat-list a:hover {
	color: #048a98;
}

#searchform .input-append.nolibrarypulldown {
	width: 100%;
	margin-left: 40px;
}

@media (max-width:991px) {
	#searchform .input-append.nolibrarypulldown {
		margin-left: 0;
		margin-top: 20px;
	}
}

#application .gform_wrapper .gf_progressbar {
	background-color: #fff;
	opacity: 1;
	box-shadow: none;
	border: 1px solid #048a98;
	padding: 0;
}

#application .gform_wrapper .percentbar_blue {
	background: #048a98;
}

#application input {
	border: 1px solid #048a98;
}

#application .gfield_radio {
	display: flex;
}

#application .gfield_radio li {
	min-width: 170px;
	margin-left: 30px;
}

#application .gform_wrapper .gfield .ginput_container span label {
	display: none;
}

#application .gfield_radio {
	overflow: visible;
}

#application .gfield_radio li {
	margin-bottom: 25px !important;
	color: #cbcbcb;
	font-size: 16px;
	padding-left: 20px !important;
	position: relative !important;
	display: flex;
	align-items: center;
	padding-top: 4px;
	padding-bottom: 4px;
	overflow: visible;
}

#application .gfield_radio li label {
	line-height: 20px;
	margin-top: 0 !important;
}

#application .gfield_radio li:after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	top: 0;
	margin: auto;
	bottom: 0;
	left: 0;
	border-radius: 50%;
	border: 1px solid #048a98;
	display: block;
	background-color: #fff;
}

#application .gfield_radio li input[type=radio]:checked+label {
	font-weight: 400 !important;
}

#application .gfield_radio li input[type=radio]:checked+label:after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	top: 0;
	margin: auto;
	bottom: 0;
	left: 0;
	border-radius: 50%;
	display: block;
	border: 4px solid #035054;
	z-index: 1;
}

#application .gfield_radio li input {
	width: 0 !important;
	height: 0;
	visibility: hidden;
}

#application .gfield_required {
	display: none;
}

#application input[type=text] {
	border: 1px solid #048a98 !important;
	min-height: 40px;
	padding-left: 20px;
	font-size: 14px;
	padding-top: 8px;
	padding-bottom: 8px;
	color: #048a98 !important;
	letter-spacing: .5px;
}

#application input[type=text]::placeholder {
	color: #cbcbcb !important;
	letter-spacing: .5px;
}

#application .gform_wrapper .ginput_complex.ginput_container {
	display: flex;
	justify-content: space-between;
}

#application .gform_wrapper .ginput_complex.ginput_container input {
	margin-right: 20px;
	display: block;
}

#application .gform_wrapper .ginput_complex.ginput_container span {
	margin-right: 20px;
}

#application .address_country {
	display: none;
}

#application .gf_progressbar_title,
#application .gform_body .gfield_label {
	font-size: 18px;
	color: #048a98;
	opacity: 1;
	font-weight: 700;
}

#application .gf_progressbar_title {
	font-size: 20px;
}

#application #input_1_9_5_container {
	margin-right: 0;
	padding-right: 0 !important;
}

#application .gform_wrapper .gf_progressbar {
	background-color: #fff !important;
}

#application .gform_page_footer input {
	background-color: #048a98;
	border-radius: 0;
	min-width: 220px;
	font-size: 14px;
}

#application .gform_next_button {
	background: url("img/Arrow-next.png");
	background-repeat: no-repeat;
	-webkit-background-size: 16px 9px;
	background-size: 16px 9px;
	background-position: 75% center;
	padding-right: 35px;
}

#application .gform_previous_button {
	padding-left: 35px;
	background: url("img/Arrow-prev.png");
	background-repeat: no-repeat;
	-webkit-background-size: 16px 9px;
	background-size: 16px 9px;
	background-position: 40px center;
}

#application .ginput_complex.ginput_container span:last-child {
	padding-right: 0;
}

#application .ginput_container_checkbox ul {
	display: flex;
}

#application .ginput_container_checkbox ul li {
	min-width: 170px;
	color: #cbcbcb;
	padding-left: 34px;
	padding-bottom: 3px;
	overflow: visible;
}

#application .ginput_container_checkbox ul li label {
	font-size: 16px;
	margin-left: 14px;
}

#application .ginput_container_checkbox ul li:after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	border: 1px solid #048a98;
	background-color: #fff;
	left: 0;
	top: 0;
	bottom: 0;
	margin-top: 6px;
}

#application .ginput_container_checkbox ul li input[type=checkbox]:checked+label {
	font-weight: 400 !important;
}

#application .ginput_container_checkbox ul li input[type=checkbox]:checked+label:after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	left: 0;
	top: 0;
	bottom: 0;
	margin-top: 6px;
	background: url("img/checked.png");
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	z-index: 1;
}

#application .ginput_container_checkbox ul li input {
	visibility: hidden;
	width: 0;
	height: 0;
	position: relative;
}

#application .select-options {
	max-width: 340px;
	margin-top: 5px;
	min-width: 300px;
}

#application .medium.gfield_select {
	min-width: 180px;
	color: #cbcbcb;
	background-color: #fff;
	width: auto;
	max-width: 230px;
}

#application .select-styled:after {
	color: #048a98;
}

#application .ginput_container_address span:nth-child(1) {
	width: 45%;
}

#application .ginput_container_address span:nth-child(2) {
	width: 45%;
}

#gform_confirmation_wrapper_7 {
    padding: 100px 0;
}

@media screen and (max-width: 1330px) {
	.pattern-left>div:before,
	.pattern-right>div:after {
		width: 36px;
	}
}

.gform_wrapper .gf_progressbar:after {
	background-color: transparent !important;
}

@media screen and (max-width: 710px) {
	.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li.subscription-options {
		position: static;
		padding-left: 0;
	}
	.subscribe-custom-style_wrapper ul:not(.gfield_checkbox) li {
		width: 100%;
	}
	.subscribe-custom-style_wrapper ul.gfield_checkbox li {
		width: 49%;
	}
	.name_first {
		margin-bottom: 35px !important;
	}
	.subscribe-custom-style_wrapper ul.gfield_checkbox {
		width: 100%;
		display: flex;
	}
}

/***********************************************
*** SEARCH / LIBRARY
***********************************************/

#booleansearch p {
	display: flex;
	align-items: center;
}

#booleansearch a {
	line-height: 26px;
}

#booleansearch input,
#booleansearch select {
	width: 30%;
	display: block;
	margin-right: 20px;
}

#booleansearch select {
	border: 1px solid #048a98;
	padding: 10px;
	color: #989898;
}

#advsearch-itemtypes {
	border: 1px solid #cbcbcb;
	border-top: 1px solid #cbcbcb;
	margin-top: -7px;
	padding: 10px;
}

.bibliocol {
	padding-bottom: 30px !important;
}

.results_summary {
	padding: 0;
}

.results_summary b {
	color: #989898 !important;
	font-weight: 400 !important;
}

#advsearches {
	margin-top: 40px;
	margin-bottom: 40px;
}

#advsearches ul {
	list-style: none;
}

#advsearches fieldset {
	display: none;
}

#advsearches fieldset.active {
	display: block;
}

#advsearches .ui-tabs-nav {
	display: flex;
	padding: 0;
}

#advsearches .ui-tabs-nav li {
	margin-right: 5px;
}

#advsearches .ui-tabs-nav li a {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border: 1px solid #cbcbcb;
	padding: 10px;
	background-color: #cbcbcb;
}

#advsearches .ui-tabs-nav li a.active {
	background-color: #fff;
	border-bottom: 1px solid #fff;
}

.form-block legend {
	color: #048a98;
	padding-bottom: 5px;
	margin-bottom: 30px;
	border-bottom: 1px solid #048a98;
}

.form-block .checkbox-inside {
	min-width: 170px;
	padding-bottom: 3px;
	overflow: visible;
	display: flex;
}

.form-block .checkbox-inside label {
	padding-left: 34px;
	position: relative;
	font-size: 16px;
}

.form-block .checkbox-inside label:after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	border: 1px solid #048a98;
	background-color: #fff;
	left: 0px;
	top: -5px;
	bottom: 0;
	margin-top: 6px;
}

.form-block .checkbox-inside input[type=checkbox]:checked+label {
	font-weight: 400 !important;
}

.form-block .checkbox-inside input[type=checkbox]:checked+label:after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	left: 0;
	top: 0;
	bottom: 0;
	margin-top: 6px;
	background: url("img/checked.png");
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	z-index: 1;
}

.form-block .checkbox-inside input {
	visibility: hidden;
	width: 0;
	height: 0;
	position: relative;
}

.form-block select {
	border: 1px solid #048a98;
	padding: 10px;
	max-width: 100%;
	color: #989898;
}

.form-block select {
	display: block;
}

.btn.btn-primary {
	border: 0 !important;
	border-radius: 0 !important;
	text-transform: uppercase;
	font-family: "gill-sans-nova", sans-serif;
	font-size: 18px;
	padding: 14px 30px;
}

.search-results .fl-html .row-fluid {
	display: flex;
	flex-direction: row-reverse;
	border-top: 1px solid #c09200;
	padding-top: 50px;
}

.search-results .fl-html .row-fluid #facetcontainer {
	background: url("img/sqcc-pattern.png") #333333;
	background-repeat: repeat-x;
	background-position: center bottom;
	padding-top: 50px;
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 120px;
}

.search-results .fl-html .row-fluid #search-facets h4 {
	margin-bottom: 20px;
}

.search-results .fl-html .row-fluid #search-facets h4 a {
	font-size: 26px;
	font-weight: 400;
}

.search-results .fl-html .row-fluid #availability_facet {
	margin-bottom: 20px !important;
}

.search-results .fl-html .row-fluid #availability_facet:before {
	content: '';
	display: inline-block;
	margin-bottom: 4px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: #c09200;
	margin-right: 6px;
}

.search-results .fl-html .row-fluid #availability_facet ul {
	margin-top: 15px;
	margin-bottom: 15px;
	padding-top: 15px;
	border-top: 1px solid #c09200;
}

.search-results .fl-html .row-fluid #availability_facet ul a {
	font-size: 20px;
}

.search-results .fl-html .row-fluid #availability_facet ul a:before {
	content: '';
	display: inline-block;
	margin-bottom: 4px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: #c09200;
	margin-right: 6px;
}

.search-results .fl-html .row-fluid .menu-collapse>li {
	display: block !important;
	border-bottom: 1px solid #c09200 !important;
	margin-bottom: 20px;
}

.search-results .fl-html .row-fluid .sort_by.pull-right,
.search-results .fl-html .row-fluid #top-pages {
	display: none;
}

.search-results .fl-html .row-fluid #numresults {
	font-size: 26px;
	margin-bottom: 0;
}

.search-results .fl-html .row-fluid #numresults strong {
	font-weight: 400;
	color: #048a98;
}

.search-results .fl-html .row-fluid #didyoumean {
	margin-bottom: 40px;
}

.search-results .fl-html .row-fluid .bibliocol {
	border-top: 1px solid #c09200;
	background-color: #f1f1f1;
}

.search-results .fl-html .row-fluid .table,
.search-results .fl-html .row-fluid .results_summary .label {
	color: #989898;
}

.search-results .fl-html .row-fluid .results_summary .label {
	font-weight: 600;
	font-size: 17px;
}

.search-results .fl-html .row-fluid .results_summary.type {
	font-weight: 400 !important;
}

.search-results .fl-html .row-fluid .results_summary.type span:first-child {
	font-weight: 600;
}

.search-results .fl-html .row-fluid .pagination.pagination-small.noprint ul {
	display: flex;
	list-style: none;
}

.search-results .fl-html .row-fluid .pagination.pagination-small.noprint ul a {
	color: #c09200;
	font-weight: 500;
	font-size: 22px;
	position: relative;
	margin-right: 10px;
}

.search-results .fl-html .row-fluid .pagination.pagination-small.noprint ul a:after {
	position: absolute;
	content: '';
	width: 100%;
	height: 1px;
	bottom: 5px;
	left: 0;
	right: 0;
	display: block;
	background-color: #c09200;
}

.search-results .fl-html .row-fluid .span3 .facet-count,
.search-results .fl-html .row-fluid .span3 a {
	color: #989898;
	font-size: 16px;
	line-height: 1;
}

.search-results .fl-html .row-fluid h1,
.search-results .fl-html .row-fluid h2,
.search-results .fl-html .row-fluid h3,
.search-results .fl-html .row-fluid h4,
.search-results .fl-html .row-fluid h5,
.search-results .fl-html .row-fluid h6 {
	color: #c09200 !important;
}

.search-results .fl-html .row-fluid .menu-collapse-toggle,
.search-results .fl-html .row-fluid #availability_facet {
	color: #c09200 !important;
}

.search-results .fl-html .row-fluid .menu-collapse-toggle a,
.search-results .fl-html .row-fluid .menu-collapse-toggle h1,
.search-results .fl-html .row-fluid .menu-collapse-toggle h2,
.search-results .fl-html .row-fluid .menu-collapse-toggle h3,
.search-results .fl-html .row-fluid .menu-collapse-toggle h4,
.search-results .fl-html .row-fluid .menu-collapse-toggle h5,
.search-results .fl-html .row-fluid .menu-collapse-toggle h6,
.search-results .fl-html .row-fluid #availability_facet a,
.search-results .fl-html .row-fluid #availability_facet h1,
.search-results .fl-html .row-fluid #availability_facet h2,
.search-results .fl-html .row-fluid #availability_facet h3,
.search-results .fl-html .row-fluid #availability_facet h4,
.search-results .fl-html .row-fluid #availability_facet h5,
.search-results .fl-html .row-fluid #availability_facet h6 {
	color: #c09200 !important;
}

.search-results .fl-html .row-fluid .showmore a {
	color: #c09200;
	font-size: 18px;
	margin-top: 20px;
	margin-bottom: 20px;
	text-transform: uppercase !important;
	display: inline-block;
}

.search-results .fl-html .row-fluid .maincontent {
	padding-right: 70px;
}

.search-results .fl-html .row-fluid .menu-collapse {
	list-style: circle;
}

.search-results .fl-html .row-fluid .menu-collapse li {
	font-size: 20px;
	line-height: 1;
}

.search-results .fl-html .row-fluid .menu-collapse li h5 {
	font-size: 20px;
	margin-bottom: 0;
	font-weight: 400;
}

.search-results .fl-html .row-fluid .menu-collapse li h5:before {
	content: '';
	display: inline-block;
	margin-bottom: 4px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: #c09200;
	margin-right: 6px;
}

#views {
	display: flex;
	margin-bottom: 40px;
}

#views .view {
	padding-right: 20px;
	padding-left: 20px;
	font-size: 24px;
	border-left: 1px solid #c09200;
}

#views .view a {
	color: #cbcbcb;
}

#views .view:first-child {
	padding-left: 0;
	border-left: 0;
}

#views .view:first-child span {
	color: #048a98 !important;
}

.article-single-custom h1.title {
	font-size: 26px;
}

.article-single-custom .author {
	font-size: 24px;
}

.article-single-custom .relatorcode {
	display: none;
}

.article-single-custom .results_summary {
	line-height: 1.1;
	padding: 0;
}

.article-single-custom .results_summary span {
	font-size: 18px;
	color: #989898 !important;
	padding: 0;
	line-height: 1.25;
}

.article-single-custom .results_summary span.label {
	font-weight: 700 !important;
}

.article-single-custom #bibliodescriptions {
	padding-bottom: 30px;
	border-bottom: 1px solid #c09200;
}

.article-single-custom #holdings .table-bordered {
	border-color: #f1f1f1;
}

.article-single-custom #holdings table a {
	margin: 0;
	font-size: 18px;
	color: #048a98;
}

.article-single-custom #holdings table a:after {
	display: none;
}

.article-single-custom #holdings thead th {
	border: none !important;
	background-color: #f1f1f1;
	vertical-align: baseline;
	color: #989898;
}

.article-single-custom #holdings td {
	line-height: 1.1;
}

.article-single-custom #holdings .table-bordered td,
.article-single-custom #holdings .table-bordered th {
	border-color: #c09200;
	color: #989898;
}

.article-single-custom .toptabs {
	margin-top: 50px;
	margin-bottom: 40px;
}

.article-single-custom .toptabs>ul {
	margin-bottom: 40px;
	padding: 0;
	list-style: none;
	display: flex;
}

.article-single-custom .toptabs li:first-of-type a {
	color: #048a98;
}

.article-single-custom .toptabs a {
	font-size: 25px;
	margin-right: 50px;
	position: relative;
	display: inline-block;
	color: #989898;
}

.article-single-custom .toptabs a:after {
	content: '';
	top: 3px;
	display: block;
	width: 1px;
	height: 100%;
	background-color: #c09200;
	right: -25px;
	position: absolute;
}

.article-single-custom .toptabs li:last-child a:after {
	display: none;
}

.article-single-custom .results_summary {
	color: #989898 !important;
}

.article-single-custom .results_summary * {
	color: #989898 !important;
}

.article-single-custom .span3 > #action,
.article-single-custom .span3 #ulactioncontainer {
	padding-top: 30px;
	padding-bottom: 150px;
	background: url("img/sqcc-pattern.png") #333;
	background-repeat: repeat-x;
	background-position: center bottom;
}

.article-single-custom .span3 > #action,
.article-single-custom .span3 > #action ul,
.article-single-custom .span3 #ulactioncontainer ul {
	list-style: none;
	padding-left: 20px;
}

.article-single-custom .span3 > #action li,
.article-single-custom .span3 #ulactioncontainer ul li {
	position: relative;
}


/*
.article-single-custom .span3 #ulactioncontainer ul ul li:before {
  content: '';
  position: absolute;
  height: 4px;
  width: 4px;
  left: -15px;
  bottom: 0;
  top: 0;
  margin: auto;
  background-color: #c09200;
  border-radius: 50%;
  display: block;
}*/

.article-single-custom .span3 > #action a,
.article-single-custom .span3 #ulactioncontainer a {
	color: #c09200;
	font-size: 18px;
}

.custom-search-article .pp-search-form__container {
	display: flex;
	flex-direction: row-reverse;
}

.custom-search #searchform {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-around;
}

.custom-search .select .select-options li {
	padding-left: 15px;
	text-align: left;
}

.custom-search .select {
	min-width: 150px !important;
	text-align: center;
}

.custom-search .select .select-styled:after {
	display: none;
}

.ginput_complex br {
    display: none;
}

.gf_progressbar p {
    display: none;
}

.ginput_complex p {
    display: inline;
}


body #application .gfield_radio li label {
    margin-left: 0 !important;
}

body #application .gfield_radio li {
    padding-left: 0 !important;
}

body #application .gfield_radio li label {
    padding-left: 38px !important;
    position: relative;
    z-index: 1 !important;
}

body #application .gfield_radio li input[type=radio]:checked+label:after {
    left: -1px;
    z-index: -1;
}

.ui-datepicker-title select {
    display: inline-block;
}

