/* CSS Mini Reset */
/******************/

html{color:#000;}div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.clear {clear:both;}
.nopadl { padding-left:0px !important;	}
.nopadr { padding-right:0px !important; }
.nopad {padding-left:0px !important; padding-right:0px !important; }

/* FONT */
@font-face{
    font-family: 'Clan Pro Thin';
    src: url('fonts/ClanPro-Thin.woff2') format('woff2'),
        url('fonts/ClanPro-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'Clan Pro Bold';
    src: url('fonts/ClanPro-Bold.woff2') format('woff2'),
        url('fonts/ClanPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'Clan Pro Regular';
    src: url('fonts/ClanPro-Regular.woff2') format('woff2'),
        url('fonts/ClanPro-Regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'Clan Pro News';
    src: url('fonts/ClanPro-News.woff2') format('woff2'),
        url('fonts/ClanPro-News.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Clan Pro Regular';
}

h1 {
    font-family: 'Clan Pro Thin';
}

.yellowbutton, footer a, #langnav span, strong {
    font-family: 'Clan Pro Bold';
}

footer, .deletepos  {
    font-size: 14px;
    line-height: 24px;
}

body, .form-control {
    font-size: 16px;
    line-height: 26px;
}

h3 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 40px;
}

h2 {
    font-size: 24px;
    line-height: 34px;
}

h1 {
    font-size: 75px;
    line-height: 85px;
    font-weight: 100;
}

.title_line {
    margin-left: 10px;
    margin-right: 10px;
}

footer a, #langnav span {
    font-weight: 700;
    text-decoration: underline 1px rgba(0, 0, 0, 0) !important;
}

footer a:hover, #langnav span:hover, #langnav span.actlang {
    text-decoration: underline 1px rgba(0, 0, 0, 1) !important;
}

.yellowbutton:hover a {
    text-decoration: none;
}

/* STYLES */
header, .yellowbutton {
    background-color: black;
}

#stepnav .step.act::after, footer, .yellowbutton:hover, #stepnav .step.act, .gradebutton:hover, .gradebutton.act_confelement,  .selmatart:hover .matarticon, .selmatart.act_confelement .matarticon, #product_table .act_confelement  {
    background-color: #FCFC47;
}

.bggrey {
    background-color: #F8F8F8;
}

.bgwhite, body {
    background-color: white;
}

body, footer a, footer a:hover, .yellowbutton:hover, .yellowbutton:hover a, .scard_content a {
    color: black;
}

h1 {
    color: #FCFC47;
}

.errorlogin {
    color: #ff0000;
}

.yellowbutton a {
    color: white;
}

.scard_content a {
    text-decoration: underline;
}


h1, h2, .margbottomsmall {
    margin-bottom: 40px;
}

.margbottom {
    margin-bottom: 80px;
}

.basewidth {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.fullwidth {
    width: 100%;
}

.fullheight, .fullheight > div {
    min-height: calc(100vh - 130px);
}

.basepad {
    padding-top: 80px;
    padding-bottom: 80px;
}

.basepadtop {
    padding-top: 80px;
}

.basepadbottom {
    padding-bottom: 80px;
}

.yellowbutton {
    color: white;
    text-transform: uppercase;
    font-weight: 700;
}

.flex {
    display: flex;
}

.vertalign {
    align-items: center;
}

.aligntop {
    align-items: baseline;
}

.horizcenter {
    justify-content: center;
}

.spacebetween {
    justify-content: space-between;
}

.talcenter {
    text-align: center;
}

.talr {
    text-align: right;
}

.tall {
    text-align: left;
}

button {
    border: none;
    box-shadow: none;
    padding: 5px 15px;
}

.hide {
    display: none;
}

.posrel {
    position: relative;
}

.posfixed {
    position: fixed;
}

.nolink {
    cursor: auto !important;
    pointer-events: none;
}

#stepnav .step.act::after, #stepnav .step, footer a, #langnav span, .yellowbutton, .page-link, .selmatart .matarticon, .gradebutton, #productedit_content form label {
    transition: all 0.2s;
}

/* HEADER */
header {
    height: 85px;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 100;
}

#headerlogo {
    width: 50px;
    height: auto;
}

header nav {
    float: right;
}

header nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    color: white;
}

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

header .navicon {
    height: 25px;
    width: auto;
    cursor: pointer;
}

header a {
    display: block;
}

header nav li {
    position: relative;
}

.filled_sc::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #cc0000;
    display: block;
    position: absolute;
    right: -5px;
    top: 0px;
    border-radius: 50px;
}

/* LOGIN */
#loginlogo {
    width: 200px;
    height: auto;
    margin-bottom: 40px;
}

#loginbutton {
    margin-top: 25px;
}

form .form-control {
    width: 300px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 1px solid black;
    border-radius: 0px;
    background-color: transparent;
    color: black;
}

.errorlogin {
    position: absolute;
    left: 0;
    text-align: left;
    width: 500px;
    bottom: -50px;
}

/* CONTENT */
main {
    min-height: calc(100vh - 130px);
    margin-top: 85px;
    margin-bottom: 45px;
    z-index: 50;
}

#hometop {
    background: url(/img/home_img.jpg);
     background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    width: 100%;
    height: calc(100vh - 130px);
    position: relative;
    z-index: -1;
}

#hometop img {
    width: 180px;
    height: auto;
}

#content {
    position: relative;
    z-index: 50;
}

