@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900italic,900);
 
* {
    word-break: break-word;
}

*, ::after, ::before {
    margin: 0;
}

body {
    font-family: 'Roboto', sans-serif !important;
    font-size:13px !important;
    margin:0px;
    padding:0px;
    overflow-x: hidden;
}

h1 {
    font-size:23px !important;
}

h2 {
    font-size:18px !important;
}
h3 {
    font-size:15px !important;
}

.btn-danger {
    font-size:13px !important;
}

@media screen 
  and (max-width: 639px) {
    table { 
        border: 0; 
    }
    table thead { 
        display: none; 
    }
    table tr {
        display: block;
        padding:1px;
    }
    table tr:after{
        content: '';
        margin-bottom:5px;
        border-bottom:3px solid #444;
        display:block;
    }
    table tr:before {
        content: '';
        border-bottom:3px solid #444; 
        display:block;
    }
    table td {
        display: block;
        text-align: right !important;
        /*border-left:3px solid #444;*/
        /*border-right:3px solid #444;*/
    }    
    table td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }
    table td:last-child { 
        border-bottom: 0; 
    }
    .accesories {
        display:inline-block !important;
        padding:3px 20px !important;
    }
}
@media screen
  and (min-width:1025px)
  and (min-width:1281px){
    .menu {
        position:fixed !important;
        top:0;
        left:0;
        width:20% !important;
        height:100% !important;
    }
    .menu .selected, .menu .icon, .menu .side { 
        display:none !important;
    }    
    .menu .links, .links a.header-topics {
        display:block !important;
    }
    .noresults {
        top:0 !important;
    }
    .sidebar {
        display:block !important;
        position:fixed !important;
        overflow-y:auto;
        top:0;
        right:0;
        width:20% !important;
        height:100% !important;
        background:#444;
        color:#fff;        
    }
    .sidebar-content {
        top:0 !important;
    }
    .search {
        width:95% !important;
    }
    .sidebar-title {
        background:#a0072a;
        padding:15px;
    }
    .sidebar-filters {
        padding:15px;
    }
    .sidebar-filters select {
        display:inline;
        padding:5px;
    }
    .separator {
        margin:5px 0;
        border:1px solid #d40f3c;
    }
    .aor {  
        margin:5px 0;
        text-align:right;
    }
    .aor button {
        background:#d40f3c;
        border:0;
        color:#fff;
        padding:10px; 
    }  
    .submit button {
        background:#d40f3c;
        border:0;
        color:#fff;
        padding:10px;
        margin:10px auto;
        width:100%;  
    }  
    .logout {
        position:absolute;
        width:100%;
        bottom:0;    
    }
    a.link span {
        display:inline-block !important;
    }
    .content {
        position:relative;
        /*
        top:115px !important;  
        */      
        width:700px;
        margin:0 auto;
    }
    /*
    .content.sharebutton {
        top:140px !important;
    }
    */
    .content.modely, .content.odpovednosti, .content.index, .content.rozcestnik {
        width:79% !important;
        float:right !important;
    }
    .content.teams, .content.rozcestnik, .content.index, .content.odpovednosti, .content.modely, .content.notlogged {
        top:0 !important;
    }
    .passlayout {
        border-radius:10px;
    }
    .input-wrapper {
        width: 100% !important;
    }
    .input-wrapper button.search-button {
        right:25px !important;
    }
    .searchform {
        position:sticky;
        top:0 !important;
        z-index:998;
    }
    .searchlayout {
        /*width:auto !important;*/
        width:700px !important;
        /*
        position:fixed;
        top:0 !important; 
        z-index:999;
        */
        background-color:#fff;
        padding:0 0 10px 0 !important;
    }
    .searchlayout.modely {
        /*width:79% !important;*/
        width:100% !important;
    }
    .searchdiv {
        width:698px;
        text-align:center;
        border:1px solid #444;
    }
    .searchdiv.modely {
        width:100%;
    }
    .blockdiv {
        position:relative;
        top:0px !important;
    }
    .blockdiv.teams {
        margin:5px 0;
    }
    .blockdiv.rozcestnik, .blockdiv.index, .blockdiv.odpovednosti {
        margin:5px 0;
    }
    .block.pin:before {
        transform: scale(30) !important;
    }
    .block {
        border-radius:10px;
    }   
    .block.odpovednosti, .block.index, .block.rozcestnik {
        width:48% !important;
        margin:0 20px 20px 0 !important;
        display:inline-block !important;
        vertical-align:top !important;
    }
    .block-product, .block-design, .block-sn {
        margin:0 5px !important;
    }
    .block-sn {
        font-size:14px;
        font-style:italic;
    }
    .block-header {
        border-radius: 10px 10px 0 0;
    }
    .block-urls {
        border-radius: 0 0 10px 10px;
    }
    table thead {
        position:sticky;
        top:0;
    }
}

