﻿/* topbar wrapper and content positioning */
html, body {
	height: 100%;
}
.topbar-aware {
	display: table;
	width: 100%;
}
.topbar-wrapper {
	display: table-row;
}
.topbar-page-container {
	display: table-row;
	height: 100%;
}
.topbar-page-content {
	display: table-cell;
	height: 100%;
}


/* main top bar layout */
.cgp-topbar {
	font-family : Arial;
	font-size : 14px;
	font-weight : bold;
	color : white;
	text-align : center;
}

.cgp-topbar-content {
	display : inline-block;
	line-height: 42px;
	width: 100%;
	min-width: 960px;
}

.cgp-topbar-width-full {
	width: 100%;
	background-image: url('images/cgp_on_portal-png');

}

.cgp-topbar-fixedwidth {
	width : 960px;
}

.cgp-topbar-left {
	float: left;
	margin-left:35px;
}
.cgp-topbar-center {
	display : inline-block;
}
.cgp-topbar-right {
	float: right;
	margin-right:12px;
}

.cgp-topbar-bottomline {
	clear: both;
	width: 100%;
	margin:auto;
	height: 1px;
}

.cgp-topbar-divider {
	padding: 0 5px 0 5px;

}
/* links & buttons */
.cgp-topbar a {
	text-decoration: none;
}
.cgp-topbar a:hover {
	text-decoration: underline;
}

.cgp-topbar-left a, .cgp-topbar-left .cgp-topbar-button {

}
.cgp-topbar-right a, .cgp-topbar-right .cgp-topbar-button {

}


/* logo images */
.cgp-topbar-right-image {
	width:42px;
	height:42px;
	display:inline-block;
	background-size: 50px;
	background-repeat: no-repeat;
	padding:0;
	vertical-align: top;
}


