﻿/**/
/* Top image (Hero) */
/**/
	h1{
		font-size: 1.7em;
		}
		h2{
			text-transform: uppercase;
			margin-top:30px;
		}
	h3{
		font-size: 1.3em;
		}
h4 {
    font-size: 1.1em;
    font-weight: bold;
}
.img-responsive{
	margin-bottom: 20px;
    margin-top: 15px;
}

div .img-responsive:only-child, div .img-responsive:first-child{
	margin-top:0;
}
.web-banner .hero {
   background-image: url('../img/Compendium.jpg');
}
/** Tiles **/
	.ce-hoc-related-links-widget{
		background-color:transparent;
		Margin:0; padding:0;
	}
.ce-hoc-related-links-widget a.ce-hoc-related-link{
	width:80%;
	min-width:290px;
	max-width:none;
	min-height:242px;
}
.ce-hoc-related-links-widget a.ce-hoc-related-link .ce-hoc-related-link-txt{
	font-size: 18px;
    background: rgba(68,122,38,0.7);
}
.ce-hoc-related-links-widget a.ce-hoc-related-link:hover .ce-hoc-related-link-txt {
    background: rgb(66, 122, 38);
}
/*a.btn-primary-img{
	display: flex;
	padding:20px 10px;
	height:100%;
    text-align: center;
    align-items: center;
    justify-content: center;
	background-color:#427a26;
	background-size:cover;
	background-image: url("/CommonElements/images/ce-hoc-btn-primary-1.jpg");
	font-size:21px;
}
a.btn-primary-img div{
	background-color: #fff;
    width: 100%;
    padding: 7px;
    color: #427a26;
}*/
/** Landing page **/
.btn-primary-img{
	list-style: none;
	margin:0;
	padding:0;
	display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
}
.btn-primary-img li{
	margin-bottom:15px;
}
.btn-primary-img a{
	display: flex;
	color:#fff;
	padding:20px 10px;
	height:100%;
    text-align: center;
    align-items: center;
    justify-content: center;
	background-color:#427a26;
	background-size:cover;
}
.btn-primary-img h2{
	text-transform: none;
	    font-size: 1.3em;
    margin: 0;
	font-weight:400;
}
.btn-primary-img-1 a{
	background-image: url("/CommonElements/images/ce-hoc-btn-primary-1.jpg");
}
.btn-primary-img-2 a{
	background-image: url("/CommonElements/images/ce-hoc-btn-primary-2.jpg");
}
.btn-primary-img-3 a{
	background-image: url("/CommonElements/images/ce-hoc-btn-primary-3.jpg");
}
.btn-primary-img-4 a{
	background-image: url("../img/ce-hoc-btn-primary-4.jpg");
}
.btn-primary-img-5 a{
	background-image: url("../img/ce-hoc-btn-primary-5.jpg");
}
.btn-primary-img-6 a{
	background-image: url("../img/ce-hoc-btn-primary-6.jpg");
}
.btn-primary-img-7 a{
	background-image: url("../img/ce-hoc-btn-primary-7.jpg");
}
.btn-primary-img-8 a{
	background-image: url("../img/ce-hoc-btn-primary-8.jpg");
}
.btn-primary-img-9 a{
	background-image: url("../img/ce-hoc-btn-primary-9.jpg");
}
.btn-primary-img-10 a{
	background-image: url("../img/ce-hoc-btn-primary-10.jpg");
}
.btn-primary-img-11 a{
	background-image: url("../img/ce-hoc-btn-primary-11.jpg");
}
.btn-primary-img-12 a{
	background-image: url("../img/ce-hoc-btn-primary-12.jpg");
}
.btn-primary-img-13 a{
	background-image: url("../img/ce-hoc-btn-primary-13.jpg");
}
.btn-primary-img-14 a{
	background-image: url("../img/ce-hoc-btn-primary-14.jpg");
}
.btn-primary-img-15 a{
	background-image: url("../img/ce-hoc-btn-primary-15.jpg");
}
/** Contact **/
.contact{
	background-color:#427a26;
	color:#fff!important;
	padding: 10px 20px;
	margin-bottom:20px;
}
.contact a{
	color:#fff;
}
.contact i{
	font-size:20px;
	margin-right:5px;
}
/** Introduction **/
.introduction{
	background-color:#fff;
	padding:20px;
	clear:both;
	margin-bottom:20px;
}
.introduction.intro-landing{
    display: flex;
	justify-content: stretch;
}
.introduction img:first-child{
	margin:-20px;
	margin-right:10px;
	vertical-align: top;
	flex-shrink: 0;
}
.introduction h2{
	margin-top:0;
}
.intro-landing p{
	font-size:18px;
	vertical-align: top;
	margin: 0;
	align-self: center;
}
/**/
/* Search */
/**/
ul.ui-autocomplete.ui-menu{
  background-color:#fff;
	width:231px;
	list-style: none;
	border: solid 1px rgba(0,0,0,.2);
	padding:0;
}
ul.ui-autocomplete.ui-menu li.ui-menu-item{
	padding:0;
}
ul.ui-autocomplete.ui-menu li.ui-menu-item div{
	display:block;
	padding:5px 15px;
}
ul.ui-autocomplete.ui-menu li.ui-menu-item.ui-state-hover{
	background-color: #f2f2f2;
	cursor: pointer;
}
.ui-autocomplete {
	max-height: 300px; 
	overflow-y: scroll; 
	overflow-x: hidden;
}
div.CompendiumSearch a{
	display:block;
	font-size:16px;
	border-bottom:none;
	padding:8px 15px 7px 15px;
	text-transform: uppercase;
}
div.CompendiumSearch a:hover{
	background-color:#ccc;
	text-decoration:none;
}
div.CompendiumSearch a i{
	font-size:25px;
	vertical-align:middle;
}
div.CompendiumSearch div.dropdown-menu{
	padding: 8px 15px;
	text-align: center;
	width:100%;
	top:38px;
}
div.CompendiumSearch div.dropdown-menu button i.hoc-icon.icon-search{
	font-size:19px;
	margin:0;
}
@media only screen and (min-width : 768px) {
	div.CompendiumSearch a{
		padding:8px 15px 7px 15px;
	}
	div.CompendiumSearch div.dropdown-menu{
		display: block;
    top: 0;
    margin: 0 15px;
    padding: 3px 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
    width: auto;
	}
	div.CompendiumSearch div.dropdown-menu button i.hoc-icon.icon-search{
		font-size:19px;
		margin:0;
	}
}
@media print{
	div.CompendiumSearch{
		display:none;
	}
}
.shading {
    background-color: #d9d9d9;
}
.more-articles{
	border-radius: 0;
	border-left:5px solid #427a26;
	padding: 10px 10px 0px;
}
.moreArticles h4, .moreArticles h3, .more-articles-title {
    margin: 0 0 10px 0;
    font-family: Roboto, sans-serif;
    font-size: inherit;
    font-weight: bold;
}
.article-nav-title, .articleNav h2{
    font-size: 13px;
    font-family: Roboto, sans-serif;
    letter-spacing: initial;
	text-transform: none;
    font-weight: bold;
    padding: 0 0 0 10px;
    margin: 0 0 10px 0;
}
.moreInformation {
    background-color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
}
.moreInformation h2{
	margin-top:10px;
}
.moreInformation>ul>li{
	font-size:20px;
	list-style: none;
}
.moreInformation>ul>li li{
	font-size:14px;
	list-style:initial;
}

