@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700,900');

#output{
	width: 100%;
	background-color: white;
	margin: auto;
	color: #122d54;
}

/* Find page result grids */
.results_grids {
	display: grid;
}

#results_items_overview,
#results_items_sustainability {
	column-gap: 4rem;
	padding: 0 7rem 3rem;
}

.blue-divider {
	border-bottom: 2px solid #122D54;
}

#results_items_overview {
	grid-template-columns: repeat(2, 1fr);
}

#results-peers {
	display: grid;
	grid-template-columns: 3fr 2fr;
}

.y-padding {
	padding-top: 2.5rem !important;
	padding-bottom: 2.5rem !important;
}

.x-padding {
	padding-left: 7rem;
	padding-right: 7rem;
}

/* #results_items_sdg, #results_items_third, #results_carbon_analysis, #results_additional_metrics {
	padding-top: 4rem;
	padding-bottom: 4rem;
} */


.public_results_row {
	padding-left: 7rem;
	padding-right: 7rem;
	padding-bottom: 2.5rem;
}

#results_additional_metrics {
	padding-left: 100px;
	padding-right: 100px;
}

#results_request {
	text-align: center;
}

#results_items_sustainability {
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"a b"
		"a c"
		"d d";
}

@media (max-width:1800px) {
	#results_items_sustainability {
		grid-template-columns: repeat(2, 1fr);
		grid-template-areas:
		"a b"
		"c b";
		grid-row-gap: 20px;
	}
}

@media (max-width: 1024px) {
	#results_items_sustainability {
		grid-template-columns: auto;
		grid-template-areas:
			"a"
			"c"
			"b"
			"d";
		grid-row-gap: 50px;
	}
}

#results_items_fifth {
	grid-template-columns: repeat(2, 1fr);
	position: relative;
}

@media (max-width:1280px) {
	#results_items_overview, #results_items_sustainability {
		grid-template-columns: auto;
		row-gap: 50px;
	}
}

@media (max-width:851px) {
	#results_items_fifth {
		grid-template-columns: auto;
		grid-template-rows: 1fr 1fr;
		row-gap: 10px;
	}
}

@media (max-width:768px) {
	#results_items_overview, #results_items_sustainability, #results_carbon_analysis, #results_items_public_overview {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media(max-width:992px){
  #results_container{
    padding-left: 0px;
    padding-right: 10px;
  }
}

.table_item_bold {
	width: 200px;
	font-weight: 600;
}

#results_items_fifth > #edit-company {
	right: 0;
	bottom: 0;
	position: absolute;
}

#results_container{
	margin: auto auto auto auto;
	background-color: #f3f3f3;
	color: #122d54;
}

#analyse_portfolio_section_header{
	text-align: center;
	margin-top: 20px;
	font-size: 30px;
	font-weight: 500;
	font-family: Montserrat;
    font-weight: normal;
    font-size: 30px;
    line-height: 34.9px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

#results_paragraph{
	font-size: 17px;
	text-align: center;
	margin: 20px 0 20px 0;
	padding: 5px 50px 5px 50px;
}

#results_items {
	border: 2px solid #122d54;
	border-radius: 50px 5px 50px 5px;
	padding: 45px;
	margin: 20px;
}

@media (max-width: 999px) {
	#results_items {
		padding: 10px;
		border: 0px;
	}
}

.result_item{
	max-width: 40vw;
}


.results_row{
	clear: left;
	/* border-top: 2px solid #122d54; */
	padding: 10px 0px 20px 30px;
	/* margin: 0 30px 0 30px; */
}

.results_item_header{
	font-weight: 800;
	font-size: 15px;
	margin-bottom: 20px;
}

/*  Results top row */

#results_row_top {
	margin-bottom: 10px;
	min-height: 330px;
	display: flex;
}

#top_10_companies{
	/* display: inline-block; */
	/* float: left; */
	/* max-width: 382px; */
  margin-bottom: 5vh;
}

#company_description {
	font-size: 13px;
}

table{
	font-size: 13px;
	table-layout: fixed;
	border-collapse: collapse;
	/* border: 2px solid black; */
	/* margin-top: 10px; */
	margin-bottom: 0px;
}

thead th{
	padding: 11px 8px 11px 8px;
	text-align: left;
	border-bottom: 2px solid #122d54;
	font-weight: 600;
}

tbody td {
	padding: 0px 8px 0px 8px;
	font-size: 13px;
	border-bottom: 1px solid #122d54;
	margin: 0 10px 0 10px;
	height: 38px;
}

.row{
	min-height: 20px;
  height: fit-content;
  margin-left: auto;
  margin-right: auto;
}

#name_col{
	width: 210px;
}

#industry_col{
	width: 140px;
	text-align: left;
}

.company_link{
	color: rgb(0,109,159);
	text-decoration: none;
}

#download_button_after_list{
	margin-top: 50px;
	padding: 0;
}

#download_button_after_list li{
	display: inline;
}

#download_button_after_list a{
	outline: none;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	line-height: 1.8;
	color: white;
	font-size: 13px;
	font-weight: 700;
	border-radius: 5px;
}

#download_button_after_list a:link, #download_button_after_list a:visited, #download_button_after_list a:focus{
	width: auto;
	background: rgba(246,197,7,1);
	margin: auto;
	padding: 0 5px 0 5px;
}

