/****************************************************************************************

Made by CISK Native AB
www.cisk.se/native

Contributing author: Robin Andersson
robinanderssoncode@gmail.com

****************************************************************************************/


/*
Primary color: #3BB370
Primary hover: hsl(147, 50%, 57%)
Secondary color: #FFCCB9   (fakta etc)
*/



/***FONTS***/

@font-face {
  font-family: 'AsapBold';
  src: url('fonts/GT-Walsheim-Pro-Bold.otf');
  src: url('fonts/GT-Walsheim-Pro-Bold.otf?#iefix') format('embedded-opentype'),
       url('fonts/GT-Walsheim-Pro-Bold.otf') format('woff2'),
       url('fonts/GT-Walsheim-Pro-Bold.otf') format('woff'),
       url('fonts/GT-Walsheim-Pro-Bold.otf')  format('truetype'),
       url('fonts/GT-Walsheim-Pro-Bold.otf#svgFontName') format('svg');
}
@font-face {
  font-family: 'AsapRegular';
  src: url('fonts/GT-Walsheim-Pro-Regular.otf');
  src: url('fonts/GT-Walsheim-Pro-Regular.otf?#iefix') format('embedded-opentype'),
       url('fonts/GT-Walsheim-Pro-Regular.otf') format('woff2'),
       url('fonts/GT-Walsheim-Pro-Regular.otf') format('woff'),
       url('fonts/GT-Walsheim-Pro-Regular.otf')  format('truetype'),
       url('fonts/GT-Walsheim-Pro-Regular.otf#svgFontName') format('svg');
}

h2, p { font-family: AsapRegular, sans-serif; }

p {
    font-size: 18px;
}

.wp-caption, iframe, video {
    max-width: 100% !important;
}

/* SLIDER FIX*/
 .metaslider > div > div {
     background: none;
     box-shadow: none;
     -webkit-box-shadow: none;
     -moz-box-shadow: none;
     -o-box-shadow: none;
     border: 0;
     margin: 0 0 40px 0;
     max-width: none;
     max-height: none;
}
 .slides {
     overflow: auto;
}

.fakta {
    background: #FFCCB9;
    border-radius: 5px;
    margin: 20px 0;
    padding: 10px 25px .1px;
}

/****************************************************************************************/
/***GENERELLT***/

#cookie-notice { background-color: rgba(0, 0, 0,0.9) !important; }
.cookie-notice-container {
	padding: 10px 0 !important;
}
#cn-notice-text {
	padding: 0 10px 10px;
	display: block;
}
.cn-button.bootstrap {
    margin-left: 10px !important;
    color: #fff  !important;
    background: #3BB370 !important;
    padding: 10px 20px !important;
    border-radius: 30px !important;
    font-weight: bold !important;
    font-size: 14px !important;
}
.cn-button.bootstrap:hover {
    background: hsl(147, 50%, 57%) !important;
}
#cn-notice-text > a {
	color: #3BB370 !important;
}
#cn-notice-text > a:hover {
	color: #3BB370 !important;
	text-decoration: underline;
}

html,
body {
    margin: 0;
    background-color: #F4F4F4;
    font-family: AsapRegular,sans-serif;
}
@media screen and (max-width: 450px) {
    html,
    body {
        max-width: 100vh;
    }
}
@media screen and (max-width: 660px) {
    html,
    body {
        background-color: #F5F5F5;
    }
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.annonsbalk {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    padding: 0.25rem 0;
    height: 25px;
    line-height: 25px;
    text-align: center;
    background-color: #222222;
    color: #efefde;
}
iframe, video {
    max-width: 100%;
}
a {
    color: #000000;
    text-decoration: none;
}
a:hover {
    color: #555e69;
}
#wrapper {
    display: block;
    width: 100%;
    margin: 0px auto;
}
#delimiter {
    clear: both;
}
.tc {
    text-align: center;
}
.nomargin {
    margin: 0 !important;
}

.hr { border-bottom: 0px inset grey; }
b, strong { font-family:AsapBold,sans-serif; }
a b, a strong, b a, stong a { 
    font-family:AsapBold,sans-serif;
	  font-size: 17px;
}

/****************************************************************************************/
/***TEXT-ALIGN***/

h1,
h2,
h3 {
    margin-top: 5px;
}
p {
    margin: 0 0 20px 0;
}

/****************************************************************************************/
/***HEADER***/

#header-div>img {
    margin: 0 auto;
}
#header-div {
    /*background-image: url(http://nyheter.tradera.com/wp-content/uploads/2018/02/rsz_1nyhetertradera-min.jpg);*/
    background: #434A53;
    width: 100%;
    position: relative;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 32px;
}

@media only screen and (max-width: 720px) {
    .desktop {
        display: none !important;
    }
}
@media only screen and (max-width: 860px) {
    .desktop2 {
        display: none !important;
    }
}

/****************************************************************************************/
/*******NAVBAR*********/

nav {
    background-color: #3BB370;
    height: 52px;
    padding: 0 20px;
    position: sticky;
    top: 33px;
    z-index: 998;
}

ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-family: AsapBold,sans-serif !important;
    letter-spacing: 1px;
}


