/* css pour le front */
#wp-admin-bar-root-default, #wp-admin-bar-search, #menu-dashboard{
	/*display : none;*/
}


/***** subcols *****/
.subrow{
	width : 100%;
}

.subcol{
	float : left;
	box-sizing : border-box;
	border-right : solid 1em transparent;
	background-clip : padding-box;
	margin-bottom : 1em;
}

.subcol.noborder{
	border-right : none;
}

.subcol_1-4{
	width : 25%;
}

.subcol_2-4{
	width : 50%;
}

.subcol_3-4{
	width : 75%;
}

.subcol_4-4{
	width : 100%;
}


.subcol_1-3{
}

.subcol_2-3{
}

.subcol_3-3{
}

/***** communs *****/
.campaign-title{
	text-align : justify;
}

.nominee{
	background-color : #F2F2F2;
	padding : 1em 10px;
	margin-bottom : 1em;
	/*border-left: 10px solid #F2F2F2;*/
}

.nominee img.avatar, .nominee .alias img{
	width : 100px;
}

.nominee .alias{
}

/***** thematiques *****/
a.theme-selector.et_pb_button.et_pb_module {
    margin: 5px;
    font-size: .8em;
}

a.theme-selector.active {
    background-color: #00739F;
	color : #fff;
}

a.theme-selector.et_pb_button.et_pb_module:after {
    display : none;
}

a.theme-selector.et_pb_button.et_pb_module:hover {
	padding: 0.3em 1em;
	background : #333 none repeat scroll 0 0;
}


.theme-container {
    height: 700px;
    overflow: hidden;
}


.subject{
	width: 80%;
    height: 100%;
    margin: auto;
}


.campaign-subjects .nominee{
	position : relative;
	height: 450px;
    overflow: auto;
}

.subject-title{
	background : #00739F;
	/*margin : .5em 0;*/
	padding : .5em 0;
	text-align : center;
	color : #fff;
}

.campaign-subjects .nominee-title {
	line-height: 100px;
	margin-left: 120px;
	text-align: center;
}

.campaign-subjects .attachment-thumbnail{
	float : left;
	/*border: 1px solid #ccc;
	border-radius: 50%;*/
}

.campaign-subjects .nominee-meta {
	height: 260px;
	overflow: auto;
}

.subjects-submit-form{
	text-align : center;
}

.subject-vote-content{
	width : 100%;
	padding : 15%;
	text-align : center;
}

.subject-vote-content .submit-button{
	font-size : 2em;
}

/* diapo */
.owl-carousel .owl-item img, .nominee img, .comst_elec_nominee .post-thumbnail img {
	margin : 0 auto;
	display : block;
	border: 1px solid #ccc;
	border-radius: 50%;
}


.owl-dots {
	margin: 20px 0;
	text-align: center;
}

.owl-dot {
	border: 3px solid transparent;
	border-radius: 50%;
	color: #333;
	display: inline-block;
	height: 40px;
	margin: 5px;
	width: 40px;
	
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.owl-dot:last-child {
	/*background: #00739F none repeat scroll 0 0;
	color : #fff;*/
}

.owl-dot.active {
	/*background: #333 none repeat scroll 0 0;
	color : #fff;*/
	border : solid 3px #00739F;
}

.owl-nav div {
	position: absolute;
	top: 50%;
	border : solid 30px transparent;
	width : 0;
	height : 0;
	opacity : 1;
}

.owl-nav div.disabled {
	opacity : .3;
}

.owl-nav .owl-prev{
	left : -80px;
	border-right-color : #333;
}

.owl-nav .owl-next{
	right : -80px;
	border-left-color : #333;
}







/***** votes *****/
.campaign-vote .nominee{
	text-align : center;
	position : relative;
	z-index : 20;
}

.campaign-vote .nominee img{
	max-width : 150px;
}

.campaign-vote .nominee-title{
	margin : .5em 0;
	text-align: center;
	min-height: 3.5em;
}

.campaign-vote-submit .nominee::before {
  background-color: #00739F;
  bottom: 0;
  content: "";
  height: attr(data-vote)'%';
  left: 0;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.nominee-validate:before {
	width : 100%;
	height : 10px;
	content : "";
	display : block;
	position : absolute;
	top : 0;
	left : 0;
	background-color : #00739F;
}

.nominee-validate:after {
	width : 100%;
	height : 10px;
	content : "";
	display : block;
	position : absolute;
	bottom : 0;
	left : 0;
	background-color : #00739F;
}



.nominee.user-nominee{
	background-color: #00739F;
    color: #fff;
}

.nominee.user-nominee .nominee-title{
	color : #fff;
}

.post-thumbnail{
	float : left;
	margin-right : 15px;
}

.input-button{
	background: #ccc none repeat scroll 0 0;
	border-radius: 5px;
	color: #333;
	display: block;
	letter-spacing: 1px;
	margin: 0 5%;
	padding: 5px;
	text-align: center;
	width: 90%;
	transition: all 0.2s ease 0s;
}

.input-button:hover{
	background: #333 none repeat scroll 0 0;
	color: #fff;
}



.nominee-validate .meta-like{
	background-color : #00739F;
	color : #fff;
}




.submit-button{
	color : #00739F;
}



.score {
  font-size: 3em;
  font-weight: bold;
  text-align: center;
  margin : .5em 0;
}

.legend{
	text-align : center;
}


/* campaign */
.tax-comst_elec_campaign .comst_elec_nominee .post_content {
	margin-left : 215px;
}

.tax-comst_elec_campaign .comst_elec_nominee .post_content p{
	padding : .5em 0;
}

/* single */
.comst_elec_metas{
	margin-left: 320px;
	padding: 1em;
}


iframe[name="OneAll Social Login"] {
    /*display: inline;*/
    /*text-align: center;*/
    width: 250px !important;
    /* margin: 0 auto; */
}


/********************************************************************************
			MEDIAS
 ********************************************************************************/
@media screen and (max-width: 640px) {
}


@media screen and (min-width: 641px) and (max-width: 980px) {
}

@media screen and (max-width: 980px) {
	/*.et_pb_image_0 {
		right : auto !important;
		left : auto !important;
		top : auto !important;
		bottom : auto !important;
		position : relative !important;
	}
	
	.et_pb_section_3 {
		bottom : auto !important;
		top : 0 !important;
	}*/
	
	.owl-nav div {
		position: absolute;
		top: 50%;
		border : solid 15px transparent;
		width : 0;
		height : 0;
	}
	
	.owl-nav .owl-prev{
		left : -40px;
	}

	.owl-nav .owl-next{
		right : -40px;
	}
	
	.subcol{
		float : none;
		box-sizing : border-box;
		border : none;
	}

	.subcol_1-4, .subcol_2-4, .subcol_3-4, .subcol_4-4{
		width : 100%;
	}
}
