/*
Theme Name: Digital Printer Awards 2018
Theme URI: http://www.e-motivemedia.com
Description: Responsive Digital Printer Awards theme developed by e-Motive Media Ltd.
Author: e-Motive Media Ltd
Version: 1.0
Tags: 
*/

/* DPA exclusive styles */

a:link {
color: #cd2d29;
text-decoration:none;
}

a:visited {
color: #cd2d29;
}

a:hover {
color: #9a221f;
text-decoration: underline;
}

a:active {
color: #9a221f;
}

#topPanelContainer {
	background-image: url(/wp-content/themes/dpa2018/images/dpa-bg-1.jpg);
}

#homePanelContent h1 {
color: #cd2d29;
}

#homePanelContent p {
color: #cd2d29;
}

h2.fancy {
color: #cd2d29;
}

h2.fancy a {
color: #cd2d29;
}

h2.fancy:before {
background: #cd2d29;
}

#mainLogo {
margin:0;
width:200px;
height:auto;
float:left;
margin-top:20px;
margin-bottom:20px;
}

#headerRight {
width:85%;
max-width:900px;
}	

#mainLogo img {
width:100%;
max-width:345px;
}

a.button {
background-color: #cd2d29;
border-bottom: 5px solid #9a221f;
}

a.button:hover{
background-color: #9a221f;
border-bottom: 5px solid #cd2d29;
}

a.button:active {
background-color:#9a221f;
border-bottom: 5px solid #cd2d29;
}

#awards1 {
background-image: url(images/sidebar-bg1.jpg);
}

#right h3 {
color: #cd2d29;
}

#footerStrip {
background-image: url(images/dpa-bg-1.jpg);
}

#footerContainer {
background-color: #333333;
}

#copyrightContainer {
background-color: #232323;
}

#right #awards2 h3, #right .sponsors h3 {
color: #cd2d29;
}

#awards2 h3:before, .sponsors h3:before {
background: #cd2d29;
}

.callout {
background-color: #fbeeee;
}

.callout p {
color: #cd2d29;
}

.toggle-btn {
background-color: #cd2d29;
border-bottom: 5px solid #9a221f;
}

#gallery-2 .gallery-item {
    float: left;
    text-align: center;
    width: 40%;
    max-width: 40%;
    margin-right: 5%;
	margin-bottom:20px;
	
	}
	
#gallery-2 img {

    border: 1px solid #cccccc !important;
    max-width: 100%;
    height: auto;
	}

#gallery-2 .caption,
.justified-gallery > div > div > .caption, .justified-gallery > div > div .caption {
display:none !important;
}
table#envirabox-title-float-wrap {
display:none;
}

#navContainerPrimary {
background-color: #232020;
}

/* end DPA exclusive styles */


* { 
margin: 0; 
padding: 0; 
}

html { 
overflow-y: scroll;
}

body {
font-size: 62.5%;
font-family: "Montserrat", Arial, Helvetica, sans-serif;
background-color: #ffffff;
color: #333333;
line-height:150%;
}

html, body {
height:100%;
}

a, img { 
outline: none;
border:none;
color: #000;
}

img {
display: block;
}

hr { 
border: 0; 
height: 0; 
border-top: 1px solid #dddddd;
margin: 30px 0;
}

p.clear {
clear:both;
height:0px;
line-height:0.0000001px;
font-size: 0.0000001px;
}

.hidden {
display:none;
}

article, aside, details, figcaption, figure,
footer, hgroup, menu, nav, section { 
display: block;
}

th {
background-color:#cd2d29;
}

table td {
border-right: 1px solid #cd2d29;
border-bottom: 1px solid #cd2d29;
}

#homeStripContainer {
	width:100%;
	float:left;
	position:static;

	margin-bottom:30px;
	background-color:#cd2d29;
}

#homeStrip p {
text-align:center;
color: #ffffff;
font-size: 2em;
font-weight:600;
}

#homeStrip {
width:100%;
max-width: 975px !important;
margin-left:auto;
margin-right:auto;
}

/* Global formatting styles */

p {
font-size: 1.4em;
line-height: 175%;
margin: 1.2em 0;
font-family: "Montserrat", Arial;
font-weight:400;
}

