:root {
  --text-white: #fff;
  --background-gray: #dedede;
  --main-brown: #90243B;
  --background-main1: #90243b;
  --background-main2: #610c1f;
  --text-gray: #686666;
  --text-brown-light: #be8d97;
  --text-brown-dark: #8f233a;
  --background-light-gray: #ebebeb;
  --brown-dark-2: #E0AFAF;
  --brown-deepdark: #7D2235;
  /*--brown-light-2: #EDDDDD;*/
  --brown-light-2: #E6E6E6;
  --main-font: "Times New Roman", sans-serif;
}

::selection {
  background-color: var(--background-main1);
  color: var(--text-white);
}

*, *::before, *::after {
  box-sizing: border-box;
}


/*          Quill           */

.ql-font-times-new-roman {
  font-family: 'Times New Roman';
}

.ql-font-arial {
  font-family: Arial;
}

.ql-font-verdana {
  font-family: Verdana;
}

.ql-font-georgia {
  font-family: Georgia;
}

.ql-font-courier-new {
  font-family: 'Courier New';
}


.ql-size-12 {
  font-size: 12px;
}

.ql-size-14 {
  font-size: 14px;
}

.ql-size-16 {
  font-size: 16px;
}

.ql-size-18 {
  font-size: 18px;
}

.ql-size-20 {
  font-size: 20px;
}

.ql-size-24 {
  font-size: 24px;
}

.ql-picker {
  height: max-content !important;
}

.ql-align-center {
  text-align: center;
}

.ql-align-right {
  text-align: right;
}

.ql-align-justify {
  text-align: justify;
}

li[data-list="bullet"] {
  list-style-type: disc;
}

/*        Quill end           */