.confform::after, .borderb::after {
    content: "";
    height: 1px;
    width: calc(100% - 30px);
    background-color: black;
    padding-left: 15px;
    left: 15px;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    margin-top: 40px;
}

.borderb::after {
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 0px;
    width: 100%;
    left: 0px;
}

#stepnav {
    display: flex;
    width: 100%;
    margin-bottom: 40px;
    /*
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 40px;
    width: 100%;
    */
}

#stepnav .step {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: calc(25% - 5px);
    height: 40px;
    background-color: white;
    border: 1px solid black;
    /*
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    background-color: white;
    position: relative;
    border: 1px solid black;
    width: calc(100% - 50px);
    */
}

#stepnav .step::after {
    content: "";
    display: block;
    position: absolute;
    width: 28px;
    height: 28px;
    left: calc(100% - 15px);
    top: 50%;
    margin-top: -14px;
    background-color: white;
    transform: rotate(45deg);
    box-shadow: 1px -1px 0 0 black;
    z-index: 5;
}

#stepnav_line {
    height: 4px;
    background-color: black;
    position: absolute;
    top: 38px;
    left: 15px;
    width: 0;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.square {
    width: 100px;
    height: 100px;
    text-align: center;
    margin-bottom: 10px;
}

#matart_content {
    display: flex;
    flex-wrap: wrap;
    padding-left: 15px;
    padding-left: 15px;
}

.selmatart {
    margin-right: 40px;
    cursor: pointer;
    text-align: center;
}

.selmatart .matarticon {
    border: 1px solid black;
    background-color: white;
}

#matgrade_content {
    padding-left: 15px;
    padding-right: 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 40px;
}

.gradebutton {
    height: 40px;
    cursor: pointer;
    background-color: white;
    border: 1px solid black;
}

/* PRODUCT TABLE */
#product_content {
    padding-left: 15px;
    padding-right: 15px;
}

.pagination-detail {
    display: none;
}

#product_table th {
    font-weight: bold;
    width: calc(25% - 50px);
}

#product_table .bs-checkbox {
    width: 50px !important;
}

#product_table .bs-checkbox .th-inner  {
    display: none;
}

#product_table input[type="radio"] {
    cursor: pointer;
}


/* EDIT FORM */
#productedit_content form input {
    z-index: 20;
    position: relative;
    width: 100%;
}

#productedit_content form .form-control {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

#productedit_content form label {
    position: absolute;
    top: 5px;
    left: 2px;
    z-index: 10;
    padding-left: 10px;
}

#productedit_content .inputwrapper , #productedit_content .areawrapper {
    position: relative;
}

#productedit_content .inputwrapper:not(:last-child) {
    margin-bottom: 40px
}

#productedit_content .focuslabel, #productedit_content form .arealabel.focuslabel {
    top: -15px;
    font-size: 12px !important;
    line-height: 20px !important;
}

label.yellowbutton {
    padding: 5px 15px !important;
    cursor: pointer;
}

#uploadedfile {
    margin-top: 15px;
    position: absolute;
}

.delfile img {
    width: 25px;
    height: auto;
    position: relative;
    top: -2px;
    cursor: pointer;
}

#productedit_content form .arealabel {
    top: 12px;
}

#productedit_content .areawrapper {
    height: 100%;
}

#productedit_content .areawrapper textarea {
    width: 100%;
    margin-top: 6px;
    height: calc(100% - 6px);
    background-color: transparent;
    border: 1px solid black;
    outline: 0px !important;
    padding: 5px 10px;
    position: relative;
    z-index: 20;
}

.formleft {
    padding-right: 20px;
}

.formright {
    padding-left: 20px;
}

#error_wrapper {
    margin-top: 40px;
    color: #cc0000;
}

#sawing_content {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    width: 100%;
}

#sawing_content > div {
    position: relative;
}

.deletepos {
    position: absolute;
    top: 0;
    width: 20px;
    height: auto;
    right: 0;
    cursor: pointer;
    z-index: 100;
}

#addto_sc {
    float: right;
    position: relative;
    top: -36px;
}

/* POPUP */
#sc_popup {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100vh;
    width: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 100;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sc_popup .yellowbutton {
    margin-top: 20px;
}

#popup_content {
    height: 250px;
    width: 600px;
    padding: 30px;
    position: relative;
    background-color: white;
    display: flex;
    align-items: center;
}

#popup_content span {
    display: block;
}

#popup_content h2 {
    margin-bottom: 15px;
}

#popup_close {
    position: absolute;
    right: 15px;
    top: 15px;
}

#popup_close img {
    width: 30px;
    height: auto;
    cursor: pointer;
}

/* SHOPPINGCARD */
.sc_matarticon {
    border: 1px solid black;
    margin-bottom: 0px;
    margin-right: 40px;
}

.del_shopitem {
    width: 20px;
    height: auto;
    position: absolute;
    right: 15px;
    bottom: -30px;
    cursor: pointer;
}

.buttonhandling {
    margin-bottom: 40px;
}

.buttonhandling button {
    margin-left: 40px;
}

/* FOOTER */
footer {
    height: 45px;
    width: 100%;
    position: fixed;
    left: 0px;
    bottom: 0px;
    z-index: 100;
}

#footerlogo {
    width: 30px;
    height: auto;
    margin-right: 5px;
}

#langnav span.actlang, #langnav span:hover {

    cursor: pointer;
}
