#wpadminbar {
    display: none;
}

html {
    margin-top: 0 !important;
}

body.admin-bar {
    margin-top: 0 !important;
}

body {
    
    font-size: .80em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    /* margin: 5px; */
    /* padding: 5px; */
    /* padding-top: 5px; */
    /* margin: 5px 0px 0px 0px; */
    margin: 0px;
    color: #696969;
    background-color: #fbf8ed;

    /* height: 100%; */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#wrapper {
    display: grid;
    flex-direction: column;
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
    padding: 0px;
    margin: 0px;
    margin-bottom: 30px;

    padding-top: 5px;
}

.header {
    grid-column: 2 / 8;
    display: flex;
    background-color: #476bb2;
    border-radius: 3px;
    padding: 0px;
    margin: 0px;
}

.header #logo-image img {
    display: block;
    padding: 4px;
    margin: 0px;
}

.header nav {
    width: 100%;
    height: 100%;
    align-content: end;
    /* justify-items: end; */
}

.header nav ul {
    display: flex;
    list-style-type: none;
    /* padding: 1px; */
    margin: 0px;
}

.header nav ul li {
    align-content: end;
}

.header nav ul li a {
    display: block;
    background-color: #fbf8ed;
    color: #222222;
    font-family: Verdana,Arial,sans-serif;
    font-size: 0.9rem;
    font-weight: normal;
    padding: 6px 9px;
    border-radius: 3px 3px 0px 0px;
    margin: 1px 2px;
}

.header-tab.active a {
    color: #476bb2;
    font-weight: bold;
    padding: 8px 9px;
    margin: 0px 2px;
}

.header a {
    text-decoration: none;
}

.quote {
    grid-column: 2 / 8;
    justify-items: center;

    visibility: hidden;
}

/* Tabs Section */

.tab-container {
    grid-column: 2 / 8;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
}

.tab-content {
    padding: 15px 25px;
}

.tab-body {
    display: flex;
}

.tab-image {
    /* width: auto; */

    align-self: center;

    /* height: auto; 
    object-fit: cover; 
    max-width: 300px; */
    width: 310px;
    height: 250px;

    object-fit: cover;

    object-position: center;

    flex-shrink: 0;
}

.tab-body-text-box {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.spacer {
    flex: 0 20%;
}

.tab-body-text {
    /* width: 75%; */
    /* display: block; */
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: space-between;
    /* justify-items: space-between; */
    /* flex-direction: column; */
    padding-left: 20px;
    flex: 1;
}

.tab-body-text ul {
    column-count: 2;
    column-gap: 50px;
}

.tab-body-text li {
    break-inside: avoid; 
    page-break-inside: avoid;
}

.tab-body-button {
    width: 225px;
    text-decoration: none;
    /* padding: 0.1px;
    border-radius: 5px; */
    /* background: linear-gradient(170deg, #aaaaaa, #555555) border-box, gray padding-box; */
    /* border: 2px solid transparent; */
    margin-left: auto;
}

.inline-style2 {
    /* width: 225px; */
    /* color: #666666; */
    font-size: 1rem;
    border-radius: 5px;
    /* float: right; */
    color: #555555;
    text-align: center;
    padding: .3rem .1rem;
    border-top: 2px solid #aaaaaa;
    border-bottom: 2px solid #555555;
    border-left: 2px solid #aaaaaa;
    border-right: 2px solid #555555;
    /* border: 1px solid #aaaaaa; */
    background-color: #fbf8ed;
    
}


.tab-buttons {
    /* background-color: #f6f0b2; */
    display: flex;
    flex-direction: row;
    background-image: linear-gradient(to bottom, white, 20%, #f6f0b2);
    /* border-bottom: 1px solid #aaaaaa;
    border-left: 1px solid #aaaaaa;
    border-right: 1px solid #aaaaaa; */
    border: 1px solid #aaaaaa;
    border-radius: 0px 0px 5px 5px;
    margin: 3px;
}

.tab-btn {
    justify-content: center;
    align-content: center;
    cursor: pointer;
    background-color: #fbf8ed;
    color: #555555;
    font-family: Verdana,Arial,sans-serif;
    font-size: 1.1em;
    /* border-bottom: 1px solid #aaaaaa; */
    border-left: 1px solid #aaaaaa;
    border-right: 1px solid #aaaaaa;
    border-radius: 0px 0px 5px 5px;
    height: 35px;
    margin: 0px 0px 5px 3px;
    padding: 0px 15px 0px 15px;
    /* transform: translateZ(-20px); */
}

.tab-btn:hover {
    color: #212121;
}

.tab-btn.active {
    cursor: default;
    color: #212121;
    font-weight: bold;
    position: relative;
    /* top: 5px;
    transform: translateY(-5px); */
} 

.tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 2px;
  background: #fbf8ed; /* parent background */
}

.tab-content .tab {
    display: none;
}

.tab-content .tab.active {
    display: block;
} 


main {
    grid-column: 2 / 8;
    margin-top: 50px;
    padding: 0px 12px;
}

#home-table {
    display: flex;
    /* grid-template-columns: 5fr; */

}


