/* Modified by Ric Bolzan January 2016 */

/* Includes Google  */

/* "#" is used for IDs that are very specific

   "." is used where the class is used multiple times */

/* padding order: top, right, bottom, left */



#pagewrap {

	/*padding: 20px 20px 20px 20px;*/

	max-width: 900px;

	margin:auto;

	margin-top: 0px;

	margin-bottom: 20px;

	background-repeat: repeat;

	background-color: white;

	background-image: url(../img/background_.jpg); 

	/*background-image: url(../img/background.jpg);*/

	}



body {

	font: 1em/150% Arial, Helvetica, sans-serif;

	background-color: white;

	background-image: url(../img/background_.jpg); 

}

a {

	/*color: #640000;*/

	color:  #4339CB;

	text-decoration: underline;

	font-weight: bold;

	}



a:hover {

	text-decoration: underline;

	font-weight: bold;

	}



h1 {

	font-size: 100%;

	padding-top:10px;

	font-size:4.2em;

	color: #46566b;

	font-family: Tahoma, Geneva, sans-serif;

	font-weight: lighter !important;

	text-align:center;

	margin-top:.5em;

	margin-bottom:1em;

	 }

	 

h2, h3, h4, h5, h6 {

	font-family: Tahoma, Geneva, sans-serif;

	text-decoration: none;

	padding-bottom: 0;

	padding-left: 0;

	padding-right: 0;

	padding-top: 10;

	color:  #46566b;

	}



h2{

	margin-top:1em;

	font-size: 40px;

	letter-spacing: 2px;

	font-weight: bold;

	}

h3{

	margin-bottom: .5em;

	margin-top:2em;

	font-size: 30px;

	letter-spacing: 2px;

	text-decoration: none;

	}

h4{

	/*margin: 1em 0 0 0;*/

	font-size: 20px;

	margin: 0 0 0 0;

	}



h5{/*For Tai Chi Schools*/

	padding: 0px;

	margin: 0px;

	font-size: 18px;

	font-style: italic;

	}

	

h6{/*for News Boxes*/

	margin-bottom: .5em;

	margin-top:2em;

	font-size: 30px;

	color: red;

	letter-spacing: 2px;

	text-decoration: none;

	}

	

hr {

	color: #640000;	

	background-color: #640000;

	height: 3px;

	border-width:0;

	width:100%;

	}



img {

	border: 1px;

	max-width: 100%;

	height: auto;

	}



.article_title {

	margin-top:1em;

	font-size: 40px;

	letter-spacing: 2px;

	font-weight: bold;

	color: red;

	font-family: Tahoma, Geneva, sans-serif;

	text-align:center;

	margin-top:.5em;

	margin-bottom:1em;

	 }





.nospace{

	margin-bottom:.2em;

	margin-top:-1em;

	font-size: 110%;

	letter-spacing: 3px;

	}



.link{

	margin-top:1em;

	margin-bottom:.1em;

	font-size: 20px;

	letter-spacing: 2px;

	}



.link a{

	color:  #46566b;

	}



.clear{

	clear: both;

	font-weight: bold;



	}



/* Header Section -------------------------------------------- */

#header{

	height: 150px;

	width: 100%;

	border: 0px;

	margin-bottom: 0px;

	background-repeat: repeat;

	/*background-repeat: no-repeat;*/

	background-position: center;

	/*background-color: #f3f3f2;

	background-image: url(../img/background.jpg);*/

	/*background-image: url(../img/tonylogo50.png);*/

	}



#header p{

	margin:0;

	padding:0 0 10px 0;

	text-align: center;

	font-size:18px;

	color: #640000;

	}

#header a{

	font-weight: normal;

	text-decoration: none;

	}



#header img{

	border: 0px;

	/*float: left;*/

	/*width: 500px;*/

	width: 50%;

	/*width: 24%;*/

	}



#headerarticles{

	height: 70px;

	width: 100%;

	border: 0px;

	margin-bottom: 0px;

	background-repeat: repeat;

	/*background-repeat: no-repeat;*/

	background-position: center;

	/*background-color: #f3f3f2;

	background-image: url(../img/background.jpg);*/

	/*background-image: url(../img/tonylogo50.png);*/

	}

#headerarticles a{

	font-weight: normal;

	text-decoration: none;

	}





#searchcontainer{

	float: right;

	width: 30%;

	padding: 80px 0px 0px 0px;

	background-color: ;

	/*border: solid 1px #ccc;*/

	}



/*==================================================================*/

/* DROP-DOWN NAVIGATION SECTION

https://webdesignerhut.com/css-dropdown-menu/ */



#navcontainer{

	margin-top:0;

	padding: 0;

	}



/* Giving a background-color to the nav container. */

nav {

    margin: 0px 0 0 0;

    background-color: #640000;

}



/* Removing padding, margin and "list-style" from the "ul",

 * and adding "position:reltive" */

nav ul {

    padding:0;

    margin:0;

    list-style: none;

    position: relative;

    }



/* Colour Current Page Menu Item */

nav li.current a{

background: #CC0000;

	}

	

/* Positioning the navigation items inline */