h1:focus {
    outline: none;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

body {
  margin: 0;
  background-color: var(--background-gray);
}

.app-container {
  width: 1160px;
  min-height: 100vh;
  margin: 0 auto;
}

.app-header {
  height: 141px;
  display: flex;
  flex-direction: column;
  align-content: center;
  background: url(/images/header-background.jpg);
  background-repeat: no-repeat;
  background-color: var(--text-white);
}

.header-line {
  width: 100%;
  height: 6px;
  border-bottom: 1px solid var(--text-white);
  background-color: var(--main-brown);
}

.header-links {
  margin-top: 18px;
  margin-left: 25px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-info-link-item {
  text-align: center;
}

.header-info-link-item:not(:last-of-type)::after {
  content: "|";
  margin-left: 5px;
}

.header-languages {
  display: flex;
  gap: 15px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.language {
  width: 38px;
  height: 32px;
  align-content: center;
  text-align: center;
  color: var(--text-gray);
}

.language:hover {
  cursor:pointer;
  text-decoration: underline;
}

.current-lang {
  background: linear-gradient(var(--background-main1),var(--background-main2));
  color: var(--text-white);
  border-radius: 5px;
  font-size: 14px;
}

.current-lang:hover {
  background: linear-gradient(var(--background-main2),var(--background-main1));
  text-decoration: none;
}

.header-logo {
  width: 500px;
  height: 84px;
  display: flex;
  margin: 13px 0 0 25px;
}


.text-brown {
  color: var(--main-brown);
}

.app-body {
  position: relative;
  min-height: calc(100vh - 141px - 190px);
  background-color: var(--text-white);
  padding: 25px 25px 0 25px;
}

.app-footer {
  height: 190px;
}

.filters, .results {
  height: max-content;
}

.footer-address {
  height: 160px;
  background: url(https://www.constcourt.md/img/bg2.jpg);
  background-repeat: no-repeat;
  background-position: center ;
  background-size: cover;
}

.footer-copyright {
  height: 30px;
  background: linear-gradient(var(--background-main1),var(--background-main2));
}

.link-top {
  height: 20px;
  width: 70px;
  margin: 0 auto;
}

.a-link {
  width: 100%;
  height: 100%;
}

.cc-link {
  cursor:pointer;
}

.footer-address-info {
  display: flex;
  height: calc(100% - 40px);
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

h1 {
  position: absolute;
}

.cc-address {
  width: 300px;
  line-height: 20px;
}

.cc-phones {
  width: 380px;
  display: flex;
  gap: 30px;
}

.cc-phone-title {
  font-size: 16px;
}

.cc-phone-number {
  font-size: 24px;
  margin: 10px 0;
}

.cc-support {
  display: flex;
  gap: 20px;
  align-items: center;
  width: 250px;
  line-height: 20px;
}

.footer-copyright {
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.copyright-text {
  margin: 0;
  height: 100%;
  align-content:center;
  color: var(--text-brown-light);
  font-size: 13px;
}

.email-address {
  text-decoration: underline;
  color: #000;
}

.email-address:hover {
  text-decoration: none;
  color: var(--text-brown-dark);
}

.main-layout {
  display: grid;
}

.main-layout.s-simple {
  grid-template-columns: 1fr 3fr;
  gap: 30px;
}

.main-layout.s-advanced {
  grid-template-columns: 1fr 3fr;
  gap: 20px;
  /*max-width: 100%;*/
}

.filters {
  max-width: 270px;
  border: 1px solid var(--text-brown-light);
}

.fluent-nav-menu {
  margin: 5px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 7px !important;
}

.filter-stack {
  margin-top: 15px;
}

.cc-switch-out {
  width: 100%;
  border: 2px solid var(--text-brown-dark);
}

.cc-switch-in {
  padding: 7px 0;
  width: 100%;
  justify-content: center;
}

.col-title-text {
  white-space: normal !important;
}

.column-header {
  height: max-content !important;
}

.col-sort-button {
  height: max-content;
}

.search-type-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0 20px 0;
}

.cc-btn-enabled::part(control) {
  background: var(--background-main1) !important;
  color: var(--text-white);
  box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.2), inset -2px -2px 6px rgba(255, 255, 255, 0.2);
  cursor: default;
}

.display-none {
  display: none;
}

.simple-search-enabled {
  display: flex;
}

.advanced-search-enabled {
  display: flex;
  padding: 10px;
}

.cc-nav-group {
  background: var(--brown-light-2);
  /*color: var(--text-white);*/
  border-radius: 5px;
  height: max-content;
}

.positioning-region {
  background: revert !important;
  border-radius: 5px;
}

.fluent-nav-expand-icon {
  /*fill: white !important;*/
}

.cc-checkbox {
  /*background: var(--text-brown-dark);*/
}

.cc-checkbox::part(control) {
  /*background: var(--brown-dark-2) !important;
  border-color: var(--brown-dark-2) !important;*/
  background: #fff;
}

.cc-checkbox.checked::part(control) {
  background: var(--text-brown-dark) !important;
  border-color: var(--text-brown-dark) !important;
}

.fluent-nav-menu {
  /*width: 95% !important;*/
  /*width: unset !important;*/
}

.cc-nav-group.expanded > .fluent-nav-link {
  border-bottom: 2px solid var(--text-brown-dark);
}

.cc-nav-group.expanded .items {
  background: #fff;
  border: 1px solid black;
  border-top: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.cc-btn {
  margin-top: 10px;
}

.cc-btn::part(control) {
  background: var(--text-brown-dark);
  color: var(--text-white);
}

.cc-btn::part(control):hover {
  background: var(--brown-deepdark);
  transition: all 500ms ease-in;
}

.fluent-data-grid-row {
  /*height: auto !important;*/
  /*min-height: unset !important;*/
  display: table-row !important;
}

th.column-header  * {
  height: 100%;
}

.fluent-data-grid {
  display: table !important;
  width: 100% !important;
}

.cc-row-opened {
  white-space: normal !important;
  overflow: visible;
  word-break: break-word;
}

.cc-description {
  width: 450px;
  max-width: 450px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cc-more-btn {
  width: 70px;
  height: 20px;
  background: none;
}

.s-advanced > .filters {
  width: 100%;
  max-width: unset;
}

.cc-search-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.s-advanced .cc-nav-group > .items {
  max-height: 300px;
  max-width: 100%;
  overflow-y: auto;
  scroll-padding: 5px;
  scrollbar-color: var(--text-brown-dark) #fff;
}

.const-articles .nest-item-checkbox::part(content-region) {
  align-items: flex-start;
  justify-content: center;
}

.nested-checkbox::part(label), fluent-checkbox::part(label) {
  text-wrap: wrap;
}

.const-articles .cc-listbox {
  gap: 15px;
}

.const-articles .cc-listbox .nest-item-checkbox::part(content-region) {
  flex-direction: column;
}

.const-articles .cc-listbox .nest-item-checkbox > fluent-radio-group {
  margin-left: 10px;
}

.ccdoc-title {
  margin-top: 0;
  text-align: center;
  font-size: 1.7rem;
  font-family: var(--main-font);
  color:var(--text-brown-dark);
  font-weight: 600;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--text-brown-dark);
}

.results-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  padding: 10px;
  background: var(--brown-light-2);
  border-radius: 4px;
}

.results-count {
  font-family: var(--main-font);
  font-weight: 600;
  color: var(--brown-deepdark);
}

.cc-error-msg {
  display: block;
  color: red;
  font-weight: 600;
  font-family: var(--main-font);
  background: #FFDBDB;
  padding: 10px 5px;
  margin-bottom: 30px;
  font-size: 1.2rem;
  text-align: center;
  border: 3px solid red;
}

.loading-content {
  position: absolute;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(100% - 50px);
  height: calc(100% - 106px);
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.not-found {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100% - 25px);
  width: calc(100% - 50px);
  color: var(--text-brown-dark);
  font-weight: 600;
  font-size: 1.3rem;
  font-family: var(--main-font);
}

.preview-content {
  width: 100%;
  height: calc(100% - 110px);
}

.preview-frame {
  width: 100%;
  height: 100%;
}

.mw-75 {
  min-width: 75px;
}

.results {
  max-width: 100%;
/*  border-top: 3px solid black;
  padding-top: 10px;*/
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
}

.case-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
  border: 1px solid var(--background-main1);
  border-radius: 5px;
  padding: 10px;
}

.case-item-btns {
  display: flex;
  align-items: center;
}

.case-short-info {
  display: flex;
  gap: 10px;
  padding-left: 10px;
}

.case-short-info > div {
  position: relative;
}

.case-short-info > div::after {
  display: block;
  content: "";
  position: absolute;
  right: -5px;
  top:0;
  bottom: 0;
  width: 1px;
  background-color: #000;
  margin-left: 5px;
}

.case-short-info:last-child::after {
  content: "";
}

.s-advanced > * {
  max-width: 100%;
}

.case-title {
  display: grid;
  grid-template-columns: 1fr;
}

.case-title-btn {
  height: max-content;
}

.case-title-btn::part(control) {
  background: none !important;
  font-weight: 600;
  height: max-content;
}

.case-title {
  align-self:start;
  height:max-content;
}

.case-title-text {
/*  overflow-wrap:break-word;*/
/*  text-wrap:wrap;*/
/*  height: max-content;*/
  padding-left: 10px;
  font-weight: 600;
}

.cc-item-btn::part(control) {
  background: none !important;
  color: #1a73e8;
}

.cc-access-denied {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--background-main1);
}

.case-info-header {
  text-align: center;
  font-size: 1.5rem;
  margin: 10px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--background-main1);
}

.case-nr {
  background-color: var(--background-main1);
  color: var(--text-white);
  padding: 0 5px;
  font-weight: 600;
}

.case-date {
  font-weight: 600;
}

.case-descr {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.case-author {
  font-size: 1rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--background-main1);
}

.main-doc, .related-docs {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--background-main1);
}