p strong {
font-weight:600;
}

h1 {
	font-size: 4.8em;
	line-height:110%;
	margin: 0.5em 0 0.5em 0;
	font-weight:600;
}

h2 {
font-size: 3.2em;
line-height:125%;
margin: 1em 0 0.6em 0;
font-weight:600;
}

h3 {
font-size: 1.8em;
line-height:125%;
margin: 0.6em 0;
font-weight:600;	

}

h4 {
font-size: 1.8em;
line-height:125%;
margin: 0.6em 0;
font-weight:600;

}

h2 strong, 
h3 strong, 
h4 strong {
font-weight:600;
}

h2 a:link, 
h3 a:link, 
h2 a:visited, 
h3 a:visited  {
color: #333333;
text-decoration:none;
}

h2 a:hover, 
h3 a:hover, 
h2 a:active, 
h3 a:active {
color: #555555;
text-decoration:none;
}

main a:hover {
text-decoration:none;
}

main ul {
overflow:hidden;
}

main ul li{
font-size: 1.4em;
line-height: 140%;
margin: 0.5em 0 0 1em;
padding:0 0 0 0.3em;
font-family: "Montserrat", Arial;
font-weight:400;
}

main ul ul li{
font-size: inherit;
line-height:inherit;
padding:0 0 0 0.3em;
}

main ul ul li:last-child {
margin-bottom:0;
}

main ol li {
font-weight:400;
font-size: 1.4em;
line-height: 150%;
margin: 0.6em 0 0.6em 2.5em;
padding:0 0 0 0.6em;
list-style-type:decimal;
font-family: "Montserrat", Arial;
}

main ol ol li{
font-size: inherit;
line-height:inherit;
padding:0 0 0 0.3em;
}

/* Main structure styles */
	
#outerWrapper {
	width:100%;
}

#innerWrapper {
width:100%;
max-width: 100% !important;
margin-left:auto;
margin-right:auto;

}

#contentContainer {
width:100%;
background-color: #ffffff;
float:left;
position:static;
}

#homePanelContainer {
	width:100%;
	float:left;
	position:static;
	min-height: 400px;
	margin-bottom:30px;
}

#topPanelContainer {
	width:100%;
	float:left;
	position:static;
	background-repeat: no-repeat;
	background-position: center 25%;
	min-height: 175px;
}
	
#wrapLeft {
float:none;
width:210px;
margin-right:0;
left:0;
max-width: 210px !important;
overflow:hidden;
position:absolute;
top:244px;
min-width:122px !important;	
}
	
#wrapLeft a, 
#wrapLeft div {
position:relative;
right: 0;
float:right;
}

#wrapRight div {
position:relative;
right: 0;
float:left;
}

#wrapRight{
float:none;
width:210px;
margin-right:0;
right:0;
max-width: 210px !important;
overflow:hidden;
position:absolute;
top:244px;
min-width:122px !important;
}
	
.logged-in #wrapLeft, 
.logged-in #wrapRight {
top:276px;
}

#content {
width: 100%;
float:none;
max-width: 1100px;
margin-right:auto;
margin-left:auto;
}

#homePanel h1, #homePanel p {
text-align:center;
color: #ffffff;
}

#homePanel .aligncenter {
margin-top:30px;
}

#homePanelContent h1 {
margin-top:125px;
font-size: 5.4em;
}

#homePanel .aligncenter {
margin-top:30px;
}

#homePanelContent p {
font-size: 2.5em;
font-weight:600;
font-spacing:1px;
}

#homePanelContent p:last-of-type {
margin-bottom:100px;
}

#left {
width: 70%;
max-width:800px !important;
float:left;
clear:both;
}

.home #left {
width:100%;
max-width:1100px !important;
}

#fullLeft {
float:left;
width:100%;
}

.single main {
float:right;
padding-bottom:20px;
}

main {
width:100%;
max-width:975px !important;
float:left;
}

.home main {
border-top:none;
}

#homeTop,
#homeBottom, 
#supremeSponsor,
#homeSponsors,
#silverSponsors,
#bronzeSponsors  {
float:left;
width:100%;
margin-bottom:30px;
}

