/* 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 */

/* COLOURS USED-----------------------------------------------------
#F1F5EC = Pale Green
#249FA3 = Teal
#4B818B = Mid Green
#46566B = Charcoal Grey
#FFFFFF = White
#000000 = Black
*/	

body {
	font: 1em/150% Arial, Helvetica, sans-serif;
	padding:10px 10px 10px 10px;
	background-image: url(../graphics/background_.jpg);
}

#pagewrap {
	/*padding: 20px 20px 20px 20px;*/
	max-width: 900px;
	margin:auto;
	/*padding-top:10px, 10px, 10px, 10px;
	margin-top: 0px;
	margin-bottom: 20px;
	background-repeat: repeat;
	background-color: white;*/
	/*background-image: url(../graphics/background_.jpg); */
	}

#content {
	padding-top: 10px;
	padding-right: 30px;
	padding-bottom: 10px;
	padding-left: 30px;
	background-color: white;
}
a {
	/*color: #F1F5EC;*/
	color:  #249fa3;
	text-decoration: none;
	/*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: 0;
	color:#46566B;
	}

h2{
	margin-top:1em;
	font-size: 40px;
	/*letter-spacing: 2px;*/
	font-weight: bold;
	}
h3{
	/*margin-bottom: 1em;*/
	margin-top: 1em;
	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: #F1F5EC;	
	background-color: #F1F5EC;
	height: 3px;
	border-width:0;
	width:100%;
	}

img {
	border: 0px;
	max-width: 100%;
	max-height: 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: 160px;
	width: 100%;
	border: 0px;
	margin-bottom: 0px;
	/*background-repeat: repeat;*/
	background-repeat: no-repeat;
	background-position: center;
	background-image: url(../graphics/taichioz_header_900_blank.jpg);
	/*background-color: #f3f3f2;
	/*background-image: url(../graphics/tonylogo50.png);*/
	}

#header p{
	margin:0;
	padding:0 0 10px 0;
	text-align: center;
	font-size:18px;
	color: #F1F5EC;
	}
#header a{
	font-weight: normal;
	text-decoration: none;
	}

#header img{
	border: 0px;
	max-width: 100%;
	/*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(../graphics/background.jpg);*/
	/*background-image: url(../img/tonylogo50.png);*/
	}
#headerarticles a{
	font-weight: normal;
	text-decoration: none;
	}

#searchcontainer{
	float: right;
	width: 30%;
	padding: 100px 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: #F1F5EC;
}

/* 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{
    color:#FFFFFF;
	background: #4B818B;
	}
	
/* Positioning the navigation items inline */
nav ul li {
    font-size:26px;
	font-weight: normal;
    margin: 0px -7px 0 0;
    display:inline-block;
    background-color: #F1F5EC;
    }

/* Styling the links */
nav a {
    font-size:26px;
	font-weight: normal;
	font-family: Cuprum, Tahoma, Geneva, sans-serif;
    text-decoration:none;
    display:block;
    padding:0 17px; /* padding between navigation items */
    color:#4B818B;
    line-height: 50px;
	/*border-top: 2px  solid #4B818B;*/
	/*border-bottom: 2px  solid #4B818B;*/
	border-left: 2px  solid #4B818B;
    border-right: 2px  solid #4B818B;
}

/* Background color change on Hover */
nav a:hover {
    color:#FFFFFF;
	font-weight: normal;
	background-color: #4B818B;
	font-family: Cuprum,  Tahoma, Geneva, sans-serif;
    text-decoration:none;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	font-weight: normal;
    display: none;
    position: absolute;
    top: 100%;
}

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
    display:inherit;
    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 #F1F5EC;
	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: 4B818B;
	border: 2px solid #F1F5EC;
	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 #F1F5EC;
	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: 4B818B;
	/*background-color: #C4DE97;*/
	border: 2px solid #F1F5EC;
	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: 4B818B;*/
	}

/* Breadcrumbs -------------------------------------------- */
#breadcrumbs {
	font-weight: normal;
	font-family: Tahoma, Geneva, sans-serif;
	text-decoration: none;
	color: #249fa3;
	font-size: 90%;
	max-width: 900px;
	/* word-spacing: 2em;*/
	padding: 0em 0em 0em 0em;
	}

#breadcrumbs a {
	font-weight: bold;
	text-decoration: none;
	font-family: Tahoma, Geneva, sans-serif;
	color: #249fa3;
	font-size: 95%;
	}

#imgcaption {
	text-align: center;
	font-weight: Normalbold;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 75%;
	}

#copyright {
	text-align: center;
	font-weight: bold;
	font-family: Arial, Tahoma, Geneva, sans-serif;
	color: #46566b;
	}
	
#logoimg { /* layout for logo images  NOT WORKING */
	margin:auto;
	text-align: center;
	width: 100%;
	border: 0px;
	max-height: 60px;
	/*height: auto;*/
	}
/* Create two equal columns that floats next to each other */
* {
  box-sizing: border-box;
}
.column {
  float: left;
  width: 50%;
  padding: 10px;
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}
/* Schools - from TCAA -------------------------------------------- */
#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:  #F1F5EC !important ;
		
	} 
.media.aktiv{
	color:  #F1F5EC !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: 4B818B;
	/*background-image: url(../graphics/logo.gif);*/
	/*background-repeat: no-repeat;*/
	/*background-position: 97% 85% ;*/
	}
	
#footer{
	clear: both;
	font-size: 1em;
	border: solid 1px #ccc;
	background-color: gray;
	color: 4B818B;
	}
	
#footerlinks{
	float: left;
	width: 275px;
	height: 280px;
	padding: 0em 0em;
	color: 4B818B;
	background-color: gray;
	border: 2px solid #F1F5EC;
	}
	
#credit{
	text-align: right;
	text-decoration: none;
	color: darkgray;
	font-weight: normal;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 65%;
	}
	
/* 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 4B818B;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
/************************************************************************************
MOBILE SETTINGS
*************************************************************************************/

/* Mobile navigation menu  -------------------------------------------- */
#toggleNavMain {/*mobile Menu*/
	display:block;
/*	font-size: 12px;*/
	font-size: .5em;
/*	color:4B818B;*/
	color:white;
	background:green;
	font-weight: bold;
	font-family: Cuprum, 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: 2em;
	}

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: Cuprum, Tahoma, Geneva, sans-serif;
	font-size:.6em;
	padding:1px 1px 1px 1px !important; 
	}
	#navlist a:hover { 
	background-color: none;
	}
	}

@media screen and (max-width:620px) {
		
	#toggleNavMain {
	display:block;
	float: right;
	right: 10px;
	top: 10px;
	background:#F1F5EC;
	padding: 2% 3%;
	text-transform: uppercase; 
	font-family: font-family: Cuprum, Tahoma, Geneva, sans-serif;
	font-size:.8em;
	color: white;
	background: darkgreen;
	cursor:pointer;
	}
	
	#navcontainer {
	display:none;
	}
	
	#navcontainer {
	float:left;
	width:100%;	
	margin-bottom:1%;
	}
	
	#navcontainer li a {
/*	padding:.5% 0% .5% 0% ;*/
	font-size:.6em;
	}
	#contenttop{
	width: 99%;
	}
	h1  h2 h3{
	font-size: 2.8em;
	}

h2 {
font-size: 1.8em;	
line-height: 1.2em;
	}
	}

/* for 480px or less */
@media screen and (max-width: 480px) {
	#header {
	height: auto;
	}
	h1 {
	font-size: 24px;
	}
	
	#contenttop{
	width: 98%;
	}
	
	}

/* for 420 or less */
@media screen and (max-width: 420px){

	}

