@font-face {
  font-family: 'Unna';
  src: local('../fonts/Unna Bold Italic'), local('Unna-BoldItalic'), url('../fonts/Unna-BoldItalic.woff2') format('woff2'), url('../fonts/Unna-BoldItalic.woff') format('woff'), url('../fonts/Unna-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: 'Unna';
  src: local('../fonts/Unna Regular'), local('Unna-Regular'), url('../fonts/Unna-Regular.woff2') format('woff2'), url('../fonts/Unna-Regular.woff') format('woff'), url('../fonts/Unna-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Unna';
  src: local('../fonts/Unna Bold'), local('Unna-Bold'), url('../fonts/Unna-Bold.woff2') format('woff2'), url('../fonts/Unna-Bold.woff') format('woff'), url('../fonts/Unna-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Unna';
  src: local('../fonts/Unna Italic'), local('Unna-Italic'), url('../fonts/Unna-Italic.woff2') format('woff2'), url('../fonts/Unna-Italic.woff') format('woff'), url('../fonts/Unna-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
/* ------------------------------------------------------------------------------
GENERAL           */
html {
  font-family: 'Century Gothic', 'Unna', sans-serif !important;
  font-size: 62.5%;
  /* font-size 1em = 10px on default browser settings */
  margin: 0;
  padding: 0;
}
body {
  background: #ffffff;
}
.main-wrapper {
  margin: 7em 0 1em 0;
}
.main-wrapper .col-md-7 {
  padding-left: 35px;
}
#footer_ny {
  padding: 20px;
  background-color: #e6dcd1;
  text-align: center;
}
#footer_ny ul {
  list-style: none;
  padding: 0;
}
#footer_ny ul li {
  display: inline;
  padding: 0 0.5em;
}
#footer_ny ul a {
  color: #000000;
  font-size: 0.8em;
}
/* ------------------------------------------------------------------------------
COLORS           */
/* ------------------------------------------------------------------------------
FONT STYLING           */
p {
  font-size: 1em;
  padding: 0 0 0.5em;
  margin: 0;
  color: #000000;
  line-height: 2em;
}
p a {
  color: #d00000;
}
li {
  font-size: 1em;
}
.list li::before {
  margin-top: 13px;
}
.back,
.forward {
  font-size: 0.8em;
  color: #000000 !important;
}
.back:before,
.forward:before,
.back:after,
.forward:after {
  color: #d00000;
}
.back::before {
  content: '«';
  margin-right: 0.3em;
  vertical-align: text-bottom;
}
.forward::after {
  content: '»';
  margin-left: 0.3em;
  vertical-align: text-bottom;
}
blockquote {
  font-family: 'Unna', 'Times New Roman', Times, serif;
  font-size: 2vw;
  line-height: 1.4em;
  padding: 0;
  border: 0;
  margin: 1em 0 0;
}
blockquote p {
  font-family: 'Unna', 'Times New Roman', Times, serif !important;
}
blockquote p:before,
blockquote p:after {
  color: #d00000;
  font-size: 2.5em;
  line-height: 0.2em;
}
blockquote p::before {
  content: '“';
  margin-left: -0.2em;
  vertical-align: text-bottom;
}
blockquote p::after {
  content: '„';
  vertical-align: baseline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Unna', 'Times New Roman', Times, serif !important;
  padding-bottom: 0.5em;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.1em;
  text-transform: lowercase;
}
h1::first-letter,
h2::first-letter,
h3::first-letter,
h4::first-letter,
h5::first-letter,
h6::first-letter {
  text-transform: capitalize;
}
h1 {
  font-size: 5vw;
}
h2 {
  font-size: 2.5em;
}
h3 {
  font-size: 2.3em;
}
h4 {
  font-size: 2em;
}
/* ------------------------------------------------------------------------------
NAV STYLING           */
header.navbar-ny,
.top-nav {
  background-color: #ffffff !important;
  color: #000000;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  z-index: 3;
  position: relative;
  border: 1px solid transparent;
}
.navbar-header {
  margin-left: 1em;
}
.navbar-header .navbar-brand {
  background-image: url("../img/keybehavior.png") !important;
  background-size: contain;
  background-repeat: no-repeat;
  color: #000000;
  padding: 0;
  display: block;
  float: none;
  font-size: 40px;
  font-weight: normal;
  line-height: 1.5em;
  background-position: left center;
  text-indent: -9999px;
  width: 200px;
  height: 50px;
  margin-left: 0.5em;
}
ul.lang-list li {
  padding-left: 0.5em;
}
ul.lang-list li:last-child {
  padding-right: 0.5em;
}
.logInKey {
  display: inline-block;
  color: #000000;
  padding-left: 0.5em;
  font-size: 12px;
}
#menu_button::after {
  border-bottom: 4px solid #000000 !important;
  border-top: 12px double #000000 !important;
  content: "";
  display: block;
  height: 20px;
  left: 50%;
  margin: -10px -12.5px;
  position: absolute;
  top: 50%;
  width: 25px;
}
.ny-meny {
  position: absolute;
  z-index: -1;
  margin-top: 0.2em;
  right: 1em;
}
.ny-meny li {
  display: inline-block;
  list-style: none;
  height: 40px;
  padding: auto;
}
ul.menu {
  height: 40px;
  line-height: 40px;
  position: relative;
  text-align: right;
  margin: auto;
  padding: auto;
  background-color: #ffffff;
}
ul.menu li {
  width: auto;
}
ul.menu li a {
  font-size: 16px;
  display: block;
  width: auto;
  text-decoration: none;
}
ul.menu li:hover {
  background-color: #ffffff;
}
ul.menu li:hover ul {
  width: 970px;
  background: #ffffff;
  visibility: visible;
}
li.l-1 {
  border-left: 5px solid transparent;
}
li.l-1:hover {
  border-left: 5px solid #d00000;
}
li.l-1:not(:last-child) {
  padding-right: 3em;
}
li.l-2 {
  border-left: 5px solid transparent;
  background: white;
}
li.l-2:hover {
  border-left: 5px solid #d00000;
}
li.l-2:not(:last-child) {
  padding-right: 1em;
}
li.l-2 a {
  padding-bottom: 2em !important;
}
ul.submenu {
  visibility: hidden;
  display: block;
  position: absolute;
  right: 0;
  height: 40px;
  line-height: 40px;
  background-color: #ffffff;
  float: right;
}
ul.submenu a {
  font-size: 13px!important;
}
ul.menu a,
ul.submenu a {
  color: #0e0500;
  padding: 0 10px;
}
.aktiv {
  border-left: 5px solid #d00000 !important;
}
.hide-submenu {
  visibility: hidden!important;
}
/*------------------------------
Mobilmeny */
#meny_button {
  border-radius: 3px;
  height: 50px;
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  z-index: 4;
  cursor: pointer;
}
#meny_button:hover:after,
#meny_button:hover:before {
  border-color: #d00000 !important;
}
#meny_button::after {
  border-bottom: 4px solid #000000;
  border-top: 12px double #000000;
  content: "";
  display: block;
  height: 20px;
  left: 50%;
  margin: -10px -12.5px;
  position: absolute;
  top: 50%;
  width: 25px;
}
.navigate #meny_button::after {
  border-bottom: 3px solid #000000;
  border-left: 3px solid #000000;
  border-top: 0 none;
  content: "";
  display: block;
  height: 15px;
  left: 50%;
  margin: -8px 0 0 -3px;
  position: absolute;
  top: 50%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 15px;
}
.navigate #meny_button::before {
  content: "";
  height: 600px;
  left: 0;
  position: absolute;
  right: -20px;
  top: -20px;
}
#phone_meny {
  overflow: hidden;
  position: absolute;
  right: 0;
  width: 80%;
  z-index: 1;
}
#phone_meny.navigate .phone-menu-inner {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
  visibility: visible;
  border-left: 5px solid #d00000;
}
#phone_meny .phone-menu-inner {
  list-style: none outside none;
  -webkit-transform: translate(50%, 0);
  -ms-transform: translate(50%, 0);
  -o-transform: translate(50%, 0);
  transform: translate(50%, 0);
  -webkit-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
  /*visibility: hidden;*/
}
#phone_meny .phone-menu-inner .log-in-key {
  background-color: #f2ede8;
}
#phone_meny .phone-menu-inner .log-in-key a {
  color: #d00000;
}
#phone_meny .phone-menu-inner .log-in-key .lang-list {
  display: none;
}
#phone_meny .phone-menu-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#phone_meny .phone-menu-inner li.l-1,
#phone_meny .phone-menu-inner li.l-2 {
  padding: 0.2em 1em;
}
#phone_meny .phone-menu-inner li.l-1:not(:last-child),
#phone_meny .phone-menu-inner li.l-2:not(:last-child) {
  padding-right: 0 !important;
}
#phone_meny .phone-menu-inner li.l-1 a,
#phone_meny .phone-menu-inner li.l-2 a {
  color: #000000;
  border: none!important;
  text-transform: none;
  display: block;
}
#phone_meny .phone-menu-inner li.l-1.selected,
#phone_meny .phone-menu-inner li.l-2.selected {
  border-left: 5px solid #d00000;
  font-style: italic;
}
#phone_meny .phone-menu-inner li.l-1 a {
  font-size: 1.4em;
  font-family: 'Unna', 'Times New Roman', Times, serif;
}
#phone_meny .phone-menu-inner li.l-2 {
  padding-left: 1.4em;
}
/* ------------------------------------------------------------------------------
KONTAKTFORMULÄR           */
.links {
  margin: 3em 0 0;
  font-size: 1.4em;
}
.links a {
  color: #d00000;
  display: inline-block;
}
.links a span {
  color: #d00000;
}
.links a:last-child {
  float: right;
}
/* ------------------------------------------------------------------------------
KONTAKTFORMULÄR           */
.questions {
  border: solid 3px #000000;
  padding: 3em;
  margin: 2em 0 5em;
}
.questions h3 {
  margin-top: 0;
}
.questions p {
  font-size: 1.2em;
}
.questions select {
  padding: 0.5em 0.5em;
}
.questions input[type="text"] {
  color: #000000;
  opacity: 1;
}
.questions textarea {
  height: 242px;
}
.questions input,
.questions select {
  display: block;
  line-height: 2em;
  padding-left: 0.5em;
}
.questions input.sendin,
.questions select.sendin {
  background: #d00000;
  color: #ffffff;
  padding: 0.5em 2em;
  border: none;
  border-radius: 0.5em;
}
.questions input[type="button"] {
  padding-right: 1.5em!important;
  padding-left: 1.5em!important;
}
.questions .glyphicon {
  color: #d00000;
}
.questions:before {
  content: "";
  background-image: url("../img/brev.jpg");
  background-size: contain;
  background-position-y: top;
  background-position-x: right;
  background-repeat: no-repeat;
  height: 80px;
  display: block;
  margin-top: -6em;
}
.bildbox {
  margin-top: 3em;
}
/* STARTSIDA
------------------------------------------------------------------------------------------------------ */
#start {
  margin-top: 2em;
}
#start .start-right-column {
  margin-right: 3.5em;
}
#start .start-right-column blockquote p {
  font-size: 2vw;
  line-height: 1.2em;
}
#start .start-right-column p {
  font-size: 1em;
}
#start .videowrapper {
  background-color: #e6dcd1;
  height: 100%;
  width: 100%;
  margin-top: 1em;
  float: right;
}
.bakgrund-full {
  margin-top: 30px;
  display: block;
  height: 25em;
  background: #f2ede8;
  position: relative;
}
.bakgrund-full .start-text-container {
  display: block;
  height: auto;
  width: 62%;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  bottom: -105px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
.analys-samlare {
  margin-top: 50px;
  text-align: center;
  text-transform: initial;
}
/* entire container, keeps perspective */
.flip-container {
  perspective: 1000px;
  display: inline-block;
}
/* flip the pane when hovered */
.flip-container:hover .flipper,
.flip-container.hover .flipper {
  transform: rotateY(180deg);
}
.flip-container,
.kort-front,
.kort-back {
  width: 430px;
  height: 430px;
  margin: 2em 1em;
}
/* flip speed goes here */
.flipper {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;
}
/* hide back of pane during swap */
.kort-front,
.kort-back {
  backface-visibility: hidden;
  position: absolute;
  text-align: left;
  top: 0;
  left: 0;
}
/* front pane, placed above back */
.kort-front {
  z-index: 2;
  /* for firefox 31 */
  transform: rotateY(0deg);
}
.kort-front .kort-analys-bild {
  position: relative;
  background-image: url("../img/analys-bild.png");
  background-size: contain;
  background-position-y: center;
  background-position-x: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  display: block;
}
.kort-front h3 {
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  bottom: 15%;
  left: 0;
  width: auto;
  padding: 0 0.3em;
  text-transform: initial;
}
/* back, initially hidden pane */
.kort-back {
  background: #ffffff;
  border-width: 0.22px;
  border-color: #f2ede8;
  border-style: solid;
  box-shadow: 0px 4px 5px 2px rgba(0, 0, 0, 0.03);
  transform: rotateY(180deg);
  padding: 2em 1em;
}
.kort-back .kort-baksida {
  position: relative;
  width: 100%;
  height: 100%;
}
.kort-back .kort-baksida h3 {
  display: inline-block;
  margin-left: 0.3em;
  text-transform: initial;
}
.kort-back .kort-baksida .kort-ikon {
  background-image: url("../img/ikon-360.png");
  background-size: contain;
  background-position-y: center;
  background-position-x: center;
  background-repeat: no-repeat;
  margin-left: 1em;
  height: 45px;
  width: 45px;
  display: inline-block;
}
.kort-back .kort-baksida ul {
  list-style: none;
}
.kort-back .kort-baksida ul li {
  font-size: 1.1em;
}
.kort-back .kort-baksida ul li::before {
  /*content: "•"; 
                    color: @red;
                    display: inline-block; 
                    width: 1em;
                    margin-left: -1em;*/
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  position: absolute;
  margin-left: -25px;
  margin-top: 10px;
  background-color: #d00000;
}
.kort-back .kort-baksida a {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #000000;
  display: inline-block;
}
.kort-back .kort-baksida a::after {
  content: "»";
  font-size: 1.5em;
  color: #d00000;
  display: inline;
  margin-left: 0.5em;
}
/* MODALBOX
------------------------------------------------------------------------------------------------------ */
.modalgallery {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  z-index: 10001;
}
.modalgallery .close-button {
  position: absolute;
  z-index: 10002;
  top: 10px;
  right: 20px;
  border: 0;
  background: black;
  color: white;
  padding: 5px 10px;
  font-size: 1.3rem;
}
.closed {
  display: none!important;
}
.modal-overlay {
  display: block;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.53);
}
.thumbnail {
  width: 130px;
  height: 130px;
  cursor: pointer;
}
.gallery-item:not(.active) {
  -webkit-filter: grayscale(100%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
/* Bildspel
------------------------------------------------------------------------------------------------------ */
/*#gallery_wrapper {
    .gallery-item {
        display: inline-block;
        width: 150px;
        .picture {
            width: 100%;
            height: 100%;
            background-size: contain;
            background-repeat: no-repeat;
        }
    }
}*/
/* UNDER 480
------------------------------------------------------------------------------------------------------ */
@media (max-width: 480px) {
  :focus {
    border: #f2ede8 dotted 1px;
  }
  .main-wrapper {
    margin: 2em 0!important;
  }
  .container {
    margin: 0!important;
    padding: 0!important;
  }
  .questions {
    padding: 3em 1em 1em 1em!important;
    margin: 0.2em 0.2em 2em!important;
  }
  .navbar-header {
    margin-left: 0;
  }
  #main {
    padding: 2em 2em 0;
  }
  .lang-list {
    float: none!important;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%) !important;
    position: relative!important;
    top: 50%!important;
    margin-left: 1em!important;
  }
  .lang-list .flag {
    margin: 0 2em 0 0!important;
  }
  .top-nav {
    display: none!important;
  }
  .dark {
    background-color: #e6dcd1 !important;
    height: 3.5em;
  }
  .log-in-key .lang-list {
    display: block!important;
  }
  .starttext {
    padding: 0 1em 2em!important;
  }
  .bakgrund-full {
    background: transparent!important;
    margin-top: 0!important;
  }
  .analys-samlare {
    background: #f2ede8;
  }
  .start-text-container {
    width: 100%!important;
    padding: 1em!important;
    bottom: none!important;
    top: 0!important;
  }
  .flip-container:hover .flipper,
  .flip-container.hover .flipper {
    transform: rotateY(0deg) !important;
  }
  .flip-container,
  .kort-front,
  .kort-back {
    margin: 0.5em 0 0 !important;
    height: auto!important;
    position: relative!important;
  }
  .kort-back {
    transform: rotateY(0deg);
    padding: 2em 0.5em!important;
  }
  .kort-back .kort-ikon {
    float: right;
  }
  .kort-back a {
    right: 0.5em!important;
  }
  .kort-back ul {
    margin-bottom: 40px;
  }
  .kort-front {
    display: none;
  }
  blockquote p {
    line-height: 1.1em;
  }
}
/* UNDER 768
------------------------------------------------------------------------------------------------------ */
@media (max-width: 768px) {
  p,
  li,
  p.questions,
  .links {
    font-size: 1em!important;
  }
  blockquote {
    font-size: 2.2em;
    margin: 0.5em 0 0;
  }
  h1 {
    padding-bottom: 0!important;
  }
  h2 {
    font-size: 2.2em;
  }
  h3 {
    font-size: 2em;
  }
  #main {
    padding: 1.5em 0;
  }
  .start-text-container {
    width: 100%!important;
    padding: 2em!important;
  }
  #start .start-right-column {
    margin-right: 0;
  }
  .bildbox {
    margin-bottom: 0!important;
  }
}
/* UNDER 970
------------------------------------------------------------------------------------------------------ */
@media (max-width: 991px) {
  #main {
    padding: 0!important;
  }
  .main-wrapper .col-md-7 {
    padding-left: 0px;
  }
  .top-nav {
    position: absolute;
    right: 0;
    top: 0.3em;
  }
  .top-nav .logInKey {
    display: none!important;
  }
  .top-nav .lang-list {
    padding-right: 1em!important;
  }
}
/* UNDER 1150
		------------------------------------------------------------------------------------------------------ */
@media (max-width: 1150px) {
  li.l-1:not(:last-child),
  li.l-2:not(:last-child) {
    padding-right: 0!important;
  }
  .bildbox {
    margin-top: 1em;
  }
  .headline {
    padding-bottom: 0;
  }
}
/* UNDER 1250
		------------------------------------------------------------------------------------------------------ */
@media (max-width: 1248px) {
  p,
  li,
  p.questions {
    font-size: 1.2em;
  }
  .ny-meny li.l-1:not(:last-child) {
    padding-right: 2em;
  }
  .ny-meny li.l-2:not(:last-child) {
    padding-right: 0!important;
  }
  .ny-meny li.l-2:not(:last-child) a {
    padding: 0 5px;
  }
  #main {
    padding: 50px 0 0!important;
  }
}
