/*******************************************************************************
 *   Theme:         Author-it Magellan Theme Override Stylesheet
 *   Author:        Author-it Software Corp (http://www.author-it.com)
 *   Copyright:     Author-it Software Corp, All Rights Reserved
 *   Last Updated:  12-Apr-2020
 *   Version:       2020.R2
 *
 *   IMPORTANT:     This file is where all your customisations and overides should appear.
 *                  DO NOT modify the mainstyles.css file but instead create a copy of the 
 *					themestyles.css file into the Data\Templates\Magellan Themes\YourThemeName\ 
 *					then make changes is the variable values below, or for advanced changes 
 *                  find and copy the CSS rules you want to change from mainstyles.css 
 *					into this file, then make your changes.
 *
 *******************************************************************************/


 html {
/* base colors */
    --primary-color: #303ab2;
    --primary-light-color: #00adff;
    --secondary-color: #ff9d00;
    --secondary-light-color: #495375;
	--newsecondary-light-color: #495375;
    --dark-gray-color: #353535;
    --gray-color: #9e9e9e;
	--new-gray-color: #f2f2f2;
    --medium-gray-color: #9e9e9e;
    --light-gray-color: #dedede;
/* functional colors */
    --background-color: white;
    --landing-bg-color: white;
    --heading-bg-color: var(--light-gray-color);
    --panel-head-bg-color: var(--light-gray-color);
	--expanding_block-color: var(--new-gray-color);
    --widget-head-bg-color: var(--light-gray-color);
    --footer-bg-color: var(--light-gray-color);
    --content-bg-color: white;
    --control-bg-color: white;
    --button-bg-color: var(--light-gray-color);
    --active-btn-bg-color: var(--primary-light-color);
    --submit-btn-bg-color: var(--primary-color);
    --form-bg-color: white;
    --widget-bg-color: white;
    --text-color: var(--dark-gray-color);
    --title-color: var(--primary-color);
    --title-outline-color:black;
    --footer-text-color: var(--dark-gray-color);
    --heading-text-color: var(--dark-gray-color);
    --panel-head-text-color: var(--dark-gray-color);
    --widget-head-text-color: var(--dark-gray-color);
    --button-text-color: white;
    --active-btn-text-color: white;
    --submit-btn-text-color: white;
    --shadow-color: var(--light-gray-color);
/* functional elements */
    --border-radius-small: 2px;
    --border-radius-large: 4px;
    --transition-speed: 0.4s;
/* default icons - FontAwesome */
    --toc-open: '\f0d7';
    --toc-closed: '\f0da';
    --left-pane-open: '\f104';
    --left-pane-closed: '\f105';
    --right-pane-open: '\f105';
    --right-pane-closed: '\f104';
    --widget-open: '\f067';
    --widget-closed: '\f068';
    --breadcrumbs-separator: '\f105';
    --related-menu-closed: '\f104';
    --related-menu-open: '\f105';
    --glossary-link-icon: '\f05a';
    --popup-link-icon: '\f0e5';
    --external-link-icon: '\f08e';
    --expand-inline-open: '\f104';
    --expand-inline-closed: '\f105';
    --expand-block-open: '\f106';
    --expand-block-closed: '\f107';
}
    
     /* heading of search results */
     #shortened_search_result > div td span  {
        font-size:16px;
        font-weight:600;
        margin:0 0 5px 0;
        display:inline-block;
     }
    
     /* link of search results */
     #shortened_search_result > div td a  {
        font-size: inherit;
        font-weight: normal;
        padding: 5px 5px;
        border: 1px solid transparent;
        border-radius: var(--border-radius-small);
        margin: 0 0 0 -5px;
        display: inline-block;
        color: var(--text-color);
        width: 100%;
     }
	 
	 .landing_bg {
    background-image: none;
	background-color: var(--new-gray-color);
}

/* styles.css */
#banner {
  background-color: #ff9d00;
  color: #FFFFFF;
          font-size:20px;
        font-weight:400;
  padding: 15px;
  text-align: center;
  border: 1px solid #FFFFFF;
  width: 20%;
  position: fixed;
  top: 40%;
  left: 85%;   
  transform: translate(-50%, -50%);
  z-index: 1000; /* ensures the banner is on top */
  border-radius: 6px; /* Ecken abrunden */
}

#banner a {
  color: #FFFFFF;
          font-size:18px;
        font-weight: 600;
  text-decoration: underline;
}
#banner .close-btn {
  position: absolute;
  top: 50px;
  right: 10px;
  font-size: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

body {
  padding-top: 60px; /* adjust this value based on the height of your banner */
}


.pictemplate_big {	
	width: 1000px;
	border: 2px solid var(--gray-color);
	padding: 0px;
	border-radius: 3px;
	box-shadow: 3px 3px 3px 3px #dfdfdf;
	margin-top: 10px;
	margin-bottom: 5px;
}

.pictemplate_medium {	
	width: 700px;
	border-top: 2px solid var(--gray-color);
	border-bottom: 2px solid var(--gray-color);
	border-left: 2px solid var(--gray-color);
	border-right: 2px solid var(--gray-color);
	padding: 0px;
	border-radius: 2px;
	box-shadow: 3px 3px 3px 3px #dfdfdf;
	margin-top: 10px;
	margin-bottom: 5px;
}

.pictemplate_small {	
	width: 350px;
	border-top: 2px solid var(--gray-color);
	border-bottom: 2px solid var(--gray-color);
	border-left: 2px solid var(--gray-color);
	border-right: 2px solid var(--gray-color);
	padding: 0px;
	border-radius: 2px;
	box-shadow: 3px 3px 3px 3px #dfdfdf;
	margin-top: 10px;
	margin-bottom: 5px;
}
	 
	 
	 /* makes help icon disappear */
