﻿/*body {
    background-color: #48a2b2;
}*/

.menuPublicTable a {
    color: white !important;
}

.searchTopTab {
    width: 100%;
    max-width: 1000px !important;
    margin: 0 auto;
    border-spacing: 0;
    position: relative;
}

    .searchTopTab input[type=text] {
        width: 98%;
        min-width: 98%;
    }

    .searchTopTab input[type=submit] {
        width: 100%;
        min-width: 100%;
    }

    .searchTopTab td:first-child {
        width: 81%;
    }

    .searchTopTab td:nth-child(2) {
        width: 19%;
    }

.chkbRow span {
    font-weight: 500;
    color: black;
    padding-right: 5px;
    margin-right: 20px;
}

.chkbRow label {
    font-size: 1.2em;
    cursor: pointer;
    color: white;
}

.chkbRow input[type=checkbox] {
    width: 20px;
    height: 20px;
    position: relative;
    top: 5px;
}

.chkbRow input[type=radio] {
    width: 20px;
    height: 20px;
    position: relative;
    top: 4px;
    cursor: pointer;
}

.chkbRow td {
    vertical-align: top;
}

.searchResults {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    color: white;
}

.divSearchResult {
    width: 79.8%;
    min-width: 79.8%;
    background-color: white;
    opacity: .90;
    position: absolute;
    z-index: 2000;
    padding: 20px;
    display: block;
}

    .divSearchResult table {
        width: 100%;
        min-width: 100%;
        display: inline-table;
        margin: 0 auto;
    }

    .divSearchResult td:first-child {
        width: 60% !important;
        min-width: 60% !important;
        max-width: 60% !important;
        text-align: left;
    }

    .divSearchResult td:nth-child(2) {
        width: 40% !important;
        min-width: 40% !important;
        max-width: 40% !important;
        text-align: left;
    }

    .divSearchResult a {
        display: block;
        height: 15px;
        padding: 5px;
    }

    .divSearchResult span {
    }

.txtSelection {
    color: #820000;
    font-weight: bold;
}


.resTablTr td {
    background-color: white;
}


.resultTable {
    width: 98%;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: white;
    color: black;
    border: none;
}

    .resultTable a {
        font-weight: 600;
        text-decoration: none;
        display: block;
    }

.glossaryResults td:first-child {
    padding: 0;
}

    .glossaryResults td:first-child a {
        padding: 5px;
        min-height: 23px;
        display: block;
    }

.resultTable a:hover {
    text-decoration: underline;
}

.resultTable td {
    height: 22px;
    padding: 5px;
    color: black;
}

    .resultTable td:first-child {
        width: 25%;
    }

.resultTable td {
    border-bottom: solid 1px gray;
}

.resultTable tr:last-child td {
    border-bottom: none;
    padding-bottom: 4px;
}

.resTypeTr td {
    border-bottom: solid 1px white;
    padding-bottom: 5px;
}

.searchResults h3 {
    display: inline-table;
    margin-bottom: 0;
    font-size: 30px;
}

.resNum {
    font-size: 30px;
    font-weight: 500;
}

.glossaryResults td:nth-child(2) {
    font-weight: 600;
}

.glossaryResults.topicsResults td:nth-child(2) {
    font-weight: 500;
}

.playsResult td:nth-child(2), .poemsResult td:nth-child(2) {
    width: 15%;
    padding: 0;
}

    .playsResult td:nth-child(2) a, .poemsResult td:nth-child(2) a {
        display: block;
        height: 100%;
        padding: 5px;
    }

.playsResult td:first-child, .poemsResult td:first-child {
    font-weight: 600;
}

/*pro použití kontrolu na homepagi*/
.homeSearchDiv {
    width: 565px;
    min-width: 565px !important;
    max-width: 565px;
    border-spacing: 0;
    display: block;
    margin: 0 auto 10px;
    height: 75px;
    max-height: 75px !important;
}

    .homeSearchDiv .searchTopTab input[type=button],
    .homeSearchDiv .searchTopTab input[type=submit] {
        width: 100%;
        min-width: 100%;
        display: block;
    }

    .homeSearchDiv .checkTd {
        visibility: hidden;
        display: none;
        height: 1px !important;
        max-height: 1px;
        min-height: 1px;
    }

    .homeSearchDiv .searchTopTab input[type=text] {
        width: 412px !important;
        max-width: 412px !important;
        min-width: 412px !important;
        background-color: #f5f5f5;
    }



    .homeSearchDiv .searchTopTab td:nth-child(2) {
        position: relative;
        width: 132px;
        min-width: 132px;
    }

