/* COMMON
--------------------------------------------------*/
html {
  height: 100%;
  overflow-y: scroll;
}
body, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, blockquote, th, td {
  margin: 0;
  padding: 0;
}
body {
	color: #666;
	line-height: 1.4em;
	background: #fff;
	height: 100%;
	font-size: 100%;
}
body, input, button, textarea, select {
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  letter-spacing: .05em;
}
dd,dt,li,p {
	line-height: 1.4em;
	font-size: 1.1em;
}
dl,p,ol,ul {
	margin: 0em 0em 1em 0em;
	padding: 0;
}
dd {
	margin: 0em 0em 1em 1em;
	padding: 0;
}
ul li {
	list-style: none;
	margin: 0;
}
hr {
	color: #D1D3D4;
}
em {
	font-style: italic;
}
blockquote {
	color: #666;
	margin: 10px;
}
strike {
	text-decoration: line-through;
}
pre, tt, code, kbd, samp, var {
  font-family: "Courier New", Courier, monospace;
}
fieldset, img {
  border: 0;
}

/* to prevent a gap from showing below images in some browsers 
 */
img {vertical-align: bottom;}

/* tables still need 'cellspacing="0"' in the markup
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
th, strong, dt, b {
  font-weight: bold;
}
/* new clearfix */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */


/* HEADS
--------------------------------------------------*/

h1,h2,h3,h4,h5,h6 {
	line-height: normal;
	margin-bottom: .5em;
}

/* GENERAL SIMPLE GRID STUFF
--------------------------------------------------*/

.grid {
	max-width: 1100px;
	margin: auto;
}
.grid:after {
  content: "";
  display: table;
  clear: both;
}
.col-2-3 {
  width: 66.66%;
}
.col-1-3 {
  width: 33.33%;
}
.col-1-2 {
  width: 50%;
}
.col-1-4 {
  width: 25%;
}
.col-3-4 {
  width: 75%;
}
.col-1-8 {
  width: 12.5%;
}
[class*='col-'] {
  float: left;
}
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
[class*='col-'] {
  padding-right: 20px;
}
[class*='col-']:last-of-type {
  padding-right: 0;
}
.grid-pad {
  padding: 20px 0 20px 20px;
}
.grid-pad > [class*='col-']:last-of-type {
  padding-right: 20px;
}

/* HEADER
--------------------------------------------------*/

#doc-head {
	position: relative;
}
#btn-menu {
	display: none;
	float: right;
	clear: right;
	line-height: normal;
	position: relative;
	width: 75px;
	height: 33px;
	font-size: 1.3em;
	background: none;
	border: none;
	color: #ffffff;
}
#btn-menu:focus {
  outline: none;
}
#btn-menu span {
	font-size: 14px;
	text-transform: uppercase;
	position: absolute;
	left: 0;
	top: 14px;
}
#btn-menu i {
	position: absolute;
	right: 0;
	top: 10px;
}
#logo-header img {
	width: 100%;
	height: auto;
}
#logo-header {
	margin: 0 0 10px 0;
}
#header-right a {
	text-decoration: none;
}
#header-right a i {
	font-size: 24px;
	margin-left: 5px;
}
.header-contact {
	display: none;
}
#logo-header {
		float: left;
}
@media screen and (min-width: 768px) {
  .header-wrap {
    min-height: 107px;
  }
	.header-contact {
		display: table;
		height: 33px;
		margin-right: 20px;
	}
	.header-contact span {
		display: table-cell;
		vertical-align: middle;padding-right: 10px;
	}
}
@media screen and (min-width: 480px) {
	#logo-header img {
		width: 100%;
		height: auto;
	}
	#header-right {
		float: right;
	}
	.header-contact {
		float: right;
	}
}

/* HOME
--------------------------------------------------*/
.hero-bucket {
	position: relative;
}
.hero-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 10px 0;
	text-align: center;
}



.hero-bucket-tcd {
  position: relative;
  color: #fff;
}

.hero-bucket-tcd p {
  margin-bottom: 0;
}

.hero-text-tcd {
  position: absolute;
  bottom: 0;
  left: 48%;
  padding: 10px 0;
  width: 60%;
}

.hero-text-tcd h1 {
  font-size: 15px;
  color: #fff;
  margin-top: 0;
  max-width: 215px;
}

.hero-text-tcd span {
  font-size: 15px;
  display: block;
  margin-bottom: 0;
  width: 175px;
}

@media screen and (min-width: 640px) {
  .hero-text-tcd {
  bottom: 20px;
  }
  .hero-text-tcd span {
    font-size: 35px;
    padding-top: 0;
    width: 300px;
    line-height: normal;
  }
  .hero-text-tcd h1 {
    font-size: 18px;
    max-width: 215px;
  }
}

@media screen and (min-width: 667px) {
  .hero-text-tcd {
    left: 52%;
    bottom: 45px;
  }
}

