/*
Theme Name: Stewart Harper Accountants
Theme URI: http://www.stewartharper.co.uk
Author: Unitel Direct
Author URI: https://www.uniteldirect.co.uk
Description: Wordpress theme for Stewart Harper
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Stewart Harper
*/



html,
body {
    font-family: 'Muli', sans-serif;
    padding: 0;
    margin: 0;
    /*CSS Variables*/
    --blue: #09165F;
    
    /*end of CSS Variables*/
    overflow-x: hidden;
    box-sizing: border-box;
}



.topbar {
    min-height: 50px;
    background-color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 50px;
    
}

.contact-details {
    display: flex;
    width: 50%;
}

.contact-details p {
    color: #fff;
    margin-right: 20px;
}

.contact-details a {
    color: #fff;
    text-decoration: none;
    letter-spacing: .5px;
}

.navigation {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.nav-link {
    transition-delay: 1s;
}

.nav-link a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
}

.nav-link a:hover {
    text-decoration: underline;
}

.active {
   text-decoration: underline;
}

.slider {
    width: 100%;
    position: relative;
}

.logo {
    position: absolute;
    top: 50;
    left: 50;
    margin: 50px;
    z-index: 1;
    
}

.header-info {
    min-height: 80px;
    background-color: var(--blue);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
}

.fa-check-square {
    color: #fff;
    font-size: 30px;
}

.header-info-one,
.header-info-two,
.header-info-three,
.header-info-four {
    display: flex;
}

.icon-text {
    font-family: 'Muli', sans-serif;
    font-size: 20px;
    margin-left: 10px;
}

.intro {
    min-height: 500px;
    display: flex;
}

.intro-left {
    width: 40%
}
.intro-right {
    width: 60%;
}

.intro-left {
    padding: 50px;
}

.intro-left h1,
.intro-left h2 {
    color: var(--blue);
    font-weight: 500;
}

.intro-left p {
    font-size: 16px;
}

.intro-right {
    background-image: url(http://217.199.187.199/stewartharper1.co.uk/wp-content/uploads/2019/07/intro-right.jpg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.services {
   margin-top: 30px;
   min-height: 500px;
   text-align: center;
   background: 
    /* top, transparent red, faked with gradient */ 
    linear-gradient(
      rgba(25, 47, 103, 0.8), 
      rgba(25, 47, 103, 0.8)
    ),
    /* bottom, image */
    url(http://217.199.187.199/stewartharper1.co.uk/wp-content/uploads/2019/07/services-bg.jpg);
   background-position: fixed;
   background-size: cover;
   background-repeat: no-repeat;
}

.services h1 {
    color: #fff;
    font-weight: 500;
    letter-spacing: 2px;
    padding-top: 30px;
    font-size: 55px;
}

.services-boxes {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    height: auto;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    
}

.services-box {
    height: 300px;
    width: 400px;
    position: relative;
    display: inline-block;
}


/*Image hover*/

.book {
    width:400px;
    height:300px;
    position:relative;
    margin: 5px;
    transition: width 2s;
   
}

.info {
    width: 100%;
    height:300px;
    position:absolute;
    top:0;
    left:0;
    z-index:1;
    background-color: rgba(255,255,255, 0.8);
    display:none; 
    transition: width 2s;
}

.info h2 {
    color: var(--blue);
}

.info button {
    height: 50px;
    width: 150px;
    border: none;
    background-color: var(--blue);
    color: #fff;
    cursor: pointer;
    font-family: 'Muli', sans-serif;
}

.book .image {
    text-align:center;
    position:relative;
    top: 0;
}
.book:hover .info{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.taxation-services {
   min-height: 500px;
    display: flex;
   background-color: #fff;
    align-items: center;
}

.taxation-text {
    width: 62%;
    margin-left: auto;
    margin-right: auto;
    background-color: #efefef;
    height: 380px;
    padding: 30px;
    display: flex;
}

.taxation {
    width: 60%;
}

.taxation-img {
    width: 20%;
    margin-left: 20%;
}


.taxation-text h2 {
    color: var(--blue);
    font-weight: 500;
}

.taxation p {
    line-height: 25px;
}


.footer-section {
    background-color: #F3F3F3;
    min-height: 300px;
    display: flex;
    justify-content: center;
    
}

.footer-section-inner {
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.footer-section-left {
    height: auto;
    width: 30%;
    margin-right: 10%;
}

.footer-section-left h3 {
    color: var(--blue);
}

.footer-section-left span {
    font-size: 18px;
    color: var(--blue);
    font-weight: 700;
    margin-right: 5px;
}

.footer-section-left a {
    text-decoration: none;
    color: #000;
}

.footer-section-left i {
    color: var(--blue);
    font-size: 18px;
}

.footer-section-right {
    height: auto;
    width: 60%;
}

.bottom-bar {
    background-color: var(--blue);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-bar a {
    color: #fff;
    text-decoration: none;
}


/*MOBILE NAVIGATION*/
    /* Important styles */

.mobile-navigation {
    background-color: var(--blue);
    padding: 20px 0;
    height: 170px !important;
}
#toggle {
  display: block;
  width: 28px;
  height: 20px;
  margin: 0 auto;
}

#toggle span:after,
#toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}
#toggle span:after{
  top: 9px;
}
#toggle span {
  position: relative;
  display: block;
}

#toggle span,
#toggle span:after,
#toggle span:before {
  width: 100%;
  height: 5px;
  background-color: #fff;
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius: 2px;
}

/* on activation */
#toggle.on span {
  background-color: transparent;
}
#toggle.on span:before {
  transform: rotate(45deg) translate(5px, 5px);
}
#toggle.on span:after {
  transform: rotate(-45deg) translate(7px, -8px);
}
#toggle.on + #menu {
  opacity: 1;
  visibility: visible;
}

