/*
Theme Name: 	KK
Theme URI: 		http://kk-church
Description: 	для обьедининия краеугольный камень
Version: 		4.0
Author: 		Willi
Author URI: 	http://willi.me
Tags: 			church, basic

*/
.group:after 		{ display:block; height:0; clear:both; content:"."; visibility:hidden; /* For clearing */ }
body 				{ background:#fff; /* Don't forget to style your body to avoid user overrides */ }
::-moz-selection 	{ background:#ff0; color:#333; }
::selection 		{ background:#ff0; color:#333; }

*,
*:before,
*:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}


/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16	= 		0.875em 		(14px equivalent)
16 / 16	= 		1em 			(16px equivalent)
18 / 16 = 		1.125em 		(18px equivalent)
21 / 16 = 		1.3125em 		(21px equivalent)
24 / 16 = 		1.5em 			(24px equivalent)
30 / 16 = 		1.875em 		(30px equivalent)

*/

body,
input,
textarea 			{ 
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	line-height: 1.4em
	font-weight: 400;
	
 }

h1, 
h2, 
h3, 
h4, 
h5, 
h6 					{ font-weight:bold; /* This helps to identify headings at the initial build stage, but you should write something more precise later on */ }

h1 {
	margin: 0px 0 15px;
}

a {
	text-decoration: none;
	color: #777;
}

p {
	padding: 5px 0 15px;
}

img {max-width: 100%; height: auto; border: 0 none; vertical-align: middle;}

.video-container {
	position: relative;
	padding-bottom: 55%;
	padding-top: 0px;
	height: 0;
	overflow: hidden;
	width: 98%;
}
.video-container iframe,  
.video-container object,  
.video-container embed {
position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#main {
	background: #fff;
	min-height: 365px;
	width: 100%;
	position: relative;
	z-index: 2;
	box-shadow: 0 35px 24px -37px #ccc;
}

header {
	height: 45px;
	width: 100%;
	background: #fff;
	border-bottom: 1px solid #ccc;
	max-width: 1210px;
	margin: 0 auto;
}

header.scroll {
	position: fixed;
	top: 0px;
	background: transparent;
	border: none;
	-webkit-animation: show 250ms ease-in-out both;
    animation: show 250ms ease-in-out both;
}


.logo img {
	padding: 4px;
	z-index: 2;
	margin: -4px 0 0;
	position: relative;
	display: inline-block;
}

header h1 {
	width: 130px;
	text-align: center;
	line-height: 0.4;
	padding: 4px 0 0 4px;
	z-index: 2;
	position: relative;
	display: none;
}

header.scroll .logo, header.scroll h1 {
	display: none;
}

header h1 a {
	font-size: 0.4em;
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	color: #777;
}


.wrapper {
	width: 100%;
	padding: 10px 4%;
	max-width: 1210px;
	margin: 0 auto;
	clear: left;
	overflow: auto;
	background: #fff;
	position: relative;
}

/* Menu */

#navtoggle {
	position: absolute;
	top: 5px;
	right: 40px;
	font-size: 1.7em;
	font-family: 'Open Sans Condensed', sans;
	color: #777;
}

header.scroll #navtoggle {
	background: #fff;
	position: relative;
	float: right;
	padding: 3px 40px 3px 10px ;
	right: 0;
	top: 0;
}


 #nav-icon {
  width: 21px;
  height: 21px;
  position: relative;
  float: right;
  margin: 7px;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .15s ease-in-out;
  transition: .15s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #777;
  border-radius: 4px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .15s ease-in-out;
  transition: .15s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2), #nav-icon span:nth-child(3) {
  top: 7px;
}

#nav-icon span:nth-child(4) {
  top: 14px;
}

#nav-icon.open span:nth-child(1) {
  top: 7px;
  width: 0%;
  left: 50%;
}

#nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
  top: 7px;
  width: 0%;
  left: 50%;
}

#menuslide {
	display: none;
	width: 100%;
	height: auto;
    background: #F8F8F8;
    border-bottom: 1px solid #ccc;
	max-width: 1170px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
	top: -5px;
}


