/*!
Theme Name: ded_company
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ded_company
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ded_company is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
*{
	margin: 0;
	padding: 0;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body{
	margin: 0;
	padding: 0;
	background: #F1FAFF;
	color: #312727;
	font-family: "Nunito Sans", sans-serif;	
}

.bkgd_animation{
	position: fixed;
	z-index: 0;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	animation:bkgd_loop 10s;
	-moz-animation:bkgd_loop 10s infinite; /* Firefox */
	-webkit-animation:bkgd_loop 10s infinite; /* Safari and Chrome */
}

@-moz-keyframes bkgd_loop /* Firefox */{
0%		{background:#F1FAFF;}
30%		{background:#F8EBF4;}
60%		{background:#F2EFF4;}
100%	{background:#F1FAFF;}
}
 
@-webkit-keyframes bkgd_loop /* Safari and Chrome */
{
0%		{background:#F1FAFF;}
30%		{background:#F8EBF4;}
60%		{background:#F2EFF4;}
100%	{background:#F1FAFF;}
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

.callout{
	margin: 1% auto 3% !important;
	padding: 1% 2% !important;
	width: 55%;
	background: #f1f1f1;
	font-size: 1.5em;
	font-style: italic;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
/* button, */
input,
select,
optgroup,
textarea {
	color: #404040;
	/** font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; **/
	font-size: 1.3rem;
	line-height: 1.5;
}

h1,h2,h3,h4,h5,h6{
	margin: 0 0 20px;
	font-weight: 200;
	line-height: initial;
	/* text-shadow: 3px 3px 4px #4E2805; */
}

h1{
	font-size: 2.5em;
	line-height: 1.2em;
}

h1.space_above{
	margin: 120px 0 10px;
}

h2{
	font-size: 2.2em;
	line-height: 1.15em;
}

h4{
	font-size: 1.4em;
	line-height: 1.3em;
}

h6{
	font-size: 32px;
	line-height: 1.2em;
	margin: 0 0 10px;
}

p{
	margin: 0 0 30px;
	font: 400 normal 1.3em/ 1.6 "Nunito Sans";
}

.blog p{
	margin: 0 30px;
	font: 400 normal 1.1em/ 1.5 "Nunito Sans";
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	/* margin: 0 0 1.5em 3em; */
	margin: 0 0 1.5em 4%;
	font: 400 normal 1.3em/ 1.6 "Nunito Sans";
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none /* 1px solid */;
	line-height: 1;
	border-radius: 3px;
	/* 
	border-color: #ccc #ccc #bbb;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 1.25rem;
	padding: 0.6em 1em 0.4em;
	*/
	width: auto !important;
	background: #00A470;
	padding: 20px 25px !important;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #138E48;
	text-decoration: underline;
}

a:visited {
	color: #266441;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.site-branding{
	float: left;
}

.main-navigation {
	display: block;
	float: right;
	width: auto;
	/* width: 100%; */
	position: fixed;
	right: 30px;
	top: 40px;
	text-align: right;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	text-align: right;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
	font-size: 1.35rem;
	font-weight: 600;
	margin: 0 10px;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-cta{
	background: #00A470 !important;
	padding: 7px 14px !important;
	border-radius: 5px !important;
	width: auto !important;
	height: auto !important;
	color: #fff !important;
	text-decoration: none !important;
}

.main-cta a{
	color: #fff !important;
	text-decoration: none !important;
}

.main-cta a:hover,
.main-cta a:active,
.main-cta a:visited{
	background: #0C6549 !important;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
	float: right;
}

.main-navigation.toggled ul{
	background: #fff;
	padding: 10px 15px;
}

@media screen and (min-width: 48em /* 37.5 */) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#wpadminbar{
	position: fixed;
	z-index: 20;
}
#page{
	margin: 0;
	position: relative;
	z-index: 1;
	width: 100%;
}

.sticky {
	display: block;
}

.post,
.page {
	margin: 0 /* 0 0 1.5em */;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin:0 /* 1.5em 0 0*/;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/** CUSTOM DED **/

#masthead{
	margin: 0 auto;
	padding: 40px 5% 0;
	width: 100%;
	/* max-width: 1100px; */
	/* god damn iphone overflow: auto; */
	position: fixed;
	top: 0;
	z-index: 9999;
}

.site-header{
	background-color: rgba(255,255,255,0);
	box-shadow: 0 0 10px 5px rgba(136,136,136,0);
}

div.homepage{
	margin: 0 0 80px;
	width: 80%;
}

#post-13 header.entry-header,
#post-144 header.entry-header{
	display: none;
}

div.landing_page{
	margin: 80px auto 0;
	padding: 80px 5% 40px;
	max-width: 1400px;
	width: 100%;
	position: relative;
}

div.landing_page a,
.category article{
	margin: 0 0 4%;
	border: solid thin #D1D1D1;
	border-radius: 50px;
	background: #fff;
	width: 48% /* 500px */;
	height: 550px;
	overflow: hidden;
	display: inline-block;
	position: relative;
	color: #333;

	-webkit-box-shadow: 5px 5px 10px 0px rgba(189,189,189,1);
	-moz-box-shadow: 5px 5px 10px 0px rgba(189,189,189,1);
	box-shadow: 5px 5px 10px 0px rgba(189,189,189,1);
}

div.landing_page a:nth-child(even),
.category article:nth-child(odd){
	margin: 0 3% 4% 0;
}

div.landing_page a h4{
	margin: 0;
}

.blog .top_bnr{
	margin: 160px 30px 0 !important;
	max-width: none !important;
	width: auto !important;
	height: 170px;
}

.top_bnr h6 a{
	text-decoration: none;
}

/*
div.landing_page a:nth-child(2){
	margin: 260px 0 100px;
}
*/
div.landing_page a div{
	padding: 7% 9% 0 /* 30px 50px 0 */;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
}

div.landing_page p{
	font: 400 normal 1.1em/ 1.3 "Nunito Sans";
}

div.landing_page a img{
	width: 110%;
	position: absolute;
	top: 0;
}

.container_fullscreen{
	width: 100%;
	position: relative;
	z-index: 1;
	line-height: 0;
}

.container_video{
	padding: 0 /* 50px 0 */;
	line-height: 0;
	width: 100%;
	position: relative;
	z-index: 1;
}

.container_video img,
.container_video video{
	width: 100%;
	text-align: center;
}

ul.icons-full{
	margin: 0;
	padding: 0 0 80px;
	text-align: center;
}

ul.icons-full.icons_weather li{
	margin: 0;
	padding:0 2.2%;
	display: inline-block;
	position: relative;
}
	
ul.icons-full.icons_weather li:nth-child(odd){
	top: 70px;
}

ul.half,
ul.third{
	text-align: center;
}

ul.half li,
ul.third li{
	display: inline-block;
}

ul.half li{
	width: 45%;
}

ul.third li{
	width: 30%;
}

ul.half li img,
ul.half li video,
ul.third li img{
	width: 100%;
}

.container_fullscreen h2{
	margin: 0 auto;
	text-align: center;
}

.container_fullscreen img{
	width: 100%;
}

.case_study header.entry-header,
.post header.entry-header,
.site-main .post-navigation,
.category_spacer{
	margin: 80px auto 0;
	padding: 80px 0 0;
	max-width: 1100px;
	width: 100%;
}

footer.entry-footer{
	display: none;
}

.site-main .post-navigation{
	margin: 10px auto !important;
	padding: 0 40px !important;
}

.case_study .case_study_content_first,
.category_block{
	margin: 0 auto;
	padding: 0 0 40px /* 0 5% 40px */;
	max-width: 1100px;
	width: 100%;
}

.category_block{
	max-width: none !important;
}

.container_video{
	margin: 0 0 3%;
}

.more-link{
	margin: 0;
	padding: /*  0 0 20px*/ 0;
	display: block;
}

.case_study_content{
	margin: 0 auto;
	padding: 40px;
	max-width: 1100px /* 1280px */;
	width: 100%;
}

.blog .case_study_content{
	padding: 0;
}

.category article .entry-title{
	margin: 0;
	padding: 0 0 2%;
}

ul.logos,
ul.methods{
	text-align: center;
}

ul.logos{
	margin: 0 auto;
	max-width: 100%;
}

ul.logos li{
	display: inline-block;
	padding: 0 20px;
	width: 14%;
}

ul.logos img{
	width: 100%;
}

ul.icons li{
	padding: 10px;
}

ul.services{
	margin: 0 50px;
	display: inline-block;
	vertical-align: top;
	text-align: left;
	width: 30%;
}

ul.services li{
	margin: 0 0 0 10px;
	list-style: disc;
	font: 400 normal 1em/ 1.6 "Nunito Sans";
}

ul.services li:first-child{
	margin: 0 0 0 -13px;
	list-style: none;
	font-weight: 600;
}

ul.methods li{
	margin: 0 20px 20px;
	padding: 20px;
	display: inline-block;
	width: 28%;
	vertical-align: top;
}

ul.methods li strong{
	display: block;
}

.site-header.scrolled {
	background-color: rgba(255,255,255,.92);
	box-shadow: 0 0 10px 5px rgba(136,136,136,.9);
	transition: background-color 200ms linear;
}

.post-thumbnail{
	line-height: 0;
}

.blog .post-thumbnail{
	overflow: hidden;
	height: 220px;
	display: block;
	position: absolute;
	top: 0;
	text-align: center;	
	width: 100%;
}

.blog .post-thumbnail img{
	width: 770px;
	max-width: none;
	position: relative;
	left: -30%;
}


/** rotator **/

.rotator-wrapper{
	margin: 0;
	padding: 0;
	width: 100%;
}
.rotator-wrapper > ul,
.rotator-wrapper > li{
	margin: 0;
	padding: 0;
}

ul#rotator{
	width: 100%;
	height: 160px;
	text-align: center;
	display: block;
	overflow: hidden;
}
ul#rotator li{
	display: inline-block;
}
ul#rotator li{
	margin: 0 2%;
	width: 200px;
	position: relative;
}
.rotator-image{
	position: absolute;
	display: none;
	background: #fff;
}
.rotator-image img{
	width: 100%;
	position: relative;
	top: -40px;
}

/** mailmunch_css **/

#secondary,
.site-footer{
	padding: 2% 0 0;
	color: #fff;
	width: 100%;
}

.site-footer{
	background: #07133F;
}

.site-footer ul{
	list-style: none;
	text-align: center;
}

.site-footer li{
	margin: 0 5%;
	display: inline-block;
	vertical-align: text-top;
	width: 20%;
	font: 400 normal 1.2rem/ 1.2 "Nunito Sans";
}

.site-footer li a{
	color: #fff;
	text-decoration: none;
}

.site-footer li img{
	display: block;
	margin: 0 auto 10px;
}

#secondary{
	padding: 0;
	background-image: radial-gradient(#D27F32, #683606);
	width: 100%;
	text-align: left;
	text-shadow: 2px 2px 2px #333;
}

#secondary .widget{
	margin: 0px;
	display: inline-block;
	text-align: left;
	vertical-align: middle;
	width: 45%;
}

#secondary .left{
	text-align: left;
	line-height: 0;
	position: relative;
	height: 800px;
	overflow: hidden;
}

#secondary .left img{
	width: 100%;
}

#secondary .footnote{
	position: absolute;
	bottom: 0;
	left: 20px;
	font-size: 16px;
	z-index: 1000;
}

#secondary .widget_mc4wp_form_widget /** right **/{
	margin: 0 0 0 6%;
}