#goldSponsors h2.fancy {
color: #b2a400;
}

#silverSponsors h2.fancy {
color: #acacac;
}

#bronzeSponsors h2.fancy {
color: #7b2e00;
}

#goldSponsors h2.fancy a {
color: #b2a400;
}

#silverSponsors h2.fancy a {
color: #acacac;
}

#bronzeSponsors h2.fancy a {
color: #7b2e00;
}

#goldSponsors h2.fancy:before {
background: #b2a400;
}

#silverSponsors h2.fancy:before {
background: #acacac;
}

#bronzeSponsors h2.fancy:before {
background: #7b2e00;
}
#goldSponsors article {
width:25%;
max-width:300px;
margin-right:auto;
margin-left:auto;
float:none;
}

/*#goldSponsors article:last-of-type {
margin-right:0;
}*/

#silverSponsors article,
#bronzeSponsors article {
width:15%;
margin-right:2%;
}

#silverSponsors article:nth-of-type(3n),
#bronzeSponsors article:nth-of-type(3n)
 {
margin-right:2%;
}

#silverSponsors article:nth-of-type(6n),
#bronzeSponsors article:nth-of-type(6n) {
margin-right:0;
}

#silverSponsors article:nth-of-type(3n+4),
#bronzeSponsors article:nth-of-type(3n+4) {
clear:none;
}

#silverSponsors article:nth-of-type(8n+7),
#bronzeSponsors article:nth-of-type(8n+7) {
clear:left;
}

#right .sponsors h3.gold {
color: #b2a400;
}

.sponsors h3.gold:before {
background: #b2a400;
}

#right .sponsors h3.silver {
color: #acacac;
}

.sponsors h3.silver:before {
background: #acacac;
}

#right .sponsors h3.bronze {
color: #7b2e00;
}

.sponsors h3.bronze:before {
background: #7b2e00;
}



#homeBottom {
border-top: 1px solid #cccccc;
}

article.singleAcross {
width:100%;
float:left;
}

article.singleAcross .articleExcerpt {
float:left;
width:49%;
margin-right: 2%;
} 

article.singleAcross .articleExcerpt h3{
margin-top:0;
}

article.singleAcross .articleImage {
float:right;
width:49%;
} 


h2.fancy {
position: relative;
text-align: center;
clear:both;
font-size: 4.4em;
font-weight:600;
margin-top: 15px;
margin-bottom:25px;
margin-left:0;
margin-right:0;
}


#homeTop h2.fancy:first-of-type {
margin-top:30px;
}

h2.fancy span {
background: #fff;
padding: 0 15px;
position: relative;
z-index: 1;
}

h2.fancy:before {
content: "";
display: block;
height: 7px;
position: absolute;
top: 50%;
width: 100%;
left: 0;
}

article{
width:32%;
float:left;
margin-right: 2%;
margin-bottom:20px;
}

.post-type-archive-team article {
width:29%;
margin-right:5%;
}

.post-type-archive-team .articleExcerpt h3, .post-type-archive-team .articleExcerpt p {
text-align:center;
}
.post-type-archive-team .articleImage img.wp-post-image, 
.post-type-archive-team .articleImage img {
border-radius: 50%;
}
.post-type-archive-team article .articleExcerpt p a {
color: #cd2d29;
}

.page-id-13 main article {
width:100%;
float:none;
margin-right:0;
border-bottom: 2px solid #cccccc;
padding-bottom:25px;
}

.page-id-13 main article.single {
border-bottom: none;
padding-bottom: none;
}


#supremeSponsor article {
float:none;
margin-left:auto;
margin-right:auto;
}

#homeSponsors article {
width:15%;
margin-right:2%;
}

#homeSponsors article:nth-of-type(3n) {
margin-right:2%;
}

#homeSponsors article:nth-of-type(6n) {
margin-right:0;
}

#homeSponsors article:nth-of-type(3n+4) {
clear:none;
}

#homeSponsors article:nth-of-type(8n+7) {
clear:left;
}

article:nth-of-type(3n) {
margin-right:0;
}

article:nth-of-type(3n+4) {
clear:left;
}

