/*
	Theme Name: Saltskar tema
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto) & Prinfo Rydins
	Author URI: http://toddmotto.com,  http://www.prinforydins.se/
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
    box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
    background:rgb(16, 41, 78);
	font-family: 'Ubuntu', sans-serif;
    font-size:15px;
	color:#212121;
    line-height:150%;
    letter-spacing:0.01em;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
    text-decoration:none;
    color:#008abd;
}

a:hover {
    color:#4BBBE4 ;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}


/*------------------------------------*\
    FONTS / TYPSNITT
\*------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-weight:300;
    line-height:140%;
}

h1 {
    font-size:35px;
    letter-spacing:0.05em;
}

h2 {
    font-size:28px;
    margin:60px 0 5px 0;
    letter-spacing:0.05em;
}

h3 {
    font-size:24px;
    margin:60px 0 0px 0;
}

h4 {
    font-size:22px;
    margin:50px 0 -2px 0;
}

h5 {
    font-weight:400;
    font-size:18px;
    margin:40px 0 -5px 0;
    color:#384677 ;
}

h6 {
    font-weight:400;
    font-size:16px;
    margin:20px 0 -5px 0;
    color:#384677 ;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	width:100%;
    max-width:1800px;
	margin:0 auto;
	position:relative;
    background:#fff;
}


/* :::: PAGE ::::: */

.topp_bild img {
    width:100%;
    max-width:100% !Important;
}

