@import url('fonts.css');

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 320px;
    color: #000;
    overflow-y: scroll;
    /*background-color: #f1f1f1;*/
    background: url("/images/bg-body.png") repeat;
}

a {
    color:#000;
}

a:hover {
    text-decoration: none;
}

h1 {
    font-size:150%;
}
h2 {
    font-size:140%;
}
h3 {
    font-size:130%;
}
h4 {
    font-size:110%;
}

.cursor-default {
    cursor: default;
}

.bg-color {
    background-color: rgba(204, 204, 204, 0.4);
}

.fas {
    display: inline-block;
    min-width:24px;
}

/* ==================================main=================================== */

main {
    padding: 1.5rem 1.5rem 9rem !IMPORTANT;
    min-height:700px;
    border-bottom: 1px dotted #f6f6f6;
}

.section-gallery .container {
    margin-top: -6.5rem;
}

main > div > div > div > nav {
    position: relative;
    z-index: 1;
}

main > div > div > div > nav::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;  
    opacity: .9; 
    z-index: -1;
    /*background: url('/images/bg-menu.png');*/
    background-color: rgba(255,255,255,0.9);
}

main > div > div > div > nav,
main > div > div > div > nav::before {
    border-radius: 5px 5px 0 0;
    border: 1px solid transparent;
}

main > div > div > div > nav img {
    padding-top: 12px;
}

main a {
    /*color: #2C97CC;*/
    /*text-shadow: 1px 1px rgba(000,000,000, 0.5);*/
}

.contacts {
    font-size: 1.50rem;
    padding-left: 1rem;
}

.contacts .whatsapp{
    font-size: 1rem;
    cursor: default;
}

.menu {
    background: rgba(255,255,255, 0.7);
    max-height:500px;
    overflow-y:scroll;
}

.menu li {
    list-style: none;
    margin-bottom: 6px;
}

.menu li a {
    display: inline-block;
    width: 100%;
    border-bottom: 1px dotted #000;
}
.menu li a:hover{
    border-bottom: 1px solid #0056b3;
}

main #content {
    background-color: #FFF;
    background: rgba(255,255,255,0.9) url('/images/bg-content.png') repeat center;
    width:100%;
    text-shadow:0.2px 0.2px 0 #000;
}

main #content h1 {
    margin-bottom: 2rem;
}

main #content img {
    max-width: 100%;
    height: auto;
    padding: 12px;
}

.td30 {
    width:30%;
    vertical-align:middle !IMPORTANT;
}


table {
    font-size: 90%;
}

.contacts {
    font-size: 130%;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

/* =============================gallery============================== */
.section-gallery{
/*    background-color: #f1f1f1;*/
    /*min-height: 500px;*/
    padding: 1.5rem 0 0.5rem;
}

.gallery-item{
    margin-bottom: 20px;
}
.gallery a img{
    transition: all .5s;
}
.gallery a:hover img{
    box-shadow: 0 14px 30px -15px rgba(0,0,0,.75);
}


/* =============================carousel============================== */

.extension {
    padding-top: 20px;
    background: url('/images/bg-carousel.jpg') no-repeat center / cover;
}

.extension .carousel-item {
    min-height: 280px;
}

.extension .gallery-item {
    margin-bottom: 0;
}

.gallery-carousel {
    padding-left: 12px;
    padding-right: 80px;
    padding-top: 24px;
    padding-bottom:34px;
}

.gallery-carousel .gallery-item img {
    width:auto;
    max-width:170px;
    max-height:200px;
}

.extension .carousel-caption {
    width:80%;
    left:30%;
    bottom:0;
    top:20px;
}

.extension .carousel-caption a {
    
}

/* Extra Small Devices, Phones */
@media screen and (max-width : 450px) {

    .gallery a img{
        max-width:250px;
    }
    
}

@media screen and (max-width: 1200px) {
    
    .contacts {
        font-size: 110%;
    }
    
    .extension .carousel-caption {
        top: 0;
    }
    
}

@media screen and (max-width: 992px) {
    
    .contacts {
        font-size: 95%;
        max-width:220px;
        margin: auto;
    }
    
}

@media screen and (max-width: 768px) {
    .extension .carousel-caption {
        position: static;
        margin: 0 auto;
        width: 80%;
    }
    
    .gallery-carousel .gallery-item img {
        max-height: 170px;
        max-width: 170px;
        width: auto;
        height: auto;
    }
    
    .extension .gallery-carousel {
        padding: 0px 24px 54px;
    }
    
    .extension .carousel-item {
        min-height: 430px;
    }
}

@media screen and (max-width: 576px) {
    
    .contacts {
        font-size: 90%;
    }
    
    main {
        padding: 0 !IMPORTANT;
    }
    
    main .container-fluid .row {
        margin: 0;
    }
    
    main .container-fluid .row > div {
        margin: 0;
        padding: 0;
    }
    
    .section-gallery .container {
        margin-top: 0;
    }
    
    .extension .carousel-caption p {
        font-size: 90%;
    }
    
    main #content img {
        margin: 0 auto;
        float: none !important;
        text-align: center;
        display: block;
        padding-top: 0;
    }
    
    main #content h1 {
        margin-bottom: 1rem;
    }
    
}

@media screen and (max-width: 576px) {
    
    .extension .carousel-caption p {
        font-size: 80%;
    }
    
}
