/*
	Disaster Accountability Project Custom CSS
*/

/* Utility classes */
.full-width {
	box-sizing: border-box !important;
	width: 100% !important;
}

/* Page title */
.page-title {
    font-size: 24px;
    margin: 0;
    padding-bottom: 10px;
/*	margin: 20px 0px;
	font-size: 18px;
	text-transform: uppercase;
	color: #0195C5;*/
}

/* Post Category */
.view-all {
	font-size: 12px;
	font-weight: normal;
	margin: 0 0 10px 0;
	display: inline-block;
}

/* Post Listing */
.post-line {
	padding: 0 0 15px 0;
	margin: 0 0 15px 20px;
	border-bottom: 1px solid #eee;
}

.post-line .entry-title {
	border-bottom: none;
	/*font-size: 12px;*/
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.post-line .metadata-posted-on {
	margin: 0 0 10px 0;
}

.post-line .metadata-posted-on a {
	color: #666;
	/*font-size: 10px;*/
}

.post-line .entry-title a:hover, .post-line .metadata-posted-on a:hover {
	text-decoration: underline;
}

.post-line .metadata-posted-on .url {
	text-transform: uppercase;
}

.post-line .entry-button {
	background: #666;
	color: #fff;
	display: inline-block;
	font-size: 12px;
	padding: 3px 2px 0px 2px;
	text-align: center;
	text-transform: uppercase;
	width: 80px;
}

/* Sub-Page Content and Tabs */

.subpage-header {
	margin: 0 0 15px 10px;
	padding: 3px 10px;
	text-align: left;
	width: 130px;
}

a.subpage-header {
	cursor: pointer;
}

.subpage-header:after {
	right: -10px;
}

.subpage-tabs {
	list-style: none;
	display: block;
	margin: 0 0 15px 0;
	padding: 0;
}

.subpage-tabs li {
	float: left;
	margin: 0 10px;
	padding: 3px 5%;
	text-align: center;
}

.subpage-tabs li:first-child {
	padding: 3px 5% 3px 10px;
	margin-left: 0;
}

.subpage-tabs li:first-child:before {
	display: none;
}

.subpage-header, .subpage-tabs li {
	display: inline-block;
	height: 25px;
	line-height: 30px;
	position:relative;
}

.subpage-header:after, .subpage-tabs li:before, .subpage-tabs li:after {
	display: block;
	content: " ";
	width: 20px;
	height: 31px;
	position: absolute;
	top: 0;
	transform: skewX(30deg);
	-ms-transform: skewX(30deg);
	-webkit-transform: skewX(30deg);
	z-index: 0;
}

.subpage-tabs li:before {
	left: -9px;
}
.subpage-tabs li:after {
	right: -9px;
}

.subpage-header, .subpage-header:after, .subpage-tabs li, .subpage-tabs li:before, .subpage-tabs li:after {
	border-bottom: 1px solid #ddd;
}

.subpage-tabs li, .subpage-tabs li a, .subpage-tabs li:before, .subpage-tabs li:after {
	color: #fff;
	background-color: #2CA7EB;
}

.subpage-tabs li a:hover {
	color: #ccc;
}

.subpage-header, .subpage-header:after, .subpage-tabs li.active, .subpage-tabs li.active a, .subpage-tabs li.active:before, .subpage-tabs li.active:after {
	color: #333;
	background: #FEF200;
}

.subpage-tabs li.active a:hover {
	color: #999;
}

/* Paging Navigation */
.navigation.paging-navigation {
	margin: 0 0 15px 20px;
}

.navigation.paging-navigation > .nav-links > .nav-previous {
	float: left;
}
.navigation.paging-navigation > .nav-links > .nav-next {
	float: right;
}

/* Contact Us */
#contact-us {
	background: #EDEEF0;
	margin-top: 37px;
}

#contact-us h1 {
	border-bottom: none;
	margin: 0 0 0 0;
	padding: 15px 30px;
	font-size: 25px;
}

.contact-line {
	font-size: 18px;
/*	margin: 0 0 0 75px;*/
	padding: 0 0 30px;
/*	position: relative;*/
	height: 40px;
}

.contact-line > i {
/*	left: -40px;*/
	float: left;
/*	position: absolute;*/
	text-align: right;
	width: 40px;
	margin-right: 10px;
}

.contact-line > p {
	margin: 0;
	padding-top: 10px;
}

/* DB Styles added to create "billboard" at top of home page */

/* clean up padding on home page billboard section */
.home-page-billboard section {
	margin: 0 !important;
	padding: 0 !important;
}

/* suppress title on home page */
.home-page-billboard .page-title {
	display: none;
}

/* add front-page headline style */
.home-page-billboard h1 {
	font-size: 36px;
	margin: 0;
    text-align: center;
}

/* add front-page image style */
.home-page-billboard img {
	margin: 0;
}

/* add front-page paragraph style */
.home-page-billboard p {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 3px;
}

.home-page-billboard .bigify {
	font-size: 1.5em;
	margin-bottom: 18px;
}

.home-page-billboard .st_facebook_large,
.home-page-billboard .st_twitter_large,
.home-page-billboard .st_linkedin_large,
.home-page-billboard .st_email_large,
.home-page-billboard .st_sharethis_large,
.home-page-notice .st_facebook_large,
.home-page-notice .st_twitter_large,
.home-page-notice .st_linkedin_large,
.home-page-notice .st_email_large,
.home-page-notice .st_sharethis_large {
	display: none;
}