iframe{
	display: block;
    width: 100%;
    margin: auto;
	margin-bottom:10px;
}

/* Charts */
.hoc-schema ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}
.hoc-schema ul, .hoc-schema li {
	position:relative;
	display: flex;
    align-items: stretch;
    flex-direction: column;
	flex: 1 1 0px;
	z-index: 1;
}
.hoc-schema li:first-child{
	margin-left:-14px;
}
.hoc-schema li:last-child{
	margin-right:-14px;
}
.hoc-schema li:only-child{
	margin-right:0;
	margin-left:0;
}
.hoc-schema .hoc-schema-box-lvl1 > ul, .hoc-schema .hoc-schema-box-lvl2 > ul{
	flex-direction: row;
    justify-content: space-between;
}
.hoc-schema a, .hoc-schema .hoc-schema-box-lvl1 > span, .hoc-schema .hoc-schema-box-lvl2 > span, .hoc-schema .hoc-schema-box-lvl3 > span {
	display: flex;
	align-items: center;
    justify-content: center;
	padding: .5em;
	background-color: #fff;
	box-shadow: 0 0 0 1px #bbb;
	text-align: center;
	position: relative;
	z-index: 2;
}
.hoc-schema .hoc-schema-box-lvl1:last-of-type > span{
	margin-bottom:1.5em;
}
.hoc-schema a:hover, .hoc-schema a:focus {
	text-decoration: none;
	box-shadow: 0 0 0 1px #427A26;
	background-color: #e7e7e7;
	outline: none;
}
.hoc-schema a.active {
	color: #fff;
	background-color: #427A26;
	box-shadow: 0 0 0 1px #427A26;
}
.hoc-schema a.active:hover, .hoc-schema a.active:focus {
	background-color: #2d531a;
	box-shadow: 0 0 0 1px #2d531a;
	outline: none;
}
.hoc-schema a > span, .hoc-schema span > span {
	display: table-cell;
	vertical-align: middle;
}
.hoc-schema .hoc-schema-box-lvl1 > a, .hoc-schema .hoc-schema-box-lvl1-last > a , .hoc-schema .hoc-schema-box-lvl1 > span {
	width: 40%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom:0.5em;
}
.hoc-schema .hoc-schema-box-lvl2 > a, .hoc-schema .hoc-schema-box-lvl2-first > a, .hoc-schema .hoc-schema-box-lvl2 > span, .hoc-schema .hoc-schema-box-lvl3 > span {
	margin: 0.5em 1em;
}
.hoc-schema .hoc-schema-box-lvl2-last > ul {
	margin-top: 1em;
}
.hoc-schema .hoc-schema-box-lvl2 > span {
    background-color: #f2f2f2;
    box-shadow: none;
}
.hoc-schema #schema-constitution-legislative.hoc-schema-box-lvl2 > span{
	margin-bottom:1.5em;
}
/* :before and :after section -- Will be applied individually */
li#schema-constitution-legislative > span:after {
    width: 1px;
    height: 1em;
    bottom: -1em;
	left:50%;
}
.hoc-schema #schema-constitution-legislative > ul:before {
    height: 1px;
    width: calc(50% + 1em);
    left: calc(25% - 0.5em);
    top: -0.5em;
}
	#schema-constitution.hoc-schema #schema-constitution-crown.hoc-schema-box-lvl1 > ul:before{
	width: calc(52% - 1px);
    height: 1px;
		top:-3.5em;
    left: calc(24% + 1px);
	}