.service-section {
    flex: 4;
    display: flex;
    flex-wrap: wrap;
}

#ccsi-section {
    flex: 1;
}

.service-descriptor {
    flex: 1 1 calc(60% - 20%);
    display: flex;
    flex-direction: row;
    padding-right: 10px;
    /* padding-bottom: 10px; */
}

.service-descriptor img {
    padding-right: 10px;
    padding-bottom: 10px;
}

.services-descriptor-text {
    padding-bottom: 15px;
}


/* Footer */
footer {
    display: flex;
    flex-direction: row;
    margin-top: auto;
    /* grid-column: 2 / 8; */
    background-color: #476bb2;
    color: #fbf8ed;
    padding: 12px 20px;
    /* justify-items: center; */
    justify-content: center;
    align-items: center;
}

#footer-nav ul {
    display: flex;
    flex-direction: row;
    list-style-type: none;
}

#footer-nav ul li {
    padding: 0px 10px 0px 10px;
}

#footer-nav ul li a {
    text-decoration: none;
}

.footer-text {
    font-size: 1.2em;
    font-weight: 600;
    color: #fbf8ed
}

/* About Page */
.about-table {
    display: flex;
    align-items: end;
}

.about-container {
    flex: 2;
    padding-right: 20px;
}

.about-button {
    flex: 1;
    /* padding: 0px 40px; */
    /* margin: 0px 40px; */
}

.about-spacer {
    flex: 1
}

.about-section {
    margin-top: 10px;
}

.about-image {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Services Page */
.services-container {
    display: flex;
}

.services-section {
    flex: 1;
}

.services-spacer {
    flex: 1;
}

.services-text {
    margin-bottom: 15px;
}

/* Clients Page */
.clients-container {
    display: flex;
}

.clients-section {
    flex: 2;
    min-width: 0; 
}

.clients-spacer {
    flex: 1;
    min-width: 0;  
}

.client-section {
    display: flex;
    align-items: baseline;
    min-width: 0;  
}

.clients-title {
    margin-right: 15px;
}

.clients-text {
    flex: 1;
    min-width: 0;  
    word-wrap: break-word; 
}



/* Contact Form */

.contact-field {
    margin-bottom: 10px;
}


/* Styles */
.inline-header1 {
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-size: 1.9rem;
    font-weight: 700;
}

.inline-style1 {
    width: 400px;
    color: #666666;
    font-size: 1.5rem;
    margin-bottom: 5px;
    vertical-align: top;
    margin-left: auto;
    /* margin-right: auto; */
    /* float: right; */
    /* align-self: center; */
}

.inline-header2 {
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    float: right;
}

.inline-header3 {
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
}

.header1 {
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-size: 1.9rem;
    font-weight: 700;
}

.header2 {
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.header3 {
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
}