/*	set up some defaults	*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*	set up the page header	*/

.ats_pageHeader {
    width: 100vw;
    display: flex;
    justify-content: center;
    overflow: visible;
}

/*	background banner image	*/
.ats_pageHeader img {
    position: absolute;
    width: 80vw;
    z-index: -1;
}

/*	wrapper for the dal logo and page title	*/
.ats_pageHeader h2 {
    display: flex;
    flex-direction: column;
    width: 80vw;
    text-indent: -50000px;
    opacity: .75;
    background-color: lightgray;
    padding: 5px;
}

/*	dal logo	*/
.ats_pageHeader a {
    display: block;
    background-image: url("https://software.library.dal.ca/include/common/DAL_FullColorOfficial_Logo.png"), none;
    background-repeat: no-repeat;
    background-size: cover;
    width: 200px;
    height: 50px;
    margin-top: 0.5em;
    margin-left: 0.5em;
}

/*	page title	*/
.ats_pageHeader span {
    align-self: flex-end;
    position: relative;
    float: right;
    text-indent: 0px;
    margin-right: 100px;
}

/********************		Dal nav Bar		********************/
.ats_navBar {
    display: flex;
    justify-content: center;
    width: 100vw;
    margin-bottom: 25px;
}

.ats_mainNav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 80vw;
    background-color: white;
    opacity: 0.8;
}

.ats_mainNav a {
    color: black;
    padding: 10px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
}

.ats_mainNav a:hover {
    color: blue;
}

.ats_librariesNav a:hover {
    color: white;
}

/********************		end Dal nav Bar		********************/

/**************** nav bar screen under 1000px width *****************/
/********************		Dal nav Bar under 1000px width		********************/
/*
@media only screen and (max-width: 1000px){
	.ats_mainNav::before{
		display: block;
		content: '\2630';
	}
	.ats_mainNav{
		display: flex;
		flex-direction: column;
	}

	.ats_mainNav a{
		display: none;
		padding: 0;
	}

	.ats_mainNav:hover::before  .ats_mainNav a{
		cursor: crosshair;
		display: block;
	}
	.ats_mainNav a:hover{
		display: block;
	}
}
*/

/********************		end Dal nav Bar under 1000px width		********************/

/*	page framework	*/

.ats_mainContent {
    display: flex;
    flex-direction: column;
    margin-left: 12vw;
    margin-right: 12vw;
    margin-bottom: 6em;
    background-color: white;
    padding: 15px 20px;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
}

/*	page footer	*/


.ats_page_footer {
    position: fixed;
    bottom: 0;
    display: block;
    width: 100%;
    height: 6em;
    border-top: 2px solid gold;
    font-size: 85%;
    margin-top: 15px;
    ;
    padding-left: 10vw;
    padding-right: 10vw;
    background-color: white;
}

.ats_page_footer address h4,
.ats_page_footer address p {
    margin: 0;
}

.ats_page_footer address {
    display: inline-block;
    width: fit-content;
    margin: 5px;
}

.ats_footerLinks {
    display: inline-block;
    width: fit-content;
    margin-right: 2em;
    float: right;
}

.ats_footerLinks li {
    display: inline-block;
    padding: 2px 5px;
    border-right: 1px solid gray;
}

.ats_footerLinks li:last-child {
    border: none;
}

.ats_footerLinks a {
    color: #8f8e8a;
    text-decoration: none;
}

.ats_footerLinks a:hover {
    color: #8f8e8a;
    text-decoration: underline;
}


/*	utility css	*/
.ats_floatLeft {
    position: relative;
    float: left;
}

.ats_floatRight {
    position: relative;
    float: right;
}


/*************	libraries tab menu	**************/
/*		for creation of the libraries menu		*/
.ats_caret {
    position: relative;
    display: inline-block;
}

.ats_caret:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 5px solid white;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.ats_caret:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    border-top: 0px solid #ffffff;
    border-left: 0px solid transparent;
    border-right: 0px solid transparent;
}

.ats_tabMenu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100vw;
    background-color: white;
    opacity: 0.8;
    margin: auto;
    margin-bottom: 5px;
    left: 8px;
    position: relative;
}

