/*
Theme Name: cma-theme
Theme URI: http://goedgedaan.net/themes/
Author: Ted van Geest
Author URI: http://goedgedaan.net/
Description: cma-theme is a responsive Wordpress theme that complies with the html5- and WCAG2 accessibility standard (level AA). It's created by Ted van Geest | GoedGedaan for CMA.
Version: 0.90
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive, wcag2, html5
*/

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

html {
	width: 100%;
	background: #D8DBE0;
	font-family: 'opensans', Arial, Verdana, Geneva, sans-serif, Helvetica;
	font-size: 0.9em;
}

body {
 	padding: 0;
	margin: 0;
	line-height: 1.5em;
	min-width: 320px;
	background:#fff;
	color: #676767;
	line-height: 27px;
}

h1 {
	color: #444;
	font-size: 2.5em;
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.5px;
	line-height: 46px;
	margin: 40px 0 15px 4px;
}

h1 a {
	color: #444;
	text-decoration:none;
}

h2:first-child {
margin: 0 0 10px 0;
}
h2 {
	color: #444;
	font-size: 1.1em;
	text-transform: uppercase;	
	margin: 10px 0;
	width: 97%;
}

h2 a {
	color: #f24e24;
	text-decoration:none;
}

h2 a:hover {
	color: #444;
}

h3 {
	color: #444;
	font-size: 1em;
	font-weight: bold;
	letter-spacing: -0.5px;
	line-height: 46px;
	margin: 0;
	
}
h4 {
	color: #444;
	font-size: 1em;
	font-weight: bold;
	margin: 40px 0 10px 0;
	width: 100%;
}

p {
	margin: 0 0 20px 0;
}

.news {   
	list-style: none;
    margin-top: 0;
    }
    .news li {   	
 margin-left: -30px;
    list-style-type: none;
    }
    
    .news li { 
    list-style-type: none;
    }

a {
	color: #f24e24;
	text-decoration: none;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-ms-transition: 0.3s;
	transition-duration: 0.3s;
}

a:hover {
	color: #676767;	
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-ms-transition: 0.3s;
	transition-duration: 0.3s;
}

.wp-post-image {	
margin: 4px;
}

#sidebar .wp-post-image {
margin: 4px 0;
}
.wp-caption{
position: relative;
}

.wp-caption:hover{
opacity: 0.7;
}
.wp-caption-text {
 background-color: rgba(255, 255, 255, 0.75);    
    left: 0;
    margin: 0;
    padding: 10px;
    position: absolute;
    bottom: 9px;
    width: 88%;
    font-weight: bold;
}

#header {
	clear: both;
	background: #fff;
	height: auto;
	padding: 85px 5% 0 6%;
	
}
#headerhome {
	clear: both;
	background: #fff;
	height: auto;
	padding: 100px 0 0 0;
	
}

#content {
	display: block;
	min-height: 100px;
	overflow: hidden;
	padding: 2% 5% 2% 6%;
	background: #f6f6f6;
	
}

#page {
	display: block;
	min-height: 100px;
	overflow: hidden;
	margin: 0 auto;
	background: #fff;
}

#prev-next {
	display: table;
	width: 100%;
	padding: 3em 0;
}

#login {
display: block;
	color: #676767;

   height: 25px;
	min-width: 180px;
   position: absolute;
   top: -35px;
  
   left: 0;
   padding: 0 6.5%;
}
#login a {
 color: #2980b9;
} 
 
#login a:hover {
 color: #676767;
} 


.metadata {
	background-color: #2980b9;
	color: #fff;
	padding: 4%;
	margin-bottom: 10px;
}

.metadata h2 { 
color: #fff;
}

.metadata h3 { 
color: #fff;
line-height: 26px;
}

.metadata a { 
color: #fff;
text-decoration: underline;
}

#sidebar img {
 max-width:100%;
    height:auto;
}

article {
	display: block;
	overflow: hidden;
	

	clear: both;
	margin-bottom: 40px;
	}

adress img {
margin-right: 14px;
}

footer {
	clear: both;
	background: #2980b9;
	color: #fff;
	padding: 10px 0;
	min-height: 100px;
	overflow: hidden;
	padding: 1% 5% 0 6%;
}

footer p {
    float: left;
    padding: 10px 0 0;
}

