/* module-key = 'de.communardo.atlassian.plugins.cute:cute-dynamic-resources', location = 'styles/dynamic.css' */
.guard{}
/**
Set colours @ tracker.moodle.org/secure/admin/LookAndFeel!default.jspa

Colours
Header Background Colour	#ffffff
Header Highlight Background Colour	#ffffff
Header Separator Colour	#4653b4
Header Text Colour	#4653b4
Header Text Highlight Colour	#4653b4
Menu Item Highlight Background Colour	#4653b4
Menu Item Highlight Text Colour	#ffffff
Button Background Colour	#4653b4
Button Text Colour	#ffffff
Link Active Colour	#0070A8
Heading Colour	#4653b4
Link Colour	#0070A8

Gadget Colours
Colours 1 - 7 #4653b4
*/
#moodlesitestopnavbar {
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    font-size: 14px;
    height: 51px;
    box-shadow: none;
    border-bottom: #dee2e6 1px solid;
    align-items: stretch;
    background-color: #fff!important;
    padding: 0.5rem 1rem;
    flex-flow: row;
    justify-content: flex-start;
    display: flex;
    font-family: 'Open Sans';
    padding-top: 0;
    padding-bottom: 0;
}

#moodlesitestopnavbar .navbar-brand img{
    max-height: 32px;
    margin-top: 0.6rem;
}

#moodlesitestopnavbar .navbar-collapse{
    display: flex!important;
    flex-basis: auto;
    justify-content: flex-end;
    flex-grow: 1;
    align-items: center;
    margin-top: 0.5rem!important;
}

#moodlesitestopnavbar .navbar-collapse .navbar-nav {
    flex-direction: row;
    display: flex;
    padding-left: 0;
    margin-bottom: 0 !important;
    list-style: none;
    margin: 0 0 10px 25px;
}


#moodlesitestopnavbar ul li a{
    background: none !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
    color: #194866;
    font-weight: 700;
}

#moodlesitestopnavbar .nav-link span:hover {
    border-bottom: 3px solid #F98012!important;
}

#moodlesitestopnavbar .navbar-nav .dropdown-menu {
    position: absolute;
    top: 7%;
    right: 0;
    left: auto;
    min-width: 160px;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    z-index: 1000;
    display: none;
}

#moodlesitestopnavbar .navbar-nav .quick-search-item-image{

    width:22px !important;
    height:22px !important;
}

#moodlesitestopnavbar .waffle-menu{
    	display:none;
}
    
#moodlesitestopnavbar .show {
    display: block !important;
}

#moodlesitestopnavbar .pathways {
    max-width: 402px;
    color: #373f41;
    font-size: 12px;
    padding: 1rem!important;
}

#moodlesitestopnavbar .pathways .heading {
    font-size: 14px;
    padding-bottom: 0.25rem!important;
}

#moodlesitestopnavbar .pathways hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
}
#moodlesitestopnavbar .pathways a{
    font-size: 14px !important;
    font-weight: 400 !important;
}

#moodlejirafooter {
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	background-color: #333;
  	color: #868686;
}

#moodlejirafooter > a > img {
	padding-top: 10px;
}

#footer .footer-body {
	padding: 0;
	margin: 5px 0;
}

#header .aui-header {
	background: none;
  	border: none;

  	border-bottom: 1px solid #ccc;
}

#header .aui-header .aui-header-inner {
	background-repeat: no-repeat;
  	height: 60px;
  	background-size: 100% 60px;
  	background-color: @header.background.color;
}

#header .aui-header .aui-header-logo img {
  	visibility: hidden;
	border: 0;
	float: left;
  	height: 58px;
    max-height: 58px;
  	padding: 0;
}

#header .aui-header .aui-header-logo a {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
  	height: 58px;
	padding: 0;
}


/*
#header .aui-header .aui-dropdown2-trigger.active, 
#header .aui-header a:focus, 
#header .aui-header a:hover, 
#header .aui-header a:active {
	background-color: transparent;
 	border-color: transparent;
}*/

#header .aui-header .aui-icon {
	margin: 0;
	vertical-align: text-top;
}

#header .aui-header a > .aui-avatar {
	display: inline-block;
	vertical-align: text-top;
}

#header .aui-header .mw-anchor {
	height: 30px;
 	padding-top: 10px;
	padding-bottom: 18px;
	padding-right: 25px;
}

#header #notifications-anchor .badge-i.aui-icon, #notifications-anchor.read .badge-i.aui-icon {
	background-image: none;
	margin-top: -8px;
}

#header .aui-header-inner {
	height: 60px;
}
h1#logo.aui-header-logo.aui-header-logo-custom {
  padding: 5px;
}

.global-warning, .bonfire-headsup {
  position: relative !important;
  top: 50px !important;
  margin-bottom: 10px !important;
}

span#status-val.value {
	//width: 200px !important;
}
.jira-issue-status-lozenge {
  	white-space: nowrap;
  	overflow: visible;
	max-width: 300px !important;
	//text-overflow: ellipsis; //disables this
}