#menuslide.nav-active {
	display: block;
     -webkit-animation: show 250ms ease-in-out both;
     animation: show 250ms ease-in-out both;
}

header.scroll #menuslide {
	float: right;
}

#menu-hauptmenu {
	list-style: none;
	width: 100%;
	padding: 0;
}

#menu-hauptmenu > li {
	height: 38px;
	width: 100%;
}


#menu-hauptmenu > li > a {
	padding: 7px 20px 7px 20px;
	font-size: 1.3em;
	width: 100%;
	font-family: 'Open Sans Condensed', sans;
	color: #777;
	text-transform: uppercase;
	display: block;
}

#menu-hauptmenu > li > a:hover {
  background: #777777 none repeat scroll 0 0;
  color: #ffffff;
}

#menu-hauptmenu > li ul {
	display: none;
	width: 100%;
	height: auto;
	padding: 2%;
}

.homelink svg {
	width: 15px;
	height: 15px;
}

#menu-hauptmenu > li > a:hover .homeicon {
	fill: #ffffff;
}


#submenu {
	background: #fff;
	color: #777;
	list-style: none;
	width: 100%;
	height: auto;
	padding: 0px 20px 0px 40px;
}

#submenu li {
	list-style: none;
}

#submenu li a {
	font-size: 1.1em;
  border-bottom: 1px dotted #e1e1e1;
  color: #5e5e5e;
  display: block;
  font-family: Helvetica,Arial,sans-serif;
  font-weight: normal;
  padding: 10px 0;
  text-shadow: 0 1px 1px white;
  transition: color 0.15s ease-in 0s;
  text-transform: uppercase;
}

#submenu > li.has-children > a {
	font-weight: bold;
	padding: 20px 0 10px ;
}

/* Search */

#searchform{
  font-family: 'Open Sans', sans;
  position: relative;
  background: #f8f8f8;
  padding: 10px 2% 0;
}

#searchform input {
  	border-radius: 15px;
  	padding-left: 10px;
  	color: #555555;
    display: inline-block;
    font-size: 14px;
    height: 30px;
    width: 160px;
    line-height: 30px;
    margin-bottom: 10px;
    padding: 4px 6px;
    vertical-align: middle;
    border: 1px solid #cccccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

#searchsubmit {
  border-radius: 15px;
  font-size: 11px;
  padding: 0;
  position: absolute;
  left: 144px;
  top: 14px;
  width: 23px;
  border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
}

#searchsubmit {
  background-color: #f5f5f5;
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border-color: #bbbbbb #bbbbbb #a2a2a2;
  border-radius: 50%;
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
  color: #333333;
  cursor: pointer;
  display: inline-block;
  height: 23px;
  width: 23px;
  margin: 0 -2px;
}

#searchsubmit:hover {
  background-color: #b5b5b5;
  background-image: linear-gradient(to bottom, #dfdfdf, #c6c6c6);
}

#searchsubmit::before {
  background: rgba(0, 0, 0, 0) url("images/search.svg") no-repeat scroll left top / 19px auto;
  color: #fff;
  content: "";
  display: inline-block;
  height: 20px;
  margin-right: 4px;
  position: relative;
  top: -1px;
  vertical-align: middle;
  width: 18px;
}

/* Icons */

.iconbox {
	width: 100%;
	background: #f8f8f8;
	height: 40px;
	padding: 0 0 15px;
}

.youtubeIcon {
  background: url('images/icn_socialmedia.png') no-repeat 0 0 transparent;
  width: 30px;
  height: 30px;
  cursor: pointer;
  float: right;
  margin-right: 30px;
}

.twitterIcon {
  background: url('images/icn_socialmedia.png') no-repeat -40px 0 transparent;
  width: 30px;
  height: 30px;
  cursor: pointer;
  float: right;
  margin-right: 10px;
}

.facebookIcon {
  background: url('images/icn_socialmedia.png') no-repeat -80px 0 transparent;
  width: 30px;
  height: 30px;
  cursor: pointer;
  float: right;
  margin-right: 10px;
}

