/*!
Theme Name: GKF Theme
Theme URI: www.smuffi.se
Description: Theme custom made for the GKF.
Author: Stefan Bertilsson
Author URI: www.smuffi.se
Version: 1.0
Tags: red, green, blue

License: 
License URI: 

General comments.
*/
/* 
* @include triangle within a pseudo element and add positioning properties (ie. top, left)
* $direction: up, down, left, right
*/
.v-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: none; }

.box:after, .box:before {
  content: "";
  display: table; }
.box:after {
  clear: both; }

.box {
  clear: both;
  padding: 0px;
  margin: 0 auto;
  max-width: 1024px; }

.col_1 {
  width: 6.86667%; }

.col_2 {
  width: 15.33333%; }

.col_3 {
  width: 23.8%; }

.col_4 {
  width: 32.26667%; }

.col_5 {
  width: 40.73333%; }

.col_6 {
  width: 49.2%; }

.col_7 {
  width: 57.66667%; }

.col_8 {
  width: 66.13333%; }

.col_9 {
  width: 74.6%; }

.col_10 {
  width: 83.06667%; }

.col_11 {
  width: 91.53333%; }

.col_12 {
  width: 100.0%; }

.col_1, .col_2, .col_3, .col_4, .col_5, .col_6, .col_7, .col_8, .col_9, .col_10, .col_11, .col_12 {
  display: block;
  float: left;
  margin: 1% 0 1% 1.6%; }
  .col_1:first-child, .col_2:first-child, .col_3:first-child, .col_4:first-child, .col_5:first-child, .col_6:first-child, .col_7:first-child, .col_8:first-child, .col_9:first-child, .col_10:first-child, .col_11:first-child, .col_12:first-child {
    margin-left: 0; }
  @media screen and (max-width: 38em) {
    .col_1, .col_2, .col_3, .col_4, .col_5, .col_6, .col_7, .col_8, .col_9, .col_10, .col_11, .col_12 {
      width: 100%;
      margin-left: 0; } }

/* ==========================================================================
   Normalize.scss settings
   ========================================================================== */
/**
 * Includes legacy browser support IE6/7
 *
 * Set to false if you want to drop support for IE6 and IE7
 */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/*
 * Corrects `block` display not defined in IE 8/9.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block; }

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
audio,
canvas,
video {
  display: inline-block; }

/**
 * Prevents modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Address `[hidden]` styling not present in IE 8/9.
 * Hide the `template` element in IE, Safari, and Firefox < 22.
 */
[hidden], template {
  display: none; }

/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 * 3.Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 */
html {
  font-family: "Open Sans", sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/**
 * Remove default margin.
 * Add default font color.
 */
body {
  margin: 0;
  color: #333333; }

/* ==========================================================================
   Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background: transparent; }

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
/**
 * Improves readability when focused and also mouse hovered in all browsers.
 */
a:focus {
  outline: thin dotted; }
a:active, a:hover {
  outline: 0; }

/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Addresses font sizes and margins set differently in IE 6/7.
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted; }

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
b,
strong {
  font-weight: bold; }

/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic; }

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0; }

/**
 * Addresses styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000; }

/**
 * Addresses margins set differently in IE 6/7.
 */
/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em; }

/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
  white-space: pre-wrap; }

/**
 *  Set consistent quote types.
 */
q {
  quotes: "\201C" "\201D" "\2018" "\2019"; }

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.25em; }

/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * 1. Remove border when inside `a` element in IE 8/9.
 * 2. Improves image quality when scaled in IE 7.
 */
img {
  border: 0; }

/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden; }

/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari 5.
 */
figure {
  margin: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 * 3. Corrects text not wrapping in Firefox 3.
 * 4. Corrects alignment displayed oddly in IE 6/7.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 * 4. Improves appearance and consistency in all browsers.
 */
button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 2 */
  margin: 0;
  /* 3 */ }

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal; }

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none; }

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Removes inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */ }

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default; }

/**
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 7/8/9/10.
 *    Known issue: excess padding remains in IE 6.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box; }

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0; }

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */ }

/* ==========================================================================
   Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0; }

body {
  margin: 0;
  padding: 0; }

img {
  max-width: 100%; }

.text-center {
  text-align: center;
  display: block; }

#main-content h2, #prayer h2 {
  font-weight: 400;
  margin-bottom: 2px;
  font-size: 1.3em; }
#main-content p, #prayer p {
  margin-top: 0; }

.prayer_text {
  margin-bottom: 2em; }

.primary_color {
  color: #0074d9; }

.prayer-color {
  color: black; }

.secondary-text-color {
  color: black; }

.prayer_button {
  font-family: "Open Sans";
  color: #333333;
  text-decoration: none; }

.grid-item {
  text-align: center;
  font-size: 1.3em; }

.text_white {
  color: #bdc3c7; }

.text_x05 {
  font-size: 0.8em; }

.text_x1 {
  font-size: 1.1em; }

.text_x2 {
  font-size: 2em; }

.text_x3 {
  font-size: 2.3em; }

.text_x4 {
  font-size: 2.5em; }

.margin-bottom {
  margin-bottom: 2em; }

.margin-top {
  margin-top: 2em; }

/* slider */
#slider {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0 auto;
  border-radius: 4px; }

#slider ul {
  position: relative;
  margin: 0;
  padding: 0;
  height: 400px;
  list-style: none; }

#slider ul li {
  position: relative;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 500px;
  background-position: center bottom;
  -webkit-background-size: contain;
  moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  background-repeat: no-repeat; }
  #slider ul li img {
    position: relative;
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain; }

