/*
	Theme Name: Ipswich Quakers
	Theme URI: http://ipswichquakers.org.uk/
	Description: Custom theme build for Ipswich Quakers by Kall Kwik Bury St Edmunds
	Version: 1.4.3
	Author: Peter Sawyer (Kall Kwik Bury St Edmunds)
	Author URI: http://www.kallkwikburystedmunds.co.uk/
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/
*,:after,:before{-moz-box-sizing:border-box;box-sizing:border-box;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;text-rendering:optimizeLegibility}
html{}
body{background: url(img/pattern.jpg); background-repeat: repeat;}
.clear:before,.clear:after{content:" ";display:table}
.clear:after{clear:both}
.clear{*zoom:1}
img{max-width:100%;vertical-align:bottom; height: auto;}
a{color:#5a88c5;text-decoration:none}
a:hover{color:#444}
a:focus{outline:0}
a:hover,a:active{outline:0}
input:focus{outline:0;border:1px solid #04a4cc}

::selection{background:#04a4cc;color:#FFF;text-shadow:none}
::-webkit-selection{background:#04a4cc;color:#FFF;text-shadow:none}
::-moz-selection{background:#04a4cc;color:#FFF;text-shadow:none}
.alignnone{margin:5px 20px 20px 0}
.aligncenter,div.aligncenter{display:block;margin:5px auto}
.alignright{float:right;margin:5px 0 20px 20px}
.alignleft{float:left;margin:5px 20px 20px 0}
a img.alignright{float:right;margin:5px 0 20px 20px}
a img.alignnone{margin:5px 20px 20px 0}
a img.alignleft{float:left;margin:5px 20px 20px 0}
a img.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{background:#FFF;border:1px solid #f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center}
.wp-caption.alignnone{margin:5px 20px 20px 0}
.wp-caption.alignleft{margin:5px 20px 20px 0}
.wp-caption.alignright{margin:5px 0 20px 20px}
.wp-caption img{border:0 none;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}
.wp-caption .wp-caption-text,.gallery-caption{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}

#wrapper {max-width: 1700px;
background: #FFF;
margin-left: auto;
margin-right: auto;
overflow: hidden;
border-left: 1px solid #999;
border-right: 1px solid #999;}


h1 {margin-top: 0px; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; }
h2 {margin-top: 0px; font-size: 30px; font-weight: 100; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; }
p {font-size: 15px; font-family: Arial, Helvetica, sans-serif; line-height: 1.7; margin-bottom: 20px; margin-top: 0px;}

li {font-size: 15px; font-family: Arial, Helvetica, sans-serif; line-height: 1.7; margin-top: 0px; margin-bottom: 10px;}

ul, ol {padding-left: 20px;}

hr {
border: dashed #BBB;
border-width: 1px 0 0;
clear: both;
margin: 30px 0 20px;
height: 0;
}

#header-contactdetails p {text-align: right; margin: 0px; padding-top: 8px; color: #fff; font-size: 13px;}
#header-contactdetails a {color: #fff;}
#header-contactdetails a:hover {color: #000;}
#header-contactdetails i {margin-left: 20px; margin-right: 5px;}
#header-contactdetails {height: 30px; background: #5a88c5; width: 100%; max-width: 1350px; margin-left: auto; margin-right: auto; position: relative; z-index: 999;}

header {background: #fff; height: 100px; width: 100%; max-width: 1350px; margin-left: auto; margin-right: auto; position: relative; z-index: 999; -webkit-box-shadow: 0 6px 6px -6px #525252;
	   -moz-box-shadow: 0 6px 6px -6px #525252;
	        box-shadow: 0 6px 6px -6px #525252;
}
header .logo {padding-top: 12px;}
header .logo img {float: left; margin-right: 20px; height: 80px;}
header .logo h4 {margin-top: 32px; font-size: 18px;}
header .logo h4 a {color: #000;}
header .logo h4 a:hover {color: #5a88c5;}


#cssmenu{position:relative;height:100px;width:auto}
#cssmenu ul{list-style:none;padding:0;margin:0;line-height:1; float: right; display: block;}
#cssmenu>ul{position:relative;display:block;background:#fff;height:100px;z-index:500; float: right;}
#cssmenu>ul>li{display:block;position:relative;float:left;margin:0;padding:0; line-height: 1;}
#cssmenu>ul>#menu-button{display:none}
#cssmenu ul li a{display:block;font-family:Helvetica,sans-serif;text-decoration:none}
#cssmenu>ul>li>a{font-size:14px;font-weight:700;padding:46px 20px 40px 20px;color: #5c8ac3;}

#cssmenu>ul>li:hover>a{color:#fff;background:#5a88c5;}

#cssmenu>ul>li:hover::after{border-top-color:#7b7000}
#indicatorContainer{position:absolute;height:12px;width:100%;bottom:0;overflow:hidden;z-index:-1}
#pIndicator{position:absolute;height:0;width:100%;border:12px solid transparent;border-top-color:#2b2f3a;z-index:-2;}
#cIndicator{position:absolute;height:0;width:100%;border:12px solid transparent;border-top-color:#2b2f3a;top:-12px;right:100%;z-index:-2}
#cssmenu ul ul{position:absolute;left:-9999px;top:120px;opacity:0;z-index:1000}
#cssmenu ul ul ul{top:37px;padding-left:5px}
#cssmenu ul ul li{position:relative}
#cssmenu>ul>li:hover>ul{left:auto;top:100px;opacity:1}
#cssmenu ul ul li:hover>ul{left:170px;top:0;opacity:1}
#cssmenu ul ul li a{width:180px;border-bottom:1px solid #333;padding:15px 20px;font-size:13px;color:#fff;font-weight:700;background:#35342f;border-left:1px solid #333;border-right:1px solid #333}
#cssmenu ul ul li:hover>a{background:#4d4b46;color:#fff}
#cssmenu ul ul li:last-child>a,#cssmenu ul ul li.last>a{border-bottom:0}
.submenuArrow{border:6px solid transparent;width:0;height:0;border-bottom-color:#35342f;position:absolute;top:-12px}
#cssmenu ul ul li.has-sub::after{border:4px solid transparent;border-left-color:#fff;right:10px;top:12px;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease;-webkit-transition:-webkit-transform .2s ease,right .2s ease}
#cssmenu ul ul li.has-sub:hover::after{border-left-color:#35342f;right:-5px;-webkit-transform:rotateY(180deg);-ms-transform:rotateY(180deg);-moz-transform:rotateY(180deg);-o-transform:rotateY(180deg);transform:rotateY(180deg)}

#cssmenu>ul>li.current-menu-item {background: #F3F3F3; color: #7b7000;}

#click-menu.admin-bar-showing {margin-top: 115px!important;}

#responsive-menu .responsive-menu, #responsive-menu div, #responsive-menu .responsive-menu li {margin-bottom: 0px;}

.homebox {max-width: 500px;
background: #fff;
margin-left: auto;
margin-right: auto; background: rgba(255, 255, 255, 0.8); text-align: center; margin-top: 110px; padding-top: 20px; padding-bottom: 20px; z-index: 100; position: relative;}
.homebox h2 {font-size: 50px; font-weight: 100; margin-bottom: 0px; letter-spacing: 1.3px;}
.homebox h4 {margin-bottom: 0px;}
.homeboxwrap {padding: 20px 10px;}

#home .maincontent {padding-top: 40px; padding-bottom: 40px;}
#home .maincontent p {font-size: 15px; line-height: 1.8;}
#home .maincontent p:first-child {font-size: 16px; font-weight: bold;}

#home #homeevents {background: #eaf0f7; padding-top: 40px; padding-bottom: 40px;}

#homehire {padding-top: 40px; padding-bottom: 40px;}
#homehire img {border: solid 1px #343434; margin-bottom: 35px; width: 100%; height: auto;}

.home-image {float: right; border: 1px solid #333; max-width: 360px; width: 100%; height: auto;}

#homeslider {height: 500px; width: 100%; background: #999; background-image: url(img/background1.jpg); background-repeat: no-repeat; background-size: cover; background-position: center; z-index: 1!important;}
#pageslider {height: 250px; width: 100%; margin-bottom: 30px; background: #999; background-image: url(img/background1.jpg); background-repeat: no-repeat; background-size: cover; background-position: center; }

#contactslider {height: 500px; width: 100%; background: #999; margin-bottom: 30px;}
#googlemaps { 
  height: 500px; 
  width: 100%; 
  position:absolute; 
  top: 0; 
  max-width: 1698px;
  z-index: 0; /* Set z-index to 0 as it will be on a layer below the contact form */
  
}