.instagramIcon {
  background: url('images/icn_socialmedia.png') no-repeat -120px 0 transparent;
  width: 30px;
  height: 30px;
  cursor: pointer;
  float: right;
  margin-right: 10px;
}

.youtubeIcon:hover {
  background: url('images/icn_socialmedia.png') no-repeat 0 -30px transparent;
}

.twitterIcon:hover {
  background: url('images/icn_socialmedia.png') no-repeat -40px -30px transparent;
}

.facebookIcon:hover {
  background: url('images/icn_socialmedia.png') no-repeat -80px -30px transparent;
}

.instagramIcon:hover {
  background: url('images/icn_socialmedia.png') no-repeat -120px -30px transparent;
}

.headerlinks {
	display: none;
}

#breadcrumbs{
    display: none;
}

/* Slider */

.slidercontainer {
	width: 100%;
	position: relative;
	height: 100%;
	padding-bottom: 33.06%;
	max-width: 1210px;
	margin: 0 auto;
	background: #fff;
}

#event-slider {
	user-select: none;
    position: relative;
    margin-top: 0px;
    height: 100%;
    width: 100%;
}

#event-slider .slide {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0px;
    overflow: hidden;
    text-align: center;
    pointer-events: none;
    -webkit-animation: hide 1s ease-in-out both;
     animation: hide 1s ease-in-out both;
}

#event-slider .slide.ev-current {
    pointer-events: auto;
     -webkit-animation: show 1s ease-in-out both;
     animation: show 1s ease-in-out both;
}

.slide img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    z-index: 10;
    border: none;  
    height: auto; 
}

#event-slider .slide {
    opacity: 1;
} 
#eventnav {
    display: none;
}

 
/* no js */

.no-js #eventnav {
    display: none;
}

.no-js #event-slider .slide {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 0;
    overflow: visible;
}

.no-js #event-slider .slide div {
    transform: translateX(0);
    animation: show 350ms ease-in-out both;
}

.no-js div.accordeontext.accordeon-closed {
	display: block;
}

/* Text */

.subtitle {
  color: #747474;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 18px;
  text-transform: uppercase;
  width: 100%;
  border-bottom: 1px solid #ccc;
}

.flipcards {
	width: 100%;
	padding: 30px 0 10px;
	overflow: auto;
	clear: both;
	list-style: none;
}

.flipcards li {
	width: 50%;
	padding: 10px;
	float: left;
}

/* Home */

.videobox {
	width: 100%;
	padding: 0 0 10px;
	overflow: auto;
	clear: both;
}


.videobox span:first-child {
	width: 100%;
	float: left;
	padding: 0 0 20px;
}

.videobox span:first-child .videoimg {
	width: 100%;
	float: left;
	padding: 0 0 10px;
}

.videobox span:first-child h2 {
	width: 100%;
	float: left;
}

.videobox span {
	width: 50%;
	float: right;
	padding: 0 10px 10px 0;
}

.videobox h2 {
	line-height: 1.08;
	float: right;
	width: 50%;
	margin: -7px 0 0;
}

.videobox h2 a {
  color: #5a5a5a;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: normal;
  text-transform: uppercase;
  }

.videobox span:first-child h2 a {
	font-size: 16px;
	display: block;
	margin: 12px 0 0;
}

.videobox span .videoimg {
	width: 47%;
	float: left;
	padding: 0 10px 10px 0;
}


article  {
	width: 100%;
	color: #565656;
	margin: 0 0 30px;
	clear: left;
	overflow: auto;
	position: relative;
}

article ul, article ol {
	margin: 18px 0;
}


article li {
	margin: 2px 0 2px 14px;
}

.bluebutton {
	background: #CDE4EB;
	border: none;
	border-radius: 5px;
	padding: 7px 15px;
}

.newslistimage, .newslistvideo  {
	width: 100%;
	margin: 0 0 20px;
}

