.modal {
    margin-top: 80px;
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    text-align: center;
}

.modal-cont {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 30px;
}

.modal-dialog {
    max-width: 700px;
    width: auto;
}

.modal p {
    text-align: left;
}

.modal-body .thumbnail {
    background-color: transparent;
    border: 0px;
}

.slideanim {
    visibility: hidden;
}

.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}

@keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}

@media screen and (max-width: 768px) {
    .col-sm-4 {
        text-align: center;
        margin: 25px 0;
    }
    .btn-lg {
        width: 100%;
        margin-bottom: 35px;
    }
}

#galery {
    margin-top: 80px;
    padding: 10px;
}

.container-img {
    position: relative;
    width: 300px;
    min-height: 300px;
    max-height: 420px;
    float: left;
    z-index: 3;
    overflow: hidden;
    margin: 5px;
    background-color: #ffffff;
}

.img-rounded {
    border-radius: unset;
}

#galery img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 0px;
    margin: auto;
}

#galery img:hover {
    transform: scale(1.05, 1.05);
    cursor: pointer;
}

.foto-info {
    position: absolute;
    z-index: 56;
    height: 25%;
    width: 100%;
    color: black;
    padding: 5px;
    bottom: 0;
    left: 0px;
    font-size: 240%;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.foto-count {
    display: block;
    position: absolute;
    width: auto;
    height: auto;
    padding: 4px;
    z-index: 57;
    top: 5px;
    right: 10px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.5);
}

.foto-count:hover {
    color: red;
}

.foto-title,
h4.modal-title {
    padding: 5px;
    font-size: 14pt;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.foto-content {
    font-size: 9pt;
}

.modal-number {
    overflow: hidden;
    position: relative;
    width: 100%;
    border: 0px;
    min-height: 700px;
    background-color: transparent;
}

.close {
    visibility: hidden;
    color: red;
    font-size: 24pt;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.6;
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 150px;
    }
    body {
        background-size: auto;
    }
    .services {
        border-right: 0px;
    }
    .carousel-indicators {
        transform: rotate(0deg);
        left: 50%;
        text-align: unset;
        top: 0%;
    }
    .modal-number {
        min-height: 300px;
    }
    .container-img {
        float: none;
        margin: 10px auto;
    }
    .close {
        visibility: visible;
    }
}