/*
Theme Name: Somervell
Description: Custom theme for Somervell
Version: 1.0
Author: Stephen Merriman
Author URI: http://www.cre8d-design.com
*/

img, .wp-caption {max-width:100%;height:auto !important;}

.clear {
	clear: both;
	font-size: 0px;
	height:1%;
	line-height:0;
}
a {font-weight:bold;}
a img {
	border: none;
}
a:link, a:visited {
	text-decoration:none;
	color:#f2702c;
}
a:hover, a:active {
	text-decoration:underline;
	color:#f2702c;
}
p, ul, ol {margin-top:0;margin-bottom:0.8em;}

.alignleft {float:left;display:inline;margin:4px 25px 0.8em 0;}
.alignright {clear:right;float:right;display:inline;margin:4px 0 0.8em 25px;}
.aligncenter {display:block;margin:0 auto 0.8em auto;}

body,html {min-width:310px;}

body,input,textarea,select, #body .gform_wrapper .gfield_description {font-size:16px;color:#200000;font-family:ProximaNova,Arial,Helvetica,sans-serif;}

#header, 
.pagetitle, 
#footer, 
.content blockquote, 
.content h2, 
.content h3, 
.content h4,
#sidebar h2.sectitle, 
#sidebar .section,
.post .date,
.navigation,
.homecols .homecol,
.homecols .homecol h2.sectitle,
.highlights,
.verseoftheweek h2,
.verseoftheweek h3,
.content .fileselect {font-family:Lora,Georgia,"Times New Roman",Times,serif;}

.homecols .homecol .excerpt {font-family:ProximaNova,Arial,Helvetica,sans-serif;}

body {
	margin:0;
	background:#fff;
	line-height:1.4;
}

.container {min-width:300px;padding:0 5px;max-width:960px;margin:0 auto;}

#menubar {background:#52b7d8;box-shadow:inset 0px 9px 7px -9px #399ebf,inset 0px -9px 7px -9px #399ebf;}
#submenubar {background:#369dc7;box-shadow:inset 0px -9px 7px -9px #1d84ae;}

#menubar ul {margin:0;padding:0;list-style:none;}
#menubar ul li {margin:0;padding:0;float:left;display:inline;line-height:26px;border-left:1px solid #7dc9e2;}
#menubar ul li:first-child {border-left:none;}
#menubar ul li a {color:#fff;display:block;padding:7px 20px;}
#menubar ul li a:hover, #menubar ul li a:active {color:#52b7d8;text-decoration:none;background:#fff;}
#menubar ul li.current-menu-item a, #menubar ul li.current-menu-ancestor a {background:#369dc7;color:#fff;}

#menubar .select {display:none;}

#submenubar {padding:7px 0;}
#submenubar ul {margin:0;padding:0;list-style:none;}
#submenubar ul li {margin:0;padding:0 20px;float:left;display:inline;line-height:26px;}
#submenubar ul li:first-child {border-left:none;}
#submenubar ul li a {color:#dcf1f7;display:block;}
#submenubar ul li a:hover, #submenubar ul li a:active, #submenubar ul li.current-menu-item a, #submenubar ul li.current-menu-ancestor a {color:#fff;text-decoration:underline;}

#submenubar .select {display:none;}

#menubar .headmenu {float:left;display:inline;}
#menubar .menufb {float:right;display:inline;margin-left:10px;padding:7px 0;line-height:26px;}
#menubar .menufb a {text-indent:-9999px;display:block;background:url(images/facebook.png) top left no-repeat;width:26px;height:26px;outline:0;background-size:26px 52px;}
#menubar .menufb a:hover, #menubar .menufb a:active {background-position:bottom left;}

