@import url(////fonts.googleapis.com/css?family=Open+Sans:400,600);

/** form styles */
#testimonail_container .form-group{
    margin-bottom: 15px;
}
#testimonail_container .main{
    margin:50px 15px;
}

#testimonail_container h3{
    text-align: center;
    color: #cc0000;
}

#testimonail_container label{
    margin-bottom: 15px;
}

#testimonail_container input,
#testimonail_container input::-webkit-input-placeholder {
    font-size: 14px;
    padding-top: 3px;
}

#testimonail_container .file {
  visibility: hidden;
  position: absolute;
}

#testimonail_container .main-testimonial-form{
    background-color: #fff;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);

}

#testimonail_container .form-control {
    padding: 8px 12px !important;
}

#testimonail_container textarea.form-control{
    height: 200px!important;
}

#testimonail_container .input-group{
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.21)!important;
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.21)!important;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.21)!important;
}

#testimonail_container #button {
    border: 1px solid #ccc;
    margin-top: 28px;
    padding: 6px 12px;
    color: #666;
    text-shadow: 0 1px #fff;
    cursor: pointer;
    -moz-border-radius: 3px 3px;
    -webkit-border-radius: 3px 3px;
    border-radius: 3px 3px;
    -moz-box-shadow: 0 1px #fff inset, 0 1px #ddd;
    -webkit-box-shadow: 0 1px #fff inset, 0 1px #ddd;
    box-shadow: 0 1px #fff inset, 0 1px #ddd;
    background: #f5f5f5;
    background: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f5f5f5), color-stop(100%, #eeeeee));
    background: -webkit-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%);
    background: -o-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%);
    background: -ms-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%);
    background: linear-gradient(top, #f5f5f5 0%, #eeeeee 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#eeeeee', GradientType=0);
}

#testimonail_container .browse:hover{
    background-color: #cc0000;    
}

#testimonail_container  .main-center{
    margin-top: 30px;
    margin: 0 auto;
    max-width: 600px;
    padding: 10px 40px;
    background-color: #eee;
    border: 3px dotted rgba(0,0,0,0.1);
    color: #333;
    text-shadow: none;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.31);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.31);
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.31);

}
.colorgraph {
	height: 7px;
	border-top: 0;
	background: #c4e17f;
	border-radius: 5px;
	background-image: -webkit-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
	background-image: -moz-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
	background-image: -o-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
	background-image: linear-gradient(to right, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);
}

.alert.alert-notice{display: none;}
.alert.alert-message, .alert.alert-error, .alert.alert-notice{
    padding: 15px 40px;
    background-image: none;
}
.alert.alert-message .alert-message, .alert.alert-error .alert-message, .alert.alert-notice .alert-message{
    padding-left: 0px;
    background-image: none;
}

/** end of the form styles */


/** start of testimonials list page */

.testimonails-wrapper{
	max-width: 950px;
	margin:0 auto;
}
#testimonail-grid{
	
}

#testimonail-grid .grid-item{
	/*border:1px solid #9f9f9f;*/
	box-shadow: 1px 1px 1px 1px rgba(0,0,0,.2);
	margin: 0px 5px 0px 5px;
	margin-bottom: 20px;
}

#testimonail-grid .grid-item .testimonial_readmore{
	cursor: pointer;
}

#testimonail-grid .grid-item .media {
    position: relative;
}

#testimonail-grid .grid-item .media img, .testimonail-popup-detail .media img{
	width: 100%;
    height: auto;
    box-shadow: 0px 0px 5px #999;
}

#testimonail-grid .grid-item  .header {
    padding: 15px 10px 10px;
}

#testimonail-grid .grid-item h3, .testimonail-popup-detail h3 {
    line-height: 130%;
    padding: 0px 0px 0px;
    font-size: 18px;
    color: #454545;
    font-family: 'Open Sans', sans-serif;
}

#testimonail-grid .grid-item .description{
	padding: 0px 10px 0px
}

#testimonail-grid .grid-item .description p, .testimonail-popup-detail .description{
	margin: 0px 0px 15px;
    color: #454545;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
}

#testimonail-grid .grid-item .credit, .testimonail-popup-detail .credit{
    font-size: 13px;
    color: #9f9f9f;
    font-weight: 400;
    width: auto;
    padding-right: 10px;
    margin-top: 0px;
    text-align: right;
    font-family: 'Open Sans', sans-serif;
}

.testimonail-popup-detail{
	max-height: 650px;
	overflow-y:scroll;
}

/*
   Spezific styling for salvattore
   Feel free to edit it as you like
   More info at http://salvattore.com
 */

#testimonail-grid[data-columns]::before {
	content: '3 .column.size-1of3';
}

/* Base styles */
.column {
    float: left;
}
.size-1of4 {
    width: 25%;
}
.size-1of3 {
    width: 33.333%;
}
.size-1of2 {
    width: 50%;
}


.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
}
.white-popup .mfp-close {
    right: -17px !important;
    top: -40px !important;
    color: #fff !important;
}

.testimonail-detail img{
	width: 100%;
}
/* Configurate salvattore with media queries */
@media screen and (max-width: 590px){
	#testimonail-grid[data-columns]::before {
		content: '1 .column.size-1of1';
	}
}

@media screen and (min-width: 591px) and (max-width: 992px) {
	#testimonail-grid[data-columns]::before {
		content: '2 .column.size-1of2';
	}
}
@media screen and (min-width: 993px) {
	#testimonail-grid[data-columns]::before {
		content: '3 .column.size-1of3';
	}
}

/* Again, you’re free to use and define the classes: */
.column { float: left; }
.size-1of1 { width: 100%; }
.size-1of2 { width: 50%; }
.size-1of3 { width: 33.333%; }