/*
Theme Name: Sail
Theme URI: https://sail.no
Author: Robin Rismyhr
Author URI: https://sail.no/
Description: Custom WordPress theme for Sail
Version: 2.0.1
Text Domain: sail
*/

@font-face {
    font-family: 'circular';
    src: url('resources/fonts/circular/CircularStd-Book.otf');
}
@font-face {
    font-family: 'gtsectra';
    src: url('resources/fonts/gtsectra/GTSectra-Bold.otf');
}

body{padding:0;margin:0;font-family: "circular",sans-serif;-webkit-font-smoothing: antialiased;background:#0a0a0e;color:white;font-size: 13pt;line-height:1.3;background-repeat:no-repeat;background-size:100% auto;}
header, main, footer {
    z-index: 9;
    position: relative;
}
h1, .title {
	font-family: "gtsectra", serif;
	font-size: 3em;
    margin:0;
    width: 100%;
}
h2,h3,h4,h5,h6 {margin: 0 0 0.5em 0;font-weight:normal;width:100%;}
h2 {font-size: 1.7em;}
h3 {font-size: 1.5em;}
h4 {font-size: 1.3em;}
h5 {font-size: 1em;}
h6 {font-size: 0.8em;}

h1.font, p.big, p.has-medium-font-size, p.has-large-font-size {
    font-family: "circular",sans-serif;
    font-weight: normal;
    font-size: 1.5em;
    line-height: 1.6;
    margin: 0 0 0.7em 0;
}
p.has-drop-cap:first-letter {
  float: left;
  font-family: "gtsectra", serif;
  font-size: 75px;
  line-height: 60px;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
}
h1.small {font-size:1.3em;}
h2.font, h3.font {font-family: "gtsectra", serif;}

select,option,textarea,input {
	font-family: 'circular', sans-serif;
}

.content h2, .content h3, .content h4, .content h5, .content h6 {margin-top: 2em;}
.content h2 {color:#f0b69d;}
.content .color-invert h2 {color:white;}

p, .content li {
    line-height: 1.8;
    width: 100%;
}
.clean {margin:0;padding:0;}

a:link, a:visited {color: #f0b69d;}
a:hover {color: inherit;}
li {
    margin-bottom: 0.7em;
}
.wp-caption {
    max-width: 100%;
}
body:before {
    width: 100%;
    height: 100%;
    background: rgba(248, 248, 248, 0);
    display: none;
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    z-index: 2;
}
body.overlay {
	height: 100vh;
	overflow: hidden;
}
body.overlay:before {
    background: rgba(0, 0, 0, 0.8);
    display: block;
}
body.menu-visible {
	position: relative;
    left: -85vw;
}
body, nav#main-menu {
	-webkit-transition: all .15s ease-in-out;
	-moz-transition: all .15s ease-in-out;
	-ms-transition: all .15s ease-in-out;
	-o-transition: all .15s ease-in-out;
	transition: all .15s ease-in-out;
}
#mnc {
    display: flex;
}
nav#nav-misc {
    margin-left: 4vw;
}
body.menu-visible #mnc {
	display: block;
    position: fixed;
    z-index: 99;
    background: #1f39da;
    top: 0;
    right: 0;
    width: 80vw;
    height: 100%;
    font-size: 1em;
}
body.menu-visible #mnc nav {
	display: block;
    max-height: 60%;
    overflow-y: scroll;
}
body.menu-visible #mnc nav#main-menu ul.menu {
    display: flex;
    flex-direction: column;
    width: calc(100% - 4em);
    margin: 2em 2em 0 2em;
}
body.menu-visible #mnc ul.menu li a {
	color: white;
	margin-left: 0;
}
body.menu-visible #mnc nav#nav-misc {
    position: absolute;
    bottom: 0;
    width: calc(100% - 4em);
    padding: 1em 2em;
    margin: 0;
}
body.menu-visible #mnc nav#nav-misc .menu {
	display: flex;
	justify-content: space-between;
}
body.menu-visible #mnc nav#nav-misc .menu li:nth-child(even) {
	text-align: right;
    float: right;
    display: block;
}
body.menu-visible #mnc nav#nav-misc .menu li:nth-child(even) a {
	float: right;
}
.no-link-decoration a {
	text-decoration: none;
}
.w {
	width: 95vw;
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}
.y {
	max-width: 800px;
}
.flex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}
.justify-start {
    justify-content: flex-start;
}
.justify-start > div {
    margin-right: 1em;
}
.block, .wp-block-column {
	max-width: 700px;
	height: fit-content;
	border-radius: 0.2em;
}
.wp-block-columns {
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.block.width-full {
	margin-left: auto;
	margin-right: auto;
}
.wp-block-column {
	margin-right: 3vw;
}
.has-2-columns .wp-block-column:nth-child(2n+2) {
	margin-right: 0;
}
.width-full {
	width: 100%;
}
.width-half {
	width: 47%;
}
.width-third {
	width: 31%;
}
.width-200 {width: 200px;}
.width-800 {width: 800px;}

.m {display:none;}
header {
    width: 100%;
    padding: 3em 0;
    display: inline-block;
    margin-bottom: 1em;
}
#logo {
    float: left;
    width: 20vw;
}
img.logo {
	width: 100px;
	border-radius: 0;
}

