/* Temporary Climate Youth Engagement Stylesheet to insure all styles are
accounted for and consolidated for portablility.*/

.view-climate-youth-engagement table {
	table-layout: fixed;
}

/* Node styles for two column stacked layout. */
.node-type-cye-blog .ds-2col-stacked .group-header,
.node-type-cye-case-study .ds-2col-stacked .group-header,
.node-type-cye-event .ds-2col-stacked .group-header,
.view-climate-youth-engagement-map.ds-2col-stacked {
	margin-bottom: 1.5em;
}

.node-type-cye-blog .ds-2col-stacked > .group-left,
.node-type-cye-blog .ds-2col-stacked > .group-right {
	margin-bottom:4em;
}

.node-type-cye-case-study .ds-2col-stacked > .group-left,
.node-type-cye-event .ds-2col-stacked > .group-left,
.node-type-cye-blog .ds-2col-stacked > .group-left,
.view-climate-youth-engagement-map.ds-2col-stacked > .group-left {
	width:620px;
	margin-right: 20px;
	margin-bottom:25px;
}

.node-type-cye-case-study .ds-2col-stacked > .group-right,
.node-type-cye-event .ds-2col-stacked > .group-right,
.node-type-cye-blog .ds-2col-stacked > .group-right,
.view-climate-youth-engagement-map.ds-2col-stacked > .group-right {
	padding:1em;
	width:300px;
	height: auto;
	border:5px solid #F4F4F4;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	background-color:#fff;
	-webkit-box-shadow:0 0 5px 0 #AAA;
	-moz-box-shadow:0 0 5px 0 #aaa;
	box-shadow:0 0 5px 0 #AAA;
	-o-border-radius:5px;
	box-sizing: border-box;
}

/* Event Map */
div#edit-field-cye-category-target-id-wrapper label,
div#edit-field-cye-category-target-id-wrapper .description {
	margin: 10px 0;
}

div.views-exposed-form #edit-field-cye-category-target-id-wrapper,
div.form-item-field-cye-category-target-id #edit-field-cye-category-target-id {
  max-width: 262px;
}

.view-climate-youth-engagement-map .openlayers-tooltip-name,
.view-climate-youth-engagement-map .openlayers-tooltip-name a {
	color: #693 !important;
}

.view-climate-youth-engagement-map .openlayers-tooltip-description p {
    color: #fff;
}

.view-climate-youth-engagement-map .openlayers-tooltip-description h6 {
    color: #ccc;
    padding: 4px 0px 8px;
    font-style: italic;
}

.view-climate-youth-engagement-map .openlayers-tooltip-description a.more-link {
	display: block;
	font-style: italic;
	font-size: .9em;
	margin-top: 5px;
	color: #693 !important;	
}


/* CYE Event */
.field-name-field-video-url-cye {
    margin-bottom: 20px;
}
.field-name-field-web-link-cye,
.field-name-field-case-study-cye {
	margin-bottom: 5px;
}

/* TC Homepage CYE Section */
div#zone-post-postscript-wrapper {
	border-top:2px solid #eee;
  margin:25px 15px 30px;
	padding-top:25px;
}

div#region-post-postscript-first {
	float:left;
	display:inline;
	padding-right: 5px;
	box-sizing: border-box;
}

div.region-post-postscript-first-inner {
	border-right: 2px solid #eee;
}

div.region-post-postscript-second-inner,
div.region-post-postscript-third-inner {
	border-right:2px solid #eee;
	padding-right:10px;
}

div#region-post-postscript-first h2,
div#region-post-postscript-heading h2 {
	margin-bottom:.9em;
}

div#region-post-postscript-heading h2 {
	vertical-align:top;
}

div#region-post-postscript-second,
div#region-post-postscript-third,
div#region-post-postscript-fourth {
  width:20%;
  padding:0;
}

div#region-post-postscript-second,
div#region-post-postscript-third,
div#region-post-postscript-fourth {
	font-size:.9em;
}

div#region-post-postscript-second p:first-of-type,
div#region-post-postscript-third div.view-content,
div#region-post-postscript-fourth div.view-content {
	min-height:80px;
}

div#region-post-postscript-second h2,
div#region-post-postscript-third h2,
div#region-post-postscript-fourth h2 {
	color:#360;
	margin-bottom:.6em;
}

div#region-post-postscript-second p a,
div#region-post-postscript-third div.view-footer a,
div#region-post-postscript-fourth div.view-footer a {
	font-weight:bold;
	color:#fff;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	background:#578628;
	padding:5px 10px 5px 8px;
}

div#region-post-postscript-third div.item-list ul li,
div#region-post-postscript-fourth div.item-list ul li {
	margin-left:0;
	margin-bottom:10px;
}

div#region-post-postscript-fourth div.item-list ul li .views-field-title {
	margin-bottom:5px;
}

div#region-post-postscript-fourth div.item-list ul li .views-field-field-publish-date {
	font-style:italic;;
}

div#region-post-postscript-heading {
	padding-left: 0;
	display:inline;
	float:right;
}

div#region-post-postscript-heading h2 {
	display:inline-block;
}

div#region-post-postscript-heading div.content {
	display:inline-block;
	margin-left:10px;
}

div#region-post-postscript-heading div.content p {
	margin-top:10px;
	margin-bottom:0;
}

/* Climate Assessment Block */
.view-display-id-tc_nat_climate_assessment .view-mode-tiny_teaser .group-left {
	float:left;
	margin-right:5%;
	width:36%;
}

.view-display-id-tc_nat_climate_assessment .view-content .item-list ul li {
	margin:0;
}

