#cp-footer {
	background-color: rgb(221,221,221);
	max-width: none;
	padding: 42px 20px 45px 20px;
}

#cp-footer.dark {
	background-color: #171717;
}

#cp-footer > div.block-1280px {

}
/*
#cp-footer div.actions {
	display: inline-block;
	position: absolute;
}

#cp-footer div.action {
	display: inline-block;
	line-height: 70px;
	margin-right: 1.6em;
}

#cp-footer div.action > a {
	font-family: Arial, sans-serif;
	font-size: 12px;
	color: rgba(0,0,0,0.8);
}

#cp-footer div.action > a:hover {
	text-decoration: underline;
}
*/

div.footer-links {
	display: table;
	width: calc(100% - 302px);
}

div.footer-links .footer-section {
    display: table-cell;
    vertical-align: top;
    /*width: calc((100% / 3) - 56px);*/
    /*width: calc((100% / 4) - 63px);*/
    width: calc(100% / 3);
    padding: 0 1em;
}

[dir=ltr] div.footer-links .footer-section:first-child {
	padding-left: 0;
}

[dir=rtl] div.footer-links .footer-section:first-child {
	padding-right: 0;
}

#cp-footer .footer-section:nth-child(2) {
	
}

[dir=ltr] #cp-footer .footer-section:last-child {
	padding-right: 0;
}

[dir=rtl] #cp-footer .footer-section:last-child {
	padding-left: 0;
}

#cp-footer h1 {
	font-size: 1.071em;
	font-weight: 600;
	color: rgba(0,0,0,0.6);
	margin: 0 0 1.25em 0;
}

#cp-footer.dark h1 {
	color: #CCC;
}

#cp-footer h2 {
	font-size: 11px;
    font-weight: 600;
    color: rgba(0,0,0,0.5);
    text-transform: uppercase;
    margin: 20px 0 9px 0;
    font-family: Arial, sans-serif;
}

#cp-footer.dark h2 {
	color: #999;
}

#cp-footer div.footer-section h2:first-of-type {
	margin-top: 0;
}

#cp-footer p {
	font-size: 0.857em;
	font-family: Arial, sans-serif;
	color: rgba(0,0,0,0.7);
}

#cp-footer a {
	font-family: Arial, sans-serif;
	font-size: 12px;
	color: rgba(0,0,0,0.8);
}

#cp-footer.dark a,
#cp-footer.dark p {
	color: #DDD;
}

#cp-footer a:hover {
	text-decoration: underline;
}
/*
#cp-footer div.footer-section.this-doc {
	background-color: rgba(0,0,0,0.75);
}

#cp-footer div.footer-section.this-doc h1,
#cp-footer div.footer-section.this-doc p a {
	color: rgba(255,255,255,0.8);
}*/

#cp-footer div.footer-section.shareandfollow {
	width: 276px;
    position: absolute;
    top: 0;
}

html[dir="ltr"] #cp-footer div.footer-section.shareandfollow {
    right: 0;
}

html[dir="rtl"] #cp-footer div.footer-section.shareandfollow {
    left: 0;
}

div.footer-section.shareandfollow a {
    width: 2em;
    display: inline-block;
}

div.footer-section.shareandfollow img {
    max-width: 24px;
}

html[dir="ltr"] div.footer-section.shareandfollow a {
    margin-right: 7px;
}

html[dir="rtl"] div.footer-section.shareandfollow a {
    margin-left: 7px;
}

@media screen and (max-width: 900px) {
	
	#cp-footer h1 {
		margin-bottom: 1.5em;
	}
	
	#cp-footer h2 {
			margin-top: 22px;
		}
	
	div.footer-links {
		width: 100%;
		border-bottom: 1px solid rgba(0,0,0,0.1);
    	padding-bottom: 1em;
    	margin-bottom: 1.6em;
	}
	
	div.footer-links .footer-section:nth-of-type(2) {
		border-left: 1px solid rgba(0,0,0,0.1);
    	border-right: 1px solid rgba(0,0,0,0.1);
	}	
	
	#cp-footer div.footer-section.shareandfollow {
		display: block;
	    position: static;
	    text-align: center;
	    width: 100%;
	}
}

@media screen and (max-width: 550px) {
	
		#cp-footer h1 {
			margin-bottom: 1.6em;
		}
		
		#cp-footer h2 {
			margin-top: 24px;
		}
	
		div.footer-links {
			display: block;
			border: 0;
			padding: 0;
			margin: 0 0 1.6em 0;
		}
		
		div.footer-links .footer-section {
			display: block;
		    width: 100%;
		    padding: 1.6em 0 0.6em 0;
		    border-bottom: 1px solid rgba(0,0,0,0.1);
		    text-align: center;
		}
		
			div.footer-links .footer-section:nth-of-type(2) {
			border-left: 0;
	    	border-right: 0;
		}
		
		div.footer-links .footer-section:first-child {
			padding-top: 0;
		}	
		
		#cp-footer div.footer-section.shareandfollow {

		}
	}