.slide-track .slide {
	text-align: center;
}
img.client-logo {
    max-height: 100px;
    width: 100px;
}

form ul, form ul li {
	list-style: none;
	padding-left: 0;
}
.gform_body input, .gform_body textarea {
	width: calc(100% - 1.1em)!important;
}
.peach-background input {
    color: black;
    background: rgba(0,0,0,5%);
}
.peach-background button {
    background: black;
}
.peach-background button:hover {
    background: #252525;
}
button#gform_submit_button_2 {
    margin: 0;
    padding: 0.7em 1.5em!important;
}

form option{
  color: black;
}
ul.menu li {
    display: inline-flex;
    list-style: none;
    margin-bottom: 0;
}
ul.menu li a:link {
    color: white;
    text-decoration: none;
    padding: 0.3em 1em;
    margin-left: 1em;
}
ul.menu li.icon a:link {
	margin-left: 0;
}
ul.menu li a:visited {
	color: white;
}
ul.menu li.current-menu-item a:link, ul.menu li.current-menu-item a:visited {
	color: #f0b69d;
}
ul.menu li a:hover {
    color: #f0b69d;
    text-decoration: underline;
}
ul.menu li.icon a {
	color: white;
}
ul.menu li.icon a:hover {
	text-decoration: none;
	position: static;
	color: #f0b69d;
}
#menu-trigger {
    font-size: 2em;
    position: relative;
    top: -7px;
}
#menu-trigger:hover {
	color: #f0b69d;
	cursor: pointer;
}

i.link-arrow {
    margin-left: 10px;
    -webkit-transition: all .15s ease-in-out;
	-moz-transition: all .15s ease-in-out;
	-ms-transition: all .15s ease-in-out;
	-o-transition: all .15s ease-in-out;
	transition: all .15s ease-in-out;
}
a:hover i.link-arrow {
	margin-left: 13px;
}