@media screen and (min-width: 768px) {
  .hero-text-tcd {
    bottom: 20px;
    left: 48%;
  }
  .hero-text-tcd span {
    font-size: 35px;
    padding-top: 0;
    width: 300px;
    line-height: normal;
  }
  .hero-text-tcd h1 {
    font-size: 18px;
    max-width: 215px;
  }
}

@media screen and (min-width: 960px) {
  .hero-text-tcd {
  left: 45%;
  bottom: 50px;
  }
  .hero-text-tcd span {
    font-size: 40px;
    width: 350px;
  }
}


/* CONTENT .with-sidebar we have to have fixed width sidebar
--------------------------------------------------*/
.home #content {
	margin: 0 0 20px 0;
}
#content {
	margin: 0 0 20px 0;
	clear: both;
}
.page-content {
	padding: 20px;
	overflow-wrap: break-word;
	overflow: hidden;
}
@media screen and (min-width: 768px) {
	.grid.with-sidebar {
		overflow: hidden;
		height: auto;
	}
	.grid.with-sidebar .page-content {
		width: auto;
		float: none;
	}
	.page-sidebar {
		width: 200px;
		float: left;
	}
}
@media screen and (min-width: 1001px) {
	.page-sidebar {
		width: 300px;
	}
}
.text-right {
	text-align: right;
}
.text-left {
	text-align: left;
}
.text-center {
	text-align: center;
}

/* POST STYLES
--------------------------------------------------*/


.post {
	clear: both;
	margin-bottom: .5em;
	border-bottom: 1px solid #ccc;
}
.post-content h1 a:link,
.post-content h1 a:visited {
	color: #31424d;
}
.post-content h1 a:hover {
	color: #333;
}
.post-content h1 {
	margin-bottom: .5em;
}
.meta,
.postComments {
	font-size: .9em;
}
.meta a:link {
	font-style: italic;
}

/* COMMENTS
--------------------------------------------------*/


#commentlist li ul {
	border-left: 1px solid #fff;
	list-style-type: none;
}
#commentlist li {
	background: #f6f7f8;
	padding: 10px;
	border: 1px solid #fff;
	list-style: none;
	font-size: 90%;
	-moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 2px;
}

#commentlist li .avatar {
	float: right;
	margin-right: 25px;
	border: 1px solid #fff;
	padding: 2px;
	background: #e9e1db;
}

/* SIDEBAR
--------------------------------------------------*/

.page-sidebar ul {
   	padding: 0;
}
.page-sidebar li {
   	padding: 0;
}
.page-sidebar div {
   	margin-bottom: 0;
}
.page-sidebar select {
	width 100%;
	max-width: 95%;
}
.asd-client-widget input[type],
.page-sidebar select {
	margin: 2px 0 6px 0;
}
.textwidget iframe {
	width: 100%;
}
.sidebar-desktop {display: block;}
.sidebar-content.sidebar-secondary {margin-bottom: 0;}

/* FOOTER
--------------------------------------------------*/

#doc-foot {
	padding: 40px 20px 0 20px;
	clear: both;
}
#sixty {
	width: 66.6%;
	float: left;
}
#sixty div:first-child {
	padding-left: 0;
}
.twofive {
	width: 25%;
	float: left;
	padding: 0 0 10px 20px;
}
#sixty hr {
	clear: both;
}
#thirty {
	width: 33.3%;
	float: left;
	padding-left: 60px;
}
#thirty img {
	padding: 0 0 10px 20px;
}
#footer-widget {
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px solid #98a1a9;
	display: block;
	clear: both;
	padding-bottom: 30px;
}
#doc-foot .awards {
	text-align: center;
}
#doc-foot .awards img { 
	vertical-align: middle;
}

/**
  theme requirements as per 
  https://codex.wordpress.org/CSS
*/

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin: 0 20px 10px 0;
}

.alignright {
	float: right;
	margin: 0 10px 10px 0;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	/* optional rounded corners for browsers that support it */
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/**
 * Responsive WordPress Core Theme Styles
 * http://jeffsebring.com/responsive-wordpress-images/
--------------------------------------------------- */

.sticky,
.bypostauthor,
.gallery-caption {
   display: normal;
}

.alignnone {
   margin: 1em 1em 1em 0;
}

.aligncenter,
div.aligncenter {
   display:block;
   margin: .5em auto;
}

.alignright {
   float:right;
   margin: 0 0 1em 1em;
}

.alignleft {
   float:left;
   margin: 0 1em 1em 0;
}

.aligncenter {
   display: block;
   margin: 1em auto;
}

img,
img[class*="align"],
img[class*="wp-image-"] {
   max-width: 100%;
   height: auto;
}

img.wp-smiley {
   border: none;
   margin-bottom: 0;
   margin-top: 0;
   padding: 0;
}

img.alignright {
   margin-left: 1em 0 1em 1em;
}

img.alignleft {
   margin: 1em 1em 1em 0;
}

img.aligncenter{
   display: block;
   margin: 1em auto;
}

img#wpstats {
   display: block;
   margin: 0 auto;
}

