/*!
Theme Name: Derwent Financial Planning
Description: Theme purpose built for Derwent Financial Planning 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: derwent
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

ul#profiles
{
	margin: 0px auto;
	padding: 0px !important;
}

ul#profiles .col
{
	float: left;
	list-style-type: none;
	display: inline-block;
	margin: 0px !important;
	padding: 0px !important;
	width: 25%;
}

ul#profiles .col .profile
{
	margin: 5px;
	padding: 10px;
	background: #eeeeee;
	text-align: center;
}

ul#profiles .col .profile .team-text
{
	margin: 10px auto;
	font-size: 12px !important;
}

ul#profiles .col .profile .team-text .social
{
	margin: 10px auto;
}

ul#profiles .col .profile img
{
	margin: 10px auto;
}

ul#profiles .col .profile .team-text .button
{
	font-size: 16px;
	color: #ffffff;
	background: #337ab7;
	padding: 4px 8px;
}

figure.wp-block-image img{width: 100%; height: auto; margin-bottom: 15px;}

*
{
	margin: 0px;
	padding: 0px;
	font-family: 'Open Sans', sans-serif;
}

.text-right
{
	text-align: right;
}

#header
{
    margin: 5px 0px 15px;
	background: #ffffff !important;
}

#header
{

    padding-top: 10px;
    padding-bottom: 10px;
}

#header p
{
    font-size: 14px;
	height: 60px;
    margin: 20px 0px;
	
}

#header a {color: #242323 !important; transition: 0.2s;}

#header a:hover {
	text-decoration: none;
	color: #001f60 !important;
}

#header span {color: #001f60; font-weight: 600;}

#header .fa-clock, #header .fa-map-marker, #header .fa-address-book
{

	display: block;
	float: left;
	font-size: 20px !important;
	margin: 10px 0px;
	color: #c0c0c0 !important; 
    font-size: 13px;
}

#header a 
{
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s  ease-in-out;
    -o-transition: all 0.2s  ease-in-out;
    transition: all 0.2s  ease-in-out;	
}

#header a:hover 
{
    color: #eb5d0b;
    text-decoration: none;
}


.navbar
{
	background: #001f60;
	margin: 0px auto;
	border-radius: 0;
	border: 0px;
}

.navbar .navbar-nav
{
	display: inline-block;
	float: none;
	color: #ffffff;
}

.navbar-default .navbar-nav > li > a
{
	color: #bababa;
	text-transform: uppercase;
	padding: 25px 15px;
	text-align: center;
	font-weight: 400;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s  ease-in-out;
	-o-transition: all 0.2s  ease-in-out;
	transition: all 0.2s  ease-in-out;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a.active
{
	color: #ffffff !important;
	background-color: none !important;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
	background: none !important;
	color: #ffffff !important;	
}

.navbar .navbar-collapse
{
  text-align: center;
}

#strap1
{
	padding-top: 20px;
	padding-bottom: 20px;
	background: #ffffff;
	color: #bababa;

}

#strap1 h2
{
	color: #ffffff;
	text-transform: uppercase;
	font-size: 26px !important;
	margin: 0px;
}

#strap1 h2 a
{
	color:	#050708;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s  ease-in-out;
	-o-transition: all 0.2s  ease-in-out;
	transition: all 0.2s  ease-in-out;
}

#strap1 h2 a:hover
{
	color: #1a1a1a;
	text-decoration: none;	
}

#strap2
{
	color: #bababa;
	background: #001f60;
	padding-top: 20px;
	padding-bottom: 20px;
}

#strap2 h2
{
	color: #050708;
	text-transform: uppercase;
	font-size: 26px !important;
	margin: 0px;
}

#strap2 h2 a
{
	color:	#001f60;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s  ease-in-out;
	-o-transition: all 0.2s  ease-in-out;
	transition: all 0.2s  ease-in-out;
}

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

#usp
{

	background-attachment: fixed;
	text-align: center;
	position: relative;
	background: url('../images/usp-bg.jpg');
	color: #ffffff;
	padding-top: 150px;
	padding-bottom: 150px;
	background-position: center -500px;
	background-attachment: fixed;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
 	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#usp .overlay {top: 0px; z-index: 1;}

#usp .fa-handshake,
#usp .fa-home,
#usp .fa-chart-bar,
#usp .fa-pound-sign
{
	font-size: 50px;
	height: 100px;
	line-height: 100px;
	width: 100px;
	background: #191619 !important;
	padding: 15px 20px 20px 20px;
	border-radius: 50%;
}

#usp p
{
	font-size: 26px;
	line-height: 30px;
	font-weight: 600;
	text-transform: uppercase;
	margin-top: 20px;
}

#usp p span
{
	color: #001f60;
}

#content
{
	padding-top: 25px;
	padding-bottom: 25px;
}

#content h1
{
	margin: 0px;
	font-size: 24px;
	text-transform: uppercase;
	color: #1a1a1a;
	padding-bottom: 20px;
}

#content h2
{
	margin: 0px;
	text-transform: uppercase;
	font-size: 24px;
	color: #606060;
	padding-bottom: 20px;
}

#content p
{
	color: #1a1a1a;
}

#content #contact
{
	padding-top: 0px;
	text-align: right;	
}

#content ul
{
	padding-left: 20px;
	list-style-type: square;
}

#content .col-md-5  ul
{
	list-style-type: none;
	text-align: right;
}

#content .col-md-5  li
{
	display: inline-block;
}

#content #contact ul
{
	list-style-type: square !important;	
	padding-top: 20px;
}

#content #contact ul li
{
	display: block;	
	list-style-type: square !important;	
	margin-bottom: 5px;
	font-size: 16px;
}

#content #contact ul li a
{
	color: #333333;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s  ease-in-out;
	-o-transition: all 0.2s  ease-in-out;
	transition: all 0.2s  ease-in-out;
}

#content #contact ul li a:hover
{
	color: #179cd8;
	text-decoration: none;
}

/*team*/

