/* 
  -----------------------------------
  Image Rotator Magic 2
  by Project Seven Development
  www.projectseven.com
  Style Theme: 1 - Basic
  -----------------------------------
*/

/* fix suggested by Gerry Jacobsen, P7, to remedy "bounce" at image sequence change. 042924 */
.p7IR2, 
.p7IR2 * {
	box-sizing:border-box;
}

.p7ir2-list {
	display: none;	
}

.p7IR2-01 {
	padding: 0;
	margin: 0;
	position: relative;
}

.p7IR2-01.rounded {
	overflow: hidden;
	border-radius: 6px;
}
.p7IR2-01.shadow {box-shadow: 0px 0px 6px rgba(7,19,54,.75);}
.p7IR2-01.border-dark {border: 1px solid rgba(0,0,0,.5);}
.p7IR2-01.border-light {border: 1px solid #071336;}

.p7ir2-box.shadow {box-shadow: 1px 2px 8px rgba(7,19,54,.75);}
.p7ir2-box.border-light {border: 1px solid #071336;}

.p7ir2-box-wrapper {
	padding: 0;
	margin: 0;
	position: relative;
}

.p7ir2-box {
	overflow: hidden;
	padding: 0;
	margin: -1px 0px !important; /* closes gap at top and bottom of banner photo */
	position: relative;	
	background-color: #000;
}

.p7ir2-slide {
	position:relative;
	padding:0;
	margin:0;
	width: 100%;
}
.p7ir2-link {
	padding:0px;
	margin: 0;
	border:0;
	display:block;
}

.p7ir2-image {
	display: block;
	border:0;
	width: 100% !important;
	height: auto;
	max-width: 100%;
}


/* --------------------- Paginator -------------------------------- */
.p7ir2-paginator {
	text-transform: uppercase;
	text-align: center;
	padding: 10px 0;
	background-color: #000;
	text-align: center;
	font-size: 0px;
	display: none; 
}
.p7ir2-paginator.light { background-color: #E1E1E1; }

.p7ir2-paginator:after {
	content: "";
	display: table;
	clear: both;
}
.p7ir2-paginator ul {
	margin: 0px;
	padding: 0px;
	display: inline-block;
}
.p7ir2-paginator li {
	list-style-type: none;
	margin-right: 6px;
	float: left;
}
.p7ir2-paginator a {
	text-decoration: none;
	display: block;
	outline: none;
	background-color: #999;
	width: 12px;
	height: 12px;
	overflow: hidden;
}
.p7ir2-paginator.light a { background-color: #000;}
.p7ir2-paginator.circle a {
	border: none;
	border-radius: 50%;
}
.p7ir2-paginator a:hover, .p7ir2-paginator a:focus { background-color: #FFF; }
.p7ir2-paginator.light a:hover, .p7ir2-paginator.light a:focus { background-color: #39C; }
.p7ir2-paginator a.down {
	background-color: #FFF;
	cursor: default;
}
.p7ir2-paginator.light a.down {background-color: #39C;}
.p7ir2-paginator a.play, .p7ir2-paginator a.pause {
	margin-right: 0px;
	margin-left: 12px;
	transform: scale(1.5);
	background-image: url(img/p7IR2-pause-light.png);
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: contain;
	background-color: transparent !important;
	border: none;
	opacity: .7;
}
.p7ir2-paginator.dark a.play, .p7ir2-paginator.dark a.pause {background-image: url(img/p7IR2-pause-dark.png);}
.p7ir2-paginator a.play {background-image: url(img/p7IR2-play-light.png);}
.p7ir2-paginator.dark a.play {background-image: url(img/p7IR2-play-dark.png);}

.p7ir2-paginator a.play:hover, .p7ir2-paginator a.play:focus, .p7ir2-paginator a.pause:hover, .p7ir2-paginator a.pause:focus { 
	background-color: transparent !important;
	opacity: 1;
}

/* --------------------- Description presentation rules ----------------------------- */
.p7ir2-description {
	position: absolute;
	border-radius: 5px;
	max-width: 50%;
	max-height: 60%;
	overflow: auto;
	/* background: rgba(160,35,25,.7);
	border: 1px solid rgba(255,255,255,.7); */
	background: rgb(18,47,131);
	background: linear-gradient(0deg, rgba(0,0,0,.3) 0%, rgba(18,47,131,.85) 7%, rgba(18,47,131,.85) 93%, rgba(255,255,255,.3) 100%);
	color: #F4F7F9;
	font-size: 1.3em;
	padding: 0.3em 0.8em 0.3em 0.8em;
}

.p7ir2-banners { /* this modifies elements of p7ir2-description (called by p7IR2scripts.js for class p7ir2_desc) for better appearance with banners. */
	/* border-radius: 4px;
	max-width: 40%;
	max-height: 60%;
	background: rgba(251,250,248,0.9);
	border: 1px solid #FBFAF8;
	color: #222222;
	font-size: 1.4em;
	padding: 0.25em 0.5em 0.25em 0.5em; */
}

/* Descrption Position Rules */

.p7ir2-description.under-image {
	max-width: none;
	max-height: none;
	padding: 10px;
	font-size: 0.9em;
	text-align: left;
	position: relative;
}

.p7ir2-description.top-left {
	top: 15%;
	left: 20px;
}
.p7ir2-description.top-right {
	top: 15%;
	right: 20px;
	left: auto;
	bottom: auto;
}
.p7ir2-description.bottom-left {
	top: auto;
	bottom: 15%;
	left: 1em;
	right: auto;
}
.p7ir2-description.bottom-right {
	top: auto;
	bottom: 25%;
	left: auto;
	right: 25px;
}


/* Slide from Left 3-State animations
   for left aligned descriptions */
.p7ir2-description.trans-left {
	-webkit-transition: all 1.0s ease .8s;
	transition: all 1.0s ease .8s;
	opacity: 0;
}
.p7ir2-description.top-left.trans-left,
.p7ir2-description.bottom-left.trans-left {
	margin-left: -300px;
}
.current-slide .p7ir2-description.top-left.trans-left,
.current-slide .p7ir2-description.bottom-left.trans-left {
	margin-left: 0;
	opacity: 1;
}
.closed-slide .p7ir2-description.top-left.trans-left,
.closed-slide .p7ir2-description.bottom-left.trans-left {
	margin-left: 300px;
	opacity: 0;
	-webkit-transition-delay: .1s;
	transition-delay: .1s;
}
/* Slide from Left 3-State animations
   for right aligned descriptions */
.p7ir2-description.top-right.trans-left,
.p7ir2-description.bottom-right.trans-left {
	margin-right: 300px;
}
.current-slide .p7ir2-description.top-right.trans-left,
.current-slide .p7ir2-description.bottom-right.trans-left {
	margin-right: 0px;
	opacity: 1;
}
.closed-slide .p7ir2-description.top-right.trans-left,
.closed-slide .p7ir2-description.bottom-right.trans-left {
	margin-right: -300px;
	opacity: 0;
	-webkit-transition-delay: .1s;
	transition-delay: .1s;
}

/* --------------------- loading image ---------------------------- */

.p7ir2-loading {
    background-color: #fff;
    background-image: url("img/p7ir2_loading.gif");
    border-radius: 8px;
    box-shadow: 0 0 30px #000;
    display: none;
    height: 50px;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    opacity: 0.6;
    position: absolute;
    top: 50%;
    width: 50px;
    z-index: 99999999;
}

@media only screen and (min-width: 0px) and (max-width: 960px) {
.p7ir2-image {
    height: 100%;
}
.p7ir2-banners {
	font-size: .9em;
}

.p7ir2-description {
	font-size: .9em;
	padding: 0.2em 0.5em 0.2em 0.5em;
}
.p7ir2-description.bottom-right {
	bottom: 35%;
}


}

@media only screen and (min-width: 0px) and (max-width: 460px) {

.p7ir2-description {
	display: none !important;
}


}
