* {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 300;
}

html,
body {
  height: 100%;
}

a {
	color: #000;
}

a:hover {
	text-decoration: none;
	color: #30b2fa;
}

body {
	background-color: #F5F5F5;
}

input[type="date"] s{
    display:block;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}

.form-control {
    line-height: 2;
}


/* LOGIN */

.header-conts {
  position: relative;
  padding: 0;
}

.row-header {
    padding: 0;
    margin: 0;
}

.login-container {
    display: table;
    height: 100%;
}

.login-row {
    display: table-cell;
    vertical-align: middle;
}

.error-box {
    text-align: center;
    background-color: #E57373;
    color: #fff;
    font-size: 16px;
    padding: 10px;
    margin-bottom: 30px;
}

.login-box {
	width: 500px;
    overflow: hidden;
    padding: 30px 50px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.5);
}

.input-login {
	height: 32px;
}

.btn-login {
	margin-top: 5px;
}

.logout-cont {
    padding: 10px;
    background-color: black;
    text-align: right;
}

.logout-cont > * {
    color: #fff;
    display: inline-block;
    vertical-align: middle !important;
}

.logout-cont > p {
    margin: 0 10px;
    padding-right: 15px;
    border-right: 1px solid #fff;
}  

/* HEADER */

.header {
	padding: 0;
}

.header-nav {
    display: table;
    padding-top: 30px;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
}

.header-nav a {
    padding-bottom: 8px;
    border-bottom: 2px solid;
}

.header-nav * {
    float: left;
}

.header-nav a:last-child {
    margin-right: 0;
}

.a-icon {
    border-bottom: 0 !important;
    display: none;
    top: 20px;
}

.active-a {
    color: #337ab7;
}

.header-nav span {
    width: 50px;
    border-bottom: 2px solid;
    padding-bottom: 8px;
}


/* ENTRY LIST */

.entry-list > div {
	display: inline-block;
}

.entry-list > div > * {
	display: block;
}

.entry-list button {
	float: right;
	position: absolute;
    right: 0;
    top: 20px;
}

.details-container {
	overflow: hidden;
	margin-bottom: 10px;
}

.details-container > div {
    float: left;
    padding: 8px;
    background-color: #c7c7c7;
}

.details-container > div:first-child {
    background-color: #ffffcc;
    border-left: 6px solid #ffeb3b;
}

.details-container > div:last-child {
	float: right;
    background-color: transparent;
}

.details-container label {
	margin-bottom: 0;
}

.details-container p {
	display: inline-block;
	margin-right: 30px;
	margin-bottom: 0;
}

.details-container a {
	padding: 8px;
}

/* BON DE COMMANDE */

@media(max-width: 1612px) {
    .a-btn {
        margin-top: 15px;
        float: none !important;
    }
  
}


.frmDetails,
.frmBon {
    overflow: hidden;
}

.bon-comande {
    padding: 25px 20px;
}

.hide-it {
	opacity: 0 !important;
	display: none;
	transition: 2s ease;
}

.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: 2s ease;
  visibility: hidden;
  opacity: 0;
  z-index: 10;

}
.overlay:target {
  visibility: visible;
  opacity: 1;
  transition: 2s ease;
}

.popup {
	margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    top: 20%;
    transition: all 2s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  background-color: transparent;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  	max-height: 30%;
  	overflow: auto;
    margin-top: 30px;
}

.popup .content button {
	margin-top: 20px;
}

.container-ajax {
    background-color: #fff;
    padding: 25px;
    border-radius: 6px;
    margin-top: 1.5%;
    box-shadow: 0 1px 15px 1px rgba(90,90,90,.2);
}

.for-pdf {
    display: flex;
    margin: auto !important;
}

#list_btn {
    float: right;
    margin-top: 10px;
    position: relative;
}

.taux
 {
	width: 62px !important;
}

._quantite,
._prix_ht,
.montant-tva,
.prix-ttc {
	width: 100px !important;
}

.bon-comande > div > * {
	display: inline-block;
    vertical-align: middle;
}

.a-btn a {
    float: right;
    margin-top: 20px;
    margin-left: 15px;
    padding: 8px 12px;
    border-radius: 4px;
}

.select-all {
    position: relative;
    top: 2px;
    left: 10px;
}



.page-view {
	position: relative;
    padding-top: 32px;
}

.page-view nav {
	margin-bottom: 15px;
    font-size: 18px;
}

.page-view nav > a {
	margin-right: 30px;
}

._details,
.bon-comande {
    padding-bottom: 15px;
    border-bottom: 1px solid #80808042;
}