#services {
    padding: 50px 0px;
}

#services p
{
	font-size: 18px;
	color: #303030;
}



#services h1 {
    margin: 0px;
    padding-bottom: 20px;
    text-transform: uppercase;
	font-size: 24px;
	font-weight: 600;
	color: #001f60;
}

#services .col-md-12 p:last-child {
	padding-bottom: 20px;	
}

#services li {
	list-style-position: inside;
	list-style-type: square;
	font-size: 18px;
}

#services .users img {
	width: 100%;
	margin: 0px auto;
	filter: grayscale(1);
	transition: 0.5s;
}

#services .users:hover img {
	filter: grayscale(0);	
}

.col-lg-3 {max-width: 20% !important;}

#services .col-lg-3 .team-text {
    background: #d9d9d9;
    padding: 25px 15px;
    color: #2d2d2d;
    text-transform: uppercase;
    font-weight: 400;
	font-size: 14px !important;
	width: 100%;
	max-width: 650px;
	margin: 0px auto;
	margin-bottom: 30px;
	text-align: center;
}

#services .col-lg-3 .team-text p {
	margin: 0px;
	font-size: 14px;	
}

#services .col-lg-3 .team-text a {
	color: #001f60;
	margin-right: 5px;
}

#services .col-lg-3 .read-more {
	display: inline-block;
	background: #001f60 !important;
	color: #ffffff !important;
	padding: 5px 10px !important;
	margin-top: 10px;
	transition: 0.3s;
}

#services .col-lg-3 .read-more:hover {
	background: #ffffff;
	color: #001f60;
	text-decoration: none;
}

#services .social a {
	display: inline-block;
	font-size: 18px !important;
	margin-left: 15px;
	margin-top: 5px;
	color: #001f60;
}

#services .social a:first-child {
	margin: 0px;
}

#services .wp-block-file a {
	display: inline-block;
	background: #001f60;
	color: #ffffff;
	font-size: 14px;
	text-transform: uppercase;
	padding: 10px 15px;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
}

#services .wp-block-file a:hover {
	background: #cccccc;
	text-decoration: none;
}

#services .wp-block-file__button {
	display:none !important;
}

#recent {
	background: #001f60;
	padding: 20px;
	color: #ffffff;
	transition: 0.5s;
}

#services .col-md-3 a:hover #recent {
	background: #012c86;
	text-decoration: none;
}

#services .col-md-3 a:hover #recent p {
	text-decoration: none;
}

#recent h1 {
	color: #ffffff;
}

#recent p {
	color: #ffffff;
}

#recent a {
	color: #ffffff;
}

#recent ul li {
	list-style-type: none;
}

#team {
	padding: 50px 0px;	
}

#team img {
	margin-bottom: 25px;
	border: 10px solid #f1f1f1;	
}

#team p
{
	font-size: 18px;
	color: #303030;
	margin: 0px;
	padding-bottom: 10px;
}

#team h1 {
    margin: 0px;
    padding-bottom: 20px;
    text-transform: uppercase;
	font-size: 24px;
	font-weight: 600;
	color: #001f60;
}