.page_content {
    max-width:980px;
    margin:0 auto;
    padding:100px 40px;
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/

.header {
    position:absolute;
    z-index:2;
    width:100%;
}

.regular_header {
    max-width:940px;
    margin:40px auto;
    padding:0 20px;
}
/* logo */
.regular_header .logo {
    width:160px;
}

/*------------------------------------*\
    NAV
\*------------------------------------*/

.header nav ul li {
    margin-left:15px;
}

.header nav ul a {
  color: #212121;
  text-transform: uppercase;
  font-size: 14px;
    border-bottom:2px solid transparent;
}

.header nav ul a:hover {
  color: #223166;
}

.regular_header nav {
    margin-top:40px;
}

.regular_header nav ul a {
  color: #223166;
  text-transform: uppercase;
  font-size: 15px;
}

.regular_header nav ul a:hover {
  color: #212121;
}

.regular_header .mobile_toggle {
  display:none;
}



/* --------------------------------------*\
    STICKY HEADER 
/*--------------------------------------*/

.sticky_header {
  position: fixed;
  top: 0px;
  max-height: 100px;
  z-index: 999;
  width: 100%;
  padding-top: 17px;
  background: none;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0;
  top: -100px;
  padding-bottom: 6px;
  z-index:100;
    
}

.logo {
  width: 80px;
  font-size: 25px;
  color: #8f8f8f;
  text-transform: uppercase;
  float: left;
  display: block;
  margin-top: 0;
  line-height: 1;
  margin-bottom: 10px;
}

nav {
    float: right;
    width: 60%;
    margin-top:10px;
}

nav ul {
  list-style: none;
  overflow: hidden;
  text-align: right;
  /*float: right;*/
}

nav ul li {
  display: inline-block;
  line-height: 1.5;
}

.open-nav {
  max-height: 400px !important;
}

.open-nav .mobile_toggle_static {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}

.sticky {
  background-color: rgba(255, 255, 255, 0.93);
  opacity: 1;
  top: 0px;
  border-bottom: 1px solid gainsboro;
}

.mobile_toggle_static {
  display: none;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  right: 22px;
  top: 20px;
  width: 30px;
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}

.mobile_toggle_static span {
    width: 25px;
    height: 3px;
    margin-bottom: 4px;
    border-radius: 1000px;
    background: #212121;
    display: block;
}

.sticky_menu {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  padding: 0 2%;
}



/*------------------------------------*\
    FOOTER
\*------------------------------------*/

.footer {
    background:rgb(33, 64, 111);
    color:#fff;
}

.footer .widget_text h3 {
    display:none;
}


/*------------------------------------*\
    HOME
\*------------------------------------*/

.home_page img {
    width:100%;
}

.page_content img {
    width:auto;
    height:auto;
}

/* :::::::::: STORTEXT :::::::::: */

.stor_text {
    font-weight:300;
}

.stor_text h2 {
    font-size:60px !important;
    margin-top:0;
}

.stor_text h3 {
    font-size:36px !important;
    margin-top:0;
}

.stor_text p {
    font-size:36px;
    line-height:130%;
}

.stor_text em {
    font-size:22px;
    font-style:normal;
}

/* :::::::::: STARTBLOCK :::::::::: */

.start_block  {
    position:relative;
}

.start_block .start_rubrik {
    padding:40px;
    position:absolute;
    top:30%;
    left:0;
    right:0;
    -webkit-transform: translateY(-30%);
    -ms-transform: translateY(-30%);
    transform: translateY(-30%);
    
    text-align:center;
}

.start_block .start_rubrik h1 {
    font-size:45px;
    text-transform:uppercase;
    font-weight:300;
    color:#fff ;
    text-shadow:2px 2px #273668;
}

.start_block .sm {
    position:absolute;
    bottom:60px;
    left:40px;
    right:40px;
    text-align:center;
}

.start_block .sm i {
    font-size:40px;
    padding:10px;
    color:#fff;
}

.start_block .sm i:hover {
    color:#4BBBE4 ;
}

/* :::::::::: TEXT MED BAKGRUNDSBILD :::::::::: */

.t_bg {
    background-position:center center;
    background-size:cover;
    background-repeat:no-repeat;
}

.t_bg_content h2 {
    margin-top:15px;
    font-size:34px;
    text-transform:uppercase;
    font-weight:400;
    color:#223166 ;
}

.t_bg_content p {
    line-height:180%;
    font-weight:300;
    font-size:20px;
    color:#333 ;
}

.t_bg_content strong {
    line-height:160%;
    font-weight:300;
    font-size:20px;
    color:#223166 ;
    font-style:normal;
    font-weight:500;
}

.t_bg_content del {
    text-decoration: none;
    display:block;
    margin-top:30px;
    font-weight:400;
    font-size:28px;
    color:#223166 ;
}

.t_bg_content a {
    color:#223166;
    font-weight:500;
}

.t_bg_content a:hover {
    color:#4BBBE4 ;
}

.t_stor_text {
    position:absolute;
    top:100px;
    left:0;
    right:0;
    z-index:1;
    padding:30px;
    color:#fff;
}


/* :::::::::: TEXTBOX MED BAKGRUNDSBILD :::::::::: */

.tb_bg {
    position:relative;
}

.tb_bg_content.vanster {
    left:40px;
}


.tb_bg_content.hoger {
    right:40px;
}

.tb_bg_content  {
    position:absolute;
    top:100px;
    transform: translateY(-10%);
    -moz-transform: translateY(-10%);
    -webkit-transform: translateY(-10%);
    z-index:1;
    width:50%;
    max-width:410px;
    padding:30px;
    background:rgb(33, 64, 111);
    color:#fff;
    font-size:16px;
    line-height:170%;
}

.tb_bg_content h2 {
    margin-top:15px;
    font-weight:400;
}

.tb_bg_content a {
    color:#008abd;
    font-weight:500;
}

.tb_bg_content a:hover {
    color:#4BBBE4 ;
}

/* :::::::::: TEXTFÄLT :::::::::: */

.textfalt {
    background:rgb(33, 64, 111);
    color:#fff;
}

.textfalt h2 {
    margin-top:0;
    font-size:36px;
    text-transform:uppercase;
    font-weight:300;
    color:#fff ;
}

.textfalt p {
    line-height:180%;
    font-weight:300;
    font-size:20px;
}

.textfalt a {
    color:#008abd;
    font-weight:500;
}

.textfalt a:hover {
    color:#4BBBE4 ;
}

/* :::::::::: FULLVIDDS BILD :::::::::: */



/*------------------------------------*\
    KONTAKT BLOCK
\*------------------------------------*/

.kontakt .content-column img {
    width:90%;
    background:#fff;
    padding:5px;
    border:1px solid #f5f5f5;
    -moz-box-shadow: 0px 0px 10px #999;
    -webkit-box-shadow: 0px 0px 10px #999;
    box-shadow: 0px 0px 10px #999;
}

.kontakt .one_third img {
      transform: rotate(-3deg);
    -webkit-transform: rotate(-3deg);
}

.kontakt  .t_bg_content  del {
    display:inline-block;
    margin:0;
}

.kontakt  .t_bg_content h3 strong  {
    display:inline-block;
}

/*------------------------------------*\
    B + S = S
\*------------------------------------*/

    .b-u-s  em {
        display:block ;
        text-align:center;
        margin-top:10px;
    }   

/*------------------------------------*\
    KONTAKTFORMULÄR
\*------------------------------------*/

div.wpcf7 {
    margin-top:40px;
}

.wpcf7 input {
    width:100%;
    box-sizing:border-box;
    outline:none;
    border:0;
    padding:10px;
}

.wpcf7 p {
    display:block;
    width:49%;
    float:left;
    margin:25px 2% 0 0;
}

.wpcf7 em {
    display:block;
    padding:0px 15px 0px 0px ;
    font-size:20px;
    font-weight:300;
    font-style:normal;
}

.wpcf7 .mail_box,
.wpcf7 .datum_box,
.wpcf7 .avgangstid_box {
    margin-right:0%;
}

.wpcf7 .skicka_block,
.wpcf7 .bestallare_box {
    display:block;
    clear:both;
    float:none;
    width:100%;
    margin:0;
    text-align:left;
}

.wpcf7 .skicka_block {
    padding-top:15px;
}

.wpcf7 .skicka_block input {
    display:block;
    clear:both;
    float:none;
    width:100%;
    margin:0;
    padding:0;
    text-align:left;
}

.wpcf7 .bestallare_box span {
    display:block;
}

.wpcf7 .skicka_block input {
    background:none;
    border:none;
    outline:none;
    font-size:20px;
    color:#fff;
}

.wpcf7 .skicka_block input:hover {
    color:#4BBBE4;
}

span.wpcf7-not-valid-tip {
    /*display:none !important;*/
    color:#F75600;
    font-size:14px;
    font-weight:600;
}

div.wpcf7-response-output {
    margin:2em 0.5em 1em 0;
    border:none !important;
    font-weight: bold;
    padding: 0 0 10px 0;
    font-size: 17px;
}

div.wpcf7-mail-sent-ok {
    border:none !important;
    border-bottom: 2px solid #008abd !important;
    color: #008abd;
}

div.wpcf7-validation-errors{
    border:none !important;
    border-bottom: 2px solid #F75600   !important;
    color: #F75600  ;
}

/*------------------------------------*\
    KOLUMNER
\*------------------------------------*/

.content-column {
    word-break:break-word !Important;
}

.full_width  {
	width: 100%;
}
.one_half  {
	width: 49% !important;
    margin-right:2%;
}
.one_third  {
	width: 32% !important;
    margin-right:2%;
}
.two_third  {
	width: 66% !important;
    margin-right:2%;
}
.one_fourth  {
	width: 23.5% !important;
    margin-right:2%;
}
.three_fourth  {
	width: 74.5% !important;
    margin-right:2%;
}
.one_fifth  {
	width: 18.4% !important;
    margin-right:2%;
}
.two_fifth  {
	width: 38.8% !important;
    margin-right:2%;
}
.three_fifth  {
	width: 59.2%!important;
    margin-right:2%;
}
.four_fifth  {
	width: 19.6% !important;
    margin-right:2%;
}
.one_sixth  {
	width: 15% !important;
    margin-right:2%;
}
.five_sixth  {
	width: 83% !important;
    margin-right:2%;
}

.last_column {
    margin-right:0;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width: 940px) {
     
    
    .page_content {
        padding:60px 40px;
    }
    
    /*  ::::: HOME R ::::::: */

    .tb_bg_content {
        position:static;
        transform:translateY(0);
        -moz-transform:translateY(0);
        -webkit-transform:translateY(0);
        max-width:100%;    
        width:100%;
    } 

    .tb_bg.stor_text .page_content  {
        top:0px;
    }

    /* logo */
    .regular_header .logo {
        width:100px;
    }
    
    .regular_header nav {
        margin-top:20px;
    }

}



@media only screen and (max-width: 766px) {

 /*  ::::: FONTS ::::::: */
    
    h1 {
        font-size:30px;
    }
    
    h2 {
        font-size:26px;
        margin:40px 0 5px 0;
    }
    
    h3 {
        font-size:22px;
        margin:40px 0 0px 0;
    }
    
    h4 {
        font-size:20px;
        margin:30px 0 -2px 0;
    }
    
    h5 {
        font-size:18px;
        margin:30px 0 -5px 0;
    }
    
    h6 {
        font-size:16px;
        margin:20px 0 -5px 0;
    }
    
    
 /*  ::::: HOME ::::::: */
    
    .start_block .start_rubrik h1 {
        font-size:30px;
    }

    .start_block .sm {
        bottom:30px;
    }

    .start_block .sm i {
        font-size:28px;
    }

    .t_bg_content h2 {
        font-size:26px;
    }

    .t_bg_content p,
    .t_bg_content strong {
        font-size:18px;
    }
    
    .t_bg_content del {
        font-size:26px;
    }

    .textfalt h2 {
        font-size:26px;
    } 

    .textfalt p {
        font-size:18px;
    }

    .stor_text h2 {
        font-size:50px !important;
    }
    
    .stor_text h3 {
        font-size:30px !important;
    }

    .stor_text p {
        margin: 0 0 20px 0;
        font-size:30px;
    }     

    .stor_text em {
        line-height:170%;
    }   

    .wpcf7 em {
        font-size:18px;
    }

    .kontakt .t_bg_content del {
        font-size:24px;
        display:block;
    }    

    .kontakt .t_bg_content strong,
    .kontakt .t_bg_content a  {
        font-size:16px;
    }    

    .kontakt .t_bg_content .content-column a {
        font-size:14px;
    }


 /*  ::::: KONTAKTFORMULÄR R ::::::: */

    .wpcf7 p {
        width:100%;
        float:none;
        margin:15px 0 0 0;
    }

 /*  ::::: STICKY HEADER R ::::::: */
    
    .regular_header {
        display:none;
    }

    .sticky_header {
        opacity: 1;
        top: 0px;
    }    

    .sticky_header.open-nav {
        background-color: rgba(255, 255, 255, 0.93);
        border-bottom: 1px solid gainsboro;
    }
    
    .mobile_toggle_static {
        display: block;
    } 
    
    .logo {
        float: none;
    }

    nav {
        width: 100%;
        margin-top:0px;
    }

    nav ul {
        margin:0;
        padding:0;
        padding-top: 0px;
        margin-bottom: 22px;
        float: left;
        text-align: center;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        padding: 7px 0;
        margin: 0;
    }
}


@-webkit-keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}
@keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }

}

