/** footer design **/

footer ul li a,  footer  p{
	font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    padding: 3px 3px !important;
    margin: 0;
    line-height: 1.2;
}

footer ul li a{
	display: inline-block !important;
}

footer h2{
	font-family: Montserrat;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    color: #ffffff;
    padding: 0 3px;
    margin: 0 0 10px 0;
}

footer ul li a:hover, footer ul li a:focus{
	background-color: #f8b34f !important;
	color: #4a4a4a;
}

footer{
	  background-color: #4a4a4a;
	  margin-top: 50px !important;
	  padding-bottom: 60px !important;
}

.footer_panels > .footer-panel{
	width: 20%;
}

	.footer_panels > .footer-panel-4{
	width: 40%;
}

footer .footer-panel-4{
	text-align: right;
}

.main-footer {
    padding: 20px 0 0 0;
}

footer ul.social-media-links--platforms li a span:before {
    display: inline-block;
    padding: 10px 10px 10px 10px;
    font-size: 20px;
}

footer ul.social-media-links--platforms li a {
    display: inline-block;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

footer ul.social-media-links--platforms li a:hover, footer ul.social-media-links--platforms li a:focus {
    background: transparent !important;
    color: #519ac5;
    border: 2px solid #519ac5;
}

footer ul.social-media-links--platforms li a span.fa-facebook:before {
    padding: 10px 15px 10px 15px;
}

footer ul.social-media-links--platforms li a span.fa-youtube:before {
    padding: 10px 13px 12px 13px;
}

footer ul.social-media-links--platforms li a span.fa-google-plus:before {
    padding: 10px 10px 12px 10px;
}

footer .region.region-footer > section {
    display: table-cell;
    width: 50%;
    vertical-align: bottom;
}

footer section#block-socialmedialinks {
    text-align: right;
}

footer ul.social-media-links--platforms.platforms.inline.horizontal {
    margin-bottom: 0;
}

footer .region.region-footer {
    display: table;
    width: 100%;
}

@media (max-width: 768px){

	footer #block-docseducation-footer ul li, #block-c2017docseducation{
		float: none !important;
	}

	footer .main-footer{
		padding: 15px 0px;	
	}
	
	.footer_panels > .footer-panel > .region{
		padding: 15px 0;
		border-bottom: 1px solid #a5bed5;	
	}
	
	.footer_panels > .footer-panel{
		width: 100%;
	}
	
	footer .address-box{
		margin-bottom: 15px;
	}
	
	footer .footer-panel-4{
		text-align: left;
	}
	
	footer .region.region-footer > section {
		display: block;
		width: 100%;
		vertical-align: inherit;
	}

	footer section#block-socialmedialinks {
		text-align: left;
		margin: 15px 0 0 0;		
	}
	
}

/** move to top box **/

section#block-movetotop {
    position: fixed;
    color: #FFFFFF;
    bottom: 30px;
    border: 1px solid #4a4a4a;
    display: none;
    width: 70px;
    text-align: center;
    background-color: #4a4a4a;
    right: 20px;
    text-transform: uppercase;
    vertical-align: middle;
    padding: 4px;
    z-index: 10000;
}

section#block-movetotop:before {
    content: '\f077';
    font-family: FontAwesome;
    display: inline;
    vertical-align: text-bottom;
}

section#block-movetotop
 > div {
    display: inline-table;
}

/** move to top box ends here**/
