/*
Theme Name: SWIE Theme
Theme URI: https://tech-wales.co.uk/
Author: Tech-Wales
Author URI: https://tech-wales.co.uk/
Description: SWIE Theme is a base theme for the construction of an interactive and content adjustable website
Version: 1.0.00
Tested up to: 6.0.2
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swie-lift
Tags: one-column, two-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments, translation-ready, blog, e-commerce, entertainment
*/

/* @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* Fonts */
body {
	font-family: 'Roboto', sans-serif;
	font-size:16px;
}

h1 {
    font-size: 2em;
}

h2, .wp-block-search__label {
    font-size: 1.5em;
}

.wp-block-search .wp-block-search__label {
	font-weight: 100;
}

h3 {
    font-size: 1.3em;
}

h4 {
    font-size: 1.1em;
}

h5 {
    font-size: .9em;
}

h6 {
    font-size: .7em;
}

p, a {
    font-size: 1em;
}

/* General */

.color-main {
	color: var(--primary-color);
}

.color-secondary {
	color: var(--secondary-color);
}

.action-color {
	color: var(--action-color);
}
/* Flex */
/*.mpl-grid {
  display: flex;
  align-items: center;
  border: 1px solid white;
}*/

.mpl-about-us h2, h2.page-title, .footer-container h2.widget-title {
	color: var(--primary-color);
}

.sidebar-page i {
	color: var(--primary-color);
}

.mpl-grid {
  display: grid;
  grid-template-columns: 25% 75%;	
  align-items: center;
}

.btn-mpl, .btn-header {
	background-color: var(--action-color) !important;
	color: white !important;
	border-radius: 5px !important;
	padding: 5px 10px !important;
	border: 1px solid var(--action-color) !important;
}

.btn-mpl:hover, .btn-header:hover {
	background-color: var(--light-color) !important;
	color: black !important;
	border-radius: 5px !important;
	padding: 5px 10px !important;
	border: 1px solid var(--action-color) !important;
}

.btn-service {
	background-color: var(--primary-color) !important;
	color: white !important;
	border-radius: 5px !important;
	padding: 5px 10px !important;
	border: 1px solid var(--primary-color) !important;
}

.btn-header:hover {
	background-color: var(--light-color) !important;
	color: black !important;
	border-radius: 5px !important;
	padding: 5px 10px !important;
	border: 1px solid var(--action-color) !important;
}

.mpl-mainheader {
	color: black;font-size: 1.5em;
}

div.wpforms-container-full button[type=submit]:not(:hover):not(:active) {
	background-color: var(--primary-color) !important;
}

div.wpforms-container-full button[type=submit]:hover {
	background-color: var(--primary-color) !important;
}

.pri-color {
	color: var(--primary-color);
}

.mpl-subheader {
	text-transform: uppercase;color: var(--primary-color);font-size: 1.2em;
}

.same-height {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
}

.mpl-image-page {
	filter: drop-shadow(5px 5px 10px #000);
}

/* Header */

.mpl-menu {
	background-color: var(--secondary-color);
}

.navbar-mpl {
	height: 100%;
}
.navbar-mpl .nav-link {
	color: var(--light-color);
	font-size: 1.2em;
	font-weight: normal;
}

.navbar-mpl .nav-link:hover, .current_page_item .nav-link {
	color: var(--primary-color);
	font-size: 1.2em;
	font-weight: normal;
	/*text-decoration: underline;*/ 
}

.navbar-toggler-icon
{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.mpl-menu li {
	padding-right: 20px;
}

.mpl-header .contact-mpl {
	background-color: var(--light-color);
	color: black;
	font-size: 1.2em;
}

.mpl-header .contact-mpl a {
	color: white;
}

.mpl-header nav {
	height: 100%;
}

.social-mpl {
	color: white;border: 1px solid white;
	padding: 5px 10px 5px 10px;
	margin-right: 10px;
	min-width: 25px;
}

.social-mpl a {
	color: white;
}

#breadcrumbs a {
	color: white;
}

/* Services */

.mpl-services .subheader {
	text-transform: uppercase;color: var(--secondary-color);font-size: 1.2em;
}

.mpl-services .mpl-services-image {
	max-height: 100px;object-fit: none;
}

.mpl-services.h2, .mpl-services h2 {
    font-size: calc(1.0rem + .9vw) !important;
}

/* About Us HP */

.mpl-about-us .header {
	color: black;font-size: 1.5em;
}

.mpl-about-us .subheader {
	text-transform: uppercase;color: var(--secondary-color);font-size: 1.2em;
}

/* Blogs grid HP */

.blog-grid-home i {
	color: var(--primary-color);
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    color: #fff;
    text-decoration:none;
}
 
.navigation li {
    display: inline;
}
 
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    background-color: var(--primary-color);
    border-radius: 3px;
    cursor: pointer;
    padding: 12px;
    padding: 0.75rem;
}
 
.navigation li a:hover,
.navigation li.active a {
    background-color: var(--dark-color);
}

/* Portfolio HP */

