@charset "utf-8";
/* CSS Document */

/*

CONTENTS
- layout
- header
- buttons
- tooltips
- publications list
- FAQs
- media queries
- favourites
*/


/*
LAYOUT
*/

#ls-canvas {
    position: relative;
    max-width: 100%;
}

#row-content {
    max-width: 100%;
}

#ls-gen10-ls-fxr {
    position: relative; /* so that absolute positioned items in search area don't get affected by length of breadcrumb or publication title */
}

#row-content h1 {
    position: relative;
    padding: 10px 10px 0 35px;
    font-size: 18px;
    color: #036;
}

#row-content h1:before {
    color: #c1c9da;
    margin-right: 5px;
    content: "\f02d";
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: "FontAwesome";
}

.search-options {
    top: 0;
    left: 375px;
    z-index: 2;
}

.search-tools-bar {
    position: relative;
}

#searchArea {
    top:0.5em;
}

li.advanced {
    margin-left: 0;
}

.stat-reg-folder, .stat-reg-file {
   width: auto !important; /*  override an important declaration in qp-style which causes these to be wider than their container */
}




#searchArea #search input#searchBox.placeholder {
    font-weight: normal;
    font-size: 12px;
}

#main-content {
    padding-right: 15px;
}


#main-content h1 {
	font-size:24px;
	font-weight:bold;
	margin-top:1em;
}
#main-content h2 {
	font-size: 18px;
	font-weight: bold;
	color: #494949;
}
#main-content h3 {
	font-size: 14px;
	font-weight: bold;
	color: #494949;
}

.contentPageRightColumn h2 {
    font-size: 21px;
}

.promoBox input {
	padding:5px;
	margin-top:5px;
	margin-bottom:5px;
	width:185px;
}

.promoLink {
	margin-top: 10px;
}
body {
	line-height:normal;
}

/*
HEADER
*/

/*to override a style from the gov main.css*/
#header #header-main-row1 .navbar-header, #header #header-main-row2 {
    padding-bottom: 0;
}

#header-main {
    border-bottom: 0;
}

#logo {
    padding-left: 10px;
    padding-right: 35px;
}

.sitetitle {
    color: #fff;
    font-family: Myriad-Pro, Calibri, Arial, Sans Serif;
    font-weight: 600;
    font-size: 35px;
    margin: 15px 0 10px 15px;
}

.sitetitle a {
    color: #fff;
    text-decoration: none;
}

.navigationRibbon, #footerAdminSection {
    font-size: 14px;
}

.search {
	display:none !important;
}

.search-button {
	display:none !important;
}



/*
BUTTONS
*/

#user {
    float: right;
    color: #a0a0a0;
}

a.loginButton {
	color: #FFF;
	background-color: #1a5a96;
	text-decoration: none;
	padding-top: 3px;
	padding-right: 7px;
	padding-bottom: 3px;
	padding-left: 7px;
	margin-left:5px;
}
a.loginButton:hover {
	background-color: #fcba19;
	color: #FFFFFF;
}



/*TOOLTIPS*/

.tooltip {
	position:absolute;
	z-index:1070;
	display:block;
	color:#999;
	font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size:12px;
	font-style:normal;
	font-weight:400;
	line-height:1.42857143;
	text-align:left;text-align:start;
	text-decoration:none;
	text-shadow:none;
	text-transform:none;
	letter-spacing:normal;
	word-break:normal;
	word-spacing:normal;
	word-wrap:normal;
	white-space:normal;
	filter:alpha(opacity=0);
	opacity:0;line-break:auto;
}
	
.tooltip.in {
	filter:alpha(opacity=90);
	opacity:.9
}
.tooltip.top {
	padding:5px 0;
	margin-top:-3px
}
.tooltip.right {
	padding:0 5px;
	margin-left:3px
}
.tooltip.bottom {
	padding:5px 0;
	margin-top:3px
}
.tooltip.left {
	padding:0 5px;
	margin-left:-3px
}
.tooltip-inner {
	max-width:200px;
	padding:3px 8px;
	color:#fff;
	text-align:center;
	background-color:#000;
	border-radius:4px
}
.tooltip-arrow {
	position:absolute;
	width:0;
	height:0;
	border-color:transparent;
	border-style:solid
}
.tooltip.top .tooltip-arrow {
	bottom:0;
	left:50%;
	margin-left:-5px;
	border-width:5px 5px 0;
	border-top-color:#000
}
/*
PUBLICATIONS LIST
*/

#chooseView {
    margin-bottom: 20px;
}
#chooseView li {
    background: none;
    display: inline-block;
    padding: 0 8px 0 2px;
    font-size: 20px;
    color: #c7c7c7;
    cursor: pointer;
}

#chooseView li.current {
    color: #96CDE6;
}

#chooseView .sortOption  {
    font-size: 14px;
}
#chooseView li a  {
    color:#CCC;
	text-decoration:none;
}

#chooseView li:nth-child(3) {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #c7c7c7;
}

.contentPageMainColumn ul {
    padding-left: 0;
}

.contentPageMainColumn ul#myPubs li {
    float: left;
    width: 23%;
    height: 300px;
    margin-right: 2%;
    padding: 15px;
    background: #EFEFEF;
    border-radius: 2px;
	margin-bottom:20px;
	text-align:center;
}
.contentPageMainColumn ul#myPubs li p {
	margin-top:10px;
	text-align:left;
}
	
