@font-face {
    font-family: "Geogrotesque";
    font-weight: 200;
    font-style: normal;
    src: url("/geogrotesque-ultralight-webfont.woff")
      format("woff");
  }
  
  @font-face {
    font-family: "Geogrotesque";
    font-weight: 300;
    font-style: normal;
    src: url("/geogrotesque-light-webfont.woff")
      format("woff");
  }
  
  @font-face {
    font-family: "Geogrotesque";
    font-weight: 400;
    font-style: normal;
    src: url("/geogrotesque-regular-webfont.woff")
      format("woff");
  }
  
  @font-face {
    font-family: "Geogrotesque";
    font-weight: 600;
    font-style: normal;
    src: url("/geogrotesque-medium-webfont.woff")
      format("woff");
  }
  
  @font-face {
    font-family: "Geogrotesque";
    font-weight: 700;
    font-style: normal;
    src: url("/geogrotesque-semibold-webfont.woff")
      format("woff");
  } 

h1,h2,h3,h4,h5,h6, button,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *{
  font-family: "Geogrotesque" !important;
}




#Subgrid_Email_ClientsPortal > div > div.view-grid.table-responsive{ /*the content of the subgrid EmailPortal */
    display: none !important;
}

#Subgrid_Email_ClientsPortal > div > div.view-empty.message{
    display: none!important; /*the message when empty bellow the subgrid EmailPortal */
}

.grid-actions{
    border-bottom: 0px; /*Remove the line bellow the Subgrid*/
}
#Subgrid_Email_ClientsPortal > div > div.view-loading.message.text-center{
    display: none !important; /*Remove the LoadingMessage below the Subgrid on the onload of the page*/
}

button.btn-primary, button.btn-default {
    text-transform: uppercase ;
    font-weight: 700 ;
    border-radius: 3px;
}

/* pagination */
.jquery-bootstrap-pagination{
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
}
.jquery-bootstrap-pagination .pagination{
    justify-content: center;
}
.jquery-bootstrap-pagination .pagination  a{
     height: 27px;
     width: 27px;
     padding: 4px 5px;
     font-size: 14px;
     text-align:center;
     border-radius: 3px !important; 
     background-color: #bebebe;
     margin: 0 3px;
     color: white;
}
.jquery-bootstrap-pagination .pagination  a:hover{
     text-decoration:none;
     background-color: #7f7f7f !important;
     color: white;
}
.jquery-bootstrap-pagination .pagination li.active a{
    background-color: #7f7f7f !important;
    color: white;
}

html[dir=ltr] .entity-notes a.addnote{
    float: none;
}
/* end pagination */

/* HEADER */
.static-top.navbar-dark .navbar-brand a:hover{
    text-decoration:none !important;
}
.navbar-brand.navbar-header a img{
    width: 114px !important;   
}
@media screen and (max-width: 1199px){
    h1.siteTitle, .static-top.navbar-dark .navbar-brand.navbar-header a h1.siteTitle{
        font-size: 27px;
    }
    .navbar-brand.navbar-header{
        padding: 0;
        overflow: hidden;
    }
    .navbar-brand.navbar-header a img{
        width: 91px !important;
        margin-left: 0 !important;
    }
    .navbar-dark button.navbar-toggler{
        background-color: white;
        border-color:#717E85;
        border-radius: 3px;        
    }
   
    .navbar-dark button.navbar-toggler:hover{
        background-color: white;
        border-color:#4B5559;
    }
    .navbar-dark button.navbar-toggler:focus,
    .navbar-dark button.navbar-toggler:active,
    .navbar-dark button.navbar-toggler:focus-visible{
        border: 1px solidvar(--portalThemeColor8);
        background-color: white;
    }
}
.static-top.navbar .menu-bar > .navbar-nav > li.nav-item > a{
    font-family: "Geogrotesque" ;
    font-weight: 600;
    font-size: 18px;
}
@media screen and (max-width: 1199px){
    .static-top.navbar .menu-bar > .navbar-nav > li.nav-item > a{
        padding-left: 0;
    }
}
.navbar-dark .navbar-nav > li.nav-item > a:hover,
.navbar-dark .navbar-nav > li.nav-item.dropdown > a:hover{
    text-decoration: none !important;
    color:var(--portalThemeColor1);
}

