html {
  scroll-behavior: smooth;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    font-family: "Playfair Display", serif;
}

li{
    list-style-position: inside;
    text-indent: -1em;
    padding-left: 1em;
}

p {
   font-family: 'Roboto', sans-serif; 
}

.offset-sm-1 {
    margin-left: 12%;
}

.page-link {
    font-size: 1.3em;  
    color: #2B3978;
}

.page-link:hover {
    color: #2B3978;
}

.page-item.active .page-link {
    background-color: #2B3978;
    border-color: #2B3978;
}

.card-title {
    color: #4E4E4E;
    font-family: "Playfair Display";
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 3.09px;
    line-height: 47px;   
}

.blogContent img{
    max-width: 100%;
    height: auto;
}

.companyContent {
    
}

@media only screen and (min-width: 300px) and (max-width: 430px) {
    .blogHeader {
        height: 75px !important;
    }
    
    .companyContent {
        /*margin-top: 100px;*/
    }
}

.navbar {
    padding: 0px !important;   
}

.navbar-brand img{
    height: 5rem;
    padding-left: 5rem;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: .3125rem;
    margin-bottom: .3125rem
}

.form.collapse {
    height: unset;   
}

.collapse {
    height: calc(6rem + .625rem);   
}

.navbar-nav {
    height: 100%;   
}

.navbar-nav .nav-link {
    padding: 0px !important;
    display: unset;
}

.nav-item {
    width: auto;
    height: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.nav-item:hover, .nav-item:focus, .nav-item:active {
    background-color: #2B3978;
}

.nav-item:hover .nav-link, .nav-item:focus .nav-link .nav-item:hover .active{
    color: #fff !important;
}

.nav-link:hover, .nav-link:focus, .nav-link:hover .active {
    color: #fff !important;   
}

.nav-link {
    color: #4E4E4E;
	font-family: "Playfair Display";
	font-size: 18px;
	font-weight: 900;
	letter-spacing: 1.59px;
	line-height: 24px;
	margin-right: 0%;
	margin-left: 0%;
	position: relative;
	top: 40%;
	transform: translateY(-50%);
}

.dropdown-item{
	font-family: "Playfair Display";
	font-weight: 900;
	letter-spacing: 1.59px;
	line-height: 24px;   
	white-space: unset;
	background-color: #2B3978;
    color: #fff;
    text-decoration: none;
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 1rem;
    margin-right: 1rem;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #fff;   
}

.dropdown-item:hover .multi-column-dropdown li a{
    background-color: #fff;   
    color: #4E4E4E !important;
}

.navbar-nav .active{
    border-bottom: 3.5px solid rgba(0,23,137,0.3);
}

.dropdown-menu {
    width: max-content;   
    left: unset;
    right: 0%;
    background-color: #2B3978;
    margin: 0px;
    border: 0px;
    border-radius: 0px;
}

.dropdown-menu.columns-2 {
	min-width: 400px;
}
.dropdown-menu.columns-3 {
	min-width: 600px;
}
.dropdown-menu li a {
	padding: 5px 15px;
	font-weight: 300;
}
.multi-column-dropdown {
	list-style: none;
    margin: 0px;
    padding: 0px 1rem;
}
.multi-column-dropdown li a {
	font-family: "Playfair Display";
	font-weight: 900;
	letter-spacing: 1.59px;
	line-height: 24px;    
    color: #fff;
    padding: unset;
}

.submenu {
    position: absolute;
    right: 100%;
    top: 2%;
    background-color: #2B3978;
    width: 120%;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    opacity: 0;
    transition: opacity .35s;
}

.submenu:hover {
    opacity: 1;   
}

.submenu ul {
    padding: 0px 1rem;   
}

#subMenuItem:hover + .submenu{
    opacity: 1;   
}
 
@media (max-width: 767px) {
	.dropdown-menu.multi-column {
		min-width: 240px !important;
		overflow-x: hidden;
	}
}