/* theme: burgundy */
.cgp-topbar-theme-burgundy .cgp-topbar-content
{
	background-color: #7f172e; /* fallback */  
	background: -webkit-linear-gradient(#49141D, #7f172e); /* Safari 5.1+*/  
	background: linear-gradient(#49141D, #7f172e); /* the standard : Chrome, FF, IE10 */  
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#49141D', endColorstr='#7f172e')"; /* IE8+ */  
}
.cgp-topbar-theme-burgundy .cgp-topbar-right-image{
	background-image: url('images/logo_right_white-png');
}
.cgp-topbar-theme-burgundy .cgp-topbar-bottomline {
	background-color : #ac5f1c; /* fallback */  
	background: linear-gradient(to left, #49141D, #dcac0a,#7f172e); /* the standard - Chrome / IE10+ FF*/  	
}
.cgp-topbar-theme-burgundy a {
	color: white;
	/*text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);*/
}
.cgp-topbar-theme-burgundy a:hover {
	color: #f1cb00;
}
.cgp-topbar-theme-burgundy a.cgp-topbar-selected {
	color: #f1cb00;
}
.cgp-topbar-theme-burgundy.cgp-topbar-width-full {
	background-color: #7f172e; /* fallback */  
	background: -webkit-linear-gradient(#49141D, #7f172e); /* Safari 5.1+*/  
	background: linear-gradient(#49141D, #7f172e); /* the standard : Chrome, FF, IE10 */  
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#49141D', endColorstr='#7f172e')"; /* IE8+ */  
}





/* theme: yellow */
.cgp-topbar-theme-yellow .cgp-topbar-content
{
	background-color: #ffffd0; /* fallback */  
	background: -webkit-linear-gradient(#ffffe8, #ffffd0); /* Safari 5.1+*/  
	background: linear-gradient(#ffffe8, #ffffd0); /* the standard : Chrome, FF, IE10 */  
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffe8', endColorstr='#ffffd0')"; /* IE8+ */  
}
.cgp-topbar-theme-yellow .cgp-topbar-right-image{
	background-image: url('images/logo_right_dark-png');
}
.cgp-topbar-theme-yellow .cgp-topbar-bottomline {
	background-color : #ac5f1c; /* fallback */  
	background: linear-gradient(to left, #ffffd0, #dcac0a,#ffffd0); /* the standard - Chrome / IE10+ FF*/  	
}
.cgp-topbar-theme-yellow a {
	color: black;
	/*text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);*/
}
.cgp-topbar-theme-yellow a:hover {
	color: #002E96;

}
.cgp-topbar-theme-yellow a.cgp-topbar-selected {
	color: #7f172e;
}
.cgp-topbar-theme-yellow.cgp-topbar-width-full {
	background-color: #ffffd0; /* fallback */  
	background: -webkit-linear-gradient(#ffffe8, #ffffd0); /* Safari 5.1+*/  
	background: linear-gradient(#ffffe8, #ffffd0); /* the standard : Chrome, FF, IE10 */  
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffe8', endColorstr='#ffffd0')"; /* IE8+ */  

}
.cgp-topbar-theme-yellow .cgp-topbar-divider {
	color: #000;
}


/* title */
.cgp-topbar-title-seperator {
	margin-right: 10px;
	display: inline-block;
}
.cgp-topbar-title-content {
	display: inline-block;
}

/* buttons */
.cgp-topbar-button, .cgp-topbar-button:before, .cgp-topbar-button:after {
	display: inline-block;
	height : 26px;
	vertical-align: middle;
	margin-bottom: 1px;
	line-height: 0; /* to fix the 40px inherited that screws it up */
	background-image: url(images/button_dark-png);
	background-color: black;
	color: white;
}
.cgp-topbar-button:before, .cgp-topbar-button:after {
	content: '';
	width: 8px;
}
.cgp-topbar-button {
	background-position-x: left;
	background-position-y: -26px;
	background-repeat: repeat-x;
}
.cgp-topbar-button:before {

	background-position-x: left;
	background-position-y: 0;
	background-repeat: no-repeat;
}
.cgp-topbar-button:after {
	background-position-x: right;
	background-position-y: 0;
	background-repeat: no-repeat;
}
/* hover */
.cgp-topbar-button:hover {
	background-position-y: -78px;
}
.cgp-topbar-button:hover:before {
	background-position-y: -52px;
}
.cgp-topbar-button:hover:after {
	background-position-y: -52px;
}
/* active */
.cgp-topbar-button:active {
	background-position-y: -130px;
}
.cgp-topbar-button:active:before {
	background-position-y: -104px;
}
.cgp-topbar-button:active:after {
	background-position-y: -104px;
}

.cgp-topbar-button-style-light, .cgp-topbar-button-style-light:before, .cgp-topbar-button-style-light:after {
	background-image: url(images/button_light-png);
	background-color: white;
	color: black;
}





/* popup */


.cgp-topbar-popup {
	font-family : Arial;
	font-size : 16px;
	font-weight : normal;
}
.cgp-topbar-popup-background {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 9999991;
	
	background-color: black;
	opacity: 0.4;
}
.cgp-topbar-popup-foreground {
	position: fixed;
	top: 50%;
	left: 0;
	bottom: 50%;
	right: 0;
	z-index: 9999992;
	line-height: 9999px;
	text-align: center;
}
.cgp-topbar-popup-border {
	display: inline-block;
	vertical-align: middle;
	margin: -9999px 20px 0 20px;
	line-height: normal;
	
	text-align: right; /* for the close button */

	background-color: white;
	color: black;
	border-radius: 2px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.cgp-topbar-popup-close {
	position: absolute;
	font-family: Arial;
	font-size: 20px;
	font-weight: normal;
	text-decoration: none;
	margin: -10px 0 0 -13px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	color: white;
	background-color: #111111;
	border: 3px solid white;
	border-radius: 13px;
	box-shadow: 0 0 2px rgba(0, 0, 0, 1);
}

.cgp-topbar-popup-content {
	margin: 20px;
	text-align: left;
}



/* toast */

.cgp-topbar-toast {
	font-family : Arial;
	font-size : 17px;
	font-weight : normal;
}
.cgp-topbar-toast-background {
}
.cgp-topbar-toast-foreground {
	position: absolute;
	top: 130px;
	left: 70px;
	right: 0;
	z-index: 9999992;
	text-align: center;
}
.cgp-topbar-toast-border {
	display: inline-block;
	background-color: #551722;
	color: white;
	/* border: 1px solid white; */
	border-radius: 2px;
	/* box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8); */
	width: 200px;
	height: 40px;
}


.cgp-topbar-toast-content {
	
	text-align: center;
	margin-top: 10px;
	font-size: 17px;
}
