/*  
Theme Name: Balally Parish 2014 by GetOnline
Version: 1.0
Description: Designed by <a href="http://www.getonline.ie">GetOnline</a>.
Author: GetOnline
Author URI: http://getonline.ie

	Copyright: (c) 2014 GetOnline.
	License: GNU/GPL Version 2 or later. http://www.gnu.org/licenses/gpl.html

*/
body{
	margin:0;
	padding:0;
	font-family:'Lato', sans-serif;
	font-size:16px;
}

img{
	border:none;
	max-width:100%;
}

a{
	text-decoration:none;
	color:#bc0115;
}
a img {
	vertical-align: middle;
}

p{
	font-size:0.9em;
}

#wrap, #wrap-inner, #header, #title, #content, #footer{
	margin:0;
	padding:0;
	overflow:hidden;
}

#wrap{
	width:100%;
	background: #a0523c;
	background: -moz-linear-gradient(top, #a0523c 0%, #ffffff 90%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(90%,#a0523c), color-stop(90%,#ffffff));
	background: -webkit-linear-gradient(top, #a0523c 0%,#ffffff 90%);
	background: -o-linear-gradient(top, #a0523c 0%,#ffffff 90%);
	background: -ms-linear-gradient(top, #a0523c 0%,#ffffff 90%);
	background: linear-gradient(to bottom, #a0523c 0%,#ffffff 90%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a0523c', endColorstr='#ffffff',GradientType=0 );
	position:relative;
}

#header{
	max-width:1200px;
	width:96%;
	padding:0 2%;
	margin:0 auto;
	overflow:visible;
	position:relative;
	height: 184px;
	background-image: url('images/top_window.png');
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: contain;
}

#header-top{
	width:100%;
	overflow:hidden;
}

#text-5{
	display:block;
	float:left;
	font-size:1em;
	margin-top: 16px;
	height: 24px;
	color: #fff;
}

#text-5 span{
	color:#eee;
	margin-right:5px;
	background:url(images/call.png) no-repeat left 3px;
	padding-left:20px;
	padding-bottom: 7px;
}
.header_right {
    width: 220px;
    float: right;
    position: relative;
}
#search_out{
	display:block;
	float:right;
	max-width:220px;
	width:100%;
	margin:24px 0 0 0 ;
}

#topSearch{
	
}

#topSearch #s{
	background:#FFF;
	max-width:180px;
	width:100%;
	min-height:40px;
	border:0;
	margin:0;
	padding:0;
	color:#a3a3a3;
	float:left;
	text-indent:4%;
}

#topSearch #searchsubmit{
	width:40px;
	height:40px;
	background:url(images/search-button.png) no-repeat;
	float:left;
	border:0;
	margin:0;
	padding:0;
}

#header-top #social-icons{
	display:block;
	float:right;
	width:20%;
	height:40px;
	margin-top: 8px;
}

#header-top #social-icons img{
	display:block;
	width:36px;
	height:36px;
	float:right;
	margin:2px 10px;
}

#header-bottom{
	width:100%;
	position:absolute;
	height:58px;
	z-index:999;
	background-color:rgba(255,255,255,0.5);
	top:184px;
	border-bottom:1px solid #EEE;
}

#header-bottom.fixed{
	position:fixed;
	top:0;
	background: #fff;
	box-shadow: 0 2px 5px 5px rgba(0,0,0,0.5);
}

.admin-bar #header-bottom.fixed{ top:32px; }

#header-bottom-in{
	max-width:1200px;
	width:96%;
	padding:0 2%;
	margin:0 auto;
	overflow:visible;
	position:relative;
}

#title{
	max-width:30%;/*28.66667%*/
	min-width:250px;
	height:auto;
	width:100%;
	float:left;
}