/* Salesforce form customizations - subscribe page form */

.page .salesforce_w2l_lead .w2linput.text {
    width: 60%;
    margin: 0;
    padding: 8px;
}

.page .salesforce_w2l_lead .w2llabel {
	font-size: 18px;
    margin: 0;
	margin-top: 6px;
    padding-left: 8px;
}

.page .salesforce_w2l_lead .w2linput.submit {
	font-size: 15px;
	color: #fff;
	padding: 10px 15px;
	background: #5ac4f9;
	border: 0 none;
	margin-top: 6px;
	margin-left: 8px;
	cursor: pointer;
}

.page .salesforce_w2l_lead span.required {
    font-size: 14px;
}


/* Salesforce form customizations - front page form */

.inner_box .salesforce_w2l_lead .w2linput.text {
    width: 100%;
    margin: 0;
    padding: 2px;
    font-size: 15px;
}
/*
.inner_box #sf_email {
	width: 250px;
}
*/
.inner_box .salesforce_w2l_lead .w2llabel {
	font-size: 15px;
    margin: 0;
	margin-top: 2px;
    padding-left: 4px;
}

.inner_box .salesforce_w2l_lead .w2linput.submit {
	font-size: 15px;
	color: #fff;
	padding: 6px 9px;
	background: #5ac4f9;
	border: 0 none;
	margin-top: 2px;
	cursor: pointer;
}

/* Salesforce form customizations - subscribe page form */
.salesforce_w2l_lead iframe,
.salesforce_w2l_lead iframe .rc-anchor-normal {
	width: 290px !important;
}

.sf_type_select select {
	font-size: 36px;
}

/* Homepage hero banner styling */

#hero-column {
	position: relative;
	margin-bottom: 0;
}

.slider ul.items li.item img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* allows hero background cover image to be responsive */
.wp-block-cover .wp-block-cover__image-background {
	background-size: contain !important;
	background-repeat: no-repeat !important;
}

@media only screen and (max-width: 600px) {
	.wp-block-cover .wp-block-cover__image-background {
		background-size: cover !important;
	}
}

* {
	box-sizing: border-box;
}

#home-page .wp-block-cover.has-custom-content-position.is-position-center-left {
	padding-left: 0px;
}

.heroMessage {
	color: #fff;
	background: rgba(30, 30, 30, 0.7);
	font-family: tahoma;
	font-size: 2.5rem;
	font-weight: 900;
	line-height: 1.5;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	position: absolute;
	top: 10%;
	z-index: 100;
	width: 550px;
	padding: 1.5rem;
}

@media only screen and (max-width: 600px) {
	#heroMessage {
		width: auto;
	}
}

#headerMessage {
	color: #fff;
	font-family: tahoma;
	font-size: 2.5rem;
	font-weight: 900;
	line-height: 1.5;
	opacity: 1;
	position: relative;
}

#headerMessage span {
	color: #fff117;
}

#countryListing, #messageListing {
	color: #333;
	display: block;
	font-family: tahoma;
	font-weight: 900;
	text-transform: uppercase;
	overflow: hidden;
	padding-left: 0.5rem;
	top: 0.2rem;
	left: 270px;
}

#countryListing .countryListItem.is-visible,
/* #messageListing .messageList2Item.is-visible, */
#messageListing .messageList3Item.is-visible {
	display: block;
	transition: width 0.5s; /* Optional: add a transition effect */
}

#countryListing .countryListItem.is-hidden,
/* #messageListing .messageList2Item.is-hidden, */
#messageListing .messageList3Item.is-hidden {
	display: none;
}

#countryListing .countryListItem,
/* #messageListing .messageList2Item, */
#messageListing .messageList3Item {
	display: inline-block;
}

#countryListing .countryListItem p,
/* #messageListing .messageList2Item p, */
#messageListing .messageList3Item p {
	display: inline-block;
	background-color: #fff117;
	padding: 5px;
	width: auto;
	font-size: 2.5rem;
	font-family: tahoma;
	font-weight: 900;
	text-transform: uppercase;
	animation: slide-in 3500ms;
	animation-iteration-count: infinite;
}

@keyframes slide-in {
	from {
		transform: translateY(-100%);
		opacity: 0.25;
	}

	to {
		transform: translateY(0%);
		opacity: 1;
	}
}

/* Classname for static message on slide */
p.static-message {
	display: inline-block;
	color: #333;
	background-color: #fff117;
	padding: 5px;
	width: auto;
	font-size: 2.5rem;
	font-family: tahoma;
	font-weight: 900;
	text-transform: uppercase;
}

/* MEDIA QUERY */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	#headerMessage,
	#countryListing .countryListItem p,
	#messageListing .messageList2Item p,
	#messageListing .messageList3Item p {
		font-size: 1.5rem;
	}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
	#headerMessage,
	#countryListing .countryListItem p,
	#messageListing .messageList2Item p,
	#messageListing .messageList3Item p {
		font-size: 2.0rem;
	}
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
	#headerMessage,
	#countryListing .countryListItem p,
	#messageListing .messageList2Item p,
	#messageListing .messageList3Item p {
		font-size: 2.5rem;
	}
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {}


/* NEW SLIDER */
.slider {
	position: relative;
	width: 100%;
}

.sliderItems {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-bottom: 56.25%;
}

.sliderItem {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity .6s ease-in-out;
}

.sliderItem.currentSlider {
	opacity: 1;
}

.sliderItem.currentSlider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
