/*
	Theme Name: PDI Fire - Custom CSS

*/

/*  
 * Modified Style Sheet for Protection Development Incorporated
 * Created by Pleiades Services
 * http://PleiadesServices.com
*/


body.agency-pro-orange {
  /* background-color: #D4D1CA; */
  background-color: #ffffff;
}

body {
    font-family: 'Spinnaker', sans-serif;
    background-color: #ffffff;
    color: #666;
}

.site-container {
    padding-top: 61px;
}

.header-image .site-title a {
    float: left;
    min-height: 110px;
    width: 100%;
}

.admin-bar .site-header {
    top: 32px;
}

.site-header {
    background-color: #fff;
    left: 0;
    min-height: 110px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

header section.widget {
    box-shadow: none;
}
/*
.nav-primary {
    background-color: #383838;
    margin-top: 49px;
    margin-top: 49px;
}
*/
.nav-primary {
        background-color: #383838;
    position: relative;
    margin: 0 auto;
    align-items: center;
    width: 100%;
    /* top: 130px; */
    top: 50px;
    z-index: 999;
}

.home-top .wrap {
    color: #fff;
    font-family: 'Spinnaker', sans-serif;
    padding: 13% 0 7%;
    text-align: center;
}

.home-top .textwidget {
    background: none repeat scroll 0 0 white;
    color: #333;
    padding: 2em;
}

.home-middle {
    padding: 0 0 5%;
}

.home-middle .textwidget {
    background: #fff;
}

.home-quote {
    padding: 1em;
}

.home aside {
    display: none;
}

blockquote {
    color: #3b398a;
    font-style: italic;
    text-align: right;
    font-size: 20px;
}

section.widget,
article.page,
article.people {
    box-shadow: 1px 1px 10px 1px #999;
}

aside section.widget {
	box-shadow: none;
}

.staff-title {
	font-size: 0.8em;
} 

.staff-honors {
    font-size: 0.8em;
}

.bio-offset {
	padding-top: 1em;
}

.bio-title {
	font-size: 0.6em;
}

.grid-title {
	text-align: center;
}

.service-gallery {
	width: 100%;
}

.service-gallery h2 {
	font-size: 1.1em;
    min-height: 4em;
    padding: 0.4em 0;
    text-align: center;
}

.service-gallery-item {
	border: 1px solid #ccc;
    /* box-shadow: 3px 3px 6px #ccc; */
    float: left;
    /* margin: 1%; */
    min-height: 254px;
    width: 23%;
}

.service-gallery-item img {
	display: block;
	margin: 2em auto 0.5em;
    vertical-align: bottom;
    width: 200px;
}

ul.service-gallery li {
	display: table-cell;
    list-style: outside none none;
    padding: 5px;
}

.company-item {
    max-width: 40%;
    flex: 0 0 auto;
    min-height: 300px;
    min-width: 25%;
    width: 40%;
}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.homelogo {
    width: 320px;
}

img.homeyear {
    width: 130px;
}

/* Flexbox Grid Styling */

.Grid {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.Grid-cell {
  	border: 1px solid #fff;
    flex: 0 0 auto;
    min-height: 300px;
    min-width: 25%;
    width: 25%;
}

.Grid-cell h2 {
	font-size: 1.1em;
    min-height: 4em;
    padding: 0.4em 0;
    text-align: center;
}

.Grid--flexCells > .Grid-cell {
  display: flex;
}

.Grid--top {
  align-items: flex-start;
}

.Grid--bottom {
  align-items: flex-end;
}

.Grid--center {
  align-items: center;
}

.Grid--justifyCenter {
  justify-content: center;
}

.Grid-cell--top {
  align-self: flex-start;
}

.Grid-cell--bottom {
  align-self: flex-end;
}

.Grid-cell--center {
  align-self: center;
}

.Grid-cell--autoSize {
	flex: none;
	min-width: 25%;
	width: 33%;
}

.Grid--fit > .Grid-cell {
  flex: 1;
}

.Grid--full > .Grid-cell {
  flex: 0 0 100%;
}

.Grid--1of2 > .Grid-cell {
  flex: 0 0 50%;
}

.Grid--1of3 > .Grid-cell {
  flex: 0 0 33.3333%;
}

.Grid--1of4 > .Grid-cell {
  flex: 0 0 25%;
}

.Company-Grid {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.Grid-company--autoSize {
	flex: none;
	min-width: 25%;
	width: 50%;
}

.company-gallery-item img {
    display: block;
    margin: 2em auto 0.5em;
    vertical-align: bottom;
    width: 75%;
}

.title-area {
  width: 340px;
}

/* Project Styling
---------------------------------------------------------------------------------------------------- */

p.project-sidebar-head {
    font-weight: bold;
    margin: 1em 0 0 0;
    font-size: large;
    font-family: 'Spinnaker', sans-serif;
}

p.project-sidebar-detail {
    font-style: italic;
}

.project-item {
  font-size: 0.6em;
  margin-left: 2em;
}

.project-item-row {
  border-bottom: 1px solid gray;
  margin-bottom: 1em;
  width: 100%;
}
.project-item-row h2 {
  
}
.project-image {
  float: left;
  margin-top: 0.5em;
}
.project-item-desc {
  margin-left: 30%;
  margin-top: 0.5em;
}


/* News Style
--------------------------------------------------------------------------------------------------------- */

a.download-link img {
    text-align: left;
    vertical-align: text-top;
    margin: 0 1em 1em 0;
}

.download-img {}

.download-title,
span.download-title {
    float: right;
    width: 70%;
}

#download-page #download-search ol li,
#download-page .download_group ol li {
    margin: 0 0 0.5em;
    padding: 0;
    list-style-type: none;
}



.tablepress .column-1 {
    width: 20%;
}

/* Rotating fading background image on front landing page
--------------------------------------------------------------------------------------------------------- */

.site-container > img { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    opacity: 0;
    z-index: -100;
    -webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 30s linear infinite 0s;
    -moz-animation: imageAnimation 30s linear infinite 0s;
    -o-animation: imageAnimation 30s linear infinite 0s;
    -ms-animation: imageAnimation 30s linear infinite 0s;
    animation: imageAnimation 30s linear infinite 0s; 
}


.site-container > img:nth-child(2)  {
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s; 
}
.site-container > img:nth-child(3) {
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s; 
}
.site-container > img:nth-child(4) {
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s; 
}
/*
.site-container > img:nth-child(5) {
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s; 
}


@-webkit-keyframes imageAnimation { 
    0% { opacity: 0;
    -webkit-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -webkit-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}


@-moz-keyframes imageAnimation { 
    0% { opacity: 0;
    -moz-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -moz-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}


@-o-keyframes imageAnimation { 
    0% { opacity: 0;
    -o-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -o-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}


@-ms-keyframes imageAnimation { 
    0% { opacity: 0;
    -ms-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -ms-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}


@keyframes imageAnimation { 
    0% { opacity: 0;
    animation-timing-function: ease-in; }
    8% { opacity: 1;
         animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}

/* Media Queries
--------------------------------------------------------------------------------------------------------- */

@media all and (max-width: 800px) {

	.site-header .widget-area,
	.title-area {
		width: 50%;
	}
	
	.header-image .site-title a {
		float: left;
		min-height: 110px;
		background-size: contain;
	}
	
	.header-image .site-title a {
		background-position: top left !important;
		margin: 0 0 6px;
	}

    .Grid-cell {
		border: 1px solid #eee;
		flex: 0 0 auto;
		min-height: 250px;
		min-width: 50%;
		width: 50%;
	}
	
	.Grid-cell h2 {
		font-size: 1.1em;
		min-height: 4.1em;
		padding: 0.2em 0;
		text-align: center;
	}
  
  .med-Grid--fit > .Grid-cell {
    flex: 1;
  }
  .med-Grid--full > .Grid-cell {
    flex: 0 0 100%;
  }
  .med-Grid--1of2 > .Grid-cell {
    flex: 0 0 50%;
  }
  .med-Grid--1of3 > .Grid-cell {
    flex: 0 0 33.3333%;
  }
  .med-Grid--1of4 > .Grid-cell {
    flex: 0 0 25%;
  }
}

@media (--break-lg) {
  .large-Grid--fit > .Grid-cell {
    flex: 1;
  }
  .large-Grid--full > .Grid-cell {
    flex: 0 0 100%;
  }
  .large-Grid--1of2 > .Grid-cell {
    flex: 0 0 50%;
  }
  .large-Grid--1of3 > .Grid-cell {
    flex: 0 0 33.3333%;
  }
  .large-Grid--1of4 > .Grid-cell {
    flex: 0 0 25%;
  }
}

.Grid--gutters {
  margin: -1em 0 1em -1em;
}
.Grid--gutters > .Grid-cell {
  padding: 1em 0 0 1em;
}

.Grid--guttersLg {
  margin: -1.5em 0 1.5em -1.5em;
}
.Grid--guttersLg > .Grid-cell {
  padding: 1.5em 0 0 1.5em;
}

.Grid--guttersXl {
  margin: -2em 0 2em -2em;
}
.Grid--guttersXl > .Grid-cell {
  padding: 2em 0 0 2em;
}

@media (break-sm) {
  .small-Grid--gutters {
    margin: -1em 0 1em -1em;
  }
  .small-Grid--gutters > .Grid-cell {
    padding: 1em 0 0 1em;
  }
  .small-Grid--guttersLg {
    margin: -1.5em 0 1.5em -1.5em;
  }
  .small-Grid--guttersLg > .Grid-cell {
    padding: 1.5em 0 0 1.5em;
  }
  .small-Grid--guttersXl {
    margin: -2em 0 2em -2em;
  }
  .small-Grid--guttersXl > .Grid-cell {
    padding: 2em 0 0 2em;
  }
}

@media (--break-md) {
  .med-Grid--gutters {
    margin: -1em 0 1em -1em;
  }
  .med-Grid--gutters > .Grid-cell {
    padding: 1em 0 0 1em;
  }
  .med-Grid--guttersLg {
    margin: -1.5em 0 1.5em -1.5em;
  }
  .med-Grid--guttersLg > .Grid-cell {
    padding: 1.5em 0 0 1.5em;
  }
  .med-Grid--guttersXl {
    margin: -2em 0 2em -2em;
  }
  .med-Grid--guttersXl > .Grid-cell {
    padding: 2em 0 0 2em;
  }
}

@media (--break-lg) {
  .large-Grid--gutters {
    margin: -1em 0 1em -1em;
  }
  .large-Grid--gutters > .Grid-cell {
    padding: 1em 0 0 1em;
  }
  .large-Grid--guttersLg {
    margin: -1.5em 0 1.5em -1.5em;
  }
  .large-Grid--guttersLg > .Grid-cell {
    padding: 1.5em 0 0 1.5em;
  }
  .large-Grid--guttersXl {
    margin: -2em 0 2em -2em;
  }
  .large-Grid--guttersXl > .Grid-cell {
    padding: 2em 0 0 2em;
  }
}

@media all and (max-width: 475px) {
  
	.site-header .widget-area {
		display: none;
	}
	
	.title-area { width: 100%}
	
	.header-image .site-title a {
		background-position: top left !important;
		margin: 0 0 6px;
	}
  
  .Grid {
  	-webkit-flex-direction: column;
    flex-direction: column;
  }
  .Grid-cell {
  	border: 1px solid #eee;
    flex: 0 0 auto;
    min-height: 300px;
    min-width: 100%;
    width: 100%;
	}

.Grid-cell h2 {
	font-size: 1.1em;
    min-height: 4em;
    padding: 0.4em 0;
    text-align: center;
	}
  
  .small-Grid--fit > .Grid-cell {
    flex: 1;
  }
  .small-Grid--full > .Grid-cell {
    flex: 0 0 100%;
  }
  .small-Grid--1of2 > .Grid-cell {
    flex: 0 0 50%;
  }
  .small-Grid--1of3 > .Grid-cell {
    flex: 0 0 33.3333%;
  }
  .small-Grid--1of4 > .Grid-cell {
    flex: 0 0 25%;
  }
}