/* 
    Town Blue: #003459 
    Town Yellow: #E4AA00
    
*/

/* Base */
/* Reset */
html {
    font-size: 16px;
}

body {
    background-color: #fff;
}

body, p {
    color: #444;
}

*, html, body {
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    /* -moz-osx-font-smoothing: grayscale;*/
    text-rendering: optimizeLegibility; 
}

ul {
    list-style-type: none;
    padding:0;
}

a {
    text-decoration: underline;
}

button {
    border: none;
}

textarea {
    resize: none;
}

.dropdown-toggle::after {
    margin-left: .13em;
}



/* Typography */
h1, h2, h3 , h4, h5 {
    font-weight: 300;
}

p {
    font-weight: normal;
}

h1 {
    font-size: 2rem;
    text-shadow: 0 2px 3px rgba(0,0,0,0.7);;
}
@media screen and (min-width:768px) {
    h1 {
        font-size: 3rem;
    }
}
@media screen and (min-width:992px) {
    h1 {
        font-size: 4rem;
    }
}


h2 {
    font-size: 2rem;
}
@media screen and (min-width: 768px) {
    h2 {
        font-size: 3rem;
    }
}

footer h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}


/* Layout */
.section-margin {
    margin-bottom: 4rem;
}
@media screen and (min-width:768px) {
    .section-margin {
        margin-bottom: 8rem;
    }
}

@media screen and (min-width: 1450px) {
    .container {
        max-width: 1400px;
    }
}

/* Modules */
/* Buttons */

.btn-main, .btn-alt, .btn-header {
    font-size: 1.25rem;
    padding: .5rem;
    text-decoration: none;
    transition: background 250ms, border 150ms;
}

.btn-main, .btn-alt {
    box-shadow: 0 2px 5px rgba(30,30,30,0.3);
}

.btn-main {  
    background: #101a50;
    border: 1px solid #101a50;
    color: #fff;
}

.btn-alt {
    color: #fff;
    background: none;
    border: 1px solid #fff;
}

.btn-header {
    color: #0D143F;
    background: #fff;
}
@media screen and (min-width: 992px) {
    .btn-header {
        background: #101a50;
        border: 1px solid #101a50;
        color: #fff;
    }
}



.btn-header {
    box-shadow: 0 2px 5px hsla(47, 99%, 20%, 0.3);
}



.mini-overlay {
    background-color: rgba(255,255,255,0.90);
    padding: 30px 15px;
}
@media screen and (min-width: 768px) {
    .mini-overlay {
        
        padding: 30px;
    }
}

/* Cards */
.card {
    border-radius: 0;
}


.focus-card {
    transition: background 250ms, color 10s;
    padding: 2.5rem 1rem;
}
@media screen and (min-width: 768px) {
    .focus-card {
        border-left: 5px solid #FEC901;
    }
}



.card-title {
    font-size: 1.5rem;
}
@media screen and (min-width: 768px) {
    .card-title {
        font-size: 2rem;
    }
}
@media screen and (min-width: 992px) {
    .card-title {
        font-size: 1.5rem;
    }
}
@media screen and (min-width: 1200px) {
    .card-title {
        font-size: 2rem;
    }
}

.wanted-img {
    width:50%;
    margin: auto;
}
@media screen and (min-width:768px) {
    .wanted-img  {
        width:100%;
        max-width: 200px;
    }
}


/* Carousel */
/* .carousel-item {
    border-bottom: 10px solid #0D143F;
} */

/* Focus Areas */
.focus-section {
    padding-top:4rem;
    padding-bottom: 4rem;
}
@media screen and (min-width:768px) {
    .focus-section {
        padding-top: 12rem; 
        padding-bottom: 8rem;
    }
}

/* DDMG Signature */
.ddmg-signature {
    background-color: #333;
}

.ddmg-signature > p {
    color: #9c9c9c;
}

/* Footer */
footer {
    background: linear-gradient(rgba(30, 30, 30, 1), rgba(30, 30, 30, 1));
    background-position: left center;
}

footer a {
    color: #fff;
    transition: padding-left 200ms;
}

footer a:hover {
    color: #fff;
}

.nav-list a:hover {
    padding-left: .5rem;
}

footer form {
    border: 1px solid #555;
    width:100%;
    max-width: 410px;
    margin: auto;
}

