/*
* Theme Name: nic.cz
* Description: Šablona vzhledu od Designeo Creative s.r.o.
* Version: 1.0m
*
* Author: Designeo Creative s.r.o.
* Website: http://www.designeo.cz
* Email: info@designeo.cz
* Created by: Petr Smrček
* Modified by: Alix Guillard, nic.cz
*
* Copyright: (c) Designeo Creative s.r.o. 2013
*
*
* Style contents
* ==========================================================================================
*
* A. HTML ELEMENTS AND UNIVERSAL CLASSES
*A.1 HTML general elements
*A.2 HTML table elements
*A.3 HTML form elements
*A.4 Universal classes
*
* B. GENERAL PAGE LAYOUT
*B.1 Body and wrap
*B.2 Messages and errors
*B.3 Header
*B.4 Navigation
*B.5 Content + content sliders/illustrators + paginator
*B.6 Footer
*
* C. STYLES FOR SPECIFIC PAGES
*C.1 Homepage
*C.2 Page
*
* D. PRINT STYLES
*
* E. THIRD PARTY STYLES + SPECIFIC PAGES + RESPONSIVE
*
* ==========================================================================================
*/

/*
* ==========================================================================================
* A. HTML ELEMENTS AND UNIVERSAL CLASSES
* ==========================================================================================
*/

/*
* A.1 HTML general elements ... Hx,
A, P, IMG, HR, UL, ACRONYM
* ------------------------------------------------------------------------------------------
*/

/* Markdown clases */

@import url('../../css/markdown.css');

h1,
h2,
h3,
h4,
h5 {
    font-weight: bold;
    color: #003893;
}

h1 {
    font-size: 150%;
    margin: 0.6em 0 0.8em;
    line-height: 1.4em;
    text-transform: uppercase;
}

h2 {
    font-size: 130%;
    margin: 0.6em 0 1.3em;
    line-height: 1.4em;
    text-transform: uppercase;
}

h3 {
    font-size: 110%;
    margin: 1.3em 0;
    line-height: 1.4em;
    text-transform: uppercase;
}

h4 {
    font-size: 100%;
    margin: 1.3em 0;
    color: inherit;
    text-transform: uppercase;
}

h5 {
    font-size: 100%;
    margin: 1em 0 0.5em;
    color: inherit;
    text-transform: uppercase;
}

/*    color: inherit; 003893 b4b4b4 */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a {
    text-decoration: none;
}

a:link {
    color: inherit;
    text-decoration: underline;
    outline: none;
}

a:visited {
    color: inherit;
    text-decoration: underline;
    outline: none;
}

a:hover {
    color: #3db7e4;
    text-decoration: underline;
    outline: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
a:hover h1,
a:hover h2,
a:hover h3,
a:hover h4,
a:hover h5 {
    border-bottom: 1px solid #c20702;
    cursor: pointer;
}

#page > h1 { /* fix for non content pages */
    background: white;
    margin: 0.6em 0 -7px;
    padding: 0.6em 0 0.8em;
}

body#blue h1,
body#blue h2,
body#blue h3,
body#blue h4,
body#blue h5 {
    color: #003893;
}

body#red h1,
body#red h2,
body#red h3,
body#red h4,
body#red h5 {
    color: #ce1126;
}

body#cyan h1,
body#cyan h2,
body#cyan h3,
body#cyan h4,
body#cyan h5 {
    color: #3db7e4;
}

p {
    margin: 0.5em 0 1.3em;
}

hr {
    padding: 0;
    border: none;
    border-top: medium double #b4b4b4;
    width: 80%;
}

img { border: none; }

ul {
    padding-left: 20px;
    margin: 0;
}

acronym {
    border-bottom: 1px dotted;
    cursor: help;
}

pre {
    background-color: #f7f9fa;
    color: #000;
    font-size: 120%;
    overflow: auto;
    padding: 0.5em;
}

/*
* A.2 HTML table elements
* ------------------------------------------------------------------------------------------
*/

#content table {
    border-collapse: collapse;
    border: 1px solid #fafafa;
    margin: 20px 0 30px;
    width: 100%;
}

#content th,
#content td {
    border: 0;
    padding: 5px 10px;
}

#content th {
    background-color: #ebebeb;
}

#content tr:nth-child(odd) {
    background-color: #f8f8f8;
}

/*
* A.3 HTML form elements
* ------------------------------------------------------------------------------------------
*/

form fieldset {
    border: 0;
    margin: 0;
    padding: 1px;
}

form .button,
form button {
    background-color: #3db7e4;
    color: white;
    font-weight: bold;
    float: none;
    text-align: center;
    border: none;
    cursor: pointer;
    margin: 2px 0;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px 15px;
}