.city  { 
	color: #111;
    font-size: 12px;
    margin: 5px 0 0;
	float: left;  
	width: 100%; 
}

.newsboxtitle {
  color: #2a2a2a;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 24px;
  line-height: 1.1em;
  margin: 0 0 10px;
	float: left;
	width: 100%;
}

time {
	width: 100%;  
	color: #2a2a2a;
}

.newslist p {
	margin: 0 0 10px;
}

.read-more {
	line-height: 2.8;
}

/* Single */

time.singletime {
	width: 100%;
	padding: 10px 0 0;
}

.singlecity {
	text-transform: uppercase;
	font-family: 'Open Sans Condensed',Helvetica,Arial,sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #747474;
	margin: 0 0 18px 0;
	width: 100%;
}

.singletitle {
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: bold;
	font-size: 45px;
	color: #2a2a2a;
	margin: 0px 0 10px;
}

article img.singleimage {
	width: 100%;
	padding: 0 0 20px;
}

.socialtag {
	text-decoration: none;
	margin-right: 6px;
	font-family: 'WebSymbolsRegular';
	font-size: 14px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #cde4eb;		
	padding: 9px 15px;
}
article p a.socialtag {
	color: #fff;
		text-decoration: none;
}


.gallery{
	position: relative;
	margin: 30px;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin:0 1.625em 1.625em 0;
}
.alignright {
	display: inline;
	float: right;
	margin-left:0 0 1.625em 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Sidebar */

aside#sidebar {
	width: 100%;
}

.sideblock {
	margin: 0 0 50px;
}

.bluetag, .accordeonbutton {
  color: #404040;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 5px;
  padding: 10px;
  display: block;
}

.bluetag {
  background-color: #CDE4EB;
}

.icon-group {
	padding: 0 20px 0 0;
}

.accordeon {
	padding: 5px 0 0;
}

.accordeonbutton {
  background-color: #e8e8e8;
  clear: left;
  margin: 10x 0 0;
}

.accordeon .accordeonbutton::after {
  content:"";
  background: url(images/arrowdark.svg) no-repeat left top transparent;
  height: 20px;
  width: 20px;
  background-size: 20px 20px;
  position: relative;
  display: block;
  float: right;
  right: 12px;
  top: 0px;
  color: #777;
  transform: rotate(270deg);
}
.accordeon.arrow-open .accordeonbutton::after {
   transform: rotate(0deg);
}


.terminTitle {
    font-family: Open Sans Condensed;
    font-size: 18px;
    font-weight: bold;
}
.terminMonth {
    background: #f8f8f8 none repeat scroll 0 0;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
}
.terminDay {
    font-size: 12px;
    font-weight: 300;
    margin: 3px 0px 0 0;
    display: inline-block;
}
.terminDayNum, .terminDayNum2 {
    font-size: 20px;
    line-height: 20px;
    margin: 0 2px 0 5px;
    text-align: right;
    display: inline-block;    
}

.dashCal {
	margin: 0 8px 0 6px;
}

.DayNumBlock {
    width: 100px;
}

.terminLink {
    border-radius: 3px;
    color: #565656;
    line-height: 20px;
    padding: 2px 5px;
    width: 100%;
    
}
.terminLink:hover {
    color: #000000;
    text-decoration: none;
}
.terminLine {
    border-top: 1px solid #f8f8f8;
    height: 10px;
}

/* Singleevent */

.eventorganiser-event-meta{
	line-height: 2;
	font-size: 1.125em;
	padding: 0 0 20px;
}

.eventlabel {
	width: 150px;
	display: inline-block;
}

/* Acoordeon */

.accordeontext {
	display: block;
	background: #fff;
	margin: 5px 0 20px;
	padding: 0;
	float: left;
	width: 100%;
}

.accordeontext li{
	list-style: none;
	padding: 5px;
}

div.accordeontext.accordeon-closed {
	display: none;
}

.navigation {
	width: 100%;
	clear: left;
}

.teamtile {
	width: 43%;
	float: left;
	padding: 2%;
	margin: 0 1% 1% 0;
	height: 230px;
	position: relative;
	color: #fff;
}

