.form {
    /* pour l'espace entre les colonnes */
    -webkit-column-gap: 0px!important;
    -moz-column-gap: 0px!important;
    column-gap: 0px!important;
}
/* hack pour retirer l'espacement entre les boites pour les display inline */
.form > article > div {
    font-size: 0;
    letter-spacing: 0;
    word-spacing: 0;
}
.form > article > header {
    color: #b3d4fc;
    font-size: 1.125rem;
    text-transform: uppercase;
    padding-bottom: 5px;
}
.form > article > footer {
    border-bottom: 3px solid #b3d4fc;
    padding-bottom: 19px;
    min-height: 3px;
}
.form > article:last-child > footer {
    border-bottom: none;
}

.form > article {
    display: inline-block;
    width: 100%;
    padding-top: 16px;
    font-size: .875rem;
}

.form > article > header,
.form > article > footer,
.form > article label,
.form > article input,
.form > article textarea,
.form > article .select-container,
.form .submit,
.form > article > p
{
    display: block;
    margin: 0 15px;
}

.form > article label {
    font-size: .875rem;
    color: #6a6a6b;
    text-transform: uppercase;
    margin-bottom: 2px;
	text-align: left;
}

.form .int-field.cols-1 {
	width: 50%;
}
.form .int-field.cols-2 {
	width: 100%;
}
.form > article > div > div {
    display: inline-block;
	vertical-align:top;
}
.form .input-container {
    display: inline-block;
    width: 100%;
    vertical-align:top;
}
.form > article > div > div:nth-child(n+3) .input-container,
.form > article .disabled > div:nth-child(n+3), .form > article > div > div:nth-child(n+2) .form-entry
{ /* on commence les marges à partir du 3eme */
    margin-top: 16px;
}

.form  textarea,
.form  input[type=color],
.form  input[type=date],
.form  input[type=datetime],
.form  input[type=datetime-local],
.form  input[type=email],
.form  input[type=month],
.form  input[type=number],
.form  input[type=range],
.form  input[type=search],
.form  input[type=tel],
.form  input[type=text],
.form  input[type=password],
.form  input[type=time],
.form  input[type=url],
.form  input[type=week],
.form  select, .form  .select-container
{
    background-color : #fff;
    border 			: 1px solid #b3d4fc;
    border-radius   : 3px;
    height 			: 33px;
    line-height 	: 19px;
    padding 		: 0 2%;
    width			: calc(100% - 15px - 15px); /* on retirer les marges gauche et droite) */
    vertical-align  : top;
    color           : #6A6A6B;
    box-sizing      : border-box; /* on inclu les bordures dans la largeur */
	text-transform	: uppercase;
}
::-webkit-input-placeholder { /* WebKit browsers */
    text-transform	: none;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   text-transform	: none;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   text-transform	: none;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
   text-transform	: none;
}
.form  input[type=file] {
    display: inline-block;
    height: 28px;
    line-height:28px;
}
.form .radio-container { display: block; }
.form input[type=radio], .form input[type=radio] + label {
    display: inline-block;
    vertical-align: top;
}
.form .int-field.cols-2 .radio-global-container {
	/* pour le nombre de colonnes */
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
	display: block;
	width: 100%;
}
.form  input[type=checkbox], .form input[type=radio] {
    margin-right 	: 0;
    margin-top: 2px
}
.form  input[type=checkbox] + label, .form input[type=radio] + label {
    width: calc(100% - 65px);
    font-family: arial, sans-serif;
    text-transform: none;
    margin-bottom: 1em;
}
.form  input[type=checkbox], .form  input[type=checkbox] + label {
    display: inline-block;
    vertical-align: top;
    text-align: left;
}
/* disable native datepicker in chrome */
input::-webkit-calendar-picker-indicator{
    display: none;
}
input[type="date"]::-webkit-input-placeholder{ 
    visibility: hidden !important;
}
.form .submit, .form .button{
    background-color: #b3d4fc;
    border 			: none;
    color 			: #fff;
    cursor 			: pointer;
    font-size 		: .875em;
    height 			: 35px;
    line-height 	: 35px;
    width 			: 132px;
    border-radius: 5px;
    text-transform: uppercase;
    margin-top: 30px;
}

.form .submit:hover, .form .button:hover {
    background-color: #6a6a6b;
    transition : .3s;
}

.form textarea {
    width: calc(100% - 30px);
    height: 140px;
}
.form article > div > div:last-child:not(:nth-child(even)) textarea {
    width: calc(200% - 30px); /* on prend 2 colonnes en largeur - les marges gauche et droite) */
}

 /* design pour la partie checkbox */
/* Base for label styling */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
}

