body {
    background-color: #769e90;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5em;
}

#kontakt {
    text-align: center;
    font-size: 1.2em;
    letter-spacing: 2px;
    margin-top: 20px;
    text-shadow: 0px 0px 15px #F5F6F6;
}


a:link {
    /*color: #F5F6F6;*/
    color: #528674;

}

a:active {
    text-decoration: none;
}

a {
    color: #528674;
}

.header {
    background-color: #769e90;
    color: #D4DFDB;
}

.logo {
    margin-top: 40px;
    margin-bottom: 50px;

}

#logo {
    height: 450px;

}

#prvi , #treci , #cetvrti{
    background-color: #FBFCFA;
    color: #528674;
    padding-top: 50px;
    padding-bottom: 50px;
}


#drugi {
    background-color: #769e90;
    color: #F5F6F6;
    padding-top: 50px;
    padding-bottom: 50px;
}

ul {
    padding: 0;
    margin: 0;
}


h3{
    margin-bottom: 20px;
    margin-top: 0;
    line-height: 1.2em;
} 

.copytext1 , .copytext2 , .copytext3 {
    text-align: left;
}

#usluge , #rezultat {
    font-size: 1.2em; 
    line-height: 1.5em;

}

#potpis {
    font-size: 2.2em;
    font-family: 'Sacramento', cursive;
}

#titula {
    font-size: 1.1em;
}

.copytext4 , .copytext5 {
    font-size: 1.3em;
    text-align: left;
    line-height: 1.3em;
}


.kasika {
    text-align: right;
    margin-top: 10px;
    margin-right: 20px;
    margin-left: 10px;
}

#kasikaSlika {
    width: 280px;
}

.medved {
    text-align: right;
}

#medvedSlika {
    width: 200px;
    margin-right: 25px;
}

.torba {
    text-align: center;
    margin-left: 15px;
    margin-top: 10px;
}

#torbaSlika {
    height: 180px;
}

.portret {
    text-align: right;
    margin-left: 10px;
}

.portretMobile {
    display: none;
}

#draganaSlika {
    width: 240px;
    height: 240px;
    margin-right: 15px;
}

.footer {
    padding-top: 10px;
    padding-bottom: 5px;
    background-color: #769e90;
    color: #F5F6F6;
    text-align: center;
    font-size: 0.8em;
}

@media screen and (min-width: 1080px) { 

.copytext4 {
        text-align: left;
}

.copytext5 {
        text-align: left;
}

.torba {
        text-align: left;
}

}

@media screen and (min-width: 900px) and (max-width: 1080px) {
#logo {
    height: 400px;
}

#usluge , #rezultat {
    font-size: 1.1em; 
    line-height: 1.3em;

}

#potpis {
    font-size: 2em;
}

#titula {
    font-size: 1em;
}

h3{
    font-size: 1.4em;
} 

.copytext4 , .copytext5 {
    font-size: 1.1em;
    text-align: left;
    line-height: 1.1em;
}

#kasikaSlika {
    width: 250px;
}

#medvedSlika {
    width: 160px;    
}

#draganaSlika {
    width: 210px;
    height: 210px;
}

#torbaSlika {
    height: 150px;
}



}

@media screen and (min-width: 785px) and (max-width: 900px) {
#logo {
    height: 350px;
}

#usluge , #rezultat {
    font-size: 1em; 
    line-height: 1.5em;
}



#potpis {
    font-size: 1.8em;
}

#titula {
    font-size: 1em;
}

h3{
    font-size: 1.2em;
} 

.copytext4 , .copytext5 {
    font-size: 0.9em;
    text-align: left;
    line-height: 1.1em;
}

#kasikaSlika {
    width: 230px;
}

#medvedSlika {
    width: 140px;    
}

#draganaSlika {
    width: 190px;
    height: 190px;
}

#torbaSlika {
    height: 130px;
}


}

@media screen and (max-width: 785px) {
#logo {
    height: 300px;
}

.logo {
    margin-top: 30px;
    margin-bottom: 30px;
}

#prvi , #drugi, #treci , #cetvrti {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 40px;
    padding-right: 30px;
}

#usluge , #rezultat {
    font-size: 1em; 
    line-height: 1.5em;

}

.kasika, .medved {
    text-align: center;
    margin-bottom: 30px;
}

.torba {
    text-align: center;
}

.portret {
    display: none;
}

.portretMobile {
    display: inline-block;
}

#potpis {
    font-size: 1.8em;
}

#titula {
    font-size: 1em;
}

h3{
    font-size: 1.2em;
} 


.copytext4 , .copytext5 {
    font-size: 1.2em;
    text-align: center;
    line-height: 1.1em;
    margin-bottom: 30px;
}

.copytext3 {
    text-align: center;
}

#kasikaSlika {
    width: 230px;
}

#medvedSlika {
    width: 140px;    
}

#draganaSlika {
    width: 190px;
    height: 190px;
}

#torbaSlika {
    height: 130px;
}

.footer {
    padding-top: 10px;
    padding-bottom: 0px;


}

}

/** fotke **/

.galerija {
    padding-top: 25px;
    padding-bottom: 30px;
}

.gal-item{
    overflow: hidden;
    padding: 3px;
}
.gal-item .box{
    height: 350px;
    overflow: hidden;
    border: 5px solid white;

}
.box img{
    height: 100%;
    width: 100%;
    object-fit:cover;
    -o-object-fit:cover;
}
.gal-item a:focus{
    outline: none;
}
.gal-item a:after{
    content:"\e003";
    font-family: 'Glyphicons Halflings';
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    right: 3px;
    left: 3px;
    top: 3px;
    bottom: 3px;
    text-align: center;
    line-height: 350px;
    font-size: 30px;
    color: #fff;
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
}
.gal-item a:hover:after{
    opacity: 1;
}
.modal-open .gal-container .modal{
    background-color: #769e90;
}
.modal-open .gal-item .modal-body{
    padding: 0px;
}
.modal-open .gal-item button.close{
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #000;
    opacity: 1;
    color: #fff;
    z-index: 999;
    right: -12px;
    top: -12px;
    border-radius: 50%;
    font-size: 15px;
    border: 2px solid #fff;
    line-height: 25px;
    -webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
    box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
}
.modal-open .gal-item button.close:focus{
    outline: none;
}
.modal-open .gal-item button.close span{
    position: relative;
    top: -3px;
    font-weight: lighter;
    text-shadow:none;
}
.gal-container .modal-dialogue{
    width: 80%;
}
.gal-container .description{
    position: relative;
    height: 40px;
    top: -40px;
    padding: 10px 25px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    text-align: left;
}
.gal-container .description h4{
    margin:0px;
    font-size: 15px;
    font-weight: 300;
    line-height: 20px;
}
.gal-container .modal.fade .modal-dialog {
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    transform: scale(0.1);
    top: 100px;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.gal-container .modal.fade.in .modal-dialog {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translate3d(0, -100px, 0);
    transform: translate3d(0, -100px, 0);
    opacity: 1;
}
@media (min-width: 768px) {
.gal-container .modal-dialog {
    width: 60%;
    margin: 50 auto; 
}
}
@media (max-width: 768px) {
    .gal-container .modal-content{
        height:250px;
        margin-top: 50px;
    }
}