.main-doc-type, .related-doc-type {
  font-weight: 600;
}

.doc-filename, .doc-link {
  color: var(--background-main1);
  text-decoration: none;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
}

.doc-filename:hover, .doc-link:hover {
  color: var(--background-main1);
  cursor: pointer;
  text-decoration: underline;
}

.preview_iframe {
  width: 100%;
  height: calc(100% - 15px);
}

.case-short-info {
  flex-wrap: wrap;
}

.case-short-info > * {
  display: flex;
}

#results-grid td {
  padding: 6px 0;
  white-space: wrap;
}


#advanced_search, .filters-simple {
  border: 1px solid var(--background-main1);
}


#advanced_search .fluent-nav-menu {
  gap: 10px;
}

.filters-simple {
  padding: 10px;
  margin-bottom: 20px;
}

.filters-simple-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  align-items: end;
}

.cc-text-field {
  display: flex;
  flex-direction: column;
  margin: 9px 0;
}

.cc-text-field-label {
  font-weight: 600;
  color: var(--background-main1);
}

#main-selected-filters {
  display: flex;
  gap: 10px;
  flex-shrink: 1;
  flex-wrap: wrap;
  margin-bottom: 20px;
  text-wrap: wrap;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.main-selected-filter {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #EDEDED;
  padding: 5px;
  flex-wrap: wrap;
  border-radius: 3px;
}

.cc-search-row.search-btns {
  grid-template-columns: max-content;
  justify-content: end;
  margin-bottom: 10px;
}

.years-param {
  position: relative;
}

.years-param .items {
  position: absolute;
  z-index:10;
  width: 100%;
  background-color: inherit;
}

.search-btn::part(control) {
  background-color: green;
}

.search-btn::part(control):hover {
  background-color: #005E00;
}

.reset-btn::part(control) {
  background-color: #c92d2d;
}

.reset-btn::part(control):hover {
  background-color: #9E2323;
}

.reset-btn {
  margin-top: 0;
}

fluent-radio.checked::part(control) {
  background: var(--background-main1);
}

#cc-search-denomination-options {
  margin-top: 10px;
}

.cc-search-row .cc-checkbox::part(label) {
  font-family: unset !important;
  font-size: 16px;
}

.nested-checkbox > span {
  font-family: 'Times New Roman';
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  font-optical-sizing: none;
}

