@media (min-width: 34em) {
    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 48em) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 62em) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 75em) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

footer {
	text-align: center;
	font-size: 80%;
	margin-top: 0.5ex;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

.row {
	position:relative;
}

/* couleur de la map */
.rncmobile-bg-rouge {
	background-color: #D51116;
}
.rncmobile-bg-vert {
	background-color: #64bf40;
}
.rncmobile-bg-gris {
	background-color: #9a9998;
}
.rncmobile-bg-bleu-fonce {
	background-color: #226EB6;
}
.rncmobile-bg-bleu-clair {
	background-color: #B7E2FA;
}
.rncmobile-bg-violet {
	background-color: #B8549B;
}
.rncmobile-bg-jaune {
	background-color: #F1E31B;
}
/*

/* Map responsive */
.iframe-container{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 ( 100%/16*9 = 56.25% ) */
}
.iframe-container > *{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.class > i {
    opacity: 0.5;
}

.rnc-buttons {
    background-color: #CEFEC4;
    border: 0;
    border-radius: 2px;
    padding: 3px;
    margin: 2px;
    font-size: 11px;
    text-transform: uppercase;
    background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0));
}

.rnc-buttons-nogps {
    background-color: #ffccb3;
    border: 0;
    border-radius: 2px;
    padding: 3px;
    margin: 2px;
    font-size: 11px;
    text-transform: uppercase;
    background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0));
}

.tooltip_cust
{
	position:absolute;
	background-color:#eeeefe;
	border: 1px solid #aaaaca;
	font-size: smaller;
	padding:4px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);	
}

.rnc-buttons a {
    color: #000000;
}

.rnc-buttons a:hover {
    color: #000000;
    text-decoration: none;
}

.rnc-buttons:hover {
    background-color: #C0F9C4;
    border: 0;
    border-radius: 2px;
    padding: 5px;
    margin: 2px;
    text-transform: uppercase;
    background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0));
}

.loading-input {   
	position: absolute;
	right:0px;
	width:32px;
	width:32px;
	height:32px;
    background-color: #ffffff;
    background-image: url("/img/loading.gif");
    background-size: 32px 32px;
    background-position:right center;
    background-repeat: no-repeat;
}

.table-edit-rnc>tbody>tr:nth-child(4n+1),
.table-edit-rnc>tbody>tr:nth-child(4n+2)
{    background-color: #f9f9f9;
}
.table-edit-rnc>tbody>tr:nth-child(4n+1)>td
{
     border-bottom: 0px;
     #padding-bottom: 1px;
}
.table-edit-rnc>tbody>tr:nth-child(4n+2)>td
{
     border-top: 0px;
     #padding-top: 1px;
}

.table-edit-rnc>tbody>tr:nth-child(4n+3),
.table-edit-rnc>tbody>tr:nth-child(4n+4)
{    background-color: #FFFFFF;
}
.table-edit-rnc>tbody>tr:nth-child(4n+3)>td
{
     border-bottom: 0px;
     #padding-bottom: 1px;
}
.table-edit-rnc>tbody>tr:nth-child(4n+4)>td
{
     border-top: 0px;
     #padding-top: 1px;
}

.modal-full {
    min-width: 95%;
    margin: 50px;
}

#content {
	width: 510px;
	height: 270px;
}

#contentMLS {
	width: 400px;
	height: 200px;
}

#contentST {
	text-align: left;
	width: 260px;
	height: 260px;
}

.markerKey {
	display: inline-block;
	width: 80px;
}

#title {
	text-align: center;
	font-weight: bold;
	margin-bottom:3px;
}

.mapMarkerPhotos {
	width: 110px;
	float: left;
	display: inline-block;
}

.mapMarkerText {
	margin-left: 5px;
	width: 294px;
	float: left;
	display: inline-block;
}

.st_green {
	color: #00FF00;
}

.st_orange {
	color: #FFBF00;
}

.st_red {
	color: #FF0000;
}

.tbl_diff {
	border-collapse: collapse;
	border: 1px solid #EEEEEE;
}

.tbl_diff td {
	padding-left: 10px;
	padding-right: 10px;
}

.pivImg, .aImg {
	font-size: 9pt;
}
.aImg:hover { 
  outline: 1px solid grey; 
} 

.myImg {
  width: 80px;
  height: 100px;
  object-fit: none; /* Do not scale the image */
  object-position: center; /* Center the image within the element */
}

#map {
	width: 100%;
	height:82vh;
	display:block;
	background-color: grey;
	z-index: 0;
}

#map2 {
	display:block;
}

.leaflet-tile, .leaflet-marker-icon { border: 0px; }

.marker-cluster {
	background-clip: padding-box;
	border-radius: 20px;
}