#menubar .search {float:right;display:inline;padding:7px 0;margin-left:10px;width:200px;}
#menubar .search .searchform {width:100%;}
#menubar .search form {width:100%;height:26px;position:relative;-moz-border-radius:13px;border-radius:13px;background:#fff;}
#menubar .search form .text {position:relative;height:26px;padding-right:33px;}
#menubar .search form .text input {width:100%;background:red;border:none;margin:0;line-height:26px;height:26px;padding:5px 8px;background:#fff;border:none;-moz-border-radius:13px 0 0 13px;border-radius:13px 0 0 13px;font-size:12px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;}
#menubar .search form input[type="submit"] {position:absolute;top:6px;right:9px;margin:0;background:url(images/search.png) center center no-repeat;background-size:15px 15px;width:15px;height:15px;border:none;text-indent:-9999px;font-size:0px;display:block;line-height:0;overflow:hidden;cursor:pointer;}

#menubar .search a {display:none;text-indent:-9999px;background:url(images/search-btn.png) top left no-repeat;width:26px;height:26px;outline:0;background-size:26px 52px;}
#menubar .search a:hover, #menubar .search a:active, #menubar.searchopen .search a {background-position:bottom left;}

#header {background:#f9f9f9 url(images/paper-bg.png) center top;box-shadow:inset 0px 9px 7px -9px #ccc,inset 0px -9px 7px -9px #ccc;}
#header .container {position:relative;}

#logo {width:300px;overflow:visible;}
#logo img {max-width:none !important;margin-left:-67px;zoom:1;}

#headinfo {text-align:right;font-size:17px;position:absolute;right:5px;bottom:25px;}
#headinfo .map {font-size:12px;font-weight:normal;}
#headinfo .phone {font-size:14px;color:#666;background:url(images/phone.png) left center no-repeat;background-size:17px 14px;padding-left:24px;}
#headinfo p {margin-bottom:22px;}

