body {position: relative;}

form.checkout.woocommerce-checkout .create-account,
form.checkout.woocommerce-checkout .unite-pedagogique,
form.checkout.woocommerce-checkout .actions .hide {
	display: none !important;
}

body.has-subscription-product form.checkout.woocommerce-checkout .validate-email {
	display: none !important;
}

body.has-subscription-product form.checkout.woocommerce-checkout [id="billing_company_field"] {
	display: none !important;
}

.woocommerce tbody td {
    background-color: #FFF!important;
}

.woocommerce table.shop_table.order_details tbody td:first-child {
    border-right: 1px solid rgba(0,0,0,0.1);
}

form.checkout.woocommerce-checkout .steps {
	position:relative;
	/*overflow:hidden;*/
}
form.checkout.woocommerce-checkout .steps:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 5px;
	background-color:#eff2f5;
	bottom:-10px;
	left: 0;
}

form.checkout.woocommerce-checkout .steps ul {
	display: table;
	width: 100%;
	table-layout: fixed;
	margin-bottom: 60px;
}

form.checkout.woocommerce-checkout .steps ul li {
	position: relative;
	display: table-cell;
	text-align: center;
}

form.checkout.woocommerce-checkout .steps ul li:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 5px;
	background-color:#eff2f5;
	bottom: -10px;
	left: 0;
}

form.checkout.woocommerce-checkout .steps ul li.current:before {
	width:50%;
}

form.checkout.woocommerce-checkout .steps ul li.last.current:before {
	width:50%;
}

form.checkout.woocommerce-checkout .steps ul li.current:before,
form.checkout.woocommerce-checkout .steps ul li.done:before {
	background-color: #fbba00;
}

form.checkout.woocommerce-checkout .steps ul li:after {
	content: '';
	position: absolute;
	display: inline-block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #eff2f5;
	border: 3px solid #FFFFFF;
	bottom: -19px;
	left: 50%;
	transform: translateX(-50%);
}

form.checkout.woocommerce-checkout .steps ul li.current:after,
form.checkout.woocommerce-checkout .steps ul li.done:after {
	background-color: #fbba00;
}

form.checkout.woocommerce-checkout .steps ul li a {
	color: #000;
	font-weight: 800;
	font-size: 18px;
}

form.checkout.woocommerce-checkout .steps ul li.current a {
	color: #fbba00;
}

form.checkout.woocommerce-checkout .steps ul li a{
	color:#cad4de;
}

form.checkout.woocommerce-checkout .steps ul li.current a{
	color:#2f3c49;
}

form.checkout.woocommerce-checkout .steps ul li.done a{
	color:#fbba00;
}

form.checkout.woocommerce-checkout .steps ul li a > small{
	color:#cad4de;
	display: block;
	font-size: .8em;
}

form.checkout.woocommerce-checkout .steps ul li.current a > small,
form.checkout.woocommerce-checkout .steps ul li.done a > small{
	color: #fbba00;
}

form.checkout.woocommerce-checkout .content h3 {
	font-size: 30px;
	font-weight: 400;
	font-family: 'Mitr';
	text-transform: none;
	letter-spacing: inherit;
	padding-bottom: 7px;
	margin-bottom: 30px;
	border-bottom: 1px solid rgb(230, 230, 230);
}

form.checkout.woocommerce-checkout .content h3:not(.current) {
	display: none;
}

.checkout-popup-unite-pedagogique .form-row label,
form.checkout.woocommerce-checkout .checkout-unite-pedagogique label,
form.checkout.woocommerce-checkout .form-row label {
	text-transform: none;
	font-size: 16px;
	font-weight: bold;
	color: #2f3c49;
}

.form-row.form-row-wide {
    display: inline-block;
    width: 100%;
}

form.checkout.woocommerce-checkout .form-row label abbr,
.checkout-popup-unite-pedagogique .selection-box::before,
form.checkout.woocommerce-checkout .form-row .selection-box::before {
	display: none;
}

.checkout-popup-unite-pedagogique .form-row .selection-box,
form.checkout.woocommerce-checkout .form-row .selection-box {
	border: 1px solid #cad4de;
	border-radius: 0;
	font-size: inherit;
}
.checkout-popup-unite-pedagogique .form-row .selection-box:after,
form.checkout.woocommerce-checkout .form-row .selection-box:after {
	border: none;
	width: 25px;
	height: 25px;
	top: 50%;
	transform: translateY(-50%);
	right: 10px;
	background: url(img/sort.png) center center;
	background-repeat: no-repeat;
	background-size: contain;
}

.checkout-popup-unite-pedagogique .form-row .selection-box select,
form.checkout.woocommerce-checkout .form-row .selection-box select {
	min-height: 40px;
	padding-top: 10px;
	padding-bottom: 10px;
	outline: none;
}

