/*
* 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 Header
*B.3 Navigation
*B.4 Content + content sliders/illustrators + paginator
*B.5 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 0; line-height: 1.4em; text-transform: uppercase; }
h2      { font-size: 130%; margin: 0.6em 0 1.3em 0; line-height: 1.4em; text-transform: uppercase; }
h3      { font-size: 110%; margin: 1.3em 0 1.3em 0; line-height: 1.4em; text-transform: uppercase; }
h4      { font-size: 100%; margin: 1.3em 0 1.3em 0; color: inherit; text-transform: uppercase; }
h5      { font-size: 100%; margin: 1.0em 0 0.5em 0; color: inherit; text-transform: uppercase; }

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;
}


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; }
/*    color: inherit; 003893 b4b4b4 */
h1 a, h2 a, h3 a, h4 a, h5 a { text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover {  border-bottom: 1px solid #c20702; }

p { margin: 0.5em 0 1.3em 0;}
hr {
    padding: 0;
    border: none;
    border-top: medium double #B4B4B4;
    width:80%;
}
img { border:none; }
ul { padding-left:20px; margin:0px; }
acronym  { border-bottom:1px dotted; cursor:help; }

pre {
    background-color: #F7F9FA;
    color: #000000;
    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: transparent url('/static/nic/images/button.png') no-repeat top left;
    width: 115px;
    height: 27px;
    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;
}

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;
}

form th {
    background-color: transparent;
    padding-right: 5px;
    font-weight: normal;
    text-align: right;
}

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

::-webkit-input-placeholder { /* WebKit browsers */
    color: #b4b4b4;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #b4b4b4;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #b4b4b4;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #b4b4b4;
}

input[type="submit"]:active {
    padding: 0;
}


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: white url('/static/nic/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('/static/nic/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('/static/nic/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 div#content, body#bodyblank div#header {
    color: #555555;
    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: table;
    background: #f8f8f8 url("/static/nic/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 Header
* ------------------------------------------------------------------------------------------
*/
#accessibility {
    float:right;
    text-align:right;
}
#spacer {
    height: 38px;
}
#accessibility a {
    color:white;
    font-size:0.02em;
    float:left;
    margin-left:5px;
}
#accessibility a:active, #accessibility a:focus {
    color:#333;
    font-size:1.0em;
    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;
}
#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('/static/nic/images/link-delimeter.png') no-repeat center right;
    color: #003893;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.85em;
}

#language-select li a, #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;
}

.error ul.lang {
    padding: 0;
    margin: 1px 20px 0 20px;
    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;
}

#search {
    margin-top: 9px;
}

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

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

/*
* B.3 Navigation
* ------------------------------------------------------------------------------------------
*/

#menuicon {
    display:none;
}

#navigation {
    font-size: 1.0em;
}
#navigation ul {
    margin:0;
}
#navigation ul li {
    list-style: none;
    display: inline-block;
    margin:0 0 0 -3px; /* I don't know why it does this */
}
#navigation ul li a {
    padding: 0 12px;
    display: block;
    line-height: 26px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    margin:0;
}
#navigation ul li a:hover {
    text-decoration: underline;
}
ul#nav0 {
    float:right;
}
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: #555555;}
/* same colours in home page bottom blocks (hp-big-link) */

/* subnavigation */
ul#nav1, ul#nav2 {
    clear:both;
    padding: 0;
    background: url('/static/nic/images/subnavigation-white.png') repeat-x bottom left;
}
ul#nav1.withsub {
    background: url('/static/nic/images/subnavigation-grey.png') repeat-x bottom left;
}
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: #555555;}

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

div#navigation ul#nav2 {
    background-color: #A5ACAF;
}
ul#nav2 > li > a {
    margin-top:-4px;
}

div#navigation ul#nav2 > li.active { background: transparent url('/static/nic/images/navigation-active-grey.png') no-repeat 12px 21px;}

