﻿:root {
    --fixed-bottom-button-height: 66px;
}
/* New.cshtml */
.fixed-bottom-button {
    position: fixed;
    bottom: 0;
    left: 75px;
    right: 0;
    z-index: 600;
    background-color: var(--white);
    padding: 14px 24px 14px;
    box-shadow: 4px -3px 8px rgba(17, 17, 17, 0.1);
    transition: left 200ms ease-in-out;
    height: var(--fixed-bottom-button-height);
}

#mikro-sidebar:not(.closed) + main .fixed-bottom-button {
    left: 300px;
}

.mobile-button-container {
    display: flex !important;
    top: unset !important;
    bottom: 100%;
}

.fds-overflow-menu-options button {
    border: none !important
}

.fds-overflow-menu-options {
    padding: 0 !important;
}

.fixed-bottom-button-margin {
    margin-bottom: calc( var(--fixed-bottom-button-height) + 1rem);
}

.dialog-holder {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.dialog-holder dialog {
    padding: 0 3rem 0 3rem;
    border: none;
    min-width: 58vw;
    border-radius: 2px;
    overflow: hidden;
    background-color: #fbfbfb;

}

.dialog-holder dialog .dialog-actions {
    padding: 1.5rem;
    background-color: #fbfbfb;
    border: solid 1px #d1d2d3;
    display: flex;
    justify-content: flex-end;
    margin: 0 -3rem;
}

.dialog-holder dialog .dialog-close-button {
    width: 24px;
    height: 24px;
    text-align: center;
    display: flex;
    border: none;
    background: transparent;
    align-items: center;
    position: absolute;
    right: 26px;
    top: 21px;
    padding: 0;
}

.errors-modal {
    z-index: 9999;
}

.errors-modal h1 {
    font-size: 20px;
    font-weight: normal;
}

.dialog-holder {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.dialog-holder dialog {
    padding: 0 3rem 0 3rem;
    border: none;
    min-width: 58vw;
    border-radius: 2px;
    overflow: hidden;
}

.dialog-holder dialog .dialog-actions {
    padding: 1.5rem;
    background-color: #fbfbfb;
    border: solid 1px #d1d2d3;
    display: flex;
    justify-content: flex-end;
    margin: 0 -3rem;
}

.dialog-holder dialog .dialog-close-button {
    width: 24px;
    height: 24px;
    text-align: center;
    display: flex;
    border: none;
    background: transparent;
    align-items: center;
    position: absolute;
    right: 26px;
    top: 21px;
    padding: 0;
}

@media screen and (max-width:768px) {
    .fixed-bottom-button {
        left: 0;
        z-index: 599;
    }

    .close-btn-preview{
        float: unset;
    }

    .close-btn-preview button{
        margin-bottom: 3px;
    }

    #mikro-sidebar:not(.closed) + main .fixed-bottom-button {
        left: 0;
    }
}

/* New.cshtml End */

/* _aliciBilgileri.cshtml */

.ettn-info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* _aliciBilgileri.cshtml End*/


/* _detaylar.cshtml */

.details-table {
    border-collapse: collapse !important;
    border-spacing: 0 1em;
}

.details-table tbody tr {
    border-bottom: 2px solid var(--gray-0);
}

.details-table tbody tr[ng-repeat-end]:not(:has(.fds-tag--count)), .fds-details-table tbody tr[ng-repeat-end]:not(:has(.fds-tag--count)) {
    display: none;
}

.details-table.vertical-align-base-line td{
    vertical-align:baseline !important
}

.details-table th:not(:first-child):not(:last-child), .fds-details-table th:not(:first-child):not(:last-child) {
    min-width: 140px !important;
    white-space: nowrap;
}

.details-table th {
    border-bottom: none !important
}

.details-table tbody td:not(:first-child):not(:last-child) {
    min-width: min-content !important
}

.details-table tbody tr {
    background-color: var(--white);
}

.details-table td, .details-table th {
    border: none;
    background: inherit
}

.details-row-span{
    display:flex;
    align-items:center;
    min-width:max-content;
    max-width:140px;
}

.fds-data-table.fds-data-table--radius{
    border-collapse:separate;
    border-spacing:0;
}

.details-table tr:first-child td:first-child {
    border-top-left-radius: 4px;
}

.details-table tr:first-child td:last-child {
    border-top-right-radius: 4px;
}

.details-table tr:last-child td:first-child {
    border-bottom-left-radius: 4px;
}

.details-table tr:last-child td:last-child {
    border-bottom-right-radius: 4px;
}

.details-table thead, .details-table tr > th {
    position: sticky;
}

.details-table thead {
    top: 0px;
    z-index: 2;
}

.details-table tr > th {
    z-index: 1;
}

.details-table tr > th:first-child {
    z-index: 3;
    left: 0px;
    background-color: #F2F2F2;
    box-shadow: 6px 0 5px -2px rgba(149, 142, 142, 0.62)
}

.details-table tbody tr .first-td .mobile-details-button-container > i {
    transition: transform 200ms ease-in-out
}

.details-table tbody tr .first-td.arrowup .mobile-details-button-container > i {
    transform: rotate(-180deg);
}

.fds-data-table.fds-details-table tr th:first-child, .fds-data-table.fds-data-table--radius tr th:first-child {
    border-top-left-radius: 8px;
}

.fds-data-table.fds-details-table tr th:last-child, .fds-data-table.fds-data-table--radius tr th:last-child {
    border-top-right-radius: 8px;
}

.fds-data-table.fds-details-table tr:last-child td:first-child, .fds-data-table.fds-data-table--radius tr:last-child td:first-child{
    border-bottom-left-radius: 8px;
}

.fds-data-table.fds-details-table tr:last-child td:last-child, .fds-data-table.fds-data-table--radius tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.fds-details-table {
    border-collapse: separate !important;
    border-spacing: 0;
}

.fds-details-table thead th:first-child,
.fds-details-table thead th:last-child,
.fds-details-table tbody tr td:first-child,
.fds-details-table tbody tr td:last-child{
    position:sticky;
    z-index:2;
}

.fds-details-table thead th:first-child,
.fds-details-table tbody tr td:first-child{
    left:0;
    border-right:1px solid var(--cool-gray-10);
}

.fds-details-table thead th:last-child,
.fds-details-table tbody tr td:last-child {
    right:0;
    border-left:1px solid var(--cool-gray-10);
}

.fds-details-table tbody tr td:first-child,
.fds-details-table tbody tr td:last-child {
    background: var(--white)
}


.fds-data-table.fds-details-table tbody tr .first-td .mobile-details-button-container > i {
    transition : transform 200ms ease-in-out
}

.fds-data-table.fds-details-table tbody tr .first-td.arrowup .mobile-details-button-container > i {
    transform: rotate(-180deg);
}

.table-wrapper {
    overflow-x: auto;
}

.details-table tr > td:first-child {
    position: sticky;
    background-color: #FFFFFF;
    z-index: 4;
    left: 0px;
    box-shadow: 6px 0 5px -2px rgba(149, 142, 142, 0.62)
}

.details-table tr > td:last-child {
    position: sticky;
    background-color: #FFFFFF;
    z-index: 3;
    right: 0px;
    box-shadow: -6px 0 5px -2px rgba(149, 142, 142, 0.62)
}

.details-table tr > th:last-child {
    z-index: 3;
    right: 0px;
    background-color: #F2F2F2;
    box-shadow: -6px 0 5px -2px rgba(149, 142, 142, 0.62)
}

.fds-data-table.fds-details-table tr .mobile-row-toggler, .details-table tr .mobile-row-toggler {
    font-size: 18px !important;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.details-table-footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    gap: 0.5rem
}

.fds-data-table.fds-details-table .fds-text-input, .fds-details-table .fds-select-input, .details-table .fds-text-input, .details-table .fds-select-input {
    min-height: 32px !important;
}

.fds-data-table.fds-details-table .fds-select-input, .details-table .fds-select-input {
    line-height: 32px !important
}

.invoice-amount-container .invoice-amount-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.625rem;
    align-items: center;
}

