/*
 * Theme Name: First theme
 * Template:   the-artifakt-theme
 *
*/

@import url("../the-artifakt-theme/style.css");
@import url("fonts/stylesheet.css");


body
{
  font-family:"SourceSansPro";
  color:#6A6C6D;
  font-size:16px;
}

.source{font-family: "SourceSansPro", sans-serif;}
.no-padding{padding-bottom:0px;}

/* FONT SIZES */
p{font-size:18px;}
.h1, h1{font-size:48px;}
.h2, h2{font-size:33px;}
.h3, h3{font-size:26px;}
.h4, h4{font-size:22px;}
.h5, h5{font-size:16px;}

.heavy {
	font-weight: 900;
}

.small {
	font-size: 14px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-family: inherit;
	font-weight: 900;
}

a
{
  color:#E96523;
}
a:hover,
a:focus,
a:active
{
  text-decoration:none;
  color:#F37830;
}
.orange-text
{
  color:#E96523;
}
.large-text{font-size:72px;}
.bigger
{
  font-size:68px;
  font-style:italic;
  font-weight:bold;
}
.bigger span{
	font-style:normal;
	font-weight: 900;
}
.btn
{
  color:white;
  font-weight:bold;
  padding:7px 30px;
  border-radius:0px;
  margin:15px 0px;
  font-size:16px;
}
.ghost-btn
{
  border:3px solid white;
  background-color:transparent;
}
#commentsubmit,
{
  background-color:#E96523;
  border:3px solid #E96523;
}
.form-control:focus
{
	box-shadow:0px 1px 1px rgba(0,0,0,0.075) inset, 0px 0px 5px rgba(243,118,46,0.8);
	border-color:#F3762E;
}
.hp1 .btn{margin:15px;}
.btn:hover,
.btn:focus,
.btn:active
{
  color:white;
}
#commentsubmit:hover,
#commentsubmit:focus,
#commentsubmit:active,
{
  background-color:#F3762E;
  border-color:#F3762E;
}
.ghost-btn:hover,
.ghost-btn:focus,
.ghost-btn:active
{
  background-color:#E96523;
  border-color:#E96523;
}
/* Rectangle In */
.orange-btn, .btn-primary {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  background: #F3762E;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  padding: 10px 23px;
  border: none;
}
.orange-btn:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #E96523;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  	background: #E96523;
  	color: white;
}
.orange-btn:hover, .orange-btn:focus, .orange-btn:active {
  color: white;
}
.btn-primary:hover:before, .btn-primary:focus:before, .btn-primary:active:before,
.orange-btn:hover:before, .orange-btn:focus:before, .orange-btn:active:before {
  -webkit-transform: scale(0);
  transform: scale(0);
}

.full-btn {
	width: 100%;
	margin: 0;
}
.script, .crimson {
  font-family:"CrimsonText", script;
  font-style:italic;
  font-weight:100;
}
.light
{
  font-weight:100;
}

.centertext {
	text-align: center;
}
.lefttext {
	text-align: left;
}
.righttext {
	text-align: right;
}
.justifytext {
	text-align: justify;
}



