/*
* Theme Name: nic.cz
* Description: Šablona vzhledu od Designeo Creative s.r.o.
* Version: 1.0 | 07/2013
*
* Author: Alix Guillard @ nic.cz
*
* Style contents
* ==========================================================================================
*
* 1 whois pages
* 2 mojeid buttons
* ==========================================================================================
*/

#whois .error {
    font-size: 100%;
    color: #f00;
    border: solid 1px #f00;
    padding: 1em;
}

#whois .missing {
    background-color: #ffc0cb;
}

#whois .missing input {
    border: solid #f00 2px;
}

#content #whois form table td {
    background-color: white;
}

#content #whois table tr th {
    text-align: left;
    width: 300px;
    vertical-align: top;
    overflow-wrap: anywhere;
}

#content #whois table tr td {
    vertical-align: middle;
}

#content #nsset_record table tr th,
#content #keyset_record table tr th,
#content #whois table.result tr th {
    font-weight: normal;
    width: 24em;
}

@media (max-width: 768px) {
    #content #whois table.result tr th {
        width: auto;
    }
}

#whois table tr td#captcha_frame {
    height: 101px;
}

/* Registrars supported technologies icons: */
#whois table tr td.regtech img {
    margin: 0 2px;
}

#whois a.button.contact-verification {
    height: 14px;
    margin: 0 0.9em;
    padding: 5px;
    line-height: 1em;
    text-decoration: none;
    color: white;
    font-weight: bold;
    background: #3db7e4;
    display: inline-block;
    border-radius: 3px;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
}

#whois a.button.contact-verification:hover {
    background: -webkit-linear-gradient(top, #56ccf8, #21a2d2);
    background: -ms-linear-gradient(top, #56ccf8, #21a2d2);
    background: -o-linear-gradient(top, #56ccf8, #21a2d2);
    background: linear-gradient(to bottom, #56ccf8, #21a2d2);
}

#whois .score > span:first-child {
    width: 33px;
    display: inline-block;
    text-align: right;
}

#whois #mojeid-buttons span {
    vertical-align: middle;
}

/*
Redefine button style.
Reason: If text is longer than background image, than don't display
background color but image.
*/
body #columnwrap #whois button {
    background-repeat: repeat-x;
}

#whois pre.confirmation {
    font-size: 140%;
    background-color: #f0f0eb;
    border: solid 1px  #5a5a50;
    padding: 2em;
    color: #000;
}

/* captcha */

#whois img.captcha {
    width: 182px;
    min-height: 50px;
    display: inline-block;
    vertical-align: bottom;
    margin: 0 3px 3px 0;
}

#whois ul.errorlist li {
    width: 170px;
    padding: 4px 5px;
}

#whois a.captcha-refresh {
    display: inline-block;
    margin: 0;
    padding: 3px 2px 5px 5px;
    background-color: rgba(255, 255, 255, 0.7);
    border: dotted #003893 1px;
    text-align: center;
    color: #003893;
    width: 16px;
    height: 16px;
    font-size: 18px;
    text-decoration: none;
}

#whois a.captcha-refresh:hover {
    color: #ce1126;
    border: solid #ce1126 1px;
}

#whois .private,
#whois .not-disclosed {
    font-style: italic;
}

#whois pre.dnskey {
    color: #00667d;
    font-size: 120%;
    margin: 0 auto;
}

#whois td > img.dot {
    height: 14px;
    width: 14px;
    display: block;
}

#whois img.stars {
    height: 16px;
}

#whois img.shield {
    height: 24px;
    margin-right: 5px;
}

#whois td.certification {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#whois td > .security {
    display: flex;
    align-items: center;
}

#whois .score {
    font-size: 11px;
    margin-left: -5px;
}

#whois #technology {
    list-style-type: none;
}

#whois #technology .exponent {
    margin-right: 2px;
}

#content #whois #technology {
    font-size: 12px;
    color: dimgray;
    border-top: 1px solid whitesmoke;
    padding-top: 30px;
}

#content #whois #technology li:last-child {
    margin-bottom: 15px;
}

#content #whois .table-responsive {
    overflow-x: auto;
}

#content #whois table {
    width: 960px;
    border-radius: 3px;
    overscroll-behavior: contain;
    border: 1px solid whitesmoke;
    -webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.02);
    -moz-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.02);
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.02);
}

#content #whois table.registrars {
    max-height: 43em;
    overflow-y: auto;
}

#content #whois table thead {
    position: sticky;
    top: 0;
}

#content #whois table.result thead tr {
    background: #ebebeb;
}

#content #whois table.result thead tr > th {
    font-weight: bold;
    cursor: pointer;
    height: 30px;
    vertical-align: middle;
    word-wrap: break-word;
}

#content #whois table.result thead tr > th:last-child {
    width: 15%;
}

#content #whois table.result thead tr > th > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#content #whois table.result thead tr > th .sort {
    float: right;
    color: lightgray;
}

#content #whois table thead tr th:first-child .sort > span {
    color: lightgray;
}

#content #whois table.result thead tr > th .sort > span {
    cursor: pointer;
}

#content #whois table.result thead tr > th .sort span.active,
#content #whois table.result thead tr > th .sort span:hover {
    color: #555;
}

#content #whois table thead tr th:first-child {
    background: #ebebeb;
    color: #555;
    min-width: 20%;
}

#content #whois table thead tr th:first-child .sort > span:hover,
#content #whois table thead tr th:first-child .sort > span.active {
    color: #555;
}

#content #whois table tbody tr td .center {
    margin: auto;
    text-align: center;
}

/* TEMPORARY SOLUTION */
#content #whois table thead tr th:nth-child(2),
#content #whois table thead tr th:nth-child(3),
#content #whois table thead tr th:nth-child(4) {
    max-width: 200px;
    min-width: 20px;
}

/* #content #whois table thead tr th:nth-child(2),
#content #whois table thead tr th:nth-child(3),
#content #whois table thead tr th:nth-child(4),
#content #whois table thead tr th:nth-child(5) {
    max-width: 210px;
    min-width: 20px;
}

#content #whois table thead tr th:nth-child(3) {
    min-width: 30px;
}
#content #whois table thead tr th:nth-child(7) {
    max-width: 245px;
}

#content #whois table thead tr th:nth-child(7) {
    max-width: 284px;
}
 */

#content #whois #domain_record table.result tr.vip th,
#content #whois #domain_record table.result tr.vip td {
    font-weight: bold;
}

#content #whois #domain_record tbody .vip th {
    background-color: #003893;
    color: white;
}

#content #whois #domain_record tbody .vip td {
    position: relative;
    background: #ecf2f9;
    color: #003893;
}

#content #whois #domain_record tbody .vip td a {
    float: right;
    width: 66px;
    height: 20px;
    background-image: url('../images/vip-logo.svg');
    background-repeat: no-repeat;
}

#domain_record {
    max-width: 100%;
    overflow-x: auto;
}
