/*
	Fonts
*/
@font-face {
    font-family: "Sora";
    src: url("fonts/Sora-Thin.ttf");
    font-weight: 100;
}

@font-face {
    font-family: "Sora";
    src: url("fonts/Sora-ExtraLight.ttf");
    font-weight: 200;
}

@font-face {
    font-family: "Sora";
    src: url("fonts/Sora-Light.ttf");
    font-weight: 300;
}

@font-face {
    font-family: "Sora";
    src: url("fonts/Sora-Regular.ttf");
}

@font-face {
    font-family: "Sora";
    src: url("fonts/Sora-Medium.ttf");
    font-weight: 500;
}

@font-face {
    font-family: "Sora";
    src: url("fonts/Sora-SemiBold.ttf");
    font-weight: 600;
}

@font-face {
    font-family: "Sora";
    src: url("fonts/Sora-Bold.ttf");
    font-weight: 700;
}

@font-face {
    font-family: "Sora";
    src: url("fonts/Sora-ExtraBold.ttf");
    font-weight: 800;
}

/*
	General Styling
*/

img.lazyload:not([src]) {
	visibility: hidden;
}

* {
	font-family: "Sora", sans-serif;
	margin: 0px;
  padding: 0px;
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 20px;
}

img {
    width: 100%;
}

p, h1, h2, h3, h4, h5, h6 {
    padding-bottom: 10px;
}
/*
	Header
*/
.banner {
	background-color: #0F3E82;
	padding: 15px;
	color: white;
	display: inline-block;
	width: 100%;
  line-height: 15px;
  text-align: center;
}

.banner .container {
	max-width: 1240px;
  padding: 0px 20px;
	width: 100%;
	margin: auto;
	display: inline-block;
}

.banner a{
	color: white;
	text-decoration: none;
  transition: all 300ms;
}

.banner .contact-info a {
  padding-right: 5px;
  font-size: 12px;
}

.banner .contact-info a:hover {
	opacity: 0.5;
}

.banner .contact-info{
	float: right;
	margin-left: 20px;
}

.banner .social-info{
  float: left;
  font-size: 20px;
  margin-right: 10px;
}

.banner .social-info a:hover{
  opacity: 0.5;
}

/* Menu */
header {
  width: 100%;
  box-shadow: 0 4px 2px -2px gray;
  text-align: center;
  margin-bottom: 4px;
}

header .container {
  max-width: 1240px;
  padding: 0px 20px;
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .container .logo{
  float: left;
}

header .container .menu{
  float: right;
}

header .container .menu > ul {
  list-style: none;
  display: flex;
  flex-wrap: revert;
}

header .container .menu > ul li {
  margin-left: 15px;
  margin-right: 15px;
}

header .container .menu > ul li a {
  text-decoration: none;
  font-weight: 500;
  color: black;
  transition: all 300ms;
}

header .container .menu > ul li.current-menu-item > a {
    color: #0F3E82;
    text-decoration: underline;
}
header .container .menu > ul li.current_page_parent > a {
    color: #0F3E82;
}
header .container .menu > ul li.current-menu-item > a:hover{
    text-decoration: none;
}

header .container .menu > ul > li > a:hover {
  opacity: 0.6;
}

/* Sub Menu */
header .container .menu > ul .menu-item-has-children {
  position: relative;
}

header .container .menu > ul > .menu-item-has-children > a {
    padding-right: 15px;
    padding-top: 25px;
    padding-bottom: 25px;
}

header .container .menu > ul > .menu-item-has-children > a:after {
    content: '\f347';
    font-family: 'dashicons';
    font-size: 16px;
    position: absolute;
    margin-top: 2px;
    transition: all 300ms;
}

header .container .menu > ul > .menu-item-has-children:hover > a:after {
    transform: rotate(180deg);
}

header .container .menu > ul .menu-item-has-children:hover .sub-menu {
    display: block;
}

header .container .menu > ul .menu-item-has-children:hover .sub-menu > li {
    margin: 0px;
    white-space: nowrap;
}

header .container .menu > ul .menu-item-has-children:hover .sub-menu > li a {
    padding: 10px;
    display: block;
    border: 1px solid black;
    background-color: white;
}
header .container .menu > ul .menu-item-has-children .sub-menu > li a:hover {
    background-color: #efefef;
}

header .sub-menu:hover {
  display: block;
}

header .sub-menu {
  display: none;
  position: absolute;
  list-style: none;
  padding-top: 4px;
  position: absolute;
  border-top: none;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  bottom: -25px;
}

header .sub-menu > li {
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 10px;
}


header .logo {
  padding: 10px 0px;
}

header .logo img {
  height: 50px;
}

/*
*   Footer
*/
footer {
    background-color: #15323a;
}

footer .content-container {
    align-items: flex-start;
}

.footer-contact-form {
    padding: 0px 20px;
}

footer .content-container .text-container {
    width: calc(100% - 730px);
    color: white;
    line-height: 30px;
}

footer .content-container .text-container h2{
    padding-bottom: 10px;
}

.footer-contact-form .left{
    float: left;
    padding-right: 10px;
}

.footer-contact-form .right{
    float: right;
    padding-left: 10px;
}

.footer-contact-form input, .footer-contact-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    background-color: #15323a;
    border: 1px solid #ffffff;
    color: white;
}