form .button[disabled],
form button[disabled],
form .button[disabled]:hover,
form button[disabled]:hover {
    opacity: 0.5;
    background-position: top left;
    cursor: default;
    color: #b4b4b4;
}

form .button:hover,
form button:hover {
    background-position: 0 -27px;
}

form input[type='text'],
form input[type='url'],
form input[type='email'],
form input[type='password'],
form textarea,
form select {
    border: 1px solid #b4b4b4;
    padding: 3px 5px;
    margin: 2px 0;
    background: white;
    line-height: 18px;
    width: 170px;
}

form input[disabled],
form textarea[disabled],
form select[disabled] {
    border: 1px solid #e4e4e4;
    background: #f4f4f4;
}

.placeholder {
    color: #b4b4b4;
}

form select {
    width: 181px;
}

#content form th {
    padding-right: 5px;
    text-align: right;
}

#content form tr:nth-child(odd) {
    background-color: transparent;
}

form.dynamic-form p label {
    display: inline-block;
    min-width: 8em;
    text-align: right;
}

form.dynamic-form label.required::after {
    color: red;
    content: '*';
    font-size: 130%;
}

form.dynamic-form ul {
    padding-left: 8em;
    list-style-type: none;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color: #b4b4b4;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #b4b4b4;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #b4b4b4;
}

:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #b4b4b4;
}

form.searchbox {
    position: relative;
}

form input.search-field {
    border: 1px solid silver;
    padding: 4px 28px 4px 10px;
    margin: 0;
    line-height: 16px;
    background: white;
}

form input.search-button {
    border: 0;
    background: transparent url('../../www.nic.cz/images/magnifier.png') no-repeat top right;
    position: absolute;
    cursor: pointer;
    height: 21px;
    width: 24px;
}

form#search input.search-button {
    left: 134px;
    top: 1px;
}

/*
* A.4 Universal classes
* ------------------------------------------------------------------------------------------
*/
.clear::after,
.clear::before {
    content: ' '; /* The space content is one way to avoid an Opera bug */
    display: table; /* `table` rather than `block` is only necessary if using before: to avoid margin collapsing */
}

.cleaner,
.clear-fix,
.clear::after { clear: both; }
.left { float: left; }
.right { float: right; }

.anchor,
.spaceman {
    display: none;
    visibility: hidden;
}

a.button {
    height: 27px;
    background: transparent url('../../www.nic.cz/images/button-left.png') no-repeat scroll left top;
    padding: 5px 5px 5px 7px;
    margin-right: 4px;
    line-height: 1em;
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
}

a.button:hover {
    background-position: 0 -27px;
}

a.button span {
    background: transparent url('../../www.nic.cz/images/button-right.png') no-repeat scroll right top;
    position: relative;
    left: 4px;
    padding: 0 10px 0 0;
    line-height: 27px !important;
    display: block;
}

a.button:hover span {
    background-position: right -27px;
}

/*
* ==========================================================================================
* B. GENERAL PAGE LAYOUT
* ==========================================================================================
*/

/*
* B.1 Body and wrap
* ------------------------------------------------------------------------------------------
*/
body#blue,
body#red,
body#cyan,
body#base,
body#hp,
body#bodyblank,
body#bodyblank div#header {
    color: #555;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 78%;
    line-height: 1.5em;
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
    display: block;
    background: #f8f8f8 url('../../www.nic.cz/images/bg.png') repeat-y center top;
}

body#bodyblank {
    margin: 0;
    padding: 0;
}

.wrap {
    margin: 0 auto;
    padding: 0 1px 0 4px;
    max-width: 970px;
}

/*
/*
* B.2 MESSAGES and ERRORS
* ------------------------------------------------------------------------------------------
*/

.errorlist {
    padding-left: 0;
}

.errorlist li {
    display: block;
    padding: 4px 5px 4px 25px;
    margin: 0 0 3px;
    border: 1px solid red;
    color: white;
    background-color: red;
}

ul.messagelist {
    padding: 0 0 5px;
    margin: 0;
}

ul.messagelist li {
    display: block;
    padding: 0.4em 1.2em;
    border-bottom: 1px solid #ddd;
    background-color: #ccc;
    font-size: 140%;
}

ul.messagelist li.success {
    color: white;
    background-color: green;
}

ul.messagelist li.info {
    background-color: rgb(255, 255, 139);
}

ul.messagelist li.warning {
    background-color: rgb(253, 186, 78);
}

ul.messagelist li.error {
    color: white;
    background-color: #ce1126;
}

