/*
	Theme Name: unified sailing
	Description: Template voor de website van unified sailing
	Version: 1.0
	Author: Jory Berkhout
*/
.copyright .small-12 {
    margin: 0;
}
.regularbox.minutoppad {padding-top:30px}
.sliderbox {
background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
	height:800px
}
.regularbox.greybox {
    background: #F5F5F5;
    border: 1px solid #f0f0f0;
}
.greybox h2 {
    margin-bottom: -15px;
}
.logoslidebox {
    height: 150px;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
.logoborder {
    border: 1px solid #eee;
    padding: 10px 20px; position:relative;    background: #fff;
}
.logoborder a {position:absolute; top:0; left:0; width:100%; height:100%;}
#logoslider .owl-item {
    padding: 20px!important;
}

.small-12 {    margin-bottom: 15px;}
section.wrapper.row.emptypage {
    padding: 170px 0 70px;
}

main img {
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.1);
    box-shadow: 0 0 5px rgba(0,0,0,.1);
}

.page-template-page-gallerij main .regularbox.minupad:nth-child(even) {
    background: #F5F5F5;
    border: 1px solid #f0f0f0;
}
.page-template-page-gallerij main .regularbox.minupad:nth-child(2) {background:none; border:none}

 
a.sponsorurl {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
section.bannerimg {
    height: 490px;
    background-size: cover;
    background-position: center center;
}
@media screen and (max-width:768px) {
section.bannerimg { height:300px}	
}

.sponsorbox {
    height: 200px;
    margin-bottom: 10px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat; position:relative;
}
.sponsorbox.grootbox {
    height: 300px;
}


.rslides {
  margin: 0 auto 40px;
  }

#slider2,
#slider3 {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  margin: 0 auto;
  }

.rslides_tabs {
  list-style: none;
  padding: 0;
  background: rgba(0,0,0,.25);
  box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
  -moz-box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
  -webkit-box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
  font-size: 18px;
  list-style: none;
  margin: 0 auto 50px;
  max-width: 540px;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  }

.rslides_tabs li {
  display: inline;
  float: none;
  margin-right: 1px;
  }

.rslides_tabs a {
  width: auto;
  line-height: 20px;
  padding: 9px 20px;
  height: auto;
  background: transparent;
  display: inline;
  }

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

.rslides_tabs .rslides_here a {
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: bold;
  }



.homeslider ul, .homeslider li {
    padding: 0;
    margin: 0;
    list-style: none;
}
.homeslider li {
	    width: 100%;
    overflow: hidden; position:relative;
}


.homeslider h2, .homeslider h3 {margin:0; line-height:1}
.homeslider h2 {    color: #194383;
    font-size: 50px;
    text-transform: uppercase;
    text-shadow: 0 2px 0px rgba(25, 67, 131, 0.55); letter-spacing:5px
}

.homeslider h3 {    color: #fff;
    font-size: 40px;
    text-transform: uppercase;
    text-shadow: 0 2px 0px rgba(25, 67, 131, 0.55);
    letter-spacing:16px;
	font-weight:400}
@media screen and (max-width:1280px){
.sliderbox { height: 600px; }
}

@media screen and (max-width:768px){
.homeslider h3 {font-size:25px;}	
.homeslider h2 {font-size:35px}
.sliderbox { height: 450px; }
}
/*------------------------------------*\
    Programm
\*------------------------------------*/	
	
	main table { 
		width: 100%; 
		border-collapse: collapse; 
	}
	
	main td { 
	    padding: 10px 15px;
    border: 1px solid #eee;
    text-align: left;
	}
	/* 
	Max width before this PARTICULAR table gets nasty
	This query will take effect for any screen smaller than 760px
	and also iPads specifically.
	*/
	main td.small {
    width: 230px;
}

main td.smalldate {
    width: 150px;
    text-align: center;
    background: url(../../../images/agenda-icon.png) no-repeat center center #144080;
    color: #fff;
    font-weight: bold;
}
	main td.small img {
    height: auto;
}
	@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {
	
		/* Force table to not be like tables anymore */
		main table, main thead, main tbody, th, td, tr { 
			display: block; 
		}
	
		main tr { border: 1px solid #ccc; }
		
		main td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
		}
		
		
		
main td.small, main td.smalldate {
    width: 100%;
}
	}
/*------------------------------------*\
    News
\*------------------------------------*/
h2.screen-reader-text {
    display: none;
}
article.small-12.gallbox {
    margin-top: 20px;
    margin-bottom: 0px;
}
.page-template-page-news .newsbox {
    border: 1px solid #eee;
	    margin-bottom: 25px;
		margin-top:0

}
article.wrapper.row.pagination, article.small-12.columns.pagination {
    text-align: center;
    padding: 25px 0;
	margin-top:10px;
	border-top:1px solid #eee
}

