body 
{
	margin: 0px 0px 0px 0px;
}

p 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	line-height: 20px;
}

li 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	line-height: 20px;
}

div 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
}

table 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
}

caption 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
}

th 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
}

td 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
}

a:link 
{
	font-family: Arial, Helvetica, sans-serif;
	font-style: normal;
	text-transform: none;
	text-decoration: underline;
}

a:visited 
{
	font-family: Arial, Helvetica, sans-serif;
	font-style: normal;
	text-transform: none;
	text-decoration: underline;
}

a:hover 
{
	font-family: Arial, Helvetica, sans-serif;
	font-style: normal;
	text-transform: none;
	text-decoration: underline;
}

h1 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 40px;
	font-style: normal;
	font-weight: bold;
	text-transform: none;
	text-decoration: none;
	margin-bottom: 5px;
}

h2 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 32px;
	font-style: normal;
	font-weight: bold;
	text-transform: none;
	text-decoration: none;
	margin-bottom: 5px;
}

h3 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 28px;
	font-style: normal;
	font-weight: bold;
	text-transform: none;
	text-decoration: none;
	margin-bottom: 5px;
}

h4 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-style: normal;
	font-weight: bold;
	text-transform: none;
	text-decoration: none;
	margin-bottom: 5px;
}

h5 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-style: normal;
	font-weight: bold;
	text-transform: none;
	text-decoration: none;
	margin-bottom: 5px;
}

h6 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: bold;
	text-transform: none;
	text-decoration: none;
	margin-bottom: 5px;
}

hr 
{
}

ul li 
{
	list-style-type: disc;
}

em, i 
{
	font-style: italic !important;
}

input[type="text"], input[type="email"], input[type="password"] 
{
    height: 20px;
}

select 
{
    height: 26px;
}

.MoSTTable 
{
}

.MoSTTable th 
{
	vertical-align: top;
}

.MoSTTable th, .MoSTTable th * 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: bold;
	text-transform: capitalize;
	text-decoration: none;
	text-align: left;
}

.MoSTTable td 
{
	vertical-align: top;
}

.MoSTTable td, .MoSTTable td * 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: normal;
	text-transform: none;
	text-decoration: none;
}

.MoSTTableAlt, .MoSTTableAlt td 
{
}

.MoSTTableAlt, .MoSTTableAlt *, .MoSTTableAlt td, .MoSTTableAlt td * 
{
}

.MoSTTableColumn, .MoSTTableColumn td 
{
}

.MoSTTableColumn, .MoSTTableColumn *, .MoSTTableColumn td, .MoSTTableColumn td * 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: bold;
	text-transform: none;
	text-decoration: none;
}

.MoSTTable a:visited 
{
	font-style: normal;
	text-transform: none;
	text-decoration: underline;
}

.MoSTTable a:hover 
{
	font-style: normal;
	text-transform: none;
	text-decoration: underline;
}

.MoSTTable a:link 
{
	font-style: normal;
	text-transform: none;
	text-decoration: underline;
}

.MoSTImage 
{
	border-width: 0px;	
}

.MoSTRequiredField 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: normal;
}

.MoSTTextField 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	border-style: solid;
	border-width: 1px;
}

.MoSTPasswordField 
{
	font-size: 16px;
	font-style: normal;
	border-style: solid;
	border-width: 1px;
}

.MoSTDropdownList 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: italic;
}

.MoSTButton 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	color: #000000 !important;
	background-color: #CCCCCC;
	border-color: #FFFFFF #666666 #666666 #FFFFFF;
	border-style: solid;
	border-width: 2px;
}

.MoSTTransparent 
{
	background-color: transparent;
	border: none;
}

.MoSTAbstract * 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	margin: 0;
}

.MoSTDocumentList 
{
	width: 100%;
	float: left;
}

.MoSTDocumentListRow 
{
	float: left;
	width: 100%;
}

.MoSTDocumentListCell1 
{
	float: left;
	margin: 1px;
}

.MoSTDocumentListCellFull 
{
	width: auto;
}

.MoSTDocumentList li 
{
	list-style-type: disc;
}

.MoSTDocumentListHeading 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: normal;
}

.MoSTDocumentListHeading a:visited 
{
	font-family: Arial, Helvetica, sans-serif;
}

.MoSTDocumentListHeading a:hover 
{
	font-family: Arial, Helvetica, sans-serif;
}

