
html {
	position: relative;
	min-height: 100%;
}

body {
	margin: 0;
	padding: 0;

	font-weight: 300;
	font-family: 'Open Sans';
	background:none;
	font-size:16px;
	
	margin-bottom: 120px;
}
label {
	font-weight:400;
}


.navbar-nav>li>a {
    /*
    padding-top: 15x;
    padding-bottom: 15px;
    */
    margin-top:3px;
}

.navbar {
    position: relative;
    min-height: 60px;
    margin-bottom: 40px;
}
.medportal-logo {
	display:inline-block;
	text-transform:uppercase;
	letter-spacing: 2px;
	cursor:pointer;
    margin-left:0px;
	margin-top:10px;
}
.medportal-logo a:hover, .medportal-logo a:visited, .medportal-logo a:active{
	text-decoration: none;
}
.medportal-logo .logo-left {
	color:#fff;
	font-size:28px;
	font-weight:100;
	padding:0 7px;
	padding-right:5px;
	margin-right:4px;
	background-color: #dd301b;
}
.medportal-logo .logo-right {
	color:#a7a7a7;
	font-size:28px;
	font-weight:bold;	
	margin-left:-6px;
}

.site-header-title {
	font-size:18px;
	font-weight:300;
	color:#a7a7a7;
	line-height:34px;
	margin-left:20px;
}

.navigation {
	margin-bottom:40px;
}
.search-header {
	background:#f8f8f8;
	border-bottom:1px solid #ebebeb;
}

.site-header-title {
        display:none;
    }

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

.search-form {
	margin-top:12px;
    margin-left:15px;
    margin-right:15px;
}

.site-header-title {
    display:inline-block;
}

.auth-control {
    margin-top:15px;
    margin-left:15px;
    margin-right:15px;
    margin-bottom:15px;
}


/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {  
    .search-form { margin-left:40px; margin-right:0px;}
    .search-form #cdb-search-btn {
        width:200px;
    } 
    .site-header-title {
        display:none;
    }
    .auth-control {
        margin-top:12px;
        margin-left:0;
        margin-right:0;
    }
    
    
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {  
    .search-form #cdb-search-btn {
        width:300px;
    } 
    .site-header-title {
        display:inline-block;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

}


.search-menu {
	margin:0;
	border-bottom:1px solid #ebebeb;
}
.query-string {
	font-weight:400;
}
.search-menu-item {
	display:inline-block;
	color:#666;
	font-size:15px;
	height:54px;
	line-height:54px;
}
.search-menu-item a {
	padding:0px 3px;
	margin:0px 8px;
	height:54px;
	line-height:54px;
	cursor:pointer;
	color:#777;
	text-decoration:none;
}
.search-menu-item a:hover {
	color:#4d4d4d;
	text-decoration:none;
}
.search-menu .active {
	border-bottom:3px solid #e5412d;
}
.search-menu .active a:link, .search-menu .active a:hover, .search-menu .active a:visited {
	color:#e5412d;
	font-weight:400;
	text-decoration: none;
}
.search-empty {
	font-size:16px;
	margin-bottom:30px;
}
.search-result-count {
	font-size:14px;
	color:#808080;
	margin-bottom:20px;
}
.record {
	margin-bottom:25px;
}
.record-label {
	font-size:20px;
}
.record-type {
	font-size:14px;
	text-transform:uppercase;
	color:#909090;
	font-weight:400;
}
.record-block {
	font-size:14px;
	text-transform:uppercase;
	color:#444;
	font-weight:400;
}
.record-description {
	font-size:16px;
	color:#4d4d4d;
	line-height:22px;
}
.obj-description {
	font-size:18px;
}

.pagination-controller {
	margin-bottom:25px;
}


.record-not-found {
	font-size:22px;
	color:#7d7d7d;
	font-weight:500;
	line-height:32px;
    text-align:center;
    margin:75px 0;
}
.record-suggestions {
	margin-top:25px;
	margin-bottom:25px;
}

.single-record {
	margin-bottom:25px;
}
.single-record a:hover, .single-record a:active{
	text-decoration:none;
}
.single-record h3 {
	margin-top:30px;
}
.single-record li {
	margin-top:0px;
	margin-bottom:10px;
	line-height:28px;
}
.single-record-label {
	font-size:28px;
	color:#337ab7;
}
.single-record-type {
	font-size:16px;
	text-transform:uppercase;
	color:#b0b0b0;
	font-weight:400;
	margin:10px 0 3px 0;
}
.taxonomy-record-type {
	font-size:16px;
	text-transform:uppercase;
	color:#444;
	font-weight:400;
	margin:10px 0 3px 0;
}
.single-record-type span {
	color:#777;
}
.single-record-description {
	font-size:18px;
	color:#4d4d4d;
	line-height:28px;
	margin-top:12px;
}
.single-record-tag {
	text-decoration: none;
    background: #e7e7e7;
    border: 1px solid #d7d7d7;
    color: #676767;
    font-size: 14px;
    font-weight: 400;
    border-radius: .25em;
    display: inline-block;
    padding: 8px;
    margin-bottom: 10px;
    text-align: left;
    white-space: normal;
    line-height: 18px;
}