#mainmenu_out{
	display:block;
	float:left;
	width:60%;
	height:40px;
	overflow:hidden;
	position:absolute;
	bottom:0;
	right:0;
}
.mainmenu{
	position:absolute;
	float:right;
	right:2%;
	top:17px;
	bottom:12px;
	z-index:999;
}

.mainmenu ul{
	list-style:none;
	margin:0;
	padding:0;
	float:right;
}

.mainmenu ul li{
	float:left;
	position:relative;
}

.mainmenu ul li a{
	display:block;
	float:left;
	line-height:30px;
	padding:0 14px;
	margin:0;
	font-family: 'Roboto', sans-serif;
	color:#585959;
	border-left:1px solid #FFF;
}

.mainmenu ul > li:hover > a, .mainmenu .current-menu-item a{
	color:#bc0115;
	border-left:1px solid rgba(0,0,0,.1);
}

.mainmenu > ul > li:last-child{
	border:0;
}


.mainmenu ul li ul.sub-menu{
	display:none;
	width:226px;
	position:absolute;
	top:100%;
	left:0px;
	z-index:10;
	border-left:1px solid rgba(0,0,0,.1);
	border-right:1px solid rgba(0,0,0,.1);
}

ul.menu  li:hover > ul{
	display:block;
}

.mainmenu ul.sub-menu li a, .mainmenu ul.sub-menu li span{
	width:195px;
	background-color:#FFF;
	line-height:32px;
	border-bottom: 1px solid rgb(0, 0, 0);
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    -webkit-background-clip: padding-box; /* for Safari */
    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
}

.mainmenu ul.sub-menu li:hover a, .mainmenu ul.sub-menu li:hover span{
	border-left:4px solid rgba(0,0,0,.1);
	width:191px;
}

.mainmenu ul.sub-menu li ul.sub-menu{
	position:absolute;
	left:100%;
	top:0;
}

.mainmenu-small{
	display:none;
}

.rev_slider_wrapper{
	width: 100%;
	max-width: 800px;
	margin-bottom: 50px !important;
}
.tp-caption.black {
	background: rgba(0,0,0,0.5);
}
.tp-caption .slider_title{
	color: #fff;
	font-size: 20px;
	padding: 11px 0 6px 13px;
	display: block;
}
.tp-caption .slider_excerpt {
	padding-left: 13px;
	color: #fff;
	display: block;
	font-size: 16px;
	padding-bottom: 7px;
}
/* Content */

#content{
	max-width:1200px;
	width:96%;
	padding:58px 2% 30px 2%;
	margin:0 auto;
	background:#FFF;
}

/*.home #content{
	padding:30px 2%;
}*/

/* FrontPage Sections */

/*#sidebar_masstimes {
	max-width: 370px;
	width: 100%;
	float: right;
	position: relative;
	margin-left: 30px;
}*/
#sidebar_masstimes h2.sidebar_title {
	margin: 0;
	height: 44px;
	line-height: 44px;
	padding-left: 40px;
	background-image: url('images/masstimes3.jpg');
	background-position: left center;
	background-repeat: no-repeat;
	color: #ff0000;
	font-weight: 400;
}
#sidebar_masstimes .more-link {
	display:block;
	width:100px;
	margin:15px 0;
	line-height:2em;
	background:#bc0115;
	color:#FFF;
	text-align:center;
}
#sidebar_masstimes .more-link:hover {
	background:#31373A;
}
#sidebar_masstimes  .post_content {
	font-size: 18px;
}

.sidebar-area{
	display:block;
	float:left;
	width:100%;
	overflow:visible;
	position:relative;
}
.clear_it {
	clear: both;
}
/*
.sidebar_bg{
	display:block;
	float:left;
	width:100%;
	height:24px;
	background:url(images/widget_sep.jpg) no-repeat center;
	margin-top:-13px;
	position:relative;
}*/

#content_left{
	float:left;
	width:66.67%;
}

