@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Black.ttf') format("ttf"),
  url("fonts/Lato-Black.woff") format("woff"),
  url("fonts/Lato-Black.otf") format("opentype");
}
@font-face {
  font-family: 'LatoMedium';
  src: url('fonts/Lato-Medium.ttf') format("ttf"),
  url("fonts/Lato-Medium.woff") format("woff"),
  url("fonts/Lato-Medium.otf") format("opentype");
}
@font-face {
  font-family: 'LatoLight';
  src: url('fonts/Lato-Light.ttf') format("ttf"),
  url("fonts/Lato-Light.woff") format("woff"),
  url("fonts/Lato-Light.otf") format("opentype");
}
html, body{
	height:100%;
}

#login_button i{
	color:white;
	font-size:1.5em;
	padding-right:1em;
	padding-left:0.4em;
	vertical-align:middle;
}
#login_button{
	color:black;
	font-size:0.8em;
	position:absolute;
	top:256px;
	width:10%;
	left:calc(4% + 1.5em);
	background:#9bd4d9;
	padding:0.3% 1% 0.2% 0%;
	border-radius:4px;
	border:none;
    cursor: pointer;
	white-space:nowrap;
}

#main_body{
	height:auto;
	display:block;
    padding:3% 12%;
    text-align:center;
	color:white;
	user-select:none;
}
.flex-container{
	display:flex;
	justify-content:space-evenly;
	padding:1em;
	width:100%;
	height:24vw;
    text-align:center;
	margin-bottom:6%;
}
.lightbox_modal{
	z-index: 3;
    display: none;
    padding-top: 18%;
	border-radius:1%;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.round{
	border-radius:1%;
}
#login_modal{
    display: none;
}
#contact{
	/* display:none; */
}
#contact_modal{
    display: none;
}
#apply{
	/* display:none; */
}
#apply_modal{
    display: none;
}
#div_that_does_nothing{
	clear:both;
}


/* kontakta mig och anmälan e-kurs */
.index_buttons{
	cursor:pointer;
	display:block;
	clear:both;
	margin:10%;
	width:65%;
	line-height:2em;
	padding:1% 3%;
	color:white;
	background-color:#2a98b4;
	border: 2px solid white;
	border-radius:0.4em;
	font-family:LatoMedium, Arial;
	font-size:0.8em;
}
#button_container{
	float:right;
	width:29%;
	padding-right:4%;
}
.index_buttons i{
	color:black;
	float:right;
	margin-left:5%;
	font-size:2em;
	vertical-align:sub;
}
.index_buttons:hover{
	background-color:#f3c100;
}

.modal_content{
    margin: auto;
    background-color: rgba(255,255,255,0.6);
    position: relative;
    padding: 0;
    outline: 0;
    max-width: 600px;
}
.modal_content i{
	color:#3a94a3;
}
.lightbox_rubrik{
	color:#3a94a3;	
}
.close_button{
	cursor:pointer;
	user-select:none;
	font-size:1.8em;
	position:absolute;
	top:0;
	right:0;
	padding:0px 12px;
}
.modal_buttons{
	border-radius:30px;
	user-select:none;
	margin:4%;
	cursor:pointer;
	display:block;
	width:100%;
	white-space:nowrap;
	border:none;
	padding:8px 16px;
}
.modal_buttons:hover, .apply_modal_buttons:hover {
	background-color:#ffc107; /*orange*/
}
button[name="login_button"], button[name="apply_button"], button[name="contact_button"] {
	background-color:#9bd4d9;	/* ljus blågrön */
}
button[name="password_reminder"]{
	background-color:#ccc;	/*grå*/
}
.box_padding{
	padding:2px 4px 2px 4px;
}

.third {
	cursor:pointer;
    float:left;
	background-size:100%;
    width:28%;
    margin: 2%;
	background-repeat:no-repeat;
}
section.third{
	padding-top:18vw;
}
section.third div{
	/* height:95%; */
}

.third#ruta_affärscoach{
	background-image: url('pics/certifierad_affärscoach1.png');
	background-position:38% 0%;
	padding-left:2%;
}
.third#ruta_affärscoach:hover{
	background-image: url('pics/certifierad_affärscoach2.png');
}
.third#ruta_ekurs{
	background-image: url('pics/info_e-kurs1.png');
	background-position:46% 0%;
}
.third#ruta_ekurs:hover{
	background-image: url('pics/info_e-kurs2.png');
}
.third#ruta_kursledning{
	background-image: url('pics/kursledare1.png');
	background-position:56% 0%;
	padding-right:2%;
}
.third#ruta_kursledning:hover{
	background-image: url('pics/kursledare2.png');
}

