
/* url tidy-ups */
body.node-type-stories .breadcrumb li.last {display: none;}
body.node-type-media .breadcrumb li.last {display: none;}
body.node-type-event .breadcrumb li.last {display: none;}

/* where we work map */
body.page-where-we-work-map {}
.view-where-we-work .view-content {margin-bottom: 30px;}

/* resources */
.view-resources .views-field-title {font-weight: bold;}
.views-exposed-widget .btn-info {background: #444; color: #fff; border-color: #ccc;}
.views-exposed-form .views-exposed-widget .form-submit {margin-top: 25px;}

/* new two column teaser layout */
.view-mode-new_two_column_teaser  { margin-bottom: 10px; border: 1px solid #f2ede9; background: #f2ede9; padding: 15px 0;}
.view-mode-new_two_column_teaser h2 {padding-top: 0; margin-top: 5px; font-weight: 300;}


/* new page links and downloads blocks */
.related-links, .related-downloads {border: 1px solid #f2ede9; padding: 8px; margin-top: 20px;}
.related-links {padding-left: 60px; background: #f7f4f2 url('images/external.png') no-repeat 10px 10px;}
.related-downloads {padding-left: 60px; background: #f7f4f2 url('images/download.png') no-repeat 10px 10px;}  
.related-links h4, .related-downloads h4 {margin-bottom: 20px; }
.related-links ul, .related-downloads ul {padding: 0; margin: 0;}
.related-links ul li, .related-downloads ul li {list-style-type: none; border-bottom: 1px solid #f2ede9; margin-bottom: 8px;}
.related-links ul li:hover, .related-downloads ul li:hover {border-right: 1px solid #e14f42; border-bottom: 1px solid #e14f42;}
.node a {}
.node a:hover {color: #e14f42;}

/* social blocks front */
.social img {max-width: 35px;}
.social.inside {text-align: center;}
.social.inside img {max-width: 32px;}

/* additional menu in right sidebar */
.region-sidebar-second .block {background: #f7f4f2; border: 1px solid #f2ede9; padding: 8px;}
.region-sidebar-second h2 {font-size: 16px; text-transform: uppercase; margin-top: 10px;}
.additional-menu li a {display: block; padding-bottom: 5px; border-bottom: 1px solid #f2ede9; margin-bottom: 5px;}
.additional-menu li.last a {border-bottom: 0;}

/* media releases block */
#block-views-news-list-block-3 h2.block-title {border-bottom: 1px solid #ccc; margin-bottom: 20px;}

/* search */
.search-info {display: none;}
.search-results h3.title a:hover {color: #666; text-decoration: underline;}
.search-results li {margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid #eee;}

/* footer menu */
#footer-sitemap a.fs-root-link {color: #000; font-weight: bold; border-bottom: 0px;}
#footer-sitemap a {font-size: 90%; padding-bottom: 5px; padding-top: 5px; border-bottom: 1px solid #e6ddd6; display: block; color: #737270;}
#footer-sitemap li.menu-6595 {display: none;}


/* newsletter signup */
.block.newsletter-signup {background: #e14f42; padding: 20px 0; margin-bottom: 0;}
body.not-front .block.newsletter-signup {margin-top: 40px;}
.newsletter-signup .form-control, .newsletter-signup p {margin-bottom: 5px;}
.newsletter-signup p {color: #fff; font-weight: bold; margin-top: 7px;}
#mce-responses .response {color: #fff;}
.newsletter-signup .btn-default {border-radius: 0; color: #e14f42; background: #fff; border: 1px solid #8a1e04; text-transform: uppercase; }

/* homepage focus view */
#block-views-focus-page-block-1 {text-align: center; margin: 40px 0;}
.view-Focus-Page .field-name-field-image, .view-display-id-block_1 .field-name-field-image-attach {margin-bottom: 10px; padding-bottom: 4px; background: url('images/focus_img_bg.jpg') no-repeat bottom center;}
.view-Focus-Page .field-name-field-link a {display: inline-block; border: 2px solid #e14f42; text-transform: uppercase; color: #000; padding: 10px 15px; margin-top: 20px; font-size: 90%;}

/* page layouts */
.field-name-field-focus-text {margin-bottom: 20px;}
.field-name-field-attached-files-docs {margin-top: 20px; display: inline-block; padding: 10px; background: #e14f42;}
.field-name-field-attached-files-docs a {color: #fff;}
.field-name-body img {max-width: 100%; margin: 20px 0 20px 20px;}

/* homepage */
.home-welcome p {font-size: 18px;}
.home-welcome hr {width: 20%; border-width: 3px; margin: 20px auto; border-color: #e14f42;}

/* bootstrap carousel */
.carousel-caption {text-align: left; text-shadow: 0px 0px 0px; max-width: 400px; left: 5%;}
.carousel-caption h1 {width: 350px; line-height: 1.3;}
.carousel-caption h1 .title {font-size: 32px; background-color: #8a1e04; box-shadow: 0.5em 0 0 #8a1e04,-0.2em 0 0 #8a1e04; color: #fff; font-weight: normal;}
.carousel-caption p {color: #fff; display: inline-block; text-shadow: 2px 2px 2px #000; font-weight: bold;}
.carousel-caption .link {margin-top: 20px;}
.carousel-caption .link a {display: inline-block; background: rgba(74, 71, 67, 0.8); border: 2px solid #8a1e04; padding: 15px 30px; text-transform: uppercase; color: #fff; font-weight: bold;}
.carousel-caption p {margin: 20px 0;}
.container.relative {position: relative;}

/* header */
.region-header .block, .region-header .view {margin-bottom: 0;}
.donate-block p a {display: block; background: #8a1e04; color: #fff; padding: 10px 30px; text-align: center; text-transform: uppercase; margin-top: 15px; -webkit-transition: 1s; transition: 1s;}
.donate-block p a:hover {background: #e14f42;}
body.front #navbar {margin-bottom: 0;}
#navbar {background: #e14f42; border-bottom: 0;}

/* main menu second level */
.bg-red {background: #bb2f22;}
#navbar .main-menu-second-level.block {margin-bottom: 10px;}
#navbar .main-menu-second-level .menu-block-wrapper ul.menu li {float: left; margin: 10px 0 0;}
#navbar .main-menu-second-level .menu-block-wrapper ul.menu li.last a {border: 0 none;}
#navbar .main-menu-second-level .menu-block-wrapper ul.menu li a {margin: 0; border-right: 1px solid #e14f42; padding: 0 15px; text-transform: none; font-size: 14px; color: #E6C2BF}
#navbar .main-menu-second-level .menu-block-wrapper ul.menu li a.active-trail,
#navbar .main-menu-second-level .menu-block-wrapper ul.menu li a:active,
#navbar .main-menu-second-level .menu-block-wrapper ul.menu li a:focus,
#navbar .main-menu-second-level .menu-block-wrapper ul.menu li a:hover {color: #fff; text-decoration: none; background: transparent;}

#navbar li a {text-transform: uppercase; color: #fff;}
#navbar li a.active-trail,
#navbar li a:hover {background: #bb2f22;}
.container>.navbar-collapse {margin-left: -15px; margin-right: -15px;}
.logo-region {background: #f2ede9 url('images/koru_head.png') no-repeat top center; }
.slogan {font-weight: bold; font-size: 18px; color: #444; margin-top: 30px;}
a.logo img {max-width: 170px;}

.navbar-default .navbar-toggle {border: 0px; padding: 7px 10px; border-radius: 0;}
.navbar-default .navbar-toggle .icon-bar {background-color: #fff;}
.navbar-toggle .icon-bar {height: 4px; border-radius: 0;}

/* homepage emergency */
.view-emergency {color: #b94a48; background-color: #f2ede9; border-color: #ebccd1;}
.view-emergency h1 .normal {font-weight: 300;}
.view-emergency .closing {padding: 15px;}
.view-emergency .views-field-field-link {display: inline-block; text-transform: uppercase; padding: 5px 20px; border: 2px solid #8a1e04; margin-top: 10px;}
.view-emergency .views-field-field-link a {color: #8a1e04; font-weight: bold;}
.view-emergency button.close {font-size: 23px; display: inline-block; width: 30px; height: 30px; border-radius: 50%; background: #8a1e04; margin-top: 10px; opacity: 1; color: #fff; text-shadow: 0px 0px 0px;}

/* header search block */
.search {border-left: 1px solid #f2ede9; border-right: 1px solid #f2ede9; min-width: 200px;}
.search.col-md-2 {padding: 0;}
.search .form-control {border: 0px; background: transparent; border-radius: 0px; box-shadow: 0px 0px 0px; color: #fff; height: auto; padding: 15px;}
.search .btn {background: none; border: 0px; color: #fff;}
.search .btn i {font-size: 24px;}
.form-control::-webkit-input-placeholder { color: #555; }
.form-control:-moz-placeholder { color: #555; }
.form-control::-moz-placeholder { color: #555; }
.form-control:-ms-input-placeholder { color: #555; }

/* content region */
body.front .region-content {margin-top: 50px;}
.field-name-body p a {font-weight: bold;}
.field-name-field-focus-text {font-size: 18px; border-bottom: 1px solid #ccc; padding-bottom: 20px; margin-bottom: 20px;}

/* full-width region */
.full-width {padding: 30px 0 50px 0; background: #fbfaf8 url('images/koru_large_bg.jpg') no-repeat bottom center;}
.full-width .block {margin-top: 20px;}
.full-width h1 {font-weight: 300; padding-top: 0; margin-top: 0;}
.full-width h1 strong {display: inline; border-bottom: 2px solid #8a1e04;}
.video-container {position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden;}
.video-container iframe, .video-container object, .video-container embed {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.home-action td {vertical-align: top;}
.home-action img {margin-right: 30px; margin-bottom: 40px;}
.home-action h3 {font-size: 16px; margin-top: 0px;}

/* pre footer */
.region-prefooter {padding: 40px 0;}
.region-prefooter h1 {font-weight: 300; padding-top: 0; margin-top: 0; margin-bottom: 40px;}
.region-prefooter h1 .underlined {border-bottom: 2px solid #8a1e04;}
.region-prefooter .block {margin-top: 20px;}

.home-news .field-name-title {min-height: 50px;}
.home-news .field-name-node-link a {display: inline-block; color: #fff; text-transform: uppercase; background: #8a1e04; padding: 10px 20px; font-size: 90%; margin-top: 20px;}
.home-news .field-name-post-date {text-transform: uppercase; font-weight: bold; font-size: 12px; margin-bottom: 10px;}

/* footer */

.footer {background: #f2ede9;margin-top: 0;}
.subfooter {padding: 60px 0 20px 0; background: url('images/maorifooter.png') repeat-x top;}
.copyright p {color: #8a1e04;}
.subfooter .maori p a {font-weight: bold;}

/********************************** KS ************************************/

/**
 * Global.
 */
body {color: #000000; font-size: 16px;}
.view,
.block { margin-bottom: 1.5em; }
.view .view-content .views-row { margin-bottom: 1em; }
.view .view-content .views-row .views-field { margin-bottom: 0.5em; }
a {color: #8a1e04; -webkit-transition: 1s; transition: 1s;}
a:hover {text-decoration: none;}
.img-responsive {width: 100%;}
.carousel-control .icon-prev, .carousel-control .icon-next {font-family: "Glyphicons Halflings";}
.form-control {border-radius: 0px;}
.field-name-node-link a {display: inline-block; color: #fff; text-transform: uppercase; background: #8a1e04; padding: 10px 20px; font-size: 90%; margin-top: 20px;}
.view-mode-full .field-name-field-image-attach img {margin-bottom: 20px;}
.pagination>.active>a {background-color:#e14f42; border-color: #e14f42;}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus, .navbar-toggle:focus {   
  border-color: rgba(225, 79, 66, 0.8);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(225, 79, 66, 0.6);
  outline: 0 none;
}

/**
 * Classes.
 */

.clear-both { clear: both; }

/**
 * Menus.
 */

/* main-menu-block */

.main-menu-block .menu-888 { display: none; }

/*
 * Blocks.
 */


/* block-contact-us */

.block-contact-us { margin-left: 20px; }

/* social-links */

.social-links p { display: inline; margin-right: 10px; }

/* block-submenutree */

.block-submenutree .node-teaser, .view-story-list .node-teaser, .node-wherewework.node-teaser, .node-page.node-teaser, .node-event.node-teaser { margin-bottom: 10px; border: 1px solid #f2ede9; background: #f2ede9; padding: 15px 0;}
.block-submenutree .node-teaser h2, .view-story-list .node-teaser h2, .node-wherewework.node-teaser h2, .node-page.node-teaser h2, .node-event.node-teaser h2 {padding-top: 0; margin-top: 5px; font-weight: 300;}
.node-page.node-teaser .field-name-node-link a {}
.node-event.node-teaser .field-name-field-event-date {font-weight: bold; margin-bottom: 10px;}
/* footer-sitemap */

#footer-sitemap { margin: 0; }
#footer-sitemap .main-menu > ul > li { width: 18%; margin: 0 1.5% 15px 0; }
#footer-sitemap .main-menu > ul > li.last { margin-right: 0; }
.footer_links_main-menu li ul li ul li {display: none;}

@media (max-width: 991px) {
  #footer-sitemap .main-menu > ul > li { width: 23.5%; }
}
@media (max-width: 500px) {
  #footer-sitemap .main-menu > ul > li { width: 48.5%; }
}
@media (max-width: 360px) {
  #footer-sitemap .main-menu > ul > li { width: 100%; margin-right: 0; }
}

/* block-block-8 */

#block-block-8 { display: none; }

/**
 * Webform
 */

.webform-client-form .form-item.webform-component-radios input { position: absolute; }
.webform-client-form .form-item.webform-component-email input,
.webform-client-form .form-item.webform-component-number input { display: block; }

/**
 * Views.
 */
/* view-news-list */
.view-news-list .views-field-field-image-attach { float: left; width: 135px !important; margin: 0 15px 30px 0; border: 3px solid #F6F6F5; overflow: hidden; }

/* view-events-list */
.view-events-list.view-display-id-block_1 .views-field-field-image-attach,
.view-events-list.view-display-id-page_1 .views-field-field-image-attach { float: left; width: 135px !important; margin: 0 15px 30px 0; border: 3px solid #F6F6F5; overflow: hidden; }

/* view-story-list */
.view-story-list .views-field-field-image-attach { float: left; width: 135px !important; margin: 0 15px 30px 0; border: 3px solid #F6F6F5; overflow: hidden; }

/**
 * Pages.
 */

/* front */

.front .node-page.view-mode-full .field-name-title,
.front .node-page.view-mode-full .field-name-field-image-attach { display: none; }


/* products and ubercart */
.view-caritas-gifts. view-content {
	display: flex;
  flex-wrap: wrap;
}

.node-product.node-teaser {
	margin-bottom: 10px;
  border: 1px solid #f2ede9;
  background: #f2ede9;
  padding: 15px 0;
  text-align: center;
}
.node-product.node-teaser .field-name-title {
	min-height: 50px;
}	
.node-product.node-teaser h2 {
	font-weight: normal;
	font-size: 22px;
	padding: 0 10px;
	margin-top: 0;
}
.node-product.node-teaser img {
	padding: 0 20px 20px 20px;
	max-height: 220px;
	margin: 0 auto;
	width: auto;
}
.bef-select-as-links .form-item {margin-bottom: 7px; display: block;}

.node-product.node-teaser .display-price {
	clear: none;
	float: none;
}
#uc-cart-view-form .btn {
	margin-left: 5px;
	text-align: right;
}
#uc-cart-view-form .btn-default {background: #8a1e04; color: #fff;}

#uc-cart-view-form img {
	width: 100%;
}
.uc-cart-checkout-form .form-control {width: auto;}
.form-control.form-textarea {width: 100%;}

.uc-cart-checkout-form .btn.btn-primary.form-submit {float: right; border: 0; background: #8a1e04 }

.gifts-image img {max-height: 250px; width: auto;}

.node-product.view-mode-full .product-image {clear: none; float: none;}
body.page-caritas-gifts #page-header, body.node-type-product #page-header {margin-bottom: 40px; background: #f2ede9; border-bottom: 4px solid #ebccd1}
body.page-caritas-gifts .navbar, body.node-type-product .navbar {margin-bottom: 0;}
.caritas-gifts-header {padding-top: 20px; padding-bottom: 40px;}
.caritas-gifts-header h1 {color: #b94a48;}
.price-suffixes {margin-left: 5px; font-size: 12px;}

.node-product .field-name-body {margin-top: 20px;}
.node-product.view-mode-full .display-price {clear: none; float: none; text-align: left; margin: 10px 0;}

#block-views-exp-caritas-gifts-page {background: #f7f4f2 url('images/caritas_gifts_funds.png') no-repeat top center; background-size: 100%; padding-top: 20px;}

.casestudy {
	margin-bottom: 10px;
	margin-top: 20px;
    border: 1px solid #f2ede9;
    background: #f2ede9;
    padding: 15px 0;
}
.casestudy h4 {font-size: 30px;padding-top: 0;
    margin-top: 5px;
    font-weight: 300;}

/***** 
* media queries 
****/

@media (max-width:500px) {
	
	.logo-region {background: #f2ede9; }
	.slogan {font-weight: normal; margin-top: 20px; text-align: center;}
	.node-product.view-mode-full .field-name-uc-product-image img {max-height: 200px; margin: 0 auto; width: auto !important;}
}

@media (min-width: 501px) and (max-width: 767px) {
	.view-caritas-gifts .views-row {width: 48%; float: left;}
}

@media (max-width:767px) {
	.carousel-inner {background: #e14f42;}
	.carousel-caption {position: static; max-width: 100%;}
	.carousel-caption h1 {width: 100%;}
	.carousel-caption .link a {margin-bottom: 40px;}
	.social.front {margin-top: 20px; border-top: 1px solid #8a1e04; padding-top: 20px;}
	.node-product.view-mode-full .field-name-uc-product-image img {max-height: 250px; margin: 0 auto; width: auto !important;}}
}

@media (min-width:767px) and (max-width:991px){
	.search.visible-xs.visible-sm {display: none !important;}
	
}

/* before mobile menu kicks in */
@media (min-width: 770px) {


.add-this-share {text-align: center;}
}

/* large browsers */
@media (min-width:1200px) {
	
.carousel-caption h1 .title {font-size: 40px;}		
	
}

/* views accordion styling */
.view .panel-default {
	border-radius: 0;
	border: 1px solid #f2ede9;
}
.view .panel-heading {
	padding: 0;
	background: #f7f4f2;
}
.view .panel-title>a {
	display: block;
	padding: 10px 15px;
}
.panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: grey;         /* adjust as needed */
}
.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}