/**** 
    **********************************
    Project:    Podminky
    Author:     Ondrej Kucera
    **********************************
*****/

#h1c h1 {
    text-align: center;
}

.blank {
    width: 100% !important;
}

#articlePage #conditions {
    max-width: 100%;
    padding: 0 50px 30px 50px;
}

#articlePage #conditions div,
#articlePage #conditions p,
#articlePage #conditions span,
#articlePage #conditions ul li,
#articlePage #conditions ol li,
#articlePage #conditions a,
#articlePage #conditions th,
#articlePage #conditions td {
    font-size: 15px;
}

#articlePage #conditions a {
    outline: none;
    text-decoration: underline;
}

#articlePage #conditions a:hover {
    color: #2f8dcd;
}

#articlePage #conditions u:hover {
    text-decoration: underline;
}

#articlePage #conditions ol {
    counter-reset: item;
    padding-top: 1em;
}

#articlePage #conditions ol > li {
    display: block;
    position: relative;
    line-height: 1.5em;
}

#articlePage #conditions ol > li:before {
    content: counters(item, ".") "."; 
    counter-increment: item;
    position: absolute;
    margin-right: 100%;
    right: 10px;
    font-weight: bold;
}

#articlePage #conditions ol li ol {
    padding-top: 0.5em;
}

#articlePage #conditions ol li ol li ol {
    counter-reset: alphabetical;
}

#articlePage #conditions ol li ol li ol li:before {
    content: counter(alphabetical, lower-alpha) ")";
    counter-increment: alphabetical;
}

#articlePage #conditions .centered {
    text-align: center;
}

#articlePage #conditions .clearfix:after {
    content: "";
    display: block; 
    height: 0; 
    clear: both;
}

@media screen and (max-width: 800px) { 

    #articlePage #conditions {
        padding: 0 10px 30px 10px;
    }    

    #articlePage #conditions ol {
        margin-left: 15px;
    } 

}

@media screen and (max-width: 360px) { 

    #articlePage #conditions div,
    #articlePage #conditions p,
    #articlePage #conditions span,
    #articlePage #conditions ul li,
    #articlePage #conditions ol li,
    #articlePage #conditions a,
    #articlePage #conditions th,
    #articlePage #conditions td {
        font-size: 13px;
    } 

}


/**** 
    **********************************
    RESPONSIVE TABLE
    **********************************
*****/

#articlePage #conditions table.responsive {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}

#articlePage #conditions table.responsive th {
    background-color: #eee;
    font-weight: bold;
}

#articlePage #conditions table.responsive th,
#articlePage #conditions table.responsive td {
    border: 1px solid gainsboro;
    line-height: 1;
    padding: 0.5em;
    text-align: left;
}


@media screen and (max-width: 700px) {
    
    #articlePage #conditions table.responsive thead tr {
        position: absolute;
        top: -9999em;
        left: -9999em;
    }
        
    #articlePage #conditions table.responsive tr {
        border: 1px solid gainsboro;
        border-bottom: 0;
    }
	
    #articlePage #conditions table.responsive tr + tr {
        margin-top: 1em;
    }
    
    #articlePage #conditions table.responsive tr,
    #articlePage #conditions table.responsive td {
        display: block;
    }
               
    #articlePage #conditions table.responsive td {
        border: none;
        border-bottom: 1px solid gainsboro;
        padding-left: 50%;
    }
    
    #articlePage #conditions table.responsive td:before {
        content: attr(data-label);
        display: inline-block;
        font-weight: bold;
        line-height: 1;
        margin-left: -100%;
        width: 100%;
    }
}


@media screen and (max-width: 400px) {
    
    #articlePage #conditions table.responsive td {
        padding-left: 0.75em;
    }
    
    #articlePage #conditions table.responsive td:before {
        display: block;
        margin-bottom: 0.75em;
        margin-left: 0;
    }
  
}