/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */
 .background-white {
    background-color: white;
}
html, body {
    height: 100%;
}
.card .card-action {
    flex: 0 1 auto;
}
body {
    display: flex;
    flex-direction: column;
}
.card-stacked {
    display: flex;
    flex-flow: column nowrap;
    flex: 1 1 auto;
    justify-content: space-between;
}

.section {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

.flex {
    display: flex;
    flex-wrap: wrap;

}
p {
    text-align: justify;
}
.flex.space-between {
    justify-content: space-between;
}
.flex-grow-1 {
    flex-grow: 1;
}
.flex-shrink-1 {
    flex-shrink: 1;
}

.icon-block {
  padding: 0 15px;
}

.icon-block .material-icons {
	font-size: inherit;
}

.lu-background {
    background-color: #001158;
}

.lu-text {
    color: #001158;
}

.quote {
    font-size: xx-large;
    font-style: italic;
    margin-bottom: 50px;
    padding: 25px;
}


@media only screen and (max-width: 600px) {
    .quote {
        font-size: large;      
        margin-bottom: 25px;    
        padding: 15px;         
        line-height: 1.4;      
        text-align: left;       
        word-wrap: break-word;  
    }
}

.project-image-container {
    text-align: center;
}

.section.center img {
	max-height: 100px;
}

.project-card-image-div {
    text-align: center;
    flex: 0 1 auto;
}

.contact-table {
    margin: 15px;
}
.contact-table tr {
	border: none;
}
.contact-table tr td {
    padding: 5px;
}

.card-image {
	height: 350px;
    overflow: hidden;
}

h1 {
    font-size: 3.5rem;
}
div#quotes > ul {
    position: relative;
    box-sizing: border-box;
    height: 60px;
    margin: 20px 0;
}
div#quotes > ul > li {
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    display: inline-block;
    text-align: center;
    opacity: 0;
    top: -60px;
    height: 60px;
    transition: 400ms;
}

@media only screen and (max-width: 1500px) {
    /* custom */
    .card-image{
        height: 300px;
    }
}

@media only screen and (max-width: 1250px) {
    /* custom */
    .card-image{
        height: 250px;
    }
}

@media only screen and (max-width: 1000px) {
    /* For materialize l */
    .card-image{
        height: auto;
    }
}

.project-image {
    max-width: 100%;
    max-height: 1000px;
}

.tab.col a {
	font-size: large;
    font-weight: bold;
}

.project-image-slider {
    max-width: 100%;
    margin: auto;
}

.project-card {
    margin-bottom: 50px;
    display: flex;
    flex-flow: column nowrap;
}

.card-action {
    height: 60px;
    flex: 0 1 auto;
}
.card-content {
    flex: 1 1 auto;
}
.card .card-image {
    flex: 0 1 auto;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.project-card-image {
    max-height: 100px;
    height: 100px;
    max-width: 100%;
}

/*
 * Override materialize tabs colour
 */

.tabs .tab a{
    background-color: white !important;
    color:#001158;
}

.tabs .tab a:hover {
    color:#001158;
}

.tabs .tab a.active {
    color:#001158;
}

.tabs .indicator {
    background-color:#001158;
}

.section p {
    text-align: left;
    line-height: 1.6;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0 20px;
    padding: 20px;
}

.grid-item {
    margin: 0 0 20px 0;
}

.grid-item .card {
    margin: 0;
}

.row {
    margin-bottom: 0;
}

.col {
    padding: 0 10px;
}

.card {
    margin: 0 0 20px 0;
}

.card .card-content {
    padding: 20px;
}

.card .card-image {
    height: auto;
    min-height: 200px;
}

.container .row:last-child {
    margin-bottom: 0;
}

.section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.categories-nav {
    margin: 20px 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.categories-nav a {
    font-size: 1.5rem;
    color: #001158;
    margin: 0 20px;
    padding: 10px 0;
    text-decoration: none;
    position: relative;
}

.categories-nav a.active {
    font-weight: bold;
}

.categories-nav a.active:after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #001158;
}