/*
Theme Name: NMnM - sdílené (nepoužívat jako theme webu)
Description: Vzhled pro weby NMnM upravene oddelenim informatiky.
Version: 1.0
Author: Zbynek Grepl
*/

#content.article #gg-left-150
{
	width: 150px;
	float: left;
	margin-right: 10px;
}

#content.article #gg-left
{
	width: 80%;
	float: left;
}

/* #region CONTENT PANEL ================================================================ */

#content #grepl-content
{
    
}

/*****************************************/

#content #grepl-content article
{
    width: 20%;
    height: 330px;
    padding: 0 20px 0 0;
    margin: 0 0 20px 0;
    position: relative;
    float: left;
}

#content #grepl-content article div
{
    background: white;
}

#content #grepl-content article a.img
{
    height: 190px;
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
}

#content #grepl-content article h3
{
    height: 80px;
}

#content #grepl-content article h3 a
{
    width: 100%;
    height: 90px;
    padding: 5px 20px 0 20px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #177f5a;
    font-size: 16px;
    line-height: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

#content #grepl-content article strong
{
    width: 100%;
/*    position: absolute; */
    left: 0;
/*    top: 0; */
    z-index: 50;
    display: inline-block;
    background: #e2001a;
}

#content #grepl-content article strong a
{
    padding: 0 10px;
    color: white;
    font-size: 13px;
    line-height: 26px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: normal;
    text-decoration: none;
}

#content #grepl-content article div:hover
{
    border-bottom: 2px solid #e2001a;
}

#content #grepl-content article div:hover h3 a
{
    color: #e2001a;
    text-decoration: none;
}

#content #grepl-content article div:hover strong a
{
    color: #FFFFFF;
    text-decoration: none;
}

#content #gg-doch {
    margin-bottom: 25px;
}


#content #gg-doch #gg-on {
    display: inline-block; 
    margin-right: 7px; 
    width: 12px; 
    height: 12px; 
    background-color: #8ece0f;
}

#content #gg-doch #gg-off {
    display: inline-block; 
    margin-right: 7px; 
    width: 12px; 
    height: 12px; 
    background-color: #e2001a;
}

#content #gg-doch #gg-mimo {
    display: inline-block; 
    margin-right: 7px; 
    width: 12px; 
    height: 12px; 
    background-color: #00b5b5;
}

#content #gg-doch-cara {
    margin-bottom: 15px;
}

#content #gg-doch-cara #gg-on {
    display: inline-block; 
    margin-right: 7px; 
    width: 12px; 
    height: 12px; 
    background-color: #8ece0f;
}

#content #gg-doch-cara #gg-off {
    display: inline-block; 
    margin-right: 7px; 
    width: 12px; 
    height: 12px; 
    background-color: #e2001a;
}

#content #gg-doch-cara #gg-mimo {    
    display: inline-block; 
    margin-right: 7px; 
    width: 12px; 
    height: 12px; 
    background-color: #00b5b5;
}



/*full width*/
@media screen and (max-width: 1280px)
{
   #content #content-grepl.zastupko article
    {
	    width: calc(100% + 15px);
        padding-right: 0;

    }
}

@media screen and (max-width: 1100px)
{
    #content #grepl-content.zastupko article
    {
	    width: 25%;
	    padding-right: 10px;
    }

    #content #content.zastupko .boxes .box
    {
        width: 100%;
    }
}

@media screen and (max-width: 990px)
{
    #content #grepl-content.zastupko article
    {
	    width: 33.3%;
	    padding-right: 10px;
    }

    #content #content.zastupko .boxes .box
    {
        width: 100%;
    }
}

/*2 in row*/
@media screen and (max-width: 700px)
{
    #content #grepl-content.zastupko article
    {
        width: 50%;
        height: 282px;
	    padding-right: 10px;
    }

    #content #grepl-content article h3
    {
        height: 35px;
    }

    #content #grepl-content article h3 a
    {
        height: 76px;
    }
}

/*1 in row*/
@media screen and (max-width: 520px)
{
    #content #grepl-content.zastupko article
    {
        width: 100%;
        height: 450px;
    }

    #content #grepl-content article a.img
    {
        height: 350px;
    }

}