.MoSTDocumentListHeading a:link 
{
	font-family: Arial, Helvetica, sans-serif;
}

.MoSTSearchIcon {
    float: left;
    width: 32px;
    height: 32px;
}

.MoSTSearchIconWord 
{
    background: url("/tools/icons/word.png") no-repeat;
}

.MoSTSearchIconPdf 
{
    background: url("/tools/icons/pdf.png") no-repeat;
}

.MoSTSearchIconUnknown 
{
    background: url("/tools/icons/unknown.png") no-repeat;
}

/* Form Layout */
.MoSTFormLayout {
    width: 100%;
    float: left;
}

.MoSTFormLayoutRow 
{
    width: 100%;
    float: left;
    text-align: right;
}

.MoSTFormLayoutCell1 
{
	float: left;
    text-align: left;
}

.MoSTFormLayoutCell2 
{
    display: inline-block;
    text-align: left;
}

.MoSTFormLayoutCellFull 
{
    text-align: left;
}

/* Event Pricing Layout */
.MoSTEventRegLinks 
{
    text-align: left;
}

.MoSTEventPrices
{
	width: 100%;
	float: left;
}

.MoSTEventPrices .MoSTFormLayoutCell3 
{
    display:inline-block;
    width: 100px;
}

.SubEvents 
{
    float: right;
}

/* Screen and Print Template Display */
.MoSTTemplate 
{
	display: block;
}

.MoSTPrint 
{
	display: none;	
}

/* User Defined Custom Styles */
html {
  scroll-behavior: smooth;
}

div, a, h2 {
  scroll-margin-top: 90px;
}

p, li, a, div, * {
    font-family: Roboto, sans-serif!important;
    color: #1B283E;
}

em, strong, b {
    font-family: inherit;
}

audio {
    margin: 10px auto;
}

#MoSTContent ul, #MoSTContent ol {
    padding-left: 20px;
    margin: 15px 0;
}

ul ol li {
    list-style-type: decimal;
}

h1, h2, h3, h4, h5, h1 *, h2 *, h3 *, h4 *, h5 * {
    font-family: Overpass, sans-serif!important;
}

h1 {
    margin-top: 50px!important;
    margin-bottom: 40px!important;
}

h2 {
    margin-bottom: 30px!important;
    margin-top: 40px!important;
}


#_Content img {
    width: 100%;
    max-width: fit-content;
    margin-top: 10px;
    margin-bottom: 10px;
}

#footerpush {
    background-image: url(/templates/_template_2023/images/nzipa_sitebody.png);
    background-position: left bottom;
    background-repeat: no-repeat;
}

.bg-img {
    background-position: center;
    background-size: cover;
    background: no-repeat;
}

.patents {
    border-color: #FC9C00!important;
}

.design-registrations {
    border-color: #6369D1!important;
}

.copyright {
    border-color: #FFED45!important;
}

.trademarks {
    border-color: #00DFC2!important;
}

.plant-variety-rights {
    border-color: #E65515!important;
}

/* Navigation */

#mainnav {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(15px);
}

#mainnav a, #mainnav button.navbar-toggler {
    color: #1B283E!important;
    text-decoration: none;
}

#mainnav a {
    font-family: Overpass, sans-serif!important;
}

#collapsingNavbar a {
    display: block;
    padding: 0.5rem 1rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    border-right: 1px solid #1b283e;
}

#collapsingNavbar li:last-child a {
    border: none;
}


#mainnav p, #mainnav strong {
    margin-bottom: 0;
    font-family: Lora, serif!important;
    font-size: 16px;
}

#navlogo img {
    width: 100%;
    max-width: 100px;
}
    
#navlogo {
    flex: 1;
    padding: 0;
}
    
#collapsingNavbar {
    /*flex: 4;*/
    justify-content: flex-end;
}
    
#contactLarge {
    flex: 1;
} 

#mainnav ul.navbar-nav {
    margin-top: 5px;
}
    
#mainnav ul li {
    list-style: none;
}

.search span.material-symbols-outlined {
    font-weight: 700;
    color: #fc9c00;
    padding-top: 6px;
    padding-left: 5px;
}

/* Hero Banner, page description */

#banner-image img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 50vh;
    min-height: 300px;
    
}

#banner-image p {
    height: 0;
    font-size: 0;
}