#sidebar1 {
	width: 30.83%;
	float: right;
	margin-left: 2.5%;
}
#sidebar1 .widget {
	float: left;
	position: relative;
}
#sidebar1 .widget h2{
	padding-left: 45px;
	font-weight: 400;
	color: #ff0000;
}
#advanced-featured-page-widget-5 h2 {
	background-image: url(images/welcome.png);
	background-position: left center;
	background-repeat: no-repeat;
}
#advanced-featured-page-widget-4 h2 {
	background-image: url(images/sacraments2.png);
	background-position: left center;
	background-repeat: no-repeat;
}

#sidebar1 .widget .read-more, #sidebar1 .widget .more-link{
	display:block;
	width:100px;
	margin:15px 0;
	line-height:2em;
	background:#bc0115;
	color:#FFF;
	text-align:center;
}
#sidebar1 .widget .read-more:hover, #sidebar1 .widget .more-link:hover{
	background:#31373A;
}
#sidebar1 p {
	font-size: 1em;
}

#sidebar2 {
	max-width: 800px;
	float: left;
	position: relative;
}
#sidebar2 .widget{
	width:100%;
}

#sidebar2 #parish-ministries {
	margin-right:4%;
}
#sidebar2 #parish-ministries h2.sidebar_title {
	font-weight: 400;
	color: #ff0000;
}
#sidebar2 #parish-ministries .ministries-tabs{
	display:block;
	float:left;
	width:100%;
	overflow:hidden;
	border:1px solid #cbcbcb;
}

#sidebar2 #parish-ministries .ministries-headings{
	float:left;
	width:100%;
	list-style:none;
	margin:0;
	padding:0;
	border-bottom:0;
	border-right:0;
}

#sidebar2 #parish-ministries .ministries-headings li{
	display:block;
	float:left;
	width:14.13%;
	border-right:1px solid #cbcbcb;
	border-bottom:1px solid #cbcbcb;
	background:#f5f5f5;
	word-wrap: break-word;
	min-width: 80px;
}

#sidebar2 #parish-ministries .ministries-headings li:last-child{
	border-right:0;
}

#sidebar2 #parish-ministries .ministries-headings li a{
	display:block;
	float:left;
	width:80%;
	height:53px;
	padding:10px 10% 0 10%;
	font-size:0.8em;
}

#sidebar2 #parish-ministries .ministries-headings li.ui-tabs-active{
	background:#FFF;
	border-bottom:0;
}

#sidebar2 #parish-ministries .ministries-contents{
	display:block;
	float:left;
	width:93.8%;
	height:180px;
	list-style:none;
	margin:0;
	padding:20px 3%;
	position:relative;
	border-top:0;
}

#sidebar2 #parish-ministries .ministries-contents div{
	/*display:block;
	position:absolute;
	left:0;
	top:0;*/
}

#sidebar2 .ai1ec-agenda-widget-view{
	display:block;
	float:left;
	height:430px;
	overflow:hidden;
}

#sidebar2 .ai1ec-date{
	background:none;
	border-bottom:1px dashed #e7e7e7;
	border-top:0;
	padding:10px 0;
}

#sidebar2 .ai1ec-date-title{
	background:#FFF;
}

#sidebar2 .ai1ec-date-title .ai1ec-month, .ai1ec-agenda-widget-view .ai1ec-month, .ai1ec-agenda-view .ai1ec-month{
	background:#bc0115 !important;
	height:20px;
	line-height:20px;
}

#sidebar2 .ai1ec-agenda-widget-view .ai1ec-event > a{
	border:0;
	color:#727272;
}


.ai1ec-allday-badge{
	background:#bc0115 !important;
}

#sidebar2 .jspTrack{
	border-color:#cbcbcb;
}

#sidebar2 .jspDrag{
	background:#cbcbcb;
}

.ai1ec-popup-title a{
	color:#31373A !important;
}

.ai1ec-agenda-widget-view .ai1ec-event .ai1ec-event-title{
	font-weight:bold;
}

