/* Animate
------------------------------------------------------------ */

.bee-ani {
}

/* fade */
.bee-ani.bee-ani-fade {
    opacity: 0;
    transition: opacity .6s ease;
}
.bee-ani.bee-ani-fade.bee-ani-in{
    opacity: 1;
}

/* fade left/right */
.bee-ani.bee-ani-fadeLeft {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.bee-ani.bee-ani-fadeRight {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity .6s ease, transform .6s ease;
}
.bee-ani.bee-ani-fadeLeft.bee-ani-in,
.bee-ani.bee-ani-fadeRight.bee-ani-in{
    opacity: 1;
    transform: translateX(0);
}

/* fade down/up */
.bee-ani.bee-ani-fadeDown {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity .6s ease, transform .6s ease;
}
.bee-ani.bee-ani-fadeUp {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.bee-ani.bee-ani-fadeDown.bee-ani-in,
.bee-ani.bee-ani-fadeUp.bee-ani-in{
    opacity: 1;
    transform: translateY(0);
}

/* scale down/up */
.bee-ani.bee-ani-scaleDown {
    opacity: 0;
    transform: scale(1.1);
    transition: opacity .6s ease, transform .6s ease;
}
.bee-ani.bee-ani-scaleUp {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity .6s ease, transform .6s ease;
}
.bee-ani.bee-ani-scaleDown.bee-ani-in,
.bee-ani.bee-ani-scaleUp.bee-ani-in{
    opacity: 1;
    transform: scale(1);
}


/* CAROUSEL
------------------------------------------------------------ */

[data-bee-carousel]:not(.owl-loaded):not(.owl-detached) > div:not(:first-child),
[data-bee-carousel]:not(.owl-loaded):not(.owl-detached) > .owl-item:not(:first-child) {
    display: none;
}

/* nav */
.owl-carousel .owl-nav {
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
}
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    pointer-events: all;
    color: rgba(0,0,0,0.6) !important;
    display: block;
    margin-top: -18px !important;
    margin: 0;
    outline: none !important;
    padding: 0;
    position: absolute;
    top: 50%;
    width: 32px;
    height: 32px;
    z-index: 20;
}
.owl-carousel .owl-nav .owl-prev svg,
.owl-carousel .owl-nav .owl-next svg {
    width: 100%;
    height: 100%;
}
.owl-carousel .owl-nav .owl-prev {
    left: 15px;
}
.owl-carousel .owl-nav .owl-next {
    right: 15px;
}
.owl-carousel .owl-nav .owl-prev path,
.owl-carousel .owl-nav .owl-next path{
  fill: #999;
  transition: l .2s ease;
}
html.no-touch .owl-carousel .owl-nav .owl-prev:hover path, 
html.no-touch .owl-carousel .owl-nav .owl-next:hover path {
  fill: #000
}

/* dots */
.owl-carousel .owl-dots {
    text-align: center;
}
.owl-carousel .owl-dots button {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    cursor: pointer;
}
.owl-carousel .owl-dots button + button {
    margin-left: 8px;
}
.owl-carousel .owl-dots button span {
    display: block;
    position: relative;
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: #EEE;
    outline: none;
}
.owl-carousel .owl-dots button.active span {
    background-color: #DDD;
}


/* Dialog
------------------------------------------------------------ */

.bee-dialog {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0);
    z-index: 9999;
    transition: background-color .6s ease;
}
.bee-dialog .bee-dialog-inner {
    display: block;
    position: relative;
    width: auto;
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
    border-radius: 12px;
    background-color: #FFF;
    box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity .3s ease, transform .3s ease;
}
.bee-dialog.bee-dialog-np .bee-dialog-inner{
    padding: 0;
}
.bee-dialog.bee-dialog-size-xs .bee-dialog-inner{
    max-width: 300px;
}
.bee-dialog.bee-dialog-size-md .bee-dialog-inner{
    max-width: 900px;
}
.bee-dialog.bee-dialog-size-lg .bee-dialog-inner{
    max-width: 1200px;
}
.bee-dialog .bee-dialog-inner h1:first-child,
.bee-dialog .bee-dialog-inner h2:first-child,
.bee-dialog .bee-dialog-inner h3:first-child,
.bee-dialog .bee-dialog-inner h4:first-child,
.bee-dialog .bee-dialog-inner h5:first-child,
.bee-dialog .bee-dialog-inner h6:first-child {
    margin-top: 0;
}
.bee-dialog .bee-dialog-inner .bee-dialog-close {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;    
    height: 18px;
    background: none;
    border: none;
    outline: none !important;
    cursor: pointer;
}
.bee-dialog .bee-dialog-inner .bee-dialog-close:before,
.bee-dialog .bee-dialog-inner .bee-dialog-close:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #CCC;
}
.bee-dialog .bee-dialog-inner .bee-dialog-close:before {
    transform: rotate(-45deg);
}
.bee-dialog .bee-dialog-inner .bee-dialog-close:after {
    transform: rotate(45deg);
}
.bee-dialog .bee-dialog-inner .bee-dialog-foot {
    margin-top: 15px;
    border-top: 1px solid #EEE;
    padding-top: 15px;
    text-align: right;
}
.bee-dialog .bee-dialog-inner .bee-dialog-foot .btn {
    padding: 6px 20px;
}
.bee-dialog .bee-dialog-inner .bee-dialog-foot .btn + .btn {
    margin-left: 5px;
}
.bee-dialog.bee-dialog-in {
    background-color: rgba(0,0,0,0.2);
}
.bee-dialog.bee-dialog-in .bee-dialog-inner {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 767px){
    .bee-dialog .bee-dialog-inner {
        width: auto;
        max-width: 100%;
        margin: 15px;
        box-shadow: none;
    }
    .bee-dialog.bee-has-close .bee-dialog-inner{
        padding-top: 44px;
    }
    .bee-dialog .bee-dialog-inner .bee-dialog-close {
        width: 24px;
        height: 24px;
        font-size: 22px;
        line-height: 24px;
        top: 10px;
        right: 10px;
    }
}