@media only screen and (max-width: 600px) {
    
    /* ::: KOLUMNER R :::: */
    
    @media screen and (max-width: 600px) {
        .full_width,
        .one_half,
        .one_third,
        .two_third,
        .one_fourth,
        .three_fourth,
        .one_fifth,
        .two_fifth,
        .three_fifth,
        .four_fifth,
        .one_sixth,
        .five_sixth {
            clear: both;
            width: 100% !important;
            margin-left: 0;
            margin-right: 0;
            margin-bottom: 1em;
    }
    
/*        .kontakt .one_half  {
            width:100% !important;
            clear:both;
        }*/

    .kontakt .one_half  {
        width:50% !important;
        clear:none;
        float:left;
    }    

    .kontakt .one_half .content-column p {
       margin:0;
    }
    
    .kontakt .one_half img {
        width:60%;
        margin:0;
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }

/*  :::: B + S = S   R :::: */

    .b-u-s p  {
        text-align:center;
        line-height:130%;
    }     

    .b-u-s em  {
        display:inline !Important;
        margin:0;
    }   

}


@media only screen and (max-width: 480px) {
    body {
        text-align:center;
        font-size:13px
    }

    .page_content,
    .tb_bg_content {
        padding:40px 15px;
    }

/*  ::::: FONTS ::::::: */
    
    h1 {
        font-size:26px;
    }
    
    h2 {
        font-size:24px;
        margin:40px 0 5px 0;
    }
    
    h3 {
        font-size:20px;
        margin:40px 0 0px 0;
    }
    
    h4 {
        font-size:18px;
        margin:30px 0 -2px 0;
    }
    
    h5 {
        font-size:16px;
        margin:30px 0 -5px 0;
    }
    
    h6 {
        font-size:14px;
        margin:20px 0 -5px 0;
    }
    
    
 /*  ::::: HOME ::::::: */
    
    .start_block .start_rubrik h1 {
        display:none;
    }

    .start_block .sm {
        bottom:10px;
    }    

    .start_block .sm i {
        font-size:24px;
    }

    .t_bg_content h2 {
        font-size:24px;
    }

    .t_bg_content p,
    .t_bg_content strong {
        font-size:16px;
    }
    
    .t_bg_content del {
        font-size:22px;
    }

    .textfalt h2 {
        font-size:24px;
    } 

    .textfalt p {
        font-size:16px;
    }

    .wpcf7 em {
        font-size:16px;
        text-align:left;
    }

    .wpcf7 .skicka_block {
        padding-top:0;
    }

    .wpcf7 .skicka_block input {
        font-size:18px;
    }

    .stor_text h2 {
        font-size:50px !important;
    }
    
    .stor_text h3 {
        font-size:24px !important;
    }

    .stor_text p {
        margin: 0 0 20px 0;
        font-size:24px;
    }     

    .stor_text em {
        font-size:18px;
        line-height:160% !important;
        display:inline-block;
    }  

    .kontakt .t_bg_content del {
        font-size:22px;
    }


}


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
