@import url("https://fonts.googleapis.com/css2?family=Raleway&family=Vidaloka");

/* Miligram overrides */
a {
    font-family: "Raleway", sans-serif;
    color: #000000 !important;
}
.border-black {
    border: 2px solid black;
    padding: 2rem;
    background: white;
}
/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.custom-select {
    border: 2px solid #333333 !important;
    box-shadow: none !important;
}
.custom-select select {

}
.small-form-control {
    height: 2.5rem !important;
}
/* Login page */
.login-image {
    margin-top: -5px;
    width: 15rem;
    height: 15rem;
}
.sidebar-image {
    margin-top: -1.5rem;
    width: 13rem;
    height: 13rem;
}
.font-weight-bold {
    font-weight: bold;
}
.back-to-main {
    color: #000000 !important;
    font-weight: bold;
    padding-top: 1rem;
    display: inherit;
}
.btn:focus {
    box-shadow: none !important;
}
.login-text {
    padding-top: 1rem;
    font-size: 2.5rem !important;
    margin-bottom: 0.8rem;
}
.login-input input:-webkit-autofill { 
    text-align: center;
}
.login-input {
    padding-bottom: 1rem;

}
#sidebar {
    background: #FFFFFF;
}
.login-input input{
    border: 1px solid #9fb81c !important;
    text-align: center;
    font-weight: 600 !important;
    color: #3c3c3c !important;
}
.login-input input:hover, input:focus{
    outline: none;
}
.login-input ::-webkit-input-placeholder { /* Edge */
    text-align: center;
    font-weight: 600 !important;
    color: #bfbfbf !important;
}

.login-input :-ms-input-placeholder { /* Internet Explorer 10-11 */
  text-align: center;
}

