/* ======================================================================*/
/* Template Référer Patient */
/* ======================================================================*/

.wp_plogg_patient_referral_magicfield{
	position: absolute;
	left: -9999px;
}

#wp-plogg-patient-referral-div .half-col-wrapper .half-left:first-child{
	float: left;
	padding-right: 2em;
}


#wp-plogg-patient-referral-div input[type="text"],
#wp-plogg-patient-referral-div input[type="email"],
#wp-plogg-patient-referral-div input[type="tel"],
#wp-plogg-patient-referral-div input[type="password"],
#wp-plogg-patient-referral-div input[type="number"],
#wp-plogg-patient-referral-div textarea{
	margin-top: 1em;
	margin-bottom: 1em;
}

#wp-plogg-patient-referral-div .bottom-wrapper{
	text-align: center;
}

#wp-plogg-patient-referral-div.loading{
	opacity: .5;
	-moz-opacity: .5;
	-webkit-opacity: .5;
}

#wp-plogg-patient-referral-div.loading::before {
  content: '';
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid #ddd;
  border-right: 1.1em solid #ddd;
  border-bottom: 1.1em solid #ddd;
  border-left: 1.1em solid #00b9ac;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  position: absolute;
  z-index: 9;
  left: 50%;
  top: 50%;
  margin-left: -26px;
  margin-top: -25px;
}

@-webkit-keyframes load8 {

  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }

}

@keyframes load8 {

  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.ui-datepicker-header,
.ui-datepicker-prev,
.ui-datepicker-next{
	font-size: 1em!important;
	font-weight: bold!important;
	top:2px!important;
}

.ui-datepicker .ui-datepicker-prev {
    left: 2px!important;
}

.ui-datepicker .ui-datepicker-next {
    right: 2px!important;
}

#wp-plogg-patient-referral-div .dropzone{
    border: 1px solid #ccc;
}

div#g-recaptcha > div {
    margin: 0 auto;
}

/*
 *New addidional style
 */

#wp-plogg-patient-referral-div .col-left-60 {
  float: left;
  width: 55%;
}

#wp-plogg-patient-referral-div .col-right-40 {
  float: right;
  width: 39%;
}

#wp-plogg-patient-referral-div .form-bottom-wrapper {
  clear: both;
}

#wp-plogg-patient-referral-div .half-col-wrapper .half-left {
  float: none;
}

#wp-plogg-patient-referral-div .col-left-60 h2 {
 text-align: left;
 margin-bottom: 2rem !important;
}

#wp-plogg-patient-referral-div .col-right-40 h2 {
  text-align: left;
  margin-bottom: 2rem !important;
}

#wp-plogg-patient-referral-div .col-left-60 h2:nth-of-type(2) {
  text-align: left;
  margin-top: 3rem !important;
}

#wp-plogg-patient-referral-div form h3 {
  font-size: 18px !important;
  text-decoration: none;
}

#wp-plogg-patient-referral-div .checkbox-wrapper {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin-left: 0.75rem;
  margin-bottom: 0.75rem;
  margin-right: 0.75rem;
}

#wp-plogg-patient-referral-div input[type=radio].custom-radio {
  display: none;
}

#wp-plogg-patient-referral-div input[type=radio].custom-radio + label {
  position: relative;
  padding-left: 1rem;
  margin-left: 0.75rem;
}

#wp-plogg-patient-referral-div input[type=radio].custom-radio + label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  display: block;
  width: 1rem;
  height: 1rem;
  transition-property: opacity;
  transition-duration: 0.2s;
  border-radius: 50%;
  border: 2px solid #000;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

#wp-plogg-patient-referral-div input[type=radio].custom-radio + label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%) scale(0); 
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #000;
  transition-property: transform;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

#wp-plogg-patient-referral-div input[type=radio]:checked.custom-radio + label::after {
  transform: translate(-50%, -50%) scale(1);
}

