/*==============GENERAL STYLE SETTINGS==============*/
html{
  min-height:100%;
  position: relative;
}

* {
  margin: 0;
}

/*font styles*/
body {
	font-family: 'Open Sans',
	sans-serif;
	color: #333;
	margin-bottom:80px !important;
	padding-top: 60px;
}
/*h1 style only for articles */
#contentBody h1 {
	letter-spacing: -0.5px;
	margin-top: 10px;
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #BBB;
	margin-top: 20px;
	text-align: center;
}
h2, h3, h4 {
	color: #444;
	font-weight: bold;
	margin: 1em auto 0.25em;
}
#contentBody p, #contentBody ul, #contentBody ol:not(.breadcrumb){
	font-size: 11pt;
	line-height: 1.75em;
}
a:hover{color: #009a84;}
/*anchor class to prevent internal links being covered by navbar*/
a.anchor{
	display: block;
  	height: 60px; /*same height as header*/
  	margin-top: -60px; /*same height as header*/
  	visibility: hidden;
}

/*add space after unordered lists*/
#contentBody li>ul{
	margin-top: -0.5em;
	margin-bottom: 1em;
}

/*adding styles to some common ui elements*/
hr {border-top: 1px solid #BBB;}
pre, table tr:first-of-type {background: #EFEFEF;}
table.centered-cells tr, table.centered-cells th, table.centered-cells td{
	text-align: center !important;
	vertical-align: middle !important;
}

/*default table layout makes first columns too narrow - set minimum width for readability*/
#contentBody table tr:first-child>td, table tr:first-child>th{
	min-width: 200px;
}

/*force tables inside collpasible panels to fit*/
.panel-collapse table{
	table-layout: fixed;
	word-wrap: break-word;
}

.btn{
	border-radius:3px !important;
	transition: 0.25s;
	-webkit-transition:0.25s;
	-moz-transition:0.25s;
}

/*==============NAVBAR STYLES==============*/

.navbar {
	height: 60px;
	padding-top: 6px;
	background-color: #ffffff;
	border-bottom: 3px solid #e4e4e4;
}

.navbar a.brand{
	background-image: url(/assets/img/altair-header-logo.png);
  	width: 300px;
  	margin-left: 5px;
    display: inline-block;
  	height: 50px;
  	background-size: contain;
  	background-position: center left;
  	background-repeat: no-repeat;
}

.navToggle{font-size: 24pt; cursor: pointer; width: 22px;}
.navToggle:hover, .navToggle.active{color: #009a84;}


#menuCollapse{float: left;}
#searchCollapse{float:right;}


/*==============PRODUCT DROPDOWN BUTTON + MEMNU==============*/
#product-dropdown .btn{
	text-align: left;
	width: 100%;
	height: 40px;
	margin-bottom: 10px;
}
#product-dropdown .btn .caret{
	position: absolute;
	right: 10px;
	margin-top: 8px;
}
#product-dropdown ul{width: 100%;}

.breadcrumb{
	font-size: 9pt;
	background-color: transparent;
	text-align: center;
	margin-bottom: 10px;
	padding-left: 0px;
	padding-right: 0px;
}

#sidebar {
	position: fixed;
	background: #FFFFFF;
	height: calc(100vh - 60px);
	overflow-y: scroll;
	padding: 15px 15px 30px;
	width: 300px;
	z-index: 1;
}
#sidebar a:hover{background: #e4e4e4;}
#sidebar hr{margin-left: 15px; margin-right: 15px;}

#menu li ul {margin-left: 15px;	margin-bottom: 15px;}

#menu li ul a{padding-top: 5px;	padding-bottom: 5px;}

#menu li.menu-active ul{border-left:1px solid #34495e;}

#menu li.menu-active>a{font-weight:bold; color: #34495e;}



/*==============CONTENT==============*/
#contentFloat{
	margin-left: 300px; /*offset by the width of the sidebar*/
	max-width: 1200px;
}
#contentBody{
	width: 100%;
	max-width: 800px;
	padding: 5px 15px 30px;
	margin: 0 auto;
}

