
.card .card-image{
    overflow: hidden;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.card .card-image img{
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.card .card-image:hover img{
    -webkit-transform: scale(1.2) rotate(-7deg);
    -moz-transform: scale(1.2) rotate(-7deg);
    -ms-transform: scale(1.2) rotate(-7deg);
    -o-transform: scale(1.2) rotate(-7deg);
    transform: scale(1.2) rotate(-7deg);
}

.card{
    margin-top: 10px;
    position: relative;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.8), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 4 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    margin: 5px;
    border-radius: 10px;
}
.card:hover{
	color: #775925;
	border-radius: 10px;
	box-shadow: 3px 3px 4px 4px grey;
}
.card .card-content {
    padding: 10px; 
    height: 140px;
}


.card .card-content .card-title, .card-reveal .card-title{
    font-size: 16px;
    font-weight: 200;   
}

.card .card-action{
    padding: 20px;
    border-top: 2px solid rgba(169, 176, 183, 0.45);
}
.card .card-action a{
    font-size: 15px;
    color: #ffffff;
    text-transform:uppercase;
    margin-right: 20px;    
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    transition: color 0.3s ease;
}
.card .card-action a:hover{    
    color:#ffd8a6;
    text-decoration:none;
}

.card .card-reveal{    
    padding: 20px;
    position: absolute;
    background-color: #FFF;
    width: 100%;
    overflow-y: auto;
    /*top: 0;*/
    left:0;
    bottom:0;
    height: 100%;
    z-index: 1;
    display: none;    
}


.btn-custom{
    background-color: transparent;
    font-size:18px;
}
.scrollToTop{
	width:100px; 
	height:130px;
	padding:10px; 
	text-align:center; 
	font-weight: bold;
	color: #444;
	text-decoration: none;
	position:fixed;
	top:90%;
	right:40%;
	display:none;
}
.scrollToTop:hover{
	text-decoration:none;
}

.card-row{
	width:90%;
}

.card-status-ongoing {
    border: 2px solid #ff8100;
    position: absolute;
    top: 140px;
    left: 2px;
    border-radius: 6px;
    padding: 2px;
    -ms-transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
    color: #ff8100;
    font-weight: bold;
    font-size: 90%;
    background-color: rgba(255, 255, 255, 0.7);
}

.card-status-completed {
    border-color: #4cae4c;
    color: #5cb85c;
    border: 2px solid;
    position: absolute;
    top: 140px;
    left: 2px;
    border-radius: 6px;
    padding: 2px;
    -ms-transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
    font-weight: bold;
    font-size: 90%;
    background-color: rgba(255, 255, 255, 0.7);
}

.card-status-rejected {
    border-color: #215cd2;
    color: #215cd2;
    border: 2px solid;
    position: absolute;
     top: 140px;
    left: 2px;
    border-radius: 6px;
    padding: 2px;
    -ms-transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
    font-weight: bold;
    font-size: 90%;
    background-color: rgba(255, 255, 255, 0.7);
}

.card-map{
	padding:3px;
	width: 300px;
}

.card-map-content {
    padding: 5px;
    text-align:center;
}
.card-map-title{
    font-size: 12px;
    font-weight: 200;
    height: 50px;
}
.card-map-action {
    border-top: 2px solid rgba(169, 176, 183, 0.45);
    text-align: center;
    margin-top: 1px;
    padding-top: 2px;    
}
.badge-map{
	position: absolute;
    top: 10px;
    left: 30px;
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    background-color: rgb(0, 0, 255);
    border-radius: 10px;
}
.badge-map-text {
    /*line-height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: inherit;*/
    margin-left: 10px;
    margin-top: 5px;
}
.icon-group{
	margin-left: 10px;
	margin-top: 5px;
}
.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  cursor: pointer;
}

.img-container:hover .image {
  opacity: 0.9;
}

.img-container:hover .middle {
  opacity: 1;
}

.text {	
  background-color: #393535;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  opacity: 0.5;
  border-radius: 10px;  
}

.thumbnail-small{
	cursor: pointer;
}