/*
Theme Name: JHGPlanning
Author: Metanym
Description: JHG Planning Theme
Version: 1
Text Domain: jhgplanning
*/

/*menu by the author*/

@media (max-width:768px) {
  .home .col-md-3 > div h1 {
  padding: 9px !important;
  height: 68px !important;
}

body > div.container > div.row.visible-xs.visible-sm > div {
  margin-bottom: 2em;
}

.home .col-md-3.col-xs-6 img {
  height: auto !important;
}

body > div.container > div.row.visible-xs.visible-sm > div {
  height: auto;
}
}

@media only screen and (max-width : 600px) {
  .container > div.row.visible-xs.visible-sm > div {
  height: 225px !important;
  }

  .home .col-md-3.col-xs-6 img {
  height: auto !important;
}


}

@media (min-width:768px) {
	.sub-menu {
		display: none;
		position: absolute;
		background: #222;
		padding: 10px 15px;
		width: 200px;		
	}

	li:hover .sub-menu {
		display: block;
	}

	.row.visible-xs.visible-sm .col-md-3.col-xs-6 {
  height: 400px;
}

}

.sub-menu li {
	margin-bottom: 10px;
	list-style: none;
}

.sub-menu li:last-child {
	margin-bottom: 0;
}

.sub-menu a  {
	color: #999;
	text-decoration: none;
}

.sub-menu a:hover  {
	color: #fff;	
}	

.current-menu-item > a, .current-menu-parent > a {
	background: #000;	
}
.current-menu-parent li a {
	background: inherit;
}
.current-menu-parent .current-menu-item a {
	color: #fff;
	font-weight: bold;
}

/*end menu by the author*/

.sidebar h3 {
	color: green;
}

.widget {
	margin: 10px 0 30px 0;
}

.pipe {
	color: red;
	font-weight: bold;
	font-style: normal;
}

.glyphicon-comment {
padding: 0 6px;
color: red;
}

article.post {
margin-bottom: 3em;
}

.blog .col-md-9 hr:last-of-type, .archive .col-md-9 hr:last-of-type {
display: none;
}

.prev-next {
	font-size: 1.5em;
	margin-top: 2em;
	text-align: right;
}

header {
  background: rgb(141, 189, 189);
  border-bottom: 5px solid rgb(17, 46, 62);
  margin-bottom: 2em;
  padding: 1em 0;
}

footer {
	border-top: 15px solid rgb(67, 105, 113);
	margin-top: 2em;
	padding: 1em 0;
	border-bottom: 15px solid black;
}

.navbar-inverse {
  background-color: transparent;
  border-color: transparent;
}

.nav>li>a {
  padding: 0px 15px !important;
  color: rgb(65, 102, 112) !important;
}

#menu-header-menu {
  float: right;
}

.navbar {
	min-height: 0px;
	margin-bottom: 0px;
}

.address h1 {
  margin: 0px;
  font-size: 1.3em;
  margin-bottom: .3em;
  color: rgb(67, 105, 113);
}

#menu-footer-menu {
  padding: 0px;
  list-style-type: none;
}

#menu-footer-menu li a {
  color: rgb(67, 105, 113);
  margin-bottom: .2em;
  display: block;
  font-weight: bold;
}

.metanym, .metanym a {
  color: rgb(67, 105, 113);
  margin-bottom: 1em;
}

.glyphicon-earphone {
  color: rgb(65, 102, 112);
  font-size: 1.2em;
  top: 4px;
  padding-right: .3em;
}

.contact a {
  color: rgb(65, 102, 112);
  font-weight: bold;
  letter-spacing: .05em;
}

.current-menu-item > a, .current-menu-parent > a {
	background: inherit;
}

.page-header {
	margin:0px;
	border-bottom: none !important;
}

.page-header h1 {
	margin:0px;
	color: rgb(65, 102, 112);
}

.home .col-md-3 img {
  width: 100%;
}

.home .col-md-3 > div h1 {
  background: rgb(17, 46, 62);
  margin: 0px;
  padding: 14px 46px;
  font-size: 1.2em;
  color: rgb(142, 191, 191);
  height: 68px;
  text-align: center;
}

.toprow {
  margin-bottom: 2em;
}

.logo > img {
  width: 100% !important;
}

.logo {
  text-align: center;
}

input#ninja_forms_field_1, input#ninja_forms_field_2 {
  width: 50%;
}

.sidebar img {
  width: 100%;
  height: auto;
}

.mobile-logo img {
  max-width: 10%;
  margin: 20px;
}

ul {
  padding-left: 1em;
}

.our-services-list {
  list-style-type: none;
  padding-left: .3em;
}

.our-services-list li a {
  color: rgb(17, 46, 62);
  font-weight: bold;
  margin-bottom: .2em;
  display: block;
}

body > div.container > div > aside > h2 {
  color: rgb(65, 102, 112);
  font-size: 1.6em;
}

.back {
  display: inline-block;
  background: rgb(141, 189, 189);
  color: white;
  padding: 6px 17px;
  border-radius: 5px;
  margin: .5em 0;
}


.row.visible-xs.visible-sm .col-md-3.col-xs-6 h1 {
  height: 70px;
}

.footer-navigation {
  margin-bottom: 1em;
}

.alignleft {
float:left;
margin:  10px 10px 10px 0;
}

.alignright {
float:right;
margin: 10px 0 10px 10px;
}

.wp-caption {
border: 1px solid #cccccc;
padding: 6px;
text-align: center;
margin-right:25px;
margin-top: 25px;
}

.widget h3
{
color: rgb(65, 102, 112);
}

.widget a
{
color: rgb(67, 105, 113);
}

body > div.container > div.row.toprow.hidden-xs.hidden-sm > div:nth-child(2), body > div.container > div.row.toprow.hidden-xs.hidden-sm > div:nth-child(3), body > div.container > div.row.toprow.hidden-xs.hidden-sm > div:nth-child(4) {
  margin-top: 15em;
}

.home .col-md-3.col-xs-6 img {
  height: auto;
}

div#attachment_171 {
  position: relative;
  bottom: 22em;
}

body > div.container > div.row.toprow.hidden-xs.hidden-sm > div:nth-child(1) {
  position: relative;
  top: 90px;
}