#homeContainer{text-align: center;font-size:12pt;}
#homeContent{
	max-width: 1000px;
	padding: 50px 25px;

}
#homeContent hr{margin: 30px 0px;}
#homeContent h1, h2, h3{font-weight: lighter;}
#homeContent ul{list-style: none; line-height:1.7em; padding-left: 0;}
#homeContent ul#productList li{
	display: inline-block;
	border-radius: 10px;
	border: 2px solid #DDD;
	padding: 5px;
	margin: 0.5em;
}
#homeContent ul#extraTopics {text-align: left;   display: block;
  width: 100%; max-width: 470px;
  margin: 0px auto;
  line-height: 2em;
}

.cta{
	color: white;
	background: #009a84;
	border: none;
	font-weight: lighter;
	white-space: normal;
}

.cta:hover{
	color: white;
	background: #182631;
}

.product-btn{
	font-size: inherit;
	border:none;
	padding: 15px 30px;
	width: 100%;
}

.product-btn img{
	max-height: 65px;
	display: block;
	margin: 1px auto 10px;
}

#homeBanner{
	background: #2980ba;
	background-image:url('/assets/img/docs-banner-altair.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left center;
	color: white;
	padding: 100px 30px;
	width: 100%;
}

#homeBanner h1{font-weight: bold}

.footer {
	position:absolute;
	clear: both;
	height: 80px;
   	bottom:0;
   	left: 300px;
   	right: 0px;
	text-align: left;
	font-size: 16px;
  	color: white;
	background-color: #120f3d;
}
.footer.footer-fluid{
	left: 0;
	right: 0;
}

.footer #footerFloat{
	max-width: 1200px;
}
.footer.footer-fluid #footerFloat{
	margin: 0 auto;
}
#footerContent{
	width: 100%;
	max-width: 800px;
	/* padding: 10px 15px 0px; */
	margin: 0 auto;
}

#footerLeft{float: left;}
#footerCenter{text-align: center; padding-top: 25px;}
#footerCenter a {color: #009e95;}
#footerRight{float: right; padding-top: 10px;}

.footer .brand-image img{
	padding-top: 10px;
	height: 60px;
}

.footer .copyright{
	text-align: left;
	margin-top:5px;
	font-size: 11px;
}

.footerblock{
	text-align: right;
	padding-top: 10px;
}


ul#extraTopics li{
	line-height: 1.5em;
	margin-bottom: 1em;
}

.extra-btn {
	width: 250px;
	margin: 15px auto;
}

img.type-icon {
    margin-right: 5px;
}


/*==============OPERATOR DOCUMENTATIONS==============*/

h1 .operator-icon {float: left;}

.process-picture{
	border: 2px solid #B6B6B4;
	margin-left: 30px;
	margin-top: 20px;
}

.operator h1 {border-bottom: none;}

.operator h1 .operator-plugin-name {
    display: block;
    font-size: 60%;
    line-height: 2em;
    color: #888;
}

.operator summary {
  clear: both;
}

.operator .parameter-name {
  font-weight: bold;
  display: block;
}


.operator .parameter-range {
   display: block;
   font-style: italic;
}

.operator .output-port-type, .operator .input-port-type  {font-style: italic;}

/*style the table of contents*/
/*general list styling*/
#op-list {padding-left: 0;}
#op-list ul {
	padding-left: 14px;
  	margin-left: 4px;
  	margin-bottom: 20px;
	border-left: 1px solid #34495e;
}
#op-list li{list-style: none; padding: 5px 0;}
#op-list li.operator-header{cursor: pointer; color: #337ab7;}
#op-list li.operator-header::before {
	font-family:'Glyphicons Halflings';
	font-size: 12px;
    content:"\e114";
    margin-right: 5px;
    margin-top: 4px;
}

/*styling for expanded operator sections*/
#op-list li.active-operator{font-weight: bold; color: #34495e;}
#op-list li.active-operator::before {content:"\e113";}

/*for operators with no dcoumentation*/
li.inactive-operator {color: #bbb;}

/*==============MISC==============*/
.book-cover {
  margin-top:7px;
  width:120px;
  display:inline-block;
  float:left;
}

/*styles the collapsable panels plugin*/
.panel-heading a:after {
    font-family:'Glyphicons Halflings';
    content:"\e114";
    float: right;
    color: grey;
}
.panel-heading a.collapsed:after {content:"\e080";}


.product-icon{
	width: 60px;
}

.product-title{
	font-weight: bold;
}

.product-link{
	margin: 10px 15px 30px 0px;
	min-width: 230px;
}

.borderless-pre{
	border:none;
	margin:0 0 0px;
	word-wrap:break-word;
	word-break:break-all;
	white-space: pre-wrap;
}
.bordered-pre{
	border-color:#CC9933;
	margin: 0 0 0px;
	word-wrap:break-word;
	word-break:break-all;
	white-space: pre-wrap;
}

/*==============SEARCH BOX==============*/

.reset-box-sizing, .reset-box-sizing *, .reset-box-sizing *:before, .reset-box-sizing *:after {
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
}

/*==============CALLOUTS==============*/

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}