/*
* B.3 Header
* ------------------------------------------------------------------------------------------
*/
#accessibility {
    float: right;
    text-align: right;
}

#spacer {
    height: 38px;
}

.error ul.lang {
    padding: 0;
    margin: 1px 20px 0;
    list-style: none;
}

.error ul.lang li a {
    padding: 0 11px 0 10px;
    color: #003893;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.85em;
}

#accessibility a {
    color: white;
    font-size: 0.02em;
    float: left;
    margin-left: 5px;
}

#accessibility a:active,
#accessibility a:focus {
    color: #333;
    font-size: 1em;
    float: right;
}

#header {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#logo {
    float: left;
    padding: 0;
    margin: -38px 0 0;
    line-height: 1em;
    font-size: 100%;
    text-transform: none;
}

#header #logo a {
    border: 0;
}

#logo a img {
    margin: 0 0 -33px;
}

#language-select,
#footer-language-select {
    list-style: none;
    padding: 14px 20px 0 12px;
}

#language-select li,
#footer-language-select li {
    float: left;
    padding: 0 11px 0 10px;
    background: transparent url('../../www.nic.cz/images/link-delimeter.png') no-repeat center right;
    color: #003893;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.85em;
}

#header #language-select li a,
#footer #footer-language-select li a {
    font-weight: normal;
    color: #003893;
}

#language-select li:last-child,
#footer-language-select li:last-child {
    padding-right: 10px;
    background: none;
}

#footer-language-select {
    display: none;
}

#search {
    margin-top: 9px;
}

#search input[type='text'] {
    width: 119px;
}

#tools {
    float: right;
    display: inline-table;
    margin: 0;
}

/*
* B.4 Navigation
* ------------------------------------------------------------------------------------------
*/

#menuicon {
    display: none;
}

#navigation {
    font-size: 1em;
}

#navigation ul,
#subnavigation ul {
    margin: 0;
}

/* stylelint-disable-next-line no-descending-specificity */
#subnavigation ul li,
#navigation .wrap ul li {
    list-style: none;
    display: inline-block;
    margin: 0 0 0 -3px; /* I don't know why it does this */
}

/* stylelint-disable-next-line no-descending-specificity */
#navigation .wrap ul li a,
#subnavigation ul li div {
    padding: 0 12px;
    display: block;
    line-height: 26px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    margin: 0;
}

/* stylelint-disable-next-line no-descending-specificity */
#navigation ul li a:hover {
    text-decoration: underline;
}

ul#nav0 {
    float: right;
}

#navigation ul#nav0 > li > a {
    width: 136px;
    font-weight: bold;
}

ul#nav0 > li.nav-mnu1 { background-color: #003893; }
ul#nav0 > li.nav-mnu2 { background-color: #ce1126; }
ul#nav0 > li.nav-mnu3 { background-color: #3db7e4; }
ul#nav0 > li.nav-mnu4 { background-color: #555; }

/* same colours in home page bottom blocks (hp-big-link) */

/* subnavigation */

ul#nav1,
ul#nav2 {
    clear: both;
}

body#blue ul#nav1 { background-color: #003893; }
body#red ul#nav1 { background-color: #ce1126; }
body#cyan ul#nav1 { background-color: #3db7e4; }
body#base ul#nav1 { background-color: #555; }

body#blue ul#nav1 > li.active::after {
    position: absolute;
    display: inline-block;
    margin-left: 10px;
    content: '';
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
    color: #003893;
}

body#red ul#nav1 > li.active { background: transparent url('../../www.nic.cz/images/navigation-active-red.png') no-repeat 12px 26px; }
body#cyan ul#nav1 > li.active { background: transparent url('../../www.nic.cz/images/navigation-active-cyan.png') no-repeat 12px 26px; }
body#base ul#nav1 > li.active { background: transparent url('../../www.nic.cz/images/navigation-active-base.png') no-repeat 12px 26px; }

div#navigation ul#nav2 {
    background-color: #a5acaf;
}

div#navigation ul#nav2 > li.active::after {
    position: absolute;
    display: inline-block;
    margin-left: 10px;
    content: '';
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
    color: #a5acaf;
}

#navigation ul#nav1 > li > a,
#navigation ul#nav2 > li > a {
    height: 26px;
    display: block;
    padding-right: 13px;
    background: url('../../www.nic.cz/images/menu-delimeter.png') no-repeat top right;
}

#navigation ul#nav1 > li:last-child > a,
#navigation ul#nav2 > li:last-child > a {
    padding-right: 12px;
    background: none;
}