.footer-contact-form input::placeholder, .footer-contact-form textarea::placeholder{
    color: white;
}

.footer-contact-form input:focus {
  outline: none;
}

.footer-contact-form textarea {
    height: 146px;
    margin-bottom: 10px;
}

.footer-contact-form input[type="submit"]{
    padding: 10px 40px;
    transition: all 300ms;
}

.footer-contact-form input[type="submit"]:hover {
    background-color: white;
    color: #15323a;
    cursor: pointer;
}

.footer-contact-form .wpcf7 form .wpcf7-response-output {
    margin: 0px;
}

.footer-contact-form .wpcf7 form.invalid .wpcf7-response-output {
    border-color: #15323a;
    color: red;
}

.footer-contact-form .wpcf7 form.invalid input.wpcf7-not-valid{
    border: 1px solid red;
}

.footer-contact-form .wpcf7-form-control-wrap {
    height: 100%;
    display: block;
}

.footer-contact-form .wpcf7-not-valid-tip {
    position: absolute;
    left: -4px;
    top: 10px;
    transform: translateX(-100%);
}

.footer-contact-form .wpcf7 form.sent .wpcf7-response-output {
    border-color: #15323a;
    color: #46b450;
    font-weight: bold;
    font-size: 20px;
}

.footer-contact-form form[data-status="sent"] .left, .footer-contact-form form[data-status="sent"] .right {
    display: none;
}

/*
* 404 page
*/
.error404 .info .title, .error404 .info .text {
    width: 100%;
    text-align: center;
}

.error404 .info {
    width: 100%;
}

.error404 .info .text {
    margin-top: 50px;
}

.error404 .info .text a{
    text-decoration: none;
    font-weight: bold;
    color: #0F3E82;
    transition: all 300ms;
}

.error404 .info .text a:hover {
    opacity: 0.6;
}

/*
* Forside
*/

/* General */
.content-container {
    max-width: 1240px;
    padding: 100px 20px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 2 Column - Big picture with text */

.col2-text-bg {
    padding: 0px 20px;
    height: calc(100vh - 128px);
}

.col2-text-bg .text {
    width: 50%;
    padding-right: 40px;
    font-size: 20px;
}

.col2-text-bg .bgImage {
    width: 50%;
}

.col2-text-bg .bgImage{
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    background-position: center;
}


/* 4 Column - Courses */
.fourColumn {
    background-color: #f8f8f8;
}

.fourColumn .content-container {
    align-items: flex-start;
    flex-wrap: wrap;
}


.fourColumn .title-container {
    width: 100%;
    text-align: center;
    padding-bottom: 50px;
}

.fourColumn .title-container h2 {
    text-decoration: underline;
    font-weight: bold;
}

.fourColumn .course {
    width: calc(25% - 70px);
    margin: 0px 40px;
    display: inline-block;
    position: relative;
    text-align: center;
    transition: all 300ms;
}

.fourColumn .course:first-child {
    margin-left: 0px;
}

.fourColumn .course:last-child {
    margin-right: 0px;
}

.fourColumn .course:hover {
    opacity: 0.5;
}

.fourColumn .course img {
    width: 100%;
    box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.13);
}

.fourColumn .course h3 {
    position: absolute;
    bottom: 0;
    color: white;
    text-align: center;
    width: 100%;
    transform: translateY(-50%);
}


.col1-title {
    max-width: 1240px;
    padding: 0px 20px;
    padding-top: 100px;
    width: 100%;
    margin: auto;
    text-align: center;
}


/* Col 2 - Text and Image */
.col2-text-image .text-container{
    width: 50%;
    padding-right: 40px;
}

.col2-text-image .text-container ul {
    padding-left: 25px;
    list-style: none;
}

.col2-text-image .text-container ul li{
    padding-top: 5px;
    position: relative;
}