@media only screen and (max-width: 600px) {
 
    #mobileSidebar {
         display: flex;   
         margin-right: 5%;
         margin-left: 5%;
    }
    
    #topNav {
        display: none;   
    }
    
    .offset-sm-1 {
        margin-left: 0px !important;
    }
    
    .row {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    
    .collapse {
        height: unset !important;   
    }
    
    .aboutInfo img {
        left:0% !important;   
    }
    
    .offsetAboutLine {
        right: 0px !important;   
    }
    
    .headerOverlay {
        top: 100px !important;   
    }
    
    .headerOverlay h1{
        line-height: 40px;
        font-size: 24px;
    }
    
    .registerWithUsContent {
        margin-bottom: 3%;
        text-align: center;
    }
    
    .registerWithUs ul {
        padding-left: 0px !important;   
    }
    
    .serviceHeader {
        max-height: unset !important;   
    }
    
    .serviceHeaderText {
        width: -webkit-fill-available !important;   
        box-sizing: border-box !important;
        padding-bottom: 2rem !important;
        height: auto !important;
        padding-bottom: 15px;
        max-height: 600px; !important;   
    }
    
    .serviceHeaderTextContentDesc {
        left: unset !important;
        height: unset !important;
        padding-right: 0% !important;
    }
    
    .serviceHeaderTextContent h2 {
        width: unset !important;   
        left: unset !important;
        position: unset !important;
        height: unset !important; 
        margin-top: 80px;
        font-size: 1.8rem !important;
    }
    
    .servicePrice {
        height: 260px;
    }
    
    .servicePrice .stillHaveQuestions {
        /*position: relative !important;*/
        width: 100% !important;
    }
    
    .navbar-brand img{
        padding-left: 0rem;
    }
    
    .whyWork h3 {
        margin-bottom: 5vh;   
    }

    .nav-link {
        position: unset;
        top: unset;
        transform: none;
    }
    
    .nav-item {
         height: unset;
         width: unset;
    }
    
    .contactForm {
        margin-bottom: 15% !important;   
    }
    
    .registerWithUs {
        padding-left: 7% !important;
        padding-right: 7%;
    }
    
    .registerWithUs h2, .registerWithUs p {
        text-align: center !important;   
    }
    
    footer {
        text-align: center;   
        padding: 1rem !important;
    }
    
    footer .footerRight h2 {
        text-align: center !important;   
    }

}

@media only screen and (min-width: 601px) {
    
    #mobileSidebar {
         display: none;   
    }
    
     #topNav {
        display: flex;   
    }
}


.serviceMainHeader {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}

/* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #25336d; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  padding-bottom: 60px;
}

.dropdown-item-sidebar {
    white-space: unset !important; 
    padding: 8px 8px 8px 40px !important;
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  color: #fff;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
  background-color: #111832;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.header {

}

.headerImg {
    /* background-color: #f2f2f2; */
    background-image: url(https://cpcsecretarial.ie/storage/app/media/Office.jpg);
    height: 40vh; /*40vh */
    background-position-x: center;
    background-position-y: center;
}

.serviceHeaderImg img{
    height: 40vh;
    width: 100%;
    object-fit: cover;
}

.headerOverlay {
    display: flex;
    justify-content: center; 
    position: absolute;
    height: 40vh; /*40vh;*/
    top: 106px;
    width: 100%;
    background-color: rgba(0,19,125,0.29);
}

.headerOverlay h1 {
	margin: 0px;
    color: #FFFFFF;
	font-family: "Playfair Display";
	font-size: 32px;
	font-weight: 900;
	letter-spacing: 3.09px;
	line-height: 47px;
	position: relative;
}

.serviceHeader {
    position: relative;
    top: -50px;
    margin-left: 15%;
    margin-right: 15%;
}

.serviceHeaderText {
    background-color: #fff;
    margin-bottom: 0rem;
    box-shadow: 0 0 20px 0 rgba(101,101,101,0.25);
/*	height: 355px;
	width: 522px; */
	background-color: #FFFFFF;
    max-height: 600px;
    padding-bottom: 15px;
}