.newsbox {background:#fff; padding:10px 15px; margin-top:25px; border-radius:5px;}
.newstitle {
    border: 1px solid;
    background: url(../../../images/agenda-icon.png) no-repeat center center #144080;
    color: #fff;
    height: 75px;
    display: flex;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
    align-items: -webkit-center;
	align-items: -moz-center;
	align-items: -ms-center;
	align-items: center;
    justify-content: -webkit-center;
	justify-content: -moz-center;
	justify-content: -ms-center;
	justify-content: center;
    background-size: cover;
    font-weight: bold;
    text-transform: uppercase;
margin-bottom:25px;
}
.newsbox h3, .newsbox h3 a {
    font-size: 19px;
    line-height: 1;
    margin: 0;
    color: #fff;
    text-transform: none;
}
.newsbox h3 a:hover, .newsbox h3 a:focus, .downloadbox h3 a:hover, .downloadbox h3 a:focus {opacity:0.5}
.downloadbox h3, .downloadbox h3 a {
    font-size: 19px;
    line-height: 1;
    margin: 0;
    color: #14407f;
    text-transform: none;
}

a.readmorebtn:after {    content: "»";
    margin-left: 10px;}
	a.readmorebtn {
	    color: #14407f;
    padding: 0;
    margin-bottom: 0px;
    margin-top: 15px;
    display: block;
	}
	
	.newscontent {
    padding: 0px 10px;
}
.category-word, .category-powerpoint, .category-pdf {position:relative;}

.category-word:before, .category-pdf:before, .category-powerpoint:before  {
    content: "";
   background-size: cover;
    height: 150px;
    width: 150px;
    top: -70px;
    left: 45%;
    left: calc(50% - 75px);
    position: absolute;
}

.category-word:before {
    background: url(img/word.png) no-repeat center center;
}

.category-powerpoint:before  {
    background: url(img/powerpoint.png) no-repeat center center;
	
}
.category-pdf:before  {
    background: url(img/powerpoint.png) no-repeat center center;
	
}
/*------------------------------------*\
    Gallery
\*------------------------------------*/
a.galleryimg {
    height: 185px;
    width: 100%;
    display: block;
    margin-bottom: 20px;
	    background-size: cover;
    background-position: center center;
position:relative;
}
a.galleryimg:after {background: url('img/magnifier.png') rgba(28, 68, 130, 0.42); position:absolute; top:0; left:0; width:100%; height:100%; content:""; background-position:center center; background-repeat:no-repeat; opacity:0}
a.galleryimg:hover:after, a.galleryimg:focus:after {opacity:1}

/*------------------------------------*\
    Transition
\*------------------------------------*/

.mobnavholder, .mobnavholder.open  {  -webkit-transition: all 0.8s ease-in-out;
  -moz-transition: all 0.8s ease-in-out;
  -o-transition: all 0.8s ease-in-out;
  transition: all 0.8s ease-in-out;}

a, a:hover, a:focus, .mobbtn.open, .mobbtn,
a.galleryimg:after, a.galleryimg:hover:after, a.galleryimg:focus:after
 {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
/*------------------------------------*\
    Footer
\*------------------------------------*/
.footer {
    background: url(../../../images/unified-sailing-footer.jpg) no-repeat center center #1F457F;
    background-size: cover;
    color: #fff;
    padding: 80px 0 0 0;
}


footer ul, footer li {
    margin: 0;
    padding: 0;
    list-style: none;
}
footer li a {
    display: inline-block;
    width: 48%;
    margin: 0% 2% 10px 0;
    float: left;
    background: rgba(31, 69, 127, 0.78);
    border: 1px solid #fff;
    border-radius: 5px;
    text-align: center;
    padding: 7px 10px;
}

footer li a:hover, footer li a:focus {background:transparent}


.copyright {
    background: rgba(36, 36, 36, 0.7);
    padding: 20px 0 20px 0;
    border-top: 1px solid;
    margin-top: 80px;    font-size: 15px;
}

.copyright p, .copyright img {margin: 5px 0}
.copyright a, footer a {color:#fff}
.copyright a:hover, .copyright a:focus, footer a:hover, footer a:focus {color:#c3c3c3}

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
font-family: 'Ubuntu', sans-serif;
font-weight:300;
font-size:18px;
line-height:1.5;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	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;
}


p {margin:0 0 20px 0}
em { color: #194383;}
h1, .h2, h2, h3 {font-size: 30px; margin:0 0 20px 0;
    color: #194383; line-height:1.2;
}

h1 {font-size:40px}
@media screen and (max-width:768px) { 
h1 {font-size:30px}
}

h3 {font-size:28px;}
footer h3 {
    color: #fff;
    margin: 0 0 30px 0;    font-size: 25px;
}
.directbox h3 {
    padding: 20px;
    background: url(../../../images/news-header-top.jpg) no-repeat center center #144080;
    background-size: cover;
    color: #fff;
    border: 1px solid #eee;
    border-radius: 5px 5px 0px 0px;
}

.titlebox h2 {color:#fff; margin:0}

.single li#menu-item-1065 > a, .single li#menu-item-1092 > a {
    color: #1c4482;
}

a.btn:after {
    content: "»";
    margin-left: 10px;
}
.btn {
    display: inline-block;
    text-align: center;
    margin-bottom: 20px;
}
a.btn, input.wpcf7-form-control.wpcf7-submit {
    border-color: #e2e2e2;
    font-size: 20px;
    min-width: 280px;
    padding: 15px 0;
    margin-right: 10px;
    position: relative;
    border-radius: 2px;
}
a.btn.blue {
    background: #14407f;
    color: #fff;
}
a.btn.blue:hover, a.btn.blue:focus {
    background: #395C92;
}
input.wpcf7-form-control.wpcf7-submit, a.btn.grey {
    background: #ededec;
    color: #a3a3a3;
}
input.wpcf7-form-control.wpcf7-submit:hover, input.wpcf7-form-control.wpcf7-submit:focus, a.btn.grey:hover, a.btn.grey:focus {
    background: #F4F4F5;
}
.pagination a, .pagination span {
    padding: 10px 15px;
    display: inline-block;
    background: #14407f;
    margin: 5px;
    color: #fff;
}
.pagination a:hover, .pagination a:focus, .pagination span.current {    background: #395C92;}

.morebtn:after {    content: "»";
    margin-left: 10px;}
	.morebtn {
	    color: #14407f;
    padding: 5px 0px 5px 5px;
    border-bottom: 1px solid; float:right;	
	}
	.imagebox a.morebtn {
    margin-top: 25px;
    color: #fff;
}
.imagebox a.morebtn:hover, .imagebox a.morebtn:focus {color:#ddd}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
.downloadbox h3 {
    height: 60px;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    justify-content: -webkit-center;
	justify-content: -moz-center;
	justify-content: -ms-center;
	justify-content: center;
    align-items: -webkit-center;
	align-items: -moz-center;
	align-items: -ms-center;
	align-items: center;
	margin-bottom:10px;
}
.teambox h3 {
	    height: 60px;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    justify-content: -webkit-center;
	justify-content: -moz-center;
	justify-content: -ms-center;
	justify-content: center;
    align-items: -webkit-center;
	align-items: -moz-center;
	align-items: -ms-center;
	align-items: center;
	margin-bottom:10px;
	font-size: 23px;
    line-height: 1;
    color: #14407f;
    text-transform: none;    text-align: center;

	}
	@media screen and (max-width:992px) {
	.teambox h3 {font-size:18px;}	
	}
.teambox span.color {
    font-style: italic;
    display: block;
    margin-right: 15px;
    color: #14407f;
}
.teambox p:last-child {
    margin-top: 15px;
    margin-bottom: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}
.teambox p {line-height:1.3; margin-bottom:5px; text-align:center;}
.downloadbox p {
    margin: 15px 0 0 0;
}
.downloadbox {
    text-align: center;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 75px 25px 5px 25px;    margin-bottom: 70px;
}
.downloadbox a.btn {
    min-width: 160px;
    margin-right: 0;
}
.teambox {
    border: 1px solid #eee;
    border-radius: 10px;
        padding: 85px 25px 5px 25px;   margin-bottom: 70px; position:relative;
}
.teamholder {
    min-height: 550px;
}
.teambox:before {
    content: "";
    width: 150px;
    height: 150px;
    display: inline-block;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: -75px;
    left: 32%;
    left: calc(50% - 75px);    background-size: cover!important;
}
.landnaam-nederland .teambox:before {background:url('img/vlag_nederland.png') no-repeat center center}
.landnaam-griekenland .teambox:before {background:url('img/vlag_griekenland.png') no-repeat center center}
.landnaam-belgie .teambox:before {background:url('img/vlag_belgie.jpg') no-repeat center center}
.landnaam-duitsland .teambox:before {background:url('../../uploads/2023/07/Vlag-Germany.jpeg') no-repeat center center}
.landnaam-oman .teambox:before {background:url('../../uploads/2023/08/Vlag-Oman.webp') no-repeat center center}


.previewimg {
    height: 170px;
    background-size: cover;
    background-position: center center; position:relative;
}
a.overlayurl {
    background: url(img/magnifier.png) rgba(28, 68, 130, 0.42);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-position: center center;
    background-repeat: no-repeat;
opacity:0;
}
.previewimg:focus a.overlayurl, .previewimg:hover a.overlayurl {opacity:1}

section {clear:both}
.regularbox {padding:70px 0}
.regularbox.minupad {
    padding-bottom: 0;
}
.imagebox {
	padding: 90px 0;
background-size:cover;
background-position:center center;
background-repeat:none; 
	}
.titlebox {
    padding: 20px;
    background: url(../../../images/news-header-top.jpg) no-repeat center center #144080;
    background-size: cover;
    color: #fff;
    border: 1px solid #eee;
    border-radius: 5px 5px 0px 0px;
}
.directbox .textwidget {
    background: #fff;
    padding: 10px 15px;
    margin-top: 25px;
    border-radius: 5px;
}

.iframebox {
   position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
	}
	
	.iframebox iframe {
		    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
		}

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}

header .wrapper {width:100%}
/* header */
.header {

}
/* logo */
.logo {
    width: 240px;
}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}
header {
    text-align: center;
    width: 100%;
    position: fixed;
    background: #fff;
    font-family: 'PT Sans', sans-serif;
    z-index: 9999;
    transition: all 0.4s ease;
    left: 0;
    top: 0;
    border-top: 3px solid #1F457F;    border-bottom: 1px solid #eee;
}

.desktopnav {width:90%; width:calc(100% - 240px);}
.desktopnav ul, .desktopnav li {padding:0; margin:0; list-style:none;}
.desktopnav ul {text-align:right;}
.desktopnav li {    display: inline-block;}
.desktopnav li a {    font-family: 'Ubuntu', sans-serif;
    font-weight: 600;
    color: #888881;
    padding: 0px 0px 0 18px;
    font-size: 17px;
    height: 84px;
display: flex;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
    align-items: -webkit-center;
	align-items: -moz-center;
	align-items: -ms-center;
	align-items: center;
    text-transform: uppercase;}

.mobilenav a {
font-family: 'Ubuntu', sans-serif;
    font-weight: 600;
    color: #888881;
    font-size: 15px;text-transform: uppercase;	
}

.desktopnav li a:hover, .desktopnav li a:focus, .desktopnav li.current-menu-item > a, .desktopnav li.current-menu-parent > a, .mobilenav li a:hover, .mobilenav li a:focus, .mobilenav li.current-menu-item > a  {
color:#14407f}
.desktopnav .sub-menu {
display: none;
    position: absolute;
    /* left: 0; */
    background: #fff;
    text-align: left;
    width: 235px;
}

.desktopnav .sub-menu li{display:inline-block; width:100%;     border-top: 1px solid #cdcdca;}
.desktopnav .sub-menu li a {
    display: block;
    align-items: baseline;
    padding: 10px 10px;
    text-align: left;
    height: auto;
    font-size: 16px;
    line-height: 1.2;
}
.desktopnav Li {position:relative;}
.desktopnav Li:hover .sub-menu {display:block}



.mobbtn {width:50px; height:50px;display:inline-block; background:url('img/hamburger-nav.png') no-repeat center center #024292;}
.mobbtn.open, .mobbtn:hover, .mobbtn:focus {background:url('img/hamburger-nav.png') no-repeat center center #9fa5ad;}
.mobnavholder {
    position: absolute;
    background: #fff;
    width: 100%;
    left: 0;
    top: 84px;max-height:0; overflow:hidden
}
.mobilenav.columns {
    float: right;
    margin-top: 15px;
}
.mobnavholder.open {max-height:600px}

.mobilenav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('https://unifiedsailing.org/wp-content/themes/unifiedsailing/fonts/font-name.eot');
	src:url('https://unifiedsailing.org/wp-content/themes/unifiedsailing/fonts/font-name.eot?') format('embedded-opentype'),
		url('https://unifiedsailing.org/wp-content/themes/unifiedsailing/fonts/font-name.woff') format('woff'),
		url('https://unifiedsailing.org/wp-content/themes/unifiedsailing/fonts/font-name.ttf') format('truetype'),
		url('https://unifiedsailing.org/wp-content/themes/unifiedsailing/fonts/font-name.svg') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::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;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 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;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		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:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
