/*
Theme Name: Eastern PA EMS
Theme URI: http://www.easternemscouncil.org/
Author: NuStream Marketing
Author URI: https://www.nustreammarketing.com/
Description: Foundation 6 theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: acf, gravity forms
*/
/* .news-posts {padding-top: 25px;} */

/* Covid-19 Informaitonal Awareness */
footer .covid19 { display: none !important;}
.amount em.plus {
    color: limegreen;
}
.amount em.minus {
    color: red;
}
.amount em {
    font-family: "Doppio One",sans-serif;
    font-weight: normal;
    font-size: 2rem;
    font-style: normal;
}
.covid19,
.btn-danger,
#reporting-form input[type="submit"] {
    background-color: red;
    display: block;
    padding: 10px 15px;
    border-radius: 2px;
    transition: .2s;
}
.btn-danger {
    position: absolute;
    top: 0;
    right: 0;
}
.home .nav {
    width: 100% !important;
}
.covid19, .covid19:focus, .covid19:hover,
.btn-danger, .btn-danger:focus, .btn-danger:hover {
    color: #fff;
}
.covid19 {
    display: inline-block;
    position: absolute;
    top: 25px;
    right: 15px;
    text-transform:uppercase;
}
.page:not(.home) #page-header .address {
    margin-left: -200px;
}
.page:not(.home) .covid19 {
    top: 25px;
}
.covid19:hover {
    transform: scale(1.05);
}
.page-template-page-infoawareness .page-title,
.page-template-page-infoawarepage .page-title  {
    font-size: 3.5rem;
}
.page-template-page-infoawareness #page-header,
.page-template-page-infoawarepage #page-header {
    height: 370px;
}
aside.info-sidebar,
main.info-dash {
    position: relative;
    display:inline-block;
    vertical-align:top;
}
aside.info-sidebar {
    padding-top:15px;
    width: 20%;
}
main.info-dash {
    padding-left: 30px;
    width: 80%;
}
.info-dash > h2 {
    max-width: 80%;
}
aside.info-sidebar h3 {
    font-family: "Anton",sans-serif;
    font-size: 1.3rem;
    font-weight: normal;
    text-transform: uppercase;
}
aside.info-sidebar ul {
    margin-left: 0;
}
aside.info-sidebar ul li {
    position: relative;
    list-style-type: none;
    margin-left: 0;
    padding-left: 15px;
    padding-top: 0;
    padding-bottom: 0;
}
aside.info-sidebar ul li::before {
    content: '\27A4';
    display: block;
    position: absolute;
    color: #002060;
    left: 0;
    top: 2px;
}
aside.info-sidebar ul li a {
    padding: 5px 0 10px 10px;
}
main.info-dash select#county {
    height: auto;
    font-size: 1.25rem;
}
.select-county {
    padding-top: 15px;
    padding-bottom: 0px;
}
.info-stats {
    display: none;
    position: relative;
    flex-direction: row;
    transition:.25s;
    padding-top: 80px;
}
.info-dash .info-stats.view {
    display: flex;
}
.info-stats .data {
    display: block;
    position: absolute;
    width: 100%;
    background-color:#eee;
    color: #002060;
    padding: 15px 0 0 15px;
    top: 0;
    left: 0;
    right: 0;
}
.info-stats .data p {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.1em;
}
.info-stats .box {
    flex: 1 1 32%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    height: 225px;
    border-top: 1px solid #002060;
    border-bottom: 1px solid #002060;
}
.info-stats .box h5 {
    font-family: "Doppio One",sans-serif;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .7px;
}
.info-stats .box h5 span {
    display: block;
    font-size: .8em;
}
.info-stats .box .amount {
    font-family: "Anton",sans-serif;
    font-size: 4rem;
}
.info-stats .box.box-1 .amount {
    padding-left: 15px;
}
.info-stats .box .amount i {
    font-style: normal;
    font-size: .5em;
    vertical-align: top;
    display: inline-block;
    padding-top: 12px;
}
.info-stats .box.box-1,
.info-stats .box.box-3 {
    background-color: #002060;
    color: #fff;
}
.info-stats .box.box-2 {
    background-color: #eee;
    color: #002060;
}

.info-desc {
    margin-top: 30px;
}
.info-desc p {
    font-weight: normal;
}