.serviceHeaderTextContent{
    box-sizing: border-box;
    height: auto;
    margin-bottom: 25px;
    margin-top: 87px;
}

.serviceHeaderTextContent  h2{
    position: relative;
    /*
    top: 81px;
    left: 60px; 
	width: 409px; */
	color: #4E4E4E;
	font-family: "Playfair Display";
	font-size: 35px;
	font-weight: 900;
	letter-spacing: 3.09px;
	line-height: 47px;
	padding-right: 5%;
	padding-left: 5%;
}

.serviceHeaderTextContentDesc {
    position: relative;
    /*
    top: 87px;
    left: 60px; */
	height: auto;
	color: #4E4E4E;
	font-family: "Playfair Display";
	font-size: 14px;
	letter-spacing: 1.59px;
	line-height: 19px;   
	padding-right: 5%;
	padding-left: 5%;
}

.services {
    position: relative;
    top: -50px;
    margin-left: 15%;
    margin-right: 15%;
}

.service {
    background-color: #fff;
    margin-bottom: 3rem;
    box-shadow: 0 0 20px 0 rgba(101,101,101,0.25);
    height: 220px;
    width: 220px;
    margin-right: 1rem;
    margin-left: 1rem;
    border: none;
}

.service a {
    text-decoration: none;   
}

.service a h2{
    color: #4E4E4E;	
    font-family: "Playfair Display";	
    font-size: 18px;	
    font-weight: 900;	
    letter-spacing: 1.59px;	
    line-height: 24px; 
    text-align: left;
}

.service:hover {
    width: 240px;
    height: 240px;
    margin-bottom: calc(3rem - 30px);
    margin-left: 0.3rem;
    margin-right: 0.3rem;
    transition: width .35s, height .35s, margin-left .35s, margin-right .35s;
}

.service:hover a h2{
    color: #001789;	
}

.service:hover .offsetLine {
    background-color: #001789;
    width: 187px;
    left: -3%;
    transition: width .35s ease-in-out,left .35s ease-in-out;
}

.offsetServiceLine{
    height: 8px;
    width: 125px;
	background-color: #2B3978;
    position: absolute;
    top: 60px;
    left: -14px;
}

.offsetLine {
    height: 8px;
    width: 125px;
    background-color: #D8D8D8;
    position: relative;
    left: -7%;
}

.serviceImg {
    margin-bottom: 1rem;   
}

.serviceText {
    width: 110px;
    height: 70px;
    margin: auto;
    margin-top: 1rem;
}