footer h2, #footer h3{
	color: #fff;
}

footer a{
	color: #fff;
}

footer a:hover{
	color: #f24e24;
}


/* form-styling */

.wpcf7-form input[type="text"], .wpcf7-form textarea, .wpcf7-form input[type="email"], .wpcf7-form input[type="password"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="url"], .wpcf7-form input[type="search"], .wpcf7-form input[type="date"] {
    background-color: transparent !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    font-size: 16px !important;
    padding: 16px !important;
}

.wpcf7-form input[type="submit"] {
	display: inline-block;
	margin-top: 3px;
	padding: 10px 16px 8px 16px;
	line-height: 1.4em;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 1px;
	background-color: #f6f6f6;
	color: #676767;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-ms-transition: 0.3s;
	transition-duration: 0.3s;
}

.wpcf7-form input[type="submit"]:hover {
		opacity: 0.7;
		background-color: #474255;
		color: #fff;
		-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-ms-transition: 0.3s;
	transition-duration: 0.3s;
	}

select {
   
    border: medium none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16) !important;
    color: #555;
    font-family: "opensans";
   
    line-height: 22px;
    padding: 8px !important;
    transition: all 0.2s linear 0s;
    width: 100%;
}

option {padding: 2px;}

#mainmenu {
	display: block;
   background: rgb(245, 153, 177);
	background: -moz-linear-gradient(0deg, rgb(245, 153, 177) 1%, rgb(244, 65, 30) 100%);
	background: -webkit-linear-gradient(0deg, rgb(245, 153, 177) 1%, rgb(244, 65, 30) 100%);
	background: -o-linear-gradient(0deg, rgb(245, 153, 177) 1%, rgb(244, 65, 30) 100%);
	background: -ms-linear-gradient(0deg, rgb(245, 153, 177) 1%, rgb(244, 65, 30) 100%);
	background: linear-gradient(90deg, rgb(245, 153, 177) 1%, rgb(244, 65, 30) 100%);
   color: #fff;
   height: 65px;
	min-width: 320px;
   position: absolute;
   top: 40px;
   left: 0;
   right: 0;
   padding: 0 8% 0 6%;
}


.menu{ 
	line-height:1.3em;
	display:block;
	float: right;
	margin-top: 14px;
}

.menu li{
	display: inline-block;
	position: relative;
	z-index:100;
	font-size: 1.1em;
}

.menu li:first-child{
	margin-left:0;}

.menu li a {
text-decoration:none;
padding:11px;
display:block;
color:#ffffff;

	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-ms-transition: 0.3s;
	transition-duration: 0.3s;
}

.menu li a:hover, .menu li:hover > a{color:#676767;
}

.menu ul {display: none;
margin: 0;
padding: 0;
width: 150px;
position: absolute;
top: 43px;
left: 0px;
background: #ffffff;
}

.menu ul li {display:block;
float: none;
background:none;
margin:0;
padding:0;
}
.menu ul li a {

display:block;
color:#797979;
border-left:3px solid #ffffff;
background:#ffffff;}

.menu ul li a:hover, .menu ul li:hover > a{
background:#f6f6f6;
border-left:3px solid #495a6d;
color:#797979;
}

.menu li:hover > ul{ display: block;}
.menu ul ul {left: 149px;
	top: 0px;
}

.mobile-menu{
	display:none;
	
width:100%;
padding:11px;

color:#ffffff;
text-transform:uppercase;

}
.mobile-menu:hover{background:#3E4156;
color:#ffffff;
text-decoration:none;
}

.sub{ 
	display: block;
	font-size: 0.9em;
   color: #2980b9;
   height: 65px;
	min-width: 320px;
   position: absolute;
   top: -54px;
  
   right: 0;
   padding: 0 8%;
}

.sub li a {

 color: #2980b9;

}

.button {
	display: inline-block;
	margin-top: 3px;
	margin-left: 10px;
	margin-bottom: 1px;
	padding: 10px 16px 8px 16px;
	line-height: 1.4em;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 1px;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-ms-transition: 0.3s;
	transition-duration: 0.3s;
}

.button:hover {
	opacity: 0.5;
		color: #000;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-ms-transition: 0.3s;
	transition-duration: 0.3s;
}

#sheets {
float: left;
}