#wp-plogg-patient-referral-div form .col-right-40 h3:nth-of-type(1) {
  margin-top: 0;
  margin-bottom: 1rem;
}

#wp-plogg-patient-referral-div form .col-right-40 h3:nth-of-type(2) {
  margin-top: 1.5rem;
}

.notification-patient-referral {
	position: fixed;
	top: 0%;
	height: 100%;
	padding: 2em 0 2em 0;
	font-size: 2em;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 1);
	z-index: 99999999;
	text-align: center;
	display: block;
	animation: fadeout 4s;
	-moz-animation: fadeout 4s;
	-webkit-animation: fadeout 4s;
	-o-animation: fadeout 4s;
	animation-delay: 4s;
	-moz-animation-delay: 4s;
	-webkit-animation-delay: 4s;
	-o-animation-delay: 4s;
	animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;
	-moz-animation-fill-mode: forwards;
}

.notification-patient-referral .alert-box {
	position: absolute;
	top: 50%;
	margin-top: -3em;
	width: 100%;
	text-align: center;
	left: 0;
}
/* Style Added By Abidi */
#wp-plogg-patient-referral-div .date_naissance {
    display: flex;
}

#wp-plogg-patient-referral-div .half-col-wrapper {
	overflow: hidden;
}

#wp-plogg-patient-referral-div input#datenaissance_day,
#wp-plogg-patient-referral-div input#datenaissance_month {
    margin-right: 1em;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.col-left {
    width: 49%;
    float: left;
}

.col-right {
    width: 49%;
    float: right;
}

#wp-plogg-patient-referral-div input[type=radio].custom-radio + label {
    position: relative;
    padding-left: 1rem;
    margin-left: 0.75rem;
}

    .dent-check {
        margin-bottom: 0.8em;
    }

.checkbox-wrapper {
    display: inline-block;
    margin-bottom: 1em;
    margin-right: 5px;
    box-sizing: border-box;
}

.dent-check input[type="checkbox"].custom-checkbox + label {
    border: 3px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    display: inline-block;
    margin: 0.2em;
    cursor: pointer;
}

.dent-check input[type="checkbox"].custom-checkbox:checked + label {
    background: #202c50;
    color: white;
}

.dent-check .checkbox-wrapper input[type="checkbox"].custom-checkbox + label:before,
.dent-check .checkbox-wrapper input[type="checkbox"].custom-checkbox + label:after {
    display: none;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

#radio-container {
    margin-top: 3rem;
}

.notification-patient-referral {
	position: fixed;
	top: 0%;
	height: 100%;
	padding: 2em 0 2em 0;
	font-size: 2em;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 1);
	z-index: 99999999;
	text-align: center;
	display: block;
	animation: fadeout 4s;
	-moz-animation: fadeout 4s;
	-webkit-animation: fadeout 4s;
	-o-animation: fadeout 4s;
	animation-delay: 4s;
	-moz-animation-delay: 4s;
	-webkit-animation-delay: 4s;
	-o-animation-delay: 4s;
	animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;
	-moz-animation-fill-mode: forwards;
}

.notification-patient-referral .alert-box {
	position: absolute;
	top: 50%;
	margin-top: -3em;
	width: 100%;
	text-align: center;
	left: 0;
}

/* mobiles */

@media screen and (max-width:1280px) {
    #wp-plogg-patient-referral-div .col-left-60,
    #wp-plogg-patient-referral-div .col-right-40 {
    width: 100%;
    margin-top: 1rem;
    }
    #wp-plogg-patient-referral-div .col-right-40 {
    margin-top: 1.5rem;
    }
    
    #wp-plogg-patient-referral-div .checkbox-wrapper {
        margin-left: 0em;
    }

    .text-md-left {
    text-align: left;
    }

    .col-left, .col-right {
        width: 100%;
    }

    .text-md-left {
        text-align: left;
    }
}