.navbar-dark .navbar-nav > li.nav-item > a:focus,
.navbar-dark .navbar-nav > li.nav-item > a:active,
.navbar-dark .navbar-nav > li.nav-item > a:focus-visible,
.navbar-dark .navbar-nav > li.nav-item > a:hover{
    border:1px solid #fff!important;
    text-underline-offset: 4px;
    color: var(--portalThemeColor1);
    text-decoration-color: var(--portalThemeColor1);
}
.navbar-dark button.navbar-toggler .navbar-toggler-icon{
   background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23717E85'  stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.navbar-dark button.navbar-toggler:hover .navbar-toggler-icon{
    background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%234B5559'  stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
 }
.navbar-dark button.navbar-toggler:focus .navbar-toggler-icon{
    background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%231F2426'  stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
 }

 .navbar-dark .navbar-nav > li.nav-item > ul.dropdown-menu{
    padding: 0;
    border-radius: 0;
    top: calc(100% + 10px);
    border:none;
    
 }
 @media screen and (min-width : 1200px){
    .navbar-dark .navbar-nav > li.nav-item > ul.dropdown-menu{
        box-shadow:  0px 5px 5px 2px rgba(57, 63, 72, 0.06);
    }
 }
 @media screen and (max-width : 1199px){
    #navbar ul.dropdown-menu{
        margin-top:0;
    }
 }
 .navbar-dark .navbar-nav > li.nav-item > ul.dropdown-menu >li  {   
    border-radius:0;
 }
 .navbar-dark .navbar-nav > li.nav-item > ul.dropdown-menu > li >a {
    color:#4B5559;
    padding: 7px 20px;
    font-family: "Geogrotesque" ;
    font-weight: 600;
 }
 .navbar-dark .navbar-nav > li.nav-item > ul.dropdown-menu >li >a:hover ,
 .navbar-dark .navbar-nav > li.nav-item > ul.dropdown-menu >li >a:focus ,
 .navbar-dark .navbar-nav > li.nav-item > ul.dropdown-menu >li >a:focus-visible,
 .navbar-dark .navbar-nav > li.nav-item > ul.dropdown-menu >li >a:active {   
    color:var(--portalThemeColor1);
    text-decoration: none !important;
    background-color: white;  
 }

 .navbar-dark .navbar-nav > li.nav-item > ul.dropdown-menu.show >li.active> a:focus{
    background-color: white;
    color:var(--portalThemeColor1);
    border:none;
 }
 .navbar-dark .navbar-nav > li.nav-item > ul.dropdown-menu >li.dropdown-divider{
        margin: 0;
        display:none;
 }
 div.static-top.navbar-dark{
    box-shadow: 0 2px 4px rgba(57, 63, 72, 0.1);
    border-bottom : 4px solid var(--portalThemeColor1);    
}
/* END header */

/* MAIN content  and buttons */
#mainContent{
    background-color: #f2f2f2;
    margin-top: 0;
}
#mainContent .row{
    margin: 0;
}
.container>.col-lg-12.columnBlockLayout > .entitylist{
   background-color:transparent;
} 
.entitylist .card-body{
    box-shadow: 0 0px 3px rgba(57, 63, 72, 0.1);
    border-radius: 3px;
    border-bottom: 3px solid var(--portalThemeColor1);
}
.entity-grid.entitylist{
    background-color:transparent;
}
.entitylist .card-body ul#entitylist-filters{
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}
.entitylist-filter-option .input-group > span{
    display:none;
}
.entitylist-filter-option select{
    border-radius: 3px !important;
}

.entitylist .card-body div.float-end{
    float:none !important;
    clear:both;
    display: inline-block;
    vertical-align: middle;
    margin-top: 22px;
}