/*
form.checkout.woocommerce-checkout .form-row .select2-selection.select2-selection--single .select2-selection__rendered {
	line-height: 1px;
	overflow: visible;
}

form.checkout.woocommerce-checkout .form-row .select2-selection.select2-selection--single .select2-selection__arrow {
	top: 20%;
}*/

form.checkout.woocommerce-checkout .etablissement_adhesion_pour .woocommerce-input-wrapper div.radio{
	float: left;
	clear: both;
}

form.checkout.woocommerce-checkout .etablissement_adhesion_pour .woocommerce-input-wrapper label.radio{
	float: left;
	margin: 0;
	line-height: 1.5;
	color: #2f3c49;
}

form.checkout.woocommerce-checkout .etablissement_cotisation_paiement {
	text-transform: none;
	font-size: 22px;
	font-weight: bold;
	color: #2f3c49;
	text-align: center;
}

form.checkout.woocommerce-checkout .etablissement_heading {
	text-transform: none;
	font-size: 18px;
	font-weight: bold;
	color: #2f3c49;
}

form.checkout.woocommerce-checkout .etablissement_numero_adhesion,
form.checkout.woocommerce-checkout .etablissement_anne_adhesion {
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	line-height: 16px;
}

form.checkout.woocommerce-checkout .form-row .hasDatepicker {
	padding-top: 10px;
	padding-bottom: 10px;
}

form.checkout.woocommerce-checkout .form-row .woocommerce-input-wrapper label {
	margin-right: 10px;
}

form.checkout.woocommerce-checkout .type_responsable_locaux_back_office{
	display: none;
}

form.checkout.woocommerce-checkout .form-row .woocommerce-input-wrapper label.radio {
	font-weight: 300;
}

form.checkout.woocommerce-checkout .form-row span:not(.optional) {
	position:relative;
	display: block;
	border-radius: 0;
	border-color: #cad4de;
}

div.radio span.checked {
    width: 70%;
    height: 70%;
    top: 50%;
    left: 50%;
	margin: 0;
    transform: translate(-50%,-50%);
}

form.checkout.woocommerce-checkout .form-row label em {
	font-style: inherit;
}

form.checkout.woocommerce-checkout .form-row span.optional {
	font-size: 0;
}
.checkout-popup-unite-pedagogique .form-row.required-field span.optional:after,
form.checkout.woocommerce-checkout .form-row.required-field span.optional:after {
	content: '*';
	color: #bd0505;
	font-size: 12px;
}

.checkout-popup-unite-pedagogique .form-row.required-field span.optional:after {
	margin-left: 7px;
}

form.checkout.woocommerce-checkout .form-row label.checkbox span {
	display: inline-block;
}

form.checkout.woocommerce-checkout .form-row .select2-container--default .select2-selection--multiple .select2-selection__rendered {
	vertical-align: top;
	margin-top: 3px;
}

form.checkout.woocommerce-checkout .form-row .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
	border-radius: 0;
	border: none;
	background-color: #fbba00;
	line-height: 20px;
	color: #FFFFFF;
}

form.checkout.woocommerce-checkout .form-row .select2-container--default .select2-selection--multiple .select2-selection__rendered li.select2-search--inline {
	background-color: transparent;
}

form.checkout.woocommerce-checkout .form-row .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	display: inline-block;
	color: #FFFFFF;
	margin-right: 7px;
	line-height: 20px;
}

form.checkout.woocommerce-checkout .actions {
	display: none;
	padding: 50px 0 0;
	text-align: center;
	justify-content: center;
	margin-bottom: 25px;
	clear: both;
}

.checkout-cotisation-page .btn-checkout,
form.checkout.woocommerce-checkout .actions ul li:nth-child(2) a {
	background-color: #fbba00;
	color: #FFFFFF;
	padding: 7px 20px;
	font-family: 'Mitr';
	text-transform: none;
	border-radius: 4px;
	margin: 0 auto;
	transition: all .2s linear;
}

.checkout-cotisation-page .btn-checkout:hover,
form.checkout.woocommerce-checkout .actions ul li:nth-child(2) a:hover {
	background-color: #e2a700;
}

form.checkout.woocommerce-checkout .actions ul li:first-child a {
	color: #2f3c49;
    margin: 15px auto 0;
    font-size: 14px;
}

form.checkout.woocommerce-checkout .actions ul li:first-child a:hover {
	text-decoration: underline;
}

form.checkout.woocommerce-checkout .form-row.error label.error{
	font-size: .8em;
	font-weight: 300;
	color: #bd0505;
	display: block;
	bottom: -24px;
	position: absolute;
}

.woocommerce form .form-row {
    position: relative;
}

.woocommerce form .form-row .error{
	bottom: -16px;
}

.disabled {
   pointer-events: none;
   cursor: not-allowed;
   opacity: .5;
}