/* HEADER */
html{margin-top:0px!important;}
.site-navigation{border-bottom:1px solid #E96523;}
#masthead
{
    background-color:#EEEEEE;
    text-align:right;
    border-bottom:1px solid #696C6D;
}
#masthead .container{padding-bottom:0px;}
#masthead span
{
  margin-right:5px;
  padding-right:5px;
  border-right:1px solid #929394;
}
#masthead .promise
{
    display:inline-block;
    padding:10px;
    font-weight:bold;
    background-color:#E96523;
    color:white;
    margin-left:10px;
}
#masthead .promise:hover,
#masthead .promise:focus,
#masthead .promise:active
{
  background-color:#F3762E;
}
#masthead .social-icons{border-right:0px;}
.social-icon
{
  color:white;
  background-color:#E96523;
  border-radius:100%;
  padding:3px;
  margin:0px 2px;
}
.social-icon:hover,
.social-icon:focus,
.social-icon:active
{
  background-color:#F3762E;
  color:white;
}
.navbar-default
{
  background-color:white;
  border:0px;
  margin-bottom:0px;
  font-size:18px;
  display: -webkit-flex;
  display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.navbar-collapse{float:left; padding: 0;}
.christie{float:right;}
#main-menu{margin-top:47px;font-weight:bold;}

.dropdown-menu
{
  box-shadow:0px 0px 0px;
  border:0;
  border-radius:0;
  border-top:3px solid #E96524;
}
.dropdown-menu li a
{
  font-size:18px;
  font-weight:bold;
  color:#777;
}
.navbar-default .navbar-nav .active a,
.navbar-default .navbar-nav .active a:hover,
.navbar-default .navbar-nav .active a:focus,
.navbar-default .navbar-nav .active a:active,
.navbar-default .navbar-nav .open .dropdown-menu .active a,
.navbar-default .navbar-nav .open .dropdown-menu .active a:hover,
.navbar-default .navbar-nav .open .dropdown-menu .active a:focus,
.navbar-default .navbar-nav .open .dropdown-menu .active a:active,
.navbar-default .navbar-nav .open .dropdown-menu li a:hover,
.navbar-default .navbar-nav .open .dropdown-menu li a:focus,
.navbar-default .navbar-nav .open .dropdown-menu li a:active,
.navbar-default .navbar-nav .open a:hover,
.navbar-default .navbar-nav .open a:focus,
.navbar-default .navbar-nav .open a:active,
.navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:focus,
.navbar-default .navbar-nav li a:active,
.dropdown-menu li a:hover,
.dropdown-menu li a:focus,
.dropdown-menu li a:active
{
  background-image:none;
  background-color:transparent;
  color:#E96524;
}

.navbar-default .caret {
  color:#E96524;
}

.orange-nav a {
	background-color: #E96523;
    color: #fff !important;
}

.orange-nav a:hover, .orange-nav a:focus, .orange-nav a:active,
.dropdown-menu>.active.orange-nav>a, .dropdown-menu>.active.orange-nav>a:focus, .dropdown-menu>.active.orange-nav>a:hover {
	background-color: #F3762E !important;
	color: #fff !important;
}

.navbar-brand {
	padding: 15px 10px;
	text-align: center;
}

.navbar-brand span {
	display: block;
	text-align: center;
	margin-top: 5px;
}

.navbar-nav>li>a {
	padding: 15px 12px;
}

/* FOOTER */
.footer-top p {
	font-size: 15px;
}
.footer-top .row
{
  padding:50px 15px 0px;
  text-align:center;
}
.site-info
{
  background-color:#EEEEEE;
  border-top:2px solid #E96523;
  padding:30px 0px 0px;
  text-align:center;
}
.site-info p {
	font-size: 15px;
}
.footer-top .col-sm-3 img
{
	padding-top:140px;
}
.col-sm-6 h2:nth-child(2)
{
	margin-top:0px;
	margin-bottom:20px;
}
.footer-top form,
.sidebar form {
	padding: 0 15px;
}

/* HOMEPAGE */
.orgunder {
	border-bottom: 3px solid #e96524;
}
.home .main-content{display:none;}
.hp_panel {
	padding: 40px 0 30px;
	text-align:center;
}
.hp_panel.lefttext {
	text-align:left;
}
.hp_panel.righttext {
	text-align:right;
}
.hp_panel.justifytext {
	text-align:justify;
}


.grey-panel{background-color:#EEEEEE;}
.panel-1 .btn,
.panel-5 .btn
{
	margin-left:20px;
}
.image-panel
{
  background-size:cover;
}
.panel-1 {
	padding-top: 0;
	padding-bottom: 25px;
	background-attachment: fixed;
	background-position: 50%;
}
.panel-1 .container {
	padding-top:100px;
	padding-bottom: 100px;
}
.panel-1 .imgtitle {
	padding-right: 100px;
}
.panel-2, .panel-2 .container, .panel-3, .panel-3 .container, .panel-7, .panel-7 .container {
	padding-bottom: 0;
}
.panel-2 img, .panel-3 img, .panel-7 img {
	margin-bottom: 0;
}
.panel-3 img {
	margin-top: 55px;
}
.panel-3 {
	border-top: 3px solid #e96524;
	border-bottom: 3px solid #e96524;
}
.panel-3 .gform_wrapper .gform_footer{
	margin-top:-44px;
	float: right;
}
.panel-3 .gform_wrapper .gform_footer input.button {
	margin-right: 0;
}
.panel-3 .gform_wrapper {
	padding: 0;
}
#gform_widget-3 .gform_wrapper .gform_footer {
	margin-top:-44px;
	float:right;
}
.panel-3 .gform_footer .gform_button, #gform_widget-3 .gform_footer .gform_button {
	padding:6px 10px;
	z-index:100;
	position:relative;
}
.panel-3 .gform_wrapper .top_label .gfield_label, #gform_widget-3 .gform_wrapper .top_label .gfield_label {
	display:none;
}