article.related:nth-of-type(3n+4) {
clear:none;
}

article.twoByTwo {
width:49%;
}

article.twoByTwo:nth-of-type(2) {
margin-right:0;
}


.home.page #homeBottom #homeNews article:nth-child(n+6) h3 {
font-size: 1.8em;
font-weight: 600;
text-transform:none;
margin-top:0;
margin-bottom:0;
}

.home.page #homeBottom #homeNews article:nth-child(n+6) .articleImage, 
.home.page #homeBottom #homeNews article:nth-child(n+6) p {
display:none;
}

.home.page #homeBottom #homeNews article:nth-child(n+6) p.time {
display:inline;
margin-top:5px;
}


#homeBottom article .articleExcerpt p.time {
font-size: 1.4em;
font-weight:400;
color: #808080;
}

article .articleImage span {
background-color:#cd2d29;
width:auto;
float:left;
padding:10px;
font-size: 1.4em;
margin-top:10px;
position:absolute;
left: -10px;
color: #ffffff;
font-family: "Montserrat", Arial, sans-serif;
}

article .articleImage span a {
color:#ffffff;
font-family: "Montserrat", Arial, sans-serif;
}

article .articleImage span a:nth-child(n+2){
display:none;
}

article .articleExcerpt h3 {
color: #cd2d29;
font-size: 1.8em;
width:100%;
float:left;
font-weight:600;
margin-top:15px;
margin-bottom:15px;
line-height:140%;
}

.home article .articleExcerpt h3 {
text-align:center;
}

article .articleExcerpt p {
color: #232323;
font-size: 1.4em;
width:100%;
float:left;
font-weight:400;
margin-top:0;
margin-bottom:15px;
line-height:140%;
}

article .articleExcerpt h3 a {
color: #cd2d29;
}
article .articleExcerpt p a {
color: #232323;
}

article .articleExcerpt h3 a {
color: #cd2d29;
}


.excerpt p{
font-size:2.2em;
line-height:140%;
font-weight:300;
}

.articleExcerpt h3 a:hover {
text-decoration:underline;
}


/* Header */	

#headerContainer {
width:100%;
background-color: #ffffff;
float:left;
}

#navContainerPrimary {
width:100%;
float:left;
}

#navContainerSecondary {
width:100%;
font-size: 1.3em;
color: #ffffff;
font-family: "Montserrat", Arial, sans-serif;
float:left;
}

#navContainerPrimary nav, 
#navContainerSecondary nav {
margin-left:auto;
margin-right:auto;
width:100%;
max-width:1100px;
}

#navContainerSecondary a {
  color: #ffffff;
  padding:10px 20px;
  float:left;
}

#navContainerSecondary a:hover {
text-decoration:none;
color:#ffffff;
}

#navContainerSecondary .current-menu-item a {
text-decoration:none;
color:#ffffff;
}

#navContainerSecondary ul {
float:left;
width:100%;
max-width:1100px !important;
}

#navContainerSecondary li {
float:left;
list-style-type:none;
}

header {
margin-left:auto;
margin-right:auto;
width:100%;
max-width:1100px;
}

#headerRight {
float:right;
}	

#headerRight p {
text-align:right;
font-size: 1.8em;
}

#headerRight a.button {
float:right;
}

#headerTop {
width:100%;
float:left;
}

a.button {
display:block;
float:left;
margin-top:5px;
text-align:center;
text-transform: uppercase;
font-family: "Montserrat", Arial, sans-serif;
font-size:1.2em;
padding-left:15px;
padding-right:15px;
line-height:250%;
font-weight:600;
color:#ffffff;
}

main p.button + *,
main a.button + * {
  clear: both;
  padding-top:20px;
}

p a.button,
article .articleExcerpt p a.button {
font-size: inherit !important;
padding-left:15px;
padding-right:15px;
color: #ffffff;
}

a.button:hover{
text-decoration:none;
}

a.button:active {
text-decoration:none;
}

/* End Header */

/* Individual page/post articles */

article.single {
float:left;
background-color:transparent;
width:100%;
}

article.single .articleImage {
margin-bottom:30px;
}


.articleImage {
width:100%;
position:relative;
clear: both;
}