.pributton {
	display: inline-block;
	background-color: #f5ac0e;
	color: #fff;
	float: left;
	margin-top: 20px;
	margin-left: 10px;
	padding: 10px 16px 8px 16px;
	line-height: 1.4em;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 1px;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-ms-transition: 0.3s;
	transition-duration: 0.3s;
}

.pributton:hover {
	opacity: 0.5;		
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-ms-transition: 0.3s;
	transition-duration: 0.3s;
}

.red {
	background-color: #f24e24;
	color: #fff;
	
}

.red h3 {
margin-left: 10px;

}


.yellow {
	background-color: #f5ac0e;
	color: #fff;
}

.green {
	background-color: #46c2b4;
	color: #fff;
}

.blue {
	background-color: #2980b9;
	color: #fff;
}

.grey {
	background-color: #f6f6f6;
	color: #676767;
	font-weight: normal;
}

.dgrey {
	background-color: #ededed;
}

.white {
	background-color: #fff;
	display: table;
}

.white h3{
padding: 2px 8px;
}


.white p{
padding: 2px 4px;
}

.whiteblock {
	background-color: #fff;
	padding: 1.5% 2%;
	overflow:hidden;
}

.block {
	padding: 1.5% 2%;
	overflow:hidden;
}
 
 .prev-next {
	display: inline-block;

}

 .prev-next a {
	color: #f24e24;
	border: 1px solid #f24e24;
	margin-top: 3px;
	padding: 10px 10px 8px 10px;
	line-height: 1.4em;
	text-decoration: none;
	font-size: 0.8em;
 }


.prev-next a:hover{
		color: #fff;
	background-color: #f24e24;
}

.logo {
	display: block;
	height: 80%;
	float:left;
	margin: 8px;
	border: 0;
	}
	
.row {
	clear: left;
	display: block;
	width: 100%;
	min-height: 100px;
	overflow: hidden;
	padding: 5px;
}

.column2third {
	display: block;
   width: 65%;
	float: left;
	margin: 5px;
	
}

.column1third {
	display: block;
   width: 28%;
	float: left;
	margin-left:5%;
}


.column2 {
	display: block;
   width: 46%;
	float: left;
	margin: 10px;
	padding: 10px;
}



.column2 img {
	display: inline-block;
	margin-bottom: 10px;
	width: auto;
	max-height: auto;
}

.column2 p {
width: 100%;
}

.column3 {
	display: block;
   width: 30%;
	float: left;
   margin: 1% 0.5%;
   padding: 10px;
  
}

.column3 h2 {
	display: inline-block;
	margin: 20px 5px 10px 5px;
}

.column3 img {
	  display: block;
  margin-left: auto;
  margin-right: auto;
	
}

.column3 p {

	width: 100%;
	margin 0 10px 0 0;
}

.front p {
	min-height: 140px;
}
.headimage {
overflow: hidden;
height: 290px;
width: auto;
}

.column4 {
   width: 24%;
	
	float: left;
	margin: 5px;
}

.column4 img {
display: block;
margin-left: 20px;
}

.column5 {
	display: block;
   width: 17%;
	min-width: 300px;
	
	float: left;
	margin: 8px;
}


.column6 {
	background-color: #00f;
	color: #fff;
   width: 16%;
	min-width: 254px;
	height: 320px;
	float: left;
	margin: 5px;
}

.alignleft {
	float:left;
	margin-right: 10px;
}

.alignright {
	float:right;
	margin-left: 10px;
}

.aligncenter { 
   max-height: 100%; 
   display:block; 
   margin:auto;
}

//alignbottomright only works in relative positioned containers

.alignbottomright {
	position: absolute; 
	right: 0; 
	bottom: 0;
}

.center {
	text-align: center;
}

.leftspace {
	margin-left: 30px;
}

.topspace {
	margin-top: 60px;
}

.bottomspace {
	margin-bottom: 20px;
}

.pleft {
padding-left: 10px;
}
.relative {
position: relative;
}

/*css for yellow collapsable section*/
/*Add some spacing*/
.collapsable-section{
    margin: 0 0;
        position: relative;
        width: 100%;
}

/*Hide the paragraphs*/
.collapsable-section div{
    display: none;
}   