#sidebar3{
	border:0;
	padding-bottom:20px;
}

#sidebar3 .ngg-widget img{
	border:0;
	margin:12px;
}

/* Inner sites */


/* Article */
.article{
	padding:0 1% 2% 1%;
}
.inner_title{
	font-size:1.8em;
}

/* Archive */

.archive_post{
	padding-bottom:50px;
	margin-bottom:20px;
	border-bottom:1px solid #E5E5E5;
	width:100%;
	position:relative;
	display:block;
	float:left;
}
.archive_title{
	margin-top:0;
}
.archive_post .archive_img, .archive_post .wp-post-image{
	float:left;
	width:200px;
	height:auto;
	margin-right:15px;
	padding:5px;
	border:1px solid #CCC;
	background-color:#E3E3E3;
}
.readmore{
	float:right;
	display:block;
	position:absolute;
	right:5px;
	bottom:10px;
	padding:5px 10px;
	background-color:#bc0115;
	color:white;
}
.readmore:hover{
	background-color:#31373A;
}
.single_post img{
	margin:5px;
}

.article img, #sidebar1 img {
	padding:5px;
	background-color:#e3e3e3;
	border:1px solid #ccc;
}

.wp-caption{ 
	padding:5px;
	background-color:#e3e3e3;
	border:1px solid #ccc;
	text-align:center;
	font-size:11px;
	color:#000;
}
.wp-caption p{ margin:0; }
.wp-caption img{
	padding:0px;
	background:none;
	border:none;
	width:100%;
}

.alignleft{ float:left; margin:10px 10px 10px 0; }
.alignright{ float:right; margin:10px 0 10px 10px; }
.aligncenter{ margin:auto; }

.bottom_postitem{
	float:left;
	width:100%;
	border-bottom:1px solid #e3e3e3;
	padding-bottom:10px;
	margin-bottom:20px;
}

/*---*/
.arch_pager{
	display:block;
	float:left;
	width:100%;
	text-align:center;
}
.arch_pager a{
	display:inline-block;
	margin-right:10px;
}

#contact_map #mapp0_layout{
	margin:0 !important;
	border:none !important;
}

.fpage-sidebar{
	display:block;
	float:left;
	width:100%;
}

.entry-content img{
	padding:5px;
	background-color:#e3e3e3;
	border:1px solid #ccc;
}

.wp-caption{
	padding:5px;
	background-color:#e3e3e3;
	border:1px solid #ccc;
	text-align:center;
	font-size:11px;
	color:#000;
}
.wp-caption p{ margin:0; }
.wp-caption img{
	padding:0px;
	background:none;
	border:none;
	width:100%;
}

.alignleft{ float:left; margin:10px 10px 10px 0; }
.alignright{ float:right; margin:10px 0 10px 10px; }
.aligncenter{ margin:auto; }

/* Footer */
#footer_out{
	width:100%;
	background:#31373a;
}

#footer{
	display:block;
	margin:0 auto;
	max-width:1200px;
	width:96%;
	padding:50px 2% 30px 2%;
	color:#FFF;
}

#footer a{
	color:#FFF;
}
#footer a:hover{
	text-decoration:underline;
}

#footer .footer-sidebar{
	width:100%;
}

#footer .footer-sidebar .widget{
	float:left;
	width:23.75%;
	margin-right:1.6667%;
}

#footer .footer-sidebar .widget:last-child{
	margin-right:0;
}

#footer .footer-sidebar .sidebar_title{
	font-weight:normal;
	text-transform:uppercase;
	font-weight:300;
	font-size:1.2em;
}

#footer #recent-posts .recent-post{
	margin:0 0 22px 0;
	width:100%;
	float:left;
}

#footer #recent-posts .recent-post img{
	float:left;
	max-width:50px;
	height:auto;
	margin-right:20px;
}

#footer #recent-posts h3{
	font-weight:300;
	font-size:1em;
	margin:0;
}

