@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'), url(https://cdn.gnoosic.com/elements/objects/open-sans-300.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://cdn.gnoosic.com//elements/objects/open-sans-600.woff) format('woff');
}

*, *:before, *:after { box-sizing: border-box; }

body
{
    display: flex;
    flex-direction: column;
    min-height: 100%;
    text-align: center;
    padding: 0;
    margin: auto;
    font-family: Arial;
    max-width: 1200px;
}

h1.title {
    max-width: 500px;
    margin: auto;
    text-align: left;
    margin-bottom: 15px;
    font-size: 20px;
    color: #808080;
    padding-left: 4px;
    padding-right: 4px;
}

h1.title .helpIcon {
    float: right;
}

a
{
 color: #000000;
 text-decoration: none;
 outline: 0;
}

button
{
    background-color: #ffffff;
    border: 1px solid #404040;
    border-radius: 4px 4px 4px 4px;
    color: #000;
    cursor: pointer;
    font-size: 17px;
    font-weight: 300;
    margin: 5px 2px 5px 2px;
    outline: 0;
    padding: 6px 12px;
    vertical-align: middle;
}

button:hover
{
 box-shadow: 0 0 0 1px black;
}

.header {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
}

@media (max-height: 1000px) {
    .header {
        height: 200px;
    }
}

@media (max-height: 600px) {
    .header {
        height: 100px;
    }
}

@media (max-height: 400px) {
    .header {
        height: 70px;
    }
}

.header .logo {
    position: absolute;
    bottom: 0;
    font-size: 30px;
    padding-top: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    white-space: nowrap;
}

.header .logo_claim
{
    margin-left: 50px;
}

.header .logo img {
    position: absolute;
    margin-left: -8px;
    margin-top: -10px;
    width: 60px;
    height: 60px;
    z-Index: -1;
}

.content {
    padding-top: 45px;
    padding-left: 10%;
    padding-right: 10%;
}

@media (max-width: 500px) {
    .content {
        padding-left: 5%;
        padding-right: 5%;
    }
}

.inputContainer {
    display: flex;
    align-items: start;
    flex-direction: row;
    margin: auto;
    margin-bottom: 13px;
    border: 1px solid #000000;
    border-radius: 2px;
    white-space: nowrap;
    padding: 0;
    padding-right: 2px;
    width: 100%;
    max-width: 500px;
}

#q
{
    font-family: Arial;
    font-size: 20px;
    margin: 0;
    padding: 12px;
    padding-left: 12px;
    width: calc( 100% - 12px );
    border: 0;
    resize: none;
    height: 46px;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: hidden;
    overflow-y: hidden;
    transition: all 0.25s ease;
}

#q:focus
{
    border: 0;
    outline: none;
}

.inputContainer.multiline #q {
    height: 300px;
    white-space: pre-wrap;
    overflow-y: auto;
}

.inputContainer span
{
    color: #808080;
    cursor: pointer;
    margin: auto;
    margin: 0px;
    margin-top: 13.5px;
}

.inputContainer span.remover {
    margin-right: 3px;
}

#q ~ .remover {
    visibility: hidden;
}

#q.has_text ~ .remover {
    visibility: visible;
}

.inputContainer .modeSwitch {
    transition: all 0.4s ease;
}

.inputContainer.multiline .modeSwitch {
    transform: rotate(180deg);
}

.searchHelp
{
    margin-bottom: 8px;
    visibility: hidden;
    color: #ffffff;
    transition: all linear 1s;
}

.searchHelp.active
{
    visibility: visible;
    color: #808080;
}

.catButtonHeader {
    font-size: 17px;
    margin-bottom: 16px;
    margin-top: 22px;
}

.searchButtons {
    margin-bottom: 30px;
}

.settingsOff {
    color: #404040;
    cursor: pointer;
}

.bookmarkCurrent {
    color: #404040;
    cursor: pointer;
}

/* ==== Modules ==== */

#gnodSearchModules {
    margin-top: 50px;
}

#gnodSearchModules a
{
    display: block;
    padding: 10px;
}