/* checkbox aspect */
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    left:0; top: 2px;
    width: 13px; height: 13px;
    border: 1px solid #b3d4fc;
    border-radius: 3px;
}
/* checked mark aspect */
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after {
    content: '✔';
    position: absolute;
    top: 1px; left: 3px;
    font-size: 12px;
    color: #b3d4fc;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
}
/* checked mark aspect changes */
[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}
[type="checkbox"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
/* disabled checkbox */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
    box-shadow: none;
    border-color: #bbb;
    background-color: #ddd;
}
[type="checkbox"]:disabled:checked + label:after {
    color: #999;
}
[type="checkbox"]:disabled + label {
    color: #aaa;
}


/* drop down list */
.form .select-container {
    overflow:hidden;
    background: url(../img/picto-drop-down-list.png) no-repeat scroll 95% center transparent;

}
.form select {
    background: none repeat scroll 0% 0% transparent;
    border: 0px none;
    display: inline-block;
    height: 33px;
    line-height: normal;
    width: 115%;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: "";
    padding: 0;
}

/* section pour le bouton + */
.form .disabled > div {
    width: 50%;
    display:inline-block;
}
.form .disabled label, .form .disabled input {
    color: #d2d2d2;
}
.form .disabled input {
    border-color: #d7d7d7;
}
.form-entry {
    width: 100%!important;
}
.form-entry .plus button {
    border: medium none;
    border-radius: 15px;
    width: 30px;
    height: 30px;
    line-height: 1em;
    padding: 0;
    margin-top: 0;
    font-size: 1.7rem;
    font-family: arial, sans-serif;
    font-weight: bold;
}
.form-entry .plus label, .form-entry .plus button {
    display:inline-block;
    vertical-align: middle;
    margin-bottom: 0;
}

.form.submitted input.ng-dirty:invalid, 
.form.submitted input.ng-invalid,
.form.submitted textarea.ng-invalid {
    border-color: #e95853;
    box-shadow: 0px 0px 6px #F8B9B7;
}

/* modal box */
.modal-open {
    overflow: hidden;
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: auto;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}
.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -moz-transition:    -moz-transform .3s ease-out;
    -o-transition:      -o-transform .3s ease-out;
    transition:         transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    transform: translate(0, -25%);
}
.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}
.modal-content {
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: none;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #b3d4fc;
}
.modal-backdrop.fade {
    filter: alpha(opacity=0);
    opacity: 0;
}
.modal-backdrop.in {
    filter: alpha(opacity=75);
    opacity: .75;
}
.modal-header {
    min-height: 16.42857143px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
.modal-header .close {
    margin-top: -2px;
}
.modal-title {
    margin: 0;
    line-height: 1.42857143;
}
.modal-body {
    position: relative;
    padding: 20px;
}
.modal-footer {
    padding: 19px 20px 20px;
    margin-top: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}
.modal-footer .form .int-field .btn + .form .int-field .btn {
    margin-bottom: 0;
    margin-left: 5px;
}
.modal-footer .form .int-field .btn-group .form .int-field .btn + .form .int-field .btn {
    margin-left: -1px;
}
.modal-footer .form .int-field .btn-block + .form .int-field .btn-block {
    margin-left: 0;
}
@media (min-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }
    .modal-sm {
        width: 300px;
    }
}
@media (min-width: 992px) {
    .form.form .modal-lg {
        width: 900px;
    }
}

.form .modal-dialog {
    width:900px;
}
.form.image .modal-content {
    padding: 10px;
}
.form.image img {
    width: 100%;
    display: block;
}

/* progress bar */
@-webkit-keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}
@keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}

.form  .progress+img {
    display          : inline-block;
    vertical-align   : middle;
    margin           : 6px 0;
    cursor           : pointer;
}
.form .progress {
    height: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    width: 52%;
    display: inline-block;
    vertical-align: middle;
}
.form .progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #428bca;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    transition: width .6s ease;
}
.form .progress-striped .progress-bar {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}
.form .progress.active .progress-bar {
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
}
.form .progress-bar-success {
    background-color: #5cb85c;
}
.form .progress-striped .progress-bar-success {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}
.form .progress-bar-info {
    background-color: #5bc0de;
}
.form .progress-striped .progress-bar-info {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}
.form .progress-bar-warning {
    background-color: #f0ad4e;
}
.form .progress-striped .progress-bar-warning {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}
.form .progress-bar-danger {
    background-color: #d9534f;
}
.form .progress-striped .progress-bar-danger {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}



/************************************************************/
/*			for responsive design							*/
/************************************************************/
@media all and (max-width: 480px) {
    .form .int-field.cols-1, .form .int-field.cols-2 {
        width: 100%;
    }
	.form .input-container {
		width: 100%;
	}
	
    .form > article > div > div:nth-child(n-3) .input-container { /* on commence les marges à partir du 3eme */
        margin-top: 16px;
    }
    .form textarea {
        width: calc(100% - 30px);
    }
}