/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Header */

span.Contact1 {
	letter-spacing: 0.3px;
}

img.header-image.is-logo-image {
	width: 100%;
	max-width: 490px;
}

.header-widget .widget {
    padding: 0 0 0;
	  text-align: right;
}


@media (max-width: 768px) {
 .header-widget .widget {
 text-align: center;
 }
}

/* Header CTA */

i.fas.fa-envelope {
	font-size: 25px;
} 

.fa-classic, .fa-regular, .fa-solid, .far, .fas {
    color: #fff;
	  font-size: 25px;
}

div.contact-box {
	display: inline-block;
	background: #020ea0;
	padding: 5px 4px;
	width: 45%;
	border-radius: 0;
	text-decoration: none;
	text-align: center;
	margin-bottom: 10px;
		
}

.header-widget {
    float: right;
    overflow: hidden;
    width: 210px;
}

/* Menu */

.main-navigation .main-nav ul ul li a {
    padding: 10px;
    border-bottom: 1px solid #999;
}

.main-navigation .main-nav ul ul li:hover > a, .main-navigation .main-nav ul ul li:focus > a, .main-navigation .main-nav ul ul li.sfHover > a {
    color: #000;
    background-color: #f2f2f2;
}

.main-navigation ul ul {
    width: 240px;
}

.menu-item-has-children .dropdown-menu-toggle {
    padding-right: 10px;
}

/* Forms */

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
    color: #000;
    background-color: #f0f0f0;
    border-color: #fff;
    border-radius: 5px;
	  width: 100%;
}



input[type="text"]:focus {
	color: #a6a6a6;
}


input[type="submit"] {
	font-weight: 700;
	width: 100%;
	padding: 10px 20px;
}

textarea {
	height: 200px;
}

button {
	width: 100%;
	max-width: 600px;
}

/* Side Bar */

.widget-title {
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
    text-transform: none;
	  text-align: center;
	  background: #020ea0;
	  padding: 10px;
	  border-top-left-radius: 8px;
	  border-top-right-radius: 8px;
}

.one-container .sidebar .widget {
    padding: 0;
    border: 2px solid #020ea0;
	  border-top-left-radius: 10px;
	  border-top-right-radius: 10px;
	  border-bottom-left-radius: 10px;
	  border-bottom-right-radius: 10px;
}

div.WidgetWrap {
	padding: 0 15px 25px 15px;
}

div.WidgetWrapList {
	padding: 0 25px 15px 45px;
}

.widget ul li {
    padding-bottom: 15px;
}

.widget ul li:before{
	content: "\2022";
  color: #020ea0;
  font-weight: bold;
  display: inline-block; 
  width: 1em;
  margin-left: -1em;
}

/* Pages */

.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
    margin-top: 0;
}

.entry-title {
    margin-bottom: 20px;
}


/* Bullets */

ul {
	list-style: none;
}

div.entry-content ul li:before {
  content: "\2022";
  color: #020ea0;
  font-weight: 700;
  display: inline-block; 
  width: 1em;
  margin-left: -1em;
}

li {
	font-weight:400;
}


/* Links */

a {
	font-weight: 700;
}

.footer-widgets a {
  text-decoration: underline;
}

.footer-widgets a:hover {
  text-decoration: none;
}

/*Testimonials */

div.strong-view.wpmtst-simple .wpmtst-testimonial-inner {
	text-align: center;
}

div.SingleTestimonials {
	font-size: 14px;
	font-style: italic;
	background: #e4e7f6;
	border-radius: 10px;
} 

/* our People */

div#gallery-1 figure.gallery-item {
color: #020ea0;
font-weight: 700;
line-height: 1.2;
	font-size: 14px;
} 

/* Orange Bar */

div.OrangeBar {
	background: #ffa600;
	max-width: 1150px;
	margin: 0 auto;
	padding: 20px;
}

#lswssp-logo-showcase-1 .lswssp-logo-img-wrap .lswssp-logo-img {
    max-height: 109px;
    min-width: 160px;
}

h4.LogoHeading {
	color: #444;
	font-weight: 600;
	text-align: center;
}

/* Conveyancing Quote */

div.CBox {
	background: #efefef;
	width: calc(50% - 4px);
	margin: 2px;
	height: 70px;
}

div.CBox h4 {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 70px;
	text-align: center;
}

div.CBox h4 a:hover {
	display: block;
	height: 100%;
	width: 100%;
	background: #020ea0;
	color: #fff;
	text-decoration: none;
}

div.CBox h4 a {
	color: #020ea0;
}

div.CBox h4 a:hover {
	color: #fff;
}


div.CBox.Active h4 a {
	display: block;
	height: 100%;
	width: 100%;
	background: #ffa600;
	color: #000;
}

@media screen and (max-width: 780px) {
    div.CBox {
	width: 100%;
}

}



/* Footer */

div.footer-widget-1 {
	width: 70%;
}

div.footer-widget-2 {
	width: 30%;
}

.size-auto, .size-full, .size-large, .size-medium, .size-thumbnail {
    max-width: 92%;
    height: auto;
    margin: 0 auto;
}

.site-info {
    text-align: right;
    font-size: 12px;
}

.site-info a {
    color: #999;
}

.footer-widgets p {
	font-size: 12px;
}

div.footer-widget-2 {
	text-align: right;
}

ul#menu-footer {
	font-size: 14px;
}

div.SRAWrap {
  display: block;
	position: relative;
	float: right;
	width: 200px;
}

/* Resposive Gallery */

/* For displaying 3 columns on tablet */
@media only screen and (max-width: 980px) {
 .gallery-columns-4 .gallery-item {
     max-width: 33%;
 }
}


/* For displaying 2 columns on tablet */
@media only screen and (max-width: 600px) {
 .gallery-columns-4 .gallery-item, .gallery-columns-3 .gallery-item {
     max-width: 50%;
 }
}

/* For displaying 1 columns on mobile */
@media only screen and (max-width: 380px) {
 .gallery-columns-4 .gallery-item, .gallery-columns-3 .gallery-item {
     max-width: 100%;
 }
}


/* Logos */

@media only screen and (min-width: 645px) and (max-width: 1097px) {
#lswssp-logo-showcase-1 .lswssp-columns {
    width: 25%;
    clear: none;
}
}

@media only screen and (min-width: 481px) and (max-width: 645px) {
#lswssp-logo-showcase-1 .lswssp-columns {
    width: 33%!important;
    clear: none;
}
}

@media only screen and (max-width: 325px) {
#lswssp-logo-showcase-1 .lswssp-columns {
    width: 100%!important;
    clear: none;
}
}



/* Media Queries */

@media only screen and (max-width: 1095px) {
	.main-navigation .main-nav ul li a {
    padding-left: 22px;
    padding-right: 22px;
}
}


@media only screen and (max-width: 965px) {
	.main-navigation .main-nav ul li a {
    padding-left: 10px;
    padding-right: 10px;
}
}

@media only screen and (max-width: 809px) {
	.main-navigation .main-nav ul li a {
    padding-left: 5px;
    padding-right: 5px;
}
}

@media only screen and (max-width: 768px) {
	.header-widget {
    float: none;
    margin: 0 auto;
}
	div.footer-widget-1 {
    width: 100%;
    float: none;
}
div.footer-widget-2 {
    text-align: center;
    width: 100%;
}
	div.SRAWrap {
    float: none;
    margin: 0 auto;
}
}



