div.program-slideshow {
	width: 596px;
}


/* 
    root element for the scrollable. 
    when scrolling occurs this element stays still. 
*/ 
div.scrollable { 
 
    /* required settings */ 
    position:relative; 
    overflow:hidden; 
    margin-left: 10px;
    width: 575px; 
    min-height:440px;
} 
 
/* 
    root element for scrollable items. Must be absolutely positioned 
    and it should have a extremely large width to accomodate scrollable items. 
    it's enough that you set width and height for the root element and 
    not for this element. 
*/ 
div.scrollable ul.items { 
    /* this cannot be too large */ 
    width:25000em; 
    height: 384px;
    position:absolute; 
    margin:0 !important;
} 
 
/* 
    a single item. must be floated in horizontal scrolling. 
    typically, this element is the one that *you* will style 
    the most. 
*/ 
div.scrollable ul.items li { 
    float:left; 
    list-style: none !important;
    margin:0 0 0 -10px !important;
    line-height:0;
} 
 
/* you may want to setup some decorations to active the item */ 
ul.items li.active { 
    border:1px inset #ccc; 
    background-color:#fff; 
}

a.prevPage, a.nextPage {
	width: 40px;
	height: 40px;
	display:block;
	position:absolute;
	bottom:0;
	cursor:pointer;
	text-align: center;
	font-size: 32px;
}

a.prevPage.disabled, a.nextPage.disabled {
	opacity: 0.2;
}

a.prevPage {
	left:0;
	background: url('/wp-content/themes/ipm/images/interstitial-left-arrow.png') 10px -35px no-repeat;
}

a.nextPage {
	right:0;
	background: url('/wp-content/themes/ipm/images/interstitial-right-arrow.png') 10px -35px no-repeat;
}

div.scrollable ul.items li {
	list-style:none;
	width: 595px;
	background: #111;
	height: 382px;
	text-align: center;
	border-top: 1px solid #666;
	border-bottom: 1px solid #666;
}

div.scrollable ul.items li img {
	max-width: 575px;
	max-height: 383px;
	line-height: 383px;
}

div.scrollable ul.items li a.colorbox {
	height: 383px;
	display:block;
}

div.scrollable ul.items li p.photo-credit {
	text-align: right;
	font-size: 11px !important;
	font-style: italic;
	padding-right: 10px;
	margin-left:0;
	margin-bottom:0 !important;
	float:right;
	width: 300px;
}

div.scrollable ul.items li p {
	display:block;
	font-size: 12px;
	text-align: left;
	margin: 0px 30px 0px 40px;
	color: #333;
}

div.scrollable ul.items li p.photo-number {
	float:left;
	width: 100px;
	font-size: 11px !important;
	margin-bottom:0 !important;
}

div.scrollable ul.items li p.photo-caption {
	margin-top:0;
	font-size: 11px !important;
	line-height: 14px !important;
}

div.program-slideshow {
	background: #eee;
	border: 1px solid #ccc;
	position:relative;
	margin-bottom: 10px;
	margin-top: 10px;
}

div.program-slideshow h3, div.the-overlay h3 {
	width: 560px;
	margin: 10px !important;
}

div.program-slideshow div.slideshow-enlarge {
	width: 105px;
	height: 30px;
	background: url('/wp-content/themes/ipm/images/enlarge.png');
	position:relative;
	left: 480px;
	bottom: 30px;
	opacity: 0.7;
}

div.program-slideshow div.slideshow-enlarge {
	-webkit-transition: opacity 0.2s ease-in;
}

div.program-slideshow div.slideshow-enlarge:hover {
	opacity: 1.0;
}

/* news is narrower so we need this */

div.news-wrapper div.program-slideshow div.slideshow-enlarge {
	left: 428px;
	bottom: 40px;
}

div.news-wrapper div.program-slideshow { 
	margin-top: 10px;
	width: 542px;
}

div.news-wrapper div.the-overlay h3 { 
	color: #ccc !important;
}

div.news-wrapper div.scrollable { 
	width: 522px;
	min-height: 420px;
}

div.news-wrapper div.scrollable ul.items { 
	height: 348px;
}


div.news-wrapper div.scrollable ul.items li {
	height: 344px;
	width: 542px;
	border:0;
	padding-top:0;
}

div.news-wrapper div.scrollable ul.items li p.photo-caption {
	padding-bottom:0 !important;
}

div.news-wrapper div.scrollable ul.items li a.colorbox {
	height: 348px;
	display:block;
}

div.news-wrapper div.scrollable ul.items li img {
	max-width: 522px;  /* 3:2 ratio */
	max-height: 348px;
	line-height: 348px;
	padding:0;
	border:0;
}

/* aux-wide is wider so we need this */

div.aux-wide div.program-slideshow div.slideshow-enlarge {
	left: 561px;
}

div.aux-wide div.program-slideshow { 
	margin-top: 10px;
	width: 676px; /* 2px narrower than width of entry.aux-wide because of 1px border left/right */
}