.advencedSearchLink {
    cursor: pointer;
    color: #820000 !important;
    font-weight: 600 !important;
    width: 100%;
    min-width: 100%;
    display: block;
}

    .advencedSearchLink:hover {
        text-decoration: underline;
    }


.homeSearchDiv .advencedSearchLink {
    width: 200px;
    min-width: 20px;
    position: absolute;
    display: inline-block;
    top: 3px;
    right: -20px;
    text-align: right;
    float: right;
}




.homeSearchDiv .searchTopTab .divSearchResult {
    width: 558px;
    padding: 5px;
    background-color: white;
    opacity: .90;
    z-index: 1000;
    position: absolute;
    top: 48px;
}

.homeSearchDiv table.resultComplete {
    width: 100%;
}

.homeSearchDiv .resultComplete td {
    padding: 0;
}

.homeSearchDiv .resultComplete a {
    padding: 3px;
}

.homeSearchDiv .divSearchResult .resultComplete td:first-child {
    width: 420px !important;
    min-width: 420px !important;
    max-width: 420px !important;
}

.homeSearchDiv .resultComplete td:nth-child(2) {
    width: 130px;
    max-width: 130px;
    min-width: 130px;
}

.homeSearchDiv .searchTopTab .resultComplete td:nth-child(2) span {
    width: 120px;
    max-width: 120px;
    position: relative;
    padding-left: 10px;
    right: 0;
    text-align: left;
}

.homeSearchDiv .resultComplete a:hover, .homeSearchDiv .resultComplete a:hover span {
    background-color: #820000 !important;
}

.smallWarning {
    font-size: .9em;
    color: #ffffff;
    display: inline-table;
    float: right;
    padding-right: 5px;
    padding-top: 10px;
}

.showAllResults {
    font-weight: 900;
    color: #fff;
}


.lastRowStyle a {
    color: white;
}


.lastRowStyle {
    background-color: #820000;
}

.alignRight {
    text-align: right;
    float: right;
    position: absolute;
    right: -22px;
    top: 50px;
}

.homeSearchDiv .alignRight {
    position: absolute;
    right: 0px;
    top: 70px;
    right: -20px;
    top: 0px;
}

@media (max-width: 800px) {
    .homeSearchDiv .searchTopTab input[type=submit] {
        font-size: 0;
        background-color: transparent !important;
        background-image: url(_images/Ico_Search.png);
        background-position: center center;
        width: 50px;
        max-width: 50px;
        min-width: 50px;
    }

    .homeSearchDiv .advencedSearchLink {
        display:block;
        width:100%;
    }

    .searchTopTab {
        width: 100%;
        min-width: 100%;
    }

    .homeSearchDiv .searchTopTab td:first-child {
        width: 95%;
        min-width: 95%;
        max-width: 95%;
        text-align:center;
    }

    .homeSearchDiv .searchTopTab td:nth-child(2) {
        width: 5%;
        min-width: 5%;
        max-width: 5%;
    }

    .homeSearchDiv .searchTopTab input[type=text] {
        width: 92% !important;
        max-width: 92% !important;
        min-width: 92% !important;
        float: right;
    }

    .smallWarning {
        font-size: .6em;
        line-height: 1.2em;
        margin-top: 15px;
    }

    .advencedSearchLink {
        line-height: 1.2em;
        font-size: .7em;
    }

    .chkbRow td {
        vertical-align: top;
    }

    .chkbRow input[type=radio] {
        width: 25px;
        height: 25px;
        position: relative;
        top: 5px;
    }

    .chkbRow label {
        font-size: .85em;
    }

    .alignRight {
        right: 0;
        top: 70px;
    }
    .resultComplete {
        font-size:.95em !important;
        line-height:1.2em;
        text-align:left !important;
    }
    .divSearchResult a {
         font-size:.95em !important;
        line-height:1.2em;
        height:auto;
        text-align:left;
    }
}