.entitylist .card-body li label.h4{
    font-size: 15px;
    font-weight: normal;
}

#mainContent .btn-default:not(.gjs-selected):active,
#mainContent .btn-default.btn:focus-visible,
#mainContent .btn-default.btn:focus{
    background-color: white;
    border-color: var(--portalThemeColor8);
}

 select.form-control:focus{
    border-color: var(--portalThemeColor8) !important;    
 }
.entitylist .view-toolbar{
    padding: 30px 15px;   
}
.entitylist .entitylist-search{
    width: 500px;
    float:none !important;
    clear: both;
    margin : 0 auto;
    display: flex !important;
}
@media screen and (max-width : 1199px){
    .entitylist .entitylist-search{
        width: 100%;
    }
}

.entity-grid.entitylist > div.view-toolbar.grid-actions.clearfix .input-group-btn{
    display: block !important;
}

.entitylist .view-toolbar .float-end.toolbar-actions{
    float:none !important;
    clear:both;
}
.entitylist .view-toolbar .entitylist-search input.form-control:focus{
    border: 1px solid var(--portalThemeColor9) !important;
    box-shadow:none !important; 
}
.entitylist .view-toolbar .entitylist-search input.form-control{
    border: 1px solid #ced4da;
    font-size: 16px !important;
    padding-bottom: 7px;    
    display: block !important;
    width: auto !important;
}

.entitylist .view-toolbar .entitylist-search button:active,
.entitylist .view-toolbar .entitylist-search button:focus,
.entitylist .view-toolbar .entitylist-search button:focus-visible{
    border: 1px solid var(--portalThemeColor2) !important;
    background-color: var(--portalThemeColor2) !important;
}
.entitylist .view-toolbar .entitylist-search button{
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px!important;
    background-color: var(--portalThemeColor1);
    border: 1px solid var(--portalThemeColor1) !important;
    font-size:16px;
}
.entitylist-search button .fa-search:before{
    color:white;
}
.entitylist .view-toolbar .entitylist-search button:focus-visible{
    outline-offset: 0;
}


/* Table  */
.table-responsive{
    padding: 15px 19px  ;
    background-color:white;
    overflow-x: auto;
    border-top-left-radius: 3px;
    border-top-right-radius:3px;
    box-shadow: 0 0px 3px rgba(57, 63, 72, 0.1);
}
.entity-grid.subgrid .table-responsive {
    padding: 0;
    box-shadow: none;
}
.table-responsive table{
    width: 1222px;
}
.table-responsive table>thead {
    border-bottom : 3px solid var(--portalThemeColor1);
   
}
.table-responsive table>thead a{
   
    color:var(--portalThemeColor8);
    font-family: "Geogrotesque" !important;
    text-transform:uppercase;
    font-weight: 600;
    text-underline-offset: 3px;
}
.table-responsive table>thead a:hover{
    color:var(--portalThemeColor1);
}
.table-striped > tbody > tr:nth-of-type(odd) > *{
    border-radius: 0;
}
#EntityFormPanel.crmEntityFormView{
    background-color: transparent;
}
.crmEntityFormView h2.tab-title {
    padding: 0 15px 20px 15px;
    font-size: 30px;
    border:none;
}

h3 label, label h3{
    padding: 0 15px 15px 0;
    font-size: 25px;
    font-weight: 400;
}

.crmEntityFormView td.cell {
    padding: 0 20px 15px;
}
.crmEntityFormView fieldset:has(a.btn-primary){
    margin-top: -100px;
}
.crmEntityFormView fieldset a.btn-primary{
    text-transform:uppercase;
    font-family: "Geogrotesque" !important;
    font-weight: 700;
}
.crmEntityFormView fieldset a.btn-primary:focus,
.crmEntityFormView fieldset a.btn-primary:focus-visible{
    outline-offset: 0px;
    outline: 1px solid var(--portalThemeColor2);
}

