@charset "UTF-8";

@import url("reset.css");

/*
 * site.css
------------------------------------------*/

/* Font */

@font-face {
    font-family: 'Molengo';
    font-style: normal;
    font-weight: normal;
    src: local('Molengo'), url('http://playground.html5rocks.com/samples/html5_misc/Molengo.ttf') format('truetype');
    }

html { overflow-y: scroll; }

body { font: 100% "Molengo", Verdana, sans-serif; }

a:active { outline: none; }
a:focus { -moz-outline-style: none; }
a img { border: none; }

.success { color: #a7d350; }
.big { font-size: 200%; }
.center { text-align: center; }

.img-border {
    border: solid 1px #ccc;
    -moz-box-shadow: 1px 1px 5px #999;
    -webkit-box-shadow: 1px 1px 5px #999;
    -o-box-shadow: 1px 1px 5px #999;
    -ms-box-shadow: 1px 1px 5px #999;
    box-shadow: 1px 1px 5px #999;
    }
    
h1, legend { margin-bottom: .5em; font-size: 1.6em; font-weight: bold; }
p { margin-bottom: .5em; }

html, body {
    background: #eee7d6;
    }
    
header, div#page-wrap > div, form { margin-bottom: 1em; }

div#chrome { margin: 0; color: #ff7200; text-align: center; font-size: 1.5em:}

div#page-wrap {
    width: 88%;
    min-width: 960px;
    margin: .5em auto;
    padding: 1.2em;
    border-top: 5px solid #a7d350;
    background-color: #fff;
    
    -webkit-box-shadow: 0 0 10px #2a2a2a;
    -moz-box-shadow: 0 0 10px #2a2a2a;
    -o-box-shadow: 0 0 10 #2a2a2a;
    -ms-box-shadow: 0 0 10px #2a2a2a;
    box-shadow: 0 0 10px #2a2a2a;
    }

header {
    display: box;
    display: -webkit-box;
    display: -moz-box;
    display: -o-box;
    padding: .5em 1em;
    background-color: #000;
    }
    
header h1 {
    margin: 0;
    padding: 0;
    
    box-flex: 1;            /* As specified */
    -webkit-box-flex: 1;    /* WebKit */
    -moz-box-flex: 1;       /* Mozilla */
    }
    
header nav ul li { display: inline; margin-left: .5em; vertical-align: middle; }

header a { color: #fff; text-decoration: none; }
header nav ul li a { padding-bottom: .1em; border-bottom: 2px solid #fff; font-size: 1.2em; }
header nav ul li a:hover { border-bottom: 2px solid #a7d350; }

div#main {
    display: box;
    display: -webkit-box;
    display: -moz-box;
    }
    
div#main > * {
    margin-right: .75em;
    padding: .5em 1em;
    
    box-flex: 1;            /* As specified */
    -webkit-box-flex: 1;    /* WebKit */
    -moz-box-flex: 1;       /* Mozilla */
    }

div#main div:last-child { margin-right: 0em; }

div#main > div h1 {
    color: #fff;
    }

div#main > div:nth-child(1) {
    background-color: #0087ff;
    }
    
div#main > div:nth-child(2) {
    background-color: #ff7200;
    }
    
div#main > div:nth-child(3) {
    background-color: #000;
    }


a#zce, a#linkedin  {
    display: block;
    float: left;
    margin-right: 1em;
    background-repeat: no-repeat;
    text-decoration: none;
    text-indent: -9999px;
    border: none;
    }
    
a#zce {
    width: 73px;
    height: 68px;
    background-image: url(/images/php5-zce-logo-new.png);
    }

a#linkedin {
    width: 55px;
    height: 55px;
    background-image: url(/images/LinkedIn_IN_Icon_55px.png);
    }
    
a#zce:hover, a#linkedin:hover { background-position: 50% 100%; }

/* Footer */

footer {
    padding: 1.2em;
    background: #eee7d6;
    
    -webkit-box-shadow:inset 0 0 10px #2a2a2a;
    -moz-box-shadow:inset 0 0 10px #2a2a2a;
    -o-box-shadow:inset 0 0 10 #2a2a2a;
    -ms-box-shadow:inset 0 0 10px #2a2a2a;
    box-shadow:inset 0 0 10px #2a2a2a;;
    }

footer > ul {
    display: box;
    display: -webkit-box;
    display: -moz-box;
    }
 
 footer > ul > li {
    width: 12em;
    margin-right: 2em;
    padding-top: .75em;
    border-top: 4px solid #a7d350;
    }
    
/* Forms */

form {
    border: 1px solid #0087ff;
    padding: 1em;
    }
    
input, textarea {
    display:block;
    width: 100%;
    margin-bottom: 8px;
    padding: 3px 0 3px 3px;
    font-family: inherit;
    font-size: inherit;
    border:1px solid #dcdcdc;
    border-bottom: solid 1px #e7e7e7;
    border-right: solid 1px #e7e7e7;
    
    
    -webkit-border-radius:2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius:2px;
    }
    
textarea { height: 80px; }

input[type='submit'] {
    color: #666;
    font-weight: bold;
    height: 29px;
    padding: 3px;
    text-align: center;
    background-color: #f5f5f5;
    border:1px solid #dcdcdc;
    
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#f1f1f1));
    background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
    background-image: linear-gradient(top,#f5f5f5,#f1f1f1);
    background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1);
    
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

input[type='submit']:hover {
    cursor: pointer;
    background-color:#f8f8f8;
    border:1px solid #c6c6c6;
    color:#333;
    
    background-image:linear-gradient(top,#f8f8f8,#f1f1f1);
    background-image:-o-linear-gradient(top,#f8f8f8,#f1f1f1);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#f1f1f1));
    background-image: -webkit-linear-gradient(top,#f8f8f8,#f1f1f1);
    
    box-shadow:0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    }


input[type='submit']:focus {
    border:1px solid #4d90fe;
    outline:none
    }

