/* clock styles */
.outer_face {
    position: relative;
    width: 237px;
    height: 237px;
    background-image: url("../img/clock_canvas.png");
   }
.inner_face {
    position: absolute;
    width: 237px;
    height: 237px;
    border-radius: 1000px;
    z-index: 1000;
}
.hand, .hand.hour {
    position: absolute;
    width: 28.5px;
    height: 125px;
    left: 118.5px;
    margin-left: -14.25px;
    margin-top: -6.5px;
    background-image: url("../img/at11_hand_hour.png");
    background-repeat: none;
    background-position: center;
    transform: rotate(0deg);
    transform-origin: bottom;
    z-index: 2;
}
.hand.minute {
    height: 165px;
    width: 43.7px;
    margin-left: -21.85px;
    margin-top: -47px;
    background-image: url("../img/at11_hand_minute.png");
    background-repeat: none;
    background-position: center;
    z-index: 1;
}
.hand.second {
    height: 80.5px;
    width: 1px;
    margin-left: -0.5px;
    margin-top: 38px;
    background: #DEDCDE;
    z-index: -1;
}
/* page stylws */
@font-face {
    font-family: 'Amatic SC';
    font-style: normal;
    font-weight: 400;
    src: local('Amatic SC Regular'), local('AmaticSC-Regular'),
         url('../fonts/amatic-sc-v9-latin-ext_latin-regular.woff2') format('woff2'),
         url('../fonts/amatic-sc-v9-latin-ext_latin-regular.woff') format('woff');;
}
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  src: local('Amatic SC Bold'), local('AmaticSC-Bold'),
       url('../fonts/amatic-sc-v9-latin-ext_latin-700.woff2') format('woff2'),
       url('../fonts/amatic-sc-v9-latin-ext_latin-700.woff') format('woff');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: local('Oswald Regular'), local('Oswald-Regular'),
       url('../fonts/oswald-v11-latin-ext_latin-regular.woff2') format('woff2'),
       url('../fonts/oswald-v11-latin-ext_latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 300;
  src: local('Oswald Light'), local('Oswald-Light'),
       url('../fonts/oswald-v11-latin-ext_latin-300.woff2') format('woff2'),
       url('../fonts/oswald-v11-latin-ext_latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  src: local('Oswald Bold'), local('Oswald-Bold'),
       url('../fonts/oswald-v11-latin-ext_latin-700.woff2') format('woff2'),
       url('../fonts/oswald-v11-latin-ext_latin-700.woff') format('woff');
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Oswald', sans-serif;
    background-color: #eee;
    color: #413F4A ;
    min-width: 600px;
}
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
h1, h2 {
    margin: 0;
    font-family: 'Amatic SC', Verdana, sans-serif;
    color: #84C4D0
}
a {
    text-decoration: inherit;
    color: inherit;
}

header {
    background-color: white;
    height: 218px;
    background: url('../img/at11_header_background_01.png') repeat-x;
    padding: 0 5%;
    flex: none;
}
main {
    margin: 0 5%;
    flex: 1;
}
main > div#container {
    margin: 10px auto;
}
footer {
    padding: 20px 5%;
    font-size: 0.9em;
    text-align: center;
    color: #FCB85F;
    background-color: #E9843E;
    flex: none;
}

header .logos {
    margin-top: 20px;
    float: left;
}
header .logos a {
    margin: 0;
    padding: 0;
    display: inline;
}
header .logos img {
    height: 50px;
    margin-right: 10px;
}
header h1, header h2 {
    margin-top: 20px;
    font-size: 40px;
}
header h2 {
    float: left;
}
header h2 a {
    margin-left: 10px;
}
header h2 a.selected {
    color: #E9843E;
}
header h1 {
    float: right;
}

#clock {
    position: absolute;
    left: 50%;
    top: 15px;
    margin-left: -118.5px;
    z-index: 1;
}

header #picker {
    cursor: pointer;
    clear: both;
    float: left;
    width: 200px;
    margin-top: 8px;
    position: relative;
    color: #E9843E;
    font-weight: bold;
    padding:  5px 10px;
    height: 30px;
}
header #picker:hover {
    color: #fff;
    background: #EE6B67;
}
#picker:hover ul {
    display: block;
}
#picker ul {
    position: absolute;
    top: 34px;
    left: 0;
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
    color: #E9843E;
    z-index: 2;
}
#picker li {
    width: 210px;
    display: block;
    line-height: 18px;
    color: #fff;
    background-color: #FCB85F;
    padding:  5px 5px;
}
#picker li:hover {
    background: #EE6B67;
}

article {
    width: 30em;
    margin: 10px;
    padding: 1.5em;
    background: white;
}
article h2 {
    font-size: 2.5em;
    text-align: center;
}
article h2 a:hover {
    color: #EE6B67;
}
article .loader {
    margin: 10px auto;
    border: 6px solid #eee;
    border-top: 6px solid #E9843E;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
article ul {
    display: table;
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}
article ul li {
    display: table-row;
    font-size: 1em;
}
article ul li > * {
    display: table-cell;
}
article ul li > *.price {
    white-space: nowrap;
    text-align: right;
    padding-left: 0.5em;
    color: #E9843E;
}
article ul li:before {
    content: "";
    display: table-cell;
    background: url('../img/at11_dish_icon.png') no-repeat left 2px;
    width: 1em;
}
article ul li.soup {
    font-weight: 300;
    letter-spacing: 0.02em;
}
article ul li.soup:before{
    background-image: url('../img/at11_soup_icon.png');
}
article ul li.error {
    color: lightgrey;
    text-align: center;
}
article ul li.error:before {
    display: none;
}
article ul li small {
    font-weight: lighter;
}
article ul a {
    color: #E9843E;
}
article > i.timeago {
    display: block;
    font-size: 0.7em;
    text-align: right;
    color: #EE6B67;
}

footer .copyright {
    float: left;
}
footer .github {
    float: right;
}
footer p {
    clear: both;
    text-align: center;
    margin: 0;
}
