@charset "UTF-8";

/* TAGS */
html { 
    height:100%;
}

body { 
    min-height:100%;
	padding-top: 69px;
}

figure {
	border-bottom: solid 1px #d9d9d9;
	border-left: solid 1px #d9d9d9;
	border-right: solid 1px #d9d9d9;
	padding: 20px;
	min-height: 350px;
}

code {
	background-color: rgba(243,243,243,1.0); /* #f3f3f3 */
	color: purple; /* rgba(0,168,227,1.0) #00A8E3 */
	white-space: pre;
/*	height: 40px;
	min-height: 150px;*/
	max-height: 300px;
	overflow: auto;
}

figure code {
	display: block;
	white-space: pre;
	word-wrap: normal;
}

footer {
	text-align: center;
/*
	position: absolute;
	top: 95%;
	left: 0px;
*/
	width: 100%;
	margin-top: 30px;
}

main {
	position: relative;
}

main nav {
/*
	position: absolute;
	top: 0px;
	left: 0px;
*/
	height: 100ws;
	display: block;
/*	margin: 20px;*/
	border: solid 1px #d9d9d9;
	padding: 10px;
	width: 100%;
	background-color: white;
	margin-bottom: 20px;
}

section {
/*
	position: absolute;
	left: 200px;
	width: 90%;
*/
	padding-bottom: 200px;
}

small {
	color: #919293;
}


/* CLASSES */
.uig_guideline {
	margin: 20px;
}

.uig_usage {
	display: block;
	margin-top: 10px;
}

.uig_example_box {
	border: solid 1px #d9d9d9;
	padding: 10px 20px 20px 20px;
	min-height: 350px;
}

.uig_do_not {
	border: solid 1px #FF9999;
	background-color: #FFF3F3;
	color: #FF6666;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 10px;
}

.uig_do_not strong {
	color: #FF6666;
	border: none;
	margin: 0px;
	padding: 0px;
}

.uig_do_not h6 {
	color: #FF6666;
}

.uig_info {
	border: solid 1px #bce8f1;
	background-color: #d9edf7;
	color: #31708f;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 10px;
}

.uig_form {
	margin-bottom: 100px;
}

.uig_code {
/*	background-color: rgba(243,243,243,1.0); /* #f3f3f3 */
	padding: 10px;
}

.uig_example {
/*	margin-top: 20px;*/
/*	margin-bottom: 20px;*/
}

.uig_changelog {
	text-align: left;
}

.uig_changelog TD {
	padding-left: 40px;
	vertical-align: top;
}

.uig_strong {
	color: black;
	font-weight: bold;
}

.uig_fade_in {
    transition: opacity 0.75s linear;
	opacity: 1.0;
}

.uig_fade_out {
    transition: opacity 1.5s ease;
	opacity: 0.0;
}

.uig_html_example, .sample_image {
	border: solid 1px #d9d9d9;
	box-shadow: 6px 6px 20px rgba(0,0,0,0.15);
	margin: 20px 0px 50px;
	position: relative;
}

form.uig_html_example {
	padding: 20px;
}

.uig_cobrand_sample {
	display: inline-block; 
	width: 45%;
}

aside.uig_cobrand_sample {
	width: 49%;
}

.uig_toolbar_button_example {
	background: none;
	outline: none;
	border: solid 1px #bfbfbf; 
	background-color: #1ea9e0;
	color: white;
	background-color: white;
	color: #1ea9e0;
}

.uig_toolbar_button_example:hover {
	background: none;
	outline: none;
/*	background-color: #2b6191; */
/*	border: solid 1px #2b6191; */
	border: solid 1px #2b6191; 
/*	background-color: #72c9e9;*/
/*	color: white;*/
	background-color: white;
	color: #2b6191;
}

.uig_toolbar_button_example:active {
	background: none !important;
	outline: none !important;
	background-color: #2b6191 !important;
	border: solid 1px #2b6191 !important;
/*	background-color: #72c9e9;*/
	color: white !important;
}

.uig_icon_sample {
	margin: 25px 65px 25px 25px;
	height: 44px !important;
	width: 44px !important;
	border: solid 1px #bfbfbf;
	padding: 5px;
	border-radius: 5px; 
	text-align: center;
	display: inline-block;
}

.uig_icon_heading {
	margin-top: 20px;
	border-top: solid 1px #bfbfbf;
	padding-top: 3px;
	margin-bottom: -2px;
}

.uig_icon_do_not_use {
	border: solid 1px #FFCCCC;
	color: #CC3333;
}

.uig_icon_standard {
	border: solid 1px #72c9e9;
	color: #1ea9e0;
}

.uig_icon_label {
	font-size: 8pt;
	text-align: center;
	margin: 10px -50%;
	line-height: 1.25em;
}

.uig_pie_chart {
/*	border-radius: 90px;*/
	position: relative;
	background-image: url("../img/pie_chart.png");
	background-repeat: no-repeat;
	height: 190px;
	width: 190px;
	border-radius: 95px;
}