.invoice-amount-container .invoice-amount-row:not(:last-child) {
    border-bottom: 1px solid var(--cool-gray-10)
}

.invoice-amount-container .invoice-amount-row:last-child {
    background-color: var(--white);
}

.invoice-amount-container.invoice-amount-container--outer-spacing .invoice-amount-row:first-child:not(:only-of-type) {
    padding-top: 0;
}
.invoice-amount-container.invoice-amount-container--outer-spacing .invoice-amount-row:last-child {
    padding-bottom: 0;
}

.editable-amount-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.update-payable-amount-icon {
    color: var(--gray-60);
    cursor: pointer;
    user-select: none;
}

.update-payable-amount-icon:hover {
    color: var(--gray-70);
    font-weight: bold;
}

.exemption-select-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mobile-details-button-container {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items:center;
}

.mobile-details-row-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width:100%;
}

.vatlist {
    position: absolute;
    width: 100px;
    background: #fff;
    box-shadow: 0 0 7px 0px #00000014;
    border-radius: 2px;
    list-style: none;
    padding: 0;
    z-index: 2;
}

.vatlist li {
    line-height: 35px;
    text-align: center;
    border-bottom: 1px solid #42424212;
    cursor: pointer;
}

.vatlist li:hover {
    color: #007bff;
    background: #F7FCFF;
}