#head_office_location{
	/* display: inline-block; */
	/* margin-left: 80px; */
}

#head_office_map{
	margin-top: 30px;
	width: 150px;
	height: 260px
}

/*  Results middle row */

.results_middle {
	border-top: 2px solid #122d54;
	padding: 30px 0;
}

.bar_chart{
	display: inline-block;
}

.barchart_legend{
	float: left;
	display: flex;
  flex-wrap: nowrap;
}

#icons_div>img{
	margin-left: 0.48%;
	margin-right: 0.48%;
	width: 9.04%;
	height: auto;
}

#icons_div_cont_ind>img{
	margin-left: 0.4856%;
	margin-right: 0.4856%;
	width: 10.14%;
	height: auto;
}

.SideContainer{
	/* max-width: 400px; */
	min-height: 358px;
}

.PieChartContainer{
	height: 235px;
	width: 100%;
}

.BarChartContainer{
	height: 235px;
	width: 100%;
}

.pie_chart_legend{
	width: 40%;
	float: right;
	display: flex;
  flex-wrap: wrap;
	margin-top: 25px;
}

.pie_chart_legend > img{
	margin-left: 10px;
}


.pie_chart{
	display: inline-block;
	width: 50%;
	height: 100%;
	text-align: center;
}


.pie_header{
	width: 100%;
	text-align: center;
}


.icon_cmb {
	/* for contind icon without banking*/
	width: 34px;
	height: 34px;
	margin-left: 8px;
}

#total_sales, #bn_total_sales, #ci_total_sales{
	width: 100%;
	text-align: center;
	font-weight: 800;
	font-size: 13px;
	margin-top: 1rem;
}

.piehead{
	font-size: 13px;
}


/* Results bottom row */

#results_bottom{
	border-top: 2px solid #122d54;
	padding: 30px 0;
}

#metrics_table {
	float: left;
	margin-bottom: 20px;
	width: 50%;
}

.metrics_right {
	float: right;
	width: 50%;
	margin-right: 100px;
	display: inline-block;s
}

#top_ps_table {
	float: right;
	width: 50%;
	margin-right: 60px;
	display: inline-block;s
}


#additional {
	float: right;
	margin-left: 100px;
	width: 440px;
}

img.cert {
	height: 260px;
}

#financial_metrics p{
	margin-bottom: 20px;
}

.sust_metrics_title{
	/* font-weight: 700; */
	margin-bottom: 10px;
}

.sust_metrics_results{
	font-size: 18px;
	font-weight: 600;
	color: #cd4227;
	margin: 0 0 0 15px;
	text-align: top;
}

#database_ave_note{
	margin-top: 60px;
	font-size: 11px;
}

#inputs_table td{
	height: 37px;
}

#viols_row , .darker_row{
	border-top: 2px solid #122d54;
}

/* #financial_metrics{
	float: left;
	width: 400px;
	display: inline-block;
} */

#metrics_col{
	width: 145px;
	text-align: left;
}

#your_portfolio_col, #sp500_col{
	width: 75px;
	text-align: left;
}

#historical_return_div{
	/* display: inline-block; */
	/* margin-left: 40px; */
}

#disclaimer_notes{
	margin-top: 10px;
	font-size: 11px;
	font-style: italics;
	font-weight: 600;
}

#outer_button_div{
	height: 80px;
	width: 100%;
	position: relative;
  text-align: right;
}

#button_div{
	font-weight: 600;
	position: absolute;
	right: -15px;
}

.results_action_buttons{
	width: auto;
	margin-top: 20px;
	display: inline-block;
	list-style: none;
}

.results_action_buttons li{
	list-style-type: none;
	line-height: 1.5;
}

.results_action_buttons a{
	outline: none;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	line-height: 1.8;
	color: white;
	font-size: 13px;
	font-weight: 700;
	border-radius: 5px;
}

.results_action_buttons a:link, .results_action_buttons a:visited, .results_action_buttons a:focus{
	width: auto;
	background: #f6c507;
	margin: auto;
	padding: 0px 12px 0px 12px;
  margin-right: 20px;
}

#action_button{
	width: auto;
}

#action_button a:link, #action_button a:visited, #action_button a:focus{
	width: auto;
	background: rgba(57,181,74,1);
}

/* Tooltip popover */

/* Tooltip container */
.mytooltip {
    position: relative;
    display: inline-block;
}

/* .mytooltiptextcontainer{
  min-width: 150px;
} */

.mytooltiptext{
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  width: 100%;
}

/* Tooltip text */
.mytooltip .mytooltiptext {
    visibility: hidden;
    background-color: #fff;
    color: #000;
    text-align: center;
    padding: 5px 0;
    border: 1px solid black;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 100;
    top: 20px;
    margin-left: -75px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.mytooltip:hover .mytooltiptext {
    visibility: visible;
    min-width: 150px;
}

/* Newly added css */
hr{
  border-top: 1px solid #000000;

  margin-bottom: 0;

  transition: width 0.5s ease-in-out;

}

.custom-file-label{
	font: inherit;
	font-family: inherit;
	font-size: 1rem;
	font-weight: inherit;
	overflow: hidden;
}