.whyWork {
    background-color: #2B3978;   
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.whyWork h2 {
	color: #FFFFFF;
	font-family: "Playfair Display";
	font-size: 35px;
	font-weight: 900;
	letter-spacing: 3.09px;
	line-height: 47px;
	margin-bottom: 2rem;
}

.whyWork p {
	color: #FFFFFF;
	font-size: 14px;
	letter-spacing: 1.59px;
	line-height: 16px;
	text-align: center;
	margin-left: 15%;
	margin-right: 15%;
}

.whyWork h3 {
    color: white;
}

.whyWorkIcons {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 3rem;
}

.whyWorkIcons img {
    margin-bottom: 1rem;
    height: 50px;
}

.registerWithUs {
    padding-top: 3rem;
    padding-bottom: 3rem;   
    padding-left: 15%; 
}

.registerWithUs h2 {
	color: #4E4E4E;
	font-family: "Playfair Display";
	font-size: 35px;
	font-weight: 900;
	letter-spacing: 3.09px;
	line-height: 47px;
	margin-bottom: 2rem;
}

.registerWithUs p {
	color: #4E4E4E;
	font-size: 14px;
	letter-spacing: 1.59px;
	line-height: 16px;
	text-align: justify;   
}

.registerWithUs button {
    margin-top: 2rem;   
}

.contactButton {
    color: #2B3978;  
    background: transparent;
    border: 2px solid #2B3978;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 10px 5px 10px;
}

.contactButton:hover {
    color: #ffffff;  
    background: #2B3978;
}

.registerWithUs ul{
    list-style: none;
}

.registerWithUs a:hover{
    text-decoration: none;   
}

.registerWithUs ul li {
    background-color: #2B3978;  
    color: white;
    margin-bottom: 15px;
    padding: 5px;
}

.registerWithUs ul li a{
    text-decoration: none;
    color: white;
}

.registerWithUs ul li:hover{
    background: #fff;
    color: #2B3978;
    border: 2px solid #2B3978;
    margin-bottom: 11px;
}

.registerWithUs ul li:hover a{
    color: #2B3978;
}

.registerWithUs ul li:before {
     content: "• ";
     margin-right: 5px;
     margin-left: 5px;
}

.clientsSay {
    background-color: #2B3978;   
    padding-top: 3rem;
    padding-bottom: 3rem;  
}

.clientsSay h2 {
    color: #FFFFFF;
	font-size: 35px;
	font-weight: 900;
	letter-spacing: 3.09px;
	line-height: 47px;
	margin-bottom: 2rem;
}

.clientsSay h4 {
	color: #FFFFFF;
	font-size: 20px;
	font-style: italic;
	font-weight: 900;
	letter-spacing: 1.77px;
	line-height: 27px;
	text-align: center;
}

.clientsSay p {
	color: #FFFFFF;
	font-size: 14px;
	letter-spacing: 1.59px;
	line-height: 16px;
	text-align: center;
}

.blogFeed {
    background-color: #FAFAFA;   
    padding-top: 3rem;
    padding-bottom: 3rem;  
}

.blogFeed img {
    max-height: 16rem;   
}

.blogFeed h2 {
    color: #4E4E4E;
	font-size: 35px;
	font-weight: 900;
	letter-spacing: 3.09px;
	line-height: 47px;
	margin-bottom: 2rem;
}

.blogFeed h4 {
	color: #4E4E4E;
	font-size: 20px;
	font-style: italic;
	font-weight: 900;
	letter-spacing: 1.77px;
	line-height: 27px;
	text-align: center;
}

.blogFeed p {
	color: #4E4E4E;
	font-size: 14px;
	letter-spacing: 1.59px;
	line-height: 16px;
	text-align: center;
}

.carousel-indicators {
    bottom: unset !important;   
    top: 100%;
}

.carousel-item {
    min-height: 130px;   
    padding-right: 15%;
    padding-left: 15%;
    transition: transform 1.4s ease-in-out,-webkit-transform 1s ease-in-out;
}

footer {
    padding: 3rem;
    box-shadow: 0 0 11px 0 rgba(0,0,0,0.28);
}

footer svg {
    height: 33px;   
}

footer h3{
    font-weight: 900;
}

footer .footerLeft img{
    max-height: 120px;
}

footer .footerLeft h3{
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
	color: #4E4E4E;
	font-size: 25px;
	font-style: italic;
	font-weight: 900;
	letter-spacing: 3.09px;
	line-height: 33px;
}

.footerLine {
   /* border: 2px solid #f2f2f2;  */
	height: 4px;
	width: 100%;
	opacity: 0.3;
	background-color: #001789;
	margin-bottom: 2rem;
}

footer .footerMiddle {
    padding-right: 10%;   
}

.footerMiddle img{
    height: 25px;
    margin-right: 15px;
}

footer ul li {
    list-style-type: none;  
}

footer .footerRight h2 {
	color: #4E4E4E;
	font-size: 14px;
	letter-spacing: 1.09px;
	line-height: 16px;
	text-align: left;
	font-family: 'Roboto'
}

footer .footerRight ul {
	padding-left: 0px;
}

footer .footerRight ul li {
	margin-bottom: 1rem;
}

.otherServices {
    background-color: #FAFAFA;
}

.otherServicesHeader {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.otherServicesHeader h2 {
	color: #4E4E4E;
	font-size: 35px;
	font-weight: 900;
	letter-spacing: 3.09px;
	line-height: 47px;
}

.stillHaveQuestions {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #2B3978;
}

.stillHaveQuestions h2 {
	color: #FFFFFF;
	font-size: 35px;
	font-weight: 900;
	letter-spacing: 3.09px;
	line-height: 47px;
	text-align: center;
}

.stillHaveQuestions p{
	color: #FFFFFF;
	font-size: 20px;
	font-style: italic;
	letter-spacing: 1.77px;
	line-height: 27px;
	text-align: center;
}

.stillHaveQuestions button{
    color: #FFFFFF;  
    background: transparent;
    border: 2px solid #FFFFFF;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 10px 5px 10px;
}

.stillHaveQuestions button:hover {
    color: #2B3978;  
    background: #ffffff;
}

.stillHaveQuestions ul{
    list-style: none;
    padding-left: 0px;
}

.stillHaveQuestions ul li {
    background-color: #2B3978;  
    color: white;
    margin-bottom: 15px;
    padding: 5px;
    text-align: left;
}

.stillHaveQuestions ul li a{
    text-decoration: none;
    color: white;
}

.stillHaveQuestions a:hover{
    text-decoration: none;
}

.stillHaveQuestions ul li:hover{
    background: #fff;
    color: #2B3978;
    border: 2px solid #2B3978;
}

.stillHaveQuestions ul li:hover a{
    color: #2B3978;
}

.stillHaveQuestions ul li:before {
     content: "• ";
     margin-right: 5px;
     margin-left: 5px;
}

.servicePrice .stillHaveQuestions {
	position: absolute;
	left: 0px;
	bottom: 28%;
	height: 170px;
	width: 466px;  
}

.servicePrice .stillHaveQuestions h1{
	color: #FFFFFF;
	font-size: 40px;
	font-weight: 900;
	letter-spacing: 1.47px;
	line-height: 48px;
	text-align: center; 
}

.form {
    padding-left: 15%;
    padding-right: 15%;
    background-color: #2B3978;
    padding-top: 3%;
    padding-bottom: 3%;
}

.form h2{
	color: #fff;
	font-size: 25px;
	font-weight: 900;
	letter-spacing: 3.09px;
	line-height: 33px;
}

.form h3 {
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 1.73px;
	line-height: 19px;   
}

.form input {
    box-shadow: 0 0 20px 0 rgba(101,101,101,0.25);
}

.form label {
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 1.73px;
	line-height: 19px;   
}

.submitButton {
    color: #fff;  
    background: transparent;
    border: 2px solid #fff;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 10px 5px 10px;
}

.submitButton:hover {
    color: #2B3978;  
    background: #fff;
    border: 2px solid #2B3978;
}

.form hr {
    border-top: 1px solid rgba(255,255,255,.1) !important;   
}

.formSpacer {
    margin-top: 15px;   
}

.aboutContent {
    position: relative;
    top: 0;
    left: -5px;
    padding-top: 12%;
}

.aboutContent img {
    height: 70px;
}

.aboutContent h3 {
	color: #3548A4;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 1.59px;
	line-height: 16px;
	text-align: center;  
	margin-top: 5%;
}

.aboutInfo {
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 5%;
}

.aboutInfo img{
    height: 200px;
    width: 100%;
    object-fit: cover;
    position: relative;
    top: 5%;
    left: 3%;
}

.aboutInfoContent {
	width: 534px;
	background-color: #FFFFFF;
	box-shadow: 0 0 20px 0 rgba(101,101,101,0.25);
	padding: 95px 48px 43px 63px;
}

.aboutInfoContent p{
	color: #4E4E4E;
	font-size: 14px;
	letter-spacing: 1.59px;
	line-height: 19px;
}

.offsetAboutLine {
    height: 8px;
    width: 150px;
	background-color: #2B3978;
    position: absolute;
    top: 60px;
    right: -25px;
}

.meetOurTeam {
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 3%
}

.meetOurTeam h2{
	color: #4E4E4E;
	font-size: 35px;
	font-weight: 900;
	letter-spacing: 3.09px;
	line-height: 47px;
	margin-bottom: 3%
}

.meetOurTeam img {
	height: 302px;
	width: 254px;
	background-color: #FFFFFF;
	box-shadow: inset 0 1px 3px 0 rgba(0,0,0,0.5), inset 0 1px 3px 0 rgba(0,0,0,0.5), 0 0 20px 0 rgba(101,101,101,0.25);
	border: 11px solid #fff;
}

.meetOurTeam h3 {
	color: #4E4E4E;
	font-size: 16px;
	font-weight: 900;
	letter-spacing: 1.98px;
	line-height: 21px;
	text-align: center;
}

.meetOurTeam h4 {
	color: #4E4E4E;
	font-size: 14px;
	font-style: italic;
	letter-spacing: 1.59px;
	line-height: 19px;
	text-align: center; 
}

.contactForm {
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 3%;
}

.contactForm input, select, textarea {
    box-shadow: 0 0 20px 0 rgba(101,101,101,0.25);   
}

.form-control {
    border: none !important;
    border-radius: unset !important;
}

.select2 {
    display: none!important;   
}



.tile-section .tile-box{
	background: #FFFFFF;
	box-sizing: border-box;
	box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
}

.tile-section .tile-box .header-tile{
    background-color: #B5BBD9;
    padding: 12px 20px;
	border: 1.5px solid #B5BBD9;
    color: #000000;
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 23px;
	min-height: 72px;
}

.tile-section .tile-box .tile-list-section {
	border: 1.5px solid #B5BBD9;
}

.tile-section .tile-box .tile-list{
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}
.tile-section .tile-box ul{
    margin-top: 0rem;
    margin-bottom: 0rem;
    padding-left: 0px;
    list-style: none;
}
.tile-section .tile-box ul > li {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 40px;
    text-align: left;
}
.tile-section .tile-box ul li::before {
	content: "\2022";
    color: #B5BBD9;
    font-weight: bold;
    display: inline-block;
    width: 1em;
}

.tile-section .tile-box .tile-price {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: bold;
	font-size: 24px;
	line-height: 40px;
	color: #011689;
	font-feature-settings: 'pnum' on, 'lnum' on;
	padding: 5px 0px;
}
.tile-section .tile-box .contactButton {
	background-color: #011689;
	color: #ffffff;
	width: 100%;
    padding: 10px 5px;
}
.tile-section .tile-box .contactButton:hover{
    background-color: transparent;
    color: #011689;
}

.contactButtonIndivual{
    background-color: #2B3978 !important;
    color: #ffffff !important;
    border: 2px solid #2B3978 !important;
    padding: 10px 0px !important;
    font-size: 18px;
    width: 70%;
}
.contactButtonIndivual:hover{
    background-color: transparent !important;
    color: #011689 !important;
    border: 2px solid #2B3978 !important;
    font-weight: 700 !important;
}

.modal .contactButtonIndivual{
    font-size: 16px;
    width: 45%;
}
.modal .contactButtonIndivual.first{
    margin-right: 30px;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1300px) {
    
    .services {
        margin-left: 5%;
        margin-right: 5%;
    }
    
    .service {
        margin-bottom: 3rem;
        height: 140px;
        width: 140px;
        margin-right: 1rem;
        margin-left: 1rem;
    }
    
    .serviceImg img {
        max-height: 50px;
    }
    
    .service a {
        text-decoration: none;   
    }
    
    .service a h2{	
        font-size: 14px;	
        font-weight: 900;	
        line-height: 20px; 
        text-align: left;
    }
    
    .service:hover {
        width: 160px;
        height: 160px;
        margin-bottom: calc(3rem - 30px);
        margin-left: 0.3rem;
        margin-right: 0.3rem;
    }
    
    .service:hover .offsetLine {
        background-color: #001789;
        width: 150px;
        left: -5%;
        transition: width .35s ease-in-out,left .35s ease-in-out;
    }
    
    .offsetLine {
        height: 8px;
        width: 75px;
        background-color: #D8D8D8;
        position: relative;
        left: -12%;
    }
    
    .serviceText {
        width: 110px;
        height: 70px;
        margin: auto;
        margin-top: 0.3rem;
    }
    
    .whyWork {
        padding-bottom: 3%;
        padding-top: 3%;
    }
    
    .whyWork h3 {
        font-size: 1.5rem !important;
    }
    
    footer {
        margin-right: unset !important;   
    }
    
    footer .footerMiddle {
        padding-right: unset;  
    }
    
    #mobileSidebar {
         display: flex;   
         margin-right: 5%;
         margin-left: 5%;
    }
    
    #topNav {
        display: none;   
    }
    
    .navbar-expand-lg .navbar-toggler {
        display: unset !important;   
    }
    
    .navbar-toggler {
        margin-left: auto;   
    }
    
    .nav-link {
        position: unset;
        top: unset;
        transform: none;
    }
    
    .nav-item {
         height: unset;
         width: unset;
    }
    
    .headerOverlay {
        top: 100px;   
    }
    
    .serviceHeader {
        max-height: unset !important;  
        margin-left: 7%;
        margin-right: 7%;
    }
    
    .serviceHeaderText {
        box-sizing: border-box !important;
        width: -webkit-fill-available !important;   
        box-sizing: border-box !important;
        padding-bottom: 2rem !important;
        height: auto !important;
        padding-bottom: 15px;
    }
    
    .serviceHeaderTextLong {
        padding-bottom: 6rem !important;
    }
    
    .serviceHeaderTextContent {
        margin-top: 50px;
    }
    
    .offsetServiceLine {
        top: 30px;
    }
    
    .serviceHeaderTextContentDesc {
        left: unset !important;
        height: 200px !important;
        padding-right: 0% !important;
    }
    
    .serviceHeaderTextContent h2 {
        width: unset !important;   
        left: unset !important;
        position: unset !important;
        height: unset !important; 
        margin-top: 80px;
        font-size: 30px !important;
    }
    
    .servicePrice .stillHaveQuestions {
        width: 100% !important;
    }
}

