/*   
Theme Name: A Safe Place for Help
Theme URI: https://www.olivestreetdesign.com
Description: This is an Olive Street Design Theme for A Safe Place
Author: Olive Street Design
Author URI: https://www.olivestreetdesign.com
Version: 1.1

Changelog:

2017-12-21 - v.1.1 - Ben L. | ben@olivestreetdesign.com

- FIX: Escape icon hover
- FIX: Removed Gravity Form classes to use default styling
- FIX: Removed height from sidebar class so that background extends properly
- NEW: Added Link ACF option to link Special Events on homepage
- NEW: Added Authorize.net integration on Donation Form
- NEW: Updated logo
- NEW: Added SmartSlider and created ACF option to select slider for homepage
- FIX: Updated menu colors to match brand
- FIX: Added links to social icons
... and a lot more fixes that I can't even remember because Guy won't finish his sites. Yep. Passive aggressiveness is quite necessary here.

*/



html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
strong {font-weight: bold;}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


@font-face {
    font-family: 'Gaspo Light';
    src: url('fonts/latinotype_-_gasposlab-extralight.woff2') format('woff2'),
         url('fonts/latinotype_-_gasposlab-extralight.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Gaspo Regular';
    src: url('fonts/latinotype_-_gasposlab-regular.woff2') format('woff2'),
         url('fonts/latinotype_-_gasposlab-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.fleft {float: left;}
.fright {float: right;}


a {text-decoration: none; color: #356ab0;}
a:hover {text-decoration: underline; color: #356ab0;}
.clear {clear: both !important;}

em {font-style: italic;}

p {padding: 9px 0;}

body {
	font: normal 16px 'Lato', sans-serif;
	color: #222; 
}

@media all and (min-width: 992px) {
	.col-5 {width: 20%; padding: 0 15px; float: left; position: relative;}
}
h1 {
	font: 36pt 'Gaspo Light', helvetica, sans-serif; 
	color: #5C068C;
	text-transform: none;
	font-style: italic;
	margin-bottom: 20px;
}

h2 {font: bold 28px 'Gaspo Regular', helvetica, sans-serif; color: #5C068C; text-transform: capitalize;}

h3 {font: 28px 'Gaspo Light', helvetica, sans-serif; color: #5C068C; margin-bottom: 20px; text-transform: uppercase;}

h4 {font: bold 24px 'Gaspo Regular', helvetica, sans-serif; color: #5C068C;}

h5 {
	font: normal 18px 'Lato', helvetica, sans-serif; 
	color: #5C068C; 
	text-transform:uppercase;
	margin: 10px 0;
}

.escape-message {
	background: #5C068C;
	border: 2px solid white;
	border-radius: 5px;
	position: fixed;
	right: 25px;
	top: 35px;
	width: 180px;
	display: none;
	padding: 9px;
	font-size: 14px;
	color: white;
	z-index:99999;
}

.escape-message.visible {
	display: block;
}

.topheader {text-align: right; padding: 10px; background: #eee;}

.topheader .top-links {
	float: right;
	z-index: 1010;
	position: relative; 
}


header {
	color: #333;
	background: white;
	width: 100%;
	min-height: 60px;
	padding: 5px 0;
}
header > .container {position: relative;}
#phone {position: absolute; right: 10px; top: 10px; z-index:99999;}
#phone a {
	color: black; 
	font-size: 20px; 
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
}
#phone a i {
	color: #004b69; 
	width: 34px; 
	height: 34px; 
	border-radius: 50%;
	border: 2px solid #004b69;
	padding: 6px;
}
#super_lawyers_badge {left: 30%;}
.metaslider {overflow-x: hidden;}
header .logo {
	top: -45px;
	left: 0;
	position: absolute;
	z-index: 1000;
}
@media all and (max-width: 800px) {
	header .logo {
		top: -35px;
	}
}
header .logo a { display: inline-block; }
header .logo img {max-width: 100%; }

.navbar {margin: 0; background: none;color: #000; padding: 40px 0;}

.navbar-default {border: none;  border-radius: 0; z-index: 999; }
.navbar-header {
  padding:0;
  margin: 0;
}


.navbar-default .navbar-collapse, .navbar-default .navbar-form { border: none; }
.navbar-default .navbar-toggle { border: none; background-color: #5b148a; transition: all .3s ease; }
.navbar-default .navbar-toggle .icon-bar { background: white; }

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover { background-color: #40d8ba; }

.navbar-collapse {
	padding: 0;
	position: relative;
	border-top: 0;
	box-shadow: none;
	-webkit-box-shadow: none;
}

.navbar-nav {
	text-align: left;
	margin: 0;
	float: right;
}
.navbar-nav>li {
	  float: left;
	  transition: all .3s ease;
}

.navbar-default .navbar-nav>li>a {
	color: #222;
	font: 18px 'Gaspo Regular', sans-serif;
	text-transform: none;
	text-decoration: none;
	padding: 5px 6px;
	margin-right: 5px;
	transition: all .3s ease;
}


@media all and (min-width: 768px) {
	ul.nav li.dropdown:hover ul.dropdown-menu{ 
		display: block;
	}
}
@media all and (min-width: 768px) and (max-width: 991px) {
	header > .container, .navbar > .container {width: 100%;}
	.navbar-default .navbar-nav>li>a {font-size: 11px;margin-right: 2px;}
}

.navbar-default .navbar-nav>.active>a, 
.navbar-default .navbar-nav>.active>a:hover, 
.navbar-default .navbar-nav>.active>a:focus, 
.navbar-default .navbar-nav>li>a:hover, 
.navbar-default .navbar-nav>li.current-page-item>a, 
.navbar-default .navbar-nav>li.current-page-parent a.dropdown-toggle, 
.navbar-default .navbar-nav>.open>a:hover, 
.navbar-default .navbar-nav>.open>a:focus  { 
	color: white;
	background: #40d8ba;
}

.dropdown-menu {
	background: #5b148a; 
	border-radius: 0; 
	border: none; 
	box-shadow: none;
	transition: all .3s ease;
}
.navbar-default .navbar-nav .open .dropdown-menu>li>a, .dropdown-menu>li>a {
	color: white;
	font: 15px 'Lato', helvetica, sans-serif;
	padding: 10px 20px;
	transition: all .3s ease;
}

.dropdown-menu>li>a:hover, 
.dropdown-menu>li>a:focus, 
.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover, 
.dropdown-menu>li>a:hover, 
.dropdown-menu>.active>a, 
.dropdown-menu>.active>a:hover, 
.dropdown-menu>.active>a:focus {
	background: #40d8ba; 
	color: #fff;
}


@media all and (min-width: 768px) {
ul.nav li.dropdown:hover > ul.dropdown-menu{ display: block; transition: all .3s ease; }
ul.nav li.dropdown > ul.dropdown-menu {top: 96%; padding-top: 10px; left: 0px; transition: all .3s ease;}
}

@media all and (max-width: 767px) {
	.navbar-default .navbar-nav .open .dropdown-menu>li>a {
		color: white;
		margin: 5px;
		padding: 10px;
		transition: all .3s ease;
	}	
	.navbar-collapse.in {overflow-y: visible;}
	.navbar-nav>li {
	  float: none;
	}
	.navbar-default .navbar-nav>li>a {
		color: white !important;
		margin: 5px;
		padding: 10px;
		
		transition: all .3s ease;
	}

	.navbar-nav {
		padding: 7px;
		width: 100%;
		background: #5b148a;
		float: left;
		transition: all .3s ease;
	}
}

.bigBanner {
	background-image: linear-gradient(
      rgba(0, 0, 0, 0.15), 
      rgba(0, 0, 0, 0.15)
    ), url(images/banner/1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
	background-size: cover;
	min-height: 640px;
	width: 100%;
	margin: 0;
	color: #fff;
	padding: 220px 0 0 0;
	text-align: center;
	position: relative;
}

.bigBanner h3 {
	font: 55px'Gaspo Regular', sans-serif; 
	color: #fff; 
	text-transform: uppercase;
}

.bigBanner button {
	color: white;
	margin-top: 10px;
	background: #2b5c94;
	padding: 10px 50px;
	-webkit-appearance: none;
	-moz-appearance: none;
	text-transform: uppercase;
	appearance: none;
	outline: none;
	border: none;
	font-size: 15px;
}

@media all and (min-width: 768px) {
	.banner-boxes {
		display: flex;
		display: -webkit-flex;
		flex: row;
		-webkit-flex: row;
	}
	
	.banner-box {
		padding: 20px; 
		font: bold 16px 'Gaspo Regular', helvetica, sans-serif;
		text-transform: uppercase;
		color: black;
		width: 31.5%;
		margin: .75%;
		text-align: left;
	}
	.yellow-box {background: #f8bb21;}
	.blue-box {background: #119999; color: white;}
	.green-box {background: #afc936;}
	
}

@media all and (max-width: 767px) {.bigBanner {padding-top: 90px;}}

.subBanner {background: #eee; padding: 15px 0; text-align: center;}
.subBanner button {
	color: white;
	padding: 10px 20px;
	-webkit-appearance: none;
	-moz-appearance: none;
	text-transform: uppercase;
	appearance: none;
	outline: none;
	border: none;
	margin: 0 auto;
	font-size: 18px;
	background: #35D9BA;
	border-radius: 4px;
}

.inner-banner {
	padding: 35px 0;
	background: #5C068C;
}

.inner-banner h3 {
	font: 49px 'Gaspo Light', helvetica, sans-serif; 
	color: white;
	text-transform: capitalize;
	margin: 0 auto;
}
@media all and (max-width: 991px) {
	.home-block {margin: 20px 0;}
}
.home-block p {
	font: 15px 'Gaspo Light', helvetica, sans-serif;
	padding: 2px;
}
.home-block p strong {font-family: 'Gaspo Regular';}

hr.bighr {
	border: none;
	height: 3px;
	width: 100%;
	margin: 45px auto;
	max-width: 400px;
	background: #ddd;
	color: #ddd;
}
.stat-block {background: #eee; padding: 20px; margin: 20px 0;}
@media all and (min-width: 768px) {
	.stat-block{min-height: 400px;}
}
.stat-block h4 {
	color: #444; 
	font: 400 32px 'Lato', helvetica, sans-serif;
	margin: 5px 0;
}
.stat-block p {
	font: 15px 'Gaspo Light', helvetica, sans-serif;
	padding: 2px;
}
.stat-block img {
	border-radius: 50%;
	height: 100px !important;
	width: 100px !important;
	margin: 5px auto 10px auto;
}

.special-events {
	padding: 35px 0;
	text-align: center;
	background: #E8DEEE;
}

.special-events img {max-width: 100%; height: auto;}

@media all and (max-width: 991px) {
	.special-events img {margin-bottom: 20px;}
}
.mainContent {
	padding: 35px 0;
	line-height: 1.5;
	font-size: 15pt;
}

.mainContent button {
	background: #f8bb21;
	color: black;
	padding: 12px 32px;
	text-align: center;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	border: 0;
	margin-top: 20px;
	display: inline-block;
	text-transform: uppercase;
}
.mainContent button.green-btn {background: #119999; color: white;}


.mainContent img {max-width: 100%; height: auto; }
.mainContent ul {margin-bottom: 20px;}
.mainContent ul li {list-style: square; margin-left: 45px; }

.theContent p {padding: 12px 0;}

.theContent blockquote {background: #e4e4e4; border-left: 5px solid #119999; padding: 20px; margin: 10px 0;}
/* Contact Modal */

#contactModal {top: 20%;}
.modal-title {font: 400 22px 'Lato', helvetica, sans-serif; color: #444;}
@media all and (min-width: 992px) {.modal-dialog {width: 800px;}}
.modal-body {text-align: center; font-size: 15px;}
.modal-body i {font-size: 50px; color: #4183d7; margin: 20px auto;}
.modal-body a {color: black; text-decoration: none;}


@media all and (min-width: 992px) {
	.flex-wrapper {
		display: -webkit-flex; /* Safari */
		-webkit-flex-direction: row-reverse; /* Safari 6.1+ */
		display: flex;
		flex-direction: row-reverse; 
		height: 380px;
		margin-top: 25px;
	}
}

.interiorBanner {
	background-size: cover;
	height: 100%;
	padding: 10px 0 0 0;
	margin: 0;
	text-align: center;
}

.interiorBanner h3 {font-size: 40px; margin-top: 130px; color: white; text-shadow: 0 0 3px #222; text-transform: uppercase;}



#sidebar {
	font-size: 18px; 
	color: #444; 
	margin: 0 0 15px 0; 
	padding: 15px;
	background: #FBF4F9;
	display: inline-block;
	text-align: left;

}
#sidebar h4 {font-family:'Gaspo Regular'; font-style: italic;}
#sidebar h2 {font-family:'Gaspo Regular'; color: white;}
#sidebar p {font-size: 16px;}
#sidebar a {color: #444; }
#sidebar a:hover {text-decoration: none;}
#sidebar ul.menu {
	margin: 5px 0 25px 10px;font: 15px 'Lato', helvetica, sans-serif;
}

#sidebar ul.menu li{ padding: 4px 0; list-style-type: none; font-family: 'Lato'; }
#sidebar ul.menu li a {color: #444; font-weight: normal;}
#sidebar ul.menu li a:hover {color: #777;}
#sidebar ul.menu li ul.sub-menu {display: block; margin: -5px 0 0 20px; width: auto !important; float: none;visibility: visible; background: none; position: static;}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit] {
	appearance: none !important;
	-webkit-appearance: none !important;
	outline: none !important;
	border: none !important;
	background: #35D9BA !important;	
	color: white !important;
	font-size: 16px !important;
	padding: 10px !important;
	margin: 1px auto !important;
	text-transform: uppercase !important;
	text-align: center !important;
	width: 100% !important;
	border-radius: 0px;
	float: none;
}

/* BLOG */

.little-event, .little-post {padding: 20px; background: #f4f4f4; margin: 10px 0;}

.theContent .post {
	background: #f8f8f8; 
	padding: 15px;
}
.meta {margin-top: 9px;}

.entry {margin-top: 20px;}


 /* Accordian Widget Overrides */
 
 .ui-widget {font: bold 16px arial, helvetica, sans-serif !important; max-width: 340px;}
 .ui-accordion .ui-accordion-header {padding: 5px 5px 5px 50px !important; margin: 0 !important; border: none !important; border-top: 1px solid #111 !important;}
 .ui-accordion .ui-accordion-header:nth-of-type(2) {border-bottom: 1px solid #111 !important;}
 .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {border-radius: 0 !important; border: none !important;}
 .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {color: #000 !important; background: #fff !important; border: none !important;}
 .ui-state-hover {}
 .ui-widget-content {border-radius: 0 !important; background: #fff !important;}
 .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {color: #000 !important; background: #fff !important }
 
 
 .ui-widget-content {border: none !important; padding: 0 2.2em !important;}

.preFooter {
	min-height: 130px; 
	height: auto;
	padding: 50px 0;
	width: 100%;
	background: white;
	color: black;
	font-size: 19pt;
}


.preFooter button {
	color: white;
	margin: 20px 5px;
	background: none;
	width: 200px;
	padding: 8px 10px;
	text-transform: uppercase;
	font-size: 1rem;
	border: 3px solid white;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
}
.preFooter p {text-align: center; padding-bottom: 45px;}
.preFooterForm input {border: 1px}
.preFooter h2 {margin-bottom: 30px; display: block;}

.preFooter h3 {
	text-align: center;
	margin: 15px auto; 
	font-size: 22px; 
	font-weight: normal; 
	margin-bottom: 10px;
	padding-bottom: 0px; 
	color: white; 
	text-transform: capitalize;
}
footer {
	color: white;
	background: #5C068C;
	min-height: 60px;
	padding: 55px 0 35px 0;
	text-align: center;
	font-family: 'Gaspo Light';
}

footer a {color: white;}
footer a:hover, footer a:focus, footer a:visited {color: #ededed;}
footer ul.menu li {display: inline-block; padding:10px;}
footer ul.menu li a {color: #fff; font-size: 20px; }
footer i {font-size: 32px !important; margin: 5px;color: #fff; padding: 7px; }
footer .logo {float: left; text-align: left;}
footer .logo img, footer iframe {max-width: 100%;}

footer h4 {
	color: white; 
	font-size: 18px; 
	font-weight: bold;
	text-transform: uppercase;
}
footer small {font-size: 14px;}


footer button {
	color: white;
	padding: 10px 20px;
	-webkit-appearance: none;
	-moz-appearance: none;
	text-transform: uppercase;
	appearance: none;
	outline: none;
	font-family: 'Lato', helvetica, sans-serif;
	border: none;
	margin: 0 auto;
	font-size: 18px;
	background: #35D9BA;
	border-radius: 4px;
	margin: 0 4px;
}
footer button i {font-size: 18px !important; margin: 0; padding: 0;}
footer button.purple {
	background: #F2029E;
}
.copyright {
	font: 400 13px 'Lato', helvetica, sans-serif; 
	color: #fff; 
	padding: 20px 0;
}

.copyright a {color: white; text-decoration: underline;}

.disclaimer {
	color: #ccc;
	background: #333;
	min-height: 60px;
	padding: 15px 0;
	font-size: 13px;
}


.gform_wrapper ul.gfield_checkbox li, .gform_wrapper ul.gfield_radio li {
    padding: 0!important;
    float: left;
    margin-right: 15px;
}

.single-tribe_events .tribe-events-schedule h2 { text-transform: uppercase; }
