﻿#main:after {
    content: "";
    display: block;
    clear: both;
}

body {
    line-height: 1.2;
    overflow: auto;
}

.btn-primary {
    color: #fff;
    background-color: #8ec641;
    border-color: #8ec641;
}

.thumb {
    width: 130px;
    height: 130px;
    margin: 5px;
    float: left;
}

.thumbBK {
    background-position: center top;
    background-size: 130px;
    border: 1px solid #ccc;
    background-repeat: no-repeat
}


/*modal*/
.fade.in {
    opacity: 1;
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .5;
}

/*chat*/
.text-small {
    font-size: 0.9rem;
}

.messages-box,
.chat-box {
    height: 510px;
    overflow-y: scroll;
}

.rounded-lg {
    border-radius: 0.5rem;
}

/* Cookie Modal */
.cookieModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

/* Modal Content */
.cookieModal-content {
    position: fixed;
    bottom: 0;
    background-color: #fefefe;
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}

/* The Close Button */
.cookieModalclose {
    color: #17a2b8;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .cookieModalclose:hover,
    .cookieModalclose:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.cookieModal-header {
    padding: 2px 16px;
    background-color: #fefefe;
    color: black;
}

.cookieModal-body {
    padding: 2px 16px;
}

.cookieModal-footer {
    padding: 2px 16px;
    background-color: #fefefe;
    color: black;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@media (max-width: 960px) {
    .thumb {
        width: 150px;
        height: 150px;
        margin: 5px;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .thumbBK {
        background-position: center top;
        background-size: 150px;
        border: 1px solid #ccc;
        background-repeat: no-repeat
    }
}

@media (max-width: 1370px) {
    .thumb {
        width: 100px;
        height: 100px;
        margin: 5px;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .thumbBK {
        background-position: center top;
        background-size: 100px;
        border: 1px solid #ccc;
        background-repeat: no-repeat
    }
}

.hrStandard {
    border-color: #E6E6E6;
}

.imgHome {
    max-width: 100%;
    max-height: 100%;
}

.imgHome-sel {
    max-width: 100%;
    max-height: 100%;
    padding: 2px;
    border: 3px solid darkgray;
}