nav ul li {

    margin: 0px -7px 0 0;

    display:inline-block;

    background-color: #640000;

    }



/* Styling the links */

nav a {

    display:block;

    padding:0 21.0px;

    color:#FFF;

    font-size:18px;

	font-weight: normal;

	font-family: Tahoma, Geneva, sans-serif;

    text-decoration:none;

    line-height: 40px;

}



/* Background color change on Hover */

nav a:hover {

    background-color: #CC0000;

    font-size:18px;

	font-weight: normal;

	font-family: Tahoma, Geneva, sans-serif;

    text-decoration:none;

}



/* Hide Dropdowns by Default

 * and giving it a position of absolute */

nav ul ul {

    display: none;

    position: absolute;

    top: 100%;

}



/* Display Dropdowns on Hover */

nav ul li:hover > ul {

    display:inherit;

    font-size:20px;

	font-weight: normal;

	font-family: Tahoma, Geneva, sans-serif;

    text-decoration:none;

}



/* Fisrt Tier Dropdown */

nav ul ul li {

    min-width:170px;

    display:list-item;

    position: relative;

}



/* Second, Third and more Tiers

 * We move the 2nd and 3rd etc tier dropdowns to the left

 * by the amount of the width of the first tier.

*/

nav ul ul ul {

    position: absolute;

    top:0;

    left:100%;

}

/*==================================================================*/



/* Homepage link boxes  -------------------------------------------- */

#linkcontainer_wide { /* homepage full-width yellow box */

	text-align: center;

	text-decoration: none;

	align:center;

	max-width: 9000px;

	/*height: 280px;*/

	padding: 0em 2em 1em 2em;

	background-color: yellow;

	border: 2px solid #640000;

	padding-bottom: 10px;

	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

	}



#linkcontainer{ /* container for items on the homepage */

	text-align: center;

	text-decoration: none;

	float: left;

	width: 280px;

	height: 280px;

	padding: 0em 0em;

	background-color: white;

	border: 2px solid #640000;

	padding-bottom: 10px;

	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

	}



#linkheading{ /* Heading for link containers */

	margin-bottom: .5em;

	margin-top:0;

	font-size: 24px;

	letter-spacing: 2px;

	text-decoration: none;

	}



#newscontainer{ /* container for items on the homepage */

	text-align: center;

	text-decoration: none;

	float: left;

	width: 280px;

	height: 280px;

	padding: 0em 0em;

	background-color: #F0E68C;

	border: 2px solid #640000;

	padding-bottom: 10px;

	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

	}



#widenewscontainer{ /* full-width Yellow box for news items */

	margin:auto;

	text-align: center;

	text-decoration: none;

	font-weight: bold;

	valign:center;

	font-size:24px;

	max-width:98%;

	height:auto;

	padding: 1em 1em 1em 1em;

	background-color: white;

	/*background-color: #C4DE97;*/

	border: 2px solid #640000;

	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

	}

	

#spacer{ /* spacer for linkcontainers */

	float: left;

	width: 20px;

	/*background-color: white;*/

	}



/* Breadcrumbs -------------------------------------------- */

#breadcrumbs {

	font-weight: bold;

	font-family: Tahoma, Geneva, sans-serif;

	text-decoration: none;

	color: #46566b;

	font-size: 90%;

	max-width: 900px;

	/* word-spacing: 2em;*/

	padding: 0em 0em 0em 1.6em;

	}



#breadcrumbs a {

	font-weight: bold;

	text-decoration: none;

	font-family: Tahoma, Geneva, sans-serif;

	color: #640000;

	font-size: 95%;

	}





#imgcaption {

	text-align: center;

	font-weight: bold;

	font-family: Tahoma, Geneva, sans-serif;

	font-size: 75%;

	}



	

#schools {

	color: red;

	text-transform: uppercase;

	font-size: 140%;

	}

	

#schoolsregion {

	font-weight: bold;

	color: maroon;

	text-transform: uppercase;

	font-size: 115%;

	}

	

#schoolstitle {

	font-size: 18px;

	font-style: italic;

	}

	

#adressangaben a.currentlink {

	color:  #640000 !important ;

		

	} 

.media.aktiv{

	color:  #640000 !important ;

	}



/*Page Content ----------------------------------- */



#contenttop{

	width: 898px;

	float: left;

	margin-bottom: 5px;

	padding:0 0 0 .2em;

	} 



#contenttop p{

	margin:0 0 1.5em 0;	

	}





/*Footer  -------------------------------------------- */

#footerpanel {

	clear: both;

	font-size: 1em;

	border: solid 1px #ccc;

	background-color: white;

	/*background-image: url(../img/logo.gif);*/

	/*background-repeat: no-repeat;*/

	/*background-position: 97% 85% ;*/

	}

	

#footer{

	clear: both;

	font-size: 1em;

	border: solid 1px #ccc;

	background-color: gray;

	color: white;

	}

	

#footerlinks{

	float: left;

	width: 275px;

	height: 280px;

	padding: 0em 0em;

	color: white;

	background-color: gray;

	border: 2px solid #640000;

	}

	