.pagesection {background:#fff;padding:30px 0 15px 0;}
.pagesection-alt {background:#f9f9f9 url(images/paper-bg.png) center top;box-shadow:inset 0px 9px 7px -9px #ccc,inset 0px -9px 7px -9px #ccc;}
.pagesection-alt2 {background:#52b7d8;box-shadow:inset 0px 9px 7px -9px #399ebf,inset 0px -9px 7px -9px #399ebf;}

.pagetitle {font-size:28px;font-weight:bold;margin:0 0 15px 0;}

span.eventtoggle {font-size:16px;margin-left:10px;}

.pagesection-alt .content img {max-width:98%;padding:1%;background:#fff;}
.pagesection-alt .content .wp-caption {max-width:98%;padding:1%;background:#fff;}
.pagesection-alt .content .wp-caption img {max-width:100%;padding:0;}

.content .wp-caption-text {margin:5px 0 0 0;font-size:12px;}
.content blockquote {font-size:18px;font-style:italic;margin:0 40px;}
.content h2 {font-size:24px;font-weight:bold;margin:25px 0 12px 0;line-height:32px;}
.content h3 {font-size:20px;font-weight:bold;margin:20px 0 12px 0;line-height:28px;}

.single .content h2, .teaser .content h3 {font-size:22px;font-weight:bold;margin:25px 0 12px 0;line-height:30px;}
.single .content h3, .teaser .content h4 {font-size:20px;font-weight:bold;margin:20px 0 12px 0;line-height:28px;}

.content h2:first-child, .content h3:first-child, .content h4:first-child {margin-top:0;}
.content li {margin-bottom:5px;}

.content .fileselect {margin-bottom:100px;}
.content .fileselect h2 {margin:0;}
.content .fileselect h3 {margin:0 0 12px 0;font-size:18px;font-weight:normal;font-style:italic;}
.content .fileselect-prev {font-size:20px;}
.content .fileselect select {max-width:300px;margin-top:5px;font-size:16px;}

.contact .contact-left {float:left;display:inline;width:300px;}
.contact .contact-right {margin-left:330px;text-align:right;}
.contact .contact-right-a {display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;text-align:left;max-width:100%;}

.home-left {float:left;display:inline;width:300px;}
.home-right {margin-left:330px;}

.cycle-slideshow2 {position:relative;margin-bottom:15px;max-width:100%;}
.cycle-slideshow2 .slide {position:relative;max-width:100%;text-align:center;}
.cycle-slideshow2 .slide .caption {position:absolute;bottom:0;left:0;width:100%;font-size:14px;display:block;text-align:left;}
.cycle-slideshow2 .slide .caption-a {margin:10px;display:inline-block;background:#f6f6f6;line-height:20px;padding:5px 10px;}
.cycle-slideshow2 .slide a {color:#200000;font-weight:normal;text-decoration:none;display:block;}
.cycle-slideshow2 .slide img {vertical-align:bottom;}
.cycle-slideshow2 .cycle-prev, .cycle-slideshow2 .cycle-next {position:absolute;width:30px;height:40px;top:50%;z-index:800;background-color:#fff;background-position:center center;background-repeat:no-repeat;margin-top:-20px;cursor:pointer;background-size:14px 16px;}
.cycle-slideshow2 .cycle-prev {left:0;background-image:url(images/prev.png);}
.cycle-slideshow2 .cycle-next {right:0;background-image:url(images/next.png);}

#main {float:left;display:inline;width:100%;margin-right:-330px;}
#main-a {margin-right:330px;}
#sidebar {float:left;display:inline;width:300px;padding-left:30px;}

.post {margin-bottom:25px;padding-top:25px;border-top:1px solid #ccc;}
.firstpost {padding-top:0;border-top:none;}
.post .date {font-style:italic;font-size:18px;}
.post .title {font-weight:bold;font-size:24px;line-height:32px;margin:0 0 12px 0;}
.post .comlink {margin-bottom:12px;}
.post .comlink a {background:url(images/comments.png) left center no-repeat;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;line-height:26px;padding-left:34px;background-size:26px 26px;}

.post .share {margin-bottom:12px;}
.post .commentsection {margin-bottom:12px;margin-top:25px;}

.navigation {margin-bottom:25px;font-size:18px;padding-top:25px;}
.navigation .navleft {float:left;display:inline;width:47%;}
.navigation .navright {float:right;display:inline;width:47%;text-align:right;}

.homecols {overflow:hidden;margin-bottom:-15px;}
.homecols-a {margin:0 -15px;zoom:1;}
.homecols .homecol {width:300px;margin:0 15px;text-align:center;font-size:18px;margin-bottom:30px;float:left;display:inline;}
.homecols .homecol h2.sectitle {margin:0 0 25px 0;font-weight:bold;font-size:20px;}
.homecols .homecol h2.sectitle a, .homecols .homecol h2.sectitle span {display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;padding-top:70px;color:#200000;}
.homecols .homecol-news h2.sectitle a {background:url(images/icon-news.png) center 7px no-repeat;background-size:58px 46px;}
.homecols .homecol-events h2.sectitle a {background:url(images/icon-events.png) center 7px no-repeat;background-size:43px 46px;}
.homecols .homecol-children h2.sectitle span {background:url(images/icon-children.png) center top no-repeat;background-size:53px 61px;}
.homecols .homecol ul {margin:0 0 -24px 0;padding:0;list-style:none;zoom:1;}
.homecols .homecol ul li {margin:0 0 25px 0;padding:0;}
.homecols .homecol .content {margin-top:15px;}
.homecols .homecol .featimage {margin-top:15px;border:10px solid #fff;}
.homecols .homecol .excerpt {font-size:14px;text-align:left;}

.homecols .homecol span.image {display:block;margin-top:15px;border:10px solid #fff;}

.highlights {overflow:hidden;margin-bottom:-15px;}
.highlights-a {margin:0 -15px;zoom:1;}
.highlights .highlight {width:300px;margin:0 15px;text-align:center;font-size:18px;margin-bottom:30px;float:left;display:inline;}
.highlights .highlight a {display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;padding-top:75px;color:#fff;font-size:20px;}
.highlights .highlight-flame a {background:url(images/icon-flame.png) center top no-repeat;background-size:44px 60px;}
.highlights .highlight-sermons a {background:url(images/icon-sermons.png) center 4px no-repeat;background-size:44px 53px;}
.highlights .highlight-ceremonies a {background:url(images/icon-ceremonies.png) center top no-repeat;background-size:32px 60px;}
.highlights .highlight a em {font-size:18px;font-weight:normal;}
	
.verseoftheweek {text-align:center;}
.verseoftheweek h2 {font-size:20px;font-weight:bold;margin:0;}
.verseoftheweek h3 {font-style:italic;font-size:18px;font-weight:normal;margin:0 0 25px 0;}

#body .gform_wrapper {width:300px;}
#body .gform_wrapper li.gfield {margin-bottom:20px;}
#body .gform_wrapper label.gfield_label {font-size:16px;color:#200000;font-weight:normal;}
#body .gform_wrapper input[type="text"], #body .gform_wrapper input[type="email"], #body .gform_wrapper textarea, #body .gform_wrapper select {font-size:16px;border:1px solid #202020;background:#fbfbfb;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:10px 10px;}
#body .gform_wrapper select {padding:10px 8px;margin-left:0;}
#body .gform_wrapper .gform_footer {padding:0;}
#body .gform_wrapper .gform_button {background:#f3702c;border:none;color:#fff;font-size:16px;font-weight:bold;height:40px;padding:0 12px;overflow:visible;width:auto;cursor:pointer;}
#body .gform_wrapper .gform_button:hover {background:#ed501a;}
#body .gform_wrapper .gform_button::-moz-focus-inner {padding:0;margin:0;border:none;}
#body .gform_wrapper .gfield_required,
#body .gform_wrapper li.gfield.gfield_error .gfield_description,
#body .gform_wrapper .gfield_error .gfield_label,
#body .gform_wrapper .validation_error,
#body .gform_wrapper .validation_message {color:#f2702c;}
#body .gform_wrapper li.gfield.gfield_error {background:none;border:none;padding:0 !important;margin:0 !important;width:100%;}
#body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container  {margin-top:0;}
#body .gform_wrapper li.gfield.gfield_error input[type="text"], #body .gform_wrapper li.gfield.gfield_error input[type="email"], #body .gform_wrapper li.gfield.gfield_error textarea, #body .gform_wrapper li.gfield.gfield_error select {border-color:#f2702c;}
#body .gform_wrapper li.gfield .gfield_description {margin-top:0;font-size:14px;}
#body .gform_wrapper .validation_error {margin-bottom:10px;padding-top:10px;font-size:16px;}

#gforms_confirmation_message {font-weight:bold;}

#sidebar .section {text-align:center;margin-bottom:30px;font-size:18px;}
#sidebar .section-box {padding:25px;color:#fff;}
#sidebar .section-box a {color:#fff;}
#sidebar .section-orange {background:#f3702c;}
#sidebar .section-blue {background:#52b7d8;}
#sidebar .section h2.sectitle {margin:0 0 25px 0;font-weight:bold;font-size:20px;}
#sidebar .section-box h2.sectitle a {display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;}
#sidebar .section-news h2.sectitle a {background:url(images/icon-news.png) center top no-repeat;padding-top:61px;background-size:58px 46px;}
#sidebar .section-events h2.sectitle a {background:url(images/icon-events.png) center top no-repeat;padding-top:61px;background-size:43px 46px;}
#sidebar .section-flame h2.sectitle a {background:url(images/icon-flame-alt.png) center top no-repeat;padding-top:75px;background-size:44px 60px;}
#sidebar .section-sermons h2.sectitle a {background:url(images/icon-sermons.png) center top no-repeat;padding-top:68px;background-size:44px 53px;}
#sidebar .section ul {margin:0;padding:0;list-style:none;}
#sidebar .section ul li {margin:0 0 12px 0;padding:0;line-height:1.2;}
#sidebar .section-box ul {margin-bottom:-24px;zoom:1;}
#sidebar .section-box ul li {margin-bottom:25px;}

#footer {background:#666;color:#fff;font-size:13px;padding:10px 0 1px 0;}
#footer a {color:#fff;font-weight:normal;}
#footer .ftleft {float:left;display:inline;margin:0 20px 10px 0;}
#footer .ftright {text-align:right;margin-bottom:10px;}
#footer ul {margin:0 0 0 -30px;padding:0;list-style:none;font-size:0;}
#footer ul li {margin:0 0 0 30px;padding:0;font-size:13px;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;}
#footer .phone {background:url(images/phone-white.png) left center no-repeat;background-size:17px 14px;padding-left:24px;}

.fluid-width-video-wrapper-a {max-width:630px;margin:0 auto;}

@media screen and (max-width:900px) {
	#menubar ul, #submenubar ul {display:none;}
	#menubar .select {display:block;padding:7px 0;}
	#submenubar .select {display:block;}
}
@media screen and (max-width:420px) {
	#menubar .search {width:auto;}
	#menubar .search a {display:block;}
	#menubar .search form {display:none;}
	
	#menubar.searchopen {padding-bottom:33px;position:relative;}
	#menubar.searchopen .search .searchform {position:absolute;bottom:7px;left:0;}
	#menubar.searchopen .search .searchform-a {padding:0 5px;}
	#menubar.searchopen .search form {display:block !important;}	
}
@media screen and (max-width:654px) {	
	#logo {margin:0 auto;width:auto;text-align:center;}
	#logo img {margin-left:0;max-width:100% !important;}
	#headinfo {position:static;right:auto;bottom:auto;padding-bottom:25px;margin-top:25px;text-align:center;}
	
	.contact .contact-left {float:none;display:block;margin-bottom:20px;}
	.contact .contact-right {margin:0;text-align:left;}
	.contact .contact-right-a {display:block;max-width:none;}
	
	#main {float:none;display:block;margin-right:0;width:auto;}
	#main-a {margin-right:0;}
	#sidebar {float:none;display:block;margin:0 auto;padding-top:20px;padding-left:0;}	
	
	.home-left {float:none;display:block;margin-bottom:20px;width:auto;}
	.home-right {margin:0;max-width:630px;}
}
@media screen and (max-width:989px) {
	.homecols, .highlights {width:630px;margin:0 auto;}

}
@media screen and (max-width:659px) {
	.homecols, .highlights {width:300px;margin:0 auto;}
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
	#menubar .menufb a {background-image:url(images/facebook@2x.png);}
	#menubar .search a {background-image:url(images/search-btn@2x.png);}
	#menubar .search form input[type="submit"] {background-image:url(images/search@2x.png);}
	#headinfo .phone {background-image:url(images/phone@2x.png);}
	.cycle-slideshow2 .cycle-prev {background-image:url(images/prev@2x.png);}
	.cycle-slideshow2 .cycle-next {background-image:url(images/next@2x.png);}
	.post .comlink a {background-image:url(images/comments@2x.png);}
	.homecols .homecol-news h2.sectitle a {background-image:url(images/icon-news@2x.png);}
	.homecols .homecol-events h2.sectitle a {background-image:url(images/icon-events@2x.png);}
	.homecols .homecol-children h2.sectitle a {background-image:url(images/icon-children@2x.png);}
	.highlights .highlight-flame a {background-image:url(images/icon-flame@2x.png);}
	.highlights .highlight-sermons a {background-image:url(images/icon-sermons@2x.png);}
	.highlights .highlight-ceremonies a {background-image:url(images/icon-ceremonies@2x.png);}
	#sidebar .section-news h2.sectitle a {background-image:url(images/icon-news@2x.png);}
	#sidebar .section-events h2.sectitle a {background-image:url(images/icon-events@2x.png);}
	#sidebar .section-flame h2.sectitle a {background-image:url(images/icon-flame-alt@2x.png);}
	#sidebar .section-sermons h2.sectitle a {background-image:url(images/icon-sermons@2x.png);}
	#footer .phone {background-image:url(images/phone-white@2x.png);}
}