#secondary h1{
	font-family: 'fancy_slab';
	letter-spacing: .05em;
	font-size: 70px;
	line-height: 68px;
}

#secondary h2{
	font-family: 'slab_light';
	font-size: 45px;
	margin: 0;
}

#secondary input,
#secondary textarea{
	width: 100%;
	padding: 7px 14px !important;
	vertical-align: top;
}

#secondary .name_first,
#secondary .name_last{
	width: 49%;
	float: left;
}
#secondary .name_first{
	margin: 0 2% 30px 0;
}

#secondary .content{
	height: 100px;
}

ul.closing_footer{
	margin: 0;
	padding: 6% 10% .5%;
	width: 100%;
	height: 150px;
	background: #fff;
	list-style: none;
	display: inline-table;
	font: 600 normal .6em/ 1.6 "Nunito Sans";
}

ul.closing_footer li{
	float: left;
	width: 49%;
	vertical-align: bottom;
}

ul.closing_footer li:nth-child(1){
	display: block;
	text-align: left;
	width: 100%;
}

ul.closing_footer li:nth-child(3){
	float: right;
	text-align: right;
}

ul.closing_footer img{
	width: 90px;
	margin: 0 0 10px;
}

ul.closing_footer li a{
	display: inline-block;
	margin: 0 0 0 15px;
	text-decoration: none;
}

