@charset "utf-8";
/*
File: tnt_site_styles_2019.css
Site: TNT
Date: 08/09/19
Author: KLP
Comments:
Adjusted style for: #dropdownMenuArea.expanded-view to accommodate additional links

*/

/*--------- MOBILE DESIGNS: FIRST ----------*/

/*--------- Page-Wide Styles ----------*/

/*zero out default styles*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /*a Google Font*/
    font-family: 'IBM Plex Sans Condensed', sans-serif
}

body {
    font-style: normal;
    font-weight: 300;
    height: 100%;
    /*more advanced stuff*/
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: lightgray;
}

#bigContent {
    flex: 1;
}

/*general link styles: no underlines, links in a list have no list styles*/
nav li {
    list-style-type: none;
}

nav li a:hover {
    text-decoration: underline;
}

a {
    text-decoration: none;
}

/*--------- Classes ----------*/

/*used to hide links that we ultimately want but are not yet meaningful*/
.hide {
    display: none;
}

.show {
    display: block;
}

.clear-fix {
    clear: both;
    margin-top: 0px;
    margin-bottom: 0px;
    background-color: red;
}

.profile {
    border: 2px solid black;
    border-radius: 50%;
    background-color: white;
    padding: 2px;
    width: 120px;
}

.subPara {
    margin-top: -20px;
}

.future {
    opacity: .2;
    cursor: none;
}

/*--------- Header Styles ----------*/
header {
    height: 80px;
    padding: 10px 5px 5px 10px;
    background-color: #FFF5BC;
    color: #144C87;
}

header h1 {
    /*a Google Font*/
    font-family: 'Boogaloo', cursive;
}

header div#mastheadText {
    float: left;
}

header img#mastheadIcon,
header img#burgerIcon {
    float: left;
    padding-right: 2px;
    width: 60px;
    height: auto;
    margin-right: 5px;
}

/*override previous float*/
header img#burgerIcon {
    float: right;
    margin-right: 1px;
    padding-right: 0px;
}

/*--------- Navbar Styles ----------*/
#burgerIcon:hover {
    cursor: pointer;
}

nav.mobile-view {
    float: right;
    margin-top: 20px;
    display: none;
}

/*'normal-placement: horizontal*/
nav ul li {
    display: inline-block;
    text-decoration: none;
    margin-right: 15px;
}

nav ul li a {
    color: #144C87;
}

/*---dropdownMenuArea ---*/

/*serves as a target area for drop down menu*/

/*TODO: buggy...can't get the red color to work, 11/1/18*/
/*11/5/18 - some of this was the fact that you have to clear the cache of iOS browsers....*/
div#dropdownMenuArea.mobile-view {
    background-color: red;
}

div#dropdownMenuArea.expanded-view {
    background-color: #FF4F2F;
}

/*----navbar expanded view stuff----*/
nav.expanded-view {
    display: block;
    margin-top: 15px;
    width: 99.5%;
}

nav.expanded-view ul li {
    list-style-type: none;
    display: block;
    padding-left: 15px;
    margin-left: 0px;
    padding-bottom: 2px;
    border-bottom: 1px solid #555;
    margin-bottom: 4px;
}

nav.expanded-view ul li.hide {
    display: none;
}

nav.expanded-view ul li:last-child {
    border-bottom: none;
}

nav.expanded-view ul li a {
    text-decoration: none;
    color: white;
}

#dropdownMenuArea.expanded-view {
    /*TODO: make the  height accomodate any number of links*/
    /*add about 30 px for each new link*/
    /*    height: 180px;*/
    height: 240px;
    display: block;
    border-bottom: 1px solid #555;
}

/*jQuery uses toggling of placement classes: normal and expanded to relocate the nav menu*/

nav.normal-placement ul li {
    display: inline-block;
    text-decoration: none;
    margin-right: 20px;
}

nav.normal-placement ul li a,
#heroArea ul li a {
    color: #F1E63B;
    text-decoration: none;
}

nav.expanded-placement {
    margin-top: 20px;
    padding-top: 2px;
}

nav.normal-placement {
    margin-top: -80px;
}

/*----------hero area-----------*/
#heroArea {
    /*    background-color: rgb(255, 79, 47);*/
    background-color: #D81827;
    color: white;
    padding: 3%;
    display: table;
    width: 100%;
    margin-bottom: 0px;
}

#heroArea #tagLineArea {
    width: 60%;
    display: table-cell;
}