#credit{

	text-align: right;

	text-decoration: none;

	color: darkgray;

	font-weight: normal;

	font-family: Tahoma, Geneva, sans-serif;

	font-size: 65%;

	}



	

	/*Footer Adressangaben*/

#adressangaben{

	margin:1em 0 1em 0;

	line-height: 1.8em;

	list-style-type:none;

	padding:0 0 0 .5em;

	}



#adressangaben .fqemail {

	background-image:  url(../img/email.png);

	background-repeat: no-repeat;

	background-position: left;

	padding:0 0 0 1.5em;

	}



#adressangaben .fqmobile {

	background-image: url(../img/phone.png);

	background-repeat: no-repeat;

	background-position: left;

	padding:0 0 0 1.5em;

	}



.fqmobile a{

	text-decoration: none;

	color:black;

	}



#adressangaben .media {

	background-image: url(../img/coffee.png);

	 background-repeat: no-repeat;

	background-position: left;

	padding:0 0 0 1.5em;

	}

	

#adressangaben .media a{

	color: black;	

	}



#adressangaben .media a:hover{

	color: #b52519;

	}



#adressangaben li span {

	display: block;

	float: left;

	width: 65px;

	}	



#code{

	float: right;

	margin:0 6em 0 0;

	}



.elastic-video { 

	position: relative; 

	padding-bottom: 55%; 

	padding-top: 15px; 

	height: 0; 

	overflow: hidden; 

	} 

	

.elastic-video iframe { 

	position: absolute; 

	top: 0; 

	left: 0; 

	width: 100%; 

	 height: 100%; 	

	} 



.elastic-video-wrapper { 

	width: 500px; 

	max-width: 100%; 

	margin: 1em auto;	

	} 

/* CUSTOM CHECKBOX */

/* Customize the label (the container) */

.container {

  display: block;

  position: relative;

  padding-left: 35px;

  margin-bottom: 12px;

  cursor: pointer;

  font-size: 22px;

  -webkit-user-select: none;

  -moz-user-select: none;

  -ms-user-select: none;

  user-select: none;

}



/* Hide the browser's default checkbox */

.container input {

  position: absolute;

  opacity: 0;

  cursor: pointer;

  height: 0;

  width: 0;

}



/* Create a custom checkbox */

.checkmark {

  position: absolute;

  top: 0;

  left: 0;

  height: 40px;

  width: 40px;

  background-color: #eee;

}



/* On mouse-over, add a grey background color */

.container:hover input ~ .checkmark {

  background-color: silver;

}



/* When the checkbox is checked, add a blue background */

.container input:checked ~ .checkmark {

  background-color: red;

}



/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {

  content: "";

  position: absolute;

  display: none;

}



/* Show the checkmark when checked */

.container input:checked ~ .checkmark:after {

  display: block;

}



/* Style the checkmark/indicator */

.container .checkmark:after {

  left: 9px;

  top: 5px;

  width: 5px;

  height: 10px;

  border: solid white;

  border-width: 0 3px 3px 0;

  -webkit-transform: rotate(45deg);

  -ms-transform: rotate(45deg);

  transform: rotate(45deg);

}

/************************************************************************************

MOBILE SETTINGS

*************************************************************************************/



/* Mobile navigation menu  -------------------------------------------- */

#toggleNavMain {/*mobile Menue*/

	display:none;

	font-size: 20px;

	color:white;

	font-weight: bold;

	font-family: Tahoma, Geneva, sans-serif;

	}



/* for 980px or less */

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

	

h2 {



line-height: 1.2em;

	}





	}

	

/* for 1000px or less */

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

	

	

	#contenttop{

	width: 99%;

	}



	}

/* for 880px or less */

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

	#pagewrap {

	width: 100%;

	}	



	}





/* for 700px or less */

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



h1 {

	font-size: 2.8em;

	}



h2 {

font-size: 1.8em;	

line-height: 1.2em;

	}





	}

/* Give your nav elements that "blockie" look for mobile devices */

/* for 1000px or less */

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

	#navlist a { 

	width: 100%; border-bottom: 1px solid black !important; 

	text-align: center; 

	text-transform: uppercase; 

	font-family: font-family: Tahoma, Geneva, sans-serif;

	padding:5px 0 5px 0 !important; 

	}



	#navlist a:hover { background-color: none;

	}

}



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

		

	#toggleNavMain {

	display:block;

	float: right;

	right: 15px;

	top: 20px;

	background:#640000;

	padding: 2% 3%;

	font-family: font-family: Tahoma, Geneva, sans-serif;

	font-size:1.2em;

	color: White;

	cursor:pointer;

	}

	

	#navcontainer {

	display:none;

	}

	

	#navcontainer {

	float:left;

	width:100%;	

	margin-bottom:1%;

	}

	

	#navcontainer li a {

	padding:3.5% 0% 3.5% 0%;

	}

	#contenttop{

	width: 99%;

	}



	

	}





/* for 480px or less */

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



	#header {

	height: auto;

	font-family: font-family: Tahoma, Geneva, sans-serif;

	}

	h1 {

	font-size: 24px;

	}

	

	#contenttop{

	width: 98%;

	}

	



	}



/* for 420 or less */

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





	}