.marker-cluster div {
	width: 30px;
	height: 30px;
	margin-left: 5px;
	margin-top: 5px;

	text-align: center;
	border-radius: 15px;
	font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
}
.marker-cluster span {
	line-height: 30px;
}

.marker-cluster-small {
	background-color: rgba(181, 226, 140, 0.6);
}
.marker-cluster-small div {
	background-color: rgba(110, 204, 57, 0.6);
}

.marker-cluster-medium {
	background-color: rgba(241, 211, 87, 0.6);
}
.marker-cluster-medium div {
	background-color: rgba(240, 194, 12, 0.6);
}

.marker-cluster-large {
	background-color: rgba(253, 156, 115, 0.6);
}
.marker-cluster-large div {
	background-color: rgba(241, 128, 23, 0.6);
}

/*.marker-antialias { -webkit-transform: initial !important; }*/

#filtre {
	z-index: 100;
	position: absolute;
	top: 130px;
	left:10px;
	margin-top:0px;
	width: 250px;
	font-family: Verdana;
	border: 1px solid #DDDDDD;
	font-size: 8pt;
}

#mapinfo {
	z-index: 90;
	text-align: center;
	position: absolute;
	background: white;
	top: 20px;
	padding: 5px;
	right: 50px;
	margin-top:0px;
	width: 230px;
	border: 1px solid #DDDDDD;
	font-size: 10pt;
}

#settings_icons {
	position: absolute;
	top: 90px;
	width: 32px;
	height: 32px;
	background-size: contain;
	cursor: pointer;
	margin-left:10px;
	margin-top:0px;
	background-image:url('../img/settings-icon.png');
	z-index:1;
}

#settings {
	position: absolute;
	border-radius: 5px;
	top: 90px;
	padding:8px;
	cursor: pointer;
	margin-left:10px;
	margin-top:0px;
	color:#FFFFFF;
	background: #4255bd;
	z-index:1;
}

#filter_group {
	display: inline-block;
	padding-bottom: 5px;
	margin-top:5px;
	margin-bottom:5px;
	border-bottom: 1px solid #DDDDDD;
	width:100%;
}

#title_group {
	font-weight: bold;
	text-align: center;
}

#from {
	display: inline-block;
	padding: 0px;
	margin: 0px;
	width:49%;
	text-align: center;
}

#to {
	display: inline-block;
	padding: 0px;
	margin: 0px;
	width:49%;
	text-align: center;
}

#txt {
	display: inline-block;
	padding: 0px;
	margin: 0px;
	width:99%;
	text-align: center;
}

#loader_map {
	position: absolute;
	top: 15px;
	left: 140px;
	padding:0px;
	width: 25px;
	height: 25px;
}

#mapsearch {
	position: absolute;
	z-index:1;
	top: 15px;
	left: 70px;
	display: none;
	border: 8px solid #f3f3f3; /* Light grey */
	border-top: 8px solid #3498db; /* Blue */
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 0.8s linear infinite;
}

.marker_image {
  border-radius: 50%;
  border: 1px solid #FFFFFF;
}

.marker_image_hidden {
  display: none;
}


#date_add_from, #date_add_to, 
#date_mod_from, #date_mod_to,
#date_act_from, #date_act_to,
#date_st_from, #date_st_to {
	width:90%;
}

#infos {
	position:absolute;
	width:400px;
	height:40px;
	background:#FEFEFE;
	top:15px;
	right:25%;
	left:50%;
	padding: 5px;
	margin-left:-200px;
	text-align: center;
	border: 1px solid #CCCCCC;
	font-family: Verdana;
	font-size: 12pt;
	z-index: 1;
}



UL.thumbnails_c {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
}

UL.thumbnails_c LI {
    display: inline;
}

UL.thumbnails_c SPAN.wrap1 {
    margin: 8px;
    display: table-cell;
    display: inline-table;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

UL.thumbnails_c LABEL {
    position: relative;
    display: block;
    border-bottom: none;
}

ul.thumbnails_c input {
    color: #666;
    font-size: 10px;
    margin: 0;
    background-color: #bbb;
    text-align: center;
}

UL.thumbnails_c INPUT {
    position:absolute;
    left:2px;
    height: 18px;
    width: 18px;
    top:2px
}

UL.thumbnails_c SPAN.wrap2, SPAN.wrap3 {
    margin: 0;
    display: table-cell;
    padding: 10px;
    vertical-align: middle;
    border-radius: 4px;
    height: 169px;
    background-color: #ddd;
}

UL.thumbnails_c SPAN.wrap3 {
    background-color: #ffc4ce;
}

ul.thumbnails_c span.wrap1:hover div.actions {
    display: block;
}

UL.thumbnails_c span.wrap2:hover {
    background-color: #7CBA0F;
    color: #999;
}

ul.thumbnails_c div.actions {
    display: none;
    position: absolute;
    top: 0;
    right: 5px;
    color: #fff;
}

UL.thumbnails_c IMG {
    vertical-align: middle;
    margin-top: 12px;
}

#Fullscreen {
	 width: 100%;
	 display: none;
	 position:fixed;
	 right:0;
	 bottom:0;
	top: 0;
	 left:0;
	 /* I made a 50% opacity black tile background for this 
	 div so it would seem more... modal-y*/
	 background: transparent url('/img/gallery_bg.png') repeat; 
}