a {
    color:#fff !important;
    text-decoration:none !important;
    font-weight:bold;
}
/*
h2 {
    color:#fff;
    text-align:center;
    border-bottom:1px solid #fff;
    padding:0;
    margin:3px;
}
*/
p {
    margin:0;
}

table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 12px;
    border-collapse: separate;
}

table thead {
    line-height:25px;
}
/*
table tr:first-child th:first-child {
    border-top-left-radius: 10px;
}

table tr:first-child th:last-child {
    border-top-right-radius: 10px;
}
table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}
*/
table tr {
    background: #f8f8f8;
}

table th, table td {
    text-align: center;
}

table th {
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size:12px;
}

table thead tr th {
    background:#444 !important;
    color:#fff  !important;
}

table tbody tr td {
    background: #d40f3c !important;
    color:#fff !important;
    text-align:left;
    vertical-align:middle !important;
}

table tbody tr td.number {
    text-align:right;
}

label {
    color:#fff;
}

.table {
    width:100%;
}

.highlight {
    background-color:#0700ff;
    color:#000;
}

.accesories {
    display:block;
    padding:3px;
    background:#444;
    border-radius:5px;
    font-weight:normal;
}

.response {
    width:100%;
    max-width:400px;
    height:auto;    
}

.option {
    display:block;
}

.green {
    color:green;
}

.red {
    color:red;
}

.copied {
    color:springgreen;
}

.success {
    display:block;
    width:100%;
    background-color:green;
    color:#fff;
    text-align:center;
    padding:2px 0;
    margin:2px 0;
    border-radius:5px; 
}

.error {
    display:block;
    width:100%;
    background-color:red;
    color:#fff;
    text-align:center; 
    padding:2px 0;
    margin:2px 0;
    border-radius:5px;   
}

.bold {
    font-weight:bold;
}

.newline {
    display:block;
}

.center {
    text-align:center;
    display:block;
}

.table-center {
    text-align:center;  
}

.text-right {
    text-align:right;
}

.text-left {
    text-align:left;
}

.right {
    float:right;
}

.left {
    float:left;
}

.context {
    text-decoration:underline !important;
}
.context:hover {
    cursor:pointer;
}
.full {
    width:100%;
    margin:5px 0;
}
.fButton {
    margin:10px;
}

.menu {
    position:fixed !important;
    top:0;
    width:100%;
    z-index:999;
    overflow:hidden;
    background-color:#444;
    position:relative;
    
}

.announcement {
    border-top:2px solid yellow;
    border-bottom:2px solid yellow;
    padding:10px;
    color:#fff;
    text-align:center;
    background:#444;
}

.badge-style {
    vertical-align:top !important;
    font-size: 11px !important;
    margin:0 8px;
}

.sidebar {
    display:block !important;
    position:fixed !important;
    overflow-y:auto;
    top:0;
    right:0;
    width:0;
    height:100% !important;
    background:#444;
    color:#fff;
    z-index:998;
}

.sidebar-content {
    position:relative;
    top:47px;
    /*top:170px;*/
    height:100%;
}

.tabs {
    width:100%;
    height:45px;
    display:block;
    margin:0 auto;
    text-align:center;
}

.tabs div {
    display:inline-block;
    width:49%;
    height:100%;
    background:#555;
}

.tabs div.active {
    background:#444;
}

.tabs div a {
    line-height:43px;
    font-weight:normal;
    display:block;
    width:100%;
    height:100%;
}