.back-to-search {
	margin-bottom:25px;
}

.nav-pills a {
	font-size:14px;
	font-weight:400;
}

.portlet-header h3 {
	font-weight:400 !important;
}


.related-activities ul {
	list-style-type:none;
	margin-left:0px !important;
	margin-top:-8px;
}

.related-activities ul li {
	margin-left:-38px !important;
	margin-bottom:9px;
	margin-right:0px;
	line-height:20px;
}

.related-objectives ul {
	list-style-type:none;
	margin-left:0px !important;
}

.related-objectives ul li {
	margin-left:-38px !important;
	margin-bottom:10px;
	margin-right:0px;
	line-height:20px;
}


.general-content {
	margin-bottom:25px;
}
.grid-list {
	margin-bottom:45px;
	
}

.search-highlight {
	font-weight:600;
}
.table-grid-list .grid-title {
	padding-top:13px;
	padding-bottom:13px;
}
.table-grid-list .btn-view {
	width:75px;
	vertical-align:middle;
}

.grid-tax-tool {
	margin-bottom:15px;
}

.grid-tax-tool a, .grid-tax-tool a:link {
	color:#e5412d;
	text-decoration:none;
}
.grid-tax-tool a:hover {
	color:#e5412d;
	text-decoration:underline;
}

.grid-heading {
	margin-top:40px;
}

#grid-step-tags, #grid-step-hierarchy, #grid-step-linked, #grid-step-taxonomies {
	display:none;
}


.select2-container-multi .select2-choices .select2-search-choice {
	height: 28px;
	line-height: 20px;
}

.select2-container-multi .select2-search-choice-close {
	top: 7px;
}



/* taxonomy */
.taxonomy-tag-header {
	color:#444;
	font-size: 24px;
	font-weight:300;
	line-height:1.3em;
	margin-top:15px;
	margin-bottom:30px;
	padding:5px;
}

.taxonomy-tag-association-list {
	margin-bottom:35px;
}

.taxonomy-object-list {
	margin-bottom:35px;
}


/* grid hierarchy */
.first-branch {
	margin-left:-44px;
	margin-top:-8px;
}

.branch-list {
	position:relative;
}


.branch-list-placeholder {
	border:1px dotted #dd301b;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin-left:88px;
	background-color: #ffdacb;
}


.branch-list ul {
	position:relative;
	list-style-type: none;
	margin: 4px 0 0 44px;
	padding: 0;
}

.branch-list li {
	margin-left:0px;
	margin-bottom:4px;
}