/* Document Lock
------------------------------------------------------------ */

.bee-document-lock {
    overflow: hidden !important;
    -webkit-overflow-scrolling: touch;
}
.bee-document-lock body {
    overflow: hidden !important;
}


/* Lazy
------------------------------------------------------------ */

img[data-bee-lazy] {
    opacity: 0;
}


/* Lightbox
------------------------------------------------------------ */

.bee-lightbox {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: background-color .6s ease;
    z-index: 6000;
}
.bee-lightbox.bee-lightbox-loading:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
    background-image: url(images/loading.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0,0,0,0.8);
    border-radius: 10px;
}
.bee-lightbox .bee-lightbox-container {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: transform .4s ease;
}
.bee-lightbox.bee-lightbox-swipe,
.bee-lightbox.bee-lightbox-swipe .bee-lightbox-container {
    transition: none;
}

/* item */
.bee-lightbox .bee-lightbox-item {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    align-content: center;
    justify-content: center;
    padding: 20px;
}
.bee-lightbox .bee-lightbox-item.bee-lightbox-item-current {
    z-index: 20;
}
.bee-lightbox .bee-lightbox-item.bee-lightbox-item-prev,
.bee-lightbox .bee-lightbox-item.bee-lightbox-item-next {
    z-index: 10;
}
.bee-lightbox .bee-lightbox-item .bee-lightbox-item-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .6s ease, transform .6s ease;
}
.bee-lightbox .bee-lightbox-item .bee-lightbox-item-inner .bee-lightbox-item-content{
    display: flex;
    position: relative;
    flex: -1 1 100%;
    width: 100%;
    margin: 0;
    align-items: center;
    overflow: hidden;
}
.bee-lightbox .bee-lightbox-item .bee-lightbox-item-inner .bee-lightbox-item-content img {
    display: block;
    position: relative;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    z-index: 10;
    object-fit: contain;
}
.bee-lightbox .bee-lightbox-item .bee-lightbox-item-inner .bee-lightbox-item-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.bee-lightbox .bee-lightbox-item .bee-lightbox-item-inner .bee-lightbox-item-bar {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
    font-family: Helvetica, sans-serif;
    font-size: 14px;
    color: #FFF;
    z-index: 5;
}
.bee-lightbox .bee-lightbox-item .bee-lightbox-item-inner .bee-lightbox-item-bar .bee-lightbox-item-page {
    text-align: right;
    flex: 1;
}
.bee-lightbox .bee-lightbox-item-control-prev,
.bee-lightbox .bee-lightbox-item-control-next {
    display: block;
    position: absolute;
    width: 30px;
    height: 50px;
    top: 50%;
    color: #FFF;
    font-size: 24px;
    line-height: 50px;
    margin-top: -20px;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    z-index: 200;
    opacity: 0;
    transition: opacity .6s ease;
}
.bee-lightbox .bee-lightbox-item-control-prev{
    left: 10px;
}
.bee-lightbox .bee-lightbox-item-control-next{
    right: 10px;
}

