/*
Theme Name: Denison Security
Theme URI: https://denison.edu/campus/technology
Author: Sejin Kim
Description: A simple, accessible WordPress theme for Denison ITS Cybersecurity
Version: 1.2.0
License: MIT
License URI: https://mit-license.org/
Text Domain: denison-security
*/

:root {
    --bs-nav-pills-link-active-bg: #c8102e;
    --bs-nav-link-color: #c8102e;
}

body {
    font-family: 'FreightSans', 'Oswald', 'Montserrat', 'Helvetica Neue', 'Helvetica', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'FreightSans', sans-serif;
}

h1.title-serif, h2.title-serif, h3.title-serif, h4.title-serif, h5.title-serif, h6.title-serif {
    font-family: 'CaslonGraphique', serif;
}

p, li, ul, ol, th, td, label {
    font-family: 'FreightSans', sans-serif;
}

@media (prefers-contrast: more) {
	[data-bs-theme=light] .text-secondary {
		color: black!important;
	}
	[data-bs-theme=dark] .text-secondary {
		color: white!important;
	}
}

.color-modes {
    font-family: 'FreightSans', sans-serif;
}

div.top-bar {
    background-color: #212529;
    color: #dee2e6;
	font-size: small;
}

div.bottom-foot {
    background-color: #f5f5f7;
    color: black;
    font-size: small;
}

div.bottom-foot a {
    color: black;
    text-decoration: none;
}

div.bottom-foot a:hover {
    color: #4e4e4e;
    text-decoration: underline;
}

.footer-mini-legal-link {
    border-right: 1px solid #d2d2d7;
    margin-right: 7px;
    padding-right: 10px;
    display: inline-block;
    margin-top: 5px;
    white-space: nowrap;
}

.footer-mini-legal-link:last-child {
    border: none;
    margin: 0;
    padding: 0;
}

footer button#bd-theme {
    color: black;
    text-decoration: none;
}

footer button#bd-theme:hover {
    color: #4e4e4e;
}

header li a.nav-link {
    color: #eaaa00;
}

header li a.nav-link:hover {
    color: white;
}

header h4.in-header {
    color: white;
}

.btn-denison {
    --bs-btn-color: #fff;
    --bs-btn-bg: #c8102e;
    --bs-btn-border-color: #c8102e;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #9e1a1d;
    --bs-btn-hover-border-color: #9e1a1d;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #c66e4e;
    --bs-btn-active-border-color: #c66e4e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #b0986e;
    --bs-btn-disabled-border-color: #b0986e;
    font-family: 'FreightSans', sans-serif;
}

.nav {
    --bs-nav-pills-link-active-bg: #c8102e;
    --bs-nav-pills-link-active-hover-bg: #9e1a1d;
    --bs-nav-link-color: #c8102e;
    --bs-nav-link-hover-color: #9e1a1d;
}

a {
    color: #c8102e;
    font-family: 'FreightSans', sans-serif;
}

[data-bs-theme=dark] a {
    color: #eaaa00;
}

[data-bs-theme=dark] a:hover {
    color: #fff;
}

[data-bs-theme=dark] a.btn {
    color: #fff;
}

a:hover {
    color:#9e1a1d;
}

[data-bs-theme=dark] a:hover {
    color: #fff;
}

.report-output th, .report-output td {
    font-family: 'Source Code Pro', monospace;
    font-size: smaller;
}

.report-output li {
    font-family: 'Source Code Pro', monospace;
}

.report-output ul {
    margin-bottom: 0;
}

code {
    font-family: 'Source Code Pro', monospace;
    color: #c66e4e;
	background-color: #efefef;
}

[data-bs-theme=dark] code {
	background-color: #0d0d0d;
}

.malframe {
    border-radius: 1rem;
    border-color: #ccc;
    background-color: #eee;
    padding: 1rem;
    color: black;
    font-family: 'Source Code Pro', monospace;
}

.malframe p {
	margin-bottom: 0;
}

