.tf-container {
    margin: 20px 0;
}
/*Add Testimonials */
.tf-block:before, .tf-block:after {
content: "\201C"!important;
font-family: Georgia, serif;
}
.tf-block:after {
content: "\201D"!important;
font-family: Georgia, serif;
}

/*Show Testimonials*/
.tf-block_quote {
    background: none repeat scroll 0 0 #CCCCCC;
    border-radius: 5px 5px 5px 5px;
    margin: 10px;
    padding: 10px;
}
.tf-block_quote span {
    font-style: italic;
    font-weight: bold;
}
.tf-author {
    margin-top: 15px;
    padding-left: 10px;
}
.tf-block {
    margin: 0;
    background: #E0DEDF;
    padding: 10px 50px;
    position: relative;
    color: #666;
    border-radius: 5px;
    font-style: italic;
    
}
.tf-block:before, .tf-block:after {
    content:'201C';
    position: absolute;
    font-size: 80px;
    line-height: 1;
    color: #797979;
    font-style: normal;
}
.tf-block:before {
    top: 0;
    left: 10px;
}
.tf-block:after {
    content:'201D';
    right: 10px;
    bottom: -0.5em;
}
.tf-arrow-down {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #E0DEDF;
    margin: 0 0 0 25px;
}
.tf-block-author {
    margin: 0 0 15px 25px;
    color: #999;
    text-align:left;
}
.tf-block-author span {
    font-size: 12px;
    color: #696969;
}

.tf-pagination {
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding: 0; 
}

.tf-pagination ul {
    margin: 0;
    padding: 0;
    display: flex; 
    list-style-type: none; 
}

.tf-pag-box {
  padding: 10px !important;
}

.tf-pagination ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px; 
    height: 35px; 
    margin: 0 6px; 
    background-color: #ffffff; 
    color: #000000;
    text-decoration: none; 
    font-size: 14px; 
    transition: background-color 0.3s, color 0.3s; 
    font-weight: bold;
}

.tf-pg-style-round ul li a {
	border-radius: 50%;
}

.tf-pagination ul li a:hover,
.tf-pagination ul li a:focus {
    background-color: #000000; 
    color: #ffffff; 
    text-decoration: none; 
}

.tf-pagination ul li a.tf-pag-active {
    background-color: #000000; 
    color: #ffffff; 
}


.faderError {
    background: none repeat scroll 0 0 #F94950;
    color: #FFFFFF;
    margin-bottom: 15px;
    padding: 10px;
    margin-top: 20px;
    border-radius: 3px;
    font-weight: bold;
}
.faderError a{
	color : #FFFFFF;
}

/*Testimonial Form CSS*/
.tfc_toolbar {
    margin-top: 10px;
}
.tf-error{
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
font-size: 12px;
padding: 5px;
border: 1px dotted;
}
.tf-success{
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
	font-size: 12px;
	padding: 5px;
	border: 1px dotted;
}
.tf-form input[type="text"], .tf-form input[type="email"]{
	margin-bottom: 5px !important;  
	width: 100%; 
	padding: 7px !important;
	box-sizing: border-box;
}
.tfc_form textarea {
    width: 100%;
    border-radius: 0;
    box-sizing: border-box;
    height: 180px;
    border: 1px solid #ddd;
}
.tfc_form dd {
    margin-left: 0;
    /*! margin-top: 5px; */
}
.tfc_form .tfc_button {
width:100%;
border: none;
padding: 10px 40px;
    
}

.tfc_star {
    color: #ff0000;
}
.tf-pag-center,.tf-toggle-center{
    justify-content: center;
}
.tf-pag-left,.tf-toggle-left{
    justify-content: left;
}
.tf-pag-right,.tf-toggle-right{
    justify-content: right;
}
.tf-toggle-container {
    display: none;
}
.tf-toggle {
    padding: 10px 20px;
    display: inline-block;
    background: #ebebeb;
    color: #343434;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.4s;
	border:none!important;
}
.tfc_char_count {
    text-align: right;
	font-size:12px;
}
.tf-toggle-button {
  display: flex;
  margin: 20px 0;
}

a.tf-toggle:hover,a.tf-toggle:focus,a.tf-toggle:active {
    text-decoration: none;
    transition: 0.4s;
}
@media only screen 
  and (min-width: 360px) 
  and (max-width: 812px) 
  { 
.tf-toggle {
    display: block;
 
}
      .tfc_form .tfc_button{
          width: 100%;
      }
}



.tf-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.6);
	justify-content: center;
	align-items: center;
}

/* Modal Content */
.tf-modal-content {
  background-color: #fefefe;
  padding: 30px;
  border-radius: 10px;
  width: 400px; 
  max-width: 95%; 
  box-sizing: border-box; 
  position: relative;
}


.tf-close {
  color: #252525;
  cursor: pointer;
  font-size: 30px;
  position: absolute; 
  right: 20px;
  top: 10px;
}

.tf-close:hover,
.tf-close:focus {
  color: black;
  text-decoration: none;
}
.tf-modal-active {
  display: flex; 
}


@media screen and (max-width: 600px) {
  .tf-modal-content {
    margin: 5% auto; 
  }
}

