/* 

E D W A R D  M I T C H E L L
C O R E  S T Y L I N G
-------------------------------------------*/

* { box-sizing: border-box; }

body { 
    background: #eee;
    color: #555;
    line-height: 1.45;
    font-size: 16px;
}


/* M E N U
------------------ */

#header {
    color:#fff;
    background:#0378A6;
    border-bottom:1px solid #034C8C;
    width: 100%;
    height: 60px;    
    position: fixed;
    z-index: 2;
}

#header img{
    position: absolute;
    top: 15px;
    left: 20px;
}

#nav {
    position: absolute;
    right: 20px;
}

#nav li{
    float:left;
}

#nav li a{
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    display: block;
    padding-bottom: 2px;
    color: #fff;
    margin-left: 20px;
}

#nav li a:hover, footer a:hover{
    color: #a4c3d6;
}


/* T Y P E
------------------ */

h1, h2, h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h4, h5{
    font-family: 'Muli', sans-serif; 
}

h1 {
    font-size: 3.998em;
    margin: 0.2em 0 0.4em;
    color: #fff;
}

h2 {
    font-size: 2.827em;
    color: #034C8C;
    margin: 0.5em 0;
}

h3 {
    font-size: 1.999em;
    color: #0378A6;
    margin: 0.5em 0;
}

h4 {
    font-size: 1.414em;
    line-height: 1.2;
}

h5 {
    font-size: 1em;
    color: #0378A6;
    margin: 1em 0;
    letter-spacing: 0.5px;
}

p {
    font-family: 'Muli', sans-serif;
    margin-bottom: 1.3em;
}

small, .font_small {font-size: 0.707em;}


/* L I N K S
------------------ */

a{
    text-decoration: none;
    border-bottom: 1px dotted;
}

a.img{
    border:none;
}

a:hover{
    color:#3E8C84;
}

a.anchor{display: block; position: relative; top: -80px; visibility: hidden;}

footer a{
    padding-bottom: 2px;
    color: #fff;
}
    

/* S E C T I O N S
------------------ */

section{
    clear:both;
}

.intro {
    width:100%;
    height:600px;
    background:#0378A6 url("../img/intro-montreal.jpg") no-repeat;
    background-position:center -15px;
    background-size:cover;
    margin-bottom: 40px;
}

.experience .pair{
    margin-bottom:60px;
}

.experience .pair:first-of-type{
    padding-top:10px;
}

.experience .pair:last-of-type{
    margin-bottom:30px;
}

.experience img{
    width: 100%;
    height: auto;
    border-style: solid;
    border-color: #a7bdd0;
    border-width: 0 0 3px;
}

.experience li{
    margin:0 0 15px;
}

footer{
    margin-top: 30px;
    background:#0378A6;
    border-top:1px solid #034C8C;
    width: 100%;
    text-align: center;
    color: #fff;
}
    

/* C O M P O N E N T S
------------------ */

.intro h1{
    border-bottom: 3px solid #fff;
}

.intro .expert{
    padding-top: 340px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.intro h3, .intro h4{
    color: #fff;
}

.container {
    max-width:1200px;
    margin:0 auto;
    position: relative;
}

section.container, footer .container{
    padding:0 20px;
}

.pair{
    width: 100%;
    clear: both;
    overflow: hidden;
}

.column{
    width: 48%;
    float: left;
}

.column:nth-child(1){
    padding-right:20px;
}

.column:nth-child(2){
    padding-left:20px;
}

footer img{
    margin:20px auto 16px;
}

footer .pair{
    border-top: 1px solid #034C8C;
    padding-top: 20px;
}

footer h5{
    margin: 0px;
    color: #fff;
}

footer p{
    margin-top: 0px;
}

footer .column{
    width: 24%;
    text-align: left;
}

ul{
    padding:0 0 0 20px;
    list-style: square;
}


/* M O B I L E
------------------ */

@media only screen and (max-width:700px){
    #nav { width: 100%; top: 43px; }
    #nav:before { content: '\2630'; display: block; position: absolute; right: 0; top: -34px; font-size: 2em; line-height: 40px; cursor: pointer; }
    #nav ul { background: #4192D9; width: 100%; padding: 0; transition: 350ms; transform: perspective(600) rotate3d(0,0,0,0); transform-origin: 50% 0; display: none; right:-20px; }
    #nav li { float:none; }
    #nav li a { padding: 10px 3%; line-height: 20px; border-top: 1px solid #034C8C; border-bottom: none; }
    #nav li a:hover { background: #a4c3d6; color:#fff; }
    #nav.open ul { transform: perspective(600) rotate3d(0,0,0,0); display: block; }
    
    h1 { font-size: 2em; }
    h2 { font-size: 1.497em; }
    h3 { font-size: 1.04em; }
    h4 { font-size: 0.900em; }

    .intro { height:400px; background-position:center 30px; }
    .intro h1 { padding-bottom:3px; border-bottom: 1px solid #fff; }
    .intro .expert { padding-top: 240px; }
    
    .column { width:100%; float:none; }
    .column:nth-child(2) { padding:0 20px 0 0; }
    
    footer .column { width: 100%; text-align: center; float: none; }
}


/* N O T ES
------------------ 

#034C8C
#0378A6
#4192D9

#D9CCC1

https://color.adobe.com/Theme-4-color-theme-6094184/
https://color.adobe.com/Midori-and-Madoka-color-theme-2044087/
https://color.adobe.com/Corporate-Blew-color-theme-43471/
https://color.adobe.com/Down-With-Corporate-Blues-color-theme-43474/
*/