@media (max-width: 767px) {
    html.is-touch .bee-lightbox .bee-lightbox-item-control-prev,
    html.is-touch .bee-lightbox .bee-lightbox-item-control-next{
        display: none;
    }
}

.bee-lightbox .bee-lightbox-item-control-close {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;    
    height: 18px;
    background: none;
    border: none;
    outline: none !important;
    cursor: pointer;
    z-index: 800;
}
.bee-lightbox .bee-lightbox-item-control-close:before,
.bee-lightbox .bee-lightbox-item-control-close:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #FFF;
}
.bee-lightbox .bee-lightbox-item-control-close:before {
    transform: rotate(-45deg);
}
.bee-lightbox .bee-lightbox-item-control-close:after {
    transform: rotate(45deg);
}

/* thumbs */
.bee-lightbox .bee-lightbox-thumbs{
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    overflow: hidden;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity .6s ease, transform .6s ease;
}
.bee-lightbox .bee-lightbox-thumbs .bee-lightbox-thumbs-inner {
    display: block;
    position: relative;
    margin: 10px 0;
}
.bee-lightbox .bee-lightbox-thumbs .bee-lightbox-thumbs-inner:before,
.bee-lightbox .bee-lightbox-thumbs .bee-lightbox-thumbs-inner:after {
    content: '';
    display: table;
    width: 100%;
    height: 0;
    clear: both;
}
.bee-lightbox .bee-lightbox-thumbs .bee-lightbox-thumbs-inner .bee-lightbox-thumb {
    display: block;
    float: left;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity .3s ease;
}
.bee-lightbox .bee-lightbox-thumbs .bee-lightbox-thumbs-inner .bee-lightbox-thumb.active,
html.no-touch .bee-lightbox .bee-lightbox-thumbs .bee-lightbox-thumbs-inner .bee-lightbox-thumb:hover {
    opacity: 1;
}
.bee-lightbox .bee-lightbox-thumbs .bee-lightbox-thumbs-inner .bee-lightbox-thumb + .bee-lightbox-thumb {
    margin-left: 5px;
}
.bee-lightbox .bee-lightbox-thumbs.bee-lightbox-thumbs-ready .bee-lightbox-thumbs-inner {
    transition: transform .3s ease;
}

/* in */
.bee-lightbox.bee-lightbox-in {
    background-color: rgba(0,0,0,0.3);
}

/* show */
.bee-lightbox.bee-lightbox-show {
    background-color: rgba(0,0,0,0.6);
}
.bee-lightbox.bee-lightbox-show .bee-lightbox-item-current .bee-lightbox-item-inner {
    opacity: 1;
}
.bee-lightbox.bee-lightbox-show .bee-lightbox-thumbs {
    opacity: 1;
    transform: translateY(0);
}
html.is-touch .bee-lightbox.bee-lightbox-show {
    background-color: rgba(0,0,0,0.9);
}
.bee-lightbox.bee-lightbox-show .bee-lightbox-item-control-prev,
.bee-lightbox.bee-lightbox-show .bee-lightbox-item-control-next,
.bee-lightbox.bee-lightbox-show .bee-lightbox-item-control-close {
	opacity: 1;
}


