/*
Theme Name: På Afbetaling
Theme URL: http://www.c-co.dk/
Author: Lennart C & CO
Author URI: http://www.lennartc.dk
Version: 1.0.0
Launch date: 05.06.2020 (version 1.1)
License: This theme is not for resale or use.
License URI: http://www.lennartc.dk
Domain Path: /languages/
*/

/*--------------------------------------------------------------
Roots
--------------------------------------------------------------*/
:root {
    --c1:#245276;
    --c2: #F0F3F7;
    --c3: #D3E5F3;
    --c4: #2E85C8;
    --c5: #F2B413;
    --black: #000;
    --white: #fff;
    --gray: #808080;
--gray-light:#F3F3F5;
    --gray-middle: #C0C2C5;
    --gray-dark: #909194;
    --trans: rgba(255, 255, 255, 0.8);
    --trans-dark:  rgba(7,55, 92, 0.8);
    --trans-rad: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0) 71.35%, rgba(0, 0, 0, 0.4) 100%);
}

/*--------------------------------------------------------------
Tema
--------------------------------------------------------------*/
body,button,input,select,textarea {
    font-family: 'PT Sans', sans-serif;
    line-height: 1.8;
    color:#000;
    font-weight:400;
}

html { font-size: 10px; }

@media (min-width: 2560px) {
    html { font-size: 14px;}
}

@media (max-width: 1500px) {
    html { font-size: 9.8px;}
}

@media (min-width: 768px) {
    .bg-grey-md { background: var(--gray); }
    .bg-white-md {background:var(--trans); }

}

/* fontsizes*/
h1, .h1 { font-size: 4.2rem;}
h2, .h2 {font-size: 3.6rem;}
h3, .h3 { font-size: 2.2rem; }
h4, .h4 { font-size: 1.6rem; }
h5, .h5 { font-size: 1.3rem; }
h6, .h6 { font-size: 1.1rem;}

.f-0 {font-size: 6.2rem; }
.f-01 {font-size: 5.2rem; }
.f-1 {font-size: 3.6rem; }
.f-2 {font-size: 2.8rem; }
.f-3 {font-size: 2rem; }
.f-4, body {font-size: 1.7rem; }
.f-5 {font-size: 1.4rem; }
.f-6 {font-size: 1.2rem; }


@media (max-width: 1280px) {
    .f-0 {font-size: 4.2rem; }
    .f-01 {font-size: 3.2rem; }
    .f-1 {font-size: 3rem; }
    .f-2 {font-size: 2rem; }
    .f-3 {font-size: 1.6rem; }
    .f-4, body {font-size: 1.5rem; }
    .f-5 {font-size: 1.2rem; }
    .f-6 {font-size: 1.2rem; }
    }

@media (max-width: 768px) {
    .f-4, body {font-size: 1.5rem; line-height: 2; }

}

/*Colors*/
.color-ms, a.color-ms, .c1, .color1 { color: var(--c1); }
.color-ms2, a.color-ms2, .c2, .color2 { color: var(--c2); }
.c3 { color: var(--c3); }
.color-black { color: var(--black); }
.color-darkgrey { color: var(--gray-dark); }
.color-grey { color: var(--gray); }
.color-lightgrey { color: var(--gray-light); }
.color-white, .color-white:visited, .color-white:hover { color: var(--white); }

/*Bgs*/
.bg { background: var(--c1); }
.bg2 { background: var(--c2); }
.bg3 { background: var(--c3); }
.bg4 { background: var(--c4); }
.bg-white { background: var(--white); }
.bg-grey { background: var(--gray); }
.bg-lightgrey { background: var(--gray-light); }
.bg-darkgrey { background: var(--gray-dark); }
.bg-altgrey { background: var(--gray-middle)}
.bg-black { background: var(--black); }
.bg-tw { background: var(--trans); }
.bg-tw-dark { background: var(--trans-dark); }
.bg-tw-rad { background: var(--trans-rad); }


/*--------------------------------------------------------------
Typography og body
--------------------------------------------------------------*/

html, body { height: 100%; -webkit-font-smoothing: antialiased; -webkit-text-stroke: 0.1px rgba(255, 255, 255, 0.01);
    /*     -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.1);*/ }
