/*
Theme Name: Sjöljungfrunssimskola
Theme URI: https://www.8659.se
Author: 8659 Design
Author URI: https://www.8659.se
Description: Sjöljungfrunssimskola standard-theme
Version: 0.1
Requires at least: 5.0
Tested up to: 6.4.2
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 8659design2030
*/

body, #wrapper, html {
margin: 0px;
padding: 0px;

}

#wrapper{
	
min-height:100%;
position:relative;
}

.kurser #wrapper, .kurser .content{
	background: #f3f9fa;
}

.kurser .content{
	padding-top:45px; padding-bottom:45px;
}

html {
font-size: 12px;
font-size: 1em;
}

a {border-bottom: dotted #010101;
color: #010101;
text-decoration: none;}



h1, h2, h3, h4, h5, h6, h7{
font-family: "abril-fatface", serif;
  font-weight: 400;
  font-style: normal;
	color:#1f6179;
}

b, strong{font-weight: 600;}

.SocialMedia {
  position: absolute;
  top: 20px;
  right: 40px;
	z-index: 99;
}
.SocialMedia img{
width:45px; height:auto;
	margin:5px;
}
.SocialMedia a{
text-decoration:none !important;
	border-bottom:0px !important;
}

#header{ position: relative; width: 100%; background:#fff; 
  margin-bottom: 25px;
background: linear-gradient(360deg, rgb(255, 255, 255) 35%, rgb(188, 238, 239) 64%, rgb(109, 152, 168) 100%);}
.postsPage{background: #faf9f3;}

.overlayText{
text-align: left;
  font-size: 2.2vw;
  position: absolute;
  padding: 65px;
  color: white;
  background-color: #010101;
  right: 70px;
  bottom: 120px;
  font-family: montserrat, sans-serif;
  font-weight: 200;
  font-style: normal;
  text-transform: uppercase;
  width: 50%;
}



#header-content{
width: 100%;
max-width: 1400px;
margin: 0 auto;
padding:40px;
overflow: hidden;
}

#logo-header{width: 100%;
  float: left;
  text-align: center;}
#logo-header img{width: 280px; height: auto;}
#logo-header a {border:0;}




/* MENU / NAV */
/* MENU HEADER */

#header-menu {width: 100%; 
	font-family: montserrat, sans-serif;
  font-weight: 600;
  font-style: normal;
	text-align: center;
	text-transform: uppercase;
	font-size: 1.2em;
	margin-top: 50px;
}



#header-menu ul {margin: 0; padding: 0; 
	list-style-type: none; list-style-image: none; }

#header-menu ul {margin: 0; padding: 0; 
	list-style-type: none; list-style-image: none; }
#header-menu li {display: inline; }
#header-menu ul {margin: 0; padding: 0; 
	list-style-type: none; list-style-image: none; }
#header-menu li { display: inline; }
#header-menu a { color:#010101; 
	text-decoration: none; 
	border:0;}
#header-menu a:hover { color: #010101; }
#header-menu ul { margin: 0; padding: 0; 
	list-style-type: none; list-style-image: none; }
#header-menu li { display: inline; }
#header-menu ul li a { text-decoration:none;  margin: 4px;
	padding: 5px 20px 5px 20px; }
#header-menu ul li a:hover {  }

#header-menu .current-menu-item {border-bottom: 3px solid #1f6179;}

#header-menu .current-menu-item a{color: #1f6179;}

#footer{width:100%; min-height: 650px; position: relative;
	
   background: rgb(255,255,255);
background: linear-gradient(180deg, rgba(255,255,255,1) 35%, rgba(165,244,242,1) 64%, rgba(31,97,121,1) 91%); 
  overflow: hidden;

}
.footer-center{padding-top:25px;width:100%; text-align:center; color:#fff; position:absolute; display:block; bottom:25px; z-index:99; font-family: montserrat, sans-serif;
  font-weight: 200;
  font-style: normal;}