.cont-add {
    position: relative;
    background-color: #fff;
    padding: 25px;
    box-shadow: 0 1px 15px 1px rgba(90,90,90,.2);
    border-left: 6px solid #337ab7;
    overflow: hidden;
}

.cont-add > div {
	display: inline-block;
    vertical-align: top;
}

._details > div:not(:nth-child(1)):not(:nth-child(2)) {
    display: inline-block;
    vertical-align: top;
    margin-right: 12px;
    margin-top: 12px;
}

.cont-add input {
	width: 150px;
}

.cont-users input {
	width: 200px;
}

.cont-add .agence_input {
	width: 135px;
}

.cont-add button {
	float: right;
    margin-top: 2%;
}

.margin-top {
    margin-top: 30px;
    border-top: 20px solid #337ab7;
    border-radius: 6px;
}

.margin-top table {
    box-shadow: 0 1px 15px 1px rgba(90,90,90,.2);
}

.margin-top table thead {
    display: none;
}

.margin-top table tr:nth-child(even){background-color: #f2f2f2;}

.margin-top table tr:hover {background-color: #ddd;}

.margin-top table td {
    border: 1px solid #ddd;
    padding: 12px !important;
    min-width: 65px;
}

.remove-margin-top {
    border-top: none;
    border-radius: 0;
}

#btn-delete {
    color: #f44336;
}

#btn-edit {
    color: #FF6F00;
}

.icon-qonvex {
	width: 16px;
}

.retour {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    border-radius: 4px;
}

.retour:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.option-add {
    margin-bottom: 30px;
}

.option-add a {
    padding: 5px 8px;
}

.db-select {
	width: 200px;
}

._details input,
._details select {
    font-size: 10px;
}

._pages {
    width: 55px !important;
}

._reference_photo {
    width: 150px !important;
}


._accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.active, ._accordion:hover {
    background-color: #ccc !important; 
}

._panel {
    display: none;
    overflow: hidden;
    width: 95%;
    margin: auto;
    padding: 1% 0;
}

._panel table th {
    font-weight: 500;
}

._panel table th,
._panel table td {
    font-size: 11px;
}


/*.lbl-cont label,
._accordion span,*/
._panel span {
	margin-right: 50px;
}

.row-lbl {
    display: none;
    margin: 0;
    padding: 15px;
    color: white;
    border-radius: 6px 6px 0 0;
    background-color: #337ab7;
}

.row-lbl label {
    margin-bottom: 0;
}

.outer-div:nth-child(odd) ._accordion {
    background-color: #fff;
}

.tblAjax {
    margin: 0;
}

.tblAjax thead {
    background-color: #80808030;
}

.tblAjax th,
.tblAjax td {
    border: 1px solid #ddd;
}

.with-height {
    display: none;
}

.paginate {
    display: none;
}


.paginate-page {
    display: block;
    background: #fff;
    padding: 20px 20px;
    text-align: center;
    margin-top: 20px;
}

div.paginate-page > a {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-weight: 500;
    padding: 10px 10px;
    margin: 2px 2px;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    color: #393a3b;
    border: 1px solid #D5D5D5;
}

div.paginate-page > a:hover{
    background:#EBEBEB;
}

div.paginate-page > a.current{
    background:#337ab7;
    color: #fff;
}


@media(max-width: 991px) {
    .cont-add > div {
        margin-top: 1.5%;
    }
}

@media(max-width: 767px) {
    .with-height {
        display: block
    }

    .cont-add button {
        margin-top: 0;
    }

}

.responsive {
    position: relative;
    background-color: #fff;
    box-shadow: 0 2px 20px 0px grey;
    z-index: 99;
}

.responsive .a-icon {
    position: absolute;
}

.responsive a:not(:last-child) {
    float: none !important;
    display: block !important;
    text-align: left;
    padding: 12px;
    transition: 1s ease;
    border-bottom: 1px solid #8080804f !important;
}

@media(max-width: 680px) {
    .header-nav {
        width: 100%;
        margin: 0;
    }

    .header-nav a,
    .header-nav span {
        display: none;
    }

    .header-nav .a-icon {
        font-size: 20px;
        display: block !important;
        position: absolute;
        right: 15px;
        z-index: 99;
    }
}

@media(max-width: 520px) {

}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/** Bootstrap hacks **/

.popover {
    max-width: 50vw;
}

#admin div.container-fluid.content {
  margin-bottom: 75vh;
}

.upload-field {
    height: auto;
    font-weight: normal;
}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
    -webkit-animation: spinw .7s infinite linear;
    -moz-animation: spinm .7s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}
  
@-webkit-keyframes spinw {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@-moz-keyframes spinm {
    from { -moz-transform: rotate(0deg);}
    to { -moz-transform: rotate(360deg);}
}