.has-subscription-product .woocommerce table.shop_table tbody tr td.product-total {
	text-align: right;
}

.woocommerce .checkout-cotisation-page input[type="text"],
.woocommerce .checkout-cotisation-page input[type="password"],
.woocommerce .checkout-cotisation-page input[type="email"],
.woocommerce .checkout-cotisation-page input[type="url"],
.woocommerce .checkout-cotisation-page input[type="tel"],
.woocommerce .checkout-cotisation-page input[type="number"],
.woocommerce .checkout-cotisation-page input[type="range"],
.woocommerce .checkout-cotisation-page input[type="date"],
.woocommerce .checkout-cotisation-page textarea,
.woocommerce .checkout-cotisation-page input.text,
.woocommerce .checkout-cotisation-page input[type="search"],
.woocommerce .checkout-cotisation-page select{
	font-size: 16px;
	color: #2f3c49;
	border-color:#cad4de;
}

.woocommerce form.checkout.woocommerce-checkout .form-row.error div.radio,
.woocommerce form.checkout.woocommerce-checkout .form-row.error .selection-box,
.woocommerce form.checkout.woocommerce-checkout .form-row.error input {
	border-color: #bd0505;
}

.woocommerce form.checkout.woocommerce-checkout .form-row.error input[type="email"] {
	background-image: url(img/cancel-button.png);
	background-position: right 10px center;
	background-repeat: no-repeat;
	background-size: 20px;
}

.woocommerce form.checkout.woocommerce-checkout .form-row.valid input[type="email"] {
	background-image: url(img/bold-check-button.png);
	background-position: right 10px center;
	background-repeat: no-repeat;
	background-size: 20px;
}

#billing_nom_etablissement_adherent_field,
#billing_adresse_etablisement_field{
	clear:left;
}

.totalBlock{
	padding:4% 0;
	max-width:590px;
	margin:0 auto !important;
}

.totalBlock .cellTitle{
	border:none !important;
	background:none !important;
	text-align:left !important;
	padding:0 !important;
}

.totalBlock .titleTotal{
	font-family: Mitr;
	font-size: 36px;
	padding:0 0 30px;
	font-weight: normal;
	text-align: left;
	color: #2f3c49;
	border-bottom:1px solid #cad4de;
	text-transform:none;
}

.totalBlock td{
	border:none !important;
	font-size: 20px !important;
	font-weight: bold !important;
	color: #2f3c49 !important;
	background: none !important;
	padding:18px 0  !important;
}

.totalBlock tbody .cart_item td{
	border-bottom:1px solid #eff2f5 !important;
}

.totalBlock tbody .cart_item .product-name{
	text-align:left !important;
	width:50% !important;
}
.totalBlock tbody .cart_item .product-total{
	width:50% !important;
}

.totalBlock tbody .cart_item:last-child td{
	border-bottom:none !important;
}

.totalBlock tfoot .order-total th{
	width:50% !important;
	border:none !important;
	border-top:1px solid #cad4de !important;
	font-size: 24px !important;
	font-weight: bold !important;
	color: #2f3c49 !important;
	background: none !important;
	padding:18px 0 !important;
	text-align: left !important;
	color: #fbba00 !important;
}

.totalBlock tfoot .order-total td{
	width:50% !important;
	text-align:right !important;
	border:none !important;
	border-top:1px solid #cad4de !important;
	color:#fbba00 !important;
}

#steps-uid-0-h-2{display:none !important;}

.woocommerce-checkout #payment div.form-row.place-order {
    padding:40px 0 20px;
    text-align: center;
    background: #fff;
}

#place_order{
    background-color: #fbba00;
    color: #FFFFFF;
	font-size:15px;
	font-weight:normal;
    padding: 7px 20px;
    font-family: 'Mitr';
	margin:0 auto;
    text-transform: none;
    border-radius: 4px;
    margin: 0 auto;
	float:none;
    transition: all .2s linear;
}

.woocommerce-checkout #payment {
    border-radius: 0;
}

form.checkout.woocommerce-checkout .checkout-unite-pedagogique {
	display: inline-block;
	width: 100%;
	margin-top: 15px;
	overflow: auto;
}

form.checkout.woocommerce-checkout .checkout-unite-pedagogique table {
	margin-top: 15px;
	border: 0.11em solid #cad4de;
	border-collapse: separate;
	border-radius: 5px;
}

form.checkout.woocommerce-checkout .checkout-unite-pedagogique .error{
	display: none;
	font-size: 12px;
	line-height: 14px;
    padding-top: 4px;
	color: #bd0505;
}

form.checkout.woocommerce-checkout .checkout-unite-pedagogique table th,
form.checkout.woocommerce-checkout .checkout-unite-pedagogique table tr,
form.checkout.woocommerce-checkout .checkout-unite-pedagogique table td {
	border: 0.11em solid #cad4de;
	padding: 15px;
	text-align: left;
}

