/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: absolute; /* Stay in place */
    z-index: 1; /* Sit on top */
    overflow: auto; /* Enable scroll if needed */
    background-color: transparent;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 1%;
    padding: 8px 8px 4px 8px;
    border: 2px solid #999;
    box-shadow: 10px 10px 5px 5px #cccccc;
    width: auto;
}
.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    line-height: 24px;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-content a {
    text-decoration: none;
    display: inline-block;
}
.modal-content a img {
    margin: 2px;
    border: 2px solid #999;
}
.modal-content a span {
    display: none;
}
.modal-hover {
    /*width: 450px;*/ width: 660px;
    height: auto;
    float: left;
}
.modal-hover .modal-content {
    margin-top: 0;
}
.modal-hover .modal-content img {
    width: 200px;
}
.modal-hover .arrow-up {
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #999;
    position: relative;
    display: block;
}
.modal-hover .arrow-down {
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #999;
    position: relative;
    display: none;
}
.modal-img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#999999', endColorstr='#999999'); /* IE */
    z-index: 100;
}
.modal-img .modal-content {
    margin: 2% auto !important;
    width: 50%;
    box-shadow: 10px 10px 5px 5px #777 !important;
}
.modal-img .modal-content img {
    width: 100%;
}
.location {
/*    margin: 10px 0; */
}
.location-images {
    cursor: pointer;
    width: 8px;
    margin-right: 4px;
    background: url("../images/knjizare/location.png") 0 50% no-repeat;
    display: inline;
    float: left;
}
.location-town {
    font-weight: bold;
}
.location-info {
    font-style: italic;
}
.margin-bottom {
    margin-bottom: 10px;
}
.modal-content .images {
    width: 416px;
    height: auto;
    display: inline-block;
    margin-right: 0;
}
.modal-content .map {
    width: 204px;
    height: auto;
    display: inline-block;
    margin-left: 0;
}
.modal-content .map img {
    /*height: 313px;*/
}