/*table.details-table tbody tr:nth-child(even) td {
    padding-left: 4.5rem;
}*/

table.details-table tbody tr:nth-child(even) td .fds-form-item{
    margin-bottom: 10px !important;
}

table.details-table tbody tr:nth-child(even) td .action-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.modal-content .modal-header{
    border-bottom : 0 !important
}

.modal-content .modal-footer{
    border-top: 0 !important
}

label[data-label-document="true"] .file-count {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background-color: var(--info-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -14px;
    top: -9px;
    padding-bottom: 2px;
}


.add-document-box {
    position: relative;
    min-width: 375px;
    z-index: 560
}

.add-document-box > .add-document-box__items > .fds-file-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.add-document-box__face, .add-document-box__items {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 200px;
}

.add-document-box__face {
    display: block;
    position: relative;
}

.add-document-box__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-document-box__close {
    color: var(--cool-gray-80);
    cursor: pointer;
}

.add-document-box__items {
    margin: 0;
    position: absolute;
    bottom: 50%;
    width: fit-content;
    visibility: hidden;
    z-index: -1;
    opacity: 0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 10px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: all 0.4s cubic-bezier(0.93, 0.88, 0.1, 0.8);
}

.add-document-box__items::before {
    content: "";
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    position: absolute;
    top: 100%;
    left: 5%;
    width: 0;
    height: 0;
    -webkit-filter: drop-shadow(0px 2px 2px rgba(0,0,0,.3));
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,.3));
    transform: translateY(-2px);
}


.add-document-box-toggler {
    display: none;
}

.add-document-box-toggler:checked ~ .add-document-box .add-document-box__items {
    bottom: calc(100% + 50px);
    visibility: visible;
    opacity: 1;
}

.add-document-box__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 540;
    display:none
}

.add-document-box-toggler:checked ~ .add-document-box__backdrop{
    display:flex;
}


.additional-input-row{
    width:50% !important
}

.details-options-list li{
    display:flex;
    justify-content:start;
    align-items:center;
    flex-direction:row;
    gap:0.2rem
}

.details-options-list li.opened{
    background:var(--gray-20) !important
}

.details-options-list li.opened:hover{
    background: var(--gray-10) !important
}

.details-options-list li .details-options-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
}