/*
* B.5 Content + Content sliders/illustrators
* ------------------------------------------------------------------------------------------
*/
#content {
    padding: 12px 0 0;
    clear: both;
}

#content .article_perex {
    font-weight: lighter;
    font-style: italic;
    border-bottom: 1em;
    line-height: 1.5em;
    font-size: 1.2em;
}
body#blue #content .article_perex { color: #003893; }
body#red #content .article_perex { color: #ce1126; }
body#cyan #content .article_perex { color: #3db7e4; }

#content .article_text {
    font-weight: normal;
}

/* pagination */
.paginator {
    margin: 0 auto;
    margin-top: 15px;
    text-align: center;
}

#content #page div.paginator span a {
    padding: 3px;
    border: 1px solid #446db0;
    margin-right: 3px;
    color: #446db0;
    display: inline-block;
    text-decoration: none;
}

#content #page .paginator span a:hover {
    border: 1px solid #34a9da;
    color: #34a9da;
}

.paginator span.paginate-current {
    padding: 5px 3px;
    margin-right: 3px;
    border: 1px solid #34a9da;
    background-color: #34a9da;
    color: white;
    font-weight: bold;
}

/*
* B.6 Footer
* ------------------------------------------------------------------------------------------
*/
#footer {
    height: 65px;
    padding: 15px 0 45px;
    margin: 1px 0;
    color: #446db0;
    font-size: 0.85em;
}

#footer-navigation-heading {
    float: left;
    margin: 0 10px 0 0;
}

#footer-navigation {
    float: left;
    padding: 0;
    margin: 0 0 0 -10px;
    list-style: none;
}

#footer ul#footer-navigation li {
    float: left;
    padding: 0 11px 0 10px;
    background: transparent url('../../www.nic.cz/images/link-delimeter.png') no-repeat center right;
}

/* stylelint-disable-next-line no-descending-specificity */
#footer-navigation li a {
    color: #446db0;
}

#footer #footer-navigation li:last-child {
    padding-right: 10px;
    background: none;
}

#footer-link-up {
    float: right;
    text-transform: uppercase;
    margin-top: 33px;
}

#footer-deco {
    background: transparent url('../../www.nic.cz/images/footer-dots.png') no-repeat top center;
    height: 43px;
    margin-top: 9px;
}

#paticka {
    text-align: center;
    padding: 15px 0 45px;
}

/*
* ==========================================================================================
* C. STYLES FOR SPECIFIC PAGES
* ==========================================================================================
*/

/*
* C.1 Homepage
* ------------------------------------------------------------------------------------------
*/

#hp-sidebar {
    width: 292px;
    margin-right: 12px;
    float: left;
    min-height: 554px;
    background: #ebebeb;
}

.hp-widget {
    background-color: #ebebeb;
    margin: 0 0 2px;
    padding: 12px;
    line-height: 1.3em;
}

#ipv6_widget {
    display: none;
    overflow: hidden;
}

#hp-sm {
    text-align: center;
}

#hp-sm div.sm-icon {
    height: 42px;
    width: 42px;
    display: inline-block;
    margin: 5px 0 0 10px;
    overflow: hidden;
}

#hp-sm div.sm-icon:first-child {
    margin-left: 0;
}

#hp-sm div.sm-icon:hover img {
    margin-top: -42px;
}

#page .hp-widget h3 {
    text-transform: uppercase;
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 1em;
    line-height: 1em;
    font-weight: bold;
}

#hp-news-online {
    height: 132px;
    border-bottom: 2px solid white;
}

#hp-news {
    border-bottom: 2px solid white;
}

.news-heading {
    margin: 0 0 2px;
    font-weight: bold;
    color: inherit;
    text-transform: none;
}

#content .wrap #page .news-preview .news-heading a,
#content .wrap #page .news-preview .news-heading a:hover {
    text-decoration: none;
    border: 0;
    text-transform: none;
}

.news-time {
    margin: 5px 0 0;
}

.news-preview {
    margin-bottom: 0.8em;
}

.news-preview div.markdown-text {
    display: inline;
}

.news-preview p {
    display: inline;    /* margin: 0.3em 0 0; */
}

#hp-main {
    float: right;
    width: 640px;
    margin: 0;
    padding: 0 0 2px;
    background: white;
    min-width: 300px;
}

#hp-promo {
    width: 640px;
    height: 190px;
    overflow: hidden;
}

#hp-promo p {
    margin: 0;
    padding: 0;
}

#hp-promo .markdown-text h1,
#hp-promo .markdown-text h2,
#hp-promo .markdown-text h3,
#hp-promo .markdown-text h4 {
    clear: none;
}