#hero {
    height: 50vh;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.page-heading {
    background-color: rgb(252 156 0 / 90%);
    border-top: 4px solid #00DFC2;
    display: inline-block;
    position: absolute;
    bottom: 0;
    padding: 30px 50px 20px;
    width: 30%;
    max-width: 500px;
}

.page-heading h1 {
    margin: 0!important;
    color: #1B283E;
    padding-left: 40px;
    font-size: 55px;
    font-size:clamp(2.06rem, 2vw + 1.5rem, 3.25rem);
    font-weight:  800;
}

.page-heading h1::before {
    background-image: url(/images/ICON_white.png);
    background-size: 35px 35px;
    display: inline-block;
    width: 35px;
    height: 35px;
    content:"";
    margin-right: 15px;
    margin-left: -50px;
}

/* Subnav, Content */

#subnav {
    color: #fff;
    padding: 40px 50px 30px 90px;
    width: 30%;
    max-width: 500px;
    position: sticky;
    top: 69px;
    float: left;
}

#subnav ul {
    padding: 0;
}

#subnav ul ul {
    padding-left: 20px;
}

#subnav li {
    list-style-type: none;
    margin: 10px 0;
}

#subnav a {
    text-decoration: none;
    color: #fff;
    transition: 0.1s;
    border-left: 1px solid transparent;
    padding-left: 5px;
    display: inline-block;
}

#subnav a:hover {
    border-left: 1px solid #00dfc2;
    color: #00dfc2;
}

#subnav:not(:has(ul)) {
    display: none;
}

#content-align {
    width: 70%;
    max-width: 900px;
    margin-top: 80px;
    margin-left: 35%;
}

#MoSTContent {
    width: 90%;
    max-width: 800px;
    margin: 0 0 50px auto;
}

#content-align.no-subnav {
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#content-align.no-subnav #MoSTContent {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Events */

h3.MoSTEventsList {
    display: none;
}

h2.MoSTEventsList {
    margin-top: 60px;
    padding-left: 14px;
    color: #1b283e;
}

a.rss-icon span {
    text-decoration: none;
    font-size: 35px;
    border-radius: 5px;
    color: #fff;
    background-color: #305697;
    padding: 5px;
    transition: 0.3s;
}


ul.MoSTEventsList li {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 10px;
    border: 1px solid transparent;
    border-bottom: 1px solid #1b283e;
    margin: 20px 0;
    transition: 0.3s;
}

ul.MoSTEventsList li:hover {
    cursor: pointer;
    background-color: #ecf1f9;
}


.MoSTEventsList a:not([id]):not([class]) {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    text-decoration: none;
    width: calc(100% - 55px);
}

.MoSTEventsList a:hover {
    text-decoration: none;
    color: #0056b3;
}

a.MoSTEventsCalendar {
    float: none!important;
    position: absolute;
    right: 10px;
    text-decoration: none;
    border-radius: 5px;
    background-color: #305697;
    padding: 1px 5px;
    transition: 0.3s;
}

a.MoSTEventsCalendar:hover {
    background-color: #f9a315;
}

a.MoSTEventsCalendar::before {
    content: "\ebcc";
    font-size: 35px;
    font-family: "Material Icons";
    color: #fff;
    display: block;
}

a.MoSTEventsCalendar img {
    display: none;
}

ul.MoSTEventsList {
    padding: 0;
}


span.MoSTEventsDate {
    margin-bottom: 5px;
}

#event-details::after {
  content: "";
  clear: both;
  display: table;
}

h2.MoSTEventsDetails a {
    float: none!important;
    position: absolute;
    right: 10px;
    text-decoration: none;
    border-radius: 5px;
    background-color: #305697;
    padding: 1px 5px;
    transition: 0.3s;
}

h2.MoSTEventsDetails a::before {
    content: "\ebcc";
    font-size: 35px;
    font-family: "Material Icons";
    color: #fff;
    display: block;
}

h2.MoSTEventsDetails a img {
    display: none;
}

div#event-details {
    position: relative;
    width: 100%;
    max-width: 600px;
}

h2.MoSTEventsDetails {
    margin-bottom: 50px;
    width: calc(100% - 65px);
}
.MoSTEventsDetails .MoSTFormLayoutCell1, .MoSTEventsDetails .MoSTFormLayoutCell2 {
    float: left!important;
    padding: 5px 0;
}

.MoSTEventsDetails .MoSTFormLayoutCell1 {
    width: 21%;
}

.MoSTEventPrices .MoSTFormLayoutCell2 {
    width: 50%!important;
}

