@font-face {
    font-family: nunito;
    src: url('../fonts/Nunito/Nunito-Regular.ttf');
    font-weight: 400;
}
@font-face {
    font-family: nunito;
    src: url('../fonts/Nunito/Nunito-SemiBold.ttf');
    font-weight: 600;
}
@font-face {
    font-family: nunito;
    src: url('../fonts/Nunito/Nunito-Bold.ttf');
    font-weight: 700;
}
@font-face {
    font-family: nunito;
    src: url('../fonts/Nunito/Nunito-ExtraBold.ttf');
    font-weight: 800;
}


body{
    font-family: nunito;
    font-size: 10px;

    margin: 0 auto;
}
.block_left {
    background-color: #fff;
    float: left;
    height: 25px;
    line-height: 25px;
    width: auto;
    margin-right: 10px;
}
/*.notes
{
    background-image: -webkit-linear-gradient(left, transparent 8px, transparent 8px), -webkit-linear-gradient(right, transparent 8px, transparent 8px), -webkit-linear-gradient(transparent 24px, #ccc 24px, #ccc 24px, transparent 25px);

    background-image: -moz-linear-gradient(left, transparent 8px, transparent 8px), -moz-linear-gradient(right, transparent 8px, transparent 8px), -moz-linear-gradient(transparent 24px, #ccc 24px, #ccc 24px, transparent 25px);

    background-image: -ms-linear-gradient(left, transparent 8px, transparent 8px), -ms-linear-gradient(right, transparent 8px, transparent 8px), -ms-linear-gradient(transparent 24px, #ccc 24px, #ccc 24px, transparent 25px);

    background-image: -o-linear-gradient(left, transparent 8px, transparent 8px), -o-linear-gradient(right, transparent 8px, transparent 8px), -o-linear-gradient(transparent 24px, #ccc 24px, #ccc 24px, transparent 25px);

    background-image: linear-gradient(left, transparent 8px, transparent 8px), linear-gradient(right, transparent 8px, transparent 8px), linear-gradient(transparent 24px, #ccc 24px, #ccc 24px, transparent 25px);

    background-size: 100% 100%, 100% 100%, 100% 28px;
}
.notes:focus
{
    outline: none;
}*/
.div2 {
    background-color: transparent;
    font-size: 10px;
    display: block;
    height: 50px;
    border-bottom: none;
    position: relative;
    line-height: 25px;
    width: 100%;
    word-wrap: break-word;
    word-break: break-all;
    white-space: pre-line;
}
.new-area .div2{
    height: 800px;
}
.neig-heigh .div2{
    min-height: 50px;
}
/*.div2:before{
    position: absolute;
    content: "";
    top: 25px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ccc;
}
.div2:after{
    position: absolute;
    content: "";
    top: 50px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ccc;
}*/
.div2:focus{
    outline: none;
    box-shadow: none;
    /*border-bottom: 1px solid #000;*/
}
h1{
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
}

.font-weight-normal{
    font-weight: 400;
}
.font-weight-medium{
    font-weight: 600;
}
.font-weight-bold{
    font-weight: bold;
}
.font-weight-ebold{
    font-weight: 800;
}
.border, .border-top, .border-end, .border-bottom, .border-start{
    border-color: #000 !important;
}


header{
    margin: 50px 15px 20px;
}


/*.form-control {
    padding: 2px 5px;
    background-color: #E8F8F8;
    border-color: #E8F8F8;
    border-radius: 15px !important;
    min-width: 30px !important;
    margin: 2px 0;
    height: 22px;
}*/
.form-control {
    padding: 5px 5px;
    background-color: transparent;
    border-color: #ddd;
    border-radius: 0 !important;
    min-width: 30px !important;
    margin: 0;
    height: 15px;
    border: none;
    font-size: 10px;
    /*border-bottom: 1px solid #ddd;*/
    transition: all 0.3s ease;
}
textarea.form-control{
    margin: 2px auto;
    border-bottom: none;
    resize: none;
    overflow: hidden;
    font-size: 10px;
    height: auto;
}
textarea.form-control:focus{
    box-shadow: none;
    /*border-bottom: 1px solid #000;*/
}
.CostBlank3Row {
    text-align: right;
}
.CostBlank3Value {
    display: inline-block;
    width: calc(100% - 26px);
}
textarea {
}
table tr{
    border-bottom: 1px solid #eee;
}
table tr td{
    padding: 2px 4px !important;
}
.w7{
    width: 7% !important;
}
.fixed-width input{
    width: 50% !important;
}
table tr.grade-td td:first-child{
    padding: 2px 5px !important;
}
table tr.grade-td td{
    padding: 2px 0 !important;
}
.bg-secondary{
    background-color: #ccc !important;
    border: 1px solid #000;
    border-top: 2px solid #000;
    font-weight: bold;
}
.form-control.has-value, .form-control[disabled=""]{
    background-color: transparent;
    border-color: #E6E6E6;
}
input[type="text"]:focus-visible{
    border-color: #ccc;
    box-shadow: none;
    outline: none;
}
.input-group-text {
    padding: 0;
    background-color: transparent;
    border-color: transparent;
    border-radius: 0;
    font-size: 10px;
}
.input-group-prepend .input-group-text{
    padding-right: 10px;
}
.input-group-append .input-group-text{
    padding-left: 5px;
}

