/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.ff_gallery_wrp {
    position: relative;
}
.ff_gallery_wrp span.dashicons {
    position: absolute;
    top: 6px;
    right: 6px;
    color: yellow;
    cursor: pointer;
    font-size: 24px;
    z-index: 500;
    transition: transform 0.3s ease;
}
.ff_gallery_wrp span.dashicons:hover,
.ff_gallery_wrp span.dashicons:focus {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}
.ff_gallery_wrp .owl-dots .owl-dot.active {
    background-color: #fff;
}
.ff_gallery_wrp .owl-dots {
    display: block;
    position: absolute;
    bottom: 10px;
    left: calc(50% - 40px);
}
.ff_gallery_wrp .owl-dots .owl-dot {
    content: " ";
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background: #888;
    border: 1.5px solid #000;
    display: inline-block;
    margin: 0 5px;
    transition: transform 0.2s ease;
}
.ff_gallery_wrp .owl-dots .owl-dot:hover,
.ff_gallery_wrp .owl-dots .owl-dot:focus {
	transform: scale(1.3);
    transition: transform 0.2s ease;
}
.ff_gallery_wrp .owl-nav .owl-prev {
	 float: left;
 }
.ff_gallery_wrp .owl-nav .owl-next {
	 float: right;
 }
.ff_gallery_wrp  .owl-dots {
    text-align: center;
}
.ff_gallery_wrp  #play_and_pause_wrp {
	position: absolute;
    bottom: 7px;
    z-index: 99999;
    right: 0;
}
.ff_gallery_wrp  #play_and_pause_wrp .dashicons {
    margin: 2px;
    color: #fff;
    font-size: 16px;
    line-height: 26px;
    padding: 0px 3px 0 3px;
    cursor: pointer;
    user-select: none;
	box-sizing: border-box;
    transition: transform 0.2s ease;
    text-shadow: 0px 0px 15px #000;
}
.ff_gallery_play:hover {
    text-decoration: none;
}
.ff_gallery_wrp #play_and_pause_wrp i.active {
	color: red;
}
.ff_gallery_wrp #play_and_pause_wrp .dashicons:hover,
.ff_gallery_wrp #play_and_pause_wrp .dashicons:focus {
    transform: scale(1.3);
    transition: transform 0.2s ease;
}
.ff_gallery_wrp .owl-nav .owl-prev,
.ff_gallery_wrp .owl-nav .owl-next {
    font-size: 20px;
	margin: 0 10px;
	transition: transform 0.3s ease;
}
.ff_gallery_wrp .owl-nav .owl-next {
    margin: 0 10px;
}
.ff_gallery_wrp .owl-nav .owl-prev {
    margin: 0 20px;
}
.ff_gallery_wrp .owl-nav .owl-prev:hover,
.ff_gallery_wrp .owl-nav .owl-prev:focus,
.ff_gallery_wrp .owl-nav .owl-next:hover,
.ff_gallery_wrp .owl-nav .owl-next:focus {
    transform: scale(1.3);
    transition: transform 0.3s ease;
}
.ff_gallery_wrp .owl-nav {
    position: absolute;
    width: 100%;
    bottom: calc(50% - 14px);
    color: #fff;
    text-shadow: 5px 0px 15px #000;
}
.ff_gallery_wrp .owl-stage-accessabilty-active {
    transform: none !important; 
    width: 100% !important;
}
.ff_gallery_wrp .owl-stage-outer-accessabilty-active {
    /*overflow: visible !important;*/
}
.ff_gallery_wrp .owl-item--accessabilty-active {
    margin-bottom: 20px;
}
.ff_gallery_wrp .owl-item .item {
    position: relative;
}
.ff_gallery_wrp .owl-item item:focus {
    border: 1px solid #000;
}
.ff_gallery_wrp .owl-carousel.owl-loaded {
    direction: ltr;
}
.ff_gallery_wrp .item-text-wrapper {
    position: absolute;
    bottom: 0;
    top: initial;
    left: 0;
    max-width: 250px;
    padding: 0 20px;
}
.ff_gallery_wrp .item-text-wrapper.dark {
    background: rgba(0,0,0,0.6);
    color: #fff;
}
.ff_gallery_wrp .item-text-wrapper.light {
    background: rgba(255,255,255,0.7);
    color: #000;
}
.ff_gallery_wrp .item-text-wrapper h2 {
    font-size: 17px;
    text-align: left;
}
.ff_gallery_wrp .item-text-wrapper p {
    font-size: 14px;
    text-align: left;
    max-height: 0;
    margin: 0;
    transition: max-height 0.3s ease-in;
}
.ff_gallery_wrp .item-text-wrapper.dark h2,
.ff_gallery_wrp .item-text-wrapper.dark p {
    color: #fff;
}
.ff_gallery_wrp .item-text-wrapper.light h2,
.item-text-wrapper.light p {
    color: #000;
}
.ff_gallery_wrp .item-text-wrapper:focus {
    border: 1px solid #000;
}
.ff_gallery_wrp .item-text-wrapper:hover > p,
.ff_gallery_wrp .item-text-wrapper:focus > p {
    max-height: 150px;
}
.ff_gallery_wrp .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.ff_gallery_wrp .owl-item.cloned.owl-item--accessabilty-active {
    display: none;
}
.ff_gallery_wrp .skip-gallery {
    font-size: 0;
    position: absolute;
    left: 0;
    top: 0;
}
.ff_gallery_wrp .skip-gallery:focus {
    font-size: 18px;
    color: red;
    z-index: 999;
    background: #fff;
    border: 1px dotted #000;
}
.ff_gallery_wrp .owl-item:not(.active):not(.owl-item--accessabilty-active) {
    opacity: 0;
}
.ff_gallery_wrp .owl-item.owl-item--accessabilty-active {
    max-width: 100% !important;
    overflow: hidden;
}
.ff_gallery button.owl-thumb-item {
    display: inline-block;
    width: 100px;
    padding: 0;
}
.ff_gallery .owl-thumbs {
    position: relative;
    width: 100%;
    text-align: center;
    bottom: 0;
}

.ff_gallery button.owl-thumb-item img {
    display: block;
    max-width: 100%;
    height: auto;
}
@media (max-width: 670px) {
    .ff_gallery_wrp .item-text-wrapper {
        display: none;
    }
}