.footer-center a{color:#fff; border-bottom: dotted #fff; text-decoration: none;}
.footer-center h2{color:#1f6179;}
.footer-center img{
	height: 135px;
  width: auto;
  margin: 25px;}

#menu-buttom {
	position: relative;
	display: none;
}

.ocean { 
  height: 5%;
  width:100%;
  position:absolute;
  bottom:0;
  left:0;
  background: #1f6179;
}

.wave {
  background: url(https://8659design.se/sjojungfrunssimskola/wp-content/themes/sjoljungfrunssimskola/img/wave.svg) repeat-x; 
  position: absolute;
  top: -198px;
  width: 6400px;
  height: 198px;
  animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) infinite;
  transform: translate3d(0, 0, 0);
}

.wave:nth-of-type(2) {
  top: -175px;
  animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
  opacity: 1;
}

@keyframes wave {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -1600px;
  }
}

@keyframes swell {
  0%, 100% {
    transform: translate3d(0,-25px,0);
  }
  50% {
    transform: translate3d(0,5px,0);
  }
}

#burger-menu {
	font-family: montserrat, sans-serif;
	font-weight: 200;
	font-style: normal;
	text-align: center;
	text-transform: uppercase;
	font-size: 2em;
	position: absolute;
	top:0;
	left: 0;
	right: 0;
	display: none;
	padding-bottom: 500px;
	z-index: 2;
	background:  #f3f9fa;
}


#burger-menu ul, div.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
	margin-top: 200px;
}
 
#burger-menu li, div.menu li {
    display: block;
    position: relative;
}

#burger-menu li,
    div.menu li {
    display: block;
    position: relative;
	margin-top: 10px;
}
 

#burger-menu a { 
	color:#010101; 
	text-decoration: none; 
	display: block;
	border:0;
}

#burger-menu ul li.current_page_item > a,
#burger-menu ul li.current-menu-ancestor > a,
#burger-menu ul li.current-menu-item > a,
#burger-menu ul li.current-menu-parent > a {
  
}

#burger-menu ul li.current_page_item > a:hover,
#burger-menu ul li.current-menu-ancestor > a:hover,
#burger-menu ul li.current-menu-item > a:hover,
#burger-menu ul li.current-menu-parent > a:hover {
 
}

.content{ 
	position: relative;
	width:100%; 
	max-width:1400px; 
	padding: 0 45px;
	font-family: montserrat, sans-serif;
	font-weight: 200;
	font-style: normal;
	font-size: 1.3em;
	margin: 0 auto;
	 background: rgb(255,255,255);
	min-height:550px;
}

.content{margin:0 auto; width:100%; }



.wp-block-column {
  margin: 0 20px;
}