.login-input ::placeholder {
  text-align: center;
}
.forgot-password {
    font-weight: 600 !important;
    font-size: 1.2rem;
    padding-bottom: 1rem;
}
.login-button {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: 2px solid black !important;
    width: 7rem;
    font-weight: 700 !important;
    font-size: 1rem !important;
}
.border-btn {
    border: 2px solid black !important;
    border-radius: 0;
    font-weight: 600;
}
/* Main */
@font-face {
    font-family: "Vidaloka";
    src: url('../font/Vidaloka.ttf');
}
body {
    font-family: "Raleway" !important;
    background-image: url('../img/theme/taustantoistuvaelementti.svg');
    background-color: #e0e3c8;
    background-position: center;
    font-family: sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
    line-height: 1.6;
}
h1,h2,h3,h4,h5,h6 {
    font-family: "Vidaloka" !important;
    font-weight: 500;
}
h5 {
    font-size: 1.6rem;
    letter-spacing: 0.03rem;
}
.content {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.4rem;
    /* Thanks Stripe */
/*    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.07);*/
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
th {
    white-space: nowrap;
}

/* Nav bar */
.top-nav-logo {
    text-align: center;
}
.top-nav-logo a {
    color: #1f9d55 !important;
}
.top-navigation-title {
    padding-top: 1rem;
    padding-left: 1.5rem;
    font-size: 1.2rem;
    cursor: pointer;
}
.top-navigation-logout {
    position: absolute;
    right: 0px;
    width: 10rem;
    height: 10rem;
    text-align: right;
}
.top-navigation-logout-text {
    font-weight: 600;
    font-size: 1rem;
}
.top-navigation-logout-text:hover {
    color: #9fb81c;
}
.top-navigation-logout-text:after {
    content: "";
    display: inline-block;
    background: url("../img/theme/SiskostenVihannestila_logout.svg") no-repeat bottom right;
    width: 2.5rem;
    height: 2.5rem;
    vertical-align: middle;
    margin-left: -6px;
    margin-bottom: 3px;
}
.sidebar-logout {
    width: 4rem;
    height: 4rem;
    display: inline-block;
}
.top-navigation-title .sign {
    transform: rotate(180deg);
        font-size: 1.5rem;
}

.collapsed span{
    text-decoration: none !important;
}
.top-navigation-title a {
    font-size: 2.5rem;
    color: #1f9d55;
    margin: 0 0.5rem;
    font-weight: bold;
}
.top-navigation-title span {
    color: #000000;
}

.side-nav-item {
    display: block;
    padding: 1rem 0;
}
.side-nav .row {
    word-break: break-word;
}
.close-side-nav {
    width: 2rem;
    height: 2rem;
    padding-left: 0.5rem;
    font-size: 2rem;
    color: black !important;
}
/* View action */
.view.content .text {
    margin-top: 1.2rem;
}
.related {
    margin-top: 2rem;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

/* Forms */
input[type='email'],
input[type='number']:not(.aa), 
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='time'],
input[type='text']:not(.aa),
input[type='url'],
input[type='color'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='datetime'],
input[type='datetime-local'],
input:not([type]) {
    border: 2px solid #333333 !important;
    background-color: white;
    border-radius: .4rem;
    box-shadow: none;
    box-sizing: inherit;
    /*height: 3.8rem;*/
    padding: .6rem 1.0rem;
    width: 100%;
    margin-bottom: 1.5rem;
    overflow: visible;
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
.input.radio,
.input.checkbox {
    margin-bottom: 2.0rem;
}
.input.radio input,
.input.checkbox input {
    margin: 0;
}
.input.radio label,
.input.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
}
.input.radio label > input,
.input.checkbox label > input {
    margin-right: 1.0rem;
}
.input.radio label:first-of-type {
    margin-bottom: 2.0rem;
}

/* Paginator */
.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

.page-title {
    color: black !important;
    padding: 1rem;
    margin: 0 auto;
    font-size: 3rem;
}
.navigation-title {
    font-family: 'Vidaloka', serif;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3rem;
}
.farmer-title:before {
    content: "";
    display: inline-block;
    background: url("../img/theme/SiskostenVihannestila_farmer.svg") no-repeat bottom right;
    width: 2.5rem;
    height: 2.5rem;
    padding-right: 1rem;
    vertical-align: middle;
    font-weight: 900;
    font-size: 1.5rem;
}
.office-title:before {
    content: "";
    display: inline-block;
    background: url("../img/theme/SiskostenVihannestila_office.svg") no-repeat bottom right;
    width: 2.5rem;
    height: 2.5rem;
    padding-right: 1rem;
    vertical-align: middle;
    font-weight: 900;
    font-size: 1.5rem;
}
.warehouse-title:before {
    content: "";
    display: inline-block;
    background: url("../img/theme/SiskostenVihannestila_warehouse.svg") no-repeat bottom right;
    width: 2.5rem;
    height: 2.5rem;
    padding-right: 1rem;
    vertical-align: middle;
    font-weight: 900;
    font-size: 1.5rem;
}
.buyer-title:before {
    content: "";
    display: inline-block;
    background: url("../img/theme/SiskostenVihannestila_buyer.svg") no-repeat bottom right;
    width: 2.5rem;
    height: 2.5rem;
    padding-right: 1rem;
    vertical-align: middle;
    font-weight: 900;
    font-size: 1.5rem;
}
.side-nav-link a{
    color: #9fb81c !important;
    font-weight: bold;
    padding: 0.6rem 1.5rem 0.6rem;
    display: inherit;
}
.side-nav-link a:after {
    content: " >";
}
.side-nav-log-out {
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 16.6%;
}
.side-nav-log-out a{
    width: 90%;
}
a:hover{
    color: black !important;
}
.side-nav-link a:hover{
    color: black !important;
}

a:hover, a:focus, a:active, a:visited, a:link{
    text-decoration: none;
}
@media screen and (max-width: 640px) {
    .top-nav {
        margin: 0 auto;
    }
    .side-nav {
        margin-bottom: 1rem;
        border-right: none !important;
    }
    .heading {
        margin-bottom: 1rem;
    }
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
    .card-main {
        border-right: none !important;
    }
}
.home-login {
    width: 100%;
    height: 100%;
}

::-webkit-input-placeholder {
   text-align: center !important;
}

:-moz-placeholder { /* Firefox 18- */
   text-align: center !important;
}

::-moz-placeholder {  /* Firefox 19+ */
   text-align: center !important;
}

:-ms-input-placeholder {  
   text-align: center !important;
}
.button {
    background-color: transparent;
    border-color: 2px solid black !important;
}

.home-page-button {
        width: fit-content;
}
.list-group-item-action {
    color: rgba(32, 158, 86, 1);
    font-family: 'Vidaloka', serif;
    font-size: 2rem;
    font-weight: 500;
}

.border-top {
    border-color: #000000 !important;
}
.border-bottom {
    border-color: #000000 !important;
}
.border-right {
    border-color: #000000 !important;
}
.dashboard-col {
    margin-bottom: 3rem;
}
.table-container {
    background: #fcfdfc;
    padding: 3rem;
    width: 100%;
}
.table-content {
    background: transparent;
}
.table-title {
    color: #0c0c0c !important;
    font-family: 'Vidaloka', serif;

}
.table-title h3 {
    font-size: 2rem;
    text-shadow: 1px 2px 1px #cce5cc;
}
.table-headers th{
    font-size: 1.5rem;
    font-family: 'Vidaloka', serif;
}
.table-headers a {
    font-size: 1.5rem;
    font-family: 'Vidaloka', serif;
    color: black !important;

}
.mobile-friendly{
    font-size: 1.7rem;
    color: #3c3c3c;
}
.mobile-friendly:hover{
    color: #1f9d55;
}
table .fas {
    font-size: 1.5rem;
    color: #3c3c3c;
}
.fas:hover {
    color: #1f9d55;
}
/* Cards */
.card-mobile {
    border: 1px solid rgba(32, 158, 86, 0.6);
    /*border-radius: 1.5rem 1.5rem 0.5rem 0.5rem;*/
    margin-bottom: 2rem;
    box-shadow: 0px 2px 6px -2px #000000;
}
.card-title {

}
.dashboard-card {
    border: 1px solid rgba(32, 158, 86, 0.6);
    /*border-radius: 1.5rem 1.5rem 0.5rem 0.5rem;*/
    box-shadow: -2px -1px 12px 1px #cce5cc;
    padding-bottom: 1rem;
    min-height: 30rem;
}
.card-inner .button{
    
}
.row-inner {
    margin: 0;
    padding: 0;
}
.card h5 {
    font-family: 'Vidaloka', serif;
    font-size: 1.7rem;
}
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 2.0rem;
    margin-top: 0;
}
.button{
    background-color: transparent;
    border: 2px solid black !important;
    margin-bottom: 1.0rem;
}
.button, input[type='button'],
input[type='reset'],
input[type='submit'] {
    color: #3c3c3c;
    cursor: pointer;
    display: inline-block;
    font-family: 'Raleway', serif;
    font-size: 0.8rem;
    font-weight: 600;
    height: auto;
    line-height: 1rem;
    padding: 1rem 1rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
     background-color: transparent;
    border: 2px solid black !important;
}
.button-add {
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 900;
    height: auto;
    line-height: 1rem;
    padding: 0.4rem 1rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    background-color: transparent;
    border-color: #000000 !important;
    margin-bottom: 1.0rem;
}
.card {
    border-radius: 10px !important;
}
.row .datepicker{
    margin-top: 2rem;
}
.list-group-item {
    font-size: 1.5rem;
}
.list-group .row{
    margin: 0;
}
.card-home-page {
    height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: 1rem;
}
.column-responsive {
    display:block;
    flex:1 1 auto;
    margin-left:0;
    max-width:100%;
    width:100%
}
@media (min-width: 640px){
    .row{
        flex-direction:row;
        width:calc(100%)
    }
    .row .col{
        margin-bottom:inherit;
        padding:0 1.0rem
    }
    .row .column-responsive{
        margin-bottom:inherit;
        padding:0 1.0rem
    }
    .row .column-responsive.column-10{
        flex:0 0 10%;
        max-width:10%
    }
}
table {
    border-spacing:0;
    width:100%
}
.table-content {
        overflow:auto;
}
td,th {
    border-bottom:0.1rem solid #e1e1e1;
    padding:0.7rem 1.5rem;text-align:left
}
td:first-child,th:first-child {
    padding-left:0
}
td:last-child,th:last-child {
    padding-right:0
}
.input-weekly {
    height: 2rem !important;
    width: 5rem !important;
}
.input-weekly-price {
    height: 3rem !important;
    width: 6rem !important;
}

