﻿body, html {
    background: white;
    font-family: Arial;
    font-size: 14px;
    height: 100%;
    width: 100%; 
    border: 0;
    margin: 0;
    padding: 0;
    color: #333;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
}

div, form, ul, li, table {
    clear: both;
}

.boxed
{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.show {
    display: block;
}

.hide {
    display: none !important;
}

.invisible {
    visibility: hidden;
}

.visible {
    visibility: visible;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.float-right {
    float: right;
}

::-ms-clear {
    display: none;
}

::-webkit-search-decoration,
::-webkit-search-cancel-button,
::-webkit-search-results-button,
::-webkit-search-results-decoration {
    display: none;
}
a {
    color: #712c2c;
}
a, a:visited {
    cursor: pointer;
    color: #333;
    text-decoration: none;
    color: #333;
}

    a:hover, a:active {
        color: #000;
    }


.hits li:hover, .hits a:hover, .hits div:hover {
    background-color: #fcf9f9;
    cursor:  pointer;
}

.hits li {
    padding-left: 0.6em;
    padding-right: 0.6em;
    line-height: 2.3em;
    font-size: 1.1em;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
}

    .hits li:nth-child(odd) {
        
    }

input, button, textarea, select {
    box-sizing: border-box;
}

input, textarea, select {
    background-color: transparent;
  /*  border: 1px solid #ddd; */
    outline: none;
}

textarea {
    border : 0;
    padding: 0;
    margin: 0;
    width: 100%; 
}

    input:disabled, textarea:disabled, select:disabled {
        color: #9d9da3 !important;
    }

form input,
.form input,
form select,
.form select {
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    color: #444;
    font-size: 1.2em;
    font-weight: 300;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    transition: none 0s ease 0s !important;
    outline: medium none;
    border-bottom: 1px solid #ddd;
}

form .missing,
.form .missing {
    border-bottom: 1px solid #d73a49;
}

option {
    -webkit-appearance: none;
    -moz-appearance: none;
   /* appearance: none; */
    padding : 0;
}

.search input {
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    color: #444;
    font-size: 1.6em;
    font-weight: 300;
    padding: 0;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    transition: none 0s ease 0s !important;
    outline: medium none;
    width: 100%;
    border-bottom: 1px solid #ddd;
}

form h4,
.form h4 {
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    color: #444;
    font-size: 1.3em;
    font-weight: 200;
    transition: none 0s ease 0s !important;
    outline: medium none;
    width: 100%;
}

form button,
.form button,

form input[type=button],
.form input[type=button] {
    color: #ddd;
    font-size: 1.2em;
    line-height: 1.4em;
    font-weight: 300;
    padding: 0.5em;
    border: 0;
    background: #333;
    border-radius: 0.25em;
    -webkit-appearance: none;
}

    form button:hover,
    .form button:hover,
    form input[type=button]:hover,
    .form input[type=button]:hover,
   {
        background: #444;
    }

    form button:active,
    .form button:active,
    form input[type=button]:active,
    .form input[type=button]:active {
        background: #222;
    }

   button:disabled,
   input[type=button]:disabled,
   input[type=submit]:disabled {
        background: #fff !important;
        border: 1px solid #ddd;
    }

input::-webkit-input-placeholder {
    color: #888 !important;
    font-weight: 200 !important;
}

input:-moz-placeholder { /* Firefox 18- */
    color: #888 !important;
    font-weight: 200 !important;
}

input::-moz-placeholder { /* Firefox 19+ */
    color: #888 !important;
    font-weight: 200 !important;
}

input:-ms-input-placeholder {
    color: #888 !important;
    font-weight: 200 !important;
}

ul, div, table, form, .form, h1, h2, h3, h4, h5 {
    padding: 0;
    margin: 0;
    border: 0;
}

form, .form {
}

li {
    padding: 0;
    margin: 0;
    border: 0;
    list-style: outside none none;
    border: 0px solid #eee;
}

    li:last-child {
        margin-bottom: 0;
    }

form li {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}


div.layout {
    text-align: center;
    position: absolute;
    top: 45%;
    left: 0;
    width: 100%;
    transform: translateY(-45%);
}

div.middle {
    text-align: left;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.noborder {
    border: 0;
}

.modal {
    display: none;  /*Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.1); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content-center {
    position: absolute;
    top: 50%;
    left: 50%;
}

.inlineblock {
    display: inline-block;
}

.astable {
    display:table;
}

.asrow {
    display:table-row;
}

.ascell {
    display:table-cell;
}

.table-row {
    display: table-row;    
}

.table-cell {
    display: table-cell;
}

.vmiddle {
    vertical-align:middle;
}
/* --------------------------------------------------- */

#menu {
    position: fixed; width: 100%; box-sizing: border-box;
    background-color: white; z-index: 1000;
    line-height: 3em; padding-left: 1em; padding-right: 1em;
    height: 3em; width: 100%; overflow: hidden;
    clear: both;
    font-size: 1.3em;
}

#menu > .menu-item, #menu > div {
    float: left; clear: none;
    padding-top: 1px;
}

#menu-item > .selected {
   font-weight: 600;
}

#app {
    position: absolute;
    top: 4.1em; left: 0; bottom: 0; right: 0;
    padding: 0; margin: 0; border: 0; box-sizing: border-box;
    overflow: hidden;
}

#view {
    overflow: auto; box-sizing: border-box;
    width: 100%; height: 100%;
    padding-left: 1.0em; 
    padding-right: 1.0em;
    border-top: 1px solid #ddd;
}

/* --------------------------------------------------- */

container, div.container {
    padding-left: 1.0em; 
    padding-right: 1.0em; 
}

.hits .tools {
    padding: 1em;
}


        .group {
            border: 1px solid #efe0e0;
            border-radius: 0.25em;
        }

            .group .title {
                    border-bottom: 1px solid #efe0e0; border-radius: 0em; background-color: #fefefe; 
                    line-height: 2.6em; padding-left: 0.6em; padding-right: 0.6em;
                    font-weight: 500; font-size: 1.1em;
            }

            .group .article {
                padding-left: 0.8em;
                padding-right: 0.8em;
                padding-top: 0.8em;
                padding-bottom: 0.8em;
            }
