/*
Theme Name:   Extra Child
Description:  Extra Child Theme
Author:       James Morrison
Template:     Extra
Version:      5.0.3
*/

.dash-nav-row img {
    max-width: 150px;
}

/* Alerts CSS */

div#order_header {
	width: auto;
	height: 33px;
	line-height: 33px;
	flex-direction: column;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	padding-left: 10px;
	justify-content: space-evenly;
	text-align: center;
}

div#commentary_header {
	width: auto;
	height: 33px;
	line-height: 33px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	padding-left: 10px;
	justify-content: space-evenly;
	text-align: center;
	background-color: darkgray;

}
tr#order_details_header_row, tr#order_details_data_row {
	width: auto;
	height: auto;
	text-align: center;
}

tr#order_details_data_row {
	background-color: #e3e4e9;
}

div#order_body {
	width: 100%;
	display: inline-block;
	border-bottom: 1px solid #eee;
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
	background:#efefef;
	padding:10px;
}
#alert_body {
	padding-top:2px;
}

div#alert_main_content {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: auto;
	text-overflow: ellipsis;
}

div#alert_image_div {
	display: inline-block;
	height: 100px;
	width: 100px;
	background: url(https://members.evolvedtrader.com/wp-content/uploads/2020/06/etalertscover.jpg) no-repeat center center;
	background-size: contain;
	margin: 5px;
}

div#commentary_image_div {
	display: inline-block;
	height: 100px;
	width: 100px;
	background: url(https://members.evolvedtrader.com/wp-content/uploads/2020/06/etcommentarycover.jpg) no-repeat center center;
	background-size: contain;
	margin: 5px;
}

div#alert_image_div.sma.alert{
    background: url('https://members.evolvedtrader.com/wp-content/uploads/2022/06/sma-alerts.jpg') no-repeat center center;
    background-size: contain;
}
div#commentary_image_div.sma.commentary {
    background: url('https://members.evolvedtrader.com/wp-content/uploads/2022/06/sma-commentary.jpg') no-repeat center center;
    background-size: contain;
}


div#alert_body {
	display: inline-block;
	line-height: 1.5em;
    height: auto;
	vertical-align: top;
	max-width: 50%;
	max-height: 80%;
	overflow: ellipsis;
}

div#alert_details {
	vertical-align: top;
	float: right;
	padding-right:10px;
	text-align: center;
}
article.article-body {
	margin-bottom: 30px;
}

a#read_more_anchor {
	background-color: #ffc006;
	color: #212529;
	text-align: center;
	text-decoration: none;
	border-radius: 5px;
	padding: 1em 1.5em;
	display: block;
}

div#alert_publish_date {
	margin-top: 0px;
}

div#read_more_text {
	padding: 10px 10px 10px 10px;
}

div#order_details_wrapper {
  	justify-content: space-evenly;
}

div#order_action_wrapper span.order_header_span {
	-webkit-text-fill-color: white;
	font-size:17px;
}

.page article.alerts{
  border-top:none;
}

@media only screen and (max-width: 900px) {

  	div#alert_image_div, div#commentary_image_div {
    	display: none;
  	}

	div#alert_body {
		max-width:100%;
		padding-bottom:20px;
	}

	div#alert_details {
		text-align: center;
		width: 100%;
		padding-right: 5px;
		padding-left: 5px;
	}
}

article.alerts {
  border-top: none;
  margin-top: 5px;
}