#Fullscreen img {
		border:0;
		padding:5px;
                display: block;
                height: 100%;
                margin: 0 auto;
}

.css-treeview ul,
.css-treeview li
{
    padding: 0;
    margin: 0;
    list-style: none;
}
 
.css-treeview input
{
    position: absolute;
    opacity: 0;
}
 
.css-treeview
{
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
 
.css-treeview a
{
    color: #555;
    text-decoration: none;
}
 
.css-treeview a:hover
{
    text-decoration: underline;
}
 
.css-treeview input + label + ul
{
    margin: 0 0 0 32px;
}
 
.css-treeview input ~ ul
{
    display: none;
}
 
.css-treeview label,
.css-treeview label::before
{
    cursor: pointer;
}
 
.css-treeview input:disabled + label
{
    cursor: default;
    opacity: .6;
}
 
.css-treeview input:checked:not(:disabled) ~ ul
{
    display: block;
}
 
.css-treeview label,
.css-treeview label::before
{
    background: url("/img/icons.png") no-repeat;
}
 
.css-treeview label,
.css-treeview a,
.css-treeview label::before
{
    display: inline-block;
    height: 16px;
    line-height: 16px;
    vertical-align: middle;
    margin-bottom: 0px;
}

.tree input:checked ~ ul { display: block; }
 
.css-treeview label
{
    background-position: 18px 0;
}
 
.css-treeview label::before
{
    content: "";
    width: 16px;
    margin: 0 22px 0 0;
    vertical-align: middle;
    background-position: 0 -32px;
}
 
.css-treeview input:checked + label::before
{
    background-position: 0 -16px;
}
 
/* webkit adjacent element selector bugfix */
@media screen and (-webkit-min-device-pixel-ratio:0)
{
    .css-treeview 
    {
        -webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s;
    }
 
    @-webkit-keyframes webkit-adjacent-element-selector-bugfix 
    {
        from 
        { 
            padding: 0;
        } 
        to 
        { 
            padding: 0;
        }
    }
}

.ui-autocomplete-category {
	font-weight: bold;
	padding: .2em .4em;
	margin: .8em 0 .2em;
	line-height: 1.5;
	background: #EEEEEE;
}

.ui-menu .ui-menu-item-wrapper {
	padding: 0px;
}

.ui-menu-item-wrapper {
	padding: 0px;
}

.img_auto_search {
	margin:2px;
	border: 1px;
	display: inline-block;
	width: 40px;
	height: 50px;
	background-position: 50% 50%;
	background-repeat:   no-repeat;
	background-size:     cover;
}

  .ui-autocomplete {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
  }

ul.ui-autocomplete img {
	text-decoration: none!important;
	margin:2px!important;
	border: 1px!important;
	display: inline-block;
	width: 40px;
	height: 50px;
	background-position: 50% 50%!important;
	background-repeat:   no-repeat!important;
	background-size:     cover!important;
}


#mapcompass {
	z-index: 100;
	position: absolute;
	top: 10px;
	padding: 3px;
	left: 5px;
	margin-top:0;
	width: 50px;
	height: 50px;
	font-family: Verdana, serif;
	border: 0 solid #DDDDDD;
	font-size: 8pt;
}

#mapcompass > img {
	position: absolute;
	top: 0;
	max-width: 100%;
	max-height: 100%;
}


.order-card {
    color: #fff;
}

.bg-c-blue {
    background: linear-gradient(45deg,#4099ff,#73b4ff);
}

.bg-c-green {
    background: linear-gradient(45deg,#2ed8b6,#59e0c5);
}

.bg-c-yellow {
    background: linear-gradient(45deg,#FFB64D,#ffcb80);
}

.bg-c-pink {
    background: linear-gradient(45deg,#FF5370,#ff869a);
}


.card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
	padding:15px;
}

.card_login {
    background-color: white;
    opacity: 0.8;
}

.card .card-block {
    padding: 25px;
}

.order-card i {
    font-size: 26px;
}

.f-left {
    float: left;
}

.f-right {
    float: right;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
