@charset "UTF-8";
body {
	margin: 0;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 16px;
	color: #0a1c30;
	background-color: #0a1c30;
	line-height: 1.3;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing:grayscale;
}
.ie8 body { background-image: url(../images/field.jpg); background-size: cover; background-attachment: fixed; background-repeat: no-repeat; }
header,nav,footer,div{position:relative;display:block;}
hr { width: 100%; margin: 0; border: 0; border-top: 3px double #b7c4ce; clear:both; }
::selection { color: #ffffff; background-color: rgba(15,52,86,.99); }
p { margin: 10px 0; line-height: 1.4; }
::-moz-selection { color: #ffffff; background-color: rgba(15,52,86,.99); }
img { max-width: 100%; }
a img { border: 0; -webkit-transition: .2s ease-out; -moz-transition: .2s ease-out; transition: .2s ease-out; }
a img:hover { opacity: .8; }
h1, h2, h3, h4, h5, h6 { font-family: 'Halant', Garamond, serif; font-weight:normal; }
h1 { font-size: 2.6em; margin: 20px 0 4px; }
h2 {margin: 20px 0 4px; color: #0f3456; font-size: 2em; font-weight: 600; }
h3 {margin: 5px 0; font-size: 1.5em; font-weight: 500; }
h4 {margin: 0 0 10px; font-size: 1.4em; font-weight: 500; text-align: center; }
a, a:active, a:visited {
	color: #395c7c;
	text-decoration: none;
	-webkit-transition: .1s ease-out;
	-moz-transition: .1s ease-out;
	transition: .1s ease-out;
}
a:hover { color: #b7c4ce; }
.container { position: relative; max-width: 960px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; background-color: #ffffff; box-shadow: 0 0 10px #999999; }
.container:after, .feature:after, .contact:after { display: table; content: ''; clear: both; }

/* Utility */
.alignCenter { text-align:center; }
.alignLeft { text-align:left; }
.alignRight { text-align:right; }
.photoRight { float: right; margin-left: 10px; }
.photoLeft { float: left; margin-right: 10px; }
blockquote { width:90%; padding:.1em 4%; margin:20px auto 20px 0; border-left:4px solid #666666; font-style:italic; }
blockquote h1, blockquote h2, blockquote h3, blockquote h4, blockquote h5 { margin-top:0; color:#666666; font-style:normal; }
ul, ol { margin-top: 0; margin-bottom: 6px; margin-left: 1.5em; line-height:normal; }
ul {list-style:square; margin-top:4px; margin-bottom:10px;}
ul.plainList {list-style:none;margin-left:0;}
ul.plainList li { list-style:none; padding-left:0; margin:5px 0 5px 0; }

/* Header */
header img { float: left; padding: 20px 0; }
header h2 { margin: 0; padding-top: 20px; text-align: right; font-weight: normal; }
header h3 { margin: 0; text-align: right; font-size: 120%; }
header h2 a { color: #0a1c30; }

/* Menu */
nav { z-index: 1; background-color: #0f3456; }
.mainMenu { width: 90%; max-width: 960px; margin: 0 auto; padding: 0; overflow: hidden; color: #ffffff; font-family: 'Halant', Garamond, serif; font-size: 1.4em; -webkit-transition: .2s ease-out; -moz-transition: .2s ease-out; transition: .2s ease-out; line-height: 1.3; }
.mainMenu li { display: inline-block; position: relative; float: left; width: auto; list-style-type: none; }
.mainMenu li a { display: block; padding: 10px 15px; color: #ffffff; }
.mainMenu li a:hover {color: #b7c4ce; }
#first { margin-left: 10px; }
#last { float: right; margin-right: 10px; }

/* Featured */
.feature { padding: 30px 0; }
.feature img { float: left; max-width: 50%; }
.feature h1 { float: right; font-size: 2.4em; width: 50%; margin: 7% 0 0; text-align: center; }

/* Content */
.content { float: left; width: 580px; min-height: 650px; padding-bottom: 20px; }
.content hr { margin: 15px 0; border-top: 1px solid #dde5e8; }
.contact-content { width: 100%; min-height: 500px; padding: 40px; box-sizing: border-box; }
.contact-content h1 { margin: 0 0 20px; }
.video-img { display: block; margin: 0 auto; }
.sidebar { float: right; width: 280px; margin: 30px 0; }
.more { float: right; padding: 20px 10px; }
.contact { max-width: 500px; margin: 0 auto; padding: 20px; box-sizing: border-box; background-color: #dde5e8; }
.contact label { position: relative; display: block; font-size: .8em; font-weight: 600; }
.contact input { font-family: 'Open Sans', Helvetica, Arial, sans-serif; font-size: .8em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing:grayscale; }
.contact input[type="text"] { width: 100%; margin: 4px 0 12px; padding: 8px; box-sizing: border-box; border: 0; }
.contact input[type="submit"] { float: right; margin-top: 5px; padding: 10px 15px; border: 0; color: #ffffff; background-color: #0f3456; font-size: .9em; font-weight: 600; }
.contact input:focus { outline: 2px solid #b7c4ce; }
#name-error, #phone-error, #email-error { position: absolute; top: 0; right: 0; font-size: 1em; text-align: right; color: #ff0000; }
.map-box { position: relative; width: 100%; height: 0; padding-bottom: 50%; }
.map-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Footer */
footer { color: #ffffff; background-color: #0a1c30; }
footer div { max-width: 500px; margin: 0 auto; padding: 40px; }
footer p { margin: 5px 0; line-height: 1.4; }
footer img { float: left; margin-right: 15px; }
footer a, footer a:visited { color: #ffffff; }
footer a:hover { color: #395c7c; }
footer .smallText {font-size:80%; color:#395c7c;}
footer .smallText a, footer .smallText a:visited {color:#395c7c;}


/* Colorbox */
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
#cboxOverlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
#cboxContent{margin-top:20px;background:#000;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{border:5px solid #000; background:#fff;}
#cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
#cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
#cboxLoadingGraphic{background:url(https://www.pensacolaelderattorney.com/css/images/loading.gif) no-repeat center center;}
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
#cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(https://www.pensacolaelderattorney.com/css/images/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
#cboxPrevious:hover{background-position:bottom left;}
#cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(https://www.pensacolaelderattorney.com/css/images/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
#cboxNext:hover{background-position:bottom right;}
#cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(https://www.pensacolaelderattorney.com/css/images/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
#cboxClose:hover{background-position:bottom center;}

/* IE8 */
.ie8 .wrapper { width: 960px; margin: 0 auto; }
.ie8 .container, .ie8 nav, .ie8 footer { width: 960px; margin: 0 auto; }

/* Media Queries */
@media screen and (min-width: 960px) {
	.wrapper { background-image: url(../images/field.jpg); background-size: cover; background-attachment: fixed; background-repeat: no-repeat; }
}
@media screen and (max-width: 1060px) {
	.content { width: 100%; min-height: 400px; }
	.sidebar { width: 100%; }
}
@media screen and (max-width: 860px) {
	header img, .feature img, footer img { display: block; float: none; margin: 0 auto; }
	header img { padding-bottom: 5px; }
	header h2 { padding-top: 0; font-size: 235%; text-align: center; }
	header h2 a { color: #395c7c; }
	header h3 { padding-bottom: 20px; text-align: center; }
	.mainMenu { height: 48px; }
	.mainMenu:before { content: '\00A0'; display: block; width: 20px; margin: 15px 0; border-top: 10px double #ffffff; border-bottom: 3px solid #ffffff; line-height: 4px; }
	.mainMenu li { display: list-item; float: none; margin-left: 20px; }
	#first { margin-left: 20px; }
	#last { float: left; }
	.feature img { max-width: 100%; }
	.feature h1 { width: 100%; margin-top: 30px; text-align: center; }
	footer { text-align: center; }
	footer img { margin-bottom: 20px; }
}