/* OFFCANVAS
 * -------------------------------------------------- */

/* container */
.bee-offcanvas{
    display: none;

    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;

    padding: 0;
    margin: 0;

    background: rgba(0, 0, 0, 0.3);

    touch-action: none;

    z-index: 2000;
}
.bee-offcanvas .dropdown-backdrop {
    display: none;
}

/* bar */
.bee-offcanvas .bee-offcanvas-bar{
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 70%;
    max-width: 100%;

    background: #FFF;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -ms-scroll-chaining: none;

}
.bee-offcanvas .bee-offcanvas-bar.bee-offcanvas-bar-rtl {
    left: initial;
    right: 0;
}
.bee-offcanvas .bee-offcanvas-bar.bee-offcanvas-active {
    box-shadow: 2px 0 6px rgba(0,0,0,0.15);
}
.bee-offcanvas .bee-offcanvas-bar.bee-offcanvas-active.bee-offcanvas-bar-rtl {
    box-shadow: -2px 0 6px rgba(0,0,0,0.15);
}

/* close */
.bee-offcanvas .bee-offcanvas-bar .bee-offcanvas-close {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 22px;    
    height: 22px;
    background: none;
    border: none;
    outline: none !important;
    cursor: pointer;
}
.bee-offcanvas .bee-offcanvas-bar .bee-offcanvas-close:before,
.bee-offcanvas .bee-offcanvas-bar .bee-offcanvas-close:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #FFF;
}
.bee-offcanvas .bee-offcanvas-bar .bee-offcanvas-close:before {
    transform: rotate(-45deg);
}
.bee-offcanvas .bee-offcanvas-bar .bee-offcanvas-close:after {
    transform: rotate(45deg);
}


/* Notify
------------------------------------------------------------ */

.bee-notify-wrapper{
    display: block;
    position: fixed;
    z-index: 1500;
    bottom: 60px;
    left: 0;
    right: 0;
    padding: 0 15px;
    pointer-events: none;
    z-index: 999999;
}
.bee-notify-wrapper .alert {
    box-shadow: 2px 2px 4px rgb(0, 0, 0, 0.1);
    cursor: pointer;
    margin: 15px auto 0;
    max-width: 100%;
    position: relative;
    width: 600px;
    pointer-events:all;
}
.bee-notify-wrapper .alert p:last-of-type {
    margin-bottom: 0;
}
.bee-notify-wrapper .alert .btn-close {
    width: 50px;
    height: 50px;
    padding: 0 !important;
    top:50%;
    right: 0;
    transform: translateY(-50%);
    outline: none !important;
    box-shadow: none !important;
}
@media (max-width: 991px) {
    .bee-notify-wrapper {
        top: 15px;
        bottom: initial;
    }
}


/* Scroll
------------------------------------------------------------ */

[data-bee-scroll-top]{
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    right: 15px;
    bottom: 30px;
    padding: 0;
    margin: 0;
    
    border: none;
    border-radius: 50%;
    outline: none !important;
    background-color: #FFF;
    box-shadow: 1px 2px 3px rgba(0,0,0,0.1);
    
    overflow: hidden;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
}
[data-bee-scroll-top] svg {
    width: 24px;
    height: 24px;
    fill: #00487c;
}
[data-bee-scroll-top].bee-in{
    opacity: 1;
    transform: translateX(0);
}


/* Form Error
------------------------------------------------------------ */

.form-control.bee-error,
.select2.bee-error .select2-selection {
    border-color: #eb212e !important;
}
.bee-error-message,
.epp-ci .bee-error-message {
    display: block;
    position: absolute;
    padding: 6px 12px !important;
    color:#FFF;
    font-size: 12px !important;
    line-height: 1.2;
    background-color: #F00;
    z-index: 80;  
    top: 100%;
    right: 0;
    border-radius: 4px;
    margin-top: 5px;
}
.epp-ci .bee-error-message {
    right: 0;
}