.uig_pie_chart_center {
	height: 130px;
	width: 130px;
	border-radius: 65px;
	background-color: white;
	position: absolute;
	top: 29px;
	left: 29px;
}

.uig_pie_chart_text {
	height: 185px;
	width: 185px;
	background-color: transparent;
	position: absolute;
	top: 0px;
	left: 0px;
	color: #636466;
	font-size: 18px;
	text-align: center;
	padding: 55px;
}

.uig_ring_chart {
	/* horiz, vert, blur, spread, color, inset */
	box-shadow: 0px 0px 7px 1px #666 inset;
}

.uig_ring_chart_center {
	height: 46px;
	width: 46px;
	border-radius: 24px;
	background-color: white;
	position: absolute;
	top: 9px;
	left: 9px;
	color: #636466;
}

.uig_ring_chart_clip {
	height: 64px;
	width: 64px;
	border-bottom: solid 25px white;
	border-left: solid 25px transparent;
	border-right: solid 25px transparent;
	background-color: transparent;
	position: absolute;
	top: 0px;
	left: 0px;
}

.uig_ring_chart_text {
	height: 64px;
	width: 64px;
	background-color: transparent;
	position: absolute;
	top: 0px;
	left: 0px;
	color: #636466;
	font-size: 16px;
	padding-top: 19px;
}

.uig_default_text {
	color: rgba(99,100,102,1.0);
}

.uig_link_color {
	color: #1ea9e0;
	text-decoration: none;
}

.uig_link_color:hover, .uig_link_color:active {
	color: #1ea9e0;
	text-decoration: underline;
}


/* Install progress example */
@keyframes progress_bar_total {
    0% {
		background-color: #00A8E3;
		min-width: 0%;
	}
    99% {
		background-color: #00A8E3;
		min-width: 99%;
	}
    100% {
		background-color: #98c83c;
		min-width: 100%;
	}
}

@keyframes progress_bar {
    0% {
		background-color: #72c9e9;
		min-width: 0%;
	}
    99% {
		background-color: #72c9e9;
		min-width: 99%;
	}
    100% {
		background-color: #bde573;
		min-width: 100%;
	}
}

@keyframes install_msg_total {
	0% { content: "Installing feature 1 of 3"; }
	64% { content: "Installing feature 2 of 3"; }
	65% { content: "Installing feature 3 of 3"; }
	100% { content: "Installed 3 features"; }
}

@keyframes install_msg {
	0% { content: "0% complete"; }
	5% { content: "5% complete"; }
	10% { content: "10% complete"; }
	15% { content: "15% complete"; }
	20% { content: "20% complete"; }
	25% { content: "25% complete"; }
	30% { content: "30% complete"; }
	35% { content: "35% complete"; }
	40% { content: "40% complete"; }
	45% { content: "45% complete"; }
	50% { content: "50% complete"; }
	55% { content: "55% complete"; }
	60% { content: "60% complete"; }
	65% { content: "65% complete"; }
	70% { content: "70% complete"; }
	75% { content: "75% complete"; }
	80% { content: "80% complete"; }
	85% { content: "85% complete"; }
	90% { content: "90% complete"; }
	95% { content: "95% complete"; }
	100% { content: "100% complete"; }
}

#uig_install_msg span:after {
	content: "3 features to install";
	animation-name: install_msg_total;
	animation-delay: 0s;
	animation-duration: 17s;
	animation-direction: normal;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-fill-mode: forwards;
}

.uig_feature_total {
	display: inline-block;
	min-height: 10px;
	min-width: 100%;
	background-color: #d9d9d9;
	padding-left: 0.25em;
}

#uig_feature_totals {
	animation-name: progress_bar_total;
	animation-delay: 0s;
	animation-duration: 15s;
	animation-direction: normal;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-fill-mode: forwards;
}

#uig_install_pct_total span:after {
	content: "0% complete";
	animation-name: install_msg;
	animation-delay: 0s;
	animation-duration: 15s;
	animation-direction: normal;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-fill-mode: forwards;
}

.uig_feature {
	display: inline-block;
	min-height: 10px;
	min-width: 100%;
	background-color: #d9d9d9;
	padding-left: 0.25em;
}

#uig_feature1 {
	animation-name: progress_bar;
	animation-delay: 0s;
	animation-duration: 7s;
	animation-direction: normal;
	animation-iteration-count: 1;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

#uig_install_pct1 span:after {
	content: "0% complete";
	animation-name: install_msg;
	animation-delay: 0s;
	animation-duration: 7s;
	animation-direction: normal;
	animation-iteration-count: 1;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

#uig_feature2 {
	animation-name: progress_bar;
	animation-delay: 7s;
	animation-duration: 3s;
	animation-direction: normal;
	animation-iteration-count: 1;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

#uig_install_pct2 span:after {
	content: "0% complete";
	animation-name: install_msg;
	animation-delay: 7s;
	animation-duration: 3s;
	animation-direction: normal;
	animation-iteration-count: 1;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

#uig_feature3 {
	animation-name: progress_bar;
	animation-delay: 10s;
	animation-duration: 5s;
	animation-direction: normal;
	animation-iteration-count: 1;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

