// main: style.scss

/* Jetpack */
.entry-content {
    div.sharedaddy h3.sd-title, #jp-relatedposts h3.jp-relatedposts-headline {
        font-family: $font__main;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 2px;
        margin-bottom: 15px;
        text-transform: uppercase;
    }
    .jp-relatedposts-post-img {
        margin-bottom: 10px;
    }
    div.sharedaddy h3.sd-title::before,
    #jp-relatedposts h3.jp-relatedposts-headline:before {
        border-top-color: $color__border;
    }
}
.content-area {
    #infinite-handle span {
        color: #FFFFFF;
        background: #000000;
        @include rem('padding', 8px 24px 9px);
        @include border-radius(3px);
        button {
            font-size: 12px;
    		text-transform: uppercase;
            &:hover {
                font-size: 12px;
            }
        }
        &:hover {
            background: #444444;
        }
    }
}

#featured-content {
    margin-bottom: -10px;
}

.featured_posts .post {
    position: relative;
    &:hover .entry-header{
        //background: rgba(0, 0, 0, 0.6);
        //@extend .transition5;
    }
    .entry-thumbnail {
        margin-bottom: 0px;
        position: relative;
        z-index: 1;
        img {
            width: 100%;
            height: auto;
        }
    }
    .entry-header {
        position: absolute;
        bottom: 0px;
        z-index: 20;
        width: 100%;
        background: rgba(0, 0, 0, 0.4);
        padding: 20px;
        @include rem('padding', 18px 23px 23px);
        .featured-posts-cate {
            color: #FFF;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 5px;
            display: inline-block;
        }
        h2 {
            margin-bottom: 0px;
            font-size: 19px;
            line-height: 1.3;
            a {
                color: #FFF;
                &:hover {
                    text-decoration: underline;
                }
            }
        }
    }
}

/*
 * 	Core Owl Carousel CSS File
 */

/* clearfix */
.owl-carousel .owl-wrapper:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
/* display none until init */
.owl-carousel{
	display: none;
	position: relative;
	width: 100%;
	-ms-touch-action: pan-y;
}
.owl-carousel .owl-wrapper{
	display: none;
	position: relative;
	-webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer{
	overflow: hidden;
	position: relative;
	width: 100%;
}
.owl-carousel .owl-wrapper-outer.autoHeight{
	-webkit-transition: height 500ms ease-in-out;
	-moz-transition: height 500ms ease-in-out;
	-ms-transition: height 500ms ease-in-out;
	-o-transition: height 500ms ease-in-out;
	transition: height 500ms ease-in-out;
}

.owl-carousel .owl-item{
	float: left;
}
.owl-controls .owl-page,
.owl-controls .owl-buttons div{
	cursor: pointer;
}
.owl-controls {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* mouse grab icon */
.grabbing {
    cursor:url(grabbing.png) 8 8, move;
}

/* fix */
.owl-carousel  .owl-wrapper,
.owl-carousel  .owl-item{
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility:    hidden;
	-ms-backface-visibility:     hidden;
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
}

/* // owl theme */
.owl-theme .owl-controls{
	margin-top: 10px;
	text-align: center;
}

/* Styling Next and Prev buttons */

.owl-theme .owl-controls .owl-buttons div{
	color: #FFF;
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
	margin: 5px;
	padding: 3px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	background: #869791;
	filter: Alpha(Opacity=50);/*IE7 fix*/
	opacity: 0.5;
}
/* Clickable class fix problem with hover on touch devices */
/* Use it for non-touch hover action */
.owl-theme .owl-controls.clickable .owl-buttons div:hover{
	filter: Alpha(Opacity=100);/*IE7 fix*/
	opacity: 1;
	text-decoration: none;
}

/* Styling Pagination*/

.owl-theme .owl-controls .owl-page{
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
}
.owl-theme .owl-controls .owl-page span{
	display: block;
	width: 12px;
	height: 12px;
	margin: 7px 4px 0px;
	filter: Alpha(Opacity=50);/*IE7 fix*/
	opacity: 0.5;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: #bbbbbb;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
	filter: Alpha(Opacity=100);/*IE7 fix*/
	opacity: 1;
}

/* If PaginationNumbers is true */

.owl-theme .owl-controls .owl-page span.owl-numbers{
	height: auto;
	width: auto;
	color: #FFF;
	padding: 2px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

/* preloading images */
.owl-item.loading{
	min-height: 150px;
	background: url(AjaxLoader.gif) no-repeat center center
}
