﻿/*Use Bootstrap breakpoints for consistency.*/
$bootstrap-sm: 576px;
$bootstrap-md: 768px;
$bootstrap-lg: 992px;
$bootstrap-xl: 1200px;


/*Crop thumbnail images.*/
#gallery {
    img {
        height: 75vw;
        object-fit: cover;

        @media (min-width: $bootstrap-sm) {
            height: 35vw;
        }

        @media (min-width: $bootstrap-lg) {
            height: 18vw;
        }
    }
}


/*Crop images in the coursel*/
.carousel-item {
    img {
        width: 100vw;
        height: 100vw;
        object-fit: cover;

        @media (min-width: $bootstrap-sm) {
            height: 350px;
        }
    }
}

.modal-dialog {
    max-width: 800px !important;
}





/*-------------------------
	Simple reset
--------------------------*/


/** {
    margin: 0;
    padding: 0;
}*/

/*-------------------------
	Inline help tip
--------------------------*/


.help-tip {
    position: relative;
    top: 5px;
    right: 0;
    text-align: center;
    /*background-color: #BCDBEA;*/
    background-color: blueviolet;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    line-height: 26px;
    cursor: default;
    z-index: 1;
}

    .help-tip:before {
        content: '?';
        font-weight: bold;
        color: #fff;
    }

    .help-tip:hover p {
        display: block;
        transform-origin: 100% 0%;
        -webkit-animation: fadeIn 0.3s ease-in-out;
        animation: fadeIn 0.3s ease-in-out;
        top: -25px;
    }

    .help-tip p {
        display: none;
        text-align: left;
        background-color: #1E2021;
        padding: 20px;
        width: 300px;
        position: relative;
        border-radius: 3px;
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
        /*right: -4px;*/
        left: 30px;
        color: #FFF;
        font-size: 13px;
        line-height: 1.4;
    }

        .help-tip p:before {
            position: relative;
            content: '';
            width: 0;
            height: 0;
            border: 6px solid transparent;
            border-bottom-color: #1E2021;
            right: 10px;
            top: -30px;
        }

        .help-tip p:after {
            width: 100%;
            height: 40px;
            content: '';
            position: relative;
            top: -30px;
            left: 0;
        }

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    100% {
        opacity: 100%;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}