.third h1{
	height:1em;
	position:relative;
	font-family:LatoMedium;
}
.menu_h1{
	top:95%;
	font-size:1em;
}
.small_menu_h1{
	top:82%;
	font-size:0.8em;
}
.move{
	width:70%;
	height:28%;	
	float:right;
	position:relative;
	left:8%;
}
.small_menu{
	width:28%;
	height:100%;
	margin:2%;
}
section.small_menu{
	height:100%;
	padding-top:12vw;
}

.img_container, .text_container{
	display:inline-block;
}
#ekurs_bild img{
	padding-top:14%;
	height: 30vw;
    max-height: 24em;
}
figcaption{
    width: 28vw;
    max-width: 28em;
}
#kursledning_bild img{
	margin-top:1em;
	height: 29vw;
	max-height: 25em;
	margin-left: 6vw;
}
#affärscoach_bild img{
    width: 26vw;
    max-width: 24em;
    margin-top: 2em;
}

.info_container{
	text-align:left;
	display:none;
	margin-bottom:8%;
}
.text_container{
	font-size:1.1em;
	vertical-align:top;
	padding-right:4%;
	width:58%;
	/* text-align:left; */
}
.text_container p, figcaption{
	font-family:Cambria;
}
figcaption{
	font-size:0.8em;
	/* text-align:left; */
	font-style:italic;
}
.text_container h1{
	font-family:LatoMedium;
}
h1#välkommen{
	font-size:2.8em;
	font-family:LatoLight;
	color:white;
	padding-bottom:2%;
	width:100%;
}
#copyright{
	display:none;
}

/* retina-skärm */
@media only screen and (min-width: 2500px){
	.header_logo {
		width: 20%;
		margin: 1% 0px 0px 8%;
	}
}

/* typ retina-skärm */
@media (min-width: 2000px){
	body{
		font-size:1.5em;	
	}
	#välkommen{
		padding-top:4%;
	}
	.header_logo {
		width: 23%;
		margin: 2% 0px 0px 8%;
	}
	.text_container h1{
		font-size:2em;
	}
	section.third{
		height:80%;
	}	
	.move{
		height:26%;
	}
	.text_container p{
		font-size:1.2em;
	}
	.menu_h1 {
		font-size: 1.2em;
	}
	.small_menu_h1 {
		font-size: 1em;
	}
	figcaption {
		font-size: 1em;
	}
}

/* modernare skärm */
@media only screen and (min-width: 1301px){
	#main_body{
		/* height:110%; */
	}
	.flex-container{
		height:50%;
	}
	section.third{
		height:80%;
	}	
	.move{
		height:30%;
	}
}

/* äldre skärm */
@media only screen and (max-width: 1300px){
	section.third{
		height:21vw;
	}	
	.move{
		height:26%;
	}
}

/* äldre skärm */
@media only screen and (max-width: 1150px){
	.move{
		height:16%;
	}
	#main_body{
		padding: 5% 8%;
	}
	.expand#main_body{
		/* height:90%; */
	}
	#button_container{
		width:40%;
	}
	#login_button{
		width:12%;
	}
}

/* mindre skärm */
@media only screen and (max-width: 992px){
	#login_button{
		width:115px;
		top:25vw;
	}
	.index_buttons{
		width:13em;
	}
}

@media (max-width:850px){
	h1#välkommen{
		font-size:2.2em;
	}
	.menu_h1, .text_container{
		font-size:0.9em;
	}
}

@media (max-width:650px){
	h1#välkommen{
		font-size:2em;
	}
	#login_button i{
		font-size:1.2em;
	}
	#login_button{
		font-size:0.7em;
		width: 95px;
	    padding-top: 0.5%
	}
	#main_body {
		padding:8%;
	}	
}

@media (max-width:600px){
	.menu_h1{
		font-size:0.8em;
	}
	section.small_menu {
		padding-top: 4em;
	}
	.move{
	    height: 8em;	
		width:21em;
	}
	#shoe .shoe-box {
		display: block;
	}
	.flex-container {
		padding:0;
		margin:1em 0;
		height:26vw;
	}
}

@media (max-width:470px){
	h1#välkommen {
		font-size: 1.6em;
	}
	.move{
		margin-top: 1.5em;
	}
	body{
		line-height: 1.3;
	}
	.menu_h1 {
		font-size: 0.6em;
	}
	.small_menu_h1 {
		font-size: 0.7em;
	}
	#fot p {
		font-size: 0.7em;
	}
}



/* Lite animation */
.flex-container{
	transition:width 0.5s, margin-top 0.5s;
}
