form.checkout.woocommerce-checkout .checkout-unite-pedagogique table th {
	background-color: #eff2f5;
	color: #0081c7;
	font-weight: 400;
	text-transform: none;
}

form.checkout.woocommerce-checkout .checkout-unite-pedagogique table td {
	background-color: #FFFFFF;
}

form.checkout.woocommerce-checkout .checkout-unite-pedagogique table td.td-action {
	text-align: center;
}

form.checkout.woocommerce-checkout .checkout-unite-pedagogique table td .edit-unite,
form.checkout.woocommerce-checkout .checkout-unite-pedagogique table td .remove-unite {
	display: inline-block;
	width: 24px;
	height: 24px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	margin: 0 5px;
}

form.checkout.woocommerce-checkout .checkout-unite-pedagogique table td .edit-unite {
	background-image: url(img/pencil.png);
}
form.checkout.woocommerce-checkout .checkout-unite-pedagogique table td .remove-unite {
	background-image: url(img/cancel-button.png);
}

form.checkout.woocommerce-checkout .checkout-unite-pedagogique table tfoot td {
	text-align: center;
}

form.checkout.woocommerce-checkout .associe-wrapper,
form.checkout.woocommerce-checkout .adherent-wrapper,
form.checkout.woocommerce-checkout .etablissement,
form.checkout.woocommerce-checkout .lycee,
form.checkout.woocommerce-checkout .section,
form.checkout.woocommerce-checkout .laquelle,
form.checkout.woocommerce-checkout .type_responsable_locaux,
form.checkout.woocommerce-checkout .precedant_etablissement,
form.checkout.woocommerce-checkout .ville,
form.checkout.woocommerce-checkout .etablissement_2e_nom,
form.checkout.woocommerce-checkout .nombre_eleve_2,
.woocommerce .checkout-cotisation-page .checkout-popup-unite-pedagogique .nombre_internes {
	display: none;
}

/** Popup checkout */
body.checkout-popup:before {
	content: "";
	position: absolute;
	display: inline-block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, .5);
	z-index: 99998;
}

.checkout-cotisation-page {
	position: relative;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique {
	position: absolute;
	display: none;
	width: 50%;
	height: auto;
	border: 1px solid #cad4de;
	background-color: #FFFFFF;
	border-radius: 5px;
	margin: 0 auto;
	padding: 70px;
	text-align: center;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 99999;
}

#billing_nombre_eleve_adherent_field {
	width: 48% !important;
}

#billing_etablissement_type_adherent_field {
	display: none;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .close-popup {
	position: absolute;
	top: 10px;
	right: 15px;
	cursor: pointer;
}
.checkout-cotisation-page .checkout-popup-unite-pedagogique .close-popup:before {
	content: "\00d7";
	width: 100%;
	height: 100%;
	display: inline-block;
	color: #cad4de;
	font-size: 40px;
	font-weight: 100;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-popup {
	margin-bottom: 60px;
	text-align: left;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row{
	margin-top: 15px;
	display: inline-block;
	vertical-align: top;
	position: relative;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row.structure{
	width: 60%;
	float: left;
}
.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row.nombre{
	width: 36%;
	float: right;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row.rne{
	width: 48%;
	float: left;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row.effectifs{
	width: 48%;
	float: left;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row.internat,
.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row.formations_specifiques {
	width: 100%;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row > label{
	display: block;
	font-weight: 400;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row.error > label.error{
	position: absolute;
	bottom: auto;
	left: 5px;
	font-size: 12px;
	line-height: 14px;
    padding-top: 4px;
	color: #bd0505;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row input{
	padding: 10px 12px;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row.error input{
	border-color: #bd0505;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row input[type="number"]{
	padding-top:11px;
	padding-bottom:11px;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row span:not(.optional){
	display: block;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row span.autre{
	display: none;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row span > span.popup-radio{
	display: inline-block;
	margin-right: 15px;
}

.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row span > span.popup-radio label{
	margin-right: -5px;
	font-weight: 400;
}

.calcule-btn-wrapper {
	margin: 30px auto;
	text-align: center;
	display: inline-block;
	width: 100%;
}

@media only screen and (max-width: 768px) {
	.checkout-cotisation-page .checkout-popup-unite-pedagogique {
		width: 80%;
		padding: 30px;
	}

	.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row.structure,
	.checkout-cotisation-page .checkout-popup-unite-pedagogique .form-row.effectifs {
		width: 100%;
	}

	.checkout-cotisation-page .btn-checkout, form.checkout.woocommerce-checkout .actions ul li:nth-child(2) a{
		display: inline-block;
		padding: 5px 10px;
	}
}