#header .aui-header .aui-header-inner .aui-header-primary .aui-logo {
	margin: 0;
  	padding-top: 0px;
	float: left;
}

#header .aui-header .aui-header-inner .aui-header-primary .aui-nav {
	margin: 8px;
	padding: 0;
	float: left;
}

#header .aui-header .aui-header-secondary {
	top: unset;
}

#header .aui-header .aui-header-inner .aui-header-secondary .aui-nav {
	margin: 8px;
	padding: 0;
	float: right;
}

#header .aui-header .aui-button.aui-button-primary.aui-style {
    background-color: @button-background-color;
	background-image: -moz-linear-gradient(top, @first-gradient-color, @second-gradient-color);
	background-image: -ms-linear-gradient(top, @first-gradient-color, @second-gradient-color);
	background-image: -webkit-linear-gradient(top, @first-gradient-color, @second-gradient-color);
	background-image: -o-linear-gradient(top, @first-gradient-color, @second-gradient-color);
	background-image: linear-gradient(top, @first-gradient-color, @second-gradient-color);
}

#header .aui-header .aui-button.aui-button-primary.aui-style:hover, .aui-header .aui-button.aui-button-primary.aui-style:focus {
	background-color: @hover-button-background-color;
  	background-image: -moz-linear-gradient(top, @hover-first-gradient-color, @hover-second-gradient-color);
	background-image: -ms-linear-gradient (top, @hover-first-gradient-color, @hover-second-gradient-color);
	background-image: -webkit-linear-gradient(top, @hover-first-gradient-color, @hover-second-gradient-color);
	background-image: -o-linear-gradient(top, @hover-first-gradient-color, @hover-second-gradient-color);
	background-image: linear-gradient(top, @hover-first-gradient-color, @hover-second-gradient-color);
}

// Restoring look & feel after 8.13.7 upgrade (ICT-944)
#header .aui-header-logo-text {
  font-size: 24px;
  font-weight: bold;
}

#header .aui-header .aui-quicksearch input {
    background: #b6b9bd;
}

// media queries only after this point. (sequence!)
@media(min-width:1680px) {
	#page {
		//max-width: 1680px;
	}
}
  
@media(max-width:979px) {
    #moodlesitestopnavbar {
        padding: 0;
    }

    #moodlesitestopnavbar .navbar-container {
        padding-right: 5px;
        padding-left: 5px;
    }

    #moodlesitestopnavbar ul li a {
        padding-right: 5px;
        padding-left: 5px;
    }
    
}
@media(min-width:751px) {
  header#stalker.issue-header.js-stalker.detached {
    padding-top: 35px !important;
  }
}
@media(max-width:750px) { //sitebar wrap to 2 lines
	.issue-header.detached {
		//padding-top: 75px !important; //not working ...
	}
	
	#moodlesitestopnavbar .waffle-menu{
	    border-right: 1px solid #DEE2E6;
	    border-bottom: 1px solid #F98012;
	    border-bottom-width: medium;
	    margin-right: 1rem !important;
	    display: flex !important;
	}
	#moodlesitestopnavbar .navbar-brand{
	
	    margin-left: 2rem;

	}
	
	#moodlesitestopnavbar .collapse:not(.show) {
    	     display: none !important;
	}
	
	#moodlesitestopnavbar .navbar-toggler{
	    border-color: transparent!important;
	    background: none!important;
	    padding: 5px 15px;
	    box-shadow: none!important;
	    margin-right: 1rem;
	}
	
	#moodlesitestopnavbar .navbar-toggler .aui-icon{
	    display: inline-block;
	    width: 1.5em;
	    color: grey;
	}
	
	#moodlesitestopnavbar .navbar-nav {
	    background: #fff;
	    padding: 10px !important;
	    margin: initial !important;
	    max-width: fit-content;
	    border: 1px solid lightgray;
	    flex-direction: column !important;
	    position: absolute;
	    margin-top: 3.1rem !important;
	    margin-left: -15.4rem !important;
	    z-index: 1000;
	}
	
	#moodlesitestopnavbar .navbar-nav .search{
	    display: none ;
	}
	#moodlesitestopnavbar .navbar-nav .menu{
	    display: none ;
	}
	
	
	#moodlesitestopnavbar .navbar-nav .nav-link{
	
	    padding: 0.5rem 1rem;
	}
	
}
/** Hide clone option MDLSITE-2586 */
#clone-issue {
  display: none;
}

/** Hide sprint buttons from partners dashboard HQ-1075 */
body.ghx-mode-planning.ghx-agile.sprint-less .ghx-sprint-group {
  display: none
}
body.ghx-mode-planning.ghx-agile.sprint-less .js-add-sprint { 
  display: none;
}

/** Hide 'Hide the Header' option to prevent Moodle Toolbar from overlapping */
div#ghx-header > div#ghx-modes-tools > div#ghx-view-presentation {
  display: none;
}