.panel-7 h3 p {
	font-size: 26px;
	font-weight: 100;
}

.ginput_container input:focus, .ginput_container select:focus, .ginput_container textarea:focus {
 border-color: #E96523;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(233,101,35, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(233,101,35, 0.6);  border-color: #E96523;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(233,101,35, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(233,101,35, 0.6);
}

.ebook-panel {
	border-top: 3px solid #E96523;
	background-position: 50%;
}

.ebook-panel h3 {
	font-size: 22px;
}

.ebook-panel {
	overflow: hidden;
	display: -webkit-flex;
	display: flex;
	padding: 0;
}

.ebook-left {
	background-size: cover;
	background-position: 50%;
}

.ebook-left, .ebook-right {
	padding: 40px 15px;
}

.ebook-panel p:empty {
	display: none;
}


/* HOME BLOG POSTS */
.blog_query .hentry, .listings_query .hentry {
	float: left;
	width: 100%;
	background-color: #EEEEEE;
}
.blog_query, .listings_query {
	margin-top: 50px;
	margin-bottom: 50px;
}

.listing-image {
	position: relative;
}
.af-cornerBanner
{
	background-color:rgba(238,238,238,0.8);
	padding:0 50px;
	position:absolute;
	top:20px;
	right: 0;
	color:#e96524;
}

