/*@import url('https://fonts.googleapis.com/css?family=Work+Sans|Khula:700|Titillium+Web:200');*/
@import url('resources/fonts.css');
#header { background: white; }
body { font-family: "Work Sans", sans-serif; font-size: 12pt; background-color:#fff;}
h1, h2, h3 {color:#557296;}
hr {color:#00bdd1;background-color:#00bdd1;height:1px;border: none;}
.header { margin-top: 0; background: white; border-radius: 0; box-shadow: 0 4px 16px 0 rgba(0,0,0,0.1); }
.region-primary-menu .block-menu .menu a { padding:0 10px; line-height:250%;text-shadow:none;color:#666;}
#block-mainnavigation {background:#f3f3f3;}
#block-mainnavigation ul.menu .menu-item--active-trail a, #block-mainnavigation ul.menu  .menu-item a:hover {background: #557296; color: white;}
#block-mainnavigation ul.menu a  { font-size: 16px; line-height: 30px; padding: 5px 10px; margin: 5px 5px 10px 0;display:block;}
#block-welcometext {background:#557296;);color:#fff;padding:5px; text-align:center;margin-bottom:20px;}
#block-welcometext p {margin-bottom:5px;font-size:1em;}
#block-welcometext a {color:#fff;text-decoration:none;border-bottom:0;}
#block-nwcdp-content, #block-smlinks {width:30%;float:left;}
#sidebar-second {margin-top:2em;}
#block-sminnerpages {background:#f3f3f3;margin-top:20px;}
#block-smlinks {background:#f3f3f3; margin-top:20px;}
#block-smlinks h3 {padding:10px 20px;font-size:0.9em;}
#block-nwcdp-content img {float:left;padding:5px 10px 0 0 ; display:none;}
article .field--name-body img {margin:1em;}
article .field--name-body img[class*="align-left"] { margin-left: 0 !important; }
article .field--name-body img[class*="align-right"] { margin-right: 0 !important; }
#block-nwcdp-content .latest-updates-row {float:left;border-top:1px dotted #666;margin-bottom:1em;padding-top:1em;width:100%;}
#block-nwcdp-content h2 {margin-top:0;}
#block-nwcdp-content .latest-updates-row a {border:0;}
#block-nwcdp-content .latest-updates-row a:hover {color: #a4a635;}
#block-views-block-home-features-block-1  ul { list-style-type: none;padding:0;}
#block-views-block-home-features-block-1 { float:left; width:66%;margin-left:15px;margin-right:10px;}
.homefeature-row {float:left;position:relative;margin-bottom:10px;width: 47%;}
.homefeature-row p {margin-bottom:0;font-size:0.9em;overflow:hidden;height:40px;}
.homefeature-row h2 {background: #a4a635; position:absolute;bottom:60px;text-overflow:elipsis; overflow:hidden;padding:3px 7px 3px 7px;color:#fff;height:1.3em;font-size:1.1em;margin:0;}
.homefeature-row a, .homefeature-row h2 a {display:block;border-bottom:none;color:#fff;}
.homefeature-row a:hover, .homefeature-row h2 a:hover {border-bottom:none;}
.homefeature-row img {width:100%;display:block;}
.site-footer {padding:0;background:#f3f3f3; color:#666;}
.path-frontpage .site-footer__top .region {width:33%;text-align:center;}
.site-footer__top .region {width:100%; text-align:center;padding:0;}
.site-footer__top .content, .site-footer__top .content a {color:#666;}
.site-footer__bottom {border-top:none;}
#block-footercontact  p, #block-footercontact i,#block-footercontact a, .site-footer H2{color:#000; font-size:1.1em;}
#block-footercontact, #block-footercontact h2, #block-location, #block-location h2, #block-nwcdpopeninghours, #block-nwcdpopeninghours h2  {border:none;margin:10px 0 0 0 ;}
#block-location img {border: 1px solid #666;}
#block-location a {border-bottom:none;}
#block-sponsors {text-align:center;}
#block-sponsors img{padding: 15px 10px 0 10px;height:85px; overflow:hidden;}
#block-footerdesignbyionic {text-align:right;color:#c0c0c0;}
#block-footerdesignbyionic a, #block-footerdesignbyionic p {color:#c0c0c0;}
.path-contact #block-contactheader h2 {font-size:2em;}

@media all and (min-width: 901px) {
	#block-nwcdp-main-menu a  { font-size: 16px; line-height: 30px; padding: 5px 10px; margin: 5px 5px 10px 0; border-bottom:5px #fff solid;}
	#block-nwcdp-main-menu a.is-active, #block-nwcdp-main-menu .menu-item--active-trail a, #block-nwcdp-main-menu a:hover { color: #557296; background: none;border-bottom:5px #a4a635 solid; }	
	#block-welcometext p {margin-bottom:5px;font-size:1.1em;}
	#content {min-height:700px;}
	#block-smlinks h3 {font-size:1.1em;}
	.homefeature-row:nth-child(odd){margin-right:30px;}
	#block-nwcdp-content img {display:inline;}
	#block-nwcdpopeninghours {text-align:right;padding-right:15px;}
	.site-footer__bottom {border-top:1px solid #666;}
	.field--type-image img {margin:0 1em 0 0 ;}
}

@media all and (min-width: 769px) and (max-width: 900px) {
	.region-primary-menu .menu-item, body:not(:target) .region-primary-menu .menu-item{width:32%; padding:0;}
	#block-nwcdp-main-menu .menu a.is-active,  #block-nwcdp-main-menu ul.menu .menu-item--active-trail a, #block-nwcdp-main-menu .menu a:hover { background: #557296; color: white; }
	#block-nwcdp-main-menu .menu a {background: #f3f3f3;}
	#block-views-block-home-features-block-1 {  width:65%; margin:0;}
	.homefeature-row:nth-child(odd){margin-right:15px;}
	.homefeature-row h2 {font-size:1em;}
	.path-frontpage .site-footer__top .region {width:100%;text-align:center;}
	.site-footer__top .region {width:100%;text-align:center; border-bottom:1px solid #666;}
}

@media all and (min-width: 461px) and (max-width: 768px) {
	.region-primary-menu .menu-item, body:not(:target) .region-primary-menu .menu-item{width:32%; padding:0;}
	#block-nwcdp-main-menu .menu a.is-active,  #block-nwcdp-main-menu ul.menu .menu-item--active-trail a, #block-nwcdp-main-menu .menu a:hover { background: #557296; color: white; }
	#block-nwcdp-main-menu .menu a {background: #f3f3f3;font-size:.9em;}
	.path-frontpage #block-nwcdp-content,.path-frontpage #block-smlinks {width:50%;}
	#block-views-block-home-features-block-1 {  width:45%; margin-left:0;}
	.homefeature-row { width:100%;}
	.homefeature-row h2 {font-size:.9em;}
	.path-frontpage #block-nwcdp-content {width:50%;margin-left:10px;}
	#block-sponsors img {padding-top:15px;}
	.path-frontpage .site-footer__top .region {width:100%;text-align:center;}
	.site-footer__top .region {width:100%;text-align:center; border-bottom:1px solid #666;}

}

@media only screen and (max-width: 460px){ 
    article ul li strong {display: block;} 
	body:not(:target) .region-primary-menu .menu-toggle::after { background-image: url("/sites/www.nwcdp.ie/files/hamburger.svg")!important;}	
	#block-nwcdp-main-menu  a.is-active,  #block-nwcdp-main-menu .menu-item--active-trail a, #block-nwcdp-main-menu .menu a:hover  { background: #557296; color: white; }
	#block-welcometext a {display: block;}
	.region-primary-menu .menu a {border-radius:0;}
	#block-views-block-home-features-block-1 {width:100%;margin-left:0;}
	.homefeature-row {float: none; width: 100%;}
	.path-frontpage #block-nwcdp-content, .path-frontpage #block-smlinks {width:100%;float:none;}
	#block-sponsors img {padding-top:15px;}
	.path-frontpage .site-footer__top .region {width:100%;text-align:center;}
	.site-footer__top .region {width:100%;text-align:center; border-bottom:1px solid #666;}
	#block-location img {width:90%;}
	article .field--name-body img {width:100%;}	
}




/* ALT HOME */
#block-nwcdp-views-block-alt-latest-updates-block-1 {  }
#block-nwcdp-views-block-alt-latest-updates-block-1 .views-view-responsive-grid__item-inner { position: relative; display: flex; justify-content: center;  align-items: center; max-height: 250px; overflow: hidden; }
#block-nwcdp-views-block-alt-latest-updates-block-1 .views-field-title { position: absolute; padding: 1rem; text-align: center; display: none; background: #a4a635; z-index: 1; }
#block-nwcdp-views-block-alt-latest-updates-block-1 .content a { border-bottom: none; color: white; }
#block-nwcdp-views-block-alt-latest-updates-block-1 .views-view-responsive-grid__item-inner:hover img { opacity: .3; }
#block-nwcdp-views-block-alt-latest-updates-block-1 .views-view-responsive-grid__item-inner:hover .views-field-title { display: block; }
#block-nwcdp-views-block-alt-latest-updates-block-1 {  }
#block-nwcdp-views-block-alt-latest-updates-block-1 {  }

#block-nwcdp-views-block-duplicate-of-home-features-block-1 .homefeature-row { float: none; }
#block-nwcdp-views-block-duplicate-of-home-features-block-1 .homefeature-row h2 { position: relative; background: transparent; }
#block-nwcdp-views-block-duplicate-of-home-features-block-1 {  }
#block-nwcdp-views-block-duplicate-of-home-features-block-1 {  }
#block-nwcdp-views-block-duplicate-of-home-features-block-1 {  }