ul.topnav li {float: left;}

ul.topnav li a {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
}

#topnav > li:nth-child(1) > a {
    padding: 12px 16px 12px;
}

ul.topnav li:hover {background-color: #F4F4F4; color: #3E5D58;}
ul.topnav li:last-child:hover {background-color: #F4F4F4; color: #3E5D58;}

ul.topnav li.icon {display: none;}

#start { font-size: 26px !important; }

.menu-item:hover { color: #000000; }

.dropbtn {
    padding: 14px 16px;
    font-size: 21px;
    border: none;
    cursor: pointer;
    font-family: AsapBold,sans-serif !important;
    background: #ffffff;
}

.dropbtn:focus { outline: none; }

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 8px 8px 16px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #F4F4F4}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #F4F4F4;
}

@media screen and (max-width:980px) {
    ul.topnav li a {
        display: inline-block;
        text-align: center;
        text-decoration: none;
    }
}

@media screen and (max-width:768px) {
  ul.topnav.responsive {position: relative;}
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: table;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
  }
}

/****************************************************************************************/
/***INDEX PAGE***/

.main {
    position: relative;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.article-container {
    margin-bottom: 24px;
}
.fixer {
    padding: 20px;   
}
@media screen and (max-width: 430px) {
    .fixer {
        padding: 10px;
    }
}
.article {
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 1px 1px #a9a7a7;
    -moz-box-shadow: 0 0 1px 1px #a9a7a7;
    box-shadow: 0 0 1px 1px #a9a7a7;
    overflow: hidden;
}
.article-wrapper {
    padding: 25px 30px;
}
.pufftext {
    margin: 15px 0;
    font-size: 15px
}
#more-posts {
    position: absolute;
    margin: 0 auto;
    bottom: -20px;
    left: 0;
    right: 0;
    z-index: 999;
}
@media screen and (max-width: 450px) {
    #more-posts {
        bottom: -2.188em;
    }
}

#more-posts-single {
    position: absolute;
    margin: 0 auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
@media screen and (max-width: 450px) {
    #more-posts-single {
        bottom: -2.188em;
    }
}
#load-btn {
    border-radius: 30px;
    background: #fed24e;
    border-style: none;
    width: 150px;
    outline: none;
    height: 40px;
    font-weight: bold;
    font-size: 18px;
}

/****************************************************************************************/
/***IMG ZOOM***/

.thumbnail {
    overflow: hidden;
}
.thumbnail img {
    max-width: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.thumbnail:hover img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/****************************************************************************************/
/***SPINNER***/

.spinner {
    position: absolute;
    bottom: 10px;
    width: 40px;
    height: 40px;
    border: solid 3px;
    border-radius: 100%;
    border-top-color: #3BB370; /* Primary color */
    border-right-color: #3BB370;
    border-bottom-color: transparent;
    border-left-color: transparent;
    animation: spin 600ms infinite linear;
    -webkit-animation: spin 600ms infinite linear;
}
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

/****************************************************************************************/
/***TEXT-ALIGN***/

div.puff-title>h1 {
    font-size: 26px;
    margin: 0px;
    line-height: 26px;
}
div.pufftext>p {
    margin: 0px;
    color: #404a54;
}

/****************************************************************************************/
/***ARTICLE LEVEL***/

.rel { position: relative; }

@media screen and (min-width: 661px) {
    .page {
        padding: 10px;
    }
}
@media screen and (max-width: 660px) {
    .page-container {
        background: #F4F4F4;
    }
}
.page-container {
    position: relative;
    max-width: 1040px;
}
.article-align {
    max-width: 618px;
    margin: 20px;
}
@media screen and (max-width: 660px) {
    .article-align {
        margin: 20px 10px;
    }
    #sidebar {
        margin: 20px 10px;
    }
}
.bg {
    background: #ffffff;
    display: inline-block;
    max-width: 100%;
}
#sidebar { margin: 20px; }
.img-title>h1 {
    margin-top: 0px;
}
#sidebar>ul {
    list-style-type: none;
    list-style: none;
    padding: 0;
    margin-top: 0px;
}
.sidebar-wrapper {
    float: right !important;
}
.article-info {
    margin: 20px 0;
}
.article-category > h3 { font-family: AsapBold,sans-serif; margin: 0; }
.article-category {
    display: inline-block;
}
.article-date { 
    display: inline-block;
    text-align: right;
    right: 0;
    font-size: 0.875em;
    bottom: 0;
    position: absolute;
    color: #6e7580;
    text-align: right;
    
}
.article-date > h4 { font-weight: normal; margin: 0; }
div.article-content a { color: #353cbf; }
div.article-content a:hover { color: #434A53; } 

/****************************************************************************************/
/***TEXT-ALIGN***/

div.article-title>h1 {
    font-size: 48px;
    margin-bottom: 0px;
    margin-top: 20px;
    line-height: 48px;
}
div.article-content h2 { margin: 20px 0; }
h2 {
    font-size: 21px;
    margin-top: 0.83em;
}
h3 {
    font-size: 21px;
    margin: 20px 0 0 0;
}
@media screen and (max-width: 480px) {
    div.article-title>h1 {
        font-size: 32px;
        line-height: 36px;
    }
    h2 {
        font-size: 18px;
    }
}

/****************************************************************************************/
/***SIDEBAR***/

div.sidebar-title>a>h3 {
    margin: 10px 0 5px;
    font-size: 26px;
    line-height: 26px;
}
div.sidebar-pufftext>p {
    margin: 0 0 10px 0;
    color: #404a54;
}

/****************************************************************************************/
/***FOOTER***/

#footer2 {
    position: relative;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background-color: #3BB370;
}
.footer-inner {
    line-height: 40px;
    text-align: center;
}
@media screen and (max-width: 660px) {
    .footer-inner {
        text-align: center;
    }
    #footer {  z-index: 1; }
}
#footer>div>p>span>a {
    color: #ffffff !important;
}
#footer>div>p>span>a:hover {
    color: #434A53 !important;
}
#footer>div>p {
    margin-bottom: 0px;
}

