
/************ Bill's CSS Resets ***************/

p, ul, ol, h1, h2, h3, blockquote {
	margin: 0;
	padding: 0;
}
nav ul, nav ol {
	list-style-type: none;
}

/*************** End Reset ******************/

*{
    box-sizing:border-box;
}

body {
	font-family: 'Crimson Text', serif;
	background: #fff;
	color: #333;
	padding-top: 9px;
	padding-bottom: 30px;
	font-size: 18px;
}


/*********** Typography **********/

h1, h2, h3 {
	font-family: Oswald, sans-serif;
	margin-bottom: .5em;
	font-weight: 400;
}

h2{
    font-weight:bold;
}

a {
  color: #CB2000;
  text-decoration: none;
}

p {
  margin-bottom: 1em;
  line-height: 1.4em;
}

p.large-link {
  font-size: 24px;
}


/***************** Navigation Styles *****************/

header nav {
	border-top: 3px solid #cb2000;
}

header nav ul {
	display: flex;
}

header nav ul li {
	flex: 1;
	border-right: 3px solid #cb2000;
}

header nav ul li:last-of-type {
	border-right: none;
}

header nav ul li a {
	display: block;
	color: #000;
	font-family: Oswald, sans-serif;
	text-transform: uppercase;
    font-weight:bold;
	text-align: center;
	letter-spacing: 1px;
	line-height: 28px;
}

header nav ul li a:hover {
	color: #cb2000;
}


/******** Header styles ******/

header {
	background: url("images/pen-small.png") center bottom no-repeat;
	height: 230px;
	position: relative;
}

header h1 {
	font-size: 60px;
	padding-left: 30px;
	padding-top: 30px;
	text-transform: uppercase;
	line-height: 50px;
	color: #2c3e6d;
	font-weight: 700;
}

header h1 span {
	font-family: 'Crimson Text', serif;
	display: block;
	font-size: 40px;
	text-transform: lowercase;
	color: #000;
	font-weight: 400;
}

header .cta {
	position: absolute;
	right: 20px;
	bottom: 0;
	font-size: 30px;
	margin-bottom: 0;
}

.cta::before { 
  content: '\0007B\0000a0';
}

.cta::after { 
  content: '\0000a0\0007D';
}


/******* Top Section Styles *******/

.new-box {
	margin-top: 30px;
	background: #eee;
	padding: 15px;
}

.new-box h1 {
	font-size: 28px;
	color: #2D3E6C;
	margin-bottom: .8em;
}

.new-box article {
	border-left: 6px solid #cb2000;
	padding: 0 10px;
	margin-bottom: 20px;
}

.new-box h2 {
  color: #666;
  font-size: 20px;
  margin-bottom: .3em;
}

.new-box p {
  font-style: italic;
  color: #333;
  line-height: 1.2em;
}

.more {
  white-space: nowrap;
}

#top blockquote {
	font-size: 24px;
	line-height: 1.4em;
	padding: 30px;
	text-indent: -.5em;
}

blockquote footer { 
	margin-left: .5em;
}


/***** Middle Section Styles ******/

#middle {
	margin: 30px 0;
}

#middle article {
	border-top: 3px solid #2D3E6C;
	margin: 15px;
	padding: 15px 0;
}

#middle h2 {
	font-size: 20px;
	color: #2D3E6C;
	text-transform: uppercase;
}


/****** Footer Styles *******/

.pagefooter {
	padding: 20px;
	background-color: #630b00;
	color: #c9cad1;
}

.pagefooter h1 {
	font-size: 36px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 32px;
	color: #c9cad1;
}

.pagefooter h1 span {
	font-family: 'Crimson Text', serif;
	display: block;
	font-size: 24px;
	font-weight: 400;
	text-transform: lowercase;
}

.pagefooter div {
	display: flex;
}


/******* Page Footer Nav *******/

.pagefooter div nav ul {
	margin-left: 20px;
}

.pagefooter nav ul li {
	margin-bottom: .5em;
}

.pagefooter nav ul li a {
	border: none;
	color: #c9cad1;
	font-size: 16px;
	font-family: Oswald, sans-serif;
	text-transform: uppercase;
}


/**** Final footer styling ****/
.pagefooter article {
	padding-top: 20px;
}

.pagefooter article span,
.pagefooter nav h3 {
	font-family: Oswald, sans-serif;
	text-transform: uppercase;
}

.pagefooter .social {
	display: flex;
}

.pagefooter article nav ul li a {
  padding-right: 10px;
  font-size: 30px;
}

.pagefooter nav ul li a:hover {
  color: #fff;
}




    @media only screen and (min-width: 700px){

    /****************Header Rules*****************/

        header{
            display:flex;
            flex-wrap:wrap;
            background: url("images/pen.png") top right no-repeat;
            margin:20px 20px 40px 20px;
        }

        header nav{
            display:flex;
            order:3;
            flex:1;
            flex:100%;
            margin:50px 0 0 0;
        }

        header nav ul li{
            width:120px;
        }

        header nav ul li:last-of-type{
            border-right: 3px solid #cb2000;
        }

        header h1{
            padding:0;
            margin-bottom:60px;
        }

        header .cta{
            bottom:40px;
        }


    /****************Top Rules*****************/

        #top{
            display:flex;
            margin:0 20px 30px;
            justify-content:space-between;
        }

        #top .new-box{
            order:2;
            flex:50%;
        }

        #top blockquote{
            flex:50%;
            padding-left:10px;
        }


    /****************Middle Rules*****************/

        #middle{
            display:flex;
            flex-wrap:wrap;
            margin:0;
        }

        #middle article{
            flex:45%; 
        }

        #middle article h2{
            flex:100%;
        }

        #middle article p{
            flex-basis:48%;
        }

        #middle article:last-of-type{

            display:flex;
            flex-wrap:wrap;
            justify-content:space-between;
        }

        #middle article:last-of-type .large-link{
            flex:100%;
            text-align:center;
            margin:15px 0;
        }


    /****************Footer Rules*****************/ 


        .pagefooter{
            display:flex;
            justify-content:space-between;
        }

        .pagefooter div{
            margin-left:0px;
            flex-basis:47%;
        }


        .pagefooter article{
            flex-basis:50%;
            padding:0;

        }

        .pagefooter h1{
            margin:0 30px 0 20px;
            flex-basis:40%;
        }  

    }
    
    
    
    
@media only screen and (min-width: 1000px){
    
    #container{
        width:1000px;
        margin:auto;
    }
    
    header{
        margin-bottom:20px;
    }
    
    header nav ul{
        flex-basis:50%;
    }
    
    header .cta{
        right:50px;
    }
    
    #top{
        margin-bottom:50px;
    }
    
    #top blockquote{
        font-size: 28px;
        padding:60px 30px;
    }
    
    #middle article{
        flex:30%; 
    }
    
    #middle article:last-of-type{
        display:block;
    }
    
    #middle article:last-of-type .large-link{
        text-align:left;
    }
    
    .pagefooter p{
        font-size:1rem;
    }
    
    .pagefooter h2{
        font-size:1.25rem;
    }
    
    .pagefooter h1{
        margin-left:0;
    }
    .pagefooter div nav{
        margin-top:50px;
    }
    
    .pagefooter article{
        margin-top:50px;
    }
    
}