#heroArea #tagLineArea #mainTag,
#secondaryTag {
    float: left;
    width: 100%;
}

#heroArea #tagLineArea img {
    display: none;
    float: right;
}

#heroArea #mainTag {
    font-family: 'Boogaloo', cursive;
    font-size: 40px;
    text-align: right;
    margin-top: 0px;
    margin-bottom: 10px;
}

#heroArea #secondaryTag {
    display: none;
    font-size: 20px;
    line-height: 30px;
    text-align: right;
    color: white;
}

#heroArea #topics li:first-child {
    margin-top: 20px;
}

#heroArea #topics {
    display: table-cell;
    width: 40%;
    padding-left: 20px;
    padding-bottom: 30px;
    float: left;
}

#heroArea #topics li {
    padding-left: 5px;
    margin-left: 40px;
}

#heroArea #topics li a {
    color: white;
}

/*--------- Main Content Styles ----------*/
/*when js is deactivated*/
div#jsAlert {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    color: red;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

div #jsAlert p#keepCalmInfo {
    margin-top: 20px;
}

#bigContent p {
    margin-bottom: 10px;
    font-size: 15px;
}

figure figcaption {
    text-align: center;
}

/*--------- main  Styles ----------*/
main {
    /*sticky footer help again*/
    /*    min-height: calc(100vh - 125px);*/
    min-height: calc(63vh - 125px);
    /*    background-color: white;*/
    background-color: #DCEBF8;
    margin-top: -10px;
    padding: 3%;
}

main h2,
main h3 {
    margin-bottom: 20px;
}

main a {
    color: darkorange;
    font-weight: bold;
    font-size: larger;
}

main p a:hover,
#expectation a:hover,
main li a:hover {
    /*without the p, links in figure apps lit up*/
    color: white;
    background-color: darkorange;
    font-weight: bold;
}

main section {
    margin-bottom: 30px;
}

main h1,
main h2 {
    font-family: 'Boogaloo', cursive;
    color: #144C87;
}

main h2

/*---- Detail/Summary Styles --------*/
summary {
    margin-bottom: 10px;
    font-style: italic;
    color: #999;
}

details {
    margin-bottom: 20px;
}

details hr {
    color: #999;
}

details div {
    background-color: white;
    padding: 10px;
/*    font-size: 15px;*/
}

details summary em {
    font-style: italic;
    color: #999;
}

/*for the bottom-left last updated messages in detail areas*/
#bigContent main p#last_update,
#bigContent main p.last_update {
    color: #bbb;
    font-size: 12px;
    font-style: italic;
    margin-top: 20px;
}

/*--------- Footer Styles ----------*/
footer {
    /*    background-color: #000;*/
    background-color: #144C87;
    height: 55px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 20px;
    font-size: 15px;

    /*balance the centered links: they had margin-right of 20px for spacing*/
    padding-left: 20px;
    margin-top: -10px;
    /*    color: lightgray;*/
    color: #FFF5BC;
}

footer.normal-placement {
    position: relative;
}

footer ul {
    text-align: center;
}

footer ul li {
    display: inline;
    margin-right: 20px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer p {
    text-align: center;
    /*    color: #888;*/
}

footer p#version {
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

footer #footerContent {
    display: none;
}

/*--------- MEDIA QUERIES ----------*/
/*shows smallest browser size when in Firefox*/
@media (min-width: 200px) {
    header {
        border-bottom: 5px gray solid;
    }

    header #mastheadText p {
        font-size: 14px;
    }

    header #mastheadText h1 {
        font-size: 24px;
    }

    #heroArea #topics {
        padding-left: 5px;
        /*            background-color: beige;*/
    }
}

/*small phone*/
@media (min-width: 400px) {

    /*400px or less*/
    header {
        border-bottom: 5px black solid;
    }

    header h1::after {
        content: " - TNT!";
    }

    header #mastheadText p {
        font-size: 16px;
    }

    #heroArea #tagLineArea {
        /*        background-color: pink;*/
        padding-left: 10%;
    }

    #heroArea #tagLineArea #mainTag {
        font-size: 50px;
    }

    #heroArea #topics {
        font-size: 20px;
    }
}

@media (min-width: 600px) {
    header {
        border-bottom: 5px red solid;
    }

    header h1::after {
        content: " ~ Web Programming";
    }

    header #mastheadText p::before {
        content: "Responsive ";
    }

    #heroArea #secondaryTag {
        display: block;
    }

    #heroArea #topics {
        padding-left: 30px;
    }

}