.MoSTEventPrices .MoSTFormLayoutCell3 {
    float: right;
    width: 10%!important;
}

div.MoSTEventsDetails div.MoSTFormLayoutRow div.MoSTFormLayoutCell2,
div.MoSTEventRegistration div.MoSTFormLayoutRow div.MoSTFormLayoutCell2 {
  width: 60%!important;
  float: right;
}

/* Members Area */

#footerpush.members-area {
    background-image: url(/images/nzipa_membersbody.png);
}

.members-area .page-heading {
    border-color: #FC9C00;
    background-color: rgb(27 40 62 / 90%);
}

.members-area .page-heading h1 {
    color: #fff;
}

.members-area .page-heading h1::before {
    background-image: url(/images/ICON_orange.png);
}

.members-area footer {
    background: #233A61;
    background: linear-gradient(90deg, #233A61 0%, #1B283E 100%);
}

.members-area footer * {
    color: #fff;
}

/* Footer */

footer {
    background: #f9ae00;
    background: linear-gradient(90deg, #f9c300 0%, #fc9c00 100%);
}

ul.useful-links {
    column-count: 2;
    padding: 0;
}

ul.useful-links li {
    list-style-type: none;
    margin-bottom: 7px;
}

footer a {
    color: inherit;
    text-decoration: none!important;
}

footer a:hover {
    color: #000;
}

#footer-links {
    color: #ffffff!important;
}

#footer-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    color: #ffffff!important;
    border-right: 1px solid #fff;
}

#footer-links li:last-child a {
    border: none;
}

#footer-links ul li {
    display: inline-block;
}

#footer-links ul.navbar-nav {
    flex-direction: row;
    margin-top:7px;
}


#footer-links img {
    width: 100%;
    max-width: 35px;
}


#copyright p {
    padding: 0 5px;
}

#copyright p, #copyright a {
    color: #fff!important;
}

/* Tables */

table {
  width: 100%;
  table-layout: fixed;
}
  

.profile-table th, .profile-table td {
    padding: 5px 10px 20px 5px;
    vertical-align: top;
    border-top: none;
}

.profile-table img {
    margin-top: 0!important;
    width: 90%!important;
    height: auto!important;
    max-width: 90%!important;
}

.profile-table td:first-of-type {
    width: 30%;
}

.profile-table img {
    margin-top: 0!important;
    width: 90%!important;
    height: auto!important;
    max-width: 90%!important;
}

.profile-table tr {
    border-bottom: 1px solid #e5e5e5;
}

.profile-table td {
    padding-top: 20px;
    padding-bottom: 30px;
}
  
.MoSTTable h1 {
    font-size: 40px!important;
}

.MoSTTable h2 {
    font-size: 32px!important;
}

.MoSTTable h3 {
    font-size: 28px!important;
}

.MoSTTable h4 {
    font-size: 24px!important;
}

.MoSTTable h5 {
    font-size: 20px!important;
}

.MoSTTable h6 {
    font-size: 18px!important;
}

  
/* Forms */

.MoSTDocumentList,
.MoSTDocumentList *,
.MoSTDocumentComment * {
    float: none;
}


#MoSTEmailForm, .MoSTDocumentComment {
    width: 100%;
    max-width: 600px;
    margin-top: 30px;
    margin-bottom: 50px;
    background-color: #f7f7f7;
    padding: 20px;
}

#MoSTEmailForm::after {
  content: "";
  clear: both;
  display: table;
}

#MoSTEmailForm .MoSTFormLayout {
    margin-right: auto;
    margin-left: auto;
} 

.MoSTFormLayoutRow {
    margin-bottom: 10px;
}

.MoSTFormLayoutCell2 {
    display: block;
}

.MoSTFormLayoutCell2 input[type="text"], .MoSTFormLayoutCell2  input[type="email"], .MoSTFormLayoutCell2  input[type="password"] {
    height: auto!important;
    width: 100%!important;
    line-height: 1.5;
    padding: 2px 5px;
}

p:has(input) {
    margin-bottom: 0;
}

.MoSTFormLayoutCell2  textarea {
    width: 100%!important;
}

.CaptchaQuestion {
    float: none;
}

.CaptchaAnswer label {
    font-size: 65px!important;
    padding-right: 20px!important;
    color: #233960;
    border: none;
    transition: 0.3s;
}

.CaptchaAnswer label:hover {
    cursor: pointer;
    color:#00DFC2;
}

