.topic-list{
  display:flex;
  flex-direction:row;
  gap:12px 2%;
  flex-wrap: wrap;
}

.navbar{
  position: sticky;
  top:0;
}

.navbar-brand .xrm-attribute-value{
  margin-top:-6px !important;
}

@media (min-width:800px) and (max-width:1200px){
  .navbar-brand .xrm-attribute-value{
    margin-top:12px !important;
  }
}

@media (min-width:1200px) {
  .topic-container{
    flex-basis:49%;
  }
}

.topic-container{
  flex-basis:32%;
  height:100px;
  font-size:14px;
  display:flex;
  justify-items: center;
}

.topic-info{
  display:inline-block;
  padding:0 12px;
}

.topic-icon{
  display:inline-block;
  max-width:50px;
}

.topic-icon img{
  width:100%;
  height:auto;
  display: block;
}

.topic-card-title{
  font-size:14px!important;
  font-weight:bold!important;
  color:#202060!important;
  padding: 5px;
}

.topic-card-description, .topic-card-description div, .topic-card-description p, .topic-card-description li .topic-card-description a{
  font-size:12px!important;
  color:#606060!important;
  text-decoration: none!important;
}

.topic {
  width:100%;
  display:flex;
  flex-direction: row;
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-radius: 3px;  
  padding:8px;
  align-items: center;
  
}

a.topic-card-description{
  text-decoration: none!important;
}
a.topic:hover{
  text-decoration: none!important;
}

.topic:hover{
  background-color: #d0d0d0;
  color: white;
}

@media (max-width:1024px) {
  .topic-container{
    flex-basis:49%;
  }
}

@media (max-width: 800px) {
  .topic-list{
    display:flex;
    flex-wrap: nowrap;    
    flex-direction:column;
  }  
  .topic-container{
    width:100%;
    flex-basis:auto;
  }
  .siteTitle{
    font-size: 20px !important;
  }
  footer .footer-bottom .container {
    margin-left:10px;
    margin-right:auto;
  }
  .navbar-brand{
    margin-top:12px !important;
  }
}

textarea[readonly],
input[readonly],
input[disabled],
select[disabled] {
  background-color: #f6f6f6 !important;
}

.control div.text-muted{
  left: 4px;
}

.crmEntityFormView, .entitylist {
  border: none !important;
}

.crmEntityFormView .actions {
  border: none;
}

.crmEntityFormView .cell.force-default-padding{
  padding: 0 28px 20px !important;
}

.view-grid table, .view-grid table a{
  font-size:14px;
}

.mode-selector div {
  display:inline-block;
  padding-right:16px;
}

.mode-selector label {
  font-weight: normal;
}

.portal-landing-page-header{
  min-height:150px;
  height:150px;
  position:relative;
}

.portal-landing-page-header-content{
  display: flex;
  height:100%;
  justify-content: center;
  flex-direction: column;
}

.portal-landing-page-title {
  font-weight: bold;
  margin-top: auto;
  margin-bottom: auto;
}

.portal-landing-page-description {
  color: #356187
}

.portal-landing-page-link {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
}



footer .footer-bottom{
  min-height:56px;
}

.canvas-app-container.fullsize{
  height: calc(100vh - 64px - 68px); /* height - headerHeight - footerHeight */
  width:100vw;
}

.wrapper-body{
  height: calc(100% - 64px - 68px); /* height - headerHeight - footerHeight */
}

#notescontrol .notes{
  max-height: 400px;
  /* height: 200px; */
  overflow-y: auto;
  overflow-x: hidden;
}

html[dir=ltr] .entity-notes .note-actions a.addnote {
    float: none;
    margin-top: 1em;
}

body,
li,
p {
  font-size: var(--nqaits-body-font-size);
}