/*
Theme Name: HG 2016 (RWD-HTML5)
Author: Kell B. Larsen
Author URI: http://blog.bredsig.dk/
Theme URI: http://www.herlev-gym.dk/
Description: Signiflys 2016 design. Bygget over Skeleton af KBL.
Version: 1.0
*/
@import url('css/swiper.min.css');
@import url('css/normalize.css');
@import url('css/skeleton.css');
@font-face { font-family:GTWalsheim; src:url(fonts/GT-Walsheim-Bold.otf); font-weight:700; font-style:normal; }
@font-face { font-family:GTWalsheim; src:url(fonts/GT-Walsheim-Medium.otf); font-weight:600; font-style:normal; }
@font-face { font-family:GTWalsheim; src:url(fonts/GT-Walsheim-Regular.otf); font-weight:500; font-style:normal; }
@font-face { font-family:GTWalsheim; src:url(fonts/GT-Walsheim-Light.otf); font-weight:400; font-style:normal; }
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	background-color: rgb(255,255,255);
	color: #000;
	font-family: "GTWalsheim",Helvetica,Sans-Serif;
	font-size: 1.5rem;
	line-height: 1.4;
	font-weight: 400;
}
p {
	letter-spacing: 0.1rem;
	font-size:1.2rem;
	color:#464645;
}
a {	text-decoration: none; }
acronym, abbr, span.caps { cursor: help; }