@media screen and (max-width: 767px){
    .crmEntityFormView fieldset table[data-name="PCF"] td:not(td.subgrid-cell){
        display:none;
    } 
    .crmEntityFormView fieldset:has(a.btn-primary){
        margin-top: -50px;
    }
    .crmEntityFormView fieldset table[data-name="PCF"] td.subgrid-cell{
        padding-right:0;
    }
}
.crmEntityFormView fieldset:nth-of-type(2){
    background-color: white;
    border-radius: 3px;
    padding: 15px 0;
    border-bottom : 3px solid var(--portalThemeColor1);
    box-shadow: 0 0px 3px rgba(57, 63, 72, 0.1);
    margin-bottom: 30px;
}
.crmEntityFormView fieldset:nth-of-type(3),
.crmEntityFormView fieldset:nth-of-type(4){
    background-color: white;
    border-radius: 3px;
    box-shadow: 0 0px 3px rgba(57, 63, 72, 0.1);
}
.crmEntityFormView fieldset:nth-of-type(3) h3.form-subgrid-heading{
    margin-top: 5px;
}

.section-title h3{
    padding: 15px;
    margin:0;
    border-bottom: 1px solid #f2f2f2;

}
#HomerasPortalControl .tab-container{
    margin-bottom: 25px;
    margin-top: 25px;
}
#HomerasPortalControl .tab-container .tab-button {
   border:none;
   text-decoration: underline;
   text-underline-offset: 4px;
   font-family: "Geogrotesque" !important;
    text-transform:uppercase;
    font-weight: 700;
    color:var(--portalThemeColor8);
    text-shadow: none;
}

#HomerasPortalControl .tab-container .tab-button:hover,
#HomerasPortalControl .tab-container .tab-button.active {
   background-color: white;
   color: var(--portalThemeColor1);
 }

 #HomerasPortalControl .no-pictures-message{
    text-align: center;
    font-size: 15px; 
 }
 #HomerasPortalControl .no-documents-message{
        color: var(--portalThemeColor3);
 }

 #HomerasPortalControl .IntInfo > div{
    color: var(--portalThemeColor3);
 }
  #HomerasPortalControl .parent-container{
    max-width: 700px;
    width: 100%;
   
}

#HomerasPortalControl  .documents-container,
#HomerasPortalControl  .pictures-container{
    display: flex;
    justify-content: center;
    padding-top: 20px;
    gap: 20px;
    align-items: flex-start;
}
#HomerasPortalControl  .documents-container > div,
#HomerasPortalControl .pictures-container > div{
    flex-basis: 25%;
} 

 /* popup */
 .fui-DialogSurface .fui-DialogBody{
    row-gap: 20px;
 }

 .fui-DialogSurface .fui-DialogActions button:last-child{
    background-color: var(--portalThemeColor1);
    color: white
 }
 .fui-DialogSurface .fui-DialogActions button:last-child:hover{
    background-color: var(--portalThemeColor2);
    
 }
 .fui-DialogSurface .fui-DialogActions button:first-child{    
    border-color:var(--portalThemeColor3); 
    color:var(--portalThemeColor3);    
 }
 .fui-DialogSurface .fui-DialogActions button:first-child:hover{
    background-color: white;
    border-color:var(--portalThemeOnColor1);
    
 }
 .fui-DialogSurface .fui-DialogActions button {
    text-transform:uppercase;
    font-family: "Geogrotesque", sans-serif !important;   
    font-weight: 700;
    padding-top: 8px;
    padding-bottom: 8px;
 }
 
 /* Profile page */

 body>form{
    background-color: #f2f2f2;
    min-height: calc(100% - 200px);
 }
 h2.profile-page-heading {
    padding: 15px 0;
 }

 #ProfileFormView table td{

 }
 #mainContent .actions{
    text-align: right;
 }
 #mainContent .actions input{
   margin: 20px 0;
   text-transform:uppercase;   
    font-family: "Geogrotesque" !important;   
    font-weight: 700;
}
#mainContent > div.row > div > form{
    width:100%;
}
#mainContent > div.row > div > form h2{
    border:none;
}