.teamtile:after {
	width: 100%;
	height: 230px;
	position: absolute;
	content: "";
	top:0;
	left:0;
	background: rgba(0, 0, 0, 0.27);
	z-index: 10;
}

.teamtile:hover:after {
	background: rgba(0, 0, 0, 0.07);
}

.teamcity {
	position: relative;
	color: #fff;
	z-index: 900;	
}
.teamcity span{
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	display: block;
	width: 100%;	
	padding: 5px 0 15px;
}

.teamchurch {
	position: relative;
	color: #fff;
	z-index: 900;	
}

.teamchurch span{
	font-size: 14px;
	font-weight: bold;
	display: block;
	font-weight: 300;
	width: 100%;	
	padding: 5px 0 15px;
}

#books img {
	max-width: 70%;
	margin: 0 auto;
	padding: 0 0 30px;
}

#books {
	font-size: 15px;
}

#books p {
	float: left;
	width: 100%;
}


#books p img {
	padding: 0;
	width: auto;
}

/* Footer */

footer {
    background: #f8f8f8 none repeat scroll 0 0;
    height: 400px;
    position: relative;
    z-index: 1;
}
#footerbgrus {
    background: transparent url("images/footerbgrus.png") no-repeat scroll left bottom;
    bottom: 32px;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 1;
}
#footerBbSwoosh {
    background: transparent url("images/flagbg.png") no-repeat scroll right bottom;
    bottom: 0;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1;
    background-size: 200px auto;
}
#footer {
    bottom: 0;
    left: 50%;
    margin-left: -40%;
    padding-bottom: 20px;
    position: fixed;
    max-width: 1170px;
    z-index: 1;
}
.footerTitle {
    font-family: "Open Sans Condensed",Helvetica,Arial,sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.footerSubLink a {
    display: block;
    font-size: 14px;
}
.footerSubLink a:hover {
    text-decoration: none;
}
.footerNewsletter {
    background: transparent  no-repeat scroll 0 0;
    height: 192px;
    margin: 0 auto;
    width: 225px;
}
.footerNewsletterText {
    font-size: 12px;
    line-height: 15px;
    padding: 25px 30px 10px;
    text-align: left;
}
.footerNewsletterText span {
    color: #000;
}
#footerNewsletterTextInput {
    background: #fff none repeat scroll 0 0 !important;
    border: medium none !important;
    border-radius: 15px !important;
    font-size: 12px;
    margin: 0 20px 10px 0 !important;
    width: 150px;
}
.footerBottomText {
    font-size: 12px;
    margin: 25px 0 20px;
}
.footerBottomText a {
    color: #000000;
}
.footerBottomText a:hover {
}
.footerBottomText span {
}

/* Forms */

input, textarea {
	padding: 2px;
}

.wpcf7-submit {
	background: #CDE4EB;
	border: none;
	border-radius: 5px;
	padding: 7px 15px;
	
}

@-webkit-keyframes show {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes show {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes hide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes hide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/* 500 and up */
@media screen and (min-width:500px) {

header h1 {
	display: inline-block;
}

.logo img {
	margin: -10px 0 0;
}


#menu-hauptmenu li:hover ul, #menu-hauptmenu li:active ul  {
	display: block;
}

#menu-hauptmenu{
	width: 100%;
	overflow: auto;
	clear: left;
}

#menu-hauptmenu li {
	width: 50%;
	display: block;
	float: left;	
}
#menu-hauptmenu li li {
	display: none;	
}

}

/* 750 and up */
@media screen and (min-width:750px) {

#menu-hauptmenu li:hover ul, #menu-hauptmenu li:active ul  {
	display: block;
}

#nextslide, #previousslide {
	width: 60px;
	height: 100px;
	position: absolute;
	display: none;
}

#nextslide.open, #previousslide.open {
	display: block;
}

#nextslide {
	right: 10px;
	top: 0;
	margin-top: 12%;
	padding: 30px 10px;
	transform: rotate(-90deg);
}
	
