/*
:root {
    --dark: #202632;
    --orange: #F6A800;
}

*/

/*


*/

@font-face {
    font-family: 'fa';
    font-style: normal;
    font-weight: 900;
    src: url("fonts/fa-solid-900.eot");
    src: url("fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("fonts/fa-solid-900.woff2") format("woff2"), url("fonts/fa-solid-900.woff") format("woff"), url("fonts/fa-solid-900.ttf") format("truetype"), url("fonts/fa-solid-900.svg#fontawesome") format("svg");
}

/*

## Global layout

*/

html, body {
    padding: 0;
    margin: 0;
}
html {
    display: block;
    font-family: sans-serif;
    font-size: 100%;
    /* colors */
    background-color: #fff;
}
body {
    font-size: 1rem;
    line-height: 1.5;
    background-color: #fff;
}

/*
## Header
*/

body > header {
    position: relative;
    height: 5rem;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.11);
}
body > header > div {
    padding: 0 3rem;
}
h1 {
    margin: 0;
    font-size: 2.5rem;
    padding: 1rem;
}

main {
	position: fixed;
	top: 6rem;
	bottom: 9rem;
	left: 0;
	right: 0;
	overflow: auto;
    min-height: 10rem;
    background-color: #fff;
}


/*
## Footer
*/
body > footer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
    /* box */
    padding: 2rem 1rem 1rem;
    height: 6rem;
    /* look */
    color: #fff;
    background-color: #202632;
}
footer > address {
    float: right;
    font-style: normal;
}
address > span {
    display: block;
}

address > span::before {
    content: '';
    font-family: fa, sans-serif;
    display: inline-block;
    margin: 0 0.5rem 0 0;
    width: 1rem;
}
.addr::before {
    content: '\f041';
}
.phone::before {
    content: '\f095';
}
.email::before {
    content: '\f0e0';
}

/*

## Service

*/

dl, ul {
    margin: 0;
    padding: 0;
}
dl {
    background: #202632;
    color: #fff;
    box-sizing: border-box;
    max-width: 60%;
}


dt {
    /* typo */
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
    /* box */
    padding: 1rem;
    margin: 0;
    border-width: 0 0 1px;
    border-style: dotted;
    border-color: #F6A800;
}
.ico-php7 {
    background: url('../img/logo-php7.png') no-repeat 98% 50%;
}
dd {
    padding: 0;
    margin: 0;
}
dd > div {
    height: 13rem;
    padding: 1rem 2rem;
    margin: 0;
    overflow: auto;
}
dd > ul {
    display: table;
    table-layout: fixed;
    width: 100%;
    list-style-type: none;
    text-align: center;
    border-collapse: collapse;
}
dd > ul > li {
    display: table-cell;
    overflow: hidden;
}

/*

## Actions 

*/

dl ul a {
    /* typo */
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    font-size: 0;
    /* box */
    display: block;
    padding: 1rem 2rem;
    /* look */
    transition: all 0.2s;
    background-color: rgba(255,255,255,0.2);
}
dl li a::after {
    font-size: 2rem;
    line-height: 1;
    font-family: fa, sans-serif;
}

/* dl li a:hover {
    opacity: 0.7;
} */
.download {
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: #202632;
}
.download::after {
    content: "\f019";
}
.documentation::after {
    content: "\f02d";
}


/*

## odd / even

*/
dl:nth-child(2n + 1) {
    background: #F6F6F6;
    color: #202632;
}
dl:nth-child(2n + 1) li a {
    color: #333;
    background-color: rgba(0, 0, 0, 0.2);
}
dl:nth-child(2n + 1) .download {
    border-color: #F6F6F6;
}

dl li a:hover,
dl li a:focus {
    background-color: #F6A800;
    color: #fff;
}

/*

## Layout

*/

.layout-inline {
	text-align: center;
}
.layout-inline > dl {
	/* typo */
	text-align: left;
	/* box */
	display: inline-block;
	margin: 1rem auto 0;
}

/*

## Responsive

*/
@media (max-width: 620px) {
    h1 {
        font-size: 1.5rem;
    }
}
@media (min-width: 800px) {
    .layout-float > dl {
        float: left;
        width: 33.33%;
    }
}
@media (min-width: 1200px) {
    .layout-float > dl {
        float: left;
        width: 25%;
    }
}