#content_form > div.container > div > div.col-lg-4{
    display:none;
}
#content_form > div.container > div > #mainContent{
    background-color: white;
    border-radius: 3px;
    box-shadow: 0 0px 3px rgba(57, 63, 72, 0.1);
    margin-bottom: 50px;
    width: 100%;
    border-bottom : 3px solid var(--portalThemeColor1);
}

#content_form > div.container > div > #mainContent .crmEntityFormView{
    border:none;
}

div.entity-grid.entitylist > div.view-empty.message{
    padding: 0 15px;
    color:var(--portalThemeColor4);
}
footer .footer-bottom p.smallText {
    color:var(--portalThemeColor3);
}

#content_form > div.page-heading > .container{
    padding-left:0;
}
.breadcrumb{
    padding-left: 0;
}
.breadcrumb li,
.breadcrumb a{
    font-family: "Geogrotesque", sans-serif;   
    font-size: 17px;
    color:#6c757d;
}
.breadcrumb a.active{
    color:#6c757d;
}
#firstname_label,
#lastname_label,
#emailaddress1_label{
    font-weight: 400;
    margin-bottom: 5px;
}

#firstname_label:after,
#lastname_label:after,
#emailaddress1_label:after{
    color: var(--portalThemeColor8);
}

#emailaddress1, #lastname, #firstname{
    border-radius: 3px;
}

#emailaddress1:focus, 
#lastname:focus, 
#firstname:focus{
    border: 1px solid var(--portalThemeColor3) !important;    
}

/* Modal */
.modal-dialog .modal-content{
    padding-bottom : 10px;
    background-color: #f2f2f2;
}
#content-container iframe body{
    background-color: #f2f2f2;
}
.modal-dialog .modal-body {
    padding: 0 ; 
   
}
.modal-dialog .modal-body iframe {
    height: 589px;
}
section.modal.fade.modal-form  div.modal-header{
    background-color: #fff;
}
section.modal.fade.modal-form  div.modal-header h1{
    font-size: 28px;
    margin-top: 5px;
}
section.modal.fade.modal-form  div.modal-header > button{
    width: 45px;
    height: 45px;
}
section.modal.fade.modal-form  div.modal-header > button span{
    width : 30px;
    display: inline-block;
    font-size: 30px;
    color: var(--portalThemeColor3);
}
#content-container{
    max-width: initial !important;
    padding-left:0;
    padding-right:0;
    height: 100%;
}

@media screen and (min-width: 768px) {
     #content-container{
        max-width: initial !important;
    }
}
@media screen and (min-width: 576px) {
    #content-container{
        max-width: initial;
    }
}

#EntityFormControl .crmEntityFormView .actions{
    border: none;
    padding-top: 0;
   
 }
 #EntityFormControl .crmEntityFormView .actions input{
    margin-top:0;
    margin-bottom: 0;
    text-transform:uppercase;
    font-family: "Geogrotesque", sans-serif !important;   
    font-weight: 700;
    float:none;
    clear:both;
 }
 #mireas_subject,
 #mireas_ccfreetext{
 border-color: #ced4da;
 }

 #mireas_subject:focus,
 #mireas_ccfreetext:focus, 
 #mireas_body:focus,
 #mireas_subject:focus-visible,
 #mireas_ccfreetext:focus-visible, 
 #mireas_body:focus-visible {
    border: 1px solid var(--portalThemeColor3);
    outline: 1px solid var(--portalThemeColor3) !important;
    box-shadow:none;
 }

/* login page */
#content-container form label{
    background-color: transparent;
    font-weight: 400;
    margin-bottom : 5px;
}  
#content-container .actions{
    text-align: right;
    margin:0;
    padding-bottom: 40px;
}
#content-container .actions input{
    margin-left: 20px;
    margin-right: 20px;
    text-transform:uppercase;
    font-family: "Geogrotesque" !important;   
    font-weight: 700;        
}
#content, #mainContent {
    min-height: 100%;
}
#mainContent>.row{
    margin: 0 ; 
    padding-top: 30px;
    justify-content: center;
}