/** Media Queries **/

@media screen and (max-height: 450px) {
	.sidenav {padding-top: 15px;}
	.sidenav a {font-size: 18px;}
}

/** accordian **/
/* 48em = 768px */
/* 64em = 1024px */

@media (max-width: 1920px) {
	/* body{
		background: blue;
	} */
}

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

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

@media all and (max-width: 1440px) {
	/* body{
		background: red;
	}*/
}

@media all and (max-width: 1199px) {
	body{
		/* background: green; */
	}
	div.landing_page a{
		height: 550px;
	}
	.entry-header h1{
		padding: 0 5%;
	}
	h1.space_above{
		margin: 60px 0 10px;
	}
	.container_fullscreen h2{
		margin: 20px auto;
		width: 100%;
	}
	p{
		margin: 0 0 20px;
		font: 400 normal 1.2em/ 1.4 "Nunito Sans";
	}
	#secondary .name_first{
		margin: 0 2% 20px 0;
	}
	#secondary .btn,
	button{
		padding: 15px 20px !important;
	}
	/* .custom-html-widget{
		width: 90%;
	} */
	
	#secondary .left{
		height: 650px;
	}
	
	#secondary .widget_mc4wp_form_widget{
		margin: 0;
		padding: 0 4%;
	}
	#secondary h1{
		font-size: 60px;
		line-height: 60px;
	}
	#secondary h2{
		font: 40px;
	}
}