div.aux-wide div.the-overlay h3 { 
	color: #ccc !important;
}

div.aux-wide div.scrollable { 
	width: 656px; /* 20px narrower than program-slideshow */
	min-height: 520px; /* must be big enough to show text under photo */
}

div.aux-wide div.scrollable ul.items { 
	height: 437px;
}


div.aux-wide div.scrollable ul.items li {
	height: 437px;
	width: 676px; /* same as program-slideshow */
	border:0;
	padding-top:0;
}

div.aux-wide div.scrollable ul.items li p.photo-caption {
	padding-bottom:0 !important;
}

div.aux-wide div.scrollable ul.items li a.colorbox {
	height: 437px;
	display:block;
}

div.aux-wide div.scrollable ul.items li img {
	max-width: 656px;  /* 3:2 ratio, same as div.scrollable */
	max-height: 437px;
	line-height: 437px;
	padding:0;
	border:0;
}

/* overlay-specific */

/* new dimensions */

div.the-overlay h3 {
	color: #ccc;
	font-size: 13px;
	padding-top: 10px;
	margin-top:0 !important;
}

div.the-overlay div.scrollable { 
	width: 720px;
	min-height: 550px;
}

div.the-overlay div.scrollable ul.items { 
	height: 480px;
}


div.the-overlay div.scrollable ul.items li {
	height: 480px;
	width: 740px;
	border:0;
	background:#000;
}

div.the-overlay div.scrollable ul.items li p {
	margin-top: 5px;
	color: #999;
}

div.the-overlay div.scrollable ul.items li p.photo-caption {
	margin-top: 10px;
	padding-bottom: 5px;
}

div.the-overlay div.scrollable ul.items li a.colorbox {
	height: 480px;
	display:block;
}

div.the-overlay div.scrollable ul.items li img {
	max-width: 720px;  /* 3:2 ratio */
	max-height: 480px;
	line-height: 480px;
}


/* now the rest */

#mask {
	background-color: #000 !important;
}

.the-overlay {
	background: #111;
	border: 1px solid #666;
	padding: 0px 10px 0 0;
	position: absolute;
	color: #ccc !important;
	z-index: 9999;
	-moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.program-slideshow {
	-moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.the-overlay a {
	
}

.the-overlay .close:hover {
	opacity: 0.5;
}

.the-overlay .close {
	background: url('/wp-content/themes/ipm/images/close.png') no-repeat;
	width: 25px;
	height: 25px;
	position: absolute;
	right:3px;
	top: 3px;
}

.the-overlay .close:hover {
	cursor: pointer;
}

/* single photo */

/* wpss photo */

.postimage-wrapper {
	/*background: #eee;*/
	/*border: 1px solid #ccc;*/
	padding: 5px;
	color: #676767;
	margin-bottom: 15px;
	clear:both;
}

script + p + .postimage-wrapper, div + p + .postimage-wrapper {
	margin-top: -10px;
}

.postimage-wrapper .the-image-wrapper {
	background: #111;
	text-align: center;
	max-height:391px;
}

.postimage-wrapper .the-image-wrapper a, .postimage-wrapper .the-image-wrapper a:hover {
	border-bottom:0;
}

.postimage-wrapper img.postimage {
	border: 0px solid #ccc;
	display:inline !important;
	max-width: 584px;
	width: auto;
	max-height: 391px;
}

#content_main .postimage-wrapper img.postimage {
	max-width: 575px;
}


.postimage-wrapper p.photo-credit {
	text-align:right;
	font-size: 11px !important;
	margin:0 !important;
	font-style: italic;
	color: #666;
}

.postimage-wrapper p.photo-caption {
	margin: 0 5px 5px 5px;
	font-size: 11px !important;
	line-height: 14px !important;
	color: #666;
}

/* 2013 look */

div.postimage-wrapper.look-2013 {
	border:0;
	background:#000;
	width:620px;
	padding:0;
	position:relative;
	left:-10px;
	top:-10px;
}

div.postimage-wrapper.look-2013 .the-image-wrapper {
	max-height: 413px;
}

div.postimage-wrapper.look-2013 .the-image-wrapper img.postimage {
	max-width: 620px;
	max-height: 413px;
}

div.postimage-wrapper.look-2013 p.photo-credit, div.postimage-wrapper.look-2013 p.photo-credit a {
	color:#fff;
	margin-right: 5px;
}

div.postimage-wrapper.look-2013 p.photo-credit a {
	border-bottom-color: #666;
}

div.postimage-wrapper.look-2013 p.photo-caption {
	font-size: 11px !important;
	color:#fff;
}

div.the-mcard-image-wrapper {
	 margin-top: 15px;
	 padding-bottom: 5px;
}

div.entry.mcard-month{
    margin-bottom: 50px;
    border-bottom: 1px solid grey;   

}