/* menu appearance*/
#menu {
  position: relative;
  color: #999;
  width: 200px;
  padding: 10px;
  margin: auto;
  font-family: 'Muli', sans-serif;
  text-align: center;
  border-radius: 4px;
  background: #09165F;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  /* just for this demo */
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s;
}

ul, li, li a {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}
li a {
  padding: 5px;
  color: #fff;
  text-decoration: none;
  transition: all .2s;
}
li a:hover,
li a:focus {
  background: #fff;
  color: #09165F;
}
/*END OF NAVIGATION*/


/*About */

.about-content {
	display: flex;
}

.about-left,
.about-right {
	width: 50%;
}

.about-left {
	padding: 50px;
}

.about-left h1 {
	color: var(--blue);
  	font-weight: 500;
}

.about-right {
	background-image: url('http://217.199.187.199/stewartharper1.co.uk/wp-content/uploads/2019/07/about-right-pig.jpg');
  	background-size: contain;
  	background-position: center;
 	background-repeat: no-repeat;
  	height: 520px;
}

.accordion {
    border: 1px solid var(--blue);
    margin-bottom: 5px;
  	background-color: var(--blue);
}

.accordion-title {
  	font-weight: 300;
    color: #fff;
    margin: 0;
    padding: 10px 10px;
    cursor: pointer;
}
.accordion-title:hover {}
.accordion-title:first-child {border: none;}
.accordion-title.open {cursor: default;}
.accordion-content {padding: 10px; color: #fff;}



.enquire-today {
  	display: flex;
 	flex-direction: column;
  	align-items: center;
  	justify-content: center;
  	height: 450px;
  	margin-bottom: 40px;
  	background-image:
  	linear-gradient(
      rgba(25, 47, 103, 0.8), 
      rgba(25, 47, 103, 0.8)
    ),
    /* bottom, image */
    url('http://217.199.187.199/stewartharper1.co.uk/wp-content/uploads/2019/07/enquire-today.png');
  	padding: 30px;
}

.enquire-today h1,
.enquire-today p {
	color: #fff;
}


.enquire-today .fas {
	font-size: 50px;
}

.enquire-today span {
	font-size: 20px;
  	margin-left: 10px;
}

.enquire-today a {
	color: #fff;
  	text-decoration: none;
}

.enquire-today a:hover {
	text-decoration: underline;
}

/*End of about*/

/*Accoutancy Services*/
.accountancy-intro {
	display: flex;
}

.accountancy-left,
.accountancy-right {
	width: 50%;
}

.accountancy-left {
	padding: 50px;
  	margin-bottom: 30px;
}

.accountancy-left h1 {
	color: var(--blue);
  	font-weight: 500;
}

.accountancy-left button {
	height: 60px;
  	width: 200px;
  	background-color: var(--blue);
  	color: #fff;
  	font-size: 20px;
  	font-weight: 400 !important;
  	border: none;
  	cursor: pointer;
}

.accountancy-right {
	background-image: url('http://217.199.187.199/stewartharper1.co.uk/wp-content/uploads/2019/07/accountancy-right.jpg');
  	background-size: contain;
  	background-position: center;
 	background-repeat: no-repeat;
  	height: 520px;
}

.taxation-advice {
	display: flex;
  	background-color: var(--blue);
}

.taxation-advice-left,
.taxation-advice-right {
	width: 50%;
}

.taxation-advice-right {
	padding: 70px;
}

.taxation-advice-right h1 {
	color: #fff;
  	font-weight: 500;
}

.taxation-advice-right p {
	color: #fff;
}

.tax-landlords {
	background-image: url('http://217.199.187.199/stewartharper1.co.uk/wp-content/uploads/2019/07/key-bg.png');
  	background-position: bottom;
  	background-size: cover;
  	background-repeat: no-repeat;
  	display: flex;
  	justify-content: flex-start;
    align-items: center;
  	height: 470px;
}

.tax-landlords-text {
	padding: 50px;
  	color: #000;
  	width: 50%;
}

.taxation-advice-left {
	background-image: url('http://217.199.187.199/stewartharper1.co.uk/wp-content/uploads/2019/07/tax-planning-overlay.jpg');
  	background-size: contain;
  	background-position: center;
 	background-repeat: no-repeat;
}

.tax-landlords-text h1 {
	color: var(--blue);
  	font-weight: 500;
}


/*End of accountancy services*/


/*Start of Contact Page*/

.contact-us {
display: flex;
margin: 40px 0;
}

.contact-us-left {
	width: 65%;
  	padding: 50px;
  	display: flex;
  	flex-direction: column;
  	
  	justify-content: center;
}
.contact-us-right {
	width: 35%;
  	padding: 50px;
}

.contact-us-left h1,
.contact-us-left span {
	color: var(--blue);
  	font-weight: 500;
}

.contact-us-left span {
	font-weight: 800 !important;
}

.contact-us-right {
	background-color: #f7f7f7;
}

input[type="text"]
{
    background-color: #fff;
    color: #000;
    width: 90%;
  	height: 50px;
  	font-family: 'Muli', sans-serif; !important;
  	font-size: 18px;
}

#message {
	font-family: 'Muli', sans-serif; !important;
  	width: 90%;
 	font-size: 18px;
}