.hoc-schema ul:before, .hoc-schema ul:after, .hoc-schema li:before, .hoc-schema li:after, .hoc-schema a:before, .hoc-schema a:after, .hoc-schema li > span:before, .hoc-schema li > span:after {
	content: "";
	background-color: #427A26;
	position: absolute;
	z-index: 1;
}

/* Before and After - Constitution */
#schema-constitution.hoc-schema .hoc-schema-box-lvl3 > span:before {
	height: 1em;
	width: 1px;
	top: -1em;
	left: 50%;
}
#schema-constitution.hoc-schema .hoc-schema-box-lvl2 > span:before {
	height: 4em;
	width: 1px;
	top: -4em;
	left: 50%;
}
#schema-constitution.hoc-schema #schema-constitution-senate.hoc-schema-box-lvl2 > span:before{
	display:none;
}
/* Legislative process */
	
.tab-content{
	list-style:none;
	padding:0;
	margin:0 -15px;
	background-color:unset;
}
.tab-content li > a{
    padding: 15px;
	font-size:21px;
	color:#fff;
}
.tab-content > li > a,  .tab-content > li li{
	display: inline-flex;
    width: calc(100% / 3 - 20px);
	margin: 0 10px 10px;
    flex-shrink: 0;
	align-items:center;
	text-align: center;
	justify-content: center;
	min-height:90px;
}
.tab-content > li > a{
	background-color:#427a26;
}
.tab-content > li > ul{
	margin:0 0 40px;
	padding:0;
	display: flex;
    flex-wrap: wrap;
}
.tab-content > li li{
	background-image: url("../img/ce-hoc-btn-secondary-2.jpg");
	background-color: #444;
	
}
.tab-content > li li > a{
	background-image:none;
}
.ParticipChambre-schema, .ParticipChambre-container {
	margin-top: 1em;
	margin-bottom: 1em;
}
.ParticipChambre-schema ol {
	list-style: none;
	padding: 0;
	margin: 0;
	display: block;
	max-width: 400px;
}
.ParticipChambre-schema ol, .ParticipChambre-schema li {
	display: block;
	position: relative;
	width: 100%;
}
.ParticipChambre-schema a, .ParticipChambre-schema .hoc-schema-box-lvl3 > span {
	display: table;
	padding: .5em;
	text-align: center;
	margin-bottom: 1em;
	position: relative;
	z-index: 2;
	text-decoration: none;
	width: 100%;
}
.ParticipChambre-schema a {
	color: #fff;
	background-color: #427A26;
	box-shadow: 0 0 0 1px #427A26;
}
.ParticipChambre-schema a.collapsed {
	color: #427A26;
	background-color: #fff;
	box-shadow: 0 0 0 1px #bbb;
}
.ParticipChambre-schema a:hover, .ParticipChambre-schema a:focus {
	background-color: #2d531a;
	box-shadow: 0 0 0 1px #2d531a;
	outline: none;
}
.ParticipChambre-schema a.collapsed:hover, .ParticipChambre-schema a.collapsed:focus {
	text-decoration: none;
	box-shadow: 0 0 0 1px #427A26;
	background-color: #e7e7e7;
	outline: none;
}
.ParticipChambre-schema a > span {
	display: table-cell;
	vertical-align: middle;
}
.ParticipChambre-schema li:not(:last-child) a:after {
	content: "";
	background-color: #427A26;
	position: absolute;
	z-index: 1;
	height: 1em;
	width: 1px;
	bottom: -1em;
	left: 50%;
}