#uig_install_pct3 span:after {
	content: "0% complete";
	animation-name: install_msg;
	animation-delay: 10s;
	animation-duration: 5s;
	animation-direction: normal;
	animation-iteration-count: 1;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}



/* IDS */
#cald_page_name:after {
	content: "User Interface Guidelines";
}

#TOC {
	position: absolute;
	top: 0px;
	left: 20px;
    transition: top 0.30s ease-in;
}

#TOC>ul strong {
	margin-left: -20px;
}

#TOC>ul>li>ul>li, #TOC>ul>li>ul>li>ul>li {
	margin-left: -20px;
}


/* OVERRIDES */
ul.nav-tabs {
/*	margin-bottom: 20px;*/
}

.nav-tabs li a {
	outline: none !important;
}

.nav-tabs>li>a:hover {
	background-color: #f9f9f9;
	text-decoration: underline;
}

.nav-tabs>li[class~="active"]>a:hover {
	background-color: white;
	text-decoration: none;
}

.tab-content {
	padding-bottom: 20px;
}

/*header, */
/*nav.cald_header, */
#hamburger_menu {
	box-shadow: 5px 0px 15px rgba(0,0,0,0.5);
}

strong a,
strong a:hover,
strong a:active {
	color: black;
	text-decoration: none;
}

#hamburger_menu>ul li:first-child strong a:after {
	content: " (top)";
}

/* Colorization library overrides */
.hljs {
	background-color: transparent;
}

.hljs,
.hljs-list .hljs-built_in,
.hljs-class {
  color: #636466;
}

.css .hljs-tag {
	font-weight: bold;
}

.hljs-comment,
.hljs-chunk {
  color: #738191;
}

.hljs-string,
.hljs-title,
.hljs-parent,
.hljs-built_in,
.hljs-literal,
.hljs-filename,
.hljs-value,
.hljs-addition,
.hljs-argument,
.hljs-link_label,
.hljs-blockquote,
.hljs-header,
.hljs-name {
  color: #1ea9e0;
}

.hljs-tag,
.hljs-title {
  color: #2b6191;
  color: #337ab7;
}

.hljs-value {
  color: #00A8E3;
}


.hljs-decorator,
.hljs-prompt,
.hljs-subst,
.hljs-symbol,
.hljs-doctype,
.hljs-regexp,
.hljs-preprocessor,
.hljs-pragma,
.hljs-pi,
.hljs-attribute,
.hljs-attr_selector,
.hljs-xmlDocTag,
.hljs-deletion,
.hljs-shebang,
.hljs-string .hljs-variable,
.hljs-link_url,
.hljs-bullet,
.hljs-sqbracket,
.hljs-phony {
  color: #337ab7;
  color: #2b6191;
}

.cald_separator {
	padding: 10px;
}


/* RESPONSIVE */
/* Smartphones - Bootstrap default */
@media only screen 
and (max-width : 768px) {
	body { 
		padding-left: 0px;
		padding-right: 0px;
	}
	section {
		width: 100%;
	}
	.uig_guideline { 
		margin-left: 0px;
		margin-right: 0px;
	}
	#cald_page_name:after {
		content: "UI Guide";
	}
	#TOC {
		display: none;
	}
	.uig_icon_sample {
		height: 56px !important;
		width: 56px !important;
		font-size: 32px;
	}
	#uig_header, #uig_nav {
		position: fixed;
	}
	.uig_cobrand_sample {
		width: 100%;
	}
	
	aside.uig_cobrand_sample {
		width: 100%;
	}
}

/* iPads */
@media only screen 
and (min-width : 768px) {
	section {
		width: 95%;
	}
	#cald_page_name:after {
		content: "UI Guidelines";
	}
	#TOC {
		display: none;
	}
	.uig_icon_sample {
		height: 48px !important;
		width: 48px !important;
		font-size: 24px;
	}
	#uig_header, #uig_nav {
		position: fixed;
	}
	.uig_cobrand_sample {
		width: 45%;
	}
	
	aside.uig_cobrand_sample {
		width: 49%;
	}
}

/* Laptops */
@media only screen 
and (min-width : 992px) {
	section {
		width: 90%;
	}
	#cald_page_name:after {
		content: "User Interface Guidelines";
	}
	#hamburger {
		visibility: hidden;
	}
	#TOC {
		display: inline-block;
	}
	.col-lg-3, .col-md-3 {
		width: 27%;
	}
	.col-lg-9, .col-md-9 {
		width: 70%;
	}
	#uig_header, #uig_nav {
		position: absolute;
	}
}

@media only screen 
and (min-width : 1102px) {
	.col-lg-3, .col-md-3 {
		width: 25%;
	}
}

/* Desktops */
@media only screen 
and (min-width : 1200px) {
	section {
		width: 80%;
	}
	#cald_page_name:after {
		content: "User Interface Guidelines";
	}
	#hamburger {
		visibility: hidden;
	}
	#uig_header, #uig_nav {
		position: absolute;
	}
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}