/** Make image preview on top MDL-68895**/
*[id^='cp-container-'] {
  z-index: 1001 !important;
}
/** INTEGRATION SCREENS **/

/** Modifications to the "MDL: Integration ends (accepted)" screen:
 *    - Hide all the field help texts to save space.
 *    - Hide all log work fields, but the "Time Spent" one.
 * Applied to 5 transitions:
 *     - Mark as integrated (2 transitions)
 *     - Mark as security integrated.
 *     - Send back to testing.
 *     - Send back to security testing.
 */
div#workflow-transition-841-dialog div.description,
div#workflow-transition-1001-dialog div.description,
div#workflow-transition-1371-dialog div.description,
div#workflow-transition-1471-dialog div.description,
div#workflow-transition-1631-dialog div.description {
  display: block; /** Enabled back 20190507 in the accepted screen to avoid mistakes */
}
div#workflow-transition-841-dialog div#worklog-logworkcontainer > :not(:first-child),
div#workflow-transition-1001-dialog div#worklog-logworkcontainer > :not(:first-child),
div#workflow-transition-1371-dialog div#worklog-logworkcontainer > :not(:first-child),
div#workflow-transition-1471-dialog div#worklog-logworkcontainer > :not(:first-child),
div#workflow-transition-1631-dialog div#worklog-logworkcontainer > :not(:first-child){
  display: none;
}

/** Modifications to the "MDL: Integration ends (rejected)" screen:
 *    - Hide all the field help texts to save space.
 *    - Hide all log work fields, but the "Time Spent" one.
 * Applied to 4 transitions:
 *     - Fail review.
 *     - Reopen issue.
 *     - Fail integration review.
 *     - Fail security integration review.
 */
div#workflow-transition-831-dialog div.description,
div#workflow-transition-871-dialog div.description,
div#workflow-transition-901-dialog div.description,
div#workflow-transition-1481-dialog div.description {
  display: none;
}
div#workflow-transition-831-dialog div#worklog-logworkcontainer > :not(:first-child),
div#workflow-transition-871-dialog div#worklog-logworkcontainer > :not(:first-child),
div#workflow-transition-901-dialog div#worklog-logworkcontainer > :not(:first-child),
div#workflow-transition-1481-dialog div#worklog-logworkcontainer > :not(:first-child) {
  display: none;
}

/** Modifications to the "MDL: Integration ends (stopped)" screen:
 *    - Hide all the field help texts to save space.
 *    - Hide all log work fields, but the "Time Spent" one.
 * Applied to 2 transitions:
 *     - Stop review
 *.    - Ask for feedback
 */
div#workflow-transition-721-dialog div.description,
div#workflow-transition-1501-dialog div.description {
  display: none;
}
div#workflow-transition-721-dialog div#worklog-logworkcontainer > :not(:first-child),
div#workflow-transition-1501-dialog div#worklog-logworkcontainer > :not(:first-child) {
  display: none;
}

/** CLR SCREENS **/

/** Modifications to the "MDL: Component leads review ends (accepted)" screen:
 *    - Hide all the field help texts to save space.
 *    - Hide all log work fields, but the "Time Spent" one.
 * Applied to 1 transition:
 *     - Accept issue
 */
div#workflow-transition-1611-dialog div.description {
  display: block; /** Enabled back 20190507 in the accepted screen to avoid mistakes */
}
div#workflow-transition-1611-dialog div#worklog-logworkcontainer > :not(:first-child) {
  display: none;
}

/** Modifications to the "MDL: Component leads review ends (rejected)" screen:
 *    - Hide all the field help texts to save space.
 *    - Hide all log work fields, but the "Time Spent" one.
 * Applied to 4 transitions:
 *     - Reopen inssue (2 transitions)
 *     - Fail review
 *     - Reject issue
 */
div#workflow-transition-1551-dialog div.description,
div#workflow-transition-1601-dialog div.description,
div#workflow-transition-1621-dialog div.description {
  display: none;
}
div#workflow-transition-1551-dialog div#worklog-logworkcontainer > :not(:first-child),
div#workflow-transition-1601-dialog div#worklog-logworkcontainer > :not(:first-child),
div#workflow-transition-1621-dialog div#worklog-logworkcontainer > :not(:first-child) {
  display: none;
}

/** Modifications to the "MDL: Component leads review ends (stopped)" screen:
 *    - Hide all the field help texts to save space.
 *    - Hide all log work fields, but the "Time Spent" one.
 * Applied to 2 transitions:
 *     - Stop review
 *.    - Ask for feedback
 */
div#workflow-transition-1591-dialog div.description,
div#workflow-transition-1581-dialog div.description {
  display: none;
}
div#workflow-transition-1591-dialog div#worklog-logworkcontainer > :not(:first-child),
div#workflow-transition-1581-dialog div#worklog-logworkcontainer > :not(:first-child) {
  display: none;
}