.panel .panel-heading h3, .panel .panel-heading h4{
	margin:0;
	font-size:1.3em;
	font-weight:300;
}
.panel .panel-heading{
	background-color: #eaeaea;
	color:#427a26;

}
.panel .panel-body{
	background-color: #f2f2f2;
}

.panel ol li>ol{
	list-style: lower-roman;
}

/* Votability */
.votability-container{
	border:1px solid #ccc;
	box-shadow: 0 0 3px rgba(0,0,0,0.15);
	padding:15px;
	margin-top:20px;
}
.votability-list{
	margin:0;
	padding:0;
	list-style-position:inside;
	list-style: none; counter-reset: li
}
.votability-list li::before {
	content: counter(li);
	color: #427a26;
	font-family:Martel, Georgia, serif;
	font-size: 2.3rem;
    vertical-align: text-top;
	display: inline-block;
	float:left;
	width: 1em;
	margin-top: -3px;
	margin-left:-25px;
  }
.votability-list li{
	margin-bottom:10px;
	border:2px solid #427a26;
	padding:10px;
	counter-increment: li;
	padding-left:35px;
}
/* Accordion */

/* Mobile */
@media (max-width: 767px) {
	.tab-content > li > a,  .tab-content > li li{
		width:95%;
		flex-shrink:unset;
	}
	.hoc-schema ul, .hoc-schema li{
		flex-basis:auto;
	}
	.hoc-schema #schema-constitution-legislative > ul:before, li#schema-constitution-legislative > span:after, #schema-constitution.hoc-schema .hoc-schema-box-lvl2 > span:before{
		display:none;
	}
.hoc-schema .hoc-schema-box-lvl2 > ul{
	flex-direction: column;
}
	.hoc-schema .hoc-schema-box-lvl1:last-of-type > span{
		margin-bottom:0;
	}
	.hoc-schema li:first-child {
    margin-left: 0;
}
	.hoc-schema li:last-child {
    margin-right: 0;
}
	.hoc-schema .hoc-schema-box-lvl2 > a, .hoc-schema .hoc-schema-box-lvl2-first > a, .hoc-schema .hoc-schema-box-lvl2 > span, .hoc-schema .hoc-schema-box-lvl3 > span {
    margin: 0.5em 0;
	}
	.hoc-schema .hoc-schema-box-lvl1 > ul{
		flex-direction: column;
	}
	.hoc-schema .hoc-schema-box-lvl1 > a, .hoc-schema .hoc-schema-box-lvl1 > span{
		width: 100%;
	}
	.hoc-schema .hoc-schema-box-lvl2 > a, .hoc-schema .hoc-schema-box-lvl2 > span{
		width: 90%;
    	align-self: flex-end;
	}
	.hoc-schema .hoc-schema-box-lvl2-last > a{
		margin-bottom: 1em;
	}
	.hoc-schema .hoc-schema-box-lvl3 a, .hoc-schema .hoc-schema-box-lvl3 > span{
		margin-top: 1em;
   		width: 80%;
		align-self: flex-end;
	}
	.hoc-schema .hoc-schema-box-lvl3 > span{
		margin-top: 0;
	}
	.hoc-schema .hoc-schema-box-lvl3{
		margin-left: 0;
		margin-right: 0;
	}
	.hoc-schema .hoc-schema-box-lvl4 a{
		margin-left: 8em;
	}
/* Before and after - Constitution */
	#schema-constitution.hoc-schema .hoc-schema-box-lvl1:after{
		width:1px;
		height:100%;
		left:3%;
		top:0;
	}
	#schema-constitution.hoc-schema .hoc-schema-box-lvl1 > span:after{
		display:none;
	}
	#schema-constitution.hoc-schema .hoc-schema-box-lvl2 > span:before {
		height: 1px;
		width: calc(7% + 2px);
		top: 50%;
		left: calc(-7% - 2px);
}
	#schema-constitution.hoc-schema .hoc-schema-box-lvl3 > span:after {
	    width: 1px;
   height: calc(100% + 0.5em);
    top: calc(-72% - -0.5em);
    left: -7%;
}
	#schema-constitution.hoc-schema .hoc-schema-box-lvl3 > span:before {
		height: 1px;
		width: 7%;
		left: -7%;
		top: 50%;
}
}