.branch-unselected {
	border:1px solid #d5d5d5;
	background-image: -ms-linear-gradient(top, #fafafa 0%, #ebebeb 100%); /* IE10 Consumer Preview */ 
	background-image: -moz-linear-gradient(top, #fafafa 0%, #ebebeb 100%); /* Mozilla Firefox */ 
	background-image: -o-linear-gradient(top, #fafafa 0%, #ebebeb 100%); /* Opera */ 
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fafafa), color-stop(1, #ebebeb)); /* Webkit (Safari/Chrome 10) */ 
	background-image: -webkit-linear-gradient(top, #fafafa 0%, #ebebeb 100%); /* Webkit (Chrome 11+) */
	background-image: linear-gradient(to bottom, #fafafa 0%, #ebebeb 100%); /* W3C Markup, IE10 Release Preview */ 
}

.branch-selected {
	color:#333;
	font-weight:bold;
	border:1px solid #c7c7c7;
	background-image: -ms-linear-gradient(top, #ebebeb 0%, #d7d7d7 100%); /* IE10 Consumer Preview */ 
	background-image: -moz-linear-gradient(top, #ebebeb 0%, #d7d7d7 100%); /* Mozilla Firefox */ 
	background-image: -o-linear-gradient(top, #ebebeb 0%, #d7d7d7 100%); /* Opera */ 
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ebebeb), color-stop(1, #d7d7d7)); /* Webkit (Safari/Chrome 10) */ 
	background-image: -webkit-linear-gradient(top, #ebebeb 0%, #d7d7d7 100%); /* Webkit (Chrome 11+) */
	background-image: linear-gradient(to bottom, #ebebeb 0%, #d7d7d7 100%); /* W3C Markup, IE10 Release Preview */ 
	
}

.branch-item {
	position:relative;
	font-size:14px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.branch-item .expandable {
	margin-left:34px;
}

.branch-item .expanded {
	color:#dd301b;
	background-color: #ffdacb;
}

.branch-item .empty {
	background-color: #ffffff;
	border:1px solid #d5d5d5;
}

.branch-expand {
	width:22px;
	height:22px;
	border:1px solid #dd301b;
	position:absolute;
	top:5px;
	left:5px;
	text-align:center;
	line-height:22px;
	cursor: pointer;
	font-weight:bold;
	background-color: #e5412d;
	color:#fff;
	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.branch-label {
	padding-top:5px;
	padding-bottom:5px;
	margin-left:10px;
	margin-right:10px;
	line-height:22px;
	font-size:14px;
	cursor:pointer;
}



#g-btn-next, #g-btn-prev, #g-btn-view {text-align:center;}
#g-btn-prev, #g-btn-view {
	display:none;
}

.grid-container {
	padding:20px;
	margin-right: auto;
	margin-left: auto;
}

.grid-control {margin-bottom:40px;margin-top:30px;}

.g-description {margin-bottom:30px;}
.grid-table-details .g-label { font-weight:400;width:150px;padding-left:0px; vertical-align:top;}
.grid-table-details .g-value { font-weight:300;padding-left:0px; vertical-align:top;}

.grid-table-list .g-descriptor {margin-top:12px;font-weight:400;font-size:18px;}
.grid-table-list .g-objective {margin-top:5px;}
.grid-table-list .g-object-description {font-size:14px;}

.grid-table-list .g-tag {font-weight:300;font-size:14px;margin-bottom:15px;line-height:20px;}
.grid-table-list .g-linked-item {font-weight:400;margin-bottom:15px;}
.grid-table-list .g-linked-title {margin-bottom:2px;font-weight:400;}
.grid-table-list .g-linked-description {font-weight:300;font-size:14px;}
.grid-table-list .g-td-descriptor {font-size:18px;font-weight:400;background:#f0f0f0;}
.grid-table-list ul li {margin-bottom:5px;}


.portlet-subheader {
	font-size:16px;
	text-transform:uppercase;
	color:#b0b0b0;
	font-weight:400;
	margin:0px 0 3px 0;
}
.portlet-subcontent {
	margin-bottom:20px;
}
.portlet-no-pad {
	padding-top:15px !important;
}

.view-taxonomy-header {
	margin:0px 10px 10px 0px;
	font-weight:400;
	font-size:18px;
}
.view-linked-object-header {
	text-transform: uppercase;
	display:inline;
	font-weight:400;
	margin:5px 20px 0 0;
	letter-spacing: 1px;
}

.grid-title .fa-ul {
	margin-bottom:0px;
}

.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 120px;
	background-color: #f5f5f5;
	font-size:14px;
	font-weight:400;
	color:#a7a7a7;
	border-top:1px solid #ebebeb;
}

.footer-copyright {
	margin-left:15px;
	margin-top:50px;
}

@media (max-width: 960px) {

}
@media (max-width: 480px) {
	.site-header-title {
		margin-left:0px;
	}
	.search-form {
		margin-top:5px;
	}
	.title {
		margin-bottom: 15px;
		font-size: 24px;
	}
	.home-title-verbose {
		display:none;
	}
	.home-title-succinct {
		display:inline;
	}
	#search-btn span {
		display:none;
	}
	.search-menu-item a {
		margin-left:0px;
		margin-right:0px;
	}
	.single-record-label {
		font-size:24px;
	}
	.single-record-type {
		font-size:14px;
		margin:8px 0;
	}
	.single-record-description {
		font-size:16px;
		line-height:24px;
	}
	.footer-copyright {
		display:none;
	}
}


a.tag-remove:link, a.tag-remove:active, a.tag-remove:visited {
	text-decoration:none;
	background:#e7e7e7;
	border:1px solid #d7d7d7;
	color:#676767;
	font-size:14px;
	font-weight:400;
	border-radius: .25em;
	
	display:inline-block;
	padding:8px;
	margin-bottom:10px;
	text-align:left;
	white-space: normal;
	line-height: 18px;
}
a.tag-remove:hover {
	text-decoration:none;
	background:#337ab7;
	border:1px solid #337ab7;
	color:#fff;
	font-size:14px;
	font-weight:400;
	border-radius: .25em;
	
	display:inline-block;
	padding:8px;
	margin-bottom:10px;
	text-align:left;
	white-space: normal;
	line-height: 18px;
}