#previousslide {
	left: 10px;	
	top: 0;
	margin-top: 12%;
	padding: 30px 10px;
	transform: rotate(90deg);
}

#eventnav {
	display: block;
	background:linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(255,255,255,0.35) 100%);
	  bottom: 0px;
	  height: 42px;
	  position: absolute;
	  width: 100%;
	  z-index: 11;
}

#eventnavwrap {
  bottom: 55px;
  height: 70px;
  margin: 0 auto !important;
  max-width: 500px;
  min-width: 250px;
  position: relative;
  width: 50%;
  z-index: 99;
}

#eventnav .thumbtext {
	display: none;
}

#eventnavwrap > span {
    opacity: 0.7;
    transition: show 0.25s ease-in-out 0s;
    border: 2px solid transparent;
    border-radius: 2px;
    margin-right: 20px;
    top: 33px;
    width: 47px;
    display: inline-block;
    position: relative;
    z-index: 100;
}



#eventnavwrap > span:hover, #eventnavwrap > span.ev-selected {
  border-color: #ffffff !important;
  top: 42px;
  width: 66px;
  opacity: 1;
}

#eventnavwrap > span:hover .thumbtext {
	display: block;
	position: absolute;
	bottom: 75px;
	left: -41px;
	width: 150px;
	background: #fff;
	border-radius: 4px;
	padding: 8px;
}

#eventnavwrap > span:hover .thumbtext:after {
	border-color: #fff transparent;
    border-style: solid;
    border-width: 8px 8px 0;
    bottom: -8px;
    content: "";
    display: block;
    left: 66px;
    position: absolute;
    width: 0;
}


#eventnav img {
    display: block;
}


#menu-hauptmenu li {
	width: 33%;	
}

.wrapper {
	padding: 20px 20px;
}

main {
	width: 65.8%;
	float: left;
	display: block;
	margin: 15px 0;
}

aside#sidebar {
	width: 31.6%;
	padding: 0;
	margin-left: 2.5641%;
	min-height: 30px;
	width: 31.6239%;
	float: right;
	margin: 15px 0;
}

.flipcards li {
	width: 33.33%;
	padding: 20px;
	float: left;
}

.videobox {
	width: 100%;
	padding: 0 0 10px;
	overflow: auto;
	clear: both;
}


.videobox span:first-child {
	width: 50%;
	float: left;
	padding: 0 10px 10px 0;
}

.videobox span:first-child img {
	width: 100%;
	float: left;
	padding: 0 10px 10px 0;
}

.videobox span {
	width: 50%;
	float: right;
	padding: 0 10px 10px 0;
}

.videobox h2 a {
  color: #5a5a5a;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
  }

.videobox span:first-child h2 a {
	font-size: 16px;
}

.videobox img {
	width: 47%;
	float: left;
	padding: 0 10px 10px 0;
}

.newslistimage, .newslistvideo, .emptyimage {
	width: 50%;
	float: left;
	padding: 0 10px 10px 0;
	margin: 0 0 58px;
}

.emptyimage {
	min-height: 110px;
}

.city  { 
	color: #111;
    font-size: 12px;
    margin: 5px 0 0;
	float: left;  
	width: 50%;
	padding: 0 0 0 10px; 
}

.newsboxtitle {
  color: #2a2a2a;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.1em;
  margin: 0 0 10px;
	float: left;
	width: 50%;
	padding: 0 20px 0 10px; 
}

time {
	width: 50%;  
	color: #2a2a2a;
	float: left;
	padding: 0 0 0 10px;
}

.newslist p {
	margin: 0 0 40px;
	width: 50%;
	float: left;
	padding: 10px 0 0 10px;
}

}

/* 950 and up */
@media screen and (min-width:950px) {

.logo {
	padding: 10px;
}

.logo img {
	width: 120px;
	height: auto;
	float: left;
	padding: 10px;
}
#navtoggle {
	display: none;
}

header {
	height: auto;
	border: none;
	clear: left;
}

header.scroll {
	margin: 0 auto;
	left: 0;
	right: 0;
}