/*Hide the checkboxes */
.collapsable-section input{
    position: absolute; 
    z-index: 200;
    cursor: pointer;
    opacity: 0;         
    display: none\9; /* IE8 and below */
    margin: 0;          
    width: 100%;
    height: auto;
}

/*If the checkbox is checked, show all paragraphs*/
.collapsable-section input[type=checkbox]:checked~div{
    display: block;
    color: #444;
    font-size: 1em;
    padding: 10px;
}

/*Style the label*/
.collapsable-section label{
    font-size: 1em;
    background: #ededed;
    display: block;
    position: relative;
    cursor: pointer;
    height: auto;
    margin-bottom: 2px;
    padding: 7px 30px 7px 10px;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    transition: all 0.5s ease-out;          
}

/*Remove text selection when toggle-ing*/
.collapsable-section label::selection{
    background: none;
}

.collapsable-section label:hover{
	background: #f5ac0e;
	color: #fff;
   opacity: 0.7;
}

/*If the checkbox is checked, style the label accordingly*/
.collapsable-section input[type=checkbox]:checked~label{
    
    background: #f5ac0e;
    color: #fff;    
    box-shadow: 0 0 1px rgba(0,0,0,.4);             
}

/*Label's arrow - default state */
.collapsable-section label::before{
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    margin-top: -6px;
    border: 6px solid transparent;
    border-left-color: inherit; 
}

/*Update the right arrow*/
.collapsable-section input[type=checkbox]:checked~label::before{
    border: 6px solid transparent;
    border-top-color: inherit;
    margin-top: -3px;
    right: 10px;    
}



/*css for red collapsable section*/
/*Add some spacing*/
.collapsable-section-red{
    margin: 0 0;
        position: relative;
        width: 100%;
}

/*Hide the paragraphs*/
.collapsable-section-red div{
    display: none;
}   

/*Hide the checkboxes */
.collapsable-section-red input{
    position: absolute; 
    z-index: 200;
    cursor: pointer;
    opacity: 0;         
    display: none\9; /* IE8 and below */
    margin: 0;          
    width: 100%;
    height: auto;
}

/*If the checkbox is checked, show all paragraphs*/
.collapsable-section-red input[type=checkbox]:checked~div{
    display: block;
    color: #444;
    font-size: 1em;
    padding: 10px 20px 10px 10px;
}

/*Style the label*/
.collapsable-section-red label{
    font-size: 1em;
    background: #ededed;
    display: block;
    position: relative;
    cursor: pointer;
    height: auto;
    margin-bottom: 2px;
    padding: 7px 30px 7px 10px;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    transition: all 0.5s ease-out;          
}

/*Remove text selection when toggle-ing*/
.collapsable-section-red label::selection{
    background: none;
}

.collapsable-section-red label:hover{
	background: #f24e24;
	color: #fff;
   opacity: 0.7;
}

/*If the checkbox is checked, style the label accordingly*/
.collapsable-section-red input[type=checkbox]:checked~label{
    
    background: #f24e24;
    color: #fff;    
    box-shadow: 0 0 1px rgba(0,0,0,.4);             
}

/*Label's arrow - default state */
.collapsable-section-red label::before{
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    margin-top: -6px;
    border: 6px solid transparent;
    border-left-color: inherit; 
}

/*Update the right arrow*/
.collapsable-section-red input[type=checkbox]:checked~label::before{
    border: 6px solid transparent;
    border-top-color: inherit;
    margin-top: -3px;
    right: 10px;    
}

.collapsable-section-red div {
margin-bottom: 10px;
overflow:hidden;
}

.collapsable-section-red img {
margin-right: 30px;
}

