﻿/*
* Created By: MDC Web Services
* Description: Trio Grants template
* Revised: 01/18/2019
*/


/*Masthead Code*/

/* How to initialize top navication */
body #siteNav {
    display: block;
}


body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.related-content h4 {
	font-size: 18px;
	font-weight: bold;
	
}

.title-name h1 {
    font-size: 24px;
    margin: 0;
}

.site-masthead {
    background-image: url("../img/site-bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1565c0;
    color: #fff;
}

.site-masthead h1 a {
    color: inherit;
    text-decoration: none;
}

.site-masthead h1 a:hover {
    text-decoration: underline;
}

.title-name.title-background span {
    background-color: rgba(0, 0, 0, 0.3);
    padding-left: 12px;
    padding-right: 12px;
}

figure img {
    padding: .25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    max-width: 100%;
    height: auto;
}
details {
    margin: 1em auto;
    padding: 0.8em;
}

summary {
    font-size: 1.2em;
}


/*Responsive Queries*/

@media (max-width: 349px) {}

@media (min-width: 350px) and (max-width: 640px) {}

@media (min-width: 480px) and (max-width: 640px) {}


@media (max-width: 640px) {}

@media (min-width: 641px) and (max-width: 767px) {
    .templisting figure {
        width: 50%;
        float: left;
    }
}

@media (max-width: 767px) {
    .site-masthead {
        padding: 10px 0;
    }
}

@media (min-width: 768px) {
    .title-area {
        width: 100%;
        position: relative;
    }
    .title-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        display: table;
    }
    .title-name {
        display: table-cell;
        vertical-align: middle;
    }
}

/* Small devices (tablets, 768px and up) */

@media (min-width: 768px) and (max-width: 991px) {
    .title-area {
        height: 120px;
    }
    .title-container {
        height: 120px;
    }
    .title-name h1 {
        font-size: 37px;
    }
}

@media (max-width: 991px) {
    .templisting figure {
        margin: 0 auto 2em;
    }
}

@media (min-width: 992px) {}

@media (max-width: 1024px) {}

@media (min-width: 991px) and (max-width: 1024px) {}

/* Medium devices (desktops, 992px and up) */

@media (min-width: 992px) and (max-width: 1199px) {
    .title-area {
        height: 140px;
    }
    .title-container {
        height: 140px;
    }
    .title-name h1 {
        font-size: 48px;
    }
}

/* Large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
    .title-area {
        height: 180px;
    }
    .title-container {
        height: 180px;
    }
    .title-name h1 {
        font-size: 60px;
    }
}