/* begin license *
 *
 * "Begrippen API" (BEA) is a service for administrating SPARQL queries on the
 * "Onderwijs Begrippenkader".
 * BEA is developed for Stichting Kennisnet (http://kennisnet.nl)
 * by Seecr (http://seecr.nl). The project is based on the opensource
 * project Meresco (http://www.meresco.com).
 *
 * Copyright (C) 2015-2017 Seecr (Seek You Too B.V.) http://seecr.nl
 * Copyright (C) 2015-2017 Stichting Kennisnet http://www.kennisnet.nl
 *
 * This file is part of "Begrippen API"
 *
 * "Begrippen API" is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * "Begrippen API" is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with "Begrippen API"; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 * end license */

.info {
    background: white;
    max-width: 1100px;
    font-size: 100%;
    border:         none;
    width:          100%;
    height:         100%;
    line-height:    1.5;
    font-family: "TitilliumText22LRegular";
}

a {
    cursor: pointer;
}

#main-content {
    padding-bottom: 10px;
    color: #4C4D4F;
}

h3 {
    margin-top: 1em;
}

#content {
    margin-top: 0;
    width: 100%;
    top: 120px;
}

#api-logo{
  margin: 0px 0 20px 0px;
  height: 120px;
  background-image: url("/static/logo_eduterm.png");
  background-size: 200px;
  background-repeat: no-repeat;
  display: block;
  text-indent: -22000px;
}

td, th {
    padding: 0.5em;
    border-bottom: solid black 1px;
}

.error {
    color: red;
}
.ok {
    color: green;
}

.success {
    color: white;
    background-color: green;
    padding: 0 2px;
}
.serviceinfo p {
    text-align: right;
    font-size: 50%;
}

td.state_wait::after {
    content: "wait";
}
pre.loginfo {
    overflow: scroll
}
pre {
    word-wrap: break-word;
}

input[type="text"], input[type="password"], input[type="tel"], input[type="email"], textarea {
    width: 20em;
}

input[type="text"].large, textarea.large {
    width: 100%;
}

#group input, #group select {
    width: 10em;
}

dl {
    margin: 0;
}

.extraDatastreamOptions {
    padding-left: 0px;
}
.extraDatastreamOptions li {
    list-style-type: none;
}

textarea.config, textarea.filters {
    width: 700px;
}

.apikey-overview h3 {
    margin-top: 1em;
}

textarea[readonly], input[readonly], .yasqe[readonly] {
    opacity: 0.5;
    background-color: #CCCCCC;
}

p.footer {
  font-size: 50%;
}

dl.disabled {
    background-color: #eeeeee;
}

h3.stats_toggle, h3.toggleable {
    cursor: pointer;
}
h3.stats_toggle::after, h3.toggleable::after {
    content: '\2228';
    float: right;
    margin-right: 20px;
}
h3.stats_toggle.show::after, h3.toggleable.show::after {
    content: '\2227';
}
.stats_content,
.toggleable_div {
    max-height: 0;
    transition: max-height .5s linear 0s;
    overflow: hidden;
}

.toggleable_div.show {
    transition: max-height .5s linear 0s;
    max-height: 1000px;
    margin-bottom: 1em;
    overflow: scroll;
}
#config_default.show {
    max-height: 5000px;
}

.stats_content.show {
    transition: max-height .5s linear 0s;
    max-height: 500px;
    overflow: scroll;
}

.stats_filter {
    border: 1px solid #f9a01b;
    padding: 0.1em 0.5em;
    margin-right: 1em;
}
.stats_filter a {
    margin-left: 0.5em;
}

#menu > a {
    margin-right: 1em;
}

.index_config_list form {
    display: inline;
}
.hidden {
    display: none;
}



.edit_div, .test_query {
    background-color: white;
    /*margin: auto;*/
    z-index: 8;
    margin-bottom: 1em;
    padding-bottom: 1em;
    overflow: scroll;
    max-height: 90%;
    box-sizing: border-box;
    overflow: scroll;
}
.edit-div {
    overflow-x: hidden;
}
.test_query input[type='text'],
.edit_div input[type='text'],
.edit_div input[type='url'] {
    width: 100%;
    width: calc(100% - 40px);
}
.edit_div textarea {
    width: 100%;
    width: calc(100% - 40px);
    height: 4em;
}
.edit_div .close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    overflow: hidden;
}
.edit_div .close div {
    position: relative;
    top: -50px;
    right: -50px;
    background-color: black;
    opacity: 0.5;
    height: 100px;
    width: 100px;
    border-radius: 10em;
    padding-top: 60px;
    padding-left: 25px;
    box-sizing: border-box;
}
.edit_div.show {
    display: block;
}
.edit_div #save_text {
    display: none;
}