.ats_tabMenu_button {
    background-color: white;
    color: black;
    font-weight: bold;
    height: 2em;
    padding: 5px 10px 5px 10px;
    margin-right: 4px;
    text-decoration: none;
}


.ats_tabMenu_dropdown {
    display: flex;
}

.ats_tabMenu_dropdown_content {
    position: absolute;
    margin-top: 2em;
    display: none;
    flex-direction: column;
}

.ats_tabMenu_dropdown_content .ats_tabMenu_button {
    background-color: LightGray;
    color: black;
}


.ats_tabMenu_button:hover {
    background-color: #696969;
    color: white;
}

.ats_tabMenu_dropdown:hover .ats_tabMenu_dropdown_content {
    display: flex;
}

/***************	end ATS tab menu	***************/

/*************	custom tab menu bar	*************************/
/*			for creation of secondary custom menues			*/
.ats_tabMenuBar {
    display: flex;
    flex-direction: row;
    background-color: lightgray;
    overflow: hidden;
    margin-top: 5px;
    margin-bottom: 15px;
}

.ats_tabMenuBar button,
.ats_tabMenuBar a {
    font-size: 16px;
    background-color: lightgray;
    color: black;
    text-align: center;
    padding: 5px 10px;
    border: none;
    border-right: 1px solid black;
}

.ats_tabMenuBarDropdown {
    overflow: hidden;
}

.ats_tabMenuBarDropdown .ats_tabMenuBarDropdownContent {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    /*padding: 14px 16px;
	background-color: inherit;*/
    font-family: inherit;
    margin: 0;
}

.ats_tabMenuBar button:hover,
.ats_tabMenuBar a:hover,
.ats_tabMenuBarDropdown:hover .ats_tabMenuBarDropButton .ats_tabMenuBarItem {
    background-color: darkgray;
    color: blue;
}

.ats_tabMenuBarDropdownContent {
    display: none;
    position: absolute;
    /*background-color: #f9f9f9;*/
    background-color: transparent;
    min-width: 160px;
    /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
    z-index: 1;
}

.ats_tabMenuBarDropdownContent button,
.ats_tabMenuBarDropdownContent a {
    float: none;
    color: black;
    padding: 5px 10px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.ats_tabMenuBarDropdownContent button:hover,
.ats_tabMenuBarDropdownContent a:hover {
    background-color: #ddd;
}

.ats_tabMenuBarDropdown:hover .ats_tabMenuBarDropdownContent {
    display: block;
}

/*************	end custom tab menu bar	*************************/

.floatLeft {
    margin-right: auto;
}

.floatRight {
    margin-left: auto;
    border: none;
}


/***********************************************************************/
/*          Nav bar         */
/***********************************************************************/

.tabbar {
    width: 100%;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    /*padding: .5rem 1rem;*/
    display: flex;
    margin-bottom: 1em;

}

/* Style the buttons that are used to open the tab content */
.tab-button {
    display: flex;
    background-color: #f1f1f1;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 1em 1em;
    transition: 0.3s;
    font-weight: bold;
}

.tab-dropdown {
    display: flex;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

.tab-dropdown-content>.tab-button {
    padding: .5em 1em;
}

.tabbar button {
    align-items: center;
    border-right: 1px solid black;
}

/* Change background color of buttons on hover */
.tabbar button:hover {
    background-color: #dddccc;
}

/* Create an active/current tablink class */
.tabbar button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tab-dropdown-content {
    border: 1px solid #ccc;
    position: absolute;
    border-top: none;
    margin-top: 2.3em;
    display: none;
    flex-direction: column;
}

.tab-dropdown:hover .tab-dropdown-content {
    display: flex;
}

/*
  .tabbar > button:last-child {
    margin-left: auto !important;
  }
  */
/***********************************************************************/
/*          End Nav bar         */
/***********************************************************************/


.ats-button {
    background-color: lightgray;
    font-weight: bold;
    padding: .5em 1em;
}

.ats-button:hover {
    background-color: darkgray;
}

/* move logout button to the right*/
.logout {
    margin-left: auto !important;
    order: 2;
}