﻿/*
color scheme for base color blue #50AAD3
LIGHT:      #AADCF2
SEMI LIGHT: #77C3E3
NORMAL:     #50AAD3
SEMI DARK:  #3095C1
DARK:       #0F7DAC
*/

/* remove background image from xlcubed reports*/
iframe[id*="QueryStringPageViewer"] {
	background-color: white;
}

#globalNavBox, .ms-clientcontrol-chromeheader {
	background-color: rgb(239, 239, 239) !important;
}
.ms-core-overlay {
	background-color: transparent !important;
}

form#aspnetForm:before {
	opacity: 1;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	content: ' ';
	display: block;
	background-color: white;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	z-index: -1;
}

/* HD */
@media (max-width: 1280px) {
	form#aspnetForm:before {
		background-image: url("https://unidata.gv.at/PublishingImages/hintergrund_klein.png");
	}
}

/* FULL HD */
@media (min-width: 1281px) and (max-width: 1920px) {
	form#aspnetForm:before {
		background-image: url("https://unidata.gv.at/PublishingImages/hintergrund_mittel.png");
	}
}

/* 2k UHD */
@media (min-width: 1921px) {
	form#aspnetForm:before {
		background-image: url("https://unidata.gv.at/PublishingImages/hintergrund_gross.png");
	}
}

/* fix composed look bug */
.o365cs-base.o365cs-topnavBGColor-2 {
	background-color: #000000 !important;	
}

/* font color */
body {
	color: #000000;
}

/* cleanup spaces*/
#contentRow {
	padding-top: 0;
}
div.article, div.welcome {
	padding: 0px;
}


/* links in general */
a, a:visited {
	text-decoration: none !important;
}

/* grid links */
.ms-cellstyle > a {
	color: #000000;
}
.ms-vb a:visited, .ms-vb2 a:visited, .ms-vb-user a:visited {
	color: #000000;
}

/* title of search items */
.ms-core-form-heading, .ms-srch-item-link {
	color: #3095C1;
}

/* page titles */
.ms-core-pageTitle {
	font-size: 1.8em;
	font-weight: bold;
}

/* nav items in mobile navigation */
#DeltaTopNavigation_mobileClone .menu-item-text {
	line-height: 30px;
}

a.static .menu-item-text {
	line-height: 30px;
	font-size: 1.3em;
}

a.dynamic .menu-item-text {
	line-height: 30px;
	font-size: 1.2em;
}

.ms-core-listMenu-horizontalBox .ms-core-listMenu-selected:link, 
.ms-core-listMenu-horizontalBox .ms-core-listMenu-selected:visited, 
.ms-core-listMenu-horizontalBox .ms-core-listMenu-selected, 
.ms-tv-selected:link {
	
	font-weight: 600;
}

.ms-core-listMenu-horizontalBox a.ms-core-listMenu-item:hover, 
.ms-core-listMenu-horizontalBox a.ms-core-listMenu-item.ms-core-listMenu-selected:hover, 
a.ms-tv-item:hover, 
a.ms-tv-header:hover {
	color: #000000;	
}

.query-header, .query-header:focus,
.query-header:visited, .query-header:active {
	color: #50AAD3;		
	font-weight: bold;
}

/* Resize navigation fly-out width */
ul.dynamic {
  width: auto !important;  /* !important needed to override inline SharePoint style */
  white-space: nowrap;
}

.pos-relative {
	position: relative;
}
.pos-absolute {
	position: absolute;
}

.unidata-footer .left {
	float: left;
	text-align: left;	
	margin-top: 6px;
	margin-left: 6px;
	margin-bottom: 0px;
}

.unidata-footer .right {
	float: right;
	text-align: right;	
	margin-top: 6px;
	margin-right: 6px;
	margin-bottom: 0px;
}

.unidata-footer .centered {
	text-align: center;	
	margin: 0px;
}

.unidata-footer-inner {
	max-width: 1024px;
	margin: auto;

}

.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	/* The bottom margin is the negative value of the footer's height */
	margin: 0 auto -40px;
	overflow: visible !important;
}

.unidata-footer, .push {
	height: 40px;
	clear: both;
}

.unidata-footer {
	background: #CDCCCB;
	color: #000;
	/*line-height: 50px;*/
	text-align: center;
}

/* Auswertungen tree */
.ms-gb a, .ms-gb2 a, .ms-vb a {
	color: black;
}
.ms-gb {	
	border-bottom: none;
}

