/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 01 2021 | 21:49:09 */
/* Nav styling */

.menu-button a.elementor-button{
 	background-color: transparent;
	font-weight: 300;
	text-transform: uppercase;
  	padding: 0;
}

.menu-button a.elementor-button:hover{
 	color: #dee315;
}

#header_slider p {
  /* Handles style of text in Slide Anything slider header */
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

@media only screen and (max-width: 1200px) {
    .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
      /* Increased gap between content and screen edge on modile devices */
      padding: 10px 30px;
  }
}

/* Adds Quotemarks to testimonals */

.big-quote .elementor-widget-container{
    position: relative;
}

.big-quote .elementor-widget-container::before, .big-quote .elementor-widget-container::after {
    content: "";
    display: block;
    position: relative;
    width: 33px;
    height: 22px;
    background-image: url(https://lpcpaintingcheltenham.co.uk/wp-content/uploads/2021/01/quotemark-blue.png);
    background-size: contain;
    margin: 0 0 10px;
}

.big-quote .elementor-widget-container::after {
    left: initial;
    top: initial;
    transform: rotate(180deg);
    float: right;
    margin: 10px 0 0;
}

@media screen and (min-width: 720px){

  .big-quote .elementor-widget-container::before, .big-quote .elementor-widget-container::after {
    content: "";
    display: block;
    position: absolute;
    left: -60px;
    top: 0;
    width: 66px;
    height: 44px;
    background-image: url(https://lpcpaintingcheltenham.co.uk/wp-content/uploads/2021/01/quotemark-blue.png);
    background-size: contain;
    margin: 0;
  }

  .big-quote .elementor-widget-container::after {
    left: initial;
    top: initial;
    right: -60px;
    bottom: 0;
    transform: rotate(180deg);
    margin: 0;
  }
}

/* Posts */

.blog .post h2,
.archieve .post h2,
.category .post h2{
 	font-weight: 300;
	font-size: 28px;
}

.blog header,
.archive header,
.category header{
  margin-bottom: 60px;
}

.blog article,
.archive article,
.category article{
  margin-bottom: 40px;
}

.blog .page-content,
.archive .page-content,
.category .page-content {
  max-width: 780px; /* Constrains page innere width */ 
  margin: 0 auto;
}

.blog .post a img,
.archieve .post a img,
.category .post a img{
 	transition: opacity 0.3s;
}

.blog .post a:hover img,
.archieve .post a:hover img,
.category .post a:hover img{
 	opacity: 0.8;
}


.post .elementor-widget-image-gallery {
  /* minimises width of rows used for thumbnails */
  max-width: 780px;
  margin: 0 auto;
}

.blog .post a:hover img,
.archieve .post a:hover img,
.category .post a:hover img{
 	opacity: 0.8;
}

.pagination{
  text-align: center;
}

@media screen and (max-width: 720px){
  figure.gallery-item {
      width: 50% !important; /* Creates two column rows in portfolio gallery */
  }
}

/* Google Testimonials */
/* Handes all styling of Google testimonials*/

.g-test-cont p{
  	bottom: 0;
    box-shadow: rgb(0 0 0 / 10%) 2px 2px 2px 0;
    box-sizing: border-box;
    color: #777;
    height: auto;
    left: 0;
    position: relative;
    right: 0;
    text-size-adjust: 100%;
    top: 0;
    column-rule-color: #fff;
    perspective-origin: 277.5px 69px;
    transform-origin: 277.5px 69px;
    background: #fff none repeat scroll 0 0/auto padding-box border-box;
    border: 1px solid #f5f5f5;
    margin: 0 0 25px;
    outline: #fff 0;
  padding: 20px 20px 20px 48px;
  font: italic normal normal normal 14px/22.4px "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.g-test-cont p:before{
  bottom: 47px;
    box-sizing: border-box;
    color: #bbb;
    content: '\201C';
    display: block;
    height: 96px;
    left: 55px;
    position: absolute;
    right: 515.391px;
    text-size-adjust: 100%;
    top: 20px;
    width: 24.6094px;
    column-rule-color: #bbb;
    perspective-origin: 12.2969px 48px;
    transform-origin: 12.2969px 48px;
    border: 0 #bbb;
    font: normal normal normal normal 60px/96px Georgia,serif;
    margin: -25px 0 0 -40px;
    outline: #bbb 0;
}

.g-test-cont p:after{
      bottom: -30px;
    box-sizing: border-box;
    color: #fff;
    content: '';
    display: block;
    height: 30px;
    left: 80px;
    position: absolute;
    right: 445px;
    text-size-adjust: 100%;
    width: 30px;
    column-rule-color: #fff;
    perspective-origin: 15px 15px;
    transform-origin: 15px 15px;
    filter: drop-shadow(rgba(0,0,0,.0980392) 2px 2px 1px);
    border-top: 30px solid #fff;
    border-right: 30px solid transparent;
    border-bottom: 0 solid transparent;
    border-left: 0 solid transparent;
    font: normal normal normal normal 13px/20.8px "Helvetica Neue",Helvetica,Arial,sans-serif;
    outline: #fff 0;
}

.g-test-cont img{
  float: left;
  margin-right: 10px;
}

.g-test-author strong{
  font-size: 38px;
  color: #335a69;
  font-weight: 800;
  margin-right: 5px;
}

/* Image light box */

.elementor-slideshow__title{
  display: none !important; /* Hides caption */
}

@media screen and (max-width: 720px){
  
  /* Header Slider */
  
  #header_slider p{
    font-size: 24px !important; /* Resizes text for mobile */
  }
}

/* contact form */

.wpcf7 form.sent .wpcf7-response-output{
  	border-color: #46b450;
    background-color: #46b450;
  	border-radius: 5px;
  	padding: 10px 15px;
 	text-align: center;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #ffb900;
    background-color: #ffb900;
 	border-radius: 5px;
  	text-align: center;
  	padding: 10px 15px;
}

.wpcf7-not-valid-tip{
  margin-top: 12px;
}

/* Galleries */