#footer #recent-posts .date{
	font-weight:300;
	font-size:0.9em;
	margin:0;
	font-style:italic;
}

#footer #wpcf7-f172-o1 input, #footer #wpcf7-f172-o1 textarea, #footer #wpcf7-f172-o2 input, #footer #wpcf7-f172-o2 textarea, #footer #wpcf7-f172-o1 select, #footer #wpcf7-f172-o2 select, #mc4wp-form-1 input {
	background:#45454b;
	color:#a3a3a3;
	border:0;
	padding:8px 0;
	width:100%;
	text-indent:10px;
}

#footer #wpcf7-f172-o1 textarea, #footer #wpcf7-f172-o2 textarea{
	height:75px;
}

#footer .wpcf7-form img{
	float:left;
	width:25%;
	height:auto;
	margin-right:5%;
}

#footer .captcha-506 input{
	float:left;
	width:70% !important;
	padding:4px 0 !important;
	margin-bottom:14px;
}

#footer #wpcf7-f172-o1 .wpcf7-submit, #footer #wpcf7-f172-o2 .wpcf7-submit, #mc4wp-form-1 input[type="submit"]{
	width:72px;
	background:#9f513c;
	text-transform:uppercase;
	float:right;
	text-align:center;
	color:#FFF;
	text-indent:0;
	cursor:pointer;
}

#footer-bottom{
	width:100%;
	background:#9f513c;
	color:#FFF;
	float:left;
}

#footer-bottom-in{
	max-width:1200px;
	width:96%;
	margin:0 auto;
	padding:0 2%;
}

#footer-bottom .copyright{
	display:block;
	float:left;
	width:80%;
	font-size:0.8em;
	padding:16px 0;
	line-height:1.5em;
}

#footer-bottom .copyright a {
	color:#fff;
}
#footer-bottom .copyright a:hover {
	text-decoration: underline;
}

#footer-bottom #social-icons{
	display:block;
	float:right;
	width:20%;
	height:51px;
}

#footer-bottom #social-icons img{
	display:block;
	width:28px;
	height:28px;
	float:right;
	margin:11px 5px;
}


/* ------------------------------- */
#navmenu-small-icon{
	display:none;
	float:right;
	width:50px;
	height:49px;
	background:url(images/menu-small.png) no-repeat;
	cursor:pointer;
	margin:5px;
}
#resp_menu{
	position:absolute;
	bottom:0px;
	right:0;
	top:0;
	display:block;
	width:100%;
	z-index:9999;
}
.mainmenu-small{
	position:absolute;
	float:left;
	right:0;
	background-color:#F1F1F1;
	top:59px;
	width:100%;
	display:none;
	z-index:9999;
}

.mainmenu-small ul{ margin:0; padding:0; }
.mainmenu-small li{ list-style:none; padding:0 15px;}
.mainmenu-small li a{
	display:block;
	float:left;
	width:100%;
	padding:15px 0;
	border-bottom:1px solid #a3a3a3;
	text-indent:15px;
	color:#31373A;
}

@media screen and (max-width:1270px){
	#rev_slider_1_1_wrapper {float: none !important;margin: 0 auto 50px !important;}
	#sidebar_masstimes {float: left;position: relative;}
	.clear_it {clear: initial;}
	#sidebar1 {float: left;position: relative;}
	#advanced-featured-page-widget-5 h2.sidebar_title {margin-top: 0;}
	#content_left{width:100%;}
}

@media screen and (max-width:1110px){
	.mainmenu{
		display:none;
	}
	#navmenu-small-icon{
		display:block;
	}
	#footer .footer-sidebar .widget {min-width: 250px;}
}

@media screen and (max-width:850px){
	.sidebar-area {width:100% !important;margin-left: 0 !important;max-width: initial !important;}
}
@media screen and (max-width:430px){
	#header {height: 200px;}
	#header-bottom {top:200px;}
}