footer .btn-alt {
    font-size: 1rem;
}

/* Focus Icon */
.focus-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: hsl(232, 66%, 20%);
}

/* nav */
.dropdown-menu {
    margin:0;
    padding-top:0;
    padding-bottom:0;
    border-radius: 0;
    border: none;
    background: none;
}
@media screen and (min-width:1200px) {
    .dropdown-menu {
        background: rgba(255,255,255,0.9);
    }
}

.dropdown-item {
    padding-top:.5rem;
    padding-bottom: .5rem;
}

.nav-item, .nav-link, .dropdown-item {
    font-size: 1.2rem;
    text-decoration: none;
}

.nav-item > .nav-link {
    padding-right: .75rem !important;
    padding-left: .75rem !important;
}

@media screen and (min-width:1200px) {
    .nav-wrapper {
        position:absolute; 
        top:100%; 
        left:0; 
        right:0; 
        z-index: 1
    }
}

/* Parallax */
.parallax {
    background: 
        /* linear-gradient(rgba(255,255,255, 0.2), rgba(255,255,255,0.2)), */
        url(../../img/parallax.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
@media screen and (min-width 768px) {
    .parallax {
        background-position: top left; 
    }
}


/* Slider */

@media screen and (min-width:992px) {
    .slide-item {
        padding: 15px;
    }
}

.slide-item > div {
    padding: 15px;
    background-color: #eee;
}
@media screen and (min-width:992px) {
    .slide-item > div {
        box-shadow: 0 2px 8px rgba(30,30,30,0.4);
    }
}

/* States */
.has-shadow {
    box-shadow: 0 2px 8px rgba(30,30,30,0.4);
}

.no-underline, .no-underline:hover {
    text-decoration: none;
}

.mw-test {
    max-width: 750px;
}

button:hover {
    cursor: pointer;
}

.btn-main:hover, .btn-header:hover {
    text-decoration: none;
    color: #fff;
    background: hsl(231, 67%, 10%);
    border: 1px solid #fff;
}

.btn-alt:hover {
    color: #111;
    background: #fff;
}

.focus-card:hover {
    background: hsl(232, 66%, 20%);
    transition: background 1s;
}
.focus-card:hover * {
    color: #fff;
    transition: color 750ms;
}


.flag-bg {
    background:
        linear-gradient(rgba(255,255,255, 1), rgba(255,255,255,.7)),
        url(../../img/thinblue.jpg); 
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center;
    border-top: 1px solid #fff;
}

/* .nav-item {
    position: relative;
} */

@media screen and (min-width:1200px) {
    .is-active:after {
        content:'';
        background-color: #48a4d6;
        bottom: 0;
        height: 5px;
        left: 0;
        position: absolute;
        transition-duration: 0.25s;
        width: 100%;
    }
}

.nav-item {
    position: relative;
}
/* Themes */
/* Blue #19277A */
/* Yellow #F9CA11 */

.bg-header {
    background: linear-gradient(45deg, rgba(13, 20, 63, 0.85) 70%, #FEC901 70%),
    url(../../img/americanflag.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
@media screen and (min-width:1200px) {
    .bg-header {background-size: auto;}
}

.bg-darkblue {
    background: #0D143F;
}


.bg-nav {
    background: #0D143F;
}
@media screen and (min-width:1200px) {
    .bg-nav {
        /* background: rgba(13, 20, 63, 0.65); */
        background: rgba(255, 255, 255, 0.9);
    }
}


.nav-item, 
.nav-link, 
.dropdown-item,
.nav-item:hover, 
.nav-link:hover, 
.dropdown-item:hover,
.nav-item:active, 
.nav-link:active, 
.dropdown-item:active  {
    color:#fff;
    background: rgba(255,255,255,0);
    transition: background 250ms;
}
@media screen and (min-width:1200px) {
    .nav-item, 
    .nav-link, 
    .dropdown-item {
        color:#0D143F;
    }

    .nav-item:hover, 
    .nav-link:hover, 
    .dropdown-item:hover,
    .nav-item:active, 
    .nav-link:active, 
    .dropdown-item:active  {
        color:#0D143F;
        background: #fff;
    }
}


h2, h3 {
    color: hsl(232, 66%, 20%);
}