.view-display-id-tc_nat_climate_assessment .view-mode-tiny_teaser .group-left img {
	width:100%;
}

.view-display-id-tc_nat_climate_assessment .group-right .field-name-field-summary .field-item {
	font-size:.9em;
	line-height:1.2;
}

.view-display-id-tc_nat_climate_assessment .group-right .field-name-node-link a {
	font-weight:700;
	font-style:italic;
	font-size:1.1em;/* Fix for TC rotator conversion */
	font-family:Cabin;
}

/* All case studies view */
.view.view-display-id-all_case_studies .view-header {
	padding-top: 1em;
}

.view.view-display-id-all_case_studies .views-view-grid td {
	width: 50%;
	vertical-align: top;
	padding-bottom: 2em;
}

.view-climate-youth-engagement table.cols-2 .group-left {
	margin-right: 0;
	width: 40%;
}

.view-climate-youth-engagement table.cols-2 .group-right {
	width: 60%;
}

.view.view-display-id-all_case_studies .group-left img {
	box-sizing: border-box;
	padding: 0 20px 10px 0;
}

/* Case study page */
.node-type-cye-case-study .group-left {
	width: 40%;
}

.node-type-cye-case-study .group-right {
	width: 60%;
}

.node-type-cye-case-study .group-left .field,
.node-type-cye-case-study .group-right .field,
.node-type-cye-case-study .group-right ul {
	margin-bottom:1.25em;
}

.node-type-cye-case-study .group-left .field-name-field-cye-category {
	font-style:italic;
	color:#666;
}

.node-type-cye-case-study .group-left .field-label {
	font-size:1.4em;
	font-style:normal;
	margin-bottom:.3em;
}

.node-type-cye-case-study .group-left .field-type-image,
.node-type-cye-case-study .group-left .field-type-media {
	text-align:center;
}
.node-type-cye-case-study .group-left .field-type-image img,
.node-type-cye-case-study .group-left .field-type-media div,
.node-type-cye-case-study .group-left .field-type-media iframe,
.node-type-cye-event .group-left .field-type-image img,
.node-type-cye-event .group-left .field-type-media div,
.node-type-cye-event .group-left .field-type-media iframe {
	width: 100%;
	margin: 5px auto;
}
.node-type-cye-case-study .group-left .field-type-media iframe,
.node-type-cye-event .group-left .field-type-media iframe {
	max-height: 349px;
}

.node-type-cye-case-study .group-left .field-name-field-student-quote {
	margin:1.25em;
	padding:1em;
	height:auto;
	border:5px solid #F4F4F4;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius:5px;
	background-color:#fff;
	-webkit-box-shadow:0 0 5px 0 #AAA;
	-moz-box-shadow:0 0 5px 0 #aaa;
	box-shadow:0 0 5px 0 #AAA;
	-o-border-radius:5px;
	font:italic bold 1.3em/1.8em Cabin, serif;
}
.node-type-cye-case-study .group-left .field-name-field-student-quote .field-item,
.node-type-cye-case-study .group-left .field-name-field-student-quote .field-item p {
	color:#666;
}
.node-type-cye-case-study .group-left .field-name-field-student-quote .field-item p:last-of-type {
	font-style:normal;
	text-align:right;
	font-size:.8em;
	line-height:1.2em;
	margin-bottom:0;
}

.node-type-cye-case-study .group-left .field-name-field-point-of-contact p {
	margin-bottom:0;
}

.node-type-cye-case-study .group-right .field-name-field-target-audience p {
	margin:0;
}

/* CYE Blog */
.view-climate-youth-engagement.view-display-id-block_3 .view-header {
	font-style: italic;
	font-size: 1.1em;
	font-weight: bold;
	text-align: right;
	margin-top: -36px;
}

.view-climate-youth-engagement.view-display-id-page_2 > .group-right { 
	min-height: auto!important;
}

.view-climate-youth-engagement.view-display-id-page_2 .views-row {
	margin: 0 0 .5em;
	padding: 15px 5px;
}

.view-climate-youth-engagement.view-display-id-page_2 .views-row.views-row-odd {
    background: #F4F4F4;
}

.view-climate-youth-engagement .node-cye-blog .group-left {
	width: 30%;
	padding-left: 20px;
	box-sizing: border-box;
}

.view-climate-youth-engagement .node-cye-blog .group-right {
	width: 70%;
    padding-left: 10px;
    box-sizing: border-box;
}

.view-climate-youth-engagement .node-cye-blog .group-left .item-list ul {
	padding: 5px;
	border: 5px solid #f5f5f5;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 0 5px 0 #aaa;
	-moz-box-shadow: 0 0 5px 0 #aaa;
	box-shadow: 0 0 5px 0 #aaa;
	-o-border-radius: 5px;
	-o-box-shadow: 0 0 5px 0 #aaa;
}

.view-climate-youth-engagement .node-cye-blog .group-left .item-list ul li {
	margin: 0;
	padding: 5px;
}

.view-climate-youth-engagement .node-cye-blog .group-left .item-list ul li.views-row-odd {
	background: #f4f4f4;
}

.view-climate-youth-engagement .node-cye-blog .group-right .item-list ul li {
	margin: 0;
	line-height: 1.6;
}

.view-climate-youth-engagement .node-cye-blog .group-right h2.block-title {
	margin: 0;
	padding: 0 0 .5em;
}
.view-climate-youth-engagement .node-cye-blog .field-name-node-link {
    float: right;
    clear: both;
    margin: 10px 20px 0 0;
    font-style: italic;
}
