#pmalerts_holder .alert-close-btn {background:#4b4b4b url(/wp-content/themes/vip/postmedia-plugins/postmedia-alerts/alerts_close_icon.png) 0 -50px no-repeat!important;display:block; position:absolute; top: 0px; right:0px; height:50px; z-index: 1;}

.pmalerts_num_0 #pmalerts_link{ background: #252525;}
.pmalerts_num_0 #pmalerts_link:hover{ background: #3b3b3b;}
.pmalerts_num_0 #pmalerts_head { color: #ffcc02; }
.pmalerts_num_0 #pmalerts_close_btn:hover{ background-color:#727272!important;background-position:0 -50px;}

.pmalerts_num_1 #pmalerts_link { background: #ffcc02;}
.pmalerts_num_1 #pmalerts_link:hover{ background: #fbd74a;}
.pmalerts_num_1 #pmalerts_head { color: #000000; }
.pmalerts_num_1 #pmalerts_message { color: #5c5c5c!important; }
.pmalerts_num_1 #pmalerts_close_btn{ background-color:#fde481!important;background-position:0px 0px!important;}
.pmalerts_num_1 #pmalerts_close_btn:hover{ background-color:#fcefbd!important;background-position:0px 0px!important;}

.pmalerts_num_2 #pmalerts_link{ background: #dd2424;}
.pmalerts_num_2 #pmalerts_link:hover{ background: #e76565;}
.pmalerts_num_2 #pmalerts_head { color: #ffcc02; }
.pmalerts_num_2 #pmalerts_close_btn{ background-color:#ec8687!important;}
.pmalerts_num_2 #pmalerts_close_btn:hover{ background-color:#f1a3a3!important;}
/* external widget styles */
.gns-container .header-title,
.gns-container .header-title.multi-line {
    background-color: #cf3727;
    height: auto;
    padding: 0;
}
.gns-container .header-title h1 {
    font: 600 13px Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-align: left;
    padding: 10px;
    margin: 0;
}
.gns-container .header-title h2 {
    display: none;
}
.gns-container table {
    background-color: #f7f7f7;
}
.gns-container table thead.fixed-header {
    background-color: #f7f7f7;
}
.gns-container table tr th {
    color: #333;
}
.gns-container table tr td {
    color: #333;
    border-bottom: #e5e5e5 solid 1px;
}
.gns-container table tr.highlight {
    background-color: #e5e5e5;
}
.gns-container table tr.highlight td {
    border-bottom: #d9d9d9 solid 2px;
}
.gns-container .header-title .arrow-prev {
    position: static;
    float: left;
    margin: 5px;
}
.gns-container .sub-header-block {
    background-color: #cf3727;
}

/* postmedia link style */
.pn-rio-widget a {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 10px 0;
    color: #fff;
    font: 13px/20px "BentonSans-Medium", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-align: center;
    background-color: #cf3727;
}

/* Fix wrapping */
.total-medals-for-country-wrapper .total-medals-for-country {
	overflow:hidden;
}
/* =Tiled Gallery Default Styles
-------------------------------------------------------------- */

.tiled-gallery {
	clear: both;
	margin: 0 0 20px;
	overflow: hidden;
}
.tiled-gallery img {
	margin: 2px !important; /* Ensure that this value isn't overridden by themes that give content images blanket margins */
}
.tiled-gallery .gallery-group {
	float: left;
	position: relative;
}
.tiled-gallery .tiled-gallery-item {
	float: left;
	margin: 0;
	position: relative;
	width: inherit; /* prevents ie8 bug with inline width styles */
}
.tiled-gallery .gallery-row {
	 overflow: hidden;
}
.tiled-gallery .tiled-gallery-item a { /* Needs to reset some properties for theme compatibility */
	background: transparent;
	border: none;
	color: inherit;
	margin: 0;
	padding: 0;
	text-decoration: none;
	width: auto;
}
.tiled-gallery .tiled-gallery-item img,
.tiled-gallery .tiled-gallery-item img:hover { /* Needs to reset some properties for theme compatibility */
	background: none;
	border: none;
	box-shadow: none;
	max-width: 100%;
	padding: 0;
	vertical-align: middle;
}
.tiled-gallery-caption { /* Captions */
	background: #eee;
	background: rgba( 255,255,255,0.8 );
	color: #333;
	font-size: 13px;
	font-weight: 400;
	overflow: hidden;
	padding: 10px 0;
	position: absolute;
		bottom: 0;
	text-indent: 10px;
	text-overflow: ellipsis;
	width: 100%;
	white-space: nowrap;
}
.tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption { /* Smaller captions */
	font-size: 11px;
}

/* Hide galleries in widgets until they've been resized to fit.
   Gallery widgets are almost guaranteed to need resizing, and
   the jump is a little more obvious than galleries in content. */
.widget-gallery .tiled-gallery-unresized {
	visibility: hidden;
	height: 0px;
	overflow: hidden;
}

/* =Greyscale
-------------------------------------------------------------- */

.tiled-gallery .tiled-gallery-item img.grayscale {
	position: absolute;
		left: 0;
		top: 0;
}
.tiled-gallery .tiled-gallery-item img.grayscale:hover {
	opacity: 0;
}


/* =Circles Layout
-------------------------------------------------------------- */

.tiled-gallery.type-circle .tiled-gallery-item img {
	border-radius: 50% !important; /* Ensure that circles are displayed in themes that add border-radius to all images as a default */
}
.tiled-gallery.type-circle .tiled-gallery-caption {
	display: none;
	opacity: 0;
}