.tabs div.active a {
    font-weight:bold;
}

.filter-content {
    overflow-y: hidden;
}

.filter-content .prefs-tab {
    display:none;
}

.filter-content .prefs-tab {
    padding:10px;
}


.prefs-add form {
    margin:10px;
}

.prefs-tab .prefs
{
    position:relative;
}

.prefs {
    margin:5px;
}

.prefs button {
    display:inline-block;
    min-height:35px;
}

.prefs button.prefs {
    width:80%;
}

.prefs button.delete {
    width:15%;
}

.prefs-tab a 
{
    position:absolute;
    top:0;
    right:3px;
    font-size:20px;
    width:35px;
    height:100%;
    border-left:1px solid #fff;   
}

.prefs-tab a i {
    position:absolute;
    top:8px;
    right:8px;
}

.hash {
    color:#fff;
    text-align:left;
    padding:5px;
    margin:0 15px;
}

.verify {
    width:95%;
    padding:15px 0;
    background:#444;
    color:#fff;
    border-radius:10px;
    border:none;
}

.menu .links {
    display:none;
}

.menu .selected {
    color:#fff;
    padding:14px 16px;
    text-decoration:none;
    display:block;
    text-align:center;
}

.menu .selected a {
    display:inline;
}

.menu a {
    padding:14px 16px;
    text-decoration:none;
    display:block;
    font-weight:normal;
}

.menu a.header {
    padding:15px;
    display:inline;
    margin:15px;
}

.menu a.header-topics {
    text-align:center;
}

.links a.header-topics {
    display:none;
}

.menu .icon {
    display:block;
    position:absolute;
    left:0;
    top:0;
    padding:18px;
}

.menu .side {
    display:block;
    position:absolute;
    right:0;
    top:0;
    padding:18px;
}

.menu a:hover {
    background-color:#d40f3c;
}

.menu a.active {
    background-color:#a0072a;
}

.noresults {
    position:relative;
    top:50px;
    background-color:#444;
    color:#fff;
    display:block;
    border-radius:10px;
    padding:10px;
    text-align:center;
}

.searchform {
    position:sticky;
    top:47px;
    z-index:998;
}

.searchlayout {
    width:100%;
    background-color:#fff;
    /*
    position:fixed;
    top:37px;
    z-index:998;)*/
    display:block;
    margin:0 auto;
    text-align:center;
    padding:0 0 10px 0;
}

.searchlayout input {
    display:inline-block;
}

.shareme {
    width:100%;
    background:#555;
}

.shareme a {
    display:block;
    padding:4px;
}

.content {
    position:relative;
    /*top:160px;*/
}

/*
.content.sharebutton {
    top:185px !important;
}
*/

.content.teams, .content.rozcestnik, .content.index, .content.odpovednosti, .content.modely, .content.notlogged {
    top:50px;
}

.blockdiv {
    position:relative;
    top:50px;
}

.searchdiv.modely {
    padding:12px 0;
}

.searchdiv, .logindiv {
    padding:0 0 15px 0;
    background-color:#d40f3c;
    /*
    border-top:1px solid #444;
    border-bottom:1px solid #444;
    */    
}

.search {
    width:95%;
    padding:15px;
    border-radius:10px;
}
/*
.select2-results__option {
    color: #fff;
    background-color: #444;
    white-space:nowrap;
}

.select2.select2-container {
    width:100% !important;
}


.select2-results__option--highlighted {
    color: white !important;
    background-color:#d40f3c !important;
}

.select2-results__option--selected {
    color: white !important;
    background-color:#a0072a !important;
}
*/
input[type="submit"].button {
    display:none;
}
input[name="upload"] {
    padding:10px;
    width:100%;
}

/* Obal kolem inputu a tla��tka */
.input-wrapper {
    position: relative;
    width: 95%;
    margin:0 auto;
}

.input-wrapper input.search {
    width: 100%;
    padding: 10px 45px 10px 15px; /* Rezerva pro tla��tko vpravo */
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box;
    font-size:12px;
}

.input-wrapper button.search-button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background-color: #d40f3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.input-wrapper button.search-button:hover {
    background-color: #a0072a;
}