.container {
	max-width: 1170px;
}
main {
	margin-top:92px;
}
.leaf {
	border-radius: 60px 0;
	display:block;
	color:#fff;
}
.leaf a{ text-decoration: none; }
.green {background-color:#70bf54;}
.blue {background-color:#36a9e1;}

/* Frontpage */
.photo {
	background: transparent url(./images/forside.jpg) no-repeat top center;
	height:478px;
}
.photo .leaf {
	height:210px;
	width:485px;
	position:absolute;
	left:45px;
	padding:30px;
	font-size:4.5rem;
	font-weight:700;
	line-height:1.2;
}
@media screen and (max-width: 600px) {

	.photo .leaf {
		width: 90%;
		margin: 300px 5% 20px 5%;
		left: 0;
		height:auto;
		font-size:3rem;
	}
}
@media screen and (min-width: 600px) {
	.photo .leaf {
		top:323px;
	}
}
.reminder {
	color:#fff;
	font-size:1.7rem;
	text-align:center; /* KBLs tilf�jelse */
}
.reminder a {
	color:#fff;
}
.reminder p {
	margin:25px 0;
	color:#fff;
    font-size:1.6rem;
    font-weight:500;
}
.reminder p span {
	font-weight:700;
}
.navigation1 {
	background-color:#f3f4f4;
	padding:4rem 0;
}
.navigation1 article {
	padding:0 5% 20px 5%;
}
.navigation1 .leaf {
	overflow:hidden;
	width:271px;
	height: 250px;
	margin:10px auto;
	transform:translateZ(0);
}
.navigation1 a:hover p {
	transform: translateY(-190px);
	text-align:center;
	padding-top: 10rem;
}
.navigation1 p {
	text-decoration:none;
	color:#fff;
	font-size:1.5rem;
	transition: transform 0.4s ease-in-out;
	height:190px;
	width:100%;
	background-color:#70bf54;
	padding: 0.5rem 1.5rem;
}
.navigation1 article:nth-of-type(1) p {
	background-color:#36a9e1;
}
.navigation1 img {
	width:100%;
}
@media screen and (min-width: 550px) {
	.navigation1 .four.columns, .navigation2 .six.columns {
		width:100%;
		margin-left:0;
	}
}
@media screen and (min-width: 860px) {
	.navigation1 .four.columns, .navigation2 .six.columns {
		width:50%;
		padding:0;
		margin:0;
	}
	.navigation1 .four.columns:nth-of-type(2) {
		display:none;
	}
}
@media screen and (min-width: 1200px) {
	.navigation1 .four.columns {
		width: 33.3333333%;
	}
	.navigation1 .four.columns:nth-of-type(2) {
		display:block;
	}
}
.why {
	padding-top:5rem;
}
.why .container {
	width:100%;
	padding:0;
}
.why p {
	color:#36a9e1;
	font-size:1.6rem;
	margin-top:2rem;
}
.why .eight {
	background:none;
	padding:0 5rem 2rem 5rem;
	min-height:0;
}
@media screen and (min-width: 900px) {
	.why .eight {
		background:url(./images/Herlev_Blad_RGB.png) no-repeat center left;
		background-size: 18rem 18rem;
		padding:0 0 0 25rem;
		min-height:22rem;
	}
}
.why .eight h2 {
	margin-top:2rem;
}
.why .twelve .leaf {
	margin:0 0 3rem 0;
	padding:10% 6rem;
	height:40rem;
	text-align:center;
	overflow:hidden;
	position:relative;
	z-index: 0;
	border-radius: 0;
}


.instagram {
	height:320px;
	overflow:hidden;
	width:100%;
	white-space: nowrap;
}
.instagram article {
	display:inline-block;
	height:320px;
	width:320px;
	/*margin:0 -4px;*/
}
.instagram article img {
	height:320px;
	width:320px;
}
.instagram .swiper-slide {
	width:auto;
}
.life {
	height:330px;
	text-align:center;
	background: linear-gradient(rgba(112, 191, 84, 0.8),rgba(112, 191, 84, 0.8)),url('http://www.herlev-gym.dk/wp/wp-content/uploads/2016livet.jpg') no-repeat center center;
}
.life p {
	font-size:1.6rem;
	margin:10rem 0 0.5rem;
	color:#fff;
}
.life h2 {
	font-size:4.5rem;
	color:#fff;
}
.navigation2 {
	padding:5rem 0;
	text-align:center;
}
.navigation2 .leaf {
	text-align:center;
	padding: 5rem 0 6rem 0;
	max-width:430px;
}
.navigation2 .leaf.green, .navigation2 .leaf.blue {
	margin:3rem auto;
}
.navigation2 h2 {
	font-size:5rem;
	margin:0;
	color:#fff;
}
.navigation2 p {
	color:#fff;
	margin:0;
}
@media screen and (min-width: 860px) {
	.navigation2 .leaf.blue {
		margin-right:1rem;
	}
	.navigation2 .leaf.green {
		margin-left:1rem;
	}
}
@media screen and (min-width: 1200px) {
	.navigation2 .leaf.green, .navigation2 .leaf.blue {
		margin:3rem auto;
	}
}

/* Header */
header.primary {
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:100px;
	background-color:#fff;
	z-index:1000;
}
header.primary > a {
	float:left;
}
header.primary h1 {
	display: inline-block;
    margin: 1.5rem 0 0 2rem;
    padding: 2.1rem 0 0 7.9rem;
    min-height: 8rem;
    line-height: 0.9;
    font-weight: 600;
    font-size: 2.6rem;
    letter-spacing: 0;
    background: url(./images/Herlev_Blad_RGB.png) no-repeat top left;
    background-size: 7rem 7rem;
}
header.primary h1 span {
	display:block;
	padding-left:1px;
}
header.primary a {
	color:#464645;
}
header.primary h2 {
	display:none;
}
header.primary nav {
	right:0;
	top:0;
	width:100%;
	position:absolute;
}
header.primary nav ul {
	display:inline;
}
header.primary nav li {
	float:left;
	list-style-type: none;
	margin-right:3.8rem;
	position:relative;
}
header.primary nav li a {
	color:#464645;
	text-decoration:none;
}
header.primary nav li ul {
	display:none;
}
.toggle-nav {
    display:none;
}
header.primary nav .open-menu-link{
	display: none;
	position: absolute;
	right: 15px;
	 top:0;
	line-height: 55px;
	font-size: 30px;
	cursor: pointer;
}
nav .primary {
	position:absolute;
	right:0;
	top:66px;
	font-size:1.5rem;
	font-weight:500;
}
nav .secondary {
	position:absolute;
	top:8px;
	right:0;
	font-size:1.3rem;
	font-weight:400;
	display:inherit;
}
nav .secondary li {
	margin-right:2.5rem;
}
/* De f�rste 4 elementer */
nav .secondary li:nth-of-type(-n+3) {
	padding-top:13px;
}
/* De sidste 2 elementer */
nav .secondary li:nth-last-child(1) {
	margin:5px 69px 0 0;
	position:static;
}
nav .secondary li:nth-last-child(2) {
	margin:5px 39px 0 10px;
	position:static;
}
nav .secondary li:nth-last-of-type(-n+2) a {
    width: 29px;
    height: 29px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
}
nav .secondary li:nth-last-child(1) a {
	background: url(./images/header_facebook.png);
}
nav .secondary li:nth-last-child(2) a {
	background: url(./images/header_instagram.png);
}
@media screen and (max-width: 1000px) {

	nav.active {
        display:none;
    }
	header.primary nav {
		position:absolute;
		right:0;
		top:100px;
		width:100%;
		background-color: #36a9e1;
		padding:0 0 55px 0;
	}
	header.primary nav .primary {
		position:relative;
		top:0;
	}
	header.primary nav .secondary {
		position:relative;
	}
	header.primary nav .primary ul {
		white-space: nowrap;
    }
	header.primary nav .primary li, header.primary nav .secondary li {
        float:none;
        display:block;
		margin:0;
    }
	header.primary > nav li a {
		padding:5px 40px 5px 40px;
	}
	header.primary nav .primary li {
		border-bottom: 1px solid #3a5f82;
	}

	nav .secondary li:nth-last-child(1) a {
		background: url(./images/footer_facebook.png);
		margin-left: 75px;
		margin-top:5px;
		padding:0;
	}
	nav .secondary li:nth-last-child(2) a {
		background: url(./images/footer_instagram.png);
		margin-top:5px;
		margin-left: 40px;
		padding:0;
	}

    header.primary nav li a {
        display:block;
		color:#fff;
    }

	.toggle-nav {
        padding:20px;
        float:left;
        display:inline-block;
        border-radius:3px 3px 0 0;
        background:#fff;
        color:#68a7de;
        font-size:2rem;
		position:absolute;
		right:0;
		top:32px;
    }

	.toggle-nav:hover, .toggle-nav.active {
        text-decoration:none;
        color:#3a5f82;
    }

	.toggle-nav.active {
		background-color:#36a9e1;
	}
	.toggle-nav .close { display:none; }
	.toggle-nav.active .close {
		display:inherit;
		color:#fff;
		font-size:6rem;
		margin-top: -30px;
	}
	.toggle-nav .open { display:inherit; margin-right: 5px;}
	.toggle-nav.active .open { display:none; }

	header.primary nav .visible {
		display: block !important;
	}

	header.primary nav .open-menu-link{
		display: none;
		position: absolute;
		right: 15px;
		top: -13px;
		line-height: 55px;
		font-size: 30px;
		cursor: pointer;
		color:#fff;
	}

	header.primary nav li li {
		background-color:#3a5f82;
	}

	header.primary nav ul ul {
		margin:0;
	}


}

/* page.php */
.page .seven {
	padding-left:20px;
}
.page p {
	letter-spacing: 0;
	font-size:1.5rem;
}
.page a {
	color:#36a9e1;
	text-decoration:underline;
}
.page a:hover {
	color:#3a5f82;
}
.page img {
	max-width:100%;
	height:auto;
}
.page h4 {
	font-weight:400;
	color:#36a9e1;
	font-size:1.8rem;
	letter-spacing: 0;
}
.page strong {
	font-weight:600;
	color:#70bf54;
	font-size:1.7rem;
}
.page video {
	max-width:100%;
}
.pagephoto img {
	max-width:100%;
}
.submenu {
	margin:4rem 0;
	width:215px;
}
.submenu h3 {
  padding: 2rem 0 1rem 3rem;
	margin:0;
}

.submenu h3 a {
	font-size:1.6rem;
	font-weight:600;
}
.submenu ul {
	padding:0 2rem 2rem 2rem;
	list-style:none;
}
.submenu li:before {
    content: "+";
    margin-right: 4px;
}
.submenu a {
	color:#fff;
	text-decoration:none;
	font-weight:500;
	font-size:1.3rem;
}
nav.page {
	text-align:left;
	margin:2rem 0;
	font-weight:500;
	font-size:1.4rem;
}
nav.page a {
	color:#36a9e1;
	text-decoration:none;
}
nav.page a:hover {
	color:#3a5f82;
	text-decoration:none;
}
nav.page p {
	color:#36a9e1;
}
nav.page span {
	color:#464645;
}
@media screen and (max-width: 1000px) {
	.page .submenu{
		display:none;
	}
}
.fixed {
	position:fixed;
	top:60px;
}

/* Livet på skolen */
.page.livet h2{
	margin: 0;
  position: absolute;
  top: 0;
  left: 0;
	font-size: 13.5rem;
	color:rgb(230,230,230);
}
.page.livet .pen {
	margin: 0;
  position: absolute;
  top: 20px;
	bottom:100px;
  left: 0;
	width:100%;
}
.page.livet .pen.stx {
	background: url(./images/Herlev_Pen.png) no-repeat center center;
	background-size:contain;
}
.page.livet .pen.hf {
	background: url(./images/Herlev_Pen_hf.png) no-repeat center center;
	background-size:contain;
}
.page.livet {
	background-attachment: fixed;
	background-size: cover;
	padding-bottom:190px;
}
@media screen and (min-width: 860px) {
	.page.livet {
		padding-bottom:60px;
	}
}
.page.livet .subpageholder {
	display:flex;
	flex-wrap:nowrap;
	justify-content:space-around;
	align-items:center;
	padding-right:15%;
}
.page.livet .subpagelink {
	background: url(./images/dot.png) no-repeat center center;
	min-width: 50px;
	min-height: 50px;
	flex-basis: 11%;
}
.page.livet .subpagelink a {
	color: #3a5f82;
	text-decoration: none;
}
.page.livet .subpagelink a:hover {
	color: #3a5f82;
	text-decoration: underline;
}
.page.livet .subpagelink p {
	text-align: center;
}
.page.livet .subpagelink:nth-child(4n+1) p {
	margin-bottom:70px;
}
.page.livet .subpagelink:nth-child(4n+3) p {
	margin-top:100px;
}
.page.livet p {
	margin:0 0 2.5rem 0;
	font-size: 1.4rem;
	visibility:visible;
}
.page.livet .subpageholder p, .page.livet .subpageholder article a {
	color:#fff;
}
.page.livet .three {
	text-align: center;
}
.page.livet h3 {
	font-size:5rem;
	font-weight:700;
	margin-top:7rem;
}
.page.livet .subpageholder h4 {
	font-size:2.5rem;
}
.page.livet .subpage article {
	padding: 4rem;
}
.swiper-button-next {
	/*
	background: url(./images/arrowright02.png) no-repeat center center;
	height:48px;
	width:48px;
	right:0.5rem;
	*/
}
.swiper-button-prev {
	/* background: url(./images/arrowleft02.png) no-repeat center center;
	height:48px;
	width:48px;
	left:0.5rem;
	*/
}
.swiper-pagination {
  /*
	margin-top: -8rem;
  bottom: inherit;
	*/
}
.swiper-pagination-bullet {
	/*
	background-color:#fff;
	opacity: 1;
	margin-bottom:2px!important;
	*/
}
.swiper-pagination-bullet-active {
	width:12px;
	height:12px;
	margin-bottom:0!important;
}
.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
	bottom:inherit;
}
.swiper-container {
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 800px) {

	.swiper-button-next {
		margin-top: 4rem;
	}
	.swiper-button-prev {
		margin-top: 4rem;
	}
	.swiper-pagination {
		margin-top:-12rem;
		bottom: inherit;
	}
}

/* Studieretninger */
.studieretninger.top {
	padding:6rem 0;
	background: linear-gradient(rgba(54, 169, 225, 0.8),rgba(54, 169, 225, 0.8)),url('http://www.herlev-gym.dk/wp/wp-content/uploads/2016studieretning.jpg') no-repeat top center;
}
.studieretninger.top h2 {
	color:#fff;
	font-size:4rem;
	margin-bottom:5rem;
}
.studieretninger.top h3 {
	color:#fff;
	font-size:3rem;
}
.studieretninger.top a {
    color: #3a5f82;
	text-decoration: underline;
}
.studieretninger div.twelve {
	display:flex;
	flex-flow:row wrap;
	justify-content:space-around;
	width:100%;
}
.studieretninger .twelve article {
	width: 300px;
}
.studieretninger p {
	color:#fff;
}
.studieretninger a {
	text-decoration: none;
}
.stx h2 span{
	color:#70bf54;
}
.hf h2 span{
	color:#36a9e1;
}
.studieretninger.stx {
	padding-top:4rem;
}
.studieretninger.hf {
	padding:4rem 0;
}
.studieretninger .leaf {
	overflow:hidden;
	margin:2rem auto;
	height: 230px;
	transform:translateZ(0);
}
.studieretninger .leaf img {
	width:100%;
}
.studieretninger.stx p, .studieretninger.hf p {
	width:100%;
	min-height:4rem;
	padding:0.8rem 1rem;
	transition: transform 0.4s ease-in-out;
	height:190px;
	font-size:1.5rem;
}
.studieretninger.stx p {
	background-color:#70bf54;
}
.studieretninger.hf p{
	background-color:#36a9e1;
}
.studieretninger a:hover p {
	transform: translateY(-190px);
	text-align:center;
	padding:0 2.5rem 0 2.5rem;
}
.studieretninger a:hover p span {
	font-size:5rem;
	display:block;
	text-align:center;
	padding-top: 6rem;
	font-weight:700;
}
.stx nav form {
	float:right;
	margin:0;
}

select {
	color:#70bf54;
	margin:0;
	border:none;
	-webkit-appearance: none;
	background:transparent url(./images/selectarrow.png) no-repeat right center;
    padding-right: 3rem;
}

/* Medarbejdere */
.googlemaps {
	position:relative;
	height:290px;
	overflow: hidden;
}
.googlemaps iframe {
	position:absolute;
	left:50%;
    margin-left:-1000px
}
.medarbejdere form {
	margin-top:-3.9rem;
	float:right;
}
.medarbejdere select {
	width:120%;
}
.medarbejdere .liste {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
	width:100%;
}
.medarbejdere .liste article {
    width: 20rem;
    padding-right: 5rem;
}

/* Footer */
footer.primary {
	font-weight:400;
	font-size:1.3rem;
	text-align: left;
	color:#fff;
	padding:1.4rem 0 0.4rem 0;
}
footer.primary ul {
	display:inline;
	margin:0;
}
footer.primary .social ul {
	padding:0;
	float:right;
}
footer.primary li {
	float:none;
	list-style-type: none;
}
footer.primary .contact li {
	padding: 0.7rem 3.5rem 0 0;
}
footer.primary a {
	color:#fff;
	text-decoration: underline;
}

footer .social {
	text-align:right;
}
footer .social li:nth-of-type(1) {
	display:none;
}
/* De sidste 2 elementer */
footer .social li:nth-last-child(1) {
	margin:0;
	padding:0;
}
footer .social li a {
    width: 29px;
    height: 29px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
}
footer .social li:nth-last-child(2) a {
	background: url(./images/footer_facebook.png);
}
footer .social li:nth-last-child(1) a {
	background: url(./images/footer_instagram.png);
}
footer .social {
	float:right;
	margin-top: -100px;
	margin-right: 20px;
}
footer .social li:nth-last-child(2) {
	margin:0 39px; 0 39px;
	padding:0;
}
@media screen and (min-width: 800px) {
	footer.primary li {
		float:left;
	}
	footer .social {
		margin-top: -6px;
	}
	footer.primary .contact li {
		padding: 0.7rem 0.6rem 0 0.6rem;
	}
	footer.primary .contact li:nth-of-type(1) {
		margin-left:0;
	}
	footer.primary .contact li:nth-of-type(5) {
		margin-right:0;
	}
	footer .social li:nth-last-child(2) {
		margin:0 25px 0 39px;
	}
}
@media screen and (min-width: 975px) {
	footer .social li:nth-of-type(1) {
		display:inline;
		padding-right: 2rem;
		margin-top:6px;
		margin-right: -40px;
	}
	footer.primary .contact li {
		padding: 0.7rem 2rem 0 0;
	}
}
/* SIDER */
main h2 {
	font-weight: 700;
    font-style: normal;
    font-size: 2.4rem;
	margin: 0.5rem 0;
	color:#464645;
	letter-spacing:0;
}
.single img {
	float: left;
    margin-right: 20px;
}
.single .posts p:first-of-type {
	margin-bottom:0;
}
.single .dato {
    float: right;
    margin-top: -60px;
    margin-right: 10px;
}

/* SUBPAGE progressionsplan */
.subpage {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index: 1001;
	display:none;

}
.subpage article {
	position:relative;
	width:100%;
	height:100%;
	background-color: rgba(54, 169, 225, 0.95);
	overflow-y:auto;
	overflow-x:hidden;
	padding:10px;
}
.subpageholder {
	position: relative;
	width:100%;
	height:100%;
	color:#fff;
}
.subpage h4 {
	color:#fff;
}
.subpageholder div.close {
	right:0;
	top:0;
	position:absolute;
	margin: 2rem 3rem 0 0;
}
.subpageholder a.close{
	color:#fff;
	font-size:2.5rem;
	text-decoration: none;
}
/* SEARCH */
section.search {
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index: 1001;
  position: fixed;
	display:none;
}
.noscroll {
	overflow:hidden;
}
section.search article {
	position:relative;
	width:100%;
	height:100%;
	background-color: rgba(54, 169, 225, 0.95);
	overflow-y:auto;
	overflow-x:hidden;
}
section.search div.close {
	right:0;
	top:0;
	position:absolute;
	margin: 2rem 3rem 0 0;
}
section.search a.close{
	color:#fff;
	font-size:4rem;
}
section.search p {
	font-size:1.4rem;
	color:#fff
}
section.search h3 {
	color:#fff;
	margin-bottom:0.1rem;
}
section.search a {
	color:#fff
}
section.search .twelve.columns {
	margin-top:10%;
}
section.search input {
	background-color:transparent;
	border:none;
	border-bottom:2px solid #fff;
	border-radius:0;
	color:#fff;
	font-size:6rem;
	font-weight:700;
	padding: 3rem 0 3rem 0;
	margin-top:15rem;
}
section.search input::placeholder{color:#fff;}
section.search input::-webkit-input-placeholder {color:#fff;}
section.search input::-moz-placeholder {color:#fff;}
section.search input:-ms-input-placeholder {color:#fff;}