tr[id*="offer-"] th{
    padding-left: 2rem;
    padding-right: 2rem;
}
tr[id*="offer-"] td{
    background: #F7F7F7;
    padding-left: 2rem;
    padding-right: 2rem;
}
tr[id*="trow-"] td{
    border-bottom: none !important;
}
tr[id*="trowamount-"] td{
    border-bottom: 1px solid black !important;
}

/*Ifco table*/
.subrow, .subtd {
    border-bottom: none;
}

.subtable-toggle.collapsed > i.fas.fa-chevron-down {
    display: inline-block;
}
.subtable-toggle.collapsed i.fas.fa-chevron-up,
.subtable-toggle > i.fas.fa-chevron-down { 
    display: none;
}

/*Plotyl custom styles*/
.js-plotly-plot .plotly .cursor-crosshair {
  cursor: default !important;
}
.text-area {
    resize: both;
}
.datetimepicker-col {
    border: 0.1rem solid #000000;
    padding-top: 2rem;
    padding-bottom: 2rem;
    overflow: none;
    margin: 1rem;
}

/*Buyers prodcuts table*/


.no-incoming-product-row {
    background-color: #F3F3F3;
}

.custom-control-label {
    background-color: transparent;
}
.custom-control-input:checked~.custom-control-label::before {
    color: #000000 !important;
    background-color: #1f9d55 !important;
    border-color: #000000;
}
.add-form {
    background: #fcfdfc;
    padding: 3rem;
    width: 100%;
    /* border: 1px solid rgba(32, 158, 86, 0.6); */
    border-radius: 1.5rem;
    box-shadow: -2px -1px 12px 1px #cce5cc;
}
.form-title h3 {
    font-size: 2rem;
    text-shadow: 1px 2px 1px #cce5cc;
    color: #3c3c3c;
}
.timepicker .timepicker-picker  table td  a span,
.timepicker .timepicker-picker  table td,
.timepicker .timepicker-picker  table td  span
{
    height: 30px !important;
    line-height: 30px !important;
    width: 30px !important;
    line-height:30px !important;
    padding:0px !important;
}
.bootstrap-datetimepicker-widget {
    width: 35%;
    display: inline-block !important;
}
.timepicker {
    height: 50%;
    text-align: center;
}
.usetwentyfour {
    width: 80%;
}
.bootstrap-datetimepicker-widget {
  list-style: none;
  background-color: #fff !important;
}
.chores-table th{
    padding:0.3rem;
    text-align: left;
    font-size: 1.3rem;
    font-family: 'Vidaloka', serif;
}
.chores-table td{
    padding:0.3rem;
    font-size: 1.1rem;
    text-align: left;
    font-family: serif;
}
.home-page-button {
    width: 100%;
    height: fit-content;
}
.main-button {
    font-weight: 600;
    border: 2px solid black !important;
    font-size: 1rem;
}
.user-button {
    font-weight: 600;
    border: 2px solid black !important;
    font-size: 1rem;
}
.main-button:before{
    content: "";
    display: inline-block;
    background: url("../img/theme/SiskostenVihannestila_mainview.svg") no-repeat bottom right;
    width: 2rem;
    height: 2rem;
    padding-right: 1rem;
    vertical-align: middle;
    font-weight: 900;
    font-size: 1.5rem;
}
.main-button:hover{
    color: black !important;
}
.user-button:before{
    content: "";
    display: inline-block;
    background: url("../img/theme/SiskostenVihannestila_userview.svg") no-repeat bottom right;
    width: 2rem;
    height: 2rem;
    padding-right: 1rem;
    vertical-align: middle;
    font-weight: 900;
    font-size: 1.5rem;
}
.user-button:hover{
    color: black !important;
}
.card-home {
    border: none;
}
.chore-list .single-chore {
    
}
.main-chore-list-item {
    font-size: 1.2rem;
    padding: 0.2rem;
    text-align: left;
    color: #cccccc;
}
.main-chore-list {
    border: none;
    padding: 1rem;
    color: #cccccc;
}
.main-chore-title:before {
    display: inline-block;
    vertical-align: middle;
}
.main-chore-title:before {
    font-family: "Font Awesome 5 Free";
    content: "\f46d";
    display: inline-block;
    vertical-align: middle;
    font-weight: 900;
    font-size: 1.5rem;
}
@media (min-width: 1400px) and (max-width: 1400px) {
    .container {
    max-width: 1600px;
    }
}
@media (min-width: 1200px) and (max-width: 1400px) {
    .container {
    max-width: 1100px;
    }
}
@media (min-width: 950px) and (max-width: 1200px) {
    .container {
    max-width: 1000px;
    }
}
@media (min-width: 600px) and (max-width: 949px) {
    .container {
    max-width: 600px;
    }
}
@media (max-width: 700px) {
    .table-container {
        padding: 0;
    }
}
.flip {
  transform: rotate(-180deg);
}
.weekday-input {
    margin:4px;
    background-color: #EFEFEF;
    border-radius:4px;
    border:1px solid #D0D0D0;
    overflow:auto;
    float:left;
}