.top_icons.nav.navbar-nav.pull-right > li:nth-of-type(4) {display: none;}

	 
	 /* Promoted content section main container */
section.content_root_section {
    background-color: transparent;
    padding-bottom:30px;
}

/* breadcrumbs container, hier wird die LInie orange in den breadcrumbs */
ol.breadcrumb {
    padding: 10px 15px 10px 15px;
    background-color: none !important;
    background: none !important;
    border-bottom: 1px solid var(--secondary-color);
    margin-bottom: 0px;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Body content from [LandingPageContent] topic in Book, divs has id="l_{topic id}" */
.landing_content_title {
    color: var(--text-color);
    width: 100%;
    font-size: 32px;
    line-height: normal;
    word-spacing: normal;
    text-align: center;
    padding: 0 15px 10px 15px;
}

/* Web Heading from [LandingPageContentItems] topics, always H3 regardless of TOC level in book */
.landing_content_box h3 {
    margin: 0;
    padding:10px;
    font-size: 16px;
    font-weight: 600;
    background-color:var(--primary-light-color);
    color: white;
    text-align:center;
 
}
/* Navimenü oben */
nav.navbar-default {
    border-radius: 0px;
    background-color: var(--primary-color);
    margin: 0;
    border: 0;
	border-top: 3px solid var(--secondary-color);
    z-index: 9;
    min-height: 46px;
    max-width: 100vw;
 }


/*#Menuleiste breiter machen und SChrift kleiner */
#navigation-root ul.navbar-nav {
    border-top: 10px black;
    max-width: 100vw;
    max-height: 50px;
    display: flex;
    flex-flow: row nowrap;

}


/* navbar main container */

#navigation-root {
    border-top: 10px black;
    padding: 0;
    width: auto;
}

/* top level menu item container */
.navbar-default .navbar-nav > li > a {
    margin: 5px 3px 5px 3px;
    padding: 5px 8px 5px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 600;
}

/* LANDING page adjustments*/
.mainpage_block.jumbotron > h1 {
    margin: 50px 0 0 0;
    color: var(--title-color);
    font-weight: 400;
    font-size: 56px;
    text-shadow: -1px -1px 0 var(--primary-color), 1px -1px 0 var(--primary-color), -1px 1px 0 var(--primary-color), 1px 1px 0 var(--primary-color);
}

/*  Suchbutton orange seacrh button */
.mainpage_block > .search_block > form > .input-group > .input-group-addon {
    background-color:  var(--control-bg-color);
    border: 1px solid var(--light-gray-color);
    border-left:none;
    fill: var(--secondary-color);
}

/* Suchbutton orange: seacrh button hover */
.mainpage_block > .search_block > form > .input-group > .input-group-addon:hover {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    fill: #fff;
}

/* Widget -Most Recent Searches */

/* Clear History button */
#mostrecent a.pull-right, .sidebar_content a.pull-right {
    border: 1px solid var(--newsecondary-light-color);
    border-radius: var(--border-radius-small);
    background-color: var(--newsecondary-light-color);
    color: white !important;
    font-size: 12px;
    padding: 0 2px 0 2px;
    line-height: normal;
    margin: -5px;
}

/* Clear History button hover */
#mostrecent a.pull-right:hover, .sidebar_content a.pull-right:hover {
    background-color: white;
    color: var(--newsecondary-light-color) !important;
}


/* LANDING page adjustments responsive - betrifft Seitentitel Knowledge Center auf mobilen Geräten. 
die Abschnitte müssen von der mainstyle hierhin kopiert werden, auch wenn die H1 in der Größe nicht geändert wird. Sonst nimmt Magellan die 56püx für den Seitentitel und nicht die in der mainstyle angegebenen Größen für responsive */



    /* BP1 and BP2 - for screens upto 800px wide */
    @media (max-width: 800px) {

        /* font sizes for heading and sub-heading*/
        .mainpage_block.jumbotron > h1 {
            font-size: 24px;
 }
 }


  /* BP1 - adjustements for screens upto 640px wide */
    @media (max-width: 640px) {



        /* font sizes for heading and sub-heading*/
        .mainpage_block.jumbotron > h1 {
            font-size: 20px;
        }
	}
	
	/* Footer für mobile 640 Screen */
    /* BP1 - adjustements for screens upto 640px wide */
    @media (max-width: 640px) {
        /* searchbox container*/
        .mainpage_block.jumbotron {
            margin: 0;
            padding-top: 0;
        }

        /* hide footer on mobile screen*/
        footer, footer.has_footer  {
          display: block;
        }
	


     .footer-item .f_header {
        text-align: justify;  
        padding-top:10px ;   
        padding-bottom: 0px;
        background-color: rgb(253, 251, 251); 
        color: lightslategrey;
        font-size: 18px;
    }
     
    .footer-item{
        padding: 1px;
        background-color: #fbf8eb;
        border-radius: 15px;  
    }
    
    .footer-item .bodytext {
        text-align: justify;    
        padding-top: 0px ;
        padding-bottom:10px ;
        background-color:#fbf8eb;  
    }
    
    .footer-item  .div-class{
        padding-left: 10px;
        padding-right: 10px;   
    }
    .footer_link{
        font-size: 12px;
        padding: 10px ;
    }
    
    .footer_link a{
        color: lightslategrey;
    }
    .footer_link a:hover{
        color: indianred; 
        text-shadow: -1px 1px 8px rgb(255, 204, 204), 1px -1px 8px #fff;
    }