/*  Copyright 2014 gokoururi
    This work is free. You can redistribute it and/or modify it under the
    terms of the Do What The Fuck You Want To Public License, Version 2,
    as published by Sam Hocevar. See the COPYING file for more details. */
html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 0;
}
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 0;
    font-family: Tahoma;
    text-align: center;
    border: 0;
}

/* .mascot and .plain will be added to element 'main' by javascript in
    addition to a random mascot */
.mascot {
    padding: 20px 20px 20px 250px;
}

.plain {
    padding: 20px 20px 20px 20px;
}

main {
    display: inline-block;
    min-width: 500px;
    font-size: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    border-width: 1px;
    border-style: solid;
    margin: 25vh 0 0 0;
}

header {
    margin-bottom: 30px;
}

h1 {
    letter-spacing: 2px;
    font-size: 40px;
    font-weight: normal;
    text-align: center;
    padding: 0;
    padding-left: 10%;
    margin: 0;
}

.subtitle {
    text-align: center;
    letter-spacing: 2px;
    padding: 0;
    margin: 0;
}

.searchContainer {
    text-align: center;
    margin: 15px 0;
}

.searchForm {
    display: inline-block;
    margin: 0 10px;
}

.searchBar::-webkit-input-placeholder {
    transition: color 1s;
}

.searchBar {
    width: 20px;
    height: 20px;
    padding: 0;
    font-size: 10px;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: right center;
    border-width: 1px;
    border-style: solid;
    outline: 0;
    opacity: 0.5;
    transition: all 1s;
}

.searchBar:hover {
    cursor: pointer;
    transition: all 0.5s;
    background-position: right center;
    opacity: 1;
}

.searchBar:focus {
    cursor: text;
    width: 100px;
    padding: 0 25px 0 5px;
    opacity: 1;
}

nav {
    text-align: center;
}

.columnList,
.columnList ul,
.buttonList,
.buttonList ul {
    padding: 0;
    list-style-type: none;
}

/* Button configuration */
.button {
    position: relative;
    margin: 5px 10px;
    display: inline-block;
}
.button > a {
    display: inline-block;
    min-width: 140px;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 5px;
    border-width: 2px;
    border-style: solid;
    outline: none;
    transition: all 1s;
}
.buttonArrow > a:after {
    width: 0;
    height: 0;
    font-size: 0;
    border-style: solid;
    border-left-width: 5px;
    border-top-width: 5px;
    border-top-color: transparent;
    border-bottom-width: 5px;
    border-bottom-color: transparent;
    border-right-width: 0;
    content:"";
    margin: 8px 10px 0 8px;
    float: right;
    transition: all 1s;
}
.buttonArrow:hover > a:after {
    transition: transform 0.5s, border 1s;
    transform: rotate(90deg);
}
.button > ul {
    position: absolute;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    max-height: 0;
    border-width: 0;
    border-style: solid;
    transition: all 1s;
    z-index: 10;
}
.button:hover > ul {
    max-height: 200px;
    border-width: 1px;
    border-style: solid;
    transition: max-height 0.5s, border 1s;
}

.button > ul > li {
    display: block;
}
.button > ul > li > a {
    display: inline-block;
    width: 100%;
    text-decoration: none;
    padding: 5px 0;
    outline: 0;
    transition: all 1s;
}
.button > ul > li > a:hover {
    color: #d67b96;
    background: #70293b;
}

.columnList {
    display: inline-block;
}
.column {
    display: table-cell;
    text-align: center;
    height: 100%;
    border-right-width: 1px;
    border-right-style: solid;
    padding: 0 10px;
}

.column:last-of-type {
    border-right-width: 0;
}
.column > a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding-bottom: 4px;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.8s;
}

.column > ul > li {
    margin-bottom: 3px;
}

.column > ul > li > a {
    text-decoration: none;
    vertical-align: middle;
    font-weight: bold;
    outline: 0;
    transition: all 0.8s;
}

x/* SEARCH STYLES */
#search{
    margin-top:5%;
}
#search ul, #search input,#search span{
    float:center;
}
#search ul{
    text-transform:uppercase;
}
#search .engine{
    width:15%;
}
#search .type{
    width:5%;
}
#search span{
    padding:0 1%;
    display:block;
}
#search input{
    width:75%;
    color: #d67b96;
    outline: none;
    border:none;
    border-bottom:1px solid #00EEFC;
    background:none;
    padding:1%;
    padding-top:0%;
}
#search .sub{
    display:none;
    opacity:0;
    width:100%;
    background: #313131;
    
}
#search .sub li{
    margin:5px 0;
    font-size:.9em;
}
#search  li{
    cursor:pointer; 
}
#search .engine .first{
    text-align:right;
}
#search .first:hover > .sub{
    opacity:1;
    display:block;
    transition: all 1s ease 0s;
}