.CaptchaAnswer label.CaptchaSelected {
    color: #00DFC2;
    border: none;
}

input[type=submit] {
    width: auto!important;
    border: none;
    font-size: 21px;
    border-radius: 5px;
    padding: 8px 15px;
    color: #ffffff!important;
    background-color: #233960;
    transition: 0.3s;
}

input[type=submit]:hover {
    background-color: #00DFC2;
}

input[type=checkbox], input[type=radio] {
    margin: 0 10px;
}

/* Comments */

#MoSTContent .MoSTDocumentList .MoSTDocumentListRow {
    padding: 25px 0 25px;
    border-top: 1px solid #808285;
}

h3.MoSTDocumentComments {
    margin-bottom: 30px;
}

.MoSTDocumentComments .MoSTDocumentListHeading {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

#MoSTComments .MoSTFormLayoutCell1,
#MoSTComments .MoSTFormLayoutCell2 {
    width: 100%!important;
}

#MoSTComments p {
    margin: 10px 0 0 0;
}


#MoSTComments textarea#Comment {
    min-height: 200px;
}

/* Login */

.MoSTLogin {
    width: 100%;
    float: left;
    padding: 0 0 20px 0;
}

form#frmMoSTContent {
    text-align: center;
}

.MoSTFormLayout {
    margin: 20px auto 20px auto;
    width: 100%!important;
    float: none;
    max-width: 500px;
}

input#Username, input#Password  {
    margin-bottom: 20px;
}

/* Search / Pages */

#MoSTSearchForm .MoSTFormLayoutRow {
    position: relative;
}

.MoSTSearchForm input.MoSTTextField {
    width: 85% !important;
}
.MoSTSearchForm .MoSTFormLayoutCell2 {
    width: 100%;
}

#MoSTSearch #MoSTPref {
    background: #f7f7f7;
    padding: 20px;
    margin: 10px 0 30px;
  width: 100%;
  max-width: 600px;
  display: none!important;
}

#MoSTSearch #MoSTPref .MoSTFormLayoutCell1 {
  width: auto;
  display: inline-block;
  margin: 0 15px 0 0;
}

#MoSTSearch .MoSTFormLayoutRow {
    position: relative;
    text-align: left;
}

#MoSTSearch label[for=Advanced] {
  padding-left: 20px;
  display:none!important;
}

#MoSTSearch input#Advanced {
    position: absolute;
    top: 2px;
    left: -12px;
    display:none!important;
}

/* search results & paging */

.MoSTPages span a {
    text-decoration: none!important;
}

.MoSTPages span {
    padding: 0;
    margin: 4px;
    display: inline-block;
}

.MoSTPages span a, span.MoSTPage {
    padding: 5px 10px;
    border: 1px solid transparent;
}

.MoSTPages span a:hover {
    border-color: black;
    color: black;
}

.MoSTFormLayout.MoSTSearchResults {
    max-width: 600px;
    margin-top: 50px;
    margin-left: 0;
}

.MoSTSearchIcon {
    margin-right: 10px;
    border-radius: 3px;
}

.MoSTSearchResults .MoSTFormLayoutRow,
.MoSTSearchResults .MoSTFormLayoutCell1,
.MoSTSearchForm .MoSTFormLayoutRow,
.MoSTSearchForm .MoSTFormLayoutCell1 {
    float: none;
}

.MoSTFormLayoutCellFull hr {
    border-color: #808285;
}

.MoSTSearchForm p {
    margin: 0;
    padding: 0!important;
}

.MoSTSearchResultsSize p {
    font-size: 14px;
    margin-bottom: 0;
}


span.MoSTPage {
    border: 1px solid #fb9c00!important;
    background: rgb(251 156 0 / 20%);
}   

.MoSTPages {
    margin: 35px 0;
}

.MoSTPages p {
    margin-bottom: 30px;
}

.MoSTSearchForm input[type="text"] {
    width: calc(100% - 10px)!important;
    max-width: 588px;
    padding: 3px 5px;
    margin: 10px 0;
    box-sizing: content-box;
}

.MoSTSearchForm {
    max-width: 600px;
    margin-left: 0;
}

.MoSTSearchForm  .MoSTFormLayoutCell1,
.MoSTSearchForm  .MoSTFormLayoutCell2 {
    width: 100%;
    max-width: 600px;
}


.MoSTFormLayout.MoSTSearchResults {
    overflow-wrap: break-word;
}