/* TOGGLE */
.navbar-default .navbar-toggle
{
  background-color:transparent;
  border-color:#EB6523;
}
.navbar-default .navbar-toggle .icon-bar
{
  background-color:#E96523;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:active
{
  border-color:#F3762E;
  background-color:transparent;
}
.navbar-default .navbar-toggle:hover .icon-bar
{
  background-color:#F3762E;
}

/* FORM */
.site-footer .container
{
	padding-bottom:0px;
}
.contact-tag
{
	font-style:italic;
	font-size:18px;
	background-color:#EEEEEE;
	padding:15px 20px 0px;
	margin-top:15px;
	margin-bottom:0px;
	/* max-width:98%; */
}
.gform_wrapper
{
	background-color:#EEEEEE;
	padding:15px 0px;
}
.gform_wrapper .gfield_required
{
	color:#E96523!important;
}
.gfield label
{
	text-transform:none;
	font-weight:400;
}
.gform_button
{
	background-color:#E96523;
	color:white;
	font-weight:bold;
	border:0px;
 	padding:7px 30px;
  	font-size:16px;
	/* margin-right:15px; */
	margin-bottom:20px;
}
.gform_button:hover,
.gform_button:active,
.gform_button:focus
{
  	background-color:#F3762E;
}
/* 404 PAGE */
.error404 .main-content
{
	background-image:url("imgs/404-bg@2x.jpg");
	background-size:cover;
	text-align:center;
	color:white;
	padding:50px 20px;
}
.error404 .page-header{border-bottom:0px;margin-bottom:0px;}
.error404 .page-content p{font-weight:bold;}
.error404 .page-content p:nth-child(2){margin-bottom:25px;}
.error-btn
{
	clear:both;
}
.search-field{float:left;border-radius:0px;}
.search-btn
{
	float:left;
	margin-top:0px;
	margin-left:-37px;
	padding:9px 11px;
}
/* THANKS */
.page-template-thanks .main-content
{
	background-image:url("imgs/thankyou-bg@2x.jpg");
	background-size:cover;
	text-align:center;
	color:#6A6C6D;
	padding:50px 20px;
}
.page-template-thanks .col-sm-6
{
	background-color:rgba(238,238,238,0.9);
	margin-top:25px;
}
.thankyoupage  p
{
	font-weight:bold;
	padding:0px 10px;
}
/* SHARE */
.af_contact_social{text-align:center;font-family:"CrimsonText";margin:25px 0px;}
.af_contact_social ul{padding-left:0px;}
.af_contact_social li{display:inline-block;}
.af_contact_social .social-containers a
{
	background-color:#E96523;
	border-radius:100%;
	padding:5px 3px 2px;
	width: 27px;
	height: 27px;
	display: inline-block;
	margin-left:7px;
	color:white;
}
.af_contact_social .social-containers a:hover,
.af_contact_social .social-containers a:focus,
.af_contact_social .social-containers a:active
{
	background-color:#F3762E;
}
/* BLOG SIDEBAR INDIVIDUAL */
.widget {
	float: left;
	width: 100%;
}
.sidebar .widget-title
{
	text-align:center;
	border-bottom:2px solid #E96523;
	margin-bottom:0px;
	padding-bottom:15px;
}
.sidebar #search-2{float:left;width:100%;margin-bottom:20px;}
.sidebar #search-2 .widget-title{margin-bottom:20px;}
.sidebar .tagcloud,
.sidebar .widget .nav
{
	background-color:#EEEEEE;
	padding:0px;
}
.sidebar .tagcloud {
	padding: 15px;
}
.sidebar .tagcloud a,
.sidebar .widget .nav li a
{
	padding:15px;
	font-family:"CrimsonText";
	font-style:italic;
}
.sidebar .widget .nav li a
{
	display:block;
}
.sidebar .widget .nav li a:after
{
	content:"\f101";
	font-family:FontAwesome;
	padding-left:5px;
}
.widget_text {
	margin-bottom: 0;
	text-align: center;
}
.widget_text .textwidget {
	background-color:#EEEEEE;
	padding: 10px 10px 0;
	float: left;
	width: 100%;
}
.gform_widget {
	background-color:#EEEEEE;
}

/* CONTACT */
.page-header{text-align:center;border-bottom:0px;}
.contact-copy
{
	background-color:#EEEEEE;
	padding-top:20px;
	border-top:3px solid #EB6525;
}
.contact-form .gform_wrapper
{
	padding:15px;
	max-width:100%;
}

.contact-form .gform_wrapper .top_label input.large {width:100%;}
.contact-form .gform_wrapper .top_label textarea{width:100%;}
.contact-form .gform_wrapper .gform_button{margin-right:0px;}
.orange-underline
{
	border-bottom:3px solid #E96523;
	padding-bottom:5px;
}
#post-59 .contact-vcenter
{
	padding:10px 0px 30px;
}
.page-id-59 .hp_panel{padding-top:0px;padding-bottom:0px;}

.postimg {
	margin-bottom: 25px;
}

.pgimgwrap {
	max-height: 455px;
	overflow: hidden;
	padding: 0;
}
.pgimgwrap img {
	width: 100%;
}

.postimg .imgcaption {
	height: 455px;
	background-color:#E96523;
	color: #FFFFFF;
	text-align: center;
}
.postimg .imgcaption p {
	font-size: 33px;
}
.bookstyles .postimg .imgcaption {
	text-align: left;
}
.bookstyles .postimg .imgcaption p {
	font-size: 20px;
}
.bookstyles .postimg .imgcaption ul,
.bookstyles .postimg .imgcaption li {
	list-style: none;
}
.bookstyles .postimg .imgcaption li {
	margin-top: 10px;
}
.bookstyles .postimg .imgcaption li:before {
  content: '\f069';
  font-family: 'FontAwesome';
  float: left;
  margin-left: -1.5em;
}
.bookstyles .gform_wrapper {
	border-top: 1px solid #E96523;
	margin: 20px 0 !important;
}
.bookstyles form {
	padding: 0 15px;
}
.bookstyles .gform_wrapper .gform_body {
	width: 80%;
	float: left;
	clear: none;
}
.bookstyles .gform_wrapper .gform_footer {
	width: 20%;
	float: left;
	clear: none;
}
.bookstyles .gform_wrapper ul.gform_fields li.gfield {
	float: left;
	clear: none;
	width: 50%;
	padding: 0;
}
.bookstyles .gform_wrapper label.gfield_label {
	font-weight: normal;
}
.bookstyles .gform_wrapper .gform_footer .gform_button {
	width: 100%;
	margin-top: 26px;
}
.vert-wrapper {
	display: table;
	height: 100%;
	width: 100%;
}
.vert-cell {
	display: table-cell;
	vertical-align: middle;
}

/* HOW CAN I HELP */
p.how-can{padding:30px;}
.how-can .top-bar
{
	background-color:#EDEDED;
	border-bottom:2px solid #E96523;
	padding:10px;
}
div.how-can
{
	border:1px solid #E3E4E3;
	margin-bottom:20px;
	margin-top:10px;
}
.how-can p
{
	padding:10px;
}
h2.contact-header{margin-top:60px;}
.list-replace ul{list-style:none;margin-left:20px;}
.list-replace ul i{padding-right:5px;}
.list-replace ul li {
	margin-bottom: 10px;
}
/* CHESTNUT */
.i-circle
{
	color:#E96523;
	border-radius:100%;
	padding:7px;
	background-color:#EDEDED;
	margin-right:15px;
}
/* NEIGHBORHOOD */
.i-circle.num
{
	display:inline-block;
	width:40px;
	height:40px;
	text-align:center;
}
.listing-form-widget .col-xs-12
{
	padding:20px 0px 0px;
	background-color:#EEEEEE;
}
.listing-form-widget .col-xs-12 .script
{
	padding:0px 15px;
	text-align:center;
}
.widget .widget-text
{
	padding:15px;
	background-color:#EEEEEE;
}
/* .listing-form-widget .gform_button{margin-right:7px;} */
.map-panel{padding-bottom:0px;}
/* TESTiMONIALS */
.testimonial .contact-copy{margin-bottom:30px;}
.testimonial_wrapper{margin-top:30px;}

/* PAGINATION */
.pagination{display:block;text-align:center;}
.pagination span,
.pagination a
{
	display:inline-block;
	padding:10px 15px;
	border:1px solid #E1E2E2;
	margin-left:-4px;
	color:#E96523;
}
.pagination .current
{
	background-color:#D4D6D4;
}
.pagination a:hover,
.pagination a:active,
.pagination a:focus
{
	background-color:#F3762E;
  	color:white;
}
/* INDIVIDUAL LISTINGS */
.property-info
{
	float:left;
	width:100%;
	background-color:#EEEEEE;
	padding-top:20px;
	margin-bottom:20px;
}
/* INDIVIDUAL BLOG */
.post-img
{
	margin-bottom:20px;
}
.single-post .page-header{margin-bottom:10px;}
/* COMMENTS */
.comments-area .comments-title
{
	text-align:center;
	background-color:#6A6C6D;
	color:white;
	padding:15px;
}
.comments-area
{
	background-color:#F5F5F5;
}
.comment-respond,
.comments-area h4,
.comment-list
{
	padding:5px 20px;
}
.comments-area .panel{border:0px;box-shadow:0px 0px 0px;}
.comments-area .panel-heading
{
	color:#6A6C6D;
	border:0px;
}
.comments-area .panel-footer a
{
	background-color:transparent;
	color:#E96523;
	border:0px;
	padding:0px;
	font-size:24px;
	font-weight:100;
}

.comments-area .panel-footer a:hover,
.comments-area .panel-footer a:focus,
.comments-area .panel-footer a:active
{
	color:#F3762E;
}
/* LOGIN */
	#login
	{
		border:1px solid #EDEDED;
		padding:0;
		background-color:#EDEDED;
		color:#828485;
		width:450px!important;
	}
body.login {
		width: 100%;
		float: left;
		margin: 0;
		padding: 8% 0 0;
		background-image: url("imgs/login@2x.jpg") !important;
	}
	#login h1 {
		padding:20px 0px;
		margin:0 auto 0;
		height: 90px;
		background-color:white;
		border-bottom:2px solid #EB6525;
	}
	#login h1 a {
		background-image: url("imgs/login-logo@2x.png");
  		background-size: 50%;
  		background-repeat: no-repeat;
  		background-position: 50%;
		height: 90px;
		width: auto;
	}
	#login br {
		display: none;
	}
	.login form {
		background-color: rgba(49,56,78, 0);
		margin:0 auto;
		padding-bottom: 0;
		box-shadow: none;
		-webkit-box-shadow: none;
	}
	.login #nav, .login #backtoblog {
		margin: 0;
	}
	.login label,  .login form .forgetmenot label {
		color: #828485 !important;
		font-weight:bold!important;
	}
	#login form p {
		font-size: initial;
		font-weight:bold;
		padding-bottom:5px;
		font-size:14px;
	}
	#login form p:nth-child(3){margin-top:-15px;}
	.wp-core-ui .button-primary {
        	font-family: 'SourceSansPro';
		font-size:20px;
        	margin: 5px;
		background-color:#E96523;
        	color: white;
        	border-radius: 0;
        	border: 0px solid #FFFFFF;
		box-shadow: none !important;
		-webkit-box-shadow: none !important;
		text-transform: uppercase;
		margin-top:30px!important;
		transition:0.2s;
		padding:10px 40px!important;
		height:45px!important;
	}
	.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus, .wp-core-ui .button-primary:active {
		border-radius: 0;
		background-color:#F3762E;
	}
	.login form input[type=checkbox]{
		border: 1px solid #FFFFFF;
    		background-color: transparent;
    		outline: none;
    		-webkit-box-shadow: none;
    		-moz-box-shadow: none;
    		box-shadow: none;
		color: #FFFFFF;
	}
	.login #backtoblog {
		padding-bottom: 20px !important;
	}
	.login #backtoblog a {
		color: #E96523;
		font-weight:bold;
	}
	.login a:hover, .login a:focus {
		color: #EC6926 !important;
	}
	.login #nav a{
		color:#727475;
		font-weight:bold;
	}