.attachment-topimage {padding-bottom: 30px}

.mapp-layout {margin-bottom: 30px; width: 100%!important;}

footer {background: #494949; width: 100%; height: auto; padding-top: 50px; padding-bottom: 20px;}
footer hr {border: dotted #ccc; border-width: 1px 0 0; clear: both; margin: 40px 0; height: 0;}
footer p {line-height: 2.0; color: #fff; font-size: 14px;}
footer p a {color: #fff; text-decoration: none;}
footer p a:hover {color: #a0c2f2}
footer strong {color: #a0c2f2;}
footer #copyright p {font-size: 13px; color: #fff; margin-top: 0px;}
footer #copyright a {font-size: 13px; color: #fff;}
footer #copyright a:hover {color: #34629b;}
footer #webdesign {text-align: right;}

.footer-address {padding-left: 50px; padding-right: 20px; border-left: 1px dotted #ccc; border-right: 1px dotted #ccc;}
.footer-event {padding-left: 20px;}

footer .footer-logo {float: left; margin-right: 30px;}
footer h4 {margin-top: 30px; font-size: 25px; color: #fff; font-weight: 100;}

.news-title {font-size: 16px; color: #000; line-height: 1.7; margin-top: 0px; margin-bottom: 8px; min-height: 60px; padding-right: 30px;}
.news-title a {color: #000;}
.news-title a:hover {color: #5a88c5;}

.max-width {max-width: 780px;}

.button {padding: 10px 20px 10px 20px; border: 1px solid #333; background: #75a8d2;

background: -moz-linear-gradient(top,  #75a8d2 0%, #4d7abc 100%);

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#75a8d2), color-stop(100%,#4d7abc));

background: -webkit-linear-gradient(top,  #75a8d2 0%,#4d7abc 100%);

background: -o-linear-gradient(top,  #75a8d2 0%,#4d7abc 100%);

background: -ms-linear-gradient(top,  #75a8d2 0%,#4d7abc 100%);

background: linear-gradient(to bottom,  #75a8d2 0%,#4d7abc 100%);

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#75a8d2', endColorstr='#4d7abc',GradientType=0 );

color: #fff; font-size: 15px; font-weight: bold;
}
.button:hover {background-color: #4D5666; background-image: -webkit-gradient(linear, left top, left bottom, from(#4D5666), to(#333333));
 background-image: -webkit-linear-gradient(top, #4D5666, #333333);
 background-image: -moz-linear-gradient(top, #4D5666, #333333);
 background-image: -ms-linear-gradient(top, #4D5666, #333333);
 background-image: -o-linear-gradient(top, #4D5666, #333333);
 background-image: linear-gradient(to bottom, #4D5666, #333333);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#4D5666, endColorstr=#333333); color: #fff;}

.button2 {margin-left: 15px; background: #5d5d5d;

background: -moz-linear-gradient(top,  #5d5d5d 0%, #3d3d3d 100%);

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5d5d5d), color-stop(100%,#3d3d3d));

background: -webkit-linear-gradient(top,  #5d5d5d 0%,#3d3d3d 100%);

background: -o-linear-gradient(top,  #5d5d5d 0%,#3d3d3d 100%);

background: -ms-linear-gradient(top,  #5d5d5d 0%,#3d3d3d 100%);

background: linear-gradient(to bottom,  #5d5d5d 0%,#3d3d3d 100%);

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5d5d5d', endColorstr='#3d3d3d',GradientType=0 );

}

.button3 {padding: 5px 10px 5px 10px; font-size: 13px;}


input[type="text"], input[type="tel"], input[type="email"], input[type="search"] {
width: 90%;
background: #fbfbfb;
border: 1px solid #DFDFDF;
font-size: 14px;
margin-bottom: 0px;
padding-left: 10px;
height: 40px;
box-shadow: none;
-webkit-appearance: none;
border-radius: 0px;
margin-top: 5px;
}
input[type="textarea"] {width: 90%;
background: #fbfbfb;
border: 1px solid #DFDFDF;
font-size: 14px;} 

.ninja-forms-form-wrap input, .ninja-forms-form-wrap select {height: 40px!important;}
.ninja-forms-form-wrap textarea {min-height: 150px!important; height: auto; background: #fbfbfb;
border: 1px solid #DFDFDF;}
.text-wrap.label-above label, .textarea-wrap.label-above label {margin-top: 30px;}


#events-manager-list h2 {margin-bottom: 20px; margin-top: 50px; border-bottom: 1px dashed #ccc;
padding-bottom: 10px;
font-size: 25px;
font-weight: bold;}
#events-manager-list h2:first-child {margin-top: 20px;}
.event-manger-link {margin-bottom: 30px;}
.event-manger-link a {font-weight: bold; margin-bottom: 10px; display: block;}

.roomhire {margin-right: 35px;}
.roomhire h3 {font-size: 24px;}
.roomhire img {margin-bottom: 20px; height: auto; width: 100%;}

.sidebar .widgetbox {margin-bottom: 30px; padding-bottom: 10px;}
.sidebar .widgetbox ul {padding: 0px;}
.sidebar .widgetbox li {list-style: none; margin-bottom: 15px;}
.sidebar .widget_text h3 {margin-top: 30px;}

.sidebar .widgetbox .tweets li {font-size: 13px;}

.fb_iframe_widget {
    display: block !important;
}
 
.fb-like-box iframe {
     width: 100% !important;
}
 
.fb-like-box span {
    width: auto !important;
    position: initial !important;
}
.fb_iframe_widget_fluid span {
    width:100% !important;
}
.fb_iframe_widget span {
    position: static !important;
}
.mobileonly {display: none;}

@media only screen and (min-width:960px) and (max-width:1199px) {
#cssmenu>ul>li>a {padding: 46px 15px 40px 15px;}

header .logo h4 {font-size: 16px;}
}

@media only screen and (max-width: 959px) and (min-width: 768px) {
	header .column5, header .column11 {width: 50%!important;}
#cssmenu {display: none;}	
#click-menu {margin-top: 50px!important;}	
#click-menu.admin-bar-showing {margin-top: 85px!important;}	
	
	.homepage .maincontent .column10 {width: 96%!important;}
	.home-image {display: none;}
	
	#homeslider {height: 400px;}
	.homebox { margin-top: 65px;}
	
	footer .footer-logo {margin-bottom: 50px;}
	footer h4 { margin-top: 10px;}
	
	
}

@media only screen and (max-width:767px){

.mobileonly {display: block;}

#home {margin-top: 60px;}
.homebox {top: 265px; margin: 0px; background: none; width: 90%;
margin-left: auto;
margin-right: auto;
display: block;
max-width: none;
}

#pageslider {background-image: none; height: 20px;}
.maincontent {margin-top: 20px;}

#responsive-menu .responsive-menu, #responsive-menu div, #responsive-menu .responsive-menu li {font-weight: bold;}

.homebox h2 {text-align: left; padding-left: 0px; padding-right: 20px;}
.homebox h4 {display:none;}	
	
#header-contactdetails {display: none;}
header {height: 70px; position: fixed; top: 0;}
header .logo img {height: 50px; width: auto;}
header .logo h4 {margin-top: 18px;}

#click-menu {margin-top: 10px!important;
position: fixed;}
#click-menu.admin-bar-showing {margin-top: 10px!important;
position: fixed;}
	
#cssmenu {display: none;}

#homeslider {height: 250px;
}

.mapp-canvas {height: 250px!important}

#home #homeevents {padding-bottom: 0px;}
#homeevents .column4 {margin-bottom: 45px;}
.news-title {min-height: 10px; margin-bottom: 0px;}

.homebox { margin-top: 45px;}
.homebox h2 {font-size: 35px;}

.home-image {display: none;}
#homehire .column4 {width: 45%;margin-right: 5%;}

.footer-address {padding-left: 0px; padding-right: 0px; border: none;}
.footer-address p {margin-bottom: 0px;}
.footer-event {padding-left: 0px; padding-right: 0px; border: none;}
footer hr {margin: 0px 0px 20px 0;}
footer #webdesign {text-align: left;}

.roomhire {
padding-right: 20px;
border: 1px solid #494949;
margin-bottom: 20px;
padding: 20px;
background: #F8F8F8;
}

}
@media only screen and (max-width:420px){ }


@media print {
*{background:none;color:#000!important;box-shadow:none!important;text-shadow:none!important}
a,a:visited{text-decoration:underline}
a[href]:after{content:" (" attr(href) ")"}
abbr[title]:after{content:" (" attr(title) ")"}
.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}
pre,blockquote{border:1px solid #999;page-break-inside:avoid}
thead{display:table-header-group}
tr,img{page-break-inside:avoid}
img{max-width:100%!important}
@page {
margin:.5cm
}
p,h2,h3{orphans:3;widows:3}
h2,h3{page-break-after:avoid}
}