#team ul {
	padding-left: 20px;
}

#team li {
	font-size: 18px;
	list-style-type: square;
}

#team #team-info p {
	padding: 0px;
	font-size: 14px !important; 	
}

#team #team-info a {
	color: #050708;
	transition: 0.2s;
}

#team #team-info a:hover {
	text-decoration: none;
	color: #001f60;
}

#team #team-info #social a {
	font-size: 25px !important;
	margin-right: 10px;
	margin-top: 15px;
	color: #001f60;
}

#stats {
    background: #001f60;
    color: #ffffff;
    padding-top: 55px;
    padding-bottom: 40px;
}

#stats #logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#stats p {
    color: #ffffff;
    font-weight: 300;
    margin: 0px;
    text-align: center;
    font-size: 25px;
    line-height: 35px;
}

#stats p span {
    color: #ffffff;
    font-size: 65px;
    font-weight: 700;
}

img.img-responsive{
	width: auto !important;
	max-height: 100px !important;
}

/**/

#strap3
{
	background: #001f60;
	min-height: 50px;
}

#map {
    width: 100%;
    height: 450px;
    filter: grayscale(1);
}

#footer
{
	background: #1a1a1a;
	color: #ffffff;
	font-size: 12px;
	padding-top: 30px;
	padding-bottom: 20px;
}

#footer a
{
	color: #ffffff;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s  ease-in-out;
	-o-transition: all 0.2s  ease-in-out;
	transition: all 0.2s  ease-in-out;	
}

#footer a:hover
{
	color: #179cd8;
	text-decoration: none;
}

#footer .fa-angle-up
{
	color: #ffffff;
	font-size: 12px !important;
	height: 30px;
	width: 40px;
	height: 30px;
	line-height: 40px;
	float: right;
	margin-left: 20px;
	background: #001f60;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s  ease-in-out;
	-o-transition: all 0.2s  ease-in-out;
	transition: all 0.2s  ease-in-out;	
}

#footer .fa-angle-up:hover
{
	color: #ffffff;
	background: #404040;
}

/*Posts Page*/

.news {
	-webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;
	padding-top: 20px;

}	

@media (max-width: 990px) {
		
.news {
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
	}
	
}

@media (max-width: 770px) {
		
.news {
	-webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1;
	}
	
}

.news .post {
    background: #f1f1f1;
    padding: 20px;
    margin-bottom: 20px;
	display: inline-block;
}

.news .post h2 {
    padding-bottom: 15px;
}

.news .post .view {
    display: inline-block;
    color: #ffffff;
    background: #001f60;
	border: 1px solid #001f60;
    padding: 10px 15px;
    font-size: 14px;
    transition: 0.3s;
}

.news .post .view:hover {
    background: #ffffff;
	color: #001f60;
    text-decoration: none;
}
/*--*/


/*Forms*/

form#form
{
	position: absolute;
	right: 0px;
	width: 100%;
	top: 0px;
	max-width: 320px;
	padding: 20px;
	background: #ffffff;
}

form#form h3
{
	color: #242323;
	margin: 0px;
	text-align: left;
	font-weight: 700;
}

form#form h3 span
{
	color: #001f60;
}

form#form p
{
	font-size: 	12px !important;
	padding-left: 3px;
}

form#form label
{
	font-weight: 400;
	color: #000000;
}

input[type=text]
{
	width: 100%;
	padding: 5px;
	margin-bottom: 10px;
}

input[type=email]
{
	width: 100%;
	padding: 5px;
	margin-bottom: 10px;
}

input[type=submit]
{
	color: #ffffff;
	border: none;
	padding: 10px;
	margin-top: 15px;
	text-transform: uppercase;
	font-weight: 700;
	background: #1a1a1a;
	border: 2px solid #1a1a1a;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s  ease-in-out;
	-o-transition: all 0.3s  ease-in-out;
	transition: all 0.3s  ease-in-out;
}

input[type=submit]:hover
{
	color: #001f60;
	background: #ffffff;
	border: 2px solid #001f60;	
}

#date:hover
{
	cursor: pointer;
}

.glyphicon
{
	margin-left: 5px;
}

form#form2
{	
	width: 95%;
	max-width: 800px;
	background: #ffffff;
	font-family: 'Open Sans', sans-serif;
	text-align: center;	
	font-size: 18px;
	padding-bottom: 15px;
	padding-top: 25px;
}

form#form2 input[type=text]
{
	width: 100%;
	border: 1px solid #ffffff;
	border-top: 1px solid #e1e1e1;
	padding-top: 20px;
	margin-top: 5px;
}