body {overflow-x: hidden;background: #fff;}


h1,h2,h3,h4,h5,h6 {
    font-family: 'PT Sans', sans-serif;
        font-weight: bold;
    line-height: 1.5;
    margin-top: 0.4rem;
    margin-bottom: 1.6rem;
}


.cco-font-2, .font2 {
    font-family: 'kalam', sans-serif;
}

.ms-body, .body-font{
    font-weight: 400;
}

/*--------------------------------------------------------------
Text elementer
--------------------------------------------------------------*/

p {margin-bottom: 2.4rem;}
b, strong {	font-weight: bold;}
focus {
    background: lightseagreen;
    color: white;
    padding: .4rem;
    border-radius: .4rem;
}

dfn,cite,em,i {	font-style: italic;}
blockquote {
font-family: var(--font2);
color: var(--gray-dark);
    margin: 3.2rem 0;
}

blockquote p:before {
    content: '- ';
    display: inline-block;
}

blockquote p {
    margin: 0;
    font-size: 2rem;
}

blockquote ul {
    margin-bottom: 0 !important;
}
hr {border: 0;height: 1px;    margin: 25px 0;}
ul,ol {	margin: 0 0 1.5em 3em;}
ul { list-style:none; margin:0; padding:0;}
ol {	list-style: decimal;}
li > ul,li > ol {	margin-bottom: 0;	margin-left: 1.5em;}
figure {	margin: 0;}
table {	margin: 0 0 1.5em;	width: 100%;
        min-width: 100%;
}

.table th, .table td {
    padding: 0.40rem;
}

.nowrap {white-space: nowrap; }

th {	font-weight: bold;}
embed,iframe,object {	max-width: 100%;}

.nobr br {display: none;}
.texttransform, .tt { text-transform: uppercase;}
.texttransform-none, .tt-none { text-transform: none !important;}
.font-bold { font-weight: bold;}
.font-light { font-weight: 300;}
.font-med { font-weight: 500;}
.font-normal {font-weight: normal !important;}
.text-shadow	 {
    text-shadow: 3px 3px 20px rgba(47, 47, 47, 0.54);
}
/*--------------------------------------------------------------
Tabels
--------------------------------------------------------------*/
.tekst ul p {  margin: 0;}
.tekst ul, ul.list {  margin: 0.5rem 0 1.5rem 1.5rem;}
.tekst ul li, ul.list li {margin: 0.8rem 0;padding-left: 0; list-style: none;}
.tekst ul li:before, ul.list li:before {     content: "\e905";
    font-family: 'cco-font', sans-serif;
    position: relative;
    left: -1.6rem;
    }

.tekst ol {
    padding: 0;
    margin: 2.4rem 0;
    list-style-type: none;
}

.tekst ol li {
    counter-increment: step-counter;
    margin: 0;
    min-width: 100%;
}

.tekst ol li::before {
    content: counter(step-counter)'. ';
    display: inline-block;
    font-weight: bold;
    position: relative;
    width: 3rem;
}

/*--------------------------------------------------------------
heights
--------------------------------------------------------------*/

.h-1 {    min-height: 50rem; }
.h-2{min-height: 250px;}
.h-3{min-height: 80vh;}

::selection {
    background:  var(--c1); /* WebKit/Blink Browsers */
    color: #fff;
}
::-moz-selection {
    background:  var(--c1); /* Gecko Browsers */
    color: #fff;
}

/*--------------------------------------------------------------
Text different style
--------------------------------------------------------------*/
.tekst h2, .tekst h3, .tekst h4, .tekst h5, .tekst h6 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
}

.tekst.m-0 p { margin-bottom: 0;}

