/*
Apps Theme modifications on top of Drupal theme 
*/


/* SK: Page Titles style for New theme */
.view-content h2 {
	font-size: 26px;
	margin-top: 11px;
    margin-bottom: 14px;
    padding-bottom: 15px;
}


.flex-container{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.space-between-justify{
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
.mobile-column{
	-webkit-box-orient:vertical;
	-webkit-box-direction:normal;
	-ms-flex-direction:column;
	flex-direction:column;
}
.committee{
	padding-bottom: 24px;
}

/* remove padding for text fields when /apps pages are displayed */
input[type="text"]{
  padding: 1px 1px;
}

.member > h3 .title, .member > h3 .title a, .committee > h3 > a{
	color:#0f4876; /* greenish */
	font-size: 16px;
	/*line-height: 1em;*/
	text-transform:none;
	font-weight:normal;
}

.committee_title {
	color:#0f4876;
	font-size: 20px;
	text-transform: uppercase !important; 
	font-weight:bold !important;
}
.member > h1 .title{
	color:#742307; /* redish */
	font-size: 20px;
	line-height: 1em;
}

.committee > h3 > .title, .search_results > h3 > .title{
	color:#0f4876;
	font-size: 20px;
	line-height: 1em;
	font-family: "brandon","Helvetica Neue",Helvetica,Arial,sans-serif;src:url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Light.eot) format("eot"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Light.otf) format("opentype"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Light.woff) format("woff"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Light.ttf) format("truetype"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Light.svg#BrandonGrotesque-Light) format("svg");}@font-face{font-family:'brandon';font-style:normal;font-weight:400;src:
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Regular.eot) format("eot"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Regular.otf) format("opentype"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Regular.woff) format("woff"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Regular.ttf) format("truetype"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Regular.svg#BrandonGrotesque-Regular) format("svg");}@font-face{font-family:'brandon';font-style:normal;font-weight:700;src:
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Bold.eot) format("eot"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Bold.otf) format("opentype"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Bold.woff) format("woff"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Bold.ttf) format("truetype"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Bold.svg#BrandonGrotesque-Bold) format("svg");}@font-face{font-family:'brandon';font-style:normal;font-weight:900;src:
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Black.eot) format("eot"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Black.otf) format("opentype"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Black.woff) format("woff"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Black.ttf) format("truetype"),
	url(https://www.northcarolina.edu/sites/all/themes/gavias_mdeal/fonts/brandon-grotesque/BrandonGrotesque-Black.svg#BrandonGrotesque-Black) format("svg");
}
.committee > table{
	width:100%;
}
.committee > table > tbody >tr {
	border-bottom: 1px solid #f4f4f4;
}
.committee > table > tbody > tr > td{
	padding: 3px 0!important;
}
.committee > table > tbody >tr >td:first-of-type{
	width:180px;
}
.committee > table > tbody >tr >td:nth-of-type(2){
	text-align: right!important;
}

.committee-list li {
	list-style: disc !important;
	margin-left:10% !important;
}
.member-copy-right h3, .member-copy-right .committee-list, .committee-term  {
	margin-left:15px;
}
.member-bio{
	-webkit-box-align:center;
	-ms-flex-align:center;
	align-items:flex-start;
}
.member-pic{
	border:1px solid #333333;
	width:180px;
	max-height:240px;
	display: block;
	
}

/*FIXES*/
.tableClean,.tableClean td, .tableClean tr:nth-child(2n) td,.tableClean td:last-child, .tableClean th:last-child, .tableClean th, .tableClean tr,  .captionClean,.tbodyClean,.tfootClean, .theadClean, .trClean, .thClean, .tdClean {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align:top;
	background: transparent;
}
.webform-client-form{
	padding:26px;
}
.group-banner{
	position:relative;
	height:321px;
}
.lightbox_header{
	margin:2em 1em 1em 0em;
}


@media only screen and (min-width: 768px) {
	/*--Child items wrap on screens > 768px--*/
	.mobile-column{
		-webkit-box-orient:horizontal;   
		-webkit-box-direction:normal;  
		-ms-flex-direction:row;
		flex-direction:row;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.align-flex-end{
		-webkit-box-align:end;
	    -ms-flex-align:end;
	    align-items:flex-end;
	}
	.searchButtons{
		-webkit-box-flex:2;
		-ms-flex-positive:2;
		flex-grow:2;
	}
	.committee{
		width:50%;
	}
	.committee:nth-of-type(odd){
		padding-right: 24px;
	}
	.committee:nth-of-type(even){
		padding-left: 24px;
	}
	.member-copy{
		-webkit-box-flex:1;
		-ms-flex:1;
		flex:1;
		-ms-flex-item-align:start;
		align-self:flex-start;
		padding-left: 1em;
	}
	.flex-nowrap{
		-ms-flex-wrap:nowrap;
		flex-wrap:nowrap;
	}
	.finder p{
		margin-left:4px;
	}

}

.finder{
	background: #efefef;
}


.member-copy{
	padding:5px;
}

.member-copy > video{
	height:200px;	
}


.member_img {
	float:left;
}

.member_img a{
	float:left;
	clear:both;
	font-size:.8em;
}

.member_img img{
	max-height:90px;
}


.finder input[type="text"], .finder select{
	color:black !important;
	max-width:180px;
	padding-left:10px;
} 
/*
.finder div label, .finder p a{
	color:white !important;
}*/

.finder form > div >div {
	display: inline-block;
	width: auto;
}

/* Screen Reader Styles along with a11y friendly */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
  
.sr-only-focusable:active, .sr-only-focusable:focus{
  position:static;
  width:auto;
  height:auto;
  margin:0;
  overflow:visible;
  clip:auto;
}

.tb-megamenu-item a:focus,  .tb-megamenu-item a:hover{
	text-decoration: underline !important;
	color:#0F4876;					
	/*background-color:yellow;	*/
}


a:hover, a:focus{
	text-decoration: underline !important;
	color:#0F4876; /*#179BB2;*/
	/*background-color:yellow;*/
}

/* BOG new landing overview meetings page*/
#next-meeting{
	display: -webkit-box;
    	display: -ms-flexbox;
    		display: flex;
	width: 100%;
	/*font-size: 1.2rem;*/
}
#next-meeting .meeting-label{
	background: #0F4876;
	color: #FFFFFF;
	padding: 8px;
}
#next-meeting .meeting-info{
	background: #FEC524;
	color: #353F43;
	padding: 8px;
	-webkit-box-flex:2;
        -ms-flex-positive:2;
            flex-grow:2;
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack:justify;
        -ms-flex-pack:justify;
            justify-content:space-between;
}
#next-meeting .meeting-info a.meeting-agenda{
	color: #353F43;
	text-decoration: none;
}
#next-meeting .meeting-info a.meeting-agenda:hover{
	text-decoration: underline;
	opacity: .75;
	-webkit-transition: all .3s;
			-o-transition: all .3s;
				transition: all .3s;
}


.plainTable tbody {
    border: none;
}

.contact_committee_title{
	min-width:60%;
}

.committee_table {
	border:none !important;
}

.search_results.member .member-copy-right{
	max-width: 25%;
}

.search_results.member .member-copy-right img{
	display: block;
	margin-left: auto;
	margin-right: auto;
}