form#form2 textarea
{
	width: 100%;
    resize: none;
	border: 1px solid #ffffff;
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	padding-top: 20px;
	margin-top: 5px;
}

form#form2 input[type="submit"]
{
	padding: 10px;
	margin-top: 10px;
	background: #179cd8;
	color: #ffffff;
	float: left;
	border: 1px solid #179cd8;
	-moz-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s  ease-in-out;
    -o-transition: all 0.4s  ease-in-out;
    transition: all 0.4s  ease-in-out;	
}

form#form2 input[type="submit"]:hover
{
	color: #1a1a1a;
	background: #ffffff;
	border: 1px solid #179cd8;
}

.error, .red
{
	color: #ff0000;
	float: none;
	text-align: center;	
	margin: 0px auto;
}

.green
{
	color: #3cff00;
	float: none;
	text-align: center;	
	margin: 0px auto;	
}

/*WP Form*/
form.wpcf7-form
{
	padding: 15px;
	background: #efefef;
}
.wpcf7-form input[type="text"] {
    border: 1px solid #333333;
    padding: 10px;
	color: #000000;
    margin-bottom: 0px;
    width: 100%;
}

.wpcf7-form input[type="email"] {
    border: 1px solid #333333;
    padding: 10px;
	color: #000000;
    margin-bottom: 0px;
    width: 100%;
}

.wpcf7-form textarea {
    border: 1px solid #333333;
    padding: 10px;
	color: #222222;
    margin-bottom: 0px;
    resize: none;
    width: 100%;
}


.wpcf7-form select {
    border: 1px solid #333333;
    padding: 10px;
	color: #222222;
    margin-bottom: 0px;
    resize: none;
    width: 100%;
}

.wpcf7-form input[type="submit"] {
    background: #001f60;
    color: #ffffff;
	border: 1px solid #001f60 !important;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
    transition: 0.3s;
    width: auto !important;
}

.wpcf7-form input[type="submit"]:hover {
    color: #001f60;
	background: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

/*****/

@media screen and (max-width: 1020px)
{
	#content .col-md-5 ul {max-width: 1020px; width: 100%; margin: 0px auto; display: block; text-align: center; list-style-position: inside; margin-left: -13px;}	
}

@media (max-width: 990px) {
    .navbar-header {float: none; padding: 20px 0px;}
    .navbar-left,.navbar-right {float: none !important;}
    .navbar-toggle {display: block;}
    .navbar-collapse {border-top: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);}
    .navbar-fixed-top {top: 0; border-width: 0 0 1px;}
    .navbar-collapse.collapse {display: none!important;}
    .navbar-nav {float: none!important; margin-top: 10px; width: 100%;}
    .navbar-nav>li {float: none;}
    .navbar-nav>li>a {width: 100%; text-align: left !important;}
	.navbar-default .navbar-nav>.active>a {background: #ffffff !important; color: #001f60 !important;}
    .collapse.in{display:block !important;}
	#navbar {padding-left: 0px; padding-right: 0px;}
	.dropdown-menu {background: #ffffff !important;}
}

@media only screen and (max-width: 990px) {
	#header a img {display: block; margin: 0px auto;}
	#header p {text-align: center;}	
	#usp {padding-top: 50px; padding-bottom: 50px;}
	#usp i {margin-top: 30px;}
	#usp .container #first i {margin-top: 0px;}
	#content {text-align: center;}
	#content ul {list-style-position: inside;}
	#content .col-md-5 {padding-top: 20px;}	
	#content .col-md-5 ul {text-align: center; list-style-position: inside;}
	#content #contact {text-align: center;}
	#footer {text-align: center;}
	form#form2 input[type="submit"] {float: none;}
}

@media only screen and (max-width: 900px) {
	form#form {left: 0px; margin: 0px auto;}
	#strap1 {text-align: center;}
	#strap1 h2 {font-size: 25px;}
	#strap2 {text-align: center;}
	#strap2 h2 {font-size: 25px;}

}

.pdfemb-viewer
{
	text-transform: uppercase;
	background: #001f60;
	color: #ff0000;
	padding: 4px 8px;
}

@media (max-width: 770px) {

	#stats #logos {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		flex-direction: column;
	}
	#stats #logos img {width: 100%; max-width: 116px; margin: 10px auto;}
}

.pdfemb-viewer
{
	padding: 10px;
	color: #ffffff !important;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;align-content;
}

.pdfemb-viewer:hover
{
	text-decoration: none;
	background: #222222 !important;
}

.none {display: none !important;}