.gradient-back {
    background-image: linear-gradient(135deg, #3d0e0f, #3c0608, #000000);
    color: #fff;
}

.gradient-back-guides {
    background-image: linear-gradient(135deg, #0F3E4C, #0E586E, #000000);
    color: #fff;
}

.gradient-back-phish {
    background-image: linear-gradient(135deg, #354D13, #4a6a1d, #000000);
    color: #fff;
}

div.gradient-back, div.gradient-back-guides, div.gradient-back-phish a {
    color: #eaaa00;
}

div.gradient-back, div.gradient-back-guides, div.gradient-back-phish a.btn {
    color: #fff;
}

div.gradient-back a:not(.btn-denison) {
	color: #EAAA00;
}

h1.front-page, h2.front-page, h3.front-page {
    font-family: 'FreightSans', sans-serif;
    background: linear-gradient(to left, #ffcfcf, #c8102e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

div.front-block {
	border: 0px;
	border-radius: 2rem;
	padding: 4rem;
	margin: 2rem;
}

[data-bs-theme=light] div.front-block {
	box-shadow: 10px 10px 20px #ececec;
}

[data-bs-theme=dark] div.front-block {
	box-shadow: 10px 10px 20px #202020;
}

@media (max-width: 992px) {
	div.front-block {
		padding: 1.5rem;
		margin: 1rem;
		border-radius: 1rem;
	}
}

.bi {
    width: 1em;
    height: 1em;
    fill: currentcolor;
}
.color-modes .dropdown-menu {
    padding: .25rem;
}
.color-modes .dropdown-menu li+li {
    margin-top: .125rem;
}
.color-modes .dropdown-item {
    border-radius: .25rem;
}
.color-modes .active {
    font-weight: 600;
}
.color-modes .active .bi {
    display: block !important;
}

h1.cyber-alert-title, p.cyber-alert-title, h1.cyber-guide-title, p.cyber-guide-title, h1.cyber-phish-title, p.cyber-phish-title {
    font-family: 'FreightSans', sans-serif;
    font-weight: 800;
    color: white;
}

p.cyber-alert-date {
    font-family: 'FreightSans', sans-serif;
    font-weight: 800;
    color: white;
    margin-bottom: 3rem;
}

div.cyber-alert-title {
    background: radial-gradient(at 0% 0%, #9e1a1d, #000);
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin-bottom: 2rem;
}

div.cyber-guide-title {
    background: radial-gradient(at 0% 0%, #0E586E, #000);
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin-bottom: 2rem;
}

div.cyber-phish-title {
    background: radial-gradient(at 0% 0%, #4A6A1D, #000);
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin-bottom: 2rem;
}

button.btn-link {
    color: #c8102e;
}

button.btn-link:hover {
    color: #9e1a1d;
}

[data-bs-theme=dark] button.btn-link {
    color: #eaaa00;
}

[data-bs-theme=dark] button.btn-link:hover {
    color: #fff;
}

blockquote {
    padding-left: 1rem!important;
    border-left: 2px black solid;
}

[data-bs-theme=dark] blockquote {
    padding-left: 1rem!important;
    border-left: 2px white solid;
}

svg.bi {
    width: 0.65em;
    height: 0.65em;
}

#phishes td {
	white-space: normal;
}

#phishes .badge.rounded-pill:not(:last-child) {
	margin-right: 5px;
}

#phish-tags .badge.rounded-pill:not(:last-child) {
	margin-right: 5px;
	margin-bottom: 5px;
}

.tag-multistage {
	background-color: #354D13;
	color: white;
}

.tag-financially-motivated {
	background-color: #134D32;
	color: white;
}

.tag-credential-theft {
	background-color: #13254D;
	color: white;
}

.tag-personal-email {
	background-color: #4D4A13;
	color: white;
}

.tag-job-scam {
	background-color: #4D2A13;
	color: white;
}

.tag-data-theft {
	background-color: #4D1343;
	color: white;
}

.tag-malware {
	background-color: #262626;
	color: white;
}

.tag-phishing {
	background-color: #AB0011;
	color: white;
}

.tag-spear-phishing {
	background-color: #C70085;
	color: white;
}

.tag-fraud {
	background-color: #00E8A6;
	color: black;
}

.tag-spoofing {
	background-color: #61ADFF;
	color: black;
}

.tag-ransomware {
	background-color: #393B38;
	color: black;
}

.tag-scam {
	background-color: #D261FF;
	color: black;
}

.tag-impersonation {
	background-color: #F28894;
	color: black;
}