.collapsable-section-red .button {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

.collapsable-section-red .buttonrow {
	position: relative;
		width: 50%;
	margin-left: 10px;
	display: block;
	
	padding: 10px 16px 8px 16px;
	line-height: 1.4em;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 1px;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-ms-transition: 0.3s;
	transition-duration: 0.3s;
}

.collapsable-section-red .buttonrow:hover {
	opacity: 0.5;
		color: #000;
		-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-ms-transition: 0.3s;
	transition-duration: 0.3s;
}


/*css for metadata collapsable section*/
/*Add some spacing*/
.collapsable-section-meta{
    margin: 0 0;
        position: relative;
        width: 100%;
}

/*Hide the paragraphs*/
.collapsable-section-meta div{
    display: none;
}   

/*Hide the checkboxes */
.collapsable-section-meta input{
    position: absolute; 
    z-index: 200;
    cursor: pointer;
    opacity: 0;         
    display: none\9; /* IE8 and below */
    margin: 0;          
    width: 100%;
    height: auto;
}

/*If the checkbox is checked, show all paragraphs*/
.collapsable-section-meta input[type=checkbox]:checked~div{
    display: block;
    color: #fff;
    font-size: 1em;
}

/*Style the label*/
.collapsable-section-meta label{
	background-color: #2573a6;
    display: block;
    position: relative;
    cursor: pointer;
    height: auto;
    font-weight: bold;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
    padding: 7px 30px 7px 7px;
    transition: all 0.5s ease-out;          
}

/*Remove text selection when toggle-ing*/
.collapsable-section-meta label::selection{
    background: none;
}

.collapsable-section-meta label:hover{
	
	color: #fff;
   opacity: 0.7;
}

/*If the checkbox is checked, style the label accordingly*/
.collapsable-section-meta input[type=checkbox]:checked~label{
    
    color: #fff;    
           
}

/*Label's arrow - default state */
.collapsable-section-meta label::before{
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    margin-top: -6px;
    border: 6px solid transparent;
    border-left-color: inherit; 
}

/*Update the right arrow*/
.collapsable-section-meta input[type=checkbox]:checked~label::before{
    border: 6px solid transparent;
    border-top-color: inherit;
    margin-top: -3px;
    right: 10px;    
}



/*tab-styling */

/*tab in editor*/

.tab {
    border-right: 1px solid #dcdcdc;
    cursor: pointer;
    padding: 0.9%;
    transition: all 0.2s ease-in-out 0s;
}


/*tabs in teaching-resources*/

.tabs {
	display: inline-block;
	overflow:hidden;
    width: 100%;
	float:left;



	
background-color: #fff;
padding: 1.5% 2%;
}
.tabs input[type="radio"] {
    opacity: 0;
}
.tabs label {
	
    cursor: pointer;
    background: #f6f6f6;
	border-right: solid 1px #dcdcdc; 
	

	padding: 0.8%;
    float: left;
	
	-webkit-transition: all 0.2s ease-in-out;
          -moz-transition: all 0.2s ease-in-out;
          -o-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}

.tabs label:hover {
    background: rgba(255,255,255,0.5);
        top: 0;
}

.tabs .tabcontent p{

	position:relative;
	z-index:999;
	padding-right: 30px;
}
.tabs .tabcontent a{
	text-decoration:none;	

}

.tabs input[type="radio"]:checked + label {
	background-color: #f24e24;
  
    color: #fff;
    
	
}

.tabs input[type="radio"]:nth-of-type(1):checked ~ .container .tabcontent:first-child, 
.tabs input[type="radio"]:nth-of-type(2):checked ~ .container .tabcontent:nth-child(2), 
.tabs input[type="radio"]:nth-of-type(3):checked ~ .container .tabcontent:nth-child(3), 
.tabs input[type="radio"]:nth-of-type(4):checked ~ .container .tabcontent:last-child 
{
    -webkit-transition: .4s;
	opacity: 1;
}
.tabs .container {
    float: left;
    clear: both;
    position: relative;
    width: 100%;
    background: #fff;
    min-height:400px;
   
}
.tabs .tabcontent {
    width: 100%;
    opacity: 0;
    position: absolute;
    background: #fff;
    padding: 2% 0;
    box-sizing: border-box;
	
}



.vraag {
	background-color: #eaeaea;
	color: #000;
	padding: 10px;
	margin-bottom: 40px;
}

/* searchbox */



#searchform {
	display: block;
	position: absolute;
    right: 0;
    top: 110px;
	padding: 0 8.5% 0 6%;
margin: 10px 0 40px 0;
}



#searchform label{
	
	display: none;
	}
	
	#searchform input[type=text] {
		
		
		line-height: 1.4em;

	padding: 5px 10px;
	border: 1px #96969b solid;
    width: 15em;
    
    background-color: #fff;
}
#searchsubmit { 
	display: inline-block;
	width: 38px;
	height: 38px;
	border: 0px;
	background:#000 url(images/search_button.png) no-repeat;
	}
	#searchsubmit:hover {
	background:#000 url(images/search_button.png) no-repeat;
	opacity: 50%;
	}