.wpcf7-submit {
	background-color: var(--blue);
  	color: #fff;
  	border: none;
  	height: 50px;
  	width: 200px;
  	cursor: pointer;
}



/**/

/*MEDIA QUERIES*/

@media(min-width: 1124px) {
    .mobile-navigation {
        display: none;
    }
}

@media(max-width: 1123px) {
    .navigation {
        display: none;
    }
    
    .contact-details {
        display: flex;
        width: 100%;
        justify-content: center;
}
   
    
    .book {
        height: 300px;
    }
    
    .taxation-img {
        display: none;
    }
    
    .taxation {
        width: 100%;
    }
    
    .taxation-text {
        width: 90%;
    }
    
    .taxation p {
        line-height: 22px;
    }
}

@media (max-width: 1100px) {
  .about-content {
  	flex-direction: column;
  }
  
  .about-left,
  .about-right {
  	width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
    .header-info {
        flex-direction: column;
    }
    
    .header-info-one,
    .header-info-two,
    .header-info-three,
    .header-info-four {
        margin: 20px !important;
        width: 50% !important;
        
    }
    
    .intro-left {
        width: 100%;
    }
    
    .intro-right {
        display: none;
    }
    
    .taxation-text {
        width: 100%;
    }
    
    .footer-section-inner {
        flex-direction: column !important;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .footer-section-left,
    .footer-section-right {
        width: 100%;
        margin: 0;
    }
    
    .footer-section-left {
        padding-left: 30px;
    }
}

@media (max-width: 970px) {
	.accountancy-intro {
		flex-direction: column;
}

  .accountancy-left {
  		width: 90%;
  }
	.accountancy-right {
		width: 100%;
}
  
  .tax-landlords-text {
	padding: 70px !important;
  	width: 70%;
}

.tax-landlords {
	background: none !important;
  	height: 570px;
}
  
  
  .taxation-advice {
	flex-direction: column;
}

  .taxation-advice-left {
  	100%;
  }
.taxation-advice-right {
	width: 90%;
}
  
  .taxation-advice-right p {
    color: #fff;
    padding-right: 70px;
  	
  }
}

@media (max-width:992px) {
	.contact-us {
		flex-direction: column;
}

.contact-us-left,
  .contact-us-right {
  	width: 90%;
  }
  
  .contact-us-left {
  	flex-wrap: wrap;
  }
	
}


@media(max-width:600px) {
    .book {
        margin: 0;
    }
    
    .taxation-text {
        padding: 15px;
        height: 400px;
    }
    
    .services h1 {
        font-size: 20px;
    }
    
    .slider {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(25, 47, 103, 0.9);
        height: 60vh;
    }
    
    .mySlides {
        display: none !important;
    }
    
    .logo {
        margin: 0;
        
    }
}

@media (max-width:550px) {
    .taxation-text {
        height: 450px;
    }
    
    .contact-details {
        flex-direction: column;.
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .taxation-text {
        height: 550px;
    }
}

@media (max-width: 430px) {
    .logo img {
        width: 400px;
    }
}

@media (max-width: 400px) {
    .taxation-text {
        height: 600px;
    }
    
    .logo img {
        width: 360px;
    }
}

@media (max-width: 370px) {
    .taxation-text {
        height: 650px;
    }
  
  .tax-landlords {
	background: none !important;
  	height: 690px;
    margin-bottom: 20px;
}
}

@media (max-width: 300px) {
    .taxation-text {
        height: 800px;
    }
}

/*END OF MEDIA QUERIES*/
