/*hlidaci pes 30.11. 2013*/
#content .hlidaci_pes_pozadi {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 199;
    flex: none;
}

#content .hlidaci_pes {
    display: block;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -150px;
    margin-left: -250px;
    width: 500px;
    height: 300px;
    z-index: 10;
    border: 2px solid gray;
    border-radius: 10px;
    text-align: left;
}

.hlidaci_pes img {
    float: right;
    width: 100px;
    height: 100px;
    margin: 6px 0px;
}

.hlidaci_pes_lista {
    position: absolute;
    background: #E6E5E5;
    border-top: 1px solid gray;
    width: 500px;
    bottom: 0;
    border-radius: 0 0 10px 10px;
    height: 27px;
}

.hlidaci_pes p{
    color: black;
    margin: 8px 10px;
}


#content .hlidaci_pes_lista {
    display: block;
}

.hlidaci_pes .hlidaci_pes_lista p{
    color: gray;
    margin: 5px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 120%;
}
.hlidaci_pes_zavrit {
    position: absolute;
    bottom: 2px;
    background: url('/catalog/view/javascript/jquery/colorbox/images/controls.png') no-repeat -100px 0px;
    width: 23px;
    height: 23px;
    left: 475px;
    cursor: pointer;
}

.aktivovat_psa {
    margin: 0px 15px;
}

@media screen and (max-width: 768px) {
    #content  .hlidaci_pes {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 0;
        margin-left: 0;
        width: auto;
        height: none;
    }
    

    .hlidaci_pes .aktivovat_psa {
        left: 1px;
        position: relative;
    }
    

    .hlidaci_pes input {
        margin-top: 8px;
        padding-left: 0px;
        padding-right: 0px;
        width: 100%;
    }

    .hlidaci_pes_lista {
        width: 100%;
    }

    #content .hlidaci_pes_zavrit {
        display: block;
        position: relative;
        top: -24px;
        margin-right: 4px;
        float: right;
        left: 0px;
        flex: none;
    }
}