/*Template - Sustainable Archive*/

.sdg-archive-header {
	margin-bottom: 1.5rem;
}

h2.sdg-filter-title {
	color: #00477C;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 22px;
	font-weight: 100;
	margin-bottom: 16px;
}

a.sdg-back-button {
	color: #FC5B33;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 22px;
	font-weight: bold;
	display: inline-block;
	margin-bottom: 2rem;
}

a.sdg-back-button:hover {
	color: #FC5B33;
	text-decoration: underline;
}

i.sdg-back-arrows {
	color: #FC5B33;
	font-size: 24px;
	display: inline-block;
	margin-right: 4px;
}

/*Content.php*/

img.sdg-single-post-icon {
	margin-right: 8px;
	margin-bottom: 8px;
}

/*Template - Category Sustainable Development Goals*/

ul#sdg-filter-list {
	display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	list-style: none;
	list-style-image: none;
	padding-left: 0;
}

ul#sdg-filter-list li.sdg-filter-list-item label.active img {
	opacity: 0.5;
}

li.sdg-filter-list-item {
	position: relative;
	margin: 0 1em 1em 0;
	max-width: 120px;
	height: auto;
}

li.sdg-filter-list-item label {
	font-size: 0;
	cursor: pointer;
}

ul#sdg-filter-list li.sdg-filter-list-item label {
	position: relative;
}

li.sdg-filter-list-item input {
	position: absolute;
	top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
}

form#sdg-filter-form {
	margin-bottom: 4em;
}

input#sdg-filter-submit {
	background-color: #FC5B33;
	background-image: none;
	border-radius: 4px;
	border-color: #A03715;
	color: #ffffff;
	font-size: 15px;
	font-weight: bold;
	width: 200px;
	height: 35px;
}

input#sdg-filter-submit:hover {
	background-color:#F84619;
	background-image: none;
	color: #ffffff;
}

input#sdg-filter-submit:active {
	box-shadow: none;
	border: 1px solid #A03715;
}

input#sdg-filter-submit.disabled {
	background-color: #FC5B33;
	opacity: 0.5;
}

input#sdg-filter-submit.disabled:hover {
	cursor: default;
}

#sdg-filter-reset.disabled {
	display: none;
}

#sdg-filter-reset {
	border: none;
    background: transparent;
    color: #FC5B33;
    margin-left: 1em;
}

#sdg-filter-reset:hover {
	color: #F84619;
	text-decoration: underline;
}

#sdg-filter-reset:active {
	box-shadow: none;
}

/* End - Category Sustainable Development Goals*/

/*Single Post Edit screen - specific styles*/

ul#sustainable-development-postschecklist li.sdg-filter-list-item input {
	top: 7px;
	left: 4px;
	z-index: 1;
	background: transparent;
	border: none;
	opacity: 1;
}

ul#sustainable-development-postschecklist li.sdg-filter-list-item input:focus {
	box-shadow: none;
}

ul#sustainable-development-postschecklist li.sdg-filter-list-item input[type=checkbox]:checked::before {
	background: rgba(255,255,255,0.8);
	border-radius: 4px;
}

ul#sustainable-development-postschecklist li.sdg-filter-list-item {
	display: inline-block;
    margin: 0 2px 4px 0;
}

ul#sustainable-development-postschecklist li.sdg-filter-list-item img {
	width: 48px !important;
	height: auto !important;
}

/*End - Single Post Edit screen*/

/*All Posts - Quick Edit*/

ul.sustainable-development-postschecklist li.sdg-filter-list-item {
	display: inline-block;
}

ul.categorychecklist.sustainable-development-postschecklist li.sdg-filter-list-item  { 
	margin: 0 4px 4px 0;
	display: inline-block;
}

.cat-checklist.sustainable-development-posts-checklist li.sdg-filter-list-item {
	width: auto;
	height: auto;
	display: inline-block;
    margin: 4px 4px 0 0;
}

.inline-edit-row fieldset ul.cat-checklist.sustainable-development-posts-checklist label {
	font-size: 0;
}

.inline-edit-row fieldset ul.cat-checklist.sustainable-development-posts-checklist input {
	position: absolute;
    top: 2px;
    left: 4px;
    z-index: 2;
    background: transparent;
    border: none;
    opacity: 1;
}

.inline-edit-row fieldset ul.cat-checklist.sustainable-development-posts-checklist input[type=checkbox]:checked::before {
	background: rgba(255,255,255,0.8);
	border-radius: 4px;
}

.inline-edit-row fieldset ul.cat-checklist.sustainable-development-posts-checklist input:focus {
	box-shadow: none;
}

.cat-checklist.sustainable-development-posts-checklist img {
    width: 44px !important;
    height: auto !important;
}

/*End - All Posts - Quick Edit*/
/* testing change for the line chart on page: https://agriumwpstg.wpengine.com/general-information/ - for Trello ticket*/
#sdg-line-graph.vc_line-chart .vc_chart-with-legend {
	max-width: 480px;
}

#sdg-line-graph .vc_line-chart-canvas {
	max-width: 100%;
	height: auto !important;
}

#sdg-line-graph.vc_line-chart .wpb_wrapper {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
}

@media only screen and (max-width: 767px) {
	
	#sdg-line-graph.vc_line-chart .vc_chart-with-legend {
		max-width: none;
	}
	#sdg-line-graph.vc_line-chart .wpb_wrapper {
		display: block;
	}
	
	#sdg-line-graph.vc_line-chart .vc_chart-legend {
		width: 100%;
	}
}