.articleImage img.wp-post-image, 
.articleImage img {
width:100%;
height:auto;
}

.single .articleImage p {
color: #ffffff;
font-size: 1.2em;
font-family: "Montserrat", Arial;
background-color:#333333;
margin-top:0;
border-top:1px solid #ffffff;
width:94%;
padding-left:3%;
padding-right:3%;
line-height:130%;
padding-top:10px;
padding-bottom:10px;
}

/* Right-hand sidebar */

#right {
width:300px;
min-width: 300px !important;
float:right;
margin-top:25px;
}

#right h3 {
margin-top:0;
padding-top:0;
font-size: 1.8em;
font-weight:600;
margin-bottom:5px;
clear:left;
}

#right p {
font-size: 1.3em;
}

.sponsors {
width:300px;
float:left;
margin-bottom:25px;
}


#twitter {
width:300px;
float:left;
}

#awards1 {
background-repeat: no-repeat;
width:300px;
}

#awards1 h3 {
color: #ffffff;
text-align:center;
font-weight: 600;
font-size: 1.8em;
margin:15px;
line-height:120%;
}

#awards1 p {
color: #ffffff;
text-align:center;
font-weight: 600;
font-size: 1.4em;
margin:25px 15px;
line-height:130%;
}

#awards1 a.button {
width:200px;
margin-left:50px;
float:none;
padding-left:0;
padding-right:0;
}

#awards2 {
width:300px;
}

#right #awards2 h3, #right .sponsors h3 {
position: relative;
text-align: center;
clear:both;
font-size: 1.7em;
font-weight:600;
margin-top: 15px;
margin-left:15px;
margin-right:15px;
}

.sponsors article.supreme {
width:100%;
margin-right:0;
margin-top:15px;
margin-bottom:15px;

}

#right .sponsors h3 {
margin-bottom:15px;
margin-left:0;
margin-right:0;
}


#awards2 p {
text-align:center;
font-size: 1.4em;
margin:25px 15px;
line-height:130%;
}


#awards2 h3 span, .sponsors h3 span {
padding: 0 15px;
position: relative;
z-index: 1;
}

.sponsors h3 span, #awards2 h3 span {
background: #ffffff;
}

#awards2 h3:before, .sponsors h3:before {
content: "";
display: block;
height: 4px;
position: absolute;
top: 50%;
width: 100%;
left: 0;
}


/* End sidebar */


/* Footer styles */

#footerStrip {
width:100%;
	float:left;
	position:static;
	background-repeat: no-repeat;
	background-position: center top;
	min-height: 100px;
}

#footerContainer {
width:100%;
float:left;
}

#copyrightContainer {
width:100%;
float:left;
}

#copyright {
width: 100%;
max-width:1100px;
margin-left:auto;
margin-right:auto;
}

footer {
width: 100%;
max-width:1100px;
margin-left:auto;
margin-right:auto;
}

footer p {
font-size: 1.4em;
color: #ffffff;
}

#footer a {
color: #ffffff;
}


#copyright p {
color: #ffffff;
font-family: "Montserrat", Arial;
font-size: 1.1em;
}

#footerLeft, #footerRight {
width:50%;
}

#footerLeft {
float:left;
}

#footerRight {
float:right;
}

#copyright #footerLeft p {
text-align:left;
}

#copyright #footerRight p {
text-align:right;
}

#copyright a {
color: #ffffff;
}

/* End footer styles */

/* Callout styles */

.callout {
width:50%;
float:right;
background-image: url(images/quote.png);
background-repeat: no-repeat;
background-position: 20px 20px;
}

.home .callout {
width:33%;
margin-left:2%;
}

.callout p {
padding-left:80px;
padding-right:15px;
font-weight: 600;
margin-top:15px;
font-family: "Montserrat", Arial;
font-size: 1.4em;
}

.callout p strong{
color: #333333;
}

/* end callout styles */

/* Video container styles */

.video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
margin-bottom:10px;
}

.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 97%;
height: 97%;
}

/* Video container styles */	

/* In-page and post image styles */

div.alignright {
margin-left:20px;
margin-right:0;
float:right;
max-width: 45% !important;
height:auto !important;
}

