/**
* Theme Name: D&D Security
* Theme URI: http://ddsecurity.com/
* Description: Child theme for D&D Security built on the For The Cause theme.
* Author: Robert Noakes
* Author URI: http://robertnoak.es/
* Version: 1.0
* Tags: child
* Template: forthecause
**/

/* Global Layout Styles */
@import url(../forthecause/style.css);

@font-face
{
	font-family: 'Social';
	src: url('includes/fonts/social.eot');
	src: url('includes/fonts/social.eot?#iefix') format('embedded-opentype'), url('includes/fonts/social.woff') format('woff'), url('includes/fonts/social.ttf') format('truetype'), url('includes/fonts/social.svg#social') format('svg');
	font-weight: normal;
	font-style: normal;
}

#connect .social .search_main
{
	padding: 5px;
	float: left;
}

#footer-wrapper .social .search_main
{
	display: none;
}

#connect .social .search_main .searchform
{
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#connect .social .search_main .field
{
	padding: 2px 32px 2px 8px;
	font-size: 14px;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#connect .social .search_main .search-submit
{
	top: 0;
	right: 0;
	padding: 0;
	display: block;
	height: 24px;
	width: 32px;
	background-position: center center;
	text-indent: -625rem;
}

@media (max-width: 767px)
{
	#connect .social .search_main
	{
		float: none;
	}
}

#connect .social a.blog:before
{
	content: '\e013';
}

a.woo-sc-button.ddsecurity-button
{
	margin: 0;
}

p strong
{
	font-weight: bold;
}

p.negative-margin
{
	margin-top: -1.122em;
}

p.small-margin
{
	margin-bottom: 1.122em;
}

body #wrapper .post header h1 a
{
	font-size: 1em !important;
}

#inner-wrapper
{
	min-width: 30rem;
}

#top #connect
{
	float: right;
	clear: right;
}

#top #connect a,
#header #connect a
{
	display: block;
	float: left;
}

#top #connect a::before,
#header #connect a::before
{
	margin: 0;
	padding: 0.7rem 0.6rem 0.4rem;
	color: #fff;
	line-height: normal;
}

#top-section.has-background
{
	padding: 6em 0;
	background: none no-repeat center center;
	background-size: cover;
}

#inner-wrapper #header
{
	z-index: 100;
	padding: 0;
	background: #fff;
}

#inner-wrapper #header div.section-wrapper
{
	padding: 0;
}

#inner-wrapper #header #logo,
#inner-wrapper #header #logo img
{
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
	-webkit-transition: none;
	transition: none;
}

#inner-wrapper #header #logo
{
	margin: 0;
	max-width: 80%;
}

#inner-wrapper #header #logo:active
{
	position: static;
	top: auto;
}

#wpadminbar
{
	position: fixed !important;
}

/* Global Classes */
.hidden
{
	display: none;
}

/* Form Styles */
section.form-wrapper
{
	overflow: hidden;
}

.post-8922 section.form-wrapper
{
	overflow: visible;
}

#contact-page .screenReader,
section.form-wrapper .screenReader
{
	position: absolute;
	top: -9999px;
	left: -9999px;
	display: none;
}

#contact-page ol.forms,
section.form-wrapper ol.forms
{
	margin: 0 0 2.618em;
	list-style: none;
}

#contact-page ol.forms:after,
section.form-wrapper ol.forms:after
{
	display: block;
	overflow: hidden;
	clear: both;
	height: 0;
	content: "\0020";
}

#contact-page ol.forms li,
section.form-wrapper ol.forms li
{
	position: relative;
	margin-bottom: 1.618em;
	float: left;
	clear: left;
	width: 48%;
}

#contact-page ol.forms li:first-child,
section.form-wrapper ol.forms li:first-child
{
	margin-right: 0;
}

#contact-page ol.forms li:nth-child(2n),
section.form-wrapper ol.forms li:nth-child(2n)
{
	clear: none;
}

#contact-page ol.forms li.right-column,
section.form-wrapper ol.forms li.right-column
{
	float: right;
	clear: right;
}

#contact-page li.textarea,
#contact-page li.screenReader,
#contact-page li.inline,
#contact-page li.buttons,
#contact-page li input.txt,
#contact-page li textarea,
section.form-wrapper ol.forms li.textarea,
section.form-wrapper ol.forms li.screenReader,
section.form-wrapper ol.forms li.inline,
section.form-wrapper ol.forms li.buttons,
section.form-wrapper ol.forms li input.txt,
section.form-wrapper ol.forms li textarea
{
	width: 100%;
}

#contact-page ol.forms li label.error,
section.form-wrapper ol.forms li label.error
{
	display: block;
	color: inherit;
}

#contact-page ol.forms li label label.error,
section.form-wrapper ol.forms li label label.error
{
	padding-right: 0.5em;
	display: inline-block;
	font-weight: bold;
}

#contact-page ol.forms li label.error,
section.form-wrapper ol.forms li span.required,
section.form-wrapper ol.forms li label.error,
#contact-page ol.forms li label.noakes-message,
section.form-wrapper ol.forms li label.noakes-message
{
	color: #c00;
	font-weight: bold;
}

#contact-page ol.forms li.textarea .error,
section.form-wrapper ol.forms li.textarea .error
{
	display: block;
}

#contact-page ol.forms li.screenReader,
section.form-wrapper ol.forms li.screenReader
{
	margin-bottom: 0;
}

#contact-page ol.forms li.inline input,
section.form-wrapper ol.forms li.inline input
{
	position: relative;
	top: -0.5px;
	margin-right: 0.53em;
	width: auto;
}

#contact-page ol.forms li.no-margin,
section.form-wrapper ol.forms li.no-margin
{
	margin-bottom: 0;
}

#contact-page ol.forms li.inline label,
section.form-wrapper ol.forms li.inline label
{
	display: inline;
	float: none;
	width: auto;
	font-weight: normal;
	font-style: normal;
	font-size: 1em;
}

#contact-page ol.forms label,
section.form-wrapper ol.forms label
{
	margin: 0 0 0.53em;
	display: block;
	color: inherit;
	font-weight: bold;
}

section.form-wrapper select
{
	border: 1px solid #dcdcdc;
	padding: 0.25em 0.25em 0.25em 0.5em;
	width: 100%;
	font-size: 1em;
	line-height: 1.618em;
	font-family: inherit;
	outline: none;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding;
	background-clip: padding-box;
	-webkit-border-radius: 0.236em;
	border-radius: 0.236em;
	-webkit-box-shadow: 0 -1px 2px 0px rgba(0, 0, 0, 0.05);
	box-shadow: 0 -1px 2px 0px rgba(0, 0, 0, 0.05);
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

section.form-wrapper aside.thank-you
{
	display: none;
}

div.chosen-container-single > a.chosen-single,
div.chosen-container-single > a.chosen-single > span
{
	white-space: normal;
}

ul.chosen-results
{
	margin: 0 !important;
}

ul.chosen-results li
{
	position: static !important;
	margin-bottom: 0 !important;
	float: none !important;
	clear: none !important;
	width: auto !important;
}

input.quantity
{
	max-width: 4em;
}

/* Shortcode Styles */
div.right-bar
{
	padding-left: 6.73%;
	float: right;
	width: 22.22%;
}

div.two-columns
{
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 1.5em;
	-moz-column-gap: 1.5em;
	column-gap: 1.5em;
}

div.two-columns p
{
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	column-break-inside: avoid;
}

div.video-wrapper
{
	position: relative;
	margin-bottom: 1.5em;
	padding-bottom: 56.25%;
	height: 0;
}

div.video-wrapper iframe
{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

div.youtube-video
{
	position: relative;
	margin: 0 auto 1.364em;
	max-width: 40rem;
}

div.youtube-video .image
{
	padding-bottom: 56.25%;
	display: block;
	height: 0;
	background: none no-repeat center center;
	background-size: cover;
}

div.youtube-video .play
{
	position: absolute;
	right: 50%;
	bottom: 50%;
	z-index: 1;
	display: block;
	height: 48px;
	width: 68px;
	background: url(//ddsecurity.com/wp-content/uploads/2017/04/play.png) no-repeat center center;
	opacity: 0.75;
	-moz-transform: translateX(50%) translateY(50%);
	-ms-transform: translateX(50%) translateY(50%);
	-o-transform: translateX(50%) translateY(50%);
	-webkit-transform: translateX(50%) translateY(50%);
	transform: translateX(50%) translateY(50%);
	-moz-transition: opacity 200ms ease-in-out;
	-ms-transition: opacity 200ms ease-in-out;
	-o-transition: opacity 200ms ease-in-out;
	-webkit-transition: opacity 200ms ease-in-out;
	transition: opacity 200ms ease-in-out;
}
div.youtube-video:hover .play
{
	opacity: 1;
}

/* Home Styles */
#featured-slider
{
	font-size: 10px;
}

#featured-slider li.slide
{
	height: 542px;
	background-position: center center;
	font-size: 1em;
}

#featured-slider li.slide *
{
	color: #fff;
	text-align: left;
}

#featured-slider li.slide div.slide-content
{
	margin-top: 0;
	padding-right: 57px;
	padding-left: 57px;
	max-width: 1134px;
	background: none;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#featured-slider li.slide div.slide-content h1
{
	margin-bottom: 0.25em;
}

#featured-slider li.slide div.slide-content img
{
	height: auto;
	max-width: 50%;
}

#featured-slider li.slide div.slide-content p
{
	margin-bottom: 1em;
	font-size: 1.5em;
}

#featured-slider li.slide div.slide-content div.col-full
{
	max-width: none;
}

#featured-slider .flex-direction-nav a
{
	margin-top: -24px;
	top: 50%;
	direction: ltr;
	text-indent: -10000px;
}
#featured-slider .flex-direction-nav a:hover,
.wooslider .wooslider-direction-nav a:hover
{
	text-decoration: none;
}

#featured-slider .flex-direction-nav a::before
{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 47px;
	line-height: 49px;
	text-indent: 0;
	text-align: center;
}

#featured-slider .flex-direction-nav .flex-prev
{
	left: 0 !important;
}

#featured-slider .flex-direction-nav .flex-next
{
	right: 0 !important;
}

body.home #breadcrumbs
{
	display: none;
}

#cogs
{
	padding: 3.5rem 0;
}

#cogs div.section-wrapper
{
	text-align: center;
}

a.ddsecurity-cog
{
	position: relative;
	display: inline-block;
	height: 12.5rem;
	width: 12.5rem;
	color: #fff;
	font-size: 1.5rem;
	line-height: 1em;
}

#cogs a.ddsecurity-cog
{
	margin: 1rem;
}

a.ddsecurity-cog span
{
	position: absolute;
	display: block;
}

a.ddsecurity-cog span.cog
{
	top: 0;
	left: 0;
	height: 12.5rem;
	width: 12.5rem;
	background: url(images/cog-blue.png) no-repeat center center;
	background-size: contain;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-transform-origin: top;
    -ms-transform-origin: top;
    -o-transform-origin: top;
    -webkit-transform-origin: top;
    transform-origin: top;
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    -o-transform-origin: center;
    -webkit-transform-origin: center;
    transform-origin: center;
    -moz-transform-style: flat;
    -ms-transform-style: flat;
    -o-transform-style: flat;
    -webkit-transform-style: flat;
    transform-style: flat;
	-moz-transition: all 400ms ease-in-out;
	-ms-transition: all 400ms ease-in-out;
	-o-transition: all 400ms ease-in-out;
	-webkit-transition: all 400ms ease-in-out;
	transition: all 400ms ease-in-out;
}
a.ddsecurity-cog:hover span.cog
{
	-moz-transform: rotate(30deg);
	-ms-transform: rotate(30deg);
	-o-transform: rotate(30deg);
	-webkit-transform: rotate(30deg);
	transform: rotate(30deg);
}

a.ddsecurity-cog.gray span.cog
{
	background-image: url(images/cog-gray.png);
}

a.ddsecurity-cog.green span.cog
{
	background-image: url(images/cog-green.png);
}

a.ddsecurity-cog.purple span.cog
{
	background-image: url(images/cog-purple.png);
}

a.ddsecurity-cog.orange span.cog
{
	background-image: url(images/cog-orange.png);
}

a.ddsecurity-cog.red span.cog
{
	background-image: url(images/cog-red.png);
}

a.ddsecurity-cog span.description
{
	top: 50%;
	left: 50%;
	color: #fff;
	text-align: center;
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

/* Product Styles */
.woocommerce-product-gallery__wrapper .secondary
{
	float: left;
	width: 31%;
}

div.star-rating
{
	width: 5.3em;
}

div.star-rating span::before
{
	color: #174880;
}

span.sku_wrapper
{
	padding-bottom: 0.5em;
	display: block;
	font-size: 1.375em;
}

span.sku
{
	white-space: nowrap;
}

#featured-products
{
	background: url(../forthecause/images/divider.png) no-repeat top center
}

#featured-products span.sku_wrapper
{
	padding: 0.5em 0 0;
	font-size: 1em;
}

#featured-products ul.products li.product span.price
{
	display: none;
}

/* Contact Styles */
#contact-page #location-map
{
	padding-left: 6.73%;
	width: 22.22%;
}

#contact-page section.entry
{
	overflow: hidden;
}

#contact-page section.entry img
{
	height: auto;
	max-width: 100%;
}

#contact-page #contactForm
{
	float: none;
	width: auto;
}

/* Blog Styles */
.hentry img,
.hentry img.thumbnail
{
	width: auto;
}

/* Search Styles */
.search_main
{
	padding-bottom: 24px;
}

.search #main > article
{
	margin-bottom: 2em;
	border-bottom: 1px solid #dcdcdc;
	padding-top: 24px;
	padding-bottom: 0;
}

.search #main > article img.alignleft
{
	margin: 0 2.244em 1em 0;
	float: left;
}

.search #main > article h1
{
	font-weight: bold;
}

.search .post-meta
{
	display: none;
}

.search .hentry .post-meta
{
	display: block;
}

/* Managed Services Styles */
div.ddsecurity-left
{
	padding-right: 6.361%;
	overflow: hidden;
	float: left;
	min-height: 1px;
	width: 15.903%;
}

div.ddsecurity-center
{
	overflow: hidden;
	float: left;
	min-height: 1px;
	width: 33.206%;
}

div.ddsecurity-center.inline-block
{
	text-align: center;
}

div.ddsecurity-center.inline-block > div
{
	display: inline-block;
}

div.ddsecurity-center img.padded
{
	padding: 35px 0 36px;
}

div.ddsecurity-center h3
{
	margin-top: -1rem;
}

div.ddsecurity-right
{
	overflow: hidden;
	float: right;
	min-height: 1px;
	width: 38.168%;
}

div.ddsecurity-right.padded
{
	padding-left: 5%;
}

div.ddsecurity-right img
{
	margin: 0 auto;
	display: block;
}

/* Resellers Styles */
section.reseller-categories div.category-wrapper
{
	position: relative;
	margin-bottom: 2.422em;
	float: left;
	width: 22%;
}

section.reseller-categories div.four-one,
section.reseller-categories div.four-two
{
	margin-right: 4%;
}

section.reseller-categories div.four-one
{
	clear: left;
}

section.reseller-categories div.four-four
{
	float: right;
	clear: right;
}

section.reseller-categories div.category
{
	padding-top: 100%;
}

section.reseller-categories div.image
{
	position: absolute;
	top: 0;
	left: 0;
	padding-bottom: 100%;
	height: 0;
	width: 100%;
}

section.reseller-categories div.image img
{
	position: absolute;
	top: 50%;
	left: 50%;
	height: auto;
	max-height: 100%;
	width: auto;
	max-width: 100%;
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

section.reseller-categories div.title
{
	padding-top: 0.25em;
	text-align: center;
}

/* Case Study Styles */
#case-study
{
	background: url(../forthecause/images/divider.png) no-repeat top center
}

#case-study img,
.single-case-study .hentry .entry img
{
	height: auto;
	width: 100%;
}

.single-case-study .hentry .entry
{
	float: none !important;
	width: auto !important;
}

/* Checkout Styles */
table thead th,
table tfoot tr
{
	background: #134782;
}

div.woocommerce abbr
{
	border: 0;
	color: #c00;
	font-weight: bold;
	cursor: default;
}

@media only screen and (min-width: 768px)
{
	/* Global Layout Styles */
	#inner-wrapper #header div.section-wrapper
	{
		position: relative;
	}
	
	#inner-wrapper #navigation
	{
		position: absolute;
		right: 0;
		left: auto;
		float: none;
		width: auto;
	}
	
	#inner-wrapper #navigation ul.nav > li
	{
		border: 0;
	}
	
	#inner-wrapper #navigation ul.nav > li > a
	{
		padding: 4rem 2rem;
		border-right: 1px solid #fff;
		background: #174880;
		color: #fff;
		line-height: 1.6rem;
		-moz-transition: none;
		-ms-transition: none;
		-o-transition: none;
		-webkit-transition: none;
		transition: none;
	}
	#inner-wrapper #navigation ul.nav > li > a:hover
	{
		color: #fff;
		opacity: 0.75;
		filter: alpha(opacity=75);
	}
	
	#inner-wrapper #navigation ul.nav > li.double a
	{
		padding: 3.2rem 2rem;
		text-align: center;
	}
}

@media only screen and (max-width: 767px)
{
	/* Global Layout Styles */
	#inner-wrapper #header #logo
	{
		margin-left: 4.5em;
	}
	
	#inner-wrapper #header span.nav-toggle
	{
		top: 2.25em;
	}
	
	#inner-wrapper #navigation ul.nav > li.double a br
	{
		display: none;
	}
	
	#inner-wrapper #navigation ul.nav ul ul
	{
		display: none;
	}
	
	/* Shortcode Styles */
	div.two-columns
	{
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}
	
	/* Home Styles */
	#featured-slider li.slide div.slide-content
	{
		margin-top: 1em;
	}
	
	#featured-slider li.slide div.slide-content img
	{
		max-width: 66.667%;
	}
	
	#featured-slider .flex-control-nav
	{
		display: none;
	}
	
	/* Managed Services Styles */
	div.right-bar,
	div.ddsecurity-right,
	div.ddsecurity-right.padded
	{
		padding: 0;
		float: none;
		width: auto;
	}
	
	/* Contact Styles */
	#contact-page #location-map
	{
		padding-left: 0;
	}
}

/* Promethean */
#promethean,
#promethean-mobile
{
	display: block;
	float: left;
	height: 95px;
	width: 204px;
	background: transparent url(https://ddsecurity.com/wp-content/uploads/2017/10/logo-promethean.png) no-repeat center center;
	background-size: contain;
	-moz-transition: background 200ms ease-in-out;
	-ms-transition: background 200ms ease-in-out;
	-o-transition: background 200ms ease-in-out;
	-webkit-transition: background 200ms ease-in-out;
	transition: background 200ms ease-in-out;
}

#promethean:hover,
#promethean-mobile:hover
{
	background-color: #eee;
}

#promethean-mobile
{
	display: none;
}

@media (max-width: 1170px)
{
	#inner-wrapper #navigation ul.nav > li > a,
	#inner-wrapper #navigation ul.nav > li.double a
	{
		padding-right: 1em;
		padding-left: 1em;
	}
	
	#promethean
	{
		width: 172px;
	}
}

@media (max-width: 1024px)
{
	#promethean
	{
		width: 58px;
		background-image: url(https://ddsecurity.com/wp-content/uploads/2017/10/logo-promethean-small.png);
	}
}

@media (max-width: 896px)
{
	#promethean
	{
		display: none;
	}
}

@media (max-width: 768px)
{
	#promethean-mobile
	{
		display: block;
		float: right;
	}
}

@media (max-width: 624px)
{
	#promethean-mobile
	{
		width: 58px;
		background-image: url(https://ddsecurity.com/wp-content/uploads/2017/10/logo-promethean-small.png);
	}
}

@media (max-width: 480px)
{
	#promethean-mobile
	{
		display: none;
	}
}
