/* Fontface */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: normal;
    src: url(font/Raleway-Medium.ttf) format('truetype');
}
@font-face {
    font-family: 'Raleway';
    font-style: italic;
    font-weight: normal;
    src: url(font/Raleway-MediumItalic.ttf) format('truetype');
}
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: bold;
    src: url(font/Raleway-Bold.ttf) format('truetype');
}
@font-face {
    font-family: 'Raleway';
    font-style: italic;
    font-weight: bold;
    src: url(font/Raleway-BoldItalic.ttf) format('truetype');
}

:root {
    --yellow: #ffc900;
    --red: #e1251b;
    --grey: #231f20;
    --green: #0b7068;
    --green-light: #0e958b;
    --green-logo: #12baae;
    --cream-logo: #eadda3;
    --orange-logo: #f97316;
}
body {
    font-family: 'Raleway', sans-serif;
}
.navbar-home img.app-logo, .navbar-brand img {
    margin: 0;
    max-height: 36px;
}
.navbar .navbar-brand {
    margin: -1rem 0;
    padding: 0;
}
img.footer-logo {
    height: 30px;
    margin: -1rem -0.75rem;
}
.desk-sidebar .desk-sidebar-item.standard-sidebar-item.selected {
    background-color: var(--orange-logo);
}
.desk-sidebar .desk-sidebar-item.standard-sidebar-item.selected a {
    color: white;
}
.desk-sidebar .desk-sidebar-item.standard-sidebar-item.selected a svg {
    fill: var(--cream-logo);
}

.hide-right-header {
    bottom: 20px;
    display: block;
    left: 40%;
    position: absolute;
    right: 40%;
    text-align: center;
}

.widget.number-widget-box .widget-body .widget-content {
    padding-top: var(--padding-md);
}
.ce-block__content:has(> [custom_block_name="Break"]) {
    display: none;
}

div[data-fieldname="address"] > .static-area br {
    display: none;
}

.frappe-control[data-fieldtype="Heading"] > h4 {
    font-size: var(--text-base);
    font-weight: 700;
    padding: var(--padding-sm) 0;
}

.form-links .document-link .document-link-badge .count, .form-links .document-link .report-link-badge .count {
    background-color: var(--orange-logo);
    padding-bottom: 1px;
}
.row.form-section.card-section.visible-section {
    border: none;
    padding-bottom: 0;
    padding-top: 0;
}
.row.form-section.card-section.visible-section .section-head {
    border-top: 1px solid var(--border-color);
    margin-top: var(--margin-sm);
    padding-top: var(--margin-lg);
}
.row.form-section.card-section.empty-section + .row.form-section.card-section.visible-section > .section-head {
    border-top: none;
    margin-top: 0;
}
.row.form-section.card-section.visible-section .section-body {
    margin-bottom: 0;
    margin-top: 0;
}
.form-dashboard.visible-section {
    margin-bottom: var(--margin-md);
}
.form-dashboard + .row.form-section.card-section.visible-section,
.row.form-section.card-section.visible-section:first-child {
    padding-top: var(--padding-md);
}
.row.form-section.card-section.visible-section:last-child {
    padding-bottom: var(--padding-xs);
}
.form-group:last-child.frappe-control[data-fieldtype=Table] {
    margin-bottom: var(--margin-md);
}
