/* basic layout fixes */
body.site {border-top: none !important; background-color: #fff; padding:0;}
.body .container {padding:0; border:none; box-shadow:none; margin-right: 0; margin-left: 0; max-width:none; width:auto; background:#0179bf; -moz-border-radius: 0; -webkit-border-radius: 0;}
.header {background:#fff; padding-bottom: 20px;}
#content {background:rgba(1, 121, 191, 0.58);}
.well.nsltr, .well.nsltrtext {background:#a4ce39;}
.well.nsltrtext {padding-top: 0;}
.well.nsltr {padding-bottom: 10px;}
.customnsltrtext {font-size: 12px; color: #2b467d; font-weight:bold;}
.well {background:#AA5AA3;}
.inner {max-width:960px; padding:20px 20px 0 20px; margin-left:auto; margin-right:auto;}
.header {margin-bottom: 0; margin-top: 40px;}
.well {margin-bottom:0; border: none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; padding:20px;}
.well .page-header {margin: 0px 0px 14px 0px;}
.item-page .pull-left.item-image {margin-right:0;}
.blog p, .blog h2 {margin-right: 20px;}
.body .container{background: #0179bf url("../../../images/layout_graphics_only/basemap.html") repeat center top;}
.custom_ytfp {margin-bottom: 20px;}
textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {border-radius:0; width: 100%; border: none;}
.row-fluid .span3 {margin-left:0;}.item-page img {margin-right: 20px !important;}

/* menu */
.off-menu_109 dl.level2 > .parent:after {display:none;}
dt.level1.off-nav-124.parent a, dt.level1.off-nav-125.parent a, dt.level1.off-nav-126.parent a, dt.level1.off-nav-127.parent a {pointer-events: none; cursor: default;}/* on-page nav */.pager li > a, .pager li > span {background-color: #a4ce39; border: 2px solid #fff; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; color: #fff;}.pager li > a:hover, .pager li > a:focus {background-color: #0179bf;}

/* typography */
body {font-family: "Montserrat";}
body, #content p, #content li, dl#dp-event-date, dl#dp-event-location {color: #fff; font-size:15px !important; }
p {margin: 0 0 20px;}
p, li {line-height:28px;}
a {color: #fff; text-decoration:none;}
a:hover, a:focus {color: #fff; text-decoration:underline; }
h2, .fc-header-title h2, h2.dp-event-title {font-weight:normal; font-size: 28px; line-height: 1.3em; color: #a4ce39;}
.page-header {border-bottom: none;}
h2.dpcal-event-header, h3 {color: #fff; border-bottom: none; font-weight: normal; font-size: 1.5em;}
h3 {color: #B2E1FF; margin-bottom: 20px; line-height:30px;}
h3.page-header {color: #2b467d;}
p.img_caption {font-style: italic;}
label, input, button, select, textarea {font-size: 15px;}
.customnsltrtext p {line-height: 16px;}

/* buttons */
.btn, span.fc-button.fc-button-prev.fc-state-default.fc-corner-left, span.fc-button.fc-button-next.fc-state-default.fc-corner-right, .button1 a, .button2 a, .custom_fpbtns  ul li a{font-size: 16px; line-height: 20px; color: #2b467d; text-shadow: none; background-image: none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; -webkit-box-shadow: none;}

.btn-primary, .btn, span.fc-button.fc-button-prev.fc-state-default.fc-corner-left, span.fc-button.fc-button-next.fc-state-default.fc-corner-right, .fc-header .fc-button, ul.nav.nav-tabs.nav-stacked li a, .fc-state-default, .button1, .button2 a, .custom_fpbtns  ul li a{color: #fff; text-shadow: none; background-color: #a4ce39; background-image: none; filter: none; border: 2px solid #fff; font-family: "Montserrat"; border-radius:0 !important;}

.btn:hover, .btn:focus, .btn:active, .btn.active, .btn.disabled, .btn[disabled], .btn:hover, .btn:focus, .btn:active, .btn.active, .btn.disabled, .btn[disabled], ul.nav.nav-tabs.nav-stacked li a:hover, .button2 a:hover, .custom_fpbtns  ul li a:hover {color: #fff; background-color: #0179bf; text-decoration:none;}

.button1 {padding:0; margin-top:.5em; margin-bottom:.5em;}
.button1 p {margin:0;}
.button1 p {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
	padding: 0 1em;
}
.button1 a:hover {color:#fff;}

.icon-chevron-right:before, .icon-rightarrow:before, .icon-arrow-right:before {content: "\2a";}
.button1 {}
.custom_fpbtns  ul li a {display:block; text-align: center; padding:10px;}
.custom_fpbtns  ul li {float: left; list-style-type: none; width: 30%; }
.custom_fpbtns  ul li:nth-of-type(2){width: 40%; }
.custom_fpbtns  ul {height:30px; margin:0; margin-bottom: 30px;}

/* DocMan-related formatting */
.table-striped tbody > tr:nth-child(odd) > td, .table-striped tbody > tr:nth-child(odd) > th {background-color: #0179bf;}
.table th, .table td {border:0;}
.koowa .koowa_media--gallery .koowa_media__item__thumbnail, .koowa .koowa_media--gallery .koowa_media__item__thumbnail img, .thumbnail {border-radius: 0;}
.well._upload h3, .well.editacc h3 {color: #fff;}
.well._upload {background: rgba(170, 90, 163, 1);}
form#login-form {margin-bottom: 0;}
.logout-button {text-align: center;}
.k-ui-namespace .koowa_media--gallery .koowa_media__item img {max-width: 120px;}
.k-ui-namespace .koowa_header__item {display:block;}

/* calendar*/
.dp-upcoming-calendar-background {background-color: #0179bf !important;}
.dp-upcoming-text-day {color: #0179bf !important;}
.well.eventssum a {color: #2b467d;}
td.fc-day.fc-fri.fc-widget-content.fc-today.fc-state-highlight {background: #AA5AA3;}
.fc-widget-header, .fc-widget-content {border: 2px solid #0179bf;}
table.fc-border-separate tbody{background:#fff;}
.fc-event-inner {color: #000;}
#dpcalendar_view_toggle_status {display: none;}
span.fc-button.fc-button-datepicker.fc-state-default.fc-corner-left.fc-corner-right, span.hidden-phone.fc-button.fc-button-print.fc-state-default.fc-corner-left.fc-corner-right {display:none;}
.fc-text-arrow {line-height: 22px;}
.fc-list-header.fc-widget-header, tr.fc-first.fc-last {color: #fff;}
th.fc-day-header {font-weight: normal;}
.dp-container .page-header {border-bottom: none;}
a.hasTooltip.btn.btn-small.btn-default.btn-sm, span.hasTooltip.btn.btn-default.btn-small.btn-sm {display: none;}
.dplocations {background: #fff; padding: 20px; padding: 5px 20px;}
.dp-container a {color: #fff;text-decoration: underline;}
.dplocations h3 a {color:#AA5AA3; font-weight: normal;}
.dp-container [class^="icon-"], .dp-container [class*=" icon-"] {display:none;}
div#dpcalendar_component {margin-top: 40px;}
.dp-event-header {border-bottom: 2px solid #2b467d;}
.mod-dpcalendar-upcoming-default__description {display: none;}

/* map */
.custom_mappo {margin-bottom: -4px;}
.custom_mappo iframe {margin:0; border:none; overflow:hidden;}

.maps iframe {pointer-events: none;}

/* breadcrumbs */
.navigation {padding: 0; border-top: none; border-bottom: none; margin-bottom: 0;}.breadcrumb {padding: 0; margin: 0 0 10px 0; background-color: transparent; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0;}.breadcrumb > li {text-shadow: none;}.breadcrumb > li, .breadcrumb > .active {color: #ffffff;}

/* logo block and social share stuff*/
.custom_logos {margin-left: -20px; margin-bottom: 20px; background-color: #fff; padding:20px;}
.ampz_support_author {display: none;}
#ampz_inline_bottom {margin-bottom: 28px;}

/* footer */
.footer {background: #2b467d;}
.footer .inner {padding:20px 0px 20px 0px;}
.customeutext img {width: 80px; float: left; margin-right: 10px;}
.footer p {font-size:12px; line-height:16px;}

/* soc med icons */
.header-search.pull-right {position:fixed; top:0; right:0; z-index: 10;}
.header-search.pull-right div {float: left;}

/* image captions */
p.img_caption {text-align: left !important; line-height: 22px; margin-top: 10px;}

/* twitter feed, sub to our nletter and FP events module*/
.well.nsltr form, .well.nsltrtext form {margin-bottom:10px;}
.well._tweeto {padding: 0; background: #fff;}
.timeline-Widget {border-radius: 0;}
.well.eventssum a , .well.eventssum h3.page-header {color: #fff;}
.dp-module-upcoming-default-event {margin-left:50px;}
.well.eventssum div[itemprop="startDate"] {display:none;}
.dp-module-upcoming-default-container {margin-bottom: 20px !important; min-height: 40px;}
#aside {background: #fff;}

/* consortium table*/
table.consortium tbody tr td {vertical-align: middle; padding:10px; background-color: rgba(43, 70, 125, 0.3);}
table.consortium { border: none; border-spacing: 10px; border-collapse: separate;}
table.consortium tbody tr td.picrow {background-color: #fff; text-align: center;}

/*YT video channel feature*/
#ymax .yl-view-string, #ymax .yl-view-string, #ymax .yl-title {font-family: "Montserrat";}
.yl-list-title {display: none;}
.yl-wrapper {padding-top: 0 !important; padding-bottom: 0 !important;}
iframe, svg {border: none;}

/* phone portrait rules */
@media (max-width: 480px) {
.sm-content {margin-top: 40px;}
}

/* general phone rules */
@media (max-width: 767px) {
.footer .inner {padding:20px 20px 20px 20px;}
}

/* desktop rules */
@media (min-width: 1200px){
.row-fluid [class*="span"] {margin-left:0; }
#content .inner {max-width:none; }
.row-fluid, .navigation {max-width: 960px;  margin: 0 auto;}
.footer .inner {padding: 10px;}
.row-fluid, .navigation {display: flex;}
}

/* some tablet rules */
@media (max-width: 979px) and (min-width: 768px)
{
.row-fluid .span3 {width: 25.531914901%;}
.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {width: 734px;}
}

@media (max-width: 1024px) and (min-width: 768px)
{
.row-fluid .span3 {width: 25.531914901%;}
}

/* GDPR */
.acysubbuttons input {margin-bottom: 5px; width: 70%;}

/* new menu */
#gruemenu {position:relative !important; width: auto !important; float: right;}
#gruemenu, #gruemenu.grue_130 > ul > li:hover > a, #gruemenu.grue_130 > ul > li > a:hover, #gruemenu.grue_130 > ul > li.active > a {height: 50px;}
.header-search.pull-right {width: 100%; background: #2b467d;}
@media screen and (max-width: 1343px){
#navigation-toggle {top: 5px !important;}
}

/* fix IE problem in revoke bar */
.cc-revoke.cc-center.cc-revoke-bottom {
top: auto;
}

/* fix calendar map getting hidden */
.mod-dpcalendar-upcoming-default__map.dp-map.leaflet-container.leaflet-fade-anim.dp-map_loaded {
    z-index: 0;
}

/* tidy ups in process of freezing site */
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
	background-color: transparent;
}

.table-bordered {
    border: none;
}

/* hide unwanted nav */

.docman_category p a {display: none;}
.btn-toolbar.koowa_toolbar.k-no-wrap {display: none;}
td.k-no-wrap a {display: none;}
.item-page p, .span12 p {clear: both;}

.img_caption.none {
    margin-left: 0;
    margin-right: 0;
}