#hp-main-left {
    margin: 12px 12px 12px 0;
    width: 290px;
    min-height: 208px;
    float: left;
    background-color: #ebebeb;
}

#hp-main-left input[type='text'] {
    width: 250px;
    margin: 17px 0 23px;
}

#hp-main-left form input.search-button {
    left: 264px;
    top: 44px;
}

#hp-main-right {
    margin: 12px 0;
    min-height: 232px;
    width: 314px;
    float: left;
}

#hp-main-right .hp-widget {
    color: white;
    background-color: #003893;
}

#hp-main #hp-main-right .hp-widget h3 {
    color: white;
}

#hp-statistics {
    min-height: 62px;
}

#hp-connection {
    min-height: 144px;
    background-color: #003893;
}

.status-icon {
    padding-left: 20px;
    margin-bottom: 5px;
    background-repeat: no-repeat;
    background-position: 3px center;
}

.status-icon.status-green {
    background-image: url('../../www.nic.cz/images/status-icon-green.png');
}

.status-icon.status-red {
    background-image: url('../../www.nic.cz/images/status-icon-red.png');
}

.status-icon.status-speed {
    background-position: center left;
    background-image: url('../../www.nic.cz/images/status-icon-speed.png');
}

#hp-connection .button {
    margin: 10px 0 -10px 300px;
    min-height: 164px;
}

div#hp-big-link {
    width: 653px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* home page bottom blocks (same as in #nav0) */
#hp-big-link a.nav-domains { background-color: #003893; }
#hp-big-link a.nav-registrators { background-color: #ce1126; }
#hp-big-link a.nav-aboutus { background-color: #3db7e4; }

#hp-big-link a.nav-myid,
#hp-big-link a#mibew-agent-button { background-color: #555; }

#hp-big-link a#mibew-agent-button img {
    margin: 0 0 0 -25px;
    position: absolute;
}

#page div#hp-main #hp-big-link a {
    display: block;
    float: left;
    width: 107px;
    height: 58px;
    margin-right: 12px;
    background-image: url('../../www.nic.cz/images/arrow.png');
    background-repeat: no-repeat;
    background-position: 13px 12px;
    padding: 50px 32px 0 12px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: 0;
}

#page div#hp-main #hp-big-link a:hover {
    background-position: 22px 12px;
    text-decoration: underline;
}

#page div#hp-main #hp-big-link a:last-child {
    margin-right: 0;
}

/* mibew (onlinechat) */

#hp-big-link img.mibewimg,
#hp-big-link img.tempimg {
    margin: 50px 0 0 -155px;
    position: absolute;
}

#hp-main #hp-big-link a.nav-myid,
#page #hp-main #hp-big-link a#mibew-agent-button {
    padding: 50px 12px 0 32px;
}

/* newsletter */
#hp-newsletter {
    max-height: 119px;
    overflow: hidden;
}

/*
* C.2 Page
* ------------------------------------------------------------------------------------------
*/

#page {
    background: white;
}

#page.withrelated {
    background: transparent url('../../www.nic.cz/images/page-bg.png') repeat-y right 0 top;
}

body#hp #page {
    background: white;
}

#content-main,
#whois {
    background: white;
    min-height: 300px;
    float: left;
    width: 100%;
}

#content-main.withrelated {
    max-width: 640px;
    float: left;
}

#page-sidebar {
    float: right;
    width: 290px;
    background-color: #eaeaea;
}

.page-sidebar-content {
    padding: 0 12px;
    line-height: 1.6em;
}

#page #page-sidebar .page-sidebar-content img,
.page-sidebar-content object {
    margin: 0 -12px;
    max-width: 290px;
    height: auto;
}

.page-sidebar-content object embed {
    width: 290px;
}

#page-sidebar .page-sidebar-content p {
    margin: 0 0 1.7em;
}

#page #page-sidebar .page-sidebar-content h3 {
    margin-top: 0.4em;
    font-size: 120%;
}

#page-sidebar ul {
    list-style-image: url('../../www.nic.cz/images/list-style.png');
    padding-left: 30px;
    margin-bottom: 20px;
}

/*
    Webwhois
*/
#content .highlight-handles span {
    font-style: italic;
}

#blank {
    min-height: 300px;
}

/*
* ==========================================================================================
* D. PRINT STYLES
* ==========================================================================================
*
* see also print.css
*/

/*
* ==========================================================================================
* D. THIRD PARTY STYLE + SPECIFIC PAGES
* ==========================================================================================
*
* see specific.css
*/

/*
* ==========================================================================================
* E. FOURTH PART = RESPONSIVE STYLES
* ==========================================================================================
*
* see responsive.css
*/