@media (min-width: 800px) {

    /*iPhone XMax landscape*/
    /*iPadPro portrait*/
    header {
        border-bottom: 5px blue solid;
    }

    header #mastheadText h1 {
        font-size: 25px;
    }

    header h1::after {
        content: " ~ A Dynamite Web Programming Nerdvana!";
    }

    #heroArea #tagLineArea img {
        display: block;
        float: right;
    }

    #heroArea #secondaryTag {
        font-size: 30px;
    }

    #heroArea #topics {
        width: 40%;
        padding-left: 40px;
        font-size: 30px;
    }

    #bigContent p {
        font-size: 20px;
    }

    #about-us h2 {
        font-size: 35px;
    }

    footer {
        height: 130px;
    }

    footer #footerContent,
    footer p#version {
        display: block;
        margin-bottom: 5px;
    }

}

/*begin to show inline navigation and remove burger menu icon*/
@media (min-width: 1200px) {

    /*iPad Pro landscape*/
    header {
        border-bottom: 5px green solid;
    }

    header h1::after {
        content: " ~ A Web Programming Nerdvana!";
    }

    header #mastheadText h1 {
        font-size: 21px;
    }

    nav.mobile-view {
        display: block;
    }

    header #burgerIcon {
        display: none;
    }

    #heroArea #mainTag {
        font-size: 120px;
    }

    #heroArea #secondaryTag {
        margin-bottom: 50px;
    }

    #bigContent p {
        font-size: 26px;
    }

    /*If menu is vertical, hide it again and make it horizontal*/
    nav.expanded-view,
    nav.mobile-view {
        float: right;
        width: auto;
        margin-right: 10px;
        margin-top: 17px;
        color: #144C87;
    }

    nav.expanded-view ul li a {
        /*        text-decoration: none;*/
        color: #144C87;
    }


    /*
    header nav li a {
        color: #144C87;
        background-color: pink;
    }
*/

    nav.expanded-view ul li,
    nav.mobile-view ul li {
        list-style-type: none;
        display: inline-block;
        padding-left: 2px;
        margin-left: 2px;
        border-bottom: none;
    }
    
    /*expanded view now just collapses*/
    #dropdownMenuArea.expanded-view {
        height: 0px;
        display: none;
    }




    /*things hidden should stay hidden from here, forward even if expanded*/
    nav.expanded-view ul li.hide {
        /*        display: none;*/
        background-color: pink;
    }

    nav.mobile-view ul li.hide {
        display: none;
        /*        background-color: pink;*/
    }
}

@media (min-width: 1400px) {
    header {
        border-bottom: 5px orange solid;
    }

    header #mastheadText h1 {
        font-size: 30px;
    }

    /*
    #bigContent{
        max-width: 1400px;
	    margin-left: auto;
	    margin-right: auto;
    }
    
*/
    #heroArea {
        /*        height: 200px;*/
        /*        background-color: blue;*/
        padding-top: 0%;
        padding-bottom: 0%;
    }

    #heroArea #tagLineArea {
        padding-top: 0%;
        padding-bottom: 0px;
        padding-left: 5%;
    }

    header h1::after {
        /*        content: " ~ A Dynamite Responsive Web Programming Playground!";*/
    }

    header #mastheadText p::after {}

    #bigContent p {
        font-size: 30px;
    }

    #about-us h2 {
        font-size: 40px;
    }

    #about-us #tag-line {
        font-size: 30px;
    }

    #about-us #aboutUsFigure {
        width: 40%;
    }

    #about-us {
        padding-left: 15%;
        padding-right: 15%;
    }
}

@media (min-width: 1600px) {

    /*large desktop mac*/
    header {
        border-bottom: 5px gold solid;
    }

    header h1::after {
        content: " ~ A Dynamite Web-Responsive Playground!";
    }

    /*If menu is vertical, hide it again and make it horizontal*/
    nav.expanded-view,
    nav.mobile-view {
        float: right;
        width: auto;
        margin-right: 10px;
        margin-top: 17px;
    }

    nav.expanded-view ul li,
    nav.mobile-view ul li {
        list-style-type: none;
        display: inline-block;
        padding-left: 15px;
        margin-left: 2px;
        border-bottom: none;
    }

    nav.expanded-view ul li a,
    nav.mobile-view ul li a {
        /*        color: #F1E63B;*/
        color: black;
    }

    /*expanded view now just collapses*/
    #dropdownMenuArea.expanded-view {
        height: 0px;
        display: none;
    }
}