@media all and (max-width: 1024px) {
	body{
		/* background: yellow; */
	}
	div.homepage{
		margin: 0;
		width: 100%;
	}
	div.landing_page{
		padding: 60px 5% 30px;
	}
	div.landing_page a{
		width: 100%;
	}
	.category article{
		margin: 0 auto 30px !important;
		padding: 0 0 30px;
		width: 90%;
		display: block;
		height: auto;
	}
	div.landing_page a,
	div.landing_page a:nth-child(2n),
	.category article:nth-child(2n+1){
		margin: 0 0 4%;
	}
	.blog .top_bnr{
		height: auto;
	}
	div.landing_page a div{
		padding: 4% 7% 0;
	}
	div.landing_page a img{
		top: -70px;
	}
	.callout{
		width: 90%;
		font-size: 1.1em;
	}
	.blog .post-thumbnail img{
		width: 100%;
		position: static;
		max-width: none;
	}
	.site-footer li{
		margin: 0;
		display: inline-block;
		width: 40%;
	}
	#secondary .widget{
		width: 100%;
	}
	ul, ol{
		margin: 0 0 1.5em;
	}
	ul#rotator{
		height: 140px;
	}
	.rotator-image{
		width: 170px
	}
	.rotator-image img{
		top: -60px;
	}
	ul.services{
		margin: 0 3%;
		width: 35%;
	}
	ul.services li,
	ul.methods li{
		font: 400 normal .8em/ 1.3 "Nunito Sans";
	}
	ul.methods li{
		margin: 0 2%;
		text-align: center;
		width: 45%;
	}
	ul.logos li{
		width: 17%;
	}
	.more-link{
		padding: 0;
	}
	ul.closing_footer li{
		width: 59%;
	}
	ul.closing_footer li:nth-child(2){
		width: 39%;
	}
	#secondary .left {
    	height: 500px;
		margin: 0 0 5%;
	}
}