/*==============SCREENSHOTS==============*/
/*images cannot exceed the width of their container*/
#contentBody img{max-width: 100%;}

.screenshot {text-align: left;}

/* old, round border drop shadow. Replaced by win10 style drop shadow.
.screenshot.drop-shadow img {
	box-shadow: 0px 5px 10px 5px rgba(0,0,0,0.2);
	border: .5px solid #808080;
	border-radius: 5px;
}
*/

.screenshot.drop-shadow img {
	box-shadow: 1px 2px 20px 2px rgba(0,0,0,0.3);
	/* 0 pixel border because some screenshots already have a border. We would need to unify ALL images to not have borders before switching this on again */
	border: 0px solid #AAA;
}

.screenshot.drop-shadow-win10 img {
    box-shadow: 1px 2px 20px 2px rgba(0,0,0,0.3);
	/* 0 pixel border because some screenshots already have a border. We would need to unify ALL images to not have borders before switching this on again */
    border: 0px solid #AAA;
}

.screenshot figcaption{
	color: #666666;
	margin-top: 15px;
	margin-bottom: 20px;
	font-style: italic;
}

/*==============RESPONSIVE DESIGN==============*/

@media (min-width: 992px){
	#sidebar{left: 0 !important;}
	#search-container{display: block !important;}
	#menuCollapse, #searchCollapse{display: none;}

	#contentFloat{width: calc(100vw - 300px);}

	.product-icon{
		display: inline-block;
		margin-top: -5px;
	}
}

/*for smaller devices*/
@media (max-width:992px){
	.navbar a.brand{
		background-image: url(/assets/img/altair-header-logo.png);
  		width: 150px;
    		display: block;
    		margin: 0 auto;
  		background-position: center center;

	}

	.footer{
    		overflow: hidden;
    		left: 15px;

    		.brandimage {
      			margin-left: 0px;
    		}
    		.footerblock {
      			display: none;
    		}
  	}

	#sidebar {left: -300px; transition: 0.5s; -webkit-transition: 0.5s;}
	#sidebar.show {left: 0px;}

	#contentFloat {margin-left: 0px;width: 100%;}
	#contentBody h1, .breadcrumb{text-align: left;}

	div#search-container{
		margin-top: 9px !important;
		max-width: 100%;
		display:none;
		background: white;
		padding: 15px 0 5px;
	}

	#homeContent{
		/*text-align: left;*/
		padding-top: 25px;
		padding-bottom: 25px;
	}
	#homeContainer h1{font-size: 1.7em;}
	#homeContainer h2, #homeContainer h3 {font-size: 1.125em; font-weight: bold;}

	#homeContent hr{margin: 35px 0px;}

	#homeBanner {padding: 50px 30px;}
	.extra-btn {width: 100%;}

	.product-icon{
		display:block;
		margin: 0 auto 10px;
	}
}

@media print {
	#sidebar{display: none;}
	a{color: blue !important; text-decoration: underline}
	a strong{color: blue !important;}
	a[href]:after{display: none !important;}
	p, li, table{
		font-size:9pt !important;
		line-height: 1.4em !important;
	}
	#contentBody li>ul{
		margin-top: -0.2em;
		margin-bottom: 0.2em;
	}
	.screenshot{
		max-width: 66%;
	}

	a[data-toggle="collapse"]{
		color: #333 !important;
		font-weight: bold;
		text-decoration: none;
	}
	.collapse{
		display: block;
		visibility: initial;
	}

	h1, h2, h3, h4{font-weight: bold;}
	h1{font-size: 18pt !important;}
	h2{font-size: 14pt !important;}
	h3{font-size: 12pt !important;}
	@page {margin: 1in 0.5in;}

	iframe{
		display: none;
	}

}
