/*
 Theme Name:   Flatbase Child
 Theme URI:    http://dcamportal.org/flatbase-child/
 Description:  Flatbase Child Theme
 Author:       EDM Council
 Author URI:   http://edmcouncil.org
 Template:     flatbase
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  flatbasechild
*/


/* begin wordpress */

.nav > li > a:focus,
.nav > li > a:hover,
.nav > li > a:active { background-color: #e78747; }


/*flatbase theme, wider menu entries*/
body.page-template-template-home #header { overflow: visible; }/*prevent 3rd level menu from being cut off by content, on homepage*/
.nav li ul { width: 216px;/*212*/ }
.nav li ul ul { margin-left: 204px;/*202*/ }/*190 orig, for 180px links*/
#top #navigation .nav > li a { margin-right: 30px; }/*25 orig*/
#top #navigation .nav > li li a { margin-right: 0px; padding: 8px 6px; }
#top #navigation .nav li ul li a { width: 196px; padding: 8px 6px; }

/*begin eliminate white bar on top of entire site*/
body { margin-top: 0px !important; }
/*end eliminate white bar on top of entire site*/

/*begin fix overflow and consistent spacing on entire website*/
body.single-article #sidebar { width: 23% !important; }
/*end fix overflow and consistent spacing on entire website*/

/*begin reduce height of top navigation*/
#header { min-height: 100px;/*prev 120px*/ }
#header #top { min-height: 100px;/*prev 120px*/ }
#header #top #logo { padding-top: 10px;/*prev 30px*/ }
#top #navigation .nav > li a { line-height: 100px;/*prev 120px*/ }
/*end reduce height of top navigation*/

/*begin fix glossary right rail menu overwrite by counter pops*/
#sidebar {}
/*end fix glossary right rail menu overwrite by counter pops*/

.nice-knowledgebase { margin: 0px !important; width: 100%; max-width: 1080px; }
.nice-knowledgebase .row { margin-left: -3%; margin-right: -3%; }

.nice-knowledgebase [class*="columns-"] { padding-left: 0; }
.nice-knowledgebase [class*="columns-"]:first-child { margin-left: 3%; }
.nice-knowledgebase [class*="columns-"]:last-child { margin-right: -3%; }

/* end wordpress */

/* begin breadcrumbs */
.breadcrumbs { margin-bottom: 15px; padding: 8px 15px; color: #aaa; background-color: #f5f5f5; }
.breadcrumbs .post { display: inline-block; margin-bottom: 0px; padding-bottom: 0px; font-size: 13px; color: #aaa; text-transform: uppercase; }
.breadcrumbs span a { display: inline-block; margin-bottom: 0px; font-size: 13px; color: #0072a7; text-transform: uppercase; }
/* end breadcrumbs */

/* begin custom login page */
.page-id-4342 .sharedaddy { display: none; }
.custom-login-page { padding: 20px 0px; text-align: center; }
/* end custom login page */


.knowledgebase-container {}

b,
strong { font-weight: bold; }
i { font-style: italic; }
u { text-decoration: underline; }

.entry ul li.no-bullets { list-style-type: none; background: none; }

/*define local blank anchors for in-page links*/
.local-blank-anchor {}
.local-blank-anchor a { display: block; border-bottom: 0px; }

.knowledgebase-home-frisbee { margin: 0 auto; width: 70%; max-width: 480px; }
.knowledgebase-home-frisbee img { width: 100%; max-width: 480px; }

/* all */

.light #container .knowledgebase-container h1,
.light #container .knowledgebase-container h2,
.light #container .knowledgebase-container h3,
.light #container .knowledgebase-container h4,
.light #container .knowledgebase-container h5,
.light #container .knowledgebase-container h6,

#container .knowledgebase-container h1,
#container .knowledgebase-container h2,
#container .knowledgebase-container h3,
#container .knowledgebase-container h4,
#container .knowledgebase-container h5,
#container .knowledgebase-container h6 {
	color: #0072a7 !important;
}


#container .knowledgebase-container h1 {}
#container .knowledgebase-container h2 { padding-left: 0px; font-size: 28px; font-weight: bold; }
#container .knowledgebase-container h3 { font-size: 17px; font-weight: bold; }
#container .knowledgebase-container h4 { font-size: 17px; font-weight: normal; }
#container .knowledgebase-container h5 {}
#container .knowledgebase-container h6 {}


.kb-introduction-version { padding-bottom: 15px; }
.kb-introduction-version p { margin-bottom: 5px; font-weight: bold; text-align: right; }

.kb-introduction-copyright {}
.kb-introduction-copyright p { margin-bottom: 5px; font-weight: bold; text-align: right; }

.knowledgebase-container h3 { cursor: auto !important; }
.knowledgebase-container .panel-heading h3 { cursor: pointer !important; }


/*begin button close - next component*/
.light #content a.nextcomponent,
#content a.nextcomponent,
#container .light a.nextcomponent,
.light #container a.nextcomponent { margin-bottom: 10px;  padding: 7px; font-family: 'Roboto', arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; color: #fff !important;
	letter-spacing: inherit; text-transform: uppercase; background-color: #0072a7; cursor: pointer; border: 0px; border-radius: 3px; }

.light #content .container-next-component a:not(.button),
.light #container .container-next-component a,
#container .light .container-next-component a,
.container-next-component a { color: #fff !important; }
/*end button close - next component*/


.knowledgebase-container h3 { /*padding-left: 15px !important;*/ border-bottom: 0px !important; }

/*
.knowledgebase-container h3.upper-matter { font-size: 17px !important; }
.knowledgebase-container h3.capability { font-size: 17px !important; }
*/

.knowledgebase-container .panel-heading h3 { padding-left: 25px; padding-bottom: 5px; border-bottom: 0px !important; }
.knowledgebase-container .panel-heading h3.upper-matter { padding-left: 15px; padding-bottom: 15px; font-size: 17px !important; }
.knowledgebase-container .panel-heading h3.capability { padding-left: 15px; padding-bottom: 15px; font-size: 17px !important; }

.knowledgebase-container .kb-diagram { margin-bottom: 15px; text-align: center; }
.knowledgebase-container .kb-diagram img { width: 100%; max-width: 480px; }
.knowledgebase-container .img-note { padding-bottom: 5px; font-weight: bold; text-align: center; }
.knowledgebase-container .dcam-frisbee-components { text-align: center; }
.knowledgebase-container .dcam-frisbee-components img { width: 100%; max-width: 480px; }

.knowledgebase-container sup { font-size: 80%; vertical-align: inherit; }

.knowledgebase-container ul.no-bullets {}
.knowledgebase-container ul.no-bullets { list-style-type: none; }

/*begin knowledge-base*/
.nice-knowledgebase { margin-left: 0%; }
.nice-knowledgebase .row { margin-left: 0%; margin-right: 0%; }
.nice-knowledgebase .columns-3.first { margin-left: 0%; }
/*end knowledge-base*/


/* introduction */

.knowledgebase-container .kb-intro-bluebox { margin: 15px auto 25px auto; width: 80%; border-top: 1px #0072a7 solid; border-bottom: 1px #0072a7 solid;
 padding: 20px 0px 5px 0px; }
.knowledgebase-container .kb-intro-bluebox p { color: #0072a7; }


.knowledgebase-container .knowledgebase-introduction-table {}
.knowledgebase-container .knowledgebase-introduction-table:after { display: block; content: ''; clear: both; }

.knowledgebase-container .knowledgebase-introduction-table p { margin-bottom: 0px; padding: 5px 5px 10px 5px; }

.knowledgebase-container .knowledgebase-introduction-table .row { padding-bottom: 0%; }

.knowledgebase-container .knowledgebase-introduction-table .row-title {}
.knowledgebase-container .knowledgebase-introduction-table .row-content {}

.knowledgebase-container .knowledgebase-introduction-table .row-title .column-title { background-color: #0072a7; }
.knowledgebase-container .knowledgebase-introduction-table .row-title .column-title p { color: #fff; }

.knowledgebase-container .knowledgebase-introduction-table .row-content .column-title { background-color: #e78747; }
.knowledgebase-container .knowledgebase-introduction-table .row-content .column-title p { color: #fff; }

.knowledgebase-container .knowledgebase-introduction-table .row-content .column-title:first-child p { padding-left: 15px; }

.knowledgebase-container .knowledgebase-introduction-table .row-content .column-content {}
.knowledgebase-container .knowledgebase-introduction-table .row-content .column-content { color: #707070; }


.knowledgebase-container .column-title {}
.knowledgebase-container .column-row {}

.knowledgebase-container .kb-acronym-glossary {}
/*.knowledgebase-container .kb-acronym-glossary:after { display: block; content: ''; clear: both; }*/

.knowledgebase-container .kb-acronym-glossary .row-content { padding-bottom: 1%; }

.knowledgebase-container .kb-acronym { font-weight: bold; }
.knowledgebase-container .kb-acronym-description {  }

.knowledgebase-container ul.kb-three-level {}
.knowledgebase-container ul.kb-three-level li {}
.knowledgebase-container ul.kb-three-level ul li {}
.knowledgebase-container ul.kb-three-level ul li ul li {}


/* begin Components */
.knowledgebase-table p { font-size: 15px; }
.knowledgebase-table .column-title p { margin-bottom: 5px; }
.knowledgebase-table .column-title,
.knowledgebase-table .column-row { padding: 5px 2px; }
.knowledgebase-table .column-title p { margin-bottom: 5px; }

.knowledgebase-container ol li { font-size: 17px; }


.arrow { padding-left: 0px !important; }
.arrow li { list-style-type: none !important; padding-left: 36px; background: url("images/bgr_kp_arrow.png") no-repeat left 2px; }
/* end Components */


/* begin search widget */
#CustomPageBody .img-container img { max-width: 100%; }

body { margin: 15px; }
div.search span { display: block; }
div.search input[type="text"] { margin-top: 4px; }
div.panel { margin-bottom: 15px; }
div.panel .panel-body p:last-child { margin-bottom: 0; }
span.markYellow { background: yellow; color: black; }
span.markBlue { background: blue; color: white; }
.current-mark-element { background: yellow; color: #000; }

.search-form-container { position: static; }
.search-form-container .search-form-content { position: relative; }
.search-form-container .close-x { display: none; position: absolute; top: 5px; right: 15px; width: auto; height: auto; z-index: 1000; }
.search-form-container .close-x a { display: block; padding: 2px; cursor: pointer; }
.search-form-container .search-form-content .search.row .form-control.input-sm::placeholder:after { content: "Search text here"; }

.search-form-container .hide-content { display: none; }
.search-form-container .btn-first { color: #0072a7; }
.search-form-container .next-text { display: inline-block !important; }
.search-form-container .number-of-results { display: inline-block !important; }
.search-form-container .current-result { display: inline-block !important; }
.search-form-container span.bttn {
	display: inline-block !important;
	padding: 8px 14px;
	font-family: 'Roboto', sans-serif;
	/* font-family: 'robotomedium'; */
	font-size: 13px;
	font-weight: 300;
	color: #fff !important;
	text-decoration: none;
	text-transform: uppercase;
	background-color: #E78747;
	cursor: pointer;
}

.search-fixed { position: fixed; top: 35px;/*10px for annonymous user, 35 for wp logged user*/ left: 200px; width: 600px; z-index: 2000; }
/*    .search-fixed .close-x { display: block; }*/

.search-form-container .show-close { display: block; }
.search-form-container .hide-close { display: none; }

.edm-container { margin-bottom: 40px; }
#ResourceCollection { margin-top: 40px; }


.no-boxes {}

.no-boxes h2 {}
.no-boxes h3 {}

/* end search widget */


/* begin Glossary */
.glossary {}
.glossary .cmttct-custom-taxonomy-single { padding: 20px 0px; }

/*make glossary pages subtitles behave like h3*/
.glossary .cmtt_related_articles_wrapper .cmtt_related_articles_title { font-size: 17px; font-weight: bold; color: #e78747; }
.glossary .term-definition-heading,
.glossary .term-commentary-heading { font-size: 17px; font-weight: bold; color: #e78747; }
.glossary .term-definition-heading,
.glossary .term-commentary-heading, { margin-bottom: 10px; }
.glossary .cmttct-custom-taxonomy-single span {} /* ??? */

.glossary .cmtt-taxonomy-single span { font-size: 17px; font-weight: bold; color: #e78747; }

.glossary .sharedaddy { margin-bottom: 20px; }/*create spacing between Prin and Categories / Tags*/
.glossary .cmtt-backlink-bottom { margin-top: 20px; }

/*hide alpha menu on top for single glossary item display*/
.single-glossary .glossary-term-listnav { display: none; }
/* end Glossary */

/* begin Knowledge Directory Advanced Gutenberg tabs */
.ui-tabs .ui-tabs-nav li { white-space: normal; }
/* end Knowledge Directory Advanced Gutenberg tabs */




/* begin Knowledge Directory articles */
#container .advgb-tabs-wrapper {}
#container .advgb-tabs-wrapper .advgb-tab {}

#container .advgb-tabs-wrapper .ui-widget-header { text-shadow: none; }

/*
#container .light #content .advgb-tabs-wrapper .advgb-tab a { color: #000 !important; }
#container .light #content .advgb-tabs-wrapper .advgb-tab-active a { color: #fff !important; }
*/

#container ul.advgb-tabs-panel li.advgb-tab.ui-tabs-active,
#container ul.advgb-tabs-panel li.advgb-tab.advgb-tab-active {
	background-color: #0072a7 !important;
}

/*#container ul.advgb-tabs-panel .ui-tabs .ui-tabs-nav li a { font-weight: normal; }*/

#container #content .advgb-tabs-wrapper .advgb-tab a { display: block; width: 100%; font-weight: normal; color: #fff !important; }
#container #content .advgb-tabs-wrapper .advgb-tab-active a { color: #fff !important; /*border-bottom: 1px #0072a7 solid;*/ }

/*fix cut round borders for 2nd and 3rd columns of advanced gutenberg in case of white inner background on other color outer background*/
.ui-tabs,
.ui-tabs .ui-tabs-nav,
.ui-tabs-panel { border-radius: 12px; }

/*buttons*/
.wp-block-buttons {}
.wp-block-buttons .wp-block-button {}

.wp-block-buttons .wp-block-button .wp-block-button__link { padding: 8px 14px; font-size: 13px; font-weight: 300; color: #fff;
 text-transform: uppercase; cursor: pointer; border-radius: 0px; border-bottom: 0px; }
 .light #content  .wp-block-button a.wp-block-button__link { color: #fff !important; }
.wp-block-buttons .wp-block-button .wp-block-button__link.has-background { background-color: #e78747; }
.wp-block-buttons .wp-block-button .wp-block-button__link:hover { border-bottom: 0px; }

/* end Knowledge Directory articles */


/* begin post breadcrumbs */
.single-post .breadcrumbs:nth-child(2) { background-color: green; }
.single-post .breadcrumbs span:nth-child(2) { display: none; }
/* end post breadcrumbs */


/* begin right rail tags listing */
.widget .tagcloud a { display: inline-block; margin-right: 3px; padding-left: 7px; padding-right: 7px; width: 49%; min-height: 72px;
/*54 before laptop screen shrinking*/ }
.widget .tagcloud a:nth-child(even) { margin-right: 0px; }
/* end right rail tags listing */


/* begin table of contents toc */
#ftwp-container.ftwp-wrap #ftwp-list .ftwp-item { background-color: /*#0072a7*/ #A4CBE5 !important; }/*light blue background, same as frisbee blue*/

#ftwp-container.ftwp-wrap #ftwp-list .ftwp-anchor:hover { color: #fff !important; }/*white menu hover*/

#ftwp-container.ftwp-wrap #ftwp-list .ftwp-text::before { background-color: #e78747 !important; }/*orange active background*/

/*make left TOC on even while supposedly hidden in hamburger menu, for desktop only*/
@media screen and (min-width: 1025px) {

	#ftwp-container.ftwp-fixed-to-post.ftwp-minimize #ftwp-contents { /*visibility: visible !important;*/ }
	#ftwp-container.ftwp-fixed-to-post.ftwp-minimize #ftwp-trigger { /*display: none;*/ }
	/*hide the close button X*/
	#ftwp-contents #ftwp-header-minimize { /*display: none;*/ }

}

@media screen and (max-width: 1366px) {
	#container { max-width: 844px; }
	#ftwp-container #ftwp-list.ftwp-list-nest.ftwp-colexp-icon .ftwp-anchor { padding-left: 18px !important; }
}

/* end table of contents toc */


/* begin Knowledgebase Posts fully-opened */
.knowledgebase-container.no-boxes {}

.knowledgebase-container.no-boxes .dcam-frisbee-components img { max-width: 400px; }

.knowledgebase-container.no-boxes .handle-all { display: none; }

.knowledgebase-container.no-boxes .panel-heading .fa.fa-fw { display: none; }
.knowledgebase-container.no-boxes .panel-heading h3 { padding-left: 0px; }
.knowledgebase-container.no-boxes .panel-heading[aria-expanded="false"] { display: none; }
.knowledgebase-container.no-boxes .panel-heading[aria-expanded="true"] { display: block; }

.knowledgebase-container.no-boxes .panel-body .collapse { display: block; }

.knowledgebase-container.no-boxes .opennext { display: none; }

.knowledgebase-container.no-boxes .container-next-component { display: none; }

.post.category-dcam-framework #ftwp-postcontent { /*float: left;*/ }
/* end Knowledgebase Posts fully-opened */


#call-to-action { padding: 35px 0px; }
#footer-widgets { padding-top: 20px; padding-bottom: 20px; }

#footer .searchform input[type="text"] { color: #000; }

@media screen and (min-width: 1201px) {

	.knowledgebase-container .knowledgebase-table p { font-size: 14px; }
	.knowledgebase-container ol li { font-size: 17px; }

}

/*fixing top menu 3rd level submenu override 2nd level on tablets/mobile*/
@media screen and (max-width: 1024px) {

	.nav li ul ul { margin-top: 0px; }
}

@media screen and (max-width: 1200px) and (min-width: 992px) {

	.knowledgebase-container .knowledgebase-table p { font-size: 14px; }
	.knowledgebase-container ol li { font-size: 15px; }

}

@media screen and (max-width: 991px) and (min-width: 768px) {

	.knowledgebase-container .knowledgebase-table p { font-size: 13px; }

}

@media screen and (max-width: 767px) and (min-width: 0px) {

	.knowledgebase-container .knowledgebase-table p { font-size: 11px; }

}

/*december 2019*/
#ftwp-container-outer.ftwp-float-right { float: none !important; }