@media all and (max-width: 768px) {
	/* body{
		background: pink;
	} */
	h1, h2, h3, h4, h5, h6{
		margin:  0 0 10px;
		/* padding: 0 5%; */
	}
	h1{
		font-size: 1.6em;
		line-height: 1.1em;
	}
	h1.homepage{
		margin: 0 0 10px;
	}
	h1.space_above{
		margin: 40px 0 10px;
	}
	h2,
	.container_fullscreen h2{
		margin: 0 0 10px;
		font-size: 1.3em;
		line-height: 1em;
	}
	h4{
		font-size: 1.2em;
	}
	.top_bnr h4{
		margin: 0;
		padding: 0;
	}
	div.landing_page{
		padding: 30px 5%;
	}
	p{
		padding: /* 0 5% 40px */ 0;
		font: 400 normal .9em/ 1.4 "Nunito Sans";
	}
	p.site-title{
		padding: 0 5% 10%;
	}
	#secondary{
		padding: 0;
	}
	#secondary h1{
		font-size: 39px;
		line-height: 50px;
	}
	#secondary h2{
		font-size: 28px;
	}
	#secondary .btn,
	button{
		padding: 8px 13px !important;
		font-size: .9em;
	}
	#secondary input, #secondary textarea{
		font-size: 1rem;
		padding: 5px 10px !important;
	}
	#secondary .left {
    	height: 340px;
	}
	#secondary .left img{
		position: absolute;
		top: -110px;
	}
	#secondary .widget_mc4wp_form_widget{
		width: 100%;
	}
	.mc4wp-form-fields p:nth-child(1),
	.mc4wp-form-fields p:nth-child(4){
		margin: 0 0 20px;
	}
	.case_study .case_study_content_first, .category_block{
		padding: 0 20px 40px;
	}	
	.case_study header.entry-header,
	.post header.entry-header,
	.site-main .post-navigation{
		padding: 70px 0 10px;
	}
	.case_study_content{
		padding: 20px;
	}
	.post-thumbnail img{
		margin: 0 0 30px;
		width: 100%;
	}
	ul.services{
		margin: 0;
		padding: 3%;
		width: 85%;
	}
	ul.logos{
		max-width: 100%;
	}
	ul.logos li{
		width: 45%;
	}
	ul.services li{
		font: 400 normal .9em/ 1.4 "Nunito Sans";
	}
	ul.methods li{
		margin: 0;
		padding: 20px 20px 0;
		width: 100%;
	}
	ul.half li,
	ul.third li{
		width: 100%;
	}
	ul.icons-full{
		padding: 0 0 10px;
	}
	ul.icons-full.icons_weather li:nth-child(2n+1){
		top: auto;
	}
	div.landing_page a,
	.category article{
		border-radius: 20px;
	}
	div.landing_page{
		padding: 30px 5%;
	}
	div.landing_page p{
		margin: 0 0 10px;
		padding: 0;
		font: 400 normal .9em/ 1.2 "Nunito Sans";
	}
	div.landing_page a,
	div.landing_page a:nth-child(2n),
	.category article:nth-child(2n+1){
		margin: 0 0 5%;
		height: 400px;
	}
	div.landing_page a div{
		padding: 3% 4% 2%;
		background: rgba(245,245,245,.93);
	}
	div.landing_page a img{
		top: unset;
		bottom: 0;
	}
	ul#rotator{
		height: 90px;
	}
	ul#rotator li,
	.rotator-image{
		width: 90px;
		height: 80px;
	}
	ul#rotator li:last-child{
		/* display: none; */
	}
	.rotator-image img{
		top: -10px;
	}
	.more-link{
		padding: 0;
	}
	/* img{
		width: 100px;
	} */
	.category-blog img{
		width: 100%;
	}
	.post-thumbnail{
		/* display: none; */
	}
	.site-footer{
		padding: 10% 5% 5%;
	}
	.site-footer li{
		width: 100%;
		display: block;
		font: 400 normal 1.8rem/ 1.2 "Nunito Sans";
	}
	.site-footer li img{
		margin: 0 auto;
		width: 50px;
	}
	.site-footer li a{
		font: 400 normal .7em/ 1 "Nunito Sans"
	}
	ul.closing_footer li,
	ul.closing_footer li:nth-child(1),
	ul.closing_footer li:nth-child(2),
	ul.closing_footer li:nth-child(3){
		text-align: center;
		float: none;
		width: 100%;
		font: 400 normal 1.3em/ 1 "Nunito Sans"
	}
	ul.closing_footer li:nth-child(2) p{
		padding: 0;
	}
	.page-id-144 #secondary{
		/* padding: 120px 10% 0; */
	}
	.blog .case_study_content p{
		display: none;
	}
	/* .blog .case_study_content{
		padding: 0px 30px;
	} */
	.blog .top_bnr{
		margin: 60% 30px 0 !important;
		padding: 0 !important;
	}
	.blog .post-thumbnail{
		height: 200px;
	}
	.blog .post-thumbnail img{
		width: 170%;
		position: absolute;
	}
	.blog p{
		margin: 0;
		padding: 0;
	}
}

