
/* CAROUSELS */

/* 

- TOP PARENT
- DEFAULT CAROUSEL STYLES
	- arrows
	- dots
	- play/pause
- SPECIFIC
	- nonhomepage
	- fullwidth
- MEDIA QUERIES
	- media query 768
	- media query 992
	- media query 1200
	
*/

/* TOP PARENT */

.view-carousel-tagged-block {
	margin-bottom: 20px;
	position: relative;
}

/* DEFAULT CAROUSEL STYLES */

.owl-theme {
	padding-top: 0;
	margin-top: 0;
	background: #fff;
	padding-bottom: 0;
	box-shadow: 0px 5px 10px 2px rgba(0,0,0,0.075);
	overflow: hidden;
	display: block;
}
.owl-theme.page-carousel {
	margin-bottom: 30px;
}
.owl-theme .block-item {
	margin-bottom: 0;
	box-shadow: none;
}
.owl-theme .container-wrapper {
	padding: 0;
	margin: 0;
}
.owl-theme .container-wrapper .container {
	padding: 0;
}
.owl-theme .container-image {
	background: #006695;
}
.owl-theme .block-item .overlay {
	top: -20px;
}
.owl-theme .block-item .text {
	min-height: auto;
	padding: 25px 20px 55px 20px;
}
.owl-theme .block-item .text .title {
	font-size: 1.85em;
	font-weight: 700;
	margin-bottom: 10px;
}
.owl-theme .block-item .text .title a {
	color: #2c2d2d;
}
.owl-theme .block-item .text .title a:hover {
	color: #0180a5;
}
.owl-theme .block-item .text p {
	font-size: 1.28em;
	line-height: 22px;
	color: #2c2d2d;
}
.owl-theme .block-item .text p a:hover {
	color: #013a54;
}

/* Arrows (owl-nav) */

.owl-theme .owl-nav {
	margin: 0;
}
.owl-theme .owl-nav [class*=owl-] {
	position: absolute;
	top: 5%; /* default */
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
}
.owl-theme .owl-nav [class*=owl-], 
.owl-theme .owl-nav [class*=owl-]:hover {
	background-color: transparent;
}

/* Homepage Arrows */

.homepage-carousels .owl-theme .owl-nav [class*=owl-] {
	top: 5%;
}
@media only screen and (min-width : 480px) {
	.homepage-carousels .owl-theme .owl-nav [class*=owl-] {
		top: 15%;
	}
}
@media only screen and (min-width : 768px) {
	.homepage-carousels .owl-theme .owl-nav [class*=owl-] {
		top: 20%;
	}
}
@media only screen and (min-width : 992px) {
	.homepage-carousels .owl-theme .owl-nav [class*=owl-] {
		top: 27%;
	}
}

/* Medium Arrows */

.non-homepage-carousels .owl-theme .owl-nav [class*=owl-] {
	top: 10%;
}
@media only screen and (min-width : 320px) {
	.non-homepage-carousels .owl-theme .owl-nav [class*=owl-] {
		top: 15%;
	}
}
@media only screen and (min-width : 480px) {
	.non-homepage-carousels .owl-theme .owl-nav [class*=owl-] {
		top: 25%;
	}
}
@media only screen and (min-width : 992px) {
	.non-homepage-carousels .owl-theme .owl-nav [class*=owl-] {
		top: 30%;
	}
}

/* Full Width Arrows */

.fullwidth-carousels .owl-theme .owl-nav [class*=owl-] {
	top: 7%;
}
@media only screen and (min-width : 320px) {
	.fullwidth-carousels .owl-theme .owl-nav [class*=owl-] {
		top: 9%;
	}
}
@media only screen and (min-width : 480px) {
	.fullwidth-carousels .owl-theme .owl-nav [class*=owl-] {
		top: 17%;
	}
}
@media only screen and (min-width : 768px) {
	.fullwidth-carousels .owl-theme .owl-nav [class*=owl-] {
		top: 27%;
	}
}
@media only screen and (min-width : 992px) {
	.fullwidth-carousels .owl-theme .owl-nav [class*=owl-] {
		top: 30%;
	}
}
@media only screen and (min-width : 1200px) {
	.fullwidth-carousels .owl-theme .owl-nav [class*=owl-] {
		top: 38%;
	}
}