.details-options-list li .details-options-icon .details-file-plus {
    font-size:18px;
}

.discount-row .fds-form-item:first-child{
    flex:4;
}
.discount-row .fds-form-item:nth-child(2) {
    flex: 4;
}


@media screen and (min-width: 992px) {
    .exemption-select-container .fds-form-item__field-wrapper {
        max-width: 250px;
    }
}

@media screen and (max-width: 992px) {
    .ettn-info-box{
        margin-bottom:32px
    }

    .fds-file-uploaded-item-name {
        max-width: 250px;
    }
}

@media screen and (max-width: 576px) {
    .fds-file-uploaded-item-name {
        max-width: 150px !important;
    }

    .discount-row .fds-form-item:first-child {
        flex: 1;
    }

    .discount-row .fds-form-item:nth-child(2) {
        flex: 1;
    }
}

@media screen and (max-width : 768px ) {
    table.details-table thead {
        display: none
    }

    table.details-table tbody tr {
        display: flex;
        flex-direction: column;
    }

    table.table-mobile-vertical thead {
        display: none;
    }

    table.table-mobile-vertical tbody tr {
        display: flex;
        flex-direction: column;
    }
      
    .details-table .mobile-td-not-first {
        display:none !important
    }

    table.details-table tbody tr:nth-child(even) td:first-child{
        display:none;
    }

    .fds-file-uploaded-item-name {
        max-width:300px;
    }

    .add-document-box{
        position:fixed !important;
        z-index:9999;
        right:0;
        left:0;
        bottom:0 !important;
    }

    .add-document-box__items {
        transition: all .3s cubic-bezier(0.4, 0.39, 0.51, 0.6);
    }

    .add-document-box .add-document-box__items {
        position: fixed !important;
        z-index: 9999;
        right: 0;
        left: 0;
        bottom: 0 !important;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        transform: translateY(100%);
    }

    .add-document-box-toggler:checked ~ .add-document-box .add-document-box__items {
        transform: translateY(0%);
    }

    .add-document-box__backdrop {
        background-color: #00000070;
    }
    .additional-input-row{
        width:100% !important

    }
}

/* _detaylar.cshtml End*/


/* Preview Draft Dialog Holder Start*/

.dialog-preview-holder {
    border: none;
    background: transparent;
}

.dialog-preview-holder .modal-backdrop {
    opacity: 0.4;
    z-index: 600 !important;
}

.dialog-preview-holder .alert {
    z-index: 1401;
}

.dialog-preview-holder#preview-holder .alert {
    z-index: 600;
    padding-bottom: 75px;
}

.dialog-preview-header {
    font-size: 20px;
    font-weight: 500;
    color: #202124
}

.dialog-preview-closer {
    color: #5B5B5B;
    font-weight: 400;
}

.loading-overlay {
    visibility: hidden;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

hr {
    height: unset !important;
    color: unset !important;
    background-color: unset !important;
    border-bottom: unset !important;
}

.close-btn {
    float: right;
    margin-top: 20px
}

@media screen and (max-width: 1000px) {
    .dialog-preview-holder {
        width: 100%;
        top: unset;
    }

    .dialog-preview-holder #preview-holder .alert {
        min-width: unset;
    }

    #document {
        overflow-x: auto;
    }
}

@media screen and (min-width: 1000px) {
    .dialog-preview-holder {
        width: 1024px;
    }

    .dialog-preview-holder-top-0 {
        top: -30px;
    }
}
/* Preview Draft Dialog Holder End*/

/* PreviewDraft.cshtml PreviewNewDraft.cshtml Start */
.note-warning {
    border-color: #f0ad4e;
    background: #fcf8e3;
}

.note {
    margin: 0;
    letter-spacing: 0.5px !important;
    color: #288cb5 !important;
    padding: 15px 30px 15px 15px;
    border-left: 10px solid #f0ad4e;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    color: #333 !important;
}