/* Firms that employ our members list page */

#MoSTContent ul.MoSTHeaderLinks {
    column-count: 2;
    margin-top: 30px;
    padding-left: 5px;
}

div#firms-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

table.FirmListItem {
    flex: 0 0 32%;
    max-width: 32%; 
    margin-left: 0.5%;
    margin-right: 0.5%;
    min-width: 230px;
    text-align: center;
    background-color: #1B283E;
    color: #fff!important;
    margin-bottom: 15px;
}

table.FirmListItem:nth-child(even) {
    background-color: #233960;
}

.FirmListItem h3, .FirmListItem p, .FirmListItem span {
    color: #fff!important;
    margin: 0;
    text-transform: none!important;
}

.FirmListItem a {
    word-break: break-all;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.FirmListItem a:hover {
    opacity: 0.8;
}

.FirmListItem h3, .FirmListItem p, .FirmListItem span {
    color: #fff!important;
    margin: 0;
    text-transform: none!important;
}


.FirmListItem h3 {
    font-size: 25px;
}

table.FirmListItem tr:first-of-type td {
    padding-top: 20px;
}

table.FirmListItem tr:last-of-type td {
    padding-bottom: 20px;
}

table.FirmListItem td {
    padding-left: 10px;
    padding-right: 10px;
}

#MoSTContent ul.MoSTHeaderLinks li {
    list-style-type: none;
    padding-bottom: 5px;
}

ul.MoSTHeaderLinks a {
    text-decoration: none;
}

@media only screen and (max-width: 1215px) {
  table.FirmListItem {
    flex: 0 0 48%;
    max-width: 48%;
    min-width: auto;
}
}

@media only screen and (max-width: 495px) {
  table.FirmListItem {
    flex: 0 0 98%;
    max-width: 98%;
}
}


/* Mobile --------------------------------------------------------*/

@media (min-width: 2000px) {
    #content-align {
    width: 40%;
    max-width: 900px;
    margin: 80px auto;
    }
    #MoSTContent {
    margin: 0 auto;
}
}

@media (max-width: 1600px) { 
 .page-heading {
    max-width: 400px;
    padding-left: 40px;
    padding-right: 30px;
 }

 .page-heading h1 {
    font-size: 47px;
    padding-left: 30px;
 }
 
 #subnav {
    max-width: 400px;
    padding: 30px 40px;
 }
 
 #content-align {
    margin-left: 30%;
    margin-right: 5%;
    width: 65%;
}
}
@media (max-width: 1200px) {  }

@media (max-width: 992px) {  
    
    #collapsingNavbar a {
    border: none;
}

#mainnav ul.navbar-nav {
    margin-top: 15px;
}

    .page-heading {
    padding: 20px 20px 20px 45px;
}

.page-heading h1::before {
    display: block;
    margin: 0 0 20px 0;
}

.page-heading h1 {
    font-size: 36px;
    padding: 0;
}

#footer-links ul.navbar-nav {
    flex-wrap: wrap;
        margin-top: 7px;
}

#footer-links a {
    border: none;
    padding-left:0;
}

#copyright p {
    padding: 0;
}
    
}

@media (max-width: 768px) {
    #navlogo img {
    max-width: 80px;
}

    .page-heading {
    width: 100%;
    max-width: none;
    padding: 20px;
}

#subnav {
    max-width: none;
    width: 100%;
    float: none;
    order: 1;
    padding: 30px 15px;
}

.subnav-container {
    max-width: 540px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

#_Content {
    display: flex;
    flex-direction: column;
}

#content-align {
    width: 95%;
    margin: 30px auto;
}

#MoSTContent {
    width: 100%;
}

.profile-table td:first-of-type, .profile-table td {
    width: 100%;
    display: block;
    padding: 10px 0;
}

.profile-table img {
    width: auto!important;
}

table.MoSTTable td, table.MoSTTable th {
    display: block;
    padding: 10px;
}

#MoSTContent ul.MoSTEventsList {
    padding: 0;
}

#MoSTContent ul.MoSTHeaderLinks {
    column-count: 1;
    padding: 0;
}
    
}

@media (max-width: 576px) {  
    
    ul.useful-links {
    column-count: 1;
}

#footer-links ul.navbar-nav {
    display: block;
}

#footer-links ul li {
    display: block;
}
    
}


div.MoSTVersion {
   display: none;
   visibility: hidden;
}