.col2-text-image .text-container ul li:after {
    content: '\f15e';
    font-family: 'dashicons';
    position: absolute;
    left: 0;
    transform: translateX(-25px) translateY(-2px);
    font-size: 22px;
}

.col2-text-image .text-container a{
    text-decoration: none;
    font-weight: bold;
    color: #0F3E82;
    transition: all 300ms;
}

.col2-text-image .text-container a svg{
    color: blue;
}

.col2-text-image .text-container a:hover{
    opacity: 0.6;
}

.col2-text-image .image-container{
    width: 50%;
    padding-left: 40px;
}

.col2-text-image.bgcolor {
    background-color: #f8f8f8;
}

.col2-text-image.text-right .content-container{
    flex-direction: row-reverse;
}

.col2-text-image.text-right .text-container{
    padding-left: 40px;
}

.col2-text-image.text-right .image-container{
    padding-right: 40px;
}

/* Col 2 - Courses */
.col2-courses + .col2-courses .content-container{
    padding-top: 0px;
}

.col2-courses .bg {
    background-color: #efefef;
    display: flex;
    width: 100%;
}

.col2-courses .text-container {
    padding: 40px;
    width: 80%;
}

.col2-courses .text-container a{
    text-decoration: none;
    font-weight: bold;
    color: #0F3E82;
    transition: all 300ms;
}

.col2-courses .text-container a:hover{
    opacity: 0.6;
}

.col2-courses .text-container ul{
    padding-left: 22px;
    list-style: none;
}

.col2-courses .text-container ul > li{
    padding-top:5px;
    position: relative;
}

.col2-courses .text-container ul > li:after {
    content: '\f15e';
    font-family: 'dashicons';
    position: absolute;
    left: 0;
    transform: translateX(-25px) translateY(-2px);
    font-size: 22px;
}

.col2-courses .image-container {
    width: 20%;
    background-size: cover;
    background-position: center;
}

/* col 1 - Slider */
.col1-slider.bg {
    background-color: #efefef;
}

.col1-slider .content-container{
    display: block;
}

.col1-slider .quotes{
    text-align: center;
    padding-left: 60px;
    padding-right: 60px;
}

.col1-slider .quotes span{
    font-weight: bold;
}

.col1-slider .title-container {
    text-align: center;
    padding-bottom: 40px;
}

.col1-slider .slick-prev, .col1-slider .slick-next, .col1-slider .slick-prev:before, .col1-slider .slick-next:before {
    color: #0F3E82;
}

.col1-slider .slick-prev:before, .col1-slider .slick-next:before {
    font-size: 40px;
}

.col1-slider .slick-prev, .col1-slider .slick-next {
    width: 40px;
    height: 40px;
}

.col1-slider .slick-prev{
    left: -70px;
}

.col1-slider .slick-next{
    right: -70px;
}

/* col 2 - contact info and form */
.col2-contact-form .contact-info, .col2-contact-form .form {
    width: 50%;
}

.col2-contact-form .form {
    margin-left: 125px;
}

.col2-contact-form .form .left > div {
    display: inline-block;
}

.col2-contact-form input, .col2-contact-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    color: #15323a;
}

.col2-contact-form input::placeholder, .col2-contact-form textarea::placeholder{
    color: #15323a;
}

.col2-contact-form input:focus {
  outline: none;
}

.col2-contact-form textarea {
    height: 146px;
    margin-bottom: 10px;
}

.col2-contact-form input[type="submit"]{
    padding: 10px 40px;
    transition: all 300ms;
}

.col2-contact-form input[type="submit"]:hover {
    background-color: white;
    color: #15323a;
    cursor: pointer;
}

.col2-contact-form .wpcf7 form .wpcf7-response-output {
    margin: 0px;
}

.col2-contact-form .wpcf7 form.invalid .wpcf7-response-output {
    border-color: #15323a;
    color: red;
}

.col2-contact-form .wpcf7 form.invalid input.wpcf7-not-valid{
    border: 1px solid red;
}

.col2-contact-form .wpcf7-form-control-wrap {
    height: 100%;
    display: block;
}

.col2-contact-form .wpcf7-not-valid-tip {
    position: absolute;
    right: -10px;
    top: 10px;
    transform: translateX(100%);
}

.col2-contact-form .wpcf7 form.sent .wpcf7-response-output {
    border-color: #15323a;
    color: #46b450;
    font-weight: bold;
    font-size: 20px;
}

.col2-contact-form .wpcf7 form.invalid .wpcf7-response-output {
    border: none;
}

.col2-contact-form form[data-status="sent"] .left, .col2-contact-form form[data-status="sent"] .right {
    display: none;
}