.mpl-portfolio .header {
	color: black;font-size: 1.5em;
}

.mpl-portfolio .subheader {
	text-transform: uppercase;color: var(--secondary-color);font-size: 1.2em;
}

/* Blogs grid HP */

.blog-grid-home i {
	color: var(--primary-color);
}

/* Footer */

.footer-credits {
	background-color: black;
	color: white;
}

.footer-credits a {
	color: white;
}

.footer-container {
	color: white;
	width: 100%;
	  background: 
    /* top, transparent red, faked with gradient */ 
    linear-gradient(
      rgba(0, 0, 0, 0.7), 
      rgba(0, 0, 0, 0.7)
    ),
    /* bottom, image */
    url(img/bg-footer.jpg) no-repeat center center fixed;
     -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.footer-container ul {
  list-style-type: none; /* Remove bullets */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margins */
}

.footer-container a {
	color: white;
	text-decoration: none;
}

/* Images */

/* [1] The container */
.img-hover-zoom {
  height: 450px;  /* [1.1] Set it as per your need */
  overflow: hidden; /* [1.2] Hide the overflowing of child elements */
  object-fit: cover;
   position: relative;
}

.img-hover-zoom-blog {
  height: 280px;  /* [1.1] Set it as per your need */
  overflow: hidden; /* [1.2] Hide the overflowing of child elements */
 max-height: 180px;
 object-fit: cover;
  position: relative;
}

.img-hover-zoom-used {
   overflow: hidden; /* [1.2] Hide the overflowing of child elements */
  height: 280px;  /* [1.1] Set it as per your need */
 object-fit: cover;
 max-height: 300px;
 position: relative;
}

/* [2] Transition property for smooth transformation of images */
.img-hover-zoom-used img, .img-hover-zoom-blog img,.img-hover-zoom img {
  transition: transform .5s ease;
  width: 100%;
  height: auto;
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;  
}

/* [3] Finally, transforming the image when container gets hovered */
.img-hover-zoom-used:hover img, .img-hover-zoom-blog:hover img, .img-hover-zoom:hover img {
  transform: scale(1.5);
  height: auto; 
}

/* Used Forklifts */

.div-table {
  display: table;         
  width: 100%; 
   border-collapse: collapse; 
   font-size: 1.0em;       
  /*background-color: #eee;         
  border: 1px solid #666666;        
  border-spacing: 5px 5px 3px 5px;*/  /* cellspacing:poor IE support for  this */
}
.div-table-row {
  display: table-row;
  width: auto;
  clear: both;
  border-bottom: 1px solid black;
}
.div-table-col {
  float: left; /* fix for  buggy browsers */
  display: table-column;         
  width: 68%;         
  
}

.div-table-col-label {
  float: left; /* fix for  buggy browsers */
  display: table-column;         
  width: 32%;         
  
}

.thumbsimg ul {
    margin: 0 -10px;
    list-style: none;
    padding: 0
}

.thumbsimg ul li {
    width: 20%;
    float: left
}

.thumbsimg ul li div {
    margin: 10px;
    background: white;
    padding: 2px
}

.thumbsimg ul li div:hover {
    background: white;
}

.thumbsimg ul li div img {
    max-width: 100%
}

/* Sidebar */

.sidebar-page ul, .sidebar-page .wp-block-latest-posts.wp-block-latest-posts__list {
  /*list-style-image: url('img/double-caret-right.png');*/
  list-style: none;
  padding-left: 10px; /* Remove padding */
  padding-right: 10px;
  margin-left: 0px; /* Remove margins */
  border: 1px solid #e3e3e3;
}

.sidebar-page div.textwidget {
	padding-top: 10px;
  list-style: none;
  padding-left: 10px; /* Remove padding */
  padding-right: 10px;
  margin-left: 0px; /* Remove margins */
  border: 1px solid #e3e3e3;

}
.sidebar-page li, .wp-block-latest-posts.wp-block-latest-posts__list li {
	border-bottom: 1px solid #e3e3e3;
	padding-bottom: 10px;
}

.sidebar-page li, .wp-block-latest-posts.wp-block-latest-posts__list li {
	padding-top: 10px;
}

a.wp-block-latest-posts__post-title, .sidebar-page a {
	color: var(--primary-color);
	text-decoration: none;
}

a:hover.wp-block-latest-posts__post-title, .sidebar-page a:hover {
	color: #5d5d5d;
}

.widget_block, .wp-social-widget {
	padding-bottom: 15px;
}



/* Responsive */
/* Extra Small */
@media (max-width: 575px) {  


}
/* Small devices (landscape phones, 576px and up) */
@media and (min-width: 576px) and (max-width: 767px) {  


}

/* Medium devices (tablets, 768px and up) */
@media and (min-width: 768px) and (max-width: 991px) { 


}

/* Large devices (desktops, 992px and up) */
@media and (min-width: 992px) and (max-width: 1199px) { 


}

/* X-Large devices (large desktops, 1200px and up) */
@media and (min-width: 1200px) and (max-width: 1399px) { 


}