/* Publikationen tree*/
.treeview a {
	color: black;
}
.treeview tr {
	height: 30px;
}
.treeview img {
	padding-right: 5px;
}

#siteIcon {
	height: inherit;
	width:100%;
}						
.ms-siteicon-a {
	max-width:inherit;
}

#s4-bodyContainer {
	padding-bottom: 0px !important;
}

#s4-titlerow {
	padding-top: 0px !important;
}

#DeltaTopNavigation_mobileClone li.static a.static {
	font-size: 1.1em!important;
}

.unidata-header-title-h1 {
	color: #808080;
	font-size: 18pt;
	font-weight: bold;
}

.unidata-header-title-h2 {
	color: #808080;
	font-size: 10pt;
	font-weight: bold;
}

.unidata-header-title {
	margin-left: 20px;
	display: inline-block;
	line-height: normal;
	vertical-align: top;
}

#login-link-container {
	display: inline-block;
	width: 100%;
	text-align: center;
}

#login-link-container > span {
	display: inline-block;
	width: 1024px;
	text-align: right;
	margin: auto;
}

.glossar-description {
	max-width: 600px;
}

/* Datenkatalog Tree */
.datenkatalog-tree .ms-gb img {
    padding-right: 5px;
}

.datenkatalog-tree .ms-gb a {
    font-weight: normal;
}

/* Auswertungen Tree */
.ms-vb-imgFirstCell.ms-vb-imgFirstCell.ms-vb-imgFirstCell {
    width: 20px;
}
.ms-cellstyle.ms-vb-icon {
	width: 15px;
}
.ms-listviewtable .ms-gb, .ms-listviewtable .ms-gb2 {
	padding-top: 0;
	height: 30px;
}

/* NAVIGATION */

@media screen and (min-width: 481px) {
	.ms-core-sideNavBox-removeLeftMargin{	
		display: none;
	}
	
	#s4-bodyContainer {
/*		min-width: 768px;*/
		max-width: 1000px;
		padding-left:10px;
		padding-right:10px;
/*		width: 70%;*/
		margin: auto;
	}
	
	#s4-titlerow {
		height: inherit;
		padding-top: 2px;
	}
	
	#titleAreaBox {
		margin: 0;
	}
	
	#contentBox {
		margin-left: 0px;
		margin-right: 0px;		
	}
	
	.ms-siteicon-img {
		max-width: 184px;
		max-height:100px;
	}
	
}

/* DESKTOP MODE */
@media screen and (min-width: 769px) {
    .ms-breadcrumb-top {
		margin-bottom: 35px;
	}
	
	#DeltaSiteLogo {
		text-align: left;
		line-height: normal;
	}
}

/* TABLET MODE */
@media only screen and (min-width: 481px) and (max-width: 768px) {
	.Footer {
        position:fixed;
        bottom:0px;
        height: 40px;        
        margin-top:0px;
        clear:both;
        top:auto;
    }
    
    .Footer p {		
        margin-top:0px;
    }
	
    .desktop-only {
        display: none;		
    }
	
    #contentBox {
        float: left;
    }

	
    #siteIcon {
        width: inherit;
    }

    #titleAreaBox {
        float: left;
    }

    #titleAreaRow {
        display: table-row !important;
    }
	
	/* SIDE BAR - override behavior of SPResponsive*/
	body.shownav #sideNavBox {
		margin-left: 0px;
	}
	
	#sideNavBox {
		position: fixed;
		margin-left: -250px;
		background-color: white;
		z-index: 999;
		height: 100%;
		width: 200px;
		padding: 20px;
		left: 0px;
		border: solid 1px lightgray;
	}
	
	#contentRow {
		margin-left: 0px!important;
		margin-right: 0px!important;
	}
}

/* SMARTPHONE MODE */
@media screen and (max-width: 480px) {
    .unidata-footer {
        height:60px;        
    }
    
    .tableCol-75 {
		float: left;
	}
	
	.tableCol-25 {
		float: left;
	}
		
	.desktop-only {
		display: none;		
	}
	
	#DeltaPlaceHolderLeftNavBar {
		display: none;
	}
	
	#contentRow > #contentBox {
		margin-top: 0px;
	}
}


@media screen and (max-width: 768px) {
	/* override SP.Reponsive behavior*/
	li.dynamic-children ul.dynamic {	
		height: auto !important;
		padding-left: 30px !important;
	}	
	li.dynamic-children > button > span {
		display: none !important;
	}
}

#ctl00_insifficientPermissionsNote {	
	line-height: normal;
}