body {
    font-family: 'Roboto', sans-serif!important;
}

img {
    max-width: 100%;
}

.hero-section {
    background-image: url(https://mk1drains.mynewdesign.uk/images/clearanceDrain.jpg);
    background-blend-mode: overlay;
    background-color: #ffffff3d;
    background-size: cover;
    background-position: center 48%;
    height: 484px;
}

.f-image {
    padding-top: 20px;
    max-width: 100%;
    width: 485px;
    margin: auto;
    display: block;
}

.lower-logo {
    max-width: 100%;
    display: block;
    margin: auto;
    width: 219px;
    padding-left: 30px;
    
    
}

.u-logo-text {
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding-top: 5px;
}

.contact-parallax {
    background-image: url(https://mk1drains.mynewdesign.uk/images/iStock-510007257.jpg);
    background-blend-mode: overlay;
    background-color: #4444449e;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 65px;
    padding-bottom: 65px;
    background-position: center;
}

.s-pic {
    width: 421px;
}

.main-sub {
    text-align: center;
}

.cpar-header {
    font-size: 38px;
    padding-bottom: 20px;
}

.cpar-header {
    color: #fff;
    text-align: center;
    max-width: 749px;
    margin: auto;
}

.numbers {
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 33px;
    font-weight: bold;
}

.numbers a {
    color: #aec9e7!important;
    font-weight: bold;
}

.numbers a:hover {
    color: #ffffff!important;
    font-weight: bold;
}

.container.logo-section {
    padding-top: 64px;
    padding-bottom: 150px;
}

.logo {
    width: 250px;
    padding-bottom: 10px;
}

.col-md-4.icon-block {
    text-align: center;
    color: #fff;
}

.col-md-4.icon-block i {
    font-size: 40px;
    padding-bottom: 14px;
}

.col-md-4.icon-block p {
    font-size: 21px;
}

.col-md-6{
    padding-top: 53px;
}

.col-md-3{
    padding-top: 53px;
}

.nav-bar {
    background: #3cb450;
}

.menu {
    list-style: none;
    margin: auto;
}

.menu-item {
    float: left;
}

.section-one {
    padding-top: 20px;
    padding-bottom: 50px;
}

.s2-header {
    font-size: 40px;
    color: #2d60a7;
    font-weight: bold;
}

.section-two {
    background: #f7f5f5;
    padding-top: 35px;
    padding-bottom: 35px;
}

.menu-link {
    color: #fff!important;
    padding: 20px 20px;
    font-size: 18px;
    display: block;
    text-decoration: none!important;
    transition-duration: 0.2s;
}

.menu-link:hover {
    background: #00000012;
}

.phone-top {
    padding-bottom: 40px;
    color: #fff;
    font-size: 20px;
}

.container.-logo-section {
    overflow: hidden;
}

.logo-section {
    overflow: hidden;
}

.fs-header {
    font-size: 40px;
    color: #2d60a7;
    font-weight: bold;
}

.par-one {
    text-align: center;
    margin: auto;
}

.contact-button.blue {
    background: #0a66a5;
}

.contact-button.blue:hover {
    background: #0a66a5;
}

.serv-header {
    text-align: center;
    font-size: 32px;
    color: #2d60a7;
}

.services-section {
    padding-bottom: 70px;
    padding-top: 47px;
}

.serv-header {
    padding-bottom: 20px;
}

.contact-button {
    display: block;
    margin: auto;
    width: 210px;
    text-align: center;
    font-size: 18px;
    color: #2d60a7;
    text-decoration: none;
    background: #aec9e7;
    padding: 9px 0px;
    transition-duration: 0.2s;
    margin-top: 40px;
    border-radius: 25px;
}

.contact-button:hover {
    background: #2d60a7;
    color: #aec9e7;
    border-radius: 25px;
}

.fs-header {
    text-align: center;
    padding-top: 35px;
    font-size: 45px;
}

.msg-fail {
    background: #e23434;
    color: #fff;
    text-align: center;
    padding-top: 15px;
}

.phone-top {
    animation-delay: 0.2s;
}

.icon-move-one {
    animation-delay: 0.6s;
}

.icon-move-two {
    animation-delay: 0.8s;
}

.icon-move-three {
    animation-delay: 1s;
}

.contact-button {
    animation-delay: 1.2s;
}

.footer-title {
    text-align: center;
    font-size: 22px;
    color: #f7f7f7;
}

.map-section {
    height: 350px;
}

.footer-section {
    background: #3a3838;
    padding-top: 40px;
    padding-bottom: 40px;
}

.cw-line {
    text-align: center;
    padding-top: 20px;
    color: #fff;
}

.copyright-bar {
    background: #313131;
}

.social-links {
    font-size: 34px;
    padding: 0px 13px;
}

.header-p {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #000;
    font-size: 21px;
}

.header-p a {
    color: #2d60a7!important;
    text-decoration: none!important;
}

.header-p a:hover {
    color: #aec9e7!important;
    text-decoration: none!important;
}

.a:hover{
    color: #2d60a7!important;
    text-decoration: none!important;
}

.footer-p {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #fff;
}

.footer-p a {
    color: #aec9e7!important;
    text-decoration: none!important;
}

.footer-p a:hover {
    color: #ffffff!important;
    text-decoration: none!important;
}

/*MODAL*/

.modal-content {
    max-width: 90%!important;
    width: 789px!important;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 65px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 0px;
}

.form-headerLine {
    text-align: center;
    font-family: roboto;
    padding-bottom: 10px;
    padding-top: 10px;
	color: #efa808;
    font-weight: bold;
}

.modal-backdrop.show {
    opacity: .5;
    z-index: 0;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #00aeef;
  text-decoration: none;
  cursor: pointer;
}

/*END MODAL*/

.msg-rec {
    background: #3cb450;
    color: #fff;
    text-align: center;
    padding-top: 15px;
}

.has-error {
    border-color:red;
}

.has-error::placeholder{
    color:red;
}

.feedback{
    color: red;
    text-align:center;
}

.modal-button-wbg {
    border: none;
    background: #3cb450;
    color: #fff;
    padding: 5px;
    width: 100%;
}

/*Service Cards*/

.card-title.title-top-left {
    top: 40px;
    left: 0;
    transition: .3s ease,background 0s ease;
    font-size: 26px;
}
.card-title.title-top-right {
    top: 40px;
    right: 0;
    transition: .3s ease,background 0s ease;
    font-size: 26px;
}
.card-title.title-bottom-right {
    bottom: 40px;
    right: 0;
	transition: .3s ease,background 0s ease;
	font-size: 26px;
}
.card-title {
    font-family: 'Alice', serif!important;
    background: #aec9e7;
    padding: 16px 20px;
    position: absolute;
    font-weight: 500;
    color:#2d60a7;
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: .25rem;
}
.card img{
	margin:0;
	
}
.card p{
	margin:0;
}
.card-overlay{
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px;
}
.card-overlay a{
	color:#fff;
	text-decoration:none;
}
.serv-row .panel-grid-cell {
    width: 33.333333%!important;
    padding-left: 2.5px;
    padding-right: 2.5px;
    margin-bottom: 5px;
}
.card:hover .card-overlay{
	display: flex;
    justify-content: center;
    align-content: center;
    background: transparent;
    background-image: url(https://mk1drains.mynewdesign.uk/wp-content/uploads/2020/08/bg-project.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: 50%;
    background-size: 55%;
    padding: 0 25%;
	transition:.3s ease;
}
.card .card-title{
	transition:.3s ease,background 0s ease;
}
.card:hover .card-title {
    color: #2d60a7!important;
    background: #ffffffad;
    top: 50%;
    left: 50%;
    right: unset;
    bottom: unset;
    transform: translate(-50%,-50%);
    text-align: center;
    border: 3px solid #aec9e7;
}

.omnav {
    display: none;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #f9f9f9;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #0a66a5!important;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

#mySidenav {
    text-align: center;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

@media (min-width: 469px){
    .cpar-header#cpar{font-size: 30px;}
    .numbers#cpar{font-size: 30px;}
}

@media (max-width: 469px){
    .cpar-header#cpar{font-size: 8vw;}
    .numbers#cpar{font-size: 5vw;}
}

@media (max-width: 576px){
    .footer-sections {
        margin-top: 40px;
    }
    .cpar-header#cpar{font-size: 6vw;}
    .numbers#cpar{font-size: 4vw;}
}

@media (min-width: 900px){
    .container.row{font-size:5vw;}
}

@media (min-width: 768px){
    /* this is where margins for tall logo go*/
    .tall-logo-margin {
        margin-top: 50px;
    }
}

@media screen and (max-width: 991px) {
  .omnav {
    display: block;
}
.menu {
    display: none;
}
.omnav {
    position: absolute;
    right: 8%;
    color: #fff;
}
.nav-bar {
    height: 46px;
}
}