.weekday-input label {
    float:left;
    min-width: 100%;
}

.weekday-input label span {
    text-align:center;
    padding:3px 4px;
    display:block;
}

.weekday-input label input {
    position:absolute;
    display: none;
}

.weekday-input input:checked + span {
    background-color: rgba(32, 158, 86, 0.6);
    color: #3c3c3c;
}
.weekday-input input {
    margin-right: 100px;
}

.square {
  height: 15px;
  width: 15px;
}
.table-container h3 {
    padding-top: 2rem;
}
.table-container {
    padding-bottom: 2rem !important;
}
.tab-pane {
    background: white;
    padding-bottom: 2rem;
    padding-top: 2rem;
}
.setting-form input label {
    padding-top: 1rem;
}
.custom-submit {
    padding: 1rem;
    border: 3px solid black;
    background: white;
    float: right;
}
.removeperson {
    width: 33% !important;
    height: 10% !important;
    padding: unset;
}
.hidden-row {
    display: none !important;
}
.workers-info-div {
    border-left: 1px solid black;
}
.worker-info-row {
    border-right: 1px solid black;
}
.bg-success {
    background-color: #1F9D55 !important;
}
.help-box {
    width: 6rem;
    height: 1.5rem;
}
input:disabled {
  background: #dddddd;
}
.same {
    border: 2px solid #333333 !important;
    background-color: white;
    border-radius: .4rem;
    box-shadow: none;
    box-sizing: inherit;
    /*height: 3.8rem;*/
    padding: .6rem 1.0rem;
    width: 100%;
    margin-bottom: 1.5rem;
    overflow: visible;
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
.chore-table-container {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}
.frontpage-button {
    background-color: white !important;
}
.side-nav-title.col {
    max-width: 80% !important;
}