.owl-theme .owl-nav .owl-prev {
	left: 10px;
}
.owl-theme .owl-nav .owl-next {
	right: 10px;
}
.owl-theme .owl-nav .owl-prev .arrow-left, 
.owl-theme .owl-nav .owl-next .arrow-right {
    display: inline-block;
    width: 40px;
    height: 60px;
    background-size: 40px 60px;
    background-position: center;
    background-repeat: no-repeat;
}
.owl-theme .owl-nav .owl-prev .arrow-left {
    background-image: url(/themes/portseattle/img/leftangel.svg);
}
.owl-theme .owl-nav .owl-next .arrow-right {
    background-image: url(/themes/portseattle/img/rightangel.svg);
}

/* Dots (owl-dots) */

.owl-theme .owl-dots {
	text-align: left;
	display: inline-block;
    position: absolute;
    left: 90px;
    bottom: 2px;
}
.owl-theme .owl-dots .owl-dot span {
    width: 18px !important;
    height: 18px !important;
    border: 4px solid #88d5ef !important;
	background: transparent !important;
	margin: 5px;
}
.owl-theme .owl-dots .owl-dot.active span {
    background: #88d5ef !important;
}

/* Play/Pause (carousel-btn) */
/* this does not exist within the owl-theme, but outside of it */

.carousel-btn {
    text-align: left;
    display: inline-block;
    position: absolute;
    left: 20px;
    bottom: 10px;
    z-index: 3;
}
.carousel-btn .carousel-pause, 
.carousel-btn .carousel-play {
	z-index: 3;
	font-size: 1.2em;
    text-transform: uppercase;
    color: #005172;
    cursor: pointer;
}
.carousel-btn .carousel-play {
    display: none;
}
.carousel-btn .carousel-pause .fa-pause, 
.carousel-btn .carousel-play .fa-play {
    color: #88d5ef;
    margin-right: 3px;
}

/* SPECIFIC CAROUSEL STYLES */

/* non-homepage (medium) */

.non-homepage-carousels .container-carousel .container-text {
    background: rgba(255,255,255,.65);
}
.non-homepage-carousels .container-carousel .block-item .overlay-tl {
    left: 15px;
}
.non-homepage-carousels .container-carousel .block-item .title {
    font-size: 1.5em;
    margin-bottom: 0;
}

/* fullwidth */

.fullwidth-carousels.non-homepage-carousels .owl-theme .block-item .text {
    width: 100%;
    padding-bottom: 55px;
}
.fullwidth-carousels.non-homepage-carousels .carousel-btn {
    text-align: left;
    left: 20px;
    bottom: 10px;
}
.fullwidth-carousels.non-homepage-carousels .owl-theme .owl-dots {
    left: 90px;
    bottom: 2px;
    text-align: left;
}
.fullwidth-carousels .container-carousel .container-wrapper .container {
	width: 100%;
}
.fullwidth-carousels .owl-carousel .owl-nav .owl-prev {
    left: 0;
}

/* MEDIA QUERIES */

@media only screen and (min-width: 768px) {	
    
	/* homepage */
	
	.homepage-carousels .container-carousel .block-item .text {
		width: 70%;
		padding-bottom: 0;
	}
	.homepage-carousels .owl-dots, .homepage-carousels .carousel-btn {
        margin: 0 auto;
        width: 750px;
		text-align: right;
		display: block;
		position: relative;
		bottom: 130px;
    }
    .homepage-carousels .owl-dots {
		right: 0;
		left: auto;
		padding-right: 75px;
		margin-top: 0;
    }
    .homepage-carousels .carousel-btn {
		left: 0;
		padding-right: 0;
    }
    .homepage-carousels .carousel-btn .carousel-pause, 
	.homepage-carousels .carousel-btn .carousel-play {
        margin-right: 0;
		position: relative;
		top: -30px;
		right: 0;
		z-index: 3;
		font-size: 1.2em;
		text-transform: uppercase;
		color: #005172;
		cursor: pointer;
    }
	
	/* non-homepage (medium) */
	
	.non-homepage-carousels .owl-theme .block-item .text {
		width: 80%;
		padding-bottom: 25px;
	}
	.non-homepage-carousels .owl-theme .owl-dots {
		left: auto;
		right: 90px;
		bottom: 17px;
		text-align: right;
	}
	.non-homepage-carousels .carousel-btn {
		left: auto;
		right: 20px;
		bottom: 24px;
		text-align: right;
	}
	
	/* fullwidth */
	
	.fullwidth-carousels.non-homepage-carousels .owl-theme .block-item .text {
		width: 100%;
	}
}

