body {
    background: radial-gradient(circle, rgba(250,250,250,1) 0%, rgba(232,232,232,1) 74%);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-family: droid-sans, sans-serif;
}

h1, h2, h3 {
    margin: 0;
}

#google-bar {
    display: flex;
    flex-flow: column;
    text-align: center;
}

#q {
    padding: 8px;
    line-height: 32px;
    border-radius: 2px;
    border: none;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    width: 500px;
}

#tiles {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    max-width: 1024px;
    margin: 0 auto;
}

.tile {
    display: block;
    font-size: 16px;
    margin: 15px;
    width: 170px;
    text-decoration: none;
    color: #fff;
}

.tile-content {
    display: flex;
    flex-flow: column;
    padding: 20px 10px;
    border-radius: 8px;
    width: 170px;
    height: 110px;
    box-sizing: border-box;
    box-shadow:  0px 4px 10px rgba(0, 0, 0, 0.5);
    justify-content: center;
    pointer-events: none;
}

.tile-content.inverted {
    background-color: #fff;
}

.tile .pre, .tile .sub {
    position: relative;
    font-size: 12px;
}

.tile .pre {
    top: 7px;
}

.tile .sub {
    text-align: right;

    top: -5px;
}

.tile .main {
    font-size: 32px;
    text-align: center;
}

.tile .title {
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden; 
    display: block;
    white-space: nowrap;
    padding: 0 8px;
    margin: 10px 0;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.insecure {
    background-image: url("../imgs/insecure.png");
    background-repeat: no-repeat;
    background-position: 4px 4px;
    background-size: 18px;
}


/* drag and drop */

.tile.over {
    padding-left: 185px;
    position: relative;
}

.tile.over::before {
    border: 2px dashed rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    content: '';
    display: block;
    height: 110px;
    width: 170px;
    position: absolute;
    top: 0;
    left: -8px;
 }

.drag * {
    pointer-events: none;
}