ul#nav1 > li,
ul#nav2 > li {
    padding-bottom: 5px;
}
ul#nav1 > li > a,
ul#nav2 > li > a {
    height: 26px;
    display: block;
    padding-right: 13px;
    background: url('/static/nic/images/menu-delimeter.png') no-repeat top right;
}
ul#nav1 > li:last-child > a,
ul#nav2 > li:last-child > a {
    padding-right: 12px;
    background: none;
}

/*
* B.4 Content + Content sliders/illustrators
* ------------------------------------------------------------------------------------------
*/
#content {
    padding: 12px 0 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;
}
.paginator span a {
    padding:3px;
    border:1px solid #446DB0;
    margin-right:3px;
    color:#446DB0;
    display:inline-block;
    text-decoration:none;
}
.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.5 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-navigation li {
    float: left;
    padding: 0 11px 0 10px;
    background: transparent url('/static/nic/images/link-delimeter.png') no-repeat center right;
}
#footer-navigation li a {
    color: #446DB0;
}
#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("/static/nic/images/footer-dots.png") no-repeat top center;
    height:43px;
    margin-top:9px;
}
#paticka {
    text-align:center;
}

/*
* ==========================================================================================
* 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 20px;
    overflow:hidden;
}
#hp-sm div.sm-icon:first-child  {
    margin-left:0;
}
#hp-sm div.sm-icon:hover img {
    margin-top:-42px;
}
.hp-widget h3 {
    text-transform: uppercase;
    font-size: 1.0em;
    margin-top: 0;
    margin-bottom: 1.0em;
    line-height: 1.0em;
    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 0;
    font-weight: bold;
    color: inherit;
    text-transform: none;
}
.news-heading a, .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 0;
    background:white;
}

#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;
    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: 43px;
}
#hp-main-right {
    margin: 12px 0;
    height: 208px;
    width: 314px;
    float: left;
}
#hp-main-right .hp-widget {
    color: white;
    background-color: #003893;
}
#hp-main-right .hp-widget h3 {
    color: white;
}
#hp-statistics {
    height: 63px;
}
#hp-connection {
    height: 142px;
    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('/static/nic/images/status-icon-green.png');
}
.status-icon.status-red {
    background-image: url('/static/nic/images/status-icon-red.png');
}
.status-icon.status-speed {
    background-position: center left;
    background-image: url('/static/nic/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 { background-color: #555555;}

#hp-big-link a {
    display:block;
    float: left;
    width: 107px;
    height: 58px;
    margin-right: 12px;
    background-image: url('/static/nic/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;
}
#hp-big-link a:hover {
    background-position: 22px 12px;
    text-decoration: underline;
}
#hp-big-link a:last-child {
    margin-right: 0;
}
#hp-newsletter {
    max-height:119px;
    overflow:hidden;
}
/*
* C.2 Page
* ------------------------------------------------------------------------------------------
*/

#page {
    background:white;
}
#page.withrelated {
    background: transparent url('/static/nic/images/page-bg.png') repeat-y right 0 top;
}
body#hp #page {
    background:white;
}
#page > H1 { /* fix for non content pages */
    background:white;
    margin:0.6em 0 -7px 0;
    padding: 0.6em 0 0.8em 0;
}
#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-sidebar-content img,
.page-sidebar-content object {
    margin: 0 -12px;
    max-width: 290px;
    height:auto;
}
.page-sidebar-content object embed {
    width: 290px;
}
.page-sidebar-content p {
    margin:0  0 1.7em;
}

.page-sidebar-content h3 {
    margin-top: 0.4em;
    font-size: 120%;
}
#page-sidebar ul {
    list-style-image: url('/static/nic/images/list-style.png');
    padding-left: 30px;
    margin-bottom: 20px;
}

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

/*
* ==========================================================================================
* D. THIRD PARTY STYLE + SPECIFIC PAGES
* ==========================================================================================
*
* see specific.css
*/
/*
* ==========================================================================================
* E. FOURTH PART = RESPONSIVE STYLES
* ==========================================================================================
*
* see responsive.css
*/