.contentPageMainColumn ul#addpub li {
    float: left;
    width: 23%;
    height: 300px;
    margin-right: 2%;
    padding: 15px;
    background: #EFEFEF;
    border-radius: 2px;
	margin-bottom:20px;
}

.addPub p {
    position: relative;
    margin-top: 0;
    padding-top: 70px;
	margin-bottom:20px;
    font-size: 24px; 
    color: #A7A9AC;
}

.addPub p:before {
    content: "\f067";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 80px;
    font-family: "FontAwesome";
    color: #DBDBDB;
	margin-top: -20px;
	margin-left:5px;
}
.addPub button {
	margin-top:10px;
}
.addPub input {
	padding: 3px;
	margin-top:10px;
	width:95%;
}
#myPubs input {
    width: 95%;
    margin: 10px 0;
    padding: 8px;
    border-radius: 3px;
}

/* Publications List View */
.contentPageMainColumn ul#myPubs.listView li {
    float: none;
    width: 100%;
    height: 60px;
	padding:10px;
	margin-bottom:0px;
    border-bottom: 3px solid #EFEFEF; 
    background: none;
    font-size: 16px;
	text-align:left;
}

#myPubs.listView li img {
    width: 40px;
    height: auto;
    display: inline;
    vertical-align: middle;
    margin-right: 20px;
}
.contentPageMainColumn ul#addPub.listView li.addPub {
    float: none;
    width: 100%;
    height: 60px;
    border-bottom: 3px solid #EFEFEF; 
    background: none;
    font-size: 16px;
	margin-bottom:0px;
}

.listView .addPub {
    margin-top: 0;
    text-align: left;
}
.listView .addPub input {
	width:20%;
}
.listView .addPub p {
    font-size: 18px;
    font-weight: bold;
    color: #A7A9AC;
	padding-right:20px;
}

.listView .addPub p:before {
    position: relative;
    padding-right: 5px;
    color: #A7A9AC;
    font-size: 18px;
}

.listView p, .listView form, .listView input {
    display: inline;
}

#myPubs.listView label {
    margin-left: 10px;
    font-size: 14px;
}

#myPubs.listView input {
    width: 120px;
    padding: 2px 8px;
    margin: 0 10px;
    border: 1px solid #ccc;
}
#addPub.listView input {
    margin-right:3px;	
}
#addPub.listView label {
    margin-left:-10px;
	margin-right:3px;	
}

/* Recently viewed list */

.docs {
    color: #a0a0a0;
    font-size: 13px;
}

.docs a {
    font-size: 16px;
    line-height: 24px;
}

.contentPageRightColumn ul.docs li {
    background: none;
    position: relative;
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid #D9D9D9;
}

.docs li:before {
    position: absolute;
    left:0;
    top:14px;
    content: "\f15b";
    font-family: "FontAwesome";
}

.docs span {
    display: block;
}



/*

FAQs

*/

#faq-list li {
    list-style: decimal;
}

#faq-list {
    margin-bottom: 40px;
}

#faq-list li {
    font-size: 16px;
}

#main-content #faq-list a {
    text-decoration: none;
}


/*

MEDIA QUERIES

*/

@media (max-width: 767px) {
    #header .container {
        padding: 0;
    }
    
    #header #logo img {
        width: auto;
        height: auto;
    }
    
/*    increase touch target size of search results  */
    #theme_body ul > li {
        padding: 8px 0 5px 8px;
    }
    
    .contentPageMainColumn ul#myPubs li {
    width: 31%;
    }
    
    .contentPageRightColumn {
        margin-top: 0px;
    }
}

@media (max-width: 660px) {
        
    .search-options {
        left: 5px;
        top: 32px;
    }
    .search-tools-bar {
        height: 75px;
    }
}


@media (max-width: 440px) {
    #logo {
        float:none;
    }
    
    .sitetitle {
        margin-top: 5px;
    }
    
    .navigationRibbon a {
        display: block;
        border-bottom: 1px solid #5f79a2;
    }
    
    #searchArea #search {
        width: auto;
        max-width: 80%;
    }
    
    #searchArea #search input#searchBox {
        width: 80%;
    }
    
    #searchArea #search .SubmitLinkButton {
        margin: 3px 0 0 82% !important; /* important needed to override an important declaration in qp-style.css */
    }

    
    li.favourites {
        margin: .8em 0 0 1em;
    }
    
    .contentPageMainColumn ul#myPubs li {
        width: 48%;
        height: 280px;
    }
    
    .addPub p {
        position: relative;
        margin-top: 0;
        padding-top: 50px;
        font-size: 18px; 
        color: #A7A9AC;
    }
    
    .addPub p:before {
        font-size: 48px;
    }
    
    #user {
        float: none;
        text-align: right;
        padding-top: 20px;
    }
    
}
    
    @media (max-width: 320px) {
        .contentPageMainColumn ul#myPubs li {
            height: 230px;
    }
        
        .addPub p {
            padding-top: 30px;
        }
        
        .addPub p:before {
            font-size: 24px;
    }
    
    }
.recentlyViewed {
	 margin-top: 90px;
}
.recentlyViewedHeading {
	color:#0088cc;
	font-size:21px;
	padding-top:10px;
	padding-bottom:10px;
}
.recentlyViewedTooltip {
	color: #494949;
	font-size:14px;
}
/*FAVOURITES*/
#treebox td { 
	padding:0px;/*Overrides padding applied from static main.css*/
}
#topicTemplate h1 {
	font-size:24px !important;
}
.searchResultsContainer {
	display:block;
	padding-top:20px;
}