header h1 {
	float: left;
	width: 222px;
	text-align: center;
	line-height: 1;
	padding: 18px 0 0;
	z-index: 2;
	position: relative;
}

header h1 a {
	font-size: 0.7em;
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	color: #777;
}

#menuslide {
	display: block;
	border:none;
	background: #fff;
	top:0;
}

#menu-hauptmenu > li {
	width: auto;
	border-right: 1px solid #777;
	border-image: linear-gradient(to bottom, #f7f7f7 0%,#777 18%,#777 92%,#f7f7f7 100%);
	border-image-slice: 1;
	border-width: 0 1px 0 0;
}

#menu-hauptmenu > li > a {
  line-height: 35px;
  padding: 3px 25px 0;
  z-index: 550;	
}

#menu-hauptmenu > li:hover > ul, #menu-hauptmenu > li:active > ul  {
	display: block;
	position: absolute;
	padding: 0 10px;
    min-width: 180px;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    width: auto;
    -webkit-animation: show 250ms ease-in-out both;
    animation: show 250ms ease-in-out both;
}

#menu-hauptmenu > li > ul a {
  border-bottom: 1px dotted #e1e1e1;
  border-right: none;
  color: #5e5e5e;
  display: block;
  font-family: Arial, sans;
  font-size: 1em;
  padding: 10px 0 12px;
}

#menu-hauptmenu > li > ul a {
  border-bottom: 1px dotted #e1e1e1;
  border-right: none;
  color: #5e5e5e;
  display: block;
  font-family: Arial, sans;
  font-size: 1em;
  padding: 10px 0;;
}

#menu-hauptmenu{
	width: 100%;
	overflow: auto;
	clear: left;
	border-style: solid;
	border-width: 0 0 1px 0;
	border-image: linear-gradient(to right, #f7f7f7 0%,#cccccc 2%,#cccccc 82%,#f7f7f7 100%);
	border-image-slice: 1;
}

#menu-hauptmenu li li {
	display: block;	
}

#searchform {
	background: #fff;
	position: absolute;
	top: 30px;
	right: 330px;
}

#searchsubmit {
	margin: 0 11px;
}

.iconbox {
  background: #fff;
  position: absolute;
  right: 154px;
  top: 39px;
  width: 184px;
}

header.scroll .iconbox, header.scroll #searchform  {
	display: none;
} 


.subtitle {
  border-width: 0 0 1px 0;
  border-image: linear-gradient(to right, #f7f7f7 0%,#cccccc 2%,#cccccc 82%,#f7f7f7 100%);
  border-image-slice: 1;
}

.headerlinks {
	display: block;
	position: absolute;
	top:0;
	right: 20%;
}

.headerlinks a {
  cursor: pointer;
  font-size: 12px;
  margin-left: 30px;
  text-transform: uppercase;
  color: #999;
}

#breadcrumbs{
    list-style:none;
    margin:10px 0;
    overflow:hidden;
    display: block;
}
  
#breadcrumbs li{
    display:inline-block;
    vertical-align:middle;
    margin-right:15px;
}
  
#breadcrumbs .separator{
    font-size:18px;
    font-weight:100;
    color:#ccc;
}

.teamcity span{
	font-size: 24px;	
	padding: 5px 0 15px;
}

.teamchurch span{
	font-size: 20px;	
	padding: 5px 0 15px;
}


}

/* 1210 and up */
@media screen and (min-width:1210px) {

.slidercontainer {
	height: 400px;
	padding-bottom: 0;
}

}


/* Retina Display */
@media screen and (-webkit-min-device-pixel-ratio:2) {

					{ /* Place your styles here for all 'Retina' screens */ }

}

@font-face {
    font-family: 'WebSymbolsRegular';
    src: url('/fonts/websymbols-regular-webfont.eot');
    src: url('/fonts/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/websymbols-regular-webfont.woff') format('woff'),
         url('/fonts/websymbols-regular-webfont.ttf') format('truetype'),
         url('/fonts/websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}