/*contact form7 styles */
.wpcf7-form {

padding: 2px 20px;
}

footer .wpcf7-form {
background-color: 0;
padding: 0;
}

span.wpcf7-list-item { display: block; }

/* SLIDER (full-width) */
			
			
			.slider { 
				width: 100%; 
				height: auto; 
				overflow: hidden; 
				position: relative; 
				z-index: 0; 
				}
			.slides { 
				height: 100%; 
				overflow: hidden; 
				margin: 0 auto; 
				padding: 0; 
				list-style: none; 
				}
			.slide { 
				height: 100%; float: left; clear: none; 
				background-color: #434343; 
				}
			.slide img { 
			height: auto;
				width: 100%; display: block;
				position: relative; z-index: 0; 
				margin: 0; padding: 0; 
				}
			.slider-arrow { 
				position: absolute; top: 50%; z-index: 99; 
				display: block; margin: -24px 0 0 0; 
				}
				.slider-arrow--right { right: 24px; }
				.slider-arrow--left  { left:  24px; }
			
			.slider-arrows a {
				width: 48px; height: 48px; display: block;
				line-height: 48px; border-radius: 48px;
				font-size: 24px; font-weight: 700;
				text-align: center; color: #fff;
				background-color: rgba(255,255,255,0.6);
				}
			.slider-arrows a:hover { 
				color: #fff; 
				background-color: rgba(255,255,255,0.8); 
				}
			.slider-nav { 
				position: absolute; bottom: 24px; 
				}
			.slider-nav a { 
				width: 18px; height: 18px; 
				float: left; clear: none; 
				margin: 0 6px; 
				border-radius: 18px; border: none; 
				background-color: rgba(255,255,255,0.6); 
				}
			.slider-nav a:hover { 
				background-color: rgba(255,255,255,0.8); 
				}
			.slider-nav .slider-nav__item--current { 
				background-color: rgba(255,255,255,0.9); 
				}
			.slide-caption { 
				width: auto; 
				position: absolute; 
				top: 58%; 
				
				z-index: 2; 
				margin: 0 auto; 
				padding: 20px 20px 20px 100px;
				font-size: 1.5em; 
				line-height: 24px; 
				
				color: #fff; 
				background-color: #000; 
				opacity: 0.8;
				}
				.slide-caption h1{ 
				padding: 0;
				margin: 0 0 10px 0;
				color: #fff;
				}
			
			
			
/*			@media (min-width: 768px) and (max-width: 975px) {
				.slide-caption { font-size: 20px; }
				}
			@media (min-width: 480px) and (max-width: 767px) {
				.slide-caption { font-size: 14px; }
				.slider-arrows { display: none; }
				}
			@media (max-width: 479px) {
				.slide-caption { font-size: 12px; }
				.slider-arrows { display: none; }
				}
			*/	
				
.totop {
position: fixed;
right: 20px;
bottom: 20px;
}

@media only screen and (min-width:1001px) and (max-width: 1680px){	
.headimage {
    height: 200px;
    overflow: hidden;
    width: auto;
}

.column2 {
   width: 43%;
}
.column3 {
   width: 29%;

	float: left;
   margin: 1% 0.5%;
}
.slide-caption { font-size: 1.2em;
	top: 45%; }
}


@media screen and (max-width:1125px) {
	  .container {width:96%;}
  .tabs .panel a {
		padding: 10px 40px 10px 39px;
	}
	
	.front {
height: 520px;
}

.headimage {
overflow: hidden;
height: 160px;
width: auto;
}

.collapsable-section-red .button {
	position: relative;
	margin: 10px;
}	

.tabs label{ 
width:100%;
margin: 0 0 1px 0;
}

.column2 {
   width: 43%;
}
	
.column3 {
   width: 45%;

	float: left;
   margin: 1% 0.5%;
}

	.slide-caption { font-size: 1em;
	top: 35%; }
	
}

@media only screen and (min-width:800px) and (max-width: 1000px){	
	
#header {
	padding: 105px 2% 0 2%;
}