.edit_div ul {
    padding: 1em;
    margin: 0;
}
.edit_div ul li {
    list-style-type: none;
}
.edit_div ul li strong {
    margin: -0.5em;
}
#opac_div {
    top: 0;
    left: 0;
    position: fixed;
    opacity: .8;
    display: none;
    background-color: white;
    right: 0;
    height: 100%;
}

.overflow_hidden {
    overflow: hidden;
}
table {
    min-width: 50%;
}

.edit_div .queriesForApikey {
    list-style-type: none;
}

.edit_div .queriesForApikey li {
    transition: color .5s ease;
}

.edit_div .yasqe .fullscreenToggleBtns {
    display: none;
}

.post_success {
    color: #188237;
    font-weight: bold;
}

.post_error {
    color: #C00518;
    font-weight: bold;
}

.post_process {
    color: #E7A521;
}

#namespaces textarea {
    height: 25em;
}

input[type="submit"], button, input[type="button"] {
    background-color: #4c4d4f;
    color: white;
    font-weight: bold;
    border: 0;
    height: 2em;
    box-shadow: 1px 1px 5px #4c4d4f;
    border-radius: 2px;
    -webkit-appearance: none;
    margin-right: 1em;
}
button.close {
    float: none;
}
input[disabled="disabled"] {
    opacity: 0.5;
}

.listing h1 {
    font-size: 2em;
    margin-bottom: 0
}

.listing a {
    text-decoration: none;
    color: #4c4d4f;
}
.listing a:hover {
    text-decoration: underline;
}

.queries {
    overflow: auto;
}
.queries table, .queries div {
    float: left;
}
.queries div {
    margin-top: 10px;
    margin-left: 15%;
}
.queries div ul {
    padding-left: 0;
    list-style-type: none;
    line-height: 2em;
}

.queries p {
    clear: both;
}

#available_namespaces {
    position: absolute;
    margin-left: 200px;
    /*margin-top: -300px;*/
    background-color: white;
    border: 1px solid gray;
    padding: 1em;
    display: none;
}

#login-user-list ul {
    padding-left: 0;
    display: block;
    width: 35%;
}
#login-user-list li {
    padding: 0.5em;
    border-bottom: solid black 1px;
    list-style-type: none;
    /*display: block;*/
}
#login-user-list li a:nth-child(2) {
    margin-right: 1em;
    float: right;
}

/** LOGIN PAGE **/
#loginpage h1::before, #loginpage h4::before, #login-form dd::before, #login-form p.error::before {
    content: '';
    width: 10%;
    display: inline-block;
    min-width: 110px;
}

#login-formpage h4 {
    font-size: 0.8em;
}
#login-form dt {
    min-width: 100px;
}
#login-form dd {
    margin-left: 0;
    margin-top: -3em;
}
#login-form dd.submit {
    margin-top: .5em;
}
#login-form dt {
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
}

#login-form input {
    position: relative;
}
#login-form input[type=text], #login-form input[type=password] {
    border: 1px solid #4c4d4f;
    border-radius: 2px;
    height: 2em;
    width: 16em;
    padding-left: 0.5em;
    font-size: 16px;
}
#login-form dd.submit input {
    background-color: #4c4d4f;
    color: white;
    font-weight: bold;
    border: 0;
    width: 10em;
    height: 3em;
    box-shadow: 1px 1px 5px #4c4d4f;
    border-radius: 2px;
    -webkit-appearance: none;
}

.story button {
    display: none;
}
.story .remarks {
    display: block;
    margin-top: 1em;
}
/** / LOGIN PAGE **/

@media print {
    .apikey-overview {
        page-break-inside: avoid;
    }
    .no-print, .no-print * {
        display: none !important;
    }
}

@media only screen and (max-width: 768px) {
    ul li {
        list-style-type: none;
    }
    ul {
        padding-left: 0;
    }
    td {
        padding-left: 0;
    }
    #services td:nth-of-type(7), #services td:nth-of-type(8) {
        max-width: 2em;
        overflow: hidden;
    }
    #services td:nth-of-type(2),#services td:nth-of-type(3),#services td:nth-of-type(9) {
        display: none;
    }
}