div.alignright img {
width:auto!important;
max-width:100% !important;
height:auto !important;
}

img.alignright {
float: right;
margin-bottom: 10px;
margin-left: 20px;
max-width: 45%;
width:auto;
height:auto;
}

div.alignleft {
margin-left:0;
margin-right:20px;
float:left;
max-width: 45% !important;
width:auto !important;
height:auto !important;
}

div.alignleft img {
width:auto!important;
max-width:100% !important;
height:auto !important;
}

img.alignleft {
float: left;
margin-right:20px;
margin-bottom: 10px;
max-width: 45%;
width:auto;
height:auto;
}

img.alignnone, 
img.aligncenter {
margin-left:auto;
margin-right: auto;
margin-bottom: 20px;
max-width: 100%;
height:auto;
}

p img.alignnone {
margin-left:0;
}

div.alignnone, 
div.aligncenter {
margin-left:auto;
margin-right:auto;
margin-bottom:20px;
max-width: 100%;
height:auto;
}

div.alignnone img, 
div.aligncenter img {
max-width: 100%;
height:auto;
}

div.alignnone img {
margin-left:auto;
margin-right:auto;
}

.wp-caption p {
color: #ffffff;
font-size: 1.2em;
font-family: "Montserrat", Arial;
background-color:#333333;
margin-top:0;
width:90%;
padding-left:5%;
padding-right:5%;
line-height:130%;
padding-top:10px;
padding-bottom:10px;
}

/* Start table styles */

table {
margin-top:20px;
margin-bottom:20px;
border-collapse: collapse;
width:100%;
border:none;
}

caption {
font-weight:bold;
font-size: 1.3em;
padding:3px;
}

th {
font-weight:600;
color: #ffffff;
}

table td {
padding: 15px;
line-height: 120%;
text-align: left;
margin-top: 5px;
margin-bottom: 5px;
}

table td:nth-child(2) {
border-right:none;
}

table tr:last-child td {
border-bottom:0;
}

table th {
padding: 15px;
line-height: 120%;
text-align: left;
}

td, th {
font-size: 1.4em;
}

th p, td p {
margin-left:0;
margin-right:0;
font-size: 100%;
}

th li, td li {
font-size: 100%;
}

/* End table styles */

/* Homepage only */

p.more {
line-height:140%;
font-size: 1.3em;
}

p.more a {
color:#fff;
}

/* End homepage only */


h1 img {
float:right;
}

#termMore {
display:none;
}

#myVideo {
    position: relative;
    right: 0;
    bottom: 0;
    min-width: 100%;
    height:auto;
	overflow:hidden;
	}
	
	.videoOverlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 1100px;

}


.homePanel {
  background-color: #222;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  padding: 20px;
  position: relative;
  z-index: 0; 
  height:550px;}
 

.homePanel video {
    position: absolute;
    top: 25%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-25%);
    -moz-transform: translateX(-50%) translateY(-25%);
    -webkit-transform: translateX(-50%) translateY(-25%);
    transform: translateX(-50%) translateY(-25%);
    background-size: cover; }

  

#homePanelContent {
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 20px;
  position: relative;
  width: 100%;
  z-index: 2; }
 
 .details {
display:none;
}

.open .details {
display:inline;
width:100%;
float:left;
}

.toggle-btn {
	background-image: url(images/down.png);
	width:40px;
	height:40px;
	color: #ffffff;
	float:right;
	font-size: 2em;
	background-repeat: no-repeat;
	background-position: center center;
}

.open .toggle-btn {
	background-image: url(images/up.png);

}

.awards li {
list-style-type:none;
margin-left:0;
padding-left:0;
line-height:40px;
clear:right;
padding-bottom:20px;
float:left;
margin-bottom:15px;
width:100%;
border-bottom: 2px solid #cccccc;
}

.awards li a.title {
text-transform: uppercase;
font-weight:600;
color: #333333;
font-size: 120%;
float:left;
}

.awards li p {
font-size: 100%;
}

.rows {
width:100%;
float:left;
}

.rows img {
float:left;
margin-right:25px;
margin-top:25px;
}

.rows img:nth-of-type(even) {

margin-right:0;
}