/* Sub Pages */
.docs {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    padding-top: 5px;
}
.docs .document {
    flex: 1 1 24%;
    height: auto;
    padding: 15px;
    max-width: 24%;
    border: 1px solid #eee;
}
.docs .document:nth-child(odd) {
    background-color: #eee;
}
.docs .document a {
    text-align: center;
}
.docs .document img,
.docs .document span {
    display: block;
    margin: 0 auto;
}
.docs .document img {
    max-width: 50px;
    height: auto;
}
.docs .document a span:first-of-type {
    font-size: 1.2em;
}
.docs .document a span {
    line-height: 1em !important;
    color: #333;
    margin-top: 10px;
}
h3.doc-title,
#reporting-form h3 {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
    font-family: "Anton",sans-serif;
}

.links ul {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
}

.links ul li {
    flex: 1 1 48%;
    padding-right: 35px;
    padding-left: 25px;
    list-style: none;
    position: relative;
}
.links ul li::before {
    content: '\27A4';
    display: block;
    position: absolute;
    color: #002060;
    left: 0;
    top: 2px;
}
.links ul li a {
    font-size: 1.2em;
}
.links ul li p {
    color: #333;
    font-weight: normal;
    line-height: 1em;
}

#reporting-form h3 {
    font-size: 1.8em;
}
#reporting-form div.instruction {
    display: none !important;
}
#reporting-form .gform_wrapper .top_label li .gfield_label {
    display:inline-block;
    width: 30%;
    margin-right: 3%;
}
#reporting-form .gform_wrapper .top_label li div.ginput_container {
    display: inline-block;
    width: 65%;
}
@media screen and (min-width: 1024px) and (max-width: 1400px) {
    #page-header > .row,
    .home #hero > .row {
        max-width: 100%;
    }
    #page-header .address-container {
        margin-left: 5px;
    }
    #page-header .address-container .address {
        margin-left: 0 !important;
    }
    .page:not(.home) .covid19 {
        right: 15px;
    }
}
@media screen and (max-width: 1300px) {
    #hero .address,
    #page-header .address {
        font-size: 1rem;
    }
    .covid19 {
        right: 15px;
    }
}
@media screen and (max-width: 1075px) {
    .page-template-page-infoawareness .page-title, .page-template-page-infoawarepage .page-title {
        font-size: 2.5rem;
    }
    .page-template-page-infoawareness #breadcrumbs, .page-template-page-infoawarepage #breadcrumbs {
        font-size: 1.2rem;
    }
    .covid19 {
        font-size: .9rem;
    }

}
@media screen and (max-width: 1024px) {
    .address-container {
        margin-left: 0;
    }
    .address-container strong,
    #page-header .address .header-phone {
        text-align: left;
    }
    .page:not(.home) #page-header .address {
        margin-left: 0;
        text-align: left;
    }
}
@media screen and (max-width: 940px) {
    .page-template-page-infoawareness #page-header, .page-template-page-infoawarepage #page-header {
        height: auto;
        padding-bottom: 30px;
    }
    aside.info-sidebar {
        width: 30%;
    }
    main.info-dash {
        width: 69%;
    }
    .info-stats {
        flex-direction: column;
    }
    .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
        width: 100%;
    }
    #reporting-form .gform_wrapper .top_label li .gfield_label {
        width: 45%;
    }
    #reporting-form .gform_wrapper .top_label li div.ginput_container {
        width: 50%;
    }
    .docs .document {
        flex: 1 1 50%;
        max-width: 50%;
    }
    .links ul li {
        flex: 1 1 100%;
    }
}
@media screen and (max-width: 750px) {
    .covid19 {
        top: 0 !important;
        right: 0;
        display: block;
        width: 100%;
        left: 0;
        text-align: center;
    }
    #hero,
    #page-header {
        padding-top: 50px;
    }
    .info-dash>h2 {
        width:100%;
    }
    .btn-danger {
        width:100%;
        max-width:100%;
        position:relative;
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 850px) {
    .info-dash > h2 {
        font-size: 2rem;
    }
    .info-stats .data p {
        font-size: .9em;
    }
    .info-dash>h2 {
        max-width: 100%;
    }
}

@media screen and (max-width: 740px) {
    aside.info-sidebar,
    main.info-dash {
        width: 100%;
    }
    main.info-dash {
        margin-top: 30px;
        padding-left: 0;
    }
    aside.info-sidebar ul#menu-informational-awareness-sidebar {
        columns: 2;
        display: block;
    }
    .page-title {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 600px) {
    .btn-danger {
        padding: 5px 7px 7px;
        text-align: center;
        line-height: 1em;
    }
    aside.info-sidebar ul#menu-informational-awareness-sidebar {
        columns: 1;
    }
}

.fb-link {
	display: inline-block;
    position: absolute;
    top: 35px;
    right: 30px;
}
.fb-link a {
	color: white;
	text-transform: uppercase;
}