/** FONTS **/

@font-face {
	font-family: 'slab_light';
	src: url('https://ded.company/wp-content/themes/ded_company/fonts/slab_light.eot');
	src: local('☺'), url('https://ded.company/wp-content/themes/ded_company/fonts/slab_light.woff') format('woff'), url('https://ded.company/wp-content/themes/ded_company/fonts/slab_light.ttf') format('truetype'), url('https://ded.company/wp-content/themes/ded_company/fonts/slab_light.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'slab';
	src: url('https://ded.company/wp-content/themes/ded_company/fonts/slab.eot');
	src: local('☺'), url('https://ded.company/wp-content/themes/ded_company/fonts/slab.woff') format('woff'), url('https://ded.company/wp-content/themes/ded_company/fonts/slab.ttf') format('truetype'), url('https://ded.company/wp-content/themes/ded_company/fonts/slab.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'fancy_slab';
	src: url('https://ded.company/wp-content/themes/ded_company/fonts/fancy_slab.eot');
	src: local('☺'), url('https://ded.company/wp-content/themes/ded_company/fonts/fancy_slab.woff') format('woff'), url('https://ded.company/wp-content/themes/ded_company/fonts/fancy_slab.ttf') format('truetype'), url('https://ded.company/wp-content/themes/ded_company/fonts/fancy_slab.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'fancy_slab_italic';
	src: url('https://ded.company/wp-content/themes/ded_company/fonts/fancy_slab_italic.eot');
	src: local('☺'), url('https://ded.company/wp-content/themes/ded_company/fonts/fancy_slab_italic.woff') format('woff'), url('https://ded.company/wp-content/themes/ded_company/fonts/fancy_slab_italic.ttf') format('truetype'), url('https://ded.company/wp-content/themes/ded_company/fonts/fancy_slab_italic.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'icons';
	src: url('../fonts/icons.eot');
	src: local('☺'), url('../fonts/icons.woff') format('woff'), url('../fonts/icons.ttf') format('truetype'), url('../fonts/icons.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