/****************************************************************************************/
/***GRID***/
/*
@media screen and (min-width: 1280px) {
    .box {
        width: calc(25% - 15px);
    }
}
@media screen and (max-width: 1280px) {
    .box {
        width: calc(33% - 11px);
    }
}
*/
@media screen and (min-width: 621px) {
    .box {
        width: calc(50% - 10px);
    }
}
@media screen and (max-width: 620px) {
    .box {
        width: 100%;
    }
}
.box {
    margin-bottom: 20px;
}
#boxes {
    margin: 0px auto;
}

/****************************************************************************************/

.row {
    position: relative;
}
.ow {
    margin: 0.5rem 2%;
}
@media only screen and (min-width: 720px) {
    .row [class^="col"] {
        float: left;
        margin: 0.5rem 1%;
        min-height: 0.125rem;
    }
    .col {
        float: left;
        margin: 0.5rem 1%;
        min-height: 0.125rem;
    }
}
@media only screen and (max-width: 720px) {
    .row [class^="col"] {
        float: left;
        margin: 0.5rem 1%;
        min-height: 0.125rem;
    }
    .col {
        width: 48%;
        float: left;
        margin: 0.5rem 1%;
        min-height: 0.125rem;
    }
}
.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: 98%;
}
.col-sm {
    width: 18%;
}
.col-1-sm {
    width: 4.33%;
}
.col-2-sm {
    width: 14.66%;
}
.col-3-sm {
    width: 23%;
}
.col-4-sm {
    width: 29.33%;
}
.col-5-sm {
    width: 37.66%;
}
.col-6-sm {
    width: 48%;
}
.col-7-sm {
    width: 54.33%;
}
.col-8-sm {
    width: 62.66%;
}
.col-9-sm {
    width: 71%;
}
.col-10-sm {
    width: 79.33%;
}
.col-11-sm {
    width: 87.66%;
}
.col-12-sm {
    width: 96%;
}
.row::after {
    content: "";
    display: table;
    clear: both;
}
.hidden-sm {
    display: none;
}
@media screen and (max-width: 660px) {
    .container {
        width: 100%;
    }
}

@media only screen and (min-width: 721px) {
    .col {
        width: 18%;
    }
    .col-1 {
        width: 4.33%;
    }
    .col-2 {
        width: 14%; /*14.66%*/
    }
    .col-3 {
        width: 23%;
    }
    .col-4 {
        width: 33.33%; /*29.33%;*/
    }
    .col-5 {
        width: 37.66%;
    }
    .col-6 {
        width: 48%;
    }
    .col-7 {
        width: 54.33%;
    }
    .col-8 {
        width: 62.66%;
    }
    .col-9 {
        width: 71%;
    }
    .col-10 {
        width: 79.33%;
    }
    .col-11 {
        width: 87.66%;
    }
    .col-12 {
        width: 96%;
    }
    .hidden-sm {
        display: block;
    }
}

@media screen and (max-width: 1270px) {
	.col-cus-4 { width: 23%; }
	.col-cus-4:nth-child(5) { display: none; }
}

@media screen and (max-width: 1000px) {
	.col-cus-3 { width: 31%; }
	.col-cus-3:nth-child(4) { display: none; }
}

@media screen and (max-width: 865px) {
	.col-cus-2 { width: 48%; }
	.col-cus-2:nth-child(3) { display: none; }
}

@media screen and (max-width: 630px) {
	.col-cus-1 { width: 100%; }
	.col-cus-1:nth-child(2) { display: none; }
}

.col-13 { width: 18%; }
@media screen and (min-width: 650px) and (max-width: 860px) {
    .col-feed-3 {
        width: 48%;
    }
}

#cn-accept-cookie {
    padding: 5px 10px !important;
    background: #3BB370 !important;
    color: white !important;
    border-radius: 3px !important;
}
#cn-notice-text > a {
    color: white !important;
    font-weight: bold !important;
    text-decoration: underline !important;
}