/* FORMS */
.gform_validation_container  {
	display: none !important;
}

.gfield_label {
	margin-bottom: 5px;
	display: block;
	text-align: left;
}

.gform_wrapper .ginput_complex .name_first, .gform_wrapper .ginput_complex .name_last {
	width: 49%;
}

.gform_wrapper .ginput_complex .name_first {
	margin-right: 1%;
}

.gform_wrapper .ginput_complex .name_last {
	margin-left: 1%;
}

.entry-content .contact-form input[type=text], .entry-content .contact-form input[type=email] {
	max-width: 100%;
}


/* RESPONSIVE */
@media (max-width: 991px) {

	.bookstyles .gform_wrapper .gform_body, .bookstyles .gform_wrapper .gform_footer, .bookstyles .gform_wrapper ul.gform_fields li.gfield {
		width: 100%;
	}

}

@media(max-width:798px)
{
  .site-branding {
	padding:0px;
  	text-align: center;
  }
  #masthead span{display:block;border-right:0;margin:0px;}
  #masthead .social-icons{display:block;margin:10px 0px 10px;}
  .navbar-header{text-align:center;}

	.navbar-brand{
		display:inline-block;
		margin:0 auto;
		float:none;
	}

  .navbar-brand.hidden-md{display:inline-block!important;}
  .toggle-container{display:block;text-align:right;}
  .navbar-collapse{width:100%;}
  .navbar-collapse #main-menu{margin-top:10px;}
  .footer-top .col-sm-3 img{padding-top:20px;}
	.panel-1 {
		background-attachment: inherit;
	}
	.bigger {
		font-size: 50px;
	}
	.bookstyles .gform_wrapper .gform_body,
	.bookstyles .gform_wrapper .gform_footer,
	.bookstyles .gform_wrapper ul.gform_fields li.gfield {
		/*width: 97%;*/
		clear: both;
	}

	.navbar-default {
	  display: block;
	}

	.navbar-header {
		display: -webkit-flex;
		display: flex;
		-webkit-align-items: center;
		align-items: center;
		-webkit-justify-content: space-between;
		justify-content: space-between;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	}

	.toggle-container {
		width: 100%;
		min-width: 100%;
	}

}
@media (max-width: 769px) {
	.navbar-nav>li {
    		float: none !important;
	}
}
@media(min-width:798px)
{
  .dropdown:hover .dropdown-menu
  {
    display:block;
  }
}

@media (max-width:767px) {
	.ebook-panel .btn {
		font-size: 13px !important;
	}

	.ebook-panel {
		display: block;
	}

	.ebook-left {
		height: 300px;
	}

	.ebook-right {
		padding: 25px 15px;
	}

	.gform_wrapper .ginput_complex .name_first, .gform_wrapper .ginput_complex .name_last {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

}