@media only screen and (min-device-width: 1025px) and (max-device-width: 1400px) {
    .serviceHeaderTextContentDesc {
        height: 250px !important;
    }
}


.modal .form-control{
    border: 1px solid #dee2e6 !important;
    box-shadow: none !important;
}
.modal .form-control:focus {
    box-shadow: none; 
    border: 1px solid #2B3978 !important;
}

.callback-modal-header{
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
    background-color: #2B3978;
    color: white;
    padding: 1vw;
}

.callback-modal-header .header-text-container{
    display: flex;
    align-items: center;
}

.callback-modal-header button{
    font-size: 20px;
    font-weight: 1px;
    color: white;
}

.callback-subheader{
    padding: 0 1vw;
}

.modal-footer{
    justify-content: center;
}

.headerContainer{
    position: relative;
    display: flex;
    flex-wrap: wrap;   
    height:100%;
    align-items: center;
    width: 65%;
}

.headerContainer .col{
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;  
    justify-content: center; 
    flex-basis: 50%;
}

.headerContainer .contactButtonIndivual{
    background-color: #ffffff !important;
    color: #2B3978 !important;
    width: 100%;
    margin: 0 2vw;
    font-family: "Playfair Display";
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 3.09px;
    line-height: 47px;
    box-shadow: 0 0 20px 0 rgba(101,101,101,0.25)
}

@media (max-width: 767px) {
    .headerOverlay {
        height: 60vh;
    }
    .headerImg {
        height: 60vh;
    }
    .headerContainer{
        width: 100%;
        justify-content: center;
    }
    .headerContainer .col{
        flex-basis: 100%;
        height: 50%;
    }
    .headerContainer h1{
        margin-left: 0px;
        text-align: center;
        height: auto;
        line-height: 32px;
    }
    .headerContainer .contactButtonIndivual{
        letter-spacing: 1px;
        margin-bottom: 50px;
    }
}