.note > h3 {
    font-size: 15px !important;
    letter-spacing: 1px;
    font-weight: 700 !important;
    padding: 0 10px;
    border-bottom: none;
    letter-spacing: 1px;
    font-weight: 700 !important;
    color: #2ab4c0;
}

.note > h3 {
    letter-spacing: 1px;
    font-weight: 700 !important;
    color: #2ab4c0;
    padding-bottom: 9px;
}

h3 > i.fa-info-circle {
    color: #6c757d;
    padding-right: 3px;
}

.invoice-holder {
    width: calc(800px + 2rem);
    min-height: 1000px;
    height: 100%;
    margin: 0 auto;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 7px 14px 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07) !important;
}

ul, ol {
    margin-left: 0px !important;
}

.sayfa .logo-holder > div {
    display: none !important;
}

.sayfa .sign-holder > div {
    display: none !important;
}

.validation-errors-container {
    margin-top: 1.5rem;
    margin-right: 0.5rem;
    margin-left: 0px !important;
}

.validations-errors-list {
    max-height: 50vh;
    max-width: 50vw;
    overflow-y: auto;
    padding: 0px 20px;
}

#centered-text {
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}


.diagonal-text {
    font-size: 40px;
    font-weight: 400;
    transform: rotate(-45deg);
    transform-origin: center;
    position: absolute;
    top: 25%;
    left: 50%;
    margin-top: -12px;
    margin-left: -72px;
    color: #FDC6CA;
    opacity:0.5;
}

/* PreviewDraft.cshtml PreviewNewDraft.cshtml End */
/* _detaylar.cshtml Detail Checkbox Section Start */

.detailRow {
    display: flex;
    justify-content: end;
    margin-top: 5px;
    margin-bottom: 5px;
}

.desktop-hide-checkbox {
    margin-left: 13px;
}

.deleteRow {
    margin-left: 8px;
}

.checkbox-td {
    gap: 0.2rem;
}

@media (min-width: 769px) {
    .desktop-hide {
        display: none;
    }
}

@media (max-width: 769px) {
    .detailRow {
        justify-content: center !important;
    }
}

/* _detaylar.cshtml Checkbox Section End */

/* CreateInvoice Section Start*/
.customer-list {
    display:none;
    position: absolute;
    width: 100% !important;
    left: 0px !important;
    background: var(--white) !important;
    box-shadow: 0px 1px 6px 0px #00000040 !important;
    border-bottom-right-radius: 2px !important;
    border-bottom-left-radius: 2px !important;
    list-style: none;
    padding: 0;
    z-index: 9999;
    max-height: 250px;
    overflow-y: auto;
}

.customer-list li:hover {
    color: var(--cool-gray-70);
    background: var(--cool-gray-0)
}

.customer-list li {
    line-height: 35px;
    padding: 0.5rem;
    cursor: pointer;
}
/* CreateInvoice Section End*/

.customer-address-information-modal {
    padding: 0 !important;
    z-index: 2014 !important
}

.additional-fields-list {
    list-style: none;
    padding: 0 0.5rem;
}

    .additional-fields-list span {
        word-break: break-all
    }

.fds-form-item__label--flex {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.table.input-table th {
    border-top: 0;
}


.dropdown-menu.iban-list.show {
    right: -9px;
    top: 40px !important;
    transform: none !important;
    width:100% !important
}

table thead tr th, table thead tr th span {
    font-family: "Inter", "Arial", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.125em;
    letter-spacing: 0.16px;
    color: var(--cool-gray-80)
}


.border-bottom-none {
    border-bottom:none !important
}

.pointer{
    cursor:pointer;
}

.flag-style {
    color: var(--cool-gray-30);
    cursor: pointer;
}


.serial-code-info-helper-text {
    margin-top: -1rem;
}


.fds-frozen-column {
    position: sticky;
    z-index: 1;
    background-color: inherit;
}

.list-e-document-table tbody tr{
    background-color: var(--white);
}

.manuel-gib-report {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