a.control_prev, a.control_next {
  position: absolute;
  top: 40%;
  z-index: 999;
  display: block;
  padding: 4% 3%;
  width: auto;
  height: auto;
  background: #2a2a2a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  opacity: 0.8;
  cursor: pointer; }

a.control_prev:hover, a.control_next:hover {
  opacity: 1;
  -webkit-transition: all 0.2s ease; }

a.control_prev {
  border-radius: 0 2px 2px 0; }

a.control_next {
  right: 0;
  border-radius: 2px 0 0 2px; }

.slider_option {
  position: relative;
  margin: 10px auto;
  width: 160px;
  font-size: 18px; }

.prayer_body {
  background-image: url("images/gavle_cut.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%; }

.prayer_button {
  padding: 10px 20px;
  border-radius: 6px;
  background-color: rgba(0, 116, 217, 0.7); }

.prayer_box {
  box-sizing: border-box; }

.prayer_wrapper {
  width: 90%;
  margin: 0 auto; }

.margin-left {
  margin-left: 5%; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-gap: 10px;
  grid-auto-rows: minmax(180px, auto);
  grid-auto-flow: dense;
  padding: 10px; }

.grid-item {
  padding: 1rem;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px; }

.grid-center {
  display: flex;
  align-items: center;
  justify-content: center; }

.prayer_article {
  display: block;
  margin-bottom: 1.5em; }

.span_width_2 {
  grid-column-end: span 2; }

.span_height_2 {
  grid-row-end: span 2; }

.span_height_3 {
  grid-row-end: span 3; }

.color-1 {
  background: rgba(0, 116, 217, 0.7); }

.color-2 {
  background: rgba(13, 142, 255, 0.7); }

.color-3 {
  background: rgba(46, 204, 64, 0.7); }

.color-4 {
  background: rgba(255, 126, 13, 0.7); }

.color-5 {
  background: rgba(217, 101, 0, 0.7); }

.color-6 {
  background: rgba(240, 185, 166, 0.7); }

.color-7 {
  background: rgba(233, 150, 122, 0.7); }

.color-8 {
  background: rgba(255, 220, 0, 0.7); }

.board_member:nth-of-type(4n+5) {
  margin-left: 0; }

.board_member {
  box-sizing: border-box;
  border: 1px solid black;
  text-align: center;
  padding-bottom: 40px;
  border-radius: 4px; }

.hero-text {
  position: absolute;
  top: -21px;
  left: 0;
  right: 0;
  background-color: rgba(0, 116, 217, 0.5); }

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */ }

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; }

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold; }

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer; }

.modal-content {
  width: 600px !important;
  display: block; }
  .modal-content textarea {
    display: block;
    width: 90%;
    margin: 0 auto;
    height: 200px;
    margin-bottom: 2em; }
  .modal-content input {
    margin-left: 5%;
    margin-bottom: 2em; }
  .modal-content input[type=submit] {
    margin-bottom: 0;
    background-color: #0074d9;
    color: white;
    padding: 1em 2em;
    border: none;
    border-radius: 4px;
    cursor: pointer; }

footer {
  margin-top: 2em;
  background: #333333;
  width: 100%; }

#hero-unit {
  height: 700px;
  width: 100%;
  background-position: center bottom;
  -webkit-background-size: cover;
  moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat; }

#slider-wrapper {
  width: 100%;
  height: 700px;
  margin: 50px auto;
  position: relative;
  margin-bottom: 0px;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden; }

#s1 {
  padding: 6px;
  background: #000000;
  position: absolute;
  left: 50%;
  bottom: 25px;
  margin-left: -36px;
  border-radius: 20px;
  opacity: 0.3;
  cursor: pointer;
  z-index: 999; }

#s2 {
  padding: 6px;
  background: #000000;
  position: absolute;
  left: 50%;
  bottom: 25px;
  margin-left: -12px;
  border-radius: 20px;
  opacity: 0.3;
  cursor: pointer;
  z-index: 999; }

#s3 {
  padding: 6px;
  background: #000000;
  position: absolute;
  left: 50%;
  bottom: 25px;
  margin-left: 12px;
  border-radius: 20px;
  opacity: 0.3;
  cursor: pointer;
  z-index: 999; }

#s4 {
  padding: 6px;
  background: #000000;
  position: absolute;
  left: 50%;
  bottom: 25px;
  margin-left: 36px;
  border-radius: 20px;
  opacity: 0.3;
  cursor: pointer;
  z-index: 999; }

#s1:hover,
#s2:hover,
#s3:hover,
#s4:hover {
  opacity: .50; }

.inner-wrapper {
  width: 100%;
  height: 700px;
  position: absolute;
  top: 0;
  left: 0;
  margin-bottom: 0px;
  overflow: hidden; }

.control {
  display: none; }

#Slide1:checked ~ .overflow-wrapper {
  margin-left: 0%; }

#Slide2:checked ~ .overflow-wrapper {
  margin-left: -100%; }

#Slide3:checked ~ .overflow-wrapper {
  margin-left: -200%; }

#Slide4:checked ~ .overflow-wrapper {
  margin-left: -300%; }

#Slide1:checked + #s1 {
  opacity: 1; }

#Slide2:checked + #s2 {
  opacity: 1; }

#Slide3:checked + #s3 {
  opacity: 1; }

#Slide4:checked + #s4 {
  opacity: 1; }

.overflow-wrapper {
  width: 400%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow-y: hidden;
  z-index: 1;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out; }

.slide img {
  width: 25%;
  float: left;
  min-height: 100%;
  object-fit: cover; }