img[class*="align"],
img[class*="wp-image-"],
   .gallery .gallery-icon img {
   border: none;
}

.wp-caption {
   margin-bottom: 1em;
   margin-left: 0;
   max-width: 96%;
   text-align: center;
}

.wp-caption img {
   display: block;
   margin: 0 auto;
}

.wp-caption-text {
   position: relative;
   font-size: .8em;
}

.gallery {
   margin: 0 auto;
}

.gallery .gallery-item  {
   margin: 0;
   float: left;
   text-align: center;
   width: 33%;
}

.gallery a img {
   border: none;
}

.gallery-columns-4 .gallery-item {
   width: 25%;
}

.gallery-columns-4 .gallery-item img {
   width: 100%;
   height: auto;
}

.comments ol    {
   padding-left: 0;
}

.comments ol li {
   margin: 0;
}

.comment-author {
   padding: 0;
   text-decoration: none;
}


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

   embed,
   object {
      max-width: 100%;
   }

}

@media only screen and ( max-width: 650px ) {

   .gallery-columns-3 .gallery-item {
      width: 33.33%;
   }

   .gallery-columns-3 .gallery-item img {
      width: 100%;
      height: auto;
   }

}

@media only screen and (max-width: 480px) {

   .gallery-columns-2 .gallery-item {
      width: 50%;
   }

   .gallery-columns-2 .gallery-item img {
      width: 100%;
      height: auto;
   }

}

/* NAV
--------------------------------------------------*/

#nav-main {
  font-family: Tahoma;
  font-weight: 400;
}
#nav-main ul {
    margin: 0;
    padding: 0;
    list-style: none;
    float: right;
    clear: right;
    margin-top: 20px;
}
#nav-main ul li {
	display: block;
	position: relative;
	float: left;
  margin: 0;  
}
#nav-main ul li ul {
	display: none;
	position: absolute;
	background: #0f5e68;
	width: 200px;
	z-index: 10;
	top: 34px;
}
#nav-main ul li a {
    display: block;
    text-decoration: none;
    padding: 15px;
    white-space: nowrap; /* stops the dropdown subnav from being width of topnav --------*/
    font-size: 20px;
}
#nav-main ul li li {
	font-size: .9em;
	line-height: normal;
}

@media screen and (min-width: 768px) {
	#nav-main ul li:hover li {
		float: none;
	}
	#nav-main ul li:hover ul {
		display: block;
	}
}

/* FORM ELEMENTS
--------------------------------------------------*/

fieldset {
	padding: 1.5em;
	border: 1px solid #ddd;
	max-width: 600px;
	width: 100%;
	margin-bottom: 15px;
}
legend {
	font-size: 120%;
	font-weight: bold;
	padding: 1.2em;
}
textarea {
	border: 1px solid #ddd;
	padding: 6px;
	max-width: 400px;
	width: 100%;
	color: #666;
	background: #f6f7f8;
    border-radius: 4px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    font-size: 100%;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"] {
	border: 1px solid #ddd;
	padding: 6px;
	max-width: 200px;
	width: 100%;
	color: #666;
	background: #f6f7f8;
    border-radius: 4px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
    font-size: 100%;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
	border: 1px solid #666;
}
select {
	border: 1px solid #ddd;
	padding: 6px;
	font-size: 100%;
	color: #666;
}
textarea {
	font-family: inherit;
	font-size: 90%;
}
.error-text {
	color: #c00;
	background-color: #fff;
}
input[type="submit"] {
    border: 1px solid #666;
    background: #ccc;
	padding: 6px 12px;
	font-size: 110%;
	font-family: Georgia, serif;
	border-radius: 4px;
}
input[type="submit"]:hover {
    border: 1px solid #000;
    background: #eee;
    cursor: pointer;
}
#searchform input[type="text"] {
	border: 1px solid #ddd;
	padding: 6px 15px 6px 35px;
	font-size: 110%;
	width: 50%;
	color: #333;
	background: #f6f7f8 url(../img/search.png) no-repeat 10px 6px;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
}
#searchform input[type="text"]:focus {
    width: 100%;
    }

/* HOME PAGE FORM ELEMENTS
--------------------------------------------------*/
#emailcollector {
	padding: 5px 0 20px 0;
}
#emailcollector div {
	position: relative;
	padding-right: 38px;
}
#emailcollector input[type="text"] {
	padding: 6px;
	color: #fff;
	background: #b2b5b4;
    font-size: 100%;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    text-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    width: 100%;
}

#emailcollector input[type="image"] {
	position: absolute;
	top: 0;
	right: 0;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color:    #fff;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #fff;
    opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #fff;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #fff;
}