.form-section{
    margin: 0;
}
.table{
    border: 1px solid #000;
}
td{
    padding-left: 2px !important;
    padding-right: 2px !important;
}
.bg-light{
    background-color: #AED581 !important;
}
.desc-table p, .desc-table li {
    margin-bottom: 10px;
    font-size: 12px;
    word-spacing: 8px;
    font-weight: 500;
}
.desc-table td{
    padding: 15px !important;
}
.form-title{
    position: relative;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #000 !important;
    padding: 0 !important;
    width: 15px;
    border: 1px solid #000;
}
.form-title span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    transform:  translateX(-50%) translateY(-50%) rotate(-90deg);
}


.custom-control {
    position: relative;
    display: block;
    padding: 0 0 0 18px;
}
.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}
.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    white-space: nowrap;
    line-height: 17px;
}
.width-content .custom-control-label.d-inline-block, .width-content .custom-control-input.d-inline-block {
    display: inline !important;
    word-break: break-all;
}
.width-content .custom-control{
    padding: 0;
}
.width-content .custom-control-input {
    position: relative;
    opacity: 0;
    left: 3px;
    top: 3px;
    height: auto;
}
.width-content .custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: middle;
    white-space: normal;
    line-height: 17px;
}
.custom-control-label::before {
    position: absolute;
    top: 1px;
    left: -1rem;
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
}
.custom-control-label::before, .custom-file-label, .custom-select {
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.custom-checkbox .custom-control-label::before,
.custom-radio .custom-control-label::before {
    border-radius: 3px;
}
.custom-control-label::after {
    position: absolute;
    top: -1px;
    left: -1.1rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50% / 50% 50%;
}
.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #007bff;
    background-color: #007bff;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after,
    /*.custom-radio .custom-control-input:checked ~ .custom-control-label::after {*/
    /*    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e);*/
    /*}*/
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff;
    background-color: #b3d7ff;
    border-color: #b3d7ff;
}
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #80bdff;
}


.custom-control.d-inline-block:not(:last-child){
    margin-right: 5px;
}
.custom-control-label::before {
    background-color: transparent;
}
/*.custom-control-label::before {
    background-color: #E8F8F8;
}*/
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff;
    background-color: #fff;
    border-color: #000;
}
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none;
}
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #000;
    background-color: #fff;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::after,
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background: none;
    content: "\f00d";
    font-family: FontAwesome;
    color: #000;
    font-weight: bold;
    top: -1px;
    text-align: center;
}


footer{
    margin: 0 5px 50px;
}
.label-field{
    float: right;
    display: inline-block;
    vertical-align: middle;
}

.td-new-width .input-group{
    display: inline-flex !important;
}
.ml{
    margin-left: 5px;
    display: inline-block;
}
.w5{
    width: 5%;
}
.sales-width .input1.form-control{
    width: 50px !important;
    flex: none !important;
}
.sales-width .input2.form-control{
    width: 120px !important;
    flex: none !important;
}
.mlr{
    margin: 0 40px 0 15px !important;
}



@media(max-width: 575px){
    header {
        margin: 50px 10px 20px;
    }
    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .form-section {
        margin: 0;
    }
    footer {
        margin: 0 10px 50px;
    }
}


@media print{
    *{
        font-size: 8px;
    }
    h1{
        font-size: 18px;
    }
    .border, .border-top, .border-end, .border-bottom, .border-start{
        border-color: #E6E6E6 !important;
    }
    .form-control{
        border-color: #000;
        border-radius: 3px !important;
    }
    .form-title{
        font-size: 10px;
        background-color: #E6E6E6 !important;
        width: 25px;
    }
    table{
        margin-bottom: 30px !important;
    }
    td{
        padding: 2px !important;
        border: 1px solid #E6E6E6 !important;
    }
}