/*--------------------------------------------------------------
Links
--------------------------------------------------------------*/
.cursor { cursor: pointer;}
a { color: #1b98ba;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
a:visited { color:  #2D9CDB; }
a:hover, a:focus, a:active { color: #000000; text-decoration: none; }

a.grey { color:#696969;}
a.grey:hover {color: #888585;}

a.black, .black a {    color:#333;  }
a.black:hover, .black a:hover{    color:#333;  }

a.theme { color: #6ca37b;}
a.theme:hover { color: #6ca37b;}

a.white { color:#fff;}
a.white:hover {color: #f6f7f9;}
a.underline{ border-bottom: solid 1px;}

a.green {color: #8ebca1;}

.c-btn, a.c-btn {
    display: inline-block;
    font-weight: bold;
    padding: 1rem 1.5rem;
    outline: 0;
    text-align: center;
    border: solid .1rem;
    border-radius: .2rem;
    font-size: 90%;
    cursor: pointer;
    background: var(--c1);
    border-color: var(--c1);
    color: var(--white);
    box-sizing: border-box;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.c-btn:hover, a.c-btn:hover {
    background: var(--c4);
    border-color: var(--c4);
}

.c-btn.reverse, a.c-btn.reverse {
    background: #fff;
    color: var(--c1);
}

.c-btn.reverse:hover, a.c-btn.reverse:hover {
    background: var(--c2);
    color: var(--c1);
}

.c-btn.to, a.c-btn.to{  color: #b2dabd;}

.c-btn.to:hover, a.c-btn.to:hover{  color: #e0ece4;}


.c-btn.full {
    min-width: 100%;
    text-align: center;
    max-width: 100%;
}

.c-btn.center-btn {
    display: block;
    width: 300px;
    margin: auto;
    text-align: center;
}

.c-btn.round {
    border-radius: 25px;
    font-size: 12px;
    padding: 10px 5px;
    margin: 10px 0;
}

.c-btn.noround {
    border-radius: 0;
}
input[type="submit"]:disabled{
    background-color: #EEE;
    color: #FFF;
    border-color: #FFF;
    cursor: not-allowed;
}

/*--------------------------------------------------------------
Breadcrumbs
--------------------------------------------------------------*/

.bread p { color: #6ca37b; display: inline-block; vertical-align: middle; overflow: hidden; margin: 0;}
.bread p a { color:  #6ca37b;transition: all 500ms ease; }
.bread p a:hover { color:#6ca37b; }
.bread { text-align: left;}


/*--------------------------------------------------------------
Opbygning og struktur
--------------------------------------------------------------*/
.overflow { overflow: hidden;}
.ms_sektion, .sektion { display: block; min-width: 100%; max-width: 100%; position: relative; }

.fixed {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.relative {
    position: relative;
}
.clear { clear:both;}

.shadow {
    z-index: 1;
            -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.1) !important;
    -moz-box-shadow: 0 0 27px 0 rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 0 27px 0 rgba(0, 0, 0, 0.1) !important;
               position: relative;}


.kolonne {
    -webkit-columns: 100px 2; /* Chrome, Safari, Opera */
    -moz-columns: 100px 2; /* Firefox */
    columns: 100px 2;
    -webkit-column-gap:75px; /* Chrome, Safari, Opera */
    -moz-column-gap: 75px; /* Firefox */
    column-gap: 75px;
}

.z6 {z-index: 6;}
.zmax {z-index: 99;}

.sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
}

/*--------------------------------------------------------------
Borders
--------------------------------------------------------------*/
.border-top-dot {
    border-top: 1px dotted rgba(0, 0, 0, 0.3);
}
.border-bottom-dot {
    border-bottom: 1px dotted rgba(0, 0, 0, 0.3);
}

.border-bold{
    border-width: 2px !important;
}

.border-fat{
    border-width: 5px !important;
}

.no-border {
    border: 0 !important;
}

.border-dash {
    border: 2px dashed;
}


.border-c { border-color: #1faf57 !important;}
.border-c2 { border-color:#e6fbed !important;}
.border-grey { border-color: #e0e0e0 !important;}
.border-black { border-color: #262b30 !important;}
.border-white { border-color: #fff !important;}
.border-trans {border-color: rgba(255, 255, 255, 0.25) !important;}

/*--------------------------------------------------------------
Images
--------------------------------------------------------------*/
img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

img {	height: auto; /* Make sure images are scaled correctly. */	max-width: 100%; /* Adhere to container width. */}

.img-fixed {
    background-attachment: fixed !important;
    background-repeat:no-repeat !important;
    background-position: center center;
}

.img-box { text-align: center;}
.img-round img { border-radius: 50%;}
.img-full { background-size: cover !important;}
.img-center {background-position: center !important;}
.img-top {background-position: top !important;}
.img-bottom {background-position: bottom !important;}

img.fill {
    object-fit: cover;
}

.thumb-hover img {
    transition: all 0.4s ease 0s;
}
.thumb-hover img {
    -webkit-transform: scale(1.0);
    -moz-transform: scale(1.0);
    -ms-transform: scale(1.0);
    -o-transform: scale(1.0);
    transform: scale(1.0);
}
.thumb-hover:hover img  {
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);
    transform: scale(1.03);
}



/*--------------------------------------------------------------
Social Share
--------------------------------------------------------------*/
.ms-social {  margin: 5px 0; }
.social-share span{
       width: 40px;
    height: 40px;
    line-height: 40px;
    margin-right: 7px;
    font-size: 18px;
    padding: 0px;
    text-align: center;}
.social-icons li { list-style: none; float: left; }

.fb {background: #3b5998;}
.ln {background: #0077b5;}
.msn {background: #0084ff;}
.yt {background: #ff0000; }
.ig {background: #fbad50;}
.gp{ background: #d34836;}

.ms-social .icon-mail-dot-ru:before {
    content: "\e91d";
    color: #ffffff;
}

 .ms-social  .icon-messenger:before {
    content: "\e95c";
    color: #fff;
}


.company-socials li .social{
    color: #6ca37b;
    background: transparent;
    font-size: 15px;
    position: relative;
}


.company-socials li .social:hover{
    color: #3ac495;
}

/*--------------------------------------------------------------
Scroll up
--------------------------------------------------------------*/

.scrollup.show {bottom: 15px; }

.scrollup, a.scrollup {
position: fixed;
    bottom: -100px;
    background: var(--c1);
    right: 15px;
    z-index: 68;
    text-align: center;
    width: 50px;
    line-height: 50px;
    height: 50px;
     padding: 0 0;
    color: #ffffff !important;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    -o-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.scrollup span {
}

.scrollup:hover{
}


/*--------------------------------------------------------------
Overlay
--------------------------------------------------------------*/
.overlay {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 4;
}



/*--------------------------------------------------------------
Check boxes
--------------------------------------------------------------*/
input[type=checkbox], input[type=radio] {
    width: 13px;
    height: 13px;
}

input[type=checkbox], input[type=radio] {
    border-color: #a7a9ac;
    background-color: #a7a9ac;
}

input[type=checkbox], input[type=radio] {
    cursor: pointer;
    -webkit-box-shadow: none;
    box-shadow: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: 1px solid #888;
    background-color: #888;
    display: block;
    line-height: 1em;
    padding: 0;
    vertical-align: text-top;
    border-radius: 5px;
    width: 16px;
    height: 16px;
    outline: none;
    position: relative;
    margin: 0 0 0;
}


input[type=checkbox]:after, input[type=radio]:after {
    top: 2px;
    left: 4px;
}

input[type=checkbox]:not(:checked):after, input[type=radio]:not(:checked):after {
    opacity: 0;
}

input[type=checkbox]:after, input[type=radio]:after {
    content: "";
    display: block;
    width: 4px;
    height: 9px;
    border: solid #111;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    left: 5px;
    font-size: 14px;
    color: #111;
}

.input[type=checkbox]:after, input[type=radio]:after {
    top: 1px;
    left: 5px;
}

input[type=checkbox]:checked:after, input[type=radio]:checked:after {
    opacity: 1;
}

input[type=radio]:checked + div, input[type=checkbox]:checked + div {
    display: block;
}
/*--------------------------------------------------------------
Kontakt formular
--------------------------------------------------------------*/

.ms label { margin-bottom: 5px; font-weight: 600; font-size: 13px; margin-top: 10px;}

.ms select, .ms input[type="text"], .ms input[type="email"], .ms input[type="url"], .ms input[type="password"], .ms input[type="tel"], .ms input[type="search"], .ms input[type="number"], .ms textarea {
    transition: all 0.3s ease-in-out;
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    background-color: var(--gray-light);
    border: 1px solid  var(--gray-light);
    line-height: 2.4rem;
    padding: 1.6rem 1.6rem;
    color:var(--c1);
    border-radius: .5rem;
    /* text-align: center; */
}
.ms ::placeholder{
    color: #000;
}
.ms p {margin: 0}

.ms textarea { min-height: 200px; max-height: 200px;}

.ms input[type="text"]:focus, .ms input[type="tel"]:focus, .ms input[type="email"]:focus, .ms input[type="url"]:focus, .ms input[type="password"]:focus, .ms input[type="search"]:focus, .ms textarea:focus, .ms select:focus {
    outline: 0;
    border: solid 1px  var(--c1);
}
/*--------------------------------------------------------------
Prop selectors
--------------------------------------------------------------*/
[disabled="disabled"] {
    background: lightgrey;
    border-color: lightgrey;
    color: #EEE;
    cursor: not-allowed;
}
[disabled="disabled"]{
    background: lightgrey;
    border-color: lightgrey;
    color: #EEE;
}

/*--------------------------------------------------------------
Container Max
--------------------------------------------------------------*/

.row.mini {
    margin-right: -.8rem;
    margin-left: -.8rem;
}