.blue {color: #1f39da;}
.peach {color: #f0b69d;}
.gray {color: #838383;}
.blue-background {
    background: #1f39da;
    color: white;
    border-radius: 0.2em;
}
.black-background {
    background: black;
    color: white;
}
.peach-background {
    background: #f0b69d;
    color: black!important;
}
.peach-background a {
	color: black;
}
.color-invert {
	color: white;
}
.color-invert a {
	color: white;
}
.opacity {opacity:0.5}
.border {border-radius:0.2em;border:1px solid #2b2b2b}
.border-bottom {border-bottom:1px solid #2b2b2b}

.space {
	margin-top: 4em;
	margin-bottom: 4em;
}
.space-round {
	margin: 2em;
}
.space-top {
	margin-top: 4em;
}
.space-bottom {
	margin-bottom: 4em;
}
.space-right {
	margin-right: 2em!important;
}
.space-left {
	margin-left: 2em!important;
}
.space-none {
	margin: 0;
	padding: 0;
}

ul,ol {
	margin:0;
	padding: 0;
	padding-left: 40px;
}
.content ul li ul {
    margin: 1em 0 3em 0;
}
ul.menu {
	padding-left:0;
}

.post-meta {
    font-size: .9em;
    margin: 1em 0;
}
.post-meta p {
	margin: 0;
}

nav.bc-links {
    width: 100%;
    opacity: .3;
	-webkit-transition: all .15s ease-in-out;
	-moz-transition: all .15s ease-in-out;
	-ms-transition: all .15s ease-in-out;
	-o-transition: all .15s ease-in-out;
	transition: all .15s ease-in-out;
}
nav.bc-links:hover {
	opacity: 1;
}
nav.bc-links p {
	margin: 0;
}
nav.bc-links a {
	text-decoration: none;
}


blockquote {
    font-size: 2em;
    color: black;
    margin: 0;
    padding: 1em;
    border-radius: 3px;
    font-family: 'gt sectra', serif;
    font-weight: bold;
    background: #F0B69D;
}
blockquote p {
	margin: 0;
	line-height: inherit;
}

.map iframe{
	width: 100%;
	height: 500px;
	display: block;
	pointer-events: none;
	position: relative; /* IE needs a position other than static */
}
.map iframe.clicked{
	pointer-events: auto;
}


/* MISC */
img, iframe, object {
	max-width: 100%;
	height: auto;
}
figure {
    margin: 0;
}
.align-right {text-align: right;}
.inline {
	display: inline-block;
	float: left;
}
ul.inline {
    display: inline-flex;
    list-style: none;
}
ul.inline li {
    margin: 0;
    margin-right: 1.5em;
    padding: 0;
}
.align-right ul.inline li {
    margin: 0;
    margin-left: 1.5em;
    margin-right: 0;
}
.gform_footer.top_label{ height: 50px; /*The container is to big*/ }
button, a.button, .gform_wrapper .gform_footer input[type=submit],input[type=submit], .gform_wrapper form .gform_page .gform_page_footer input.button, .wp-block-button__link {
	background: #1f39da;
    color: white!important;
    width: auto!important;
    padding: 0.6em 1.5em!important;
    border-radius: 0.2em;
    border: 0;
    font-size: 1em;
    margin: 1em 0;
    text-decoration: none;
    display: inline-block;
}
.color-invert button, .color-invert a.button, .color-invert .gform_wrapper .gform_footer input[type=submit], .color-invert input[type=submit], .color-invert .gform_wrapper form .gform_page .gform_page_footer input.button, .color-invert .wp-block-button__link {
	background: white;
    color: #1f39da!important;
}
.excerpt .button {
	margin: 0;
}
button:hover, a.button:hover, .gform_wrapper .gform_footer input[type=submit]:hover,input[type=submit]:hover, .wp-block-button__link:hover {
	background: #2e47de;
    cursor: pointer;
    cursor: hand;
}
button:active, a.button:active, .gform_wrapper .gform_footer input[type=submit]:active,input[type=submit]:active, .wp-block-button__link:active {
    top: 1px;
    background: #f0b69d;
    box-shadow: none;
}
.color-invert .button, .color-invert .gform_wrapper .gform_footer input[type=submit], .color-invert .gform_wrapper form .gform_page .gform_page_footer input.button {
    background: white;
    color: #1f39da!important;
}
.color-invert .button:hover, .color-invert .gform_wrapper .gform_footer input[type=submit]:hover, .color-invert .gform_wrapper form .gform_page .gform_page_footer input.button:hover {
	background: rgba(255,255,255,.8);
    color: inherit;
}
.black-background.color-invert .button, .black-background.color-invert .gform_wrapper .gform_footer input[type=submit], .black-background.color-invert .gform_wrapper form .gform_page .gform_page_footer input.button {
    background: #F0B69D;
    color: black!important;
}
.black-background.color-invert .button:hover, .black-background.color-invert .gform_wrapper .gform_footer input[type=submit]:hover, .black-background.color-invert .gform_wrapper form .gform_page .gform_page_footer input.button:hover {
	opacity: .85;
}
label.gfield_label, .gfield_visibility_hidden {
    display: none!important;
}
.gform_wrapper .gfield_required {
    color: #f0b69d!important;
}
form.flex .gform_body {
    width: 100%;
    max-width: 400px;
}

input.s {
	max-width: 420px;
    float: left;
}

.md-modal input, .md-modal textarea, .md-modal button {
    border: none;
}

input, textarea {
    background: rgb(255 255 255 / 3%);
    color: white;
    border: 1px solid #2b2b2b;
    padding: 0.6em 0.5em!important;
    border-radius: 3px!important;
    width: calc(100% - 1.2em)!important;
    margin: 0!important;
    font-size: inherit;
    max-height: 64pt;
    font-family: inherit;
    outline: none;
}
button,.button {
	outline: none;
}
.color-invert textarea, .color-invert input:not(.button) {
	background: rgba(255, 255, 255, 0.15)!important;
	border: none;
}
.color-invert textarea::placeholder, .color-invert input::placeholder {
    color: rgba(255,255,255,0.6)!important;
}
textarea::placeholder, input::placeholder {
	color: rgba(255,255,255,.6);
}
.peach-background textarea::placeholder, .peach-background input::placeholder {
	color: rgba(0,0,0,.6);
}
select,select.gfield_select {
	display: block;
    color: rgba(255,255,255,.6);
    line-height: 1.3!important;
    padding: .6em 1.4em .6em .5em!important;
    font-size: inherit;
    width: 100%!important;
    max-width: 100%;
    box-sizing: border-box!important;
    margin: 0;
    border: 1px solid #2b2b2b;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.03);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='black'><polygon points='0,0 100,0 50,50'/></svg>"), linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%,rgba(255, 255, 255, 0) 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 60%, 0 0;
    background-size: .65em auto, 100%;
}
.color-invert select, .color-invert select.gfield_select {
	color: rgba(255,255,255,0.6)!important;
	background-color: rgba(255, 255, 255, 0.15)!important;
	border: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='white'><polygon points='0,0 100,0 50,50'/></svg>"), linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%,rgba(255, 255, 255, 0) 100%);
}
input,textarea,button,input[type=submit],select {
	-moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: transparent!important;
    margin-bottom: 0!important;
    border-top: 0!important;
    border-bottom: 0!important;
    padding-bottom: 0!important;
    padding-top: 0!important;
}
.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper li.gfield_error textarea {
    border: 0!important;
}
.gform_wrapper .validation_message {
    color: #ffabab!important;
    font-weight: normal!important;
}
.validation_error {
    display: none!important;
}
.gform_wrapper .field_description_below .gfield_description {
    padding-top: 5px!important;
	margin-bottom: 1em;
    font-size: .8em;
}
.gform_wrapper ul.gform_fields li.gfield {
    padding-right: 0!important;
}

table {
    width: 100%;
    text-align: left;
    padding: 1em;
    border-collapse: collapse;
}
table.data-table {
    background: black;
    border-radius: 0.5rem;
}
table.data-table td {
	padding: 0.5rem 1rem;
}
table.data-table tr:nth-child(odd) {
    background: #04040a;
}

.slide {
	filter: blur(3px);
}
.slick-active {
	filter: blur(0);
}
.slick-active:first-of-type {
	background: blue;
}

li.gform_validation_container {
    display: none;
}
div#gform_confirmation_wrapper_1 {
    background: #1f39da;
    padding: 2rem;
    border-radius: 0.4rem;
}

img {
	border-radius: 0.2em;
	filter: blur(0);
	-webkit-transition: all .15s ease-in-out;
	-moz-transition: all .15s ease-in-out;
	-ms-transition: all .15s ease-in-out;
	-o-transition: all .15s ease-in-out;
	transition: all .15s ease-in-out;
}
.image-container {
	overflow: hidden;
}
.image-container.round {
    height: 9em;
    width: 9em;
    border-radius: 100%;
}
a .image-container img:hover {
	filter: saturate(0);
}
.image-container.float-top {
	position: relative;
	top: -10em;
}
img.icon {
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: 0.5em;
}
.no-decoration, a.no-decoration {
	text-decoration: none;
	color: black;
}
a.no-decoration:hover {
	color: #1f39da;
}

footer img {
	-webkit-animation: saturateGlow 100ms alternate infinite;
	animation: saturateGlow 100ms alternate infinite;
}
@-webkit-keyframes saturateGlow {
  0% {
    -webkit-filter: saturate(1);
    filter: saturate(1);
  }
  100% {
    -webkit-filter: saturate(1.2);
    filter: saturate(1.2);
  }
}
@keyframes saturateGlow {
  0% {
    -webkit-filter: saturate(1);
    filter: saturate(1);
  }
  100% {
    -webkit-filter: saturate(1.2);
    filter: saturate(1.2);
  }
}

/* Media queries */

@media screen and (max-width: 800px) {
	.m {display:block;}
	.d {display:none;}
	.wp-block-columns {display:block;}
	.block, .wp-block-column {width:100%;margin-bottom:1em;margin-right:0;}
	.width-third {
		width: 47%;
	}
	ul.inline {display: inline-block;}
	header {padding:3em 0 0 0;margin-bottom:0;}
	.image-container.float-top {top: 0;}
}
@media screen and (max-width: 650px) {
	.width-third {width:100%;}
}


.num_bubble {
    background: #1f39da;
    width: 2em;
    height: 2em;
    border-radius: 100%;
    overflow: hidden;
    display: block;
    text-align: center;
    line-height: 2;
}

#notifications {
	position: fixed;
    bottom: 0.5em;
    left: 1em;
    width: 100%;
    max-width: 220px;
    max-height: 100%;
    height: auto;
    z-index: 9999;
}
#notifications .item {
	background: black;
    color: #F0B69D;
    padding: 1em;
    width: calc(100% - 2em);
    border-radius: 3px;
    margin: 0.5em 0;
    opacity: 1;
    position: relative;
    bottom: 0;
	-webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}
#notifications .item.hidden {
	bottom: -100px;
	opacity: 0;
}
#notifications .item p {margin:0}
#notifications .item svg {position:relative;top:5px;}

/* General styles for the modal */

/*
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the
perspective effects (not including the modals and the overlay).
*/
.md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

.md-perspective body  {
	background: #222;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}

.container {
	background: #e74c3c;
	min-height: 100%;
}

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 630px;
	min-width: 320px;
	height: auto;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(0, 0, 0, 0.8);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

.md-close {
    float: right;
    top: 1em;
    right: 1em;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 0.5;
    z-index: 99;
}
.md-close:hover {
	cursor: pointer;
    opacity: 1;
}

/* Content styles */
.md-content {
	color: white;
	background: #1f38d9;
	position: relative;
	border-radius: 5px;
	margin: 0 auto;
}

.md-content h3 {
	margin: 0;
    padding: 1em 4em 1em 1.5em;
    width: calc(100% - 5.5em);
    font-size: 1em;
    opacity: 0.6;
    font-weight: normal;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.md-content > div {
	padding: 1.5em;
	margin: 0;
	font-weight: 300;
	font-size: 1em;
}

.md-content > div p {
	margin: 0;
	padding: 10px 0;
}

.md-content > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.md-content > div ul li {
	padding: 5px 0;
}

.md-content button {
	margin: 0;
}

/* Individual modal styles with animations/transitions */

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}
.ginput_recaptcha {
    overflow: hidden;
}
.grecaptcha-badge {
    display: none!important;
}