.input-wrapper button.search-button i {
    font-size: 16px;
}

/* Vizu�ln� efekt p�i focus na vstupn� pole */
.input-wrapper input.search:focus {
    border-color: #d40f3c;
    outline: none;
    box-shadow: 0 0 5px rgba(212, 15, 60, 0.5);
}

.loginlayout, .uploadlayout {
    position: relative;
    width:100%;
    height:100%;
}

.login, .upload {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width:100%;
    height:200px;
    background-color:#d40f3c;
    border-radius:20px;
}

.loginbutton, .uploadbutton {
    position:absolute;
    top:35%;
    left:25%;
    width:50%;
}

.passlayout {
    background-color:#d40f3c;
    text-align:center;
    margin:0 0 2px 0;
    padding:6px 0 20px 0;
}

.log {
    width:100%;
    padding:15px;
    border-radius:10px;
}

.up {
    width:100%;
    padding:15px 0;
    border-radius:10px;
}

span.button.submit {
    position: relative;
}

span.button.submit:after {
    font-family: FontAwesome;
    content: "\f084";
    font-size: 18px;
    position: absolute;
    right: 20px;
    top: 1px;
    pointer-events: none;
}

.update {
    font-size:11px;
    text-align:right;
    color:#fff;
    margin:0 20px;
}

.resultdiv {
    display:none;
}
.resultbar {
    margin:10px 0 0 5px;
    word-wrap:break-word;
    overflow:hidden;
}

.resultbar a {
    color:#d40f3c !important;
}

.block.pin:before {
    content: "\f005";
    font-family: 'FontAwesome';
    top:50%;
    left:50%;
    position:absolute;
    opacity:0.1;
    transform: scale(20);
    z-index:1;
    color:#fff;
}
    
.block {
    color:#fff;
    position:relative;
    background:#d40f3c;
    margin:0 0 20px 0;       
}

.block.teams, .block.rozcestnik, .block.odpovednosti {
    min-height:100px;
    
}

.block.teams .block-header, .block.rozcestnik .block-header, .block.index .block-header, .block.odpovednosti .block-header {
    background:#444;
    padding:5px;
}

.block.teams .block-popis, .block.teams .block-urls, .block.rozcestnik .block-popis, .block.index .block-popis, .block.odpovednosti .block-popis  {
    padding:5px 12px;
    background-color:#d40f3c;
}

.block-popis img {
    display:block;
    margin:0 auto;
    width:100%;
    height:auto;
}

.block-popis a {
    word-wrap: break-word;
}

.block.teams div {

}

.block-header div {
    margin:0 3px;
}

.block-content {
    position:relative;
    background-color:#d40f3c;
    padding:10px;
    min-height:500px;
}

.blockcontent.modely {
    position:relative;
    /*top:100px;*/
}

.block-content div[class*="block-"] {
    margin:5px;
}

.block-urls {
    position:relative;
    z-index:2;
    background-color:#d40f3c;
    padding:10px;
    height:40px;
}

.block-header.v_reseni {
    background-color:red;
    padding:15px;
}

.block-header.vyreseno {
    background-color:green;
    padding:15px;
}

.block-header.ceka_se {
    background-color:orange;
    padding:15px;
}

.block-updated {
    font-size:9px;
    padding:3px 6px;
    text-align:right;
}

.block-evid {
    margin:0 10px;
}

.block-id, .block-datum, .block-product, .block-design, .block-status, .block-evid, .block-separator, .block-icon, .block-request {
    display:inline-block;
}

.block-url, .block-like {
    display:block;    
    background-color:#444;
    padding:8px !important;
    margin:5px 5px 0 0;
    border-radius:10px;
}

.block-url {
    float:left;
}

.block-like {
    float:right;
}

.tooltip-templates { 
    display: none; 
}

.matrix {
    display:none;
}

a.link span {
    display:none;
}

.filterCheckboxes {
    display:block;
}

.loadPrefs {
    margin:5px 0;
}

.filterPrefs .loadPrefs, .filterPrefs .addPrefs {
    display: inline-block;
}

.hide {
    display:none;
}