.heading-sep {width: 50%; border-color: #c5d1ac !important;}
.wp-block-buttons > .wp-block-button {
  display: inline-block;
  margin: 0;
  font-size: 0.8em;
  text-transform: uppercase;
}

.wp-block-buttons {text-align: center;}
.wp-block-button a{border-bottom: 0px dotted #010101;
color: #010101;
text-decoration: none;}

.aligncenter {text-align: center;
margin:0 auto;}

.readMoreButton{
	
  display: block;
  width: 80%;
  background: linear-gradient(90deg, rgba(38,38,38,1) 0%, rgba(65,65,65,1) 100%);
  padding: 15px 5px;
  margin-top: 20px;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.7em;
  margin: 20px auto;
	
}
a.readMoreButton{
  color: #fff !important;
}


article img {
  width: 100%;
height: auto;
}
article {
 	 background: #fff;
	break-inside: avoid-column;
	margin-bottom: 2rem; 
	position: relative;
	font-size: 1.2rem;
	text-align:center;
	padding: 0px;
	width:100%;
	max-width:410px;
	float:left;
	-webkit-box-shadow: 2px 2px 14px -1px rgba(0,0,0,0.46);
-moz-box-shadow: 2px 2px 14px -1px rgba(0,0,0,0.46);
box-shadow: 2px 2px 14px -1px rgba(0,0,0,0.46);

}

article .kurs_desc{padding: 0px 30px 30px 30px; width:100%;}

article a{
	border-bottom: none;
  	text-decoration:none;
}

article span{
padding: 0px 20px 50px 20px;
display: block;
}
article a:link,
article a:visited {
  color: black;
}
article h1 {
    margin-top: 0;
    margin-left: 0.75rem;
}

 main {
	display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

article h3{
display: block;
width: 90%;
position: relative;
margin: 0 auto;
  margin-top: 0px;
background: #fff;
margin-top: -45px;
padding: 20px 30px 0px 30px;
font-family: "abril-fatface", serif;
  font-weight: 400;
  font-style: normal;
  color: #1f6179;
  font-size: 1.6em;
text-align: center;
}

article .button {padding: 15px;
  background: #1f6179;
  color: #fff;
  width: 80%;
  margin: 0 auto;
    margin-bottom: 0px;
  margin-bottom: 45px;}

.featuredImg{width:100%;
height: 550px;
clip-path: none;
  --mask: 
    linear-gradient(to top,#0000 33px,#000 0),
    radial-gradient(33px,#000 98%,#0000) bottom/61.05px 66px;
  -webkit-mask: var(--mask);
          mask: var(--mask);
	margin-bottom:45px;
}
.featuredImg img{width:100%; height:auto; border-radius: 65px; border: 20px solid #fff;
}

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

/* BURGER MENU */

*{box-sizing:border-box}
.b-menu{border:0px solid #010101;border-radius:50%;cursor:pointer;display:inline-block;height:60px;padding-left:15.5px;padding-top:17.5px;position:relative;width:60px;z-index:12}.b-bun--bottom,.b-bun--mid,.b-bun--top{height:2px;width:25px}
.b-container.open .b-main,.b-menu:hover{border:0px solid #010101; background: rgba(255,255,255,0.05);}.b-bun{background:#010101;transition:all .4s ease}.b-bun{position:relative;-webkit-transition:all .4s ease}.b-bun--top{top:0}.b-bun--mid{top:8px}.b-bun--bottom{top:16px}.b-container{height:60px;right:10px;position:absolute;top:10px}.b-container:hover:not(.open) .bun-bottom,.b-container:hover:not(.open) .bun-mid,.b-container:hover:not(.open) .bun-top{background:#010101}.open .b-bun--top{background:#010101;top:9px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.open .b-bun--mid{opacity:0}.open .b-bun--bottom{background:#010101;top:5px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}


/* CONTACT FORM 7 */
.wpcf7-text, .wpcf7 textarea{ padding: 15px;
  float: left;
  width: 35%;
  font-size: 1.2em; margin-bottom: 25px;
border: 2px solid #1f6179;
  border-radius: 5px;
}

.wpcf7 .labelspan{ float:left; width:40%; text-align: right; padding-right: 45px; margin-top:5px; color: #1f6179;}

.wpcf7-submit {width: 50%;
  margin: 0 auto;
   padding: 25px;
  color: #fff;
  background: #1f6179;
  font-size: 1.1em;
  margin: 0 auto;
	  margin-top: 45px;
	display: block;
	 border-radius: 5px;
}


@media only screen and (max-width: 1580px) {
	#menu-buttom{display: block;}
	#header-menu{display: none;}
	
}

@media only screen and (max-width: 800px) {
	
	body{font-size: 0.8em;}
	.content { font-size: 1.3em; padding-left:25px; padding-right:25px;}

	
	#footer_content_left, #footer_content_right{width:100%; float:left; padding:45px; font-size: 1.2em; text-align: center;}
	
	#header-content {
  padding: 0px;
}
	

	
	.SocialMedia {
  position: absolute;
  top: 10px;
  left: 10px;
	z-index: 99;
}
.SocialMedia img{
width:25px; height:auto;
	margin:5px;
}
	
	.featuredImg{height: 200px;}
	
	.wpcf7  .labelspan {
	text-align: center;
    width: 100%;
    margin: 0 auto;
    float: none;
    display: block;
		padding-right: 0;
}
	.wpcf7-text, .wpcf7 textarea {
  width: 100%;
		margin:0 auto;
		margin-bottom: 25px;
}
}

