/* Manual class for indent paragraphs */
p.i {
    text-indent: 50px;
}

/* Hover over image with text */
div.imagehover
{   
    position:relative; 
    width:relative;
    overflow: hidden;
    white-space: nowrap;
    float: left;
}

div.imagehover .overlay 
{
    position:absolute;
    top:0%;
    width:200px;
    height:200px;      
    background-color:rgba(255, 255, 255, 0.7);
    display:none;
    width:200px;
}

div.imagehover:hover .overlay 
{
    display:inline-block;
    -webkit-transition: all 2s ease;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
    -o-transition: all 2s ease;
    transition: all 2s ease;
}

div.texthover {
  color: black;
  font-size: 20px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

/* Popup container - can be anything you want */
span.PopUpAbs{
    position: relative;
    display: inline-block;
	z-index: 999;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    float: centre;
}

/* The actual popup */
span.PopUpAbs .popuptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 0;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

/* Popup arrow */
span.PopUpAbs .popuptext::after {
    content: "";
    position: relative;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
span.PopUpAbs .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}

/* skrivanje text: */
.hidden {
display:none;
}

/* DUGME: */
.MyButton {
    background-color: #B0E0E6;
    border: none;
    color: black;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
}

/* skrivanje text: */
.ClassHiddenText {
display:inline;
}

/* rotiranje za 90 */
.rotate90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}