/*
# mod_itcs_gprecstars - CSS based Module by it-conserv.de
# ------------------------------------------------------------------------
# Author    it-conserv.de
# Copyright (C) 2016 it-conserv.de All Rights Reserved.
# License - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Modul for Google Place Recension Stars 
# Websites: it-conserv.de
# ------------------------------------------------------------------------
*/

.gp_box{
	position: relative;
	float: left;
	/*min-width: 250px;*/
	max-width: 300px;
	width: 100%;
	font-size: 0.9em;
	margin: 10px 2%;
    border:solid 0px #eee;
    -moz-border-radius: 20px;
    -webkit-border-radius:20px;
    border-radius:20px;	
	background: rgba(230, 230, 230, 0.5);
}
.gp_box.dark{
	background: rgba(100, 100, 100, 0.3);
	color: rgba(255, 255, 255, 0.95);
}
.gp_box.dark .gp_place button{
	color: #0f0f0f;
}

.gp_box * {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.gp_box .gp_rec{
	position: relative;
	width: 75px;
	height:100%;
	float: left;
	margin: 1em;
}

.gp_box .gp_rec h1{
	text-align: center;
	font-size: 50px;
	font-weight:500;
	margin: 10px auto;
	color: #EB6E00 !important;
}
.gp_box .gp_rec > span{
	display: inline-block;
	float: left;
}

.gp_box .gp_rec i{
	font-size:16px;
	margin: 0 auto;
	float:left;
	color: #EB6E00 !important;
}
.gp_box .gp_place{
	padding: 1em;
}
.gp_box .gp_place a{
	display: inline-block;
	margin: 0 5px;
}
.gp_box img{
	display: block;
	margin: 5px auto;
}
.gp_box.dark img{
    opacity: 0.8;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}
.gp_box .gp_place > p span{
	font-weight: 600;
}
/* ***** Button Style ***** */
.gp_box .gp_place a.gp_btn{
	display: inline-block;
	position: relative;
	margin-top: 5px auto;
	padding:0px 10px;
	text-decoration: none;
	line-height: 25px;
	font-size: 0.9em;
	color: inherit;
	background: rgba(200, 200, 200, 0.3);
    -moz-border-radius: 5px;
    -webkit-border-radius:5px;
    border-radius:5px;
	border: 1px solid rgba(200, 200, 200, 0.3);
}
.gp_box .gp_place a.gp_btn i{
	display: inline-block;
	height: 100%;
	left:0;
	width:25px;
	background: rgba(100, 100, 100, 0.3);
	margin-right: 5px;
	margin-left: -35px;
	opacity: 0;
}
.gp_box.dark .gp_place a.gp_btn i{
	background: rgba(200, 200, 200, 0.3);
}
.gp_box .gp_place a.gp_btn:hover i{
	margin-left: -10px;
	opacity: 1;
}

/* **** Tooltip **** */
.gp_box .gp_place a.gp_tooltip:after,
.gp_box .gp_place a.gp_tooltip:before {
  text-align: center;
  line-height: 1.5em;
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  -moz-transition : all 0.4s ease;
  transition : all 0.4s ease;
}
.gp_box .gp_place a.gp_tooltip:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 5%;
  background: #ffcb66;
  padding: 5px 15px;
  color: black;
  -webkit-border-radius: 10px;
  -moz-border-radius : 10px;
  border-radius : 10px;
  /*white-space: nowrap;*/

}
.gp_box .gp_place a.gp_tooltip:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 20px solid #ffcb66;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  left: 30%;
  bottom: 60%;
}
.gp_box .gp_place a.gp_tooltip:hover:after,.gp_box .gp_place a.gp_tooltip:hover:before  {
  opacity: 0.9;
}