@media only screen and (min-width: 992px) {
    .homepage-carousels .owl-dots, .homepage-carousels .carousel-btn {
        width: 970px;
		bottom: 100px;
    }
}

@media only screen and (min-width: 1200px) {
	
	/* homepage */
	
	.homepage-carousels .container {
		width: 1140px;
	}
	.homepage-carousels .owl-dots, .homepage-carousels .carousel-btn {
        width: 1140px;
    }
	
	/* non-homepage (medium) */
	
	.non-homepage-carousels .container-carousel .container-text {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
	}
	
	/* fullwidth */
	
	.fullwidth-carousels .container-carousel .container-image {
		width: 70%;
		float: right;
	}
	.fullwidth-carousels .container-carousel .container-text {
		width: 30%;
		top: 0;
	}
	.fullwidth-carousels .container-carousel .block-item .title {
		margin-bottom: 10px;
		font-size: 1.7em;
		line-height: 1.2em;
	}
	.fullwidth-carousels .owl-carousel .owl-nav .owl-prev {
		left: 31%;
	}
}

/* GALLERY */

.gallery-carousel {
    position: relative;
}
.gallery-carousel .carousel-btn,
.gallery-carousel .carousel-caption {
	display: none;
}

/* Gallery Arrows */

@media only screen and (min-width : 320px) {
	.gallery-carousel .owl-theme .owl-nav [class*=owl-] {
		top: 30%;
	}
}
@media only screen and (min-width : 480px) {
	.gallery-carousel .owl-theme .owl-nav [class*=owl-] {
		top: 37%;
	}
}
@media only screen and (min-width : 992px) {
	.gallery-carousel .owl-theme .owl-nav [class*=owl-] {
		top: 40%;
	}
}

/* Media Gallery */

.media-gallery-carousel {
    margin-bottom: 30px;
}
.media-gallery-carousel .owl-theme {
	background: #eee;
	box-shadow: 0px 5px 10px 2px rgba(0,0,0,0.075);
	margin-bottom: 20px;
}
.media-gallery-carousel .owl-carousel .owl-item img {
    box-shadow: none;
    border-radius: 0;
	margin: 0;
}
.media-gallery-carousel .owl-thumbs {
	display: none;
}

/* Image Gallery */

.image-gallery-carousel {
    margin-bottom: 30px;
}
.image-gallery-carousel .owl-theme {
	background: #eee;
	box-shadow: 0px 5px 10px 2px rgba(0,0,0,0.075);
	margin-bottom: 20px;
}
.image-gallery-carousel .owl-carousel .owl-item img {
    box-shadow: none;
    border-radius: 0;
	margin: 0;
}
.image-gallery-carousel .owl-thumbs {
    padding: 0;
    margin: 0;
	text-align: center;
}
.image-gallery-carousel .owl-thumbs .owl-thumb-item {
	width: 100px;
	margin: 10px;
	display: inline-block;
}
.image-gallery-carousel .owl-thumbs .teaser-item {
    box-shadow: none;
	margin-bottom: 0;
}
.image-gallery-carousel .owl-thumbs .teaser-item .image img {
    border-radius: 0;
	border: 3px solid #0180a5;
	cursor: pointer;
}
.image-gallery-carousel .owl-thumbs .teaser-item .image img:hover {
	border-color: #005172;
}
.image-gallery-carousel .owl-thumbs .active .teaser-item .image img {
	border-color: #005172;
}