#content {
	padding: 2% 2% 0 2%;
}

#footer {
	padding: 0 2% 0 2%;
}

#mainmenu {
	padding: 0 2% 0 2%;
}	

.mainWrap{width: auto;}
.menu{float: none;}
.menu ul {top:37px;}
.menu li a{font-size:12px;
padding:8px;}

.sub{
padding: 0;
}

.column2 {
   width: 41%;
}

.column3 {
   width: 100%;
	float: left;
   margin: 1% 0.5%;
}

.column3 p {
	width: 97%;
}

.headimage {
overflow: hidden;
height: 200px;
width: auto;
}

.column4 {
   width: 22%;
	min-width: 300px;
	float: left;
	margin: 5px;
}

.front {
height: 500px;
}

.tabs label{ 
	width:100%;
	margin: 0 0 1px 0;
}
.tabs .tabcontent a {
	display: block;
	float: none !important;
	margin: 0 auto;
	text-align: center;
}

.slide-caption { font-size: 1em;
	top: 15%; }

#searchform {
	display: block;
	position: absolute;
	right: 0;
	top: 43px;
	padding: 0 0.5% 0 6%;
	margin: 0;
}

#searchform a {
color: #fff;
}

#searchform input[type="text"] {
	line-height: 1.8em;
	font-size: 0.9em;
}
}

@media only screen and (min-width:240px) and (max-width: 799px) {
	
#header {
	padding: 105px 0 0 0;
}

#content {
	padding: 0;
}

#footer {
	padding: 0;
}

#mainmenu {
	padding: 0;
}	
	
.mainWrap{width:auto;padding:0;}

.menu{float: none; display:none;}

.mobile-menu{display:block;
margin-top:0;}

.sub{ 
	margin-top: 60px;
	position: relative;
	padding: 0;
}

nav{margin:0;
background:none;}

.menu li{display:block;
margin:0;}

.menu li a {background:#ffffff;
color:#797979;
border-top:1px solid #e0e0e0;
border-left:3px solid #ffffff;}

.menu li a:hover, .menu li:hover > a{
background:#f6f6f6;
color:#797979;
border-left:3px solid #495a6d;}

.menu ul {display:block;
position:relative;
top:0;
left:0;
width:100%;}

.menu ul ul {left:0;}

.column2third {
   width: 100%;
	margin: 5px;
}

.column1third {
   width: 100%;
	margin: 5px;
}

.column2 {
   width: 100%;
   margin: 1% 0.5%;
	
}

.column3 {
   width: 100%;
   margin: 1% 0.5%;
}

.column3 p {
	width: 97%;
}


.headimage {
height: 280px;
}

.column4 {
   width: 100%;
	margin: 5px;
}

.front {
	height: 500px;
}

.tabs label{ 
width:100%;
margin: 0 0 1px 0;
}
.tabs .tabcontent a {
	display: block;
	float: none !important;
	margin: 0 auto;
	text-align: center;
}
.slide-caption { font-size: 12px;
	padding: 0px 10px 10px 40px; 
	top: 15%;
	 }
	 
.slider-arrows { display: none; }

#searchform {
	display: block;
	position: absolute;
   right: 0;
   top: 43px;
	padding: 0 0.5% 0 6%;
	margin: 0;
}

#searchform a {
	color: #fff;
}

#searchform input[type="text"] {
	line-height: 1.8em;
	font-size: 0.9em;
}

}
/* Polylang Language Switcher Shortcode Styles */
.polylang-switcher,
.widget_polylang {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-end;
}

.polylang-switcher li,
.widget_polylang li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.polylang-switcher li a,
.widget_polylang li a {
	display: inline-block;
	padding: 0.5em 1em;
	text-decoration: none;
	color: inherit;
}

.polylang-switcher li.current-lang a,
.widget_polylang li.current-lang a {
	font-weight: bold;
}

.polylang-switcher li a:hover,
.widget_polylang li a:hover {
	text-decoration: underline;
}

.polylang-switcher li img,
.widget_polylang li img {
	vertical-align: middle;
	margin-right: 0.3em;
}

/* User Display Name Shortcode Styles */
.user-display-name {
	display: flex;
	justify-content: flex-end;
	color: #fff;
}

