/*
* Theme Name: nic.cz
* Description: Šablona vzhledu od Designeo Creative s.r.o.
* Version: 1.0m | 09/2014
*
* Author: Alix Guillard @ nic.cz
*
* Style contents
* ==========================================================================================
*
* support pages
*
* ==========================================================================================
*/

/* support pages */

div.article p,
div.article blockquote,
div.article table,
div.article pre {
    margin: 0 0 1em;
}

/* numbered lists */
div.article ol {
    line-height: 1.5em;
    list-style-image: none;
    margin: 0 0 1em 3.5em;
    list-style-type: decimal;
}

div.article li ul {
    margin-bottom: 0;
}

div.article li ol {
    margin-bottom: 0;
}

div.article .li {
    color: #000;
    font-weight: normal;
}

div.article ol ol {
    list-style-type: upper-roman;
}

div.article ol ol ol {
    list-style-type: lower-alpha;
}

div.article ol ol ol ol {
    list-style-type: lower-greek;
}

/* others */
div#page blockquote {
    border-left: 2px solid #8cacbb;
    padding-left: 3px;
}

div#page pre {
    background-color: #f7f9fa;
    border: 1px dashed #8cacbb;
    color: #000;
    font-size: 120%;
    overflow: auto;
    padding: 0.5em;
}

div#page code {
    font-size: 100%;
}

div#podpora-contact {
    margin: -22px 419px 0 0;
}

p.podpora-menu a,
div#podpora-contact a {
    color: #003893;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.85em;
}

#search {
    margin: -12px 15px 0;
}

#logo a img {
    margin: 0;
}

/* Responsive design has to be here as responsive.css is loaded before */

/* keep same threshold as responsive.css
* @media (max-width: 970px)
* @media (max-width: 730px)
* @media (max-width: 580px)
* @media (max-width: 400px)
*/

@media (max-width: 970px) {
    div#podpora-contact {
        margin: 0;
    }

    #search {
        margin: 0 15px;
    }

    div#page pre {
        white-space: pre-wrap;
    }
}

@media (max-width: 730px) {
    div#tools {
        display: block;
        width: 200px;
    }

    div#podpora-contact {
        margin: 5px 15px 10px 0;
        text-align: right;
    }

    #tools .left {
        float: none;
    }
}

@media (max-width: 580px) {
    div#tools {
        margin: -25px 0 0;
        width: 100%;
    }

    #search {
        margin: 0;
    }

    div#podpora-contact {
        margin: -25px 0 10px;
        text-align: right;
    }

    #tools .left {
        float: right;
        width: 200px;
    }

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

@media (max-width: 400px) {
    div#tools {
        margin: 0;
    }
}