.nest-item-checkbox::part(content-region) {
  margin-inline-start: 6px;
}

.nest-item-checkbox::part(positioning-region), .nest-item-checkbox::part(content-region), .nest-tree-item::part(positioning-region), .nest-tree-item::part(content-region) {
  min-height: max-content;
}

.cc-listbox fluent-tree-item.selected::part(positioning-region), .cc-listbox fluent-tree-item::part(positioning-region):hover {
  background: #fbfbfb;
}

fluent-tree-item > fluent-tree-item {
  margin-left: 34px;
}

.cc-listbox fluent-tree-item.selected:not(.nested)::part(positioning-region)::before, .cc-listbox fluent-tree-item.selected::after {
  content: none !important;
}

.nest-tree-item::part(content-region) {
  margin: 0 !important;
}

.cc-listbox {
  max-height: 300px;
  max-width: 100%;
  min-width: 0;
  /*overflow-y: auto;*/
  border-radius: 4px;
}

fluent-checkbox.checked::part(control) {
  background: var(--background-main1);
}

#text-search-block {
  position: absolute;
  z-index: 10;
  padding: 10px;
  background-color: #fff;
  border: 1px solid var(--background-main1);
}

#text-search-block-header {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid black;
}

#text-search-block-body {
  display: grid;
  gap: 5px;
}

.text-search-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

#text-search-block-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 10px;
}

#ok-btn::part(control) {
  background: var(--background-main1);
  color: #fff;
}

.secondary-btn::part(control) {
  background: var(--brown-light-2);
}

#ok-btn, .secondary-btn {
  height: 25px;
}

.case-descr > p, .case-title-text > p {
  margin: 0;
}

.main-selected-filter {
  max-width: 100%;
}

.main-selected-filter-text {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  min-width: 0;
  flex-shrink: 1;
  max-width: 100%;
}


.ql-toolbar {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.blazored-editor {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.doc-link p {
  margin: 0;
}

#file-choose-hdr-text {
  color: var(--background-main1);
  font-weight: 600;
  font-size: 24px;
}

#choose-file-body {
  height: max-content;
}

#choose-file-dialog::part(positioning-region) {
  padding: 10px;
}

.preview_iframe_block
{
  overflow: scroll;
  -webkit-overflow-scrolling: auto;
}

#file-frame {
  height: calc(100% - 112px);
}

.download-file-btn::part(control) {
  color: #fff;
  background: var(--background-main1);
}

.case-title-text.collapsed {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-title-text.expanded {
  white-space: normal;
  overflow: visible;
}


.btn-expand {
  background-color: var(--background-main1);
  color: #fff;
  border: none;
  border-radius: 4px;
}

.btn-expand:hover {
  cursor: pointer;
  opacity: 0.8;
}

#title-editor .ql-formats {
  width: 100%;
  margin: 0;
}

#title-editor .ql-script {
  width: 100%;
  display: flex;
  justify-content: center;
}







/*        media        */
@media(max-width:1199px) {
  .app-container, .app-header, .header-line, .header-links, .app-body, .app-footer {
    width: 100%;
  }

  .main-layout.s-advanced {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cc-search-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:1149px) {
  .app-footer, .footer-address {
    height: max-content;
  }

  .footer-address {
    background: url(https://www.constcourt.md/img/bg2.jpg) no-repeat top center var(--background-light-gray);
  }

  .a-link-top {
    width: 100%;
    height: 100%;
  }

  .footer-address-info {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .cc-address {
    width: 240px;
  }

  #img-top {
    width: 70px;
  }
}

@media(max-width:899px) {
  .header-logo {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  #cc-header-logo {
    width: 50vw;
    height: calc(50vw /6);
    min-width:295px;
    min-height: 49px;
  }
}

@media(max-width:669px){
  .app-header {
    height: max-content;
  }

  .header-links {
    flex-direction: column;
    margin-left: 0;
  }

  .cc-search-row {
    grid-template-columns: 1fr;
  }
}

@media(max-width:549px){
  .paginator {
    flex-direction: column;
    gap: 20px;
  }

  .paginator-nav {
    margin-inline-start: 0 !important;
  }

  #advanced_search {
    max-width: 100%;
  }
}

@media(max-width:499px) {
  .footer-copyright {
    height: max-content;
    flex-direction: column;
    padding: 10px 20px;
  }

  .cc-phones {
    width: 100%;
    margin: 0 auto;
    justify-content: center;
  }

  .cc-address {
    margin: 0 auto;
  }

  .copyright-text {
    text-align: center;
  }
}

@media(max-width:419px) {
  .cc-phones {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .cc-phone-title {
    text-align: center;
  }
}