/* General Styling */
body {
    font-family: 'Lato', sans-serif;
    padding: 0;
    margin: 0;
}
h1 {
    margin-top: 30px;
    margin-bottom: 15px;
}
h2, h3, h4, h5, h6 {
    margin-top: 40px;
    margin-bottom: 15px;
}
strong, b {
    font-weight: bold;
}
ul,
li,
i,
p {
    font-size: 16px;
    color: #2f3038;
    FONT-WEIGHT: 300;
    line-height: 26px;
}
a:visited,
a {
    color: #23274e;
    text-decoration: underline;
}
a:focus,
a:active,
a:hover {
    color: #23274e;
    text-decoration: none;
}
em,
i {
    font-style: italic;
}
hr {
    margin-top: 40px;
    margin-bottom: 40px;
}
.slider {
    max-height: 580px;
    min-height: 580px;
    overflow: hidden;
}
.pre-header,
.slider,
.separator,
.section,
.quote_section,
.slider_standard,
.services,
.software_slider,
.team_slider,
.app,
.contact,
.recent-news,
.google_map,
.footer {
    float: left;
    width: 100%;
}
.home h2 {
    font-size: 28px;
    font-weight: bold;
}
.section h2 {
    text-align: center;
}
.carousel-control,
.carousel-control span {
    color: #fff !important;
    opacity: 1;
}
.carousel-control.left {
    background-image: none;
    background-repeat: no-repeat;
}
.carousel-control.right {
    right: 0;
    left: auto;
    background-image: none;
    background-repeat: no-repeat;
}
.carousel-indicators li {
    border: 1px solid #9598a6;
    background-color: #FFF;
}
.carousel-indicators .active {
    background-color: #212747;
}
.hidden-div {
    display: none;
}
i.fa {
    margin-right: 10px;
}
/* General END */

/* Header Styling */
.pre-header {
    background: #FFF;
    padding: 20px 0 10px 0;
}
.second-logo {
    width: 70px;
    position: absolute;
    top: -20px;
    right: -40px;
    z-index: 999;
}
@media screen and (max-width: 1200px) {
    .second-logo {
        display: none;
    }
}
img.icaew-header {
    position: relative;
    width: 100px;
    margin-top: 5px;
}
div#bs-example-navbar-collapse-1 {
    padding: 0;
}
nav.nav.navbar-default {
    background: transparent;
}
.navbar-header {
    float: right;
}
div#bs-example-navbar-collapse-1 {
    margin-top: 10px;
}
.navbar-default .navbar-nav > li:active,
.navbar-default .navbar-nav > li:focus,
.navbar-default .navbar-nav > li:visited,
.navbar-default .navbar-nav > li:hover {
    background: #373a4c;
}
.navbar-default .navbar-nav>li>a,
.navbar-default .navbar-nav>li>a:visited {
    color: #373a4c;
    text-decoration: none;
    padding: 10px 10px;
}
.navbar-default .navbar-nav>li:focus>a,
.navbar-default .navbar-nav>li:active>a,
.navbar-default .navbar-nav>li:hover>a {
    color: #FFF;
    text-decoration: none;
    padding: 10px 10px;
}
nav.navbar.navbar-default {
    background: transparent;
    border: none;
}

ul.dropdown-menu ul.dropdown-menu { top: -2px; left: 100%; right: auto; border-radius: 0px 5px 5px 0px; }

li.dropdown:hover > ul.dropdown-menu {
    display: block;
}
ul.dropdown-menu {
    padding: 0;
    border: none;
}
ul.dropdown-menu li {
    padding: 5px 0;
}
ul.dropdown-menu li:hover > a:active,
ul.dropdown-menu li:hover > a:focus,
ul.dropdown-menu li:hover > a:visited,
ul.dropdown-menu li:hover > a:hover,
ul.dropdown-menu li:hover > a,
ul.dropdown-menu li:hover {
    background: #373a4c;
    color: #FFF;
}
ul.dropdown-menu > li > a {
    text-decoration: none;
}
.dropdown-menu li a {
    font-weight: 300;
    font-size: 14px;
}
/* Header END */

/* Slider Styling */
.slider .item.contact_slide h2 {
    text-align: center;
}
.slider .item.contact_slide {
    padding: 5% 0 5% 0;
    min-height: auto;
}
.slider .item.slide1 {
    padding: 7% 0 5% 0;
}
.slider .item {
    float: left;
    width: 100%;
    padding: 9% 0 5% 0;
    background-position: center !important;
    background-size: cover !important;
    min-height: 585px;
    max-height: 585px;
}
.slider .item .header-img {
    margin: 0 auto;
    display: block;
    position: relative;
    top: -40px;
}
.slider .item .cp-waites h2 {
    text-align: center;
}
.slider .item h2 {
    color: #FFF;
    font-weight: bold;
    text-align: left;
}
.slider .item p {
    color: #FFF;
}
.black-bg {
    background: rgba(0,0,0,0.7);
    padding: 40px;
    margin-top: -10px;
}
.black-bg h2 {
    margin-top: 0;
}
/* === === === Standard Page Banner === === === */
.slider_standard .item {
    float: left;
    width: 100%;
    padding: 6% 0;
    background-position: center !important;
    background-size: cover !important;
}
.slider_standard .item .header-img {
    margin: 0 auto;
    display: block;
}
.slider_standard .item h2 {
    color: #FFF;
    font-weight: bold;
}
.slider_standard .item p {
    color: #FFF;
}
.single_article img {
    margin: 10px 20px 0 0;
}
.btn.btn-blue:visited,
.btn.btn-blue {
    background: #7a80a2;
    color: #FFF;
    margin-top: 10px;
    text-decoration: none;
}
.btn.btn-blue:active,
.btn.btn-blue:focus,
.btn.btn-blue:hover {
    background: #676d8e;
    color: #FFF;
    margin-top: 10px;
    text-decoration: none;
    transition: all 0.5s;
}
.services .btn.btn-blue:active,
.services .btn.btn-blue:focus,
.services .btn.btn-blue:hover {
    background: #eb7312;
}
/* Slider END */

/* Section Styling */
.section {
    background: url('/images/app-bg.jpg') no-repeat center;
    -webkit-background-size: cover;
    background-size: cover;
    box-shadow: inset 10px 10000px 10px rgba(5,55,84, 0.6);
    padding: 2% 0 4% 0;
    color: #FFF;
}
.section a h3 {
    margin-top: 0;
}
.section h2 {
    margin-bottom: 30px;
}
.sectino h2,
.section h3,
.section p {
    color: #2c2a29;
    transition: all 0.5s;
}
.section a:visited,
.section a {
    text-decoration: none;
    transition: all 0.5s;
    display: block;
    color: #2c2a29;
    min-height: 200px;
    border-top: 8px solid #eb7313;
    background: #FFF;
    padding: 20px 20px 10px 20px;
}
.sidebar i,
.section i {
    color: #eb7312;
}
.section a:focus p,
.section a:hover p,
.section a:active p,
.section a:focus h3,
.section a:hover h3,
.section a:active h3,
.section a:focus h2,
.section a:hover h2,
.section a:active h2 {
    text-decoration: none;
    cursor: pointer;
    color: #eb7312;
}
/* Section END */

/* Services Styling */
.services {
    padding: 2% 0 4% 0;
    border-bottom: dotted 2px #7a80a2;
}
ul.services-ul {
    display: block;
    padding: 0;
    margin-top: 20px;
}
.services-ul li {
    display: inline;
    margin-right: 10px;
}
/* Services END */

/* Software Styling */
.software_slider {
    padding: 2% 0 4% 0;
}
.software_slider .item h2 {
    text-align: left;
}
.software_slider .carousel-control {
    color: #eb7312;
}
.software_slider .item img {
    margin-top: 10px;
}
.software_slider .carousel-control.right {
    right: -15%;
    left: auto;
}
.software_slider .carousel-control.left {
    left: -15%;
}
.software_slider .item {
    min-height: 166px;
}
/* Software END */

/* Team Home Styling */
.team_slider {
    padding: 2% 0 4% 0;
    border-bottom: dotted 2px #7a80a2;
}
p.fname {
    font-weight: bold;
    margin: 10px 0 0 0;
}
.team_slider ol.carousel-indicators {
    bottom: -40px;
}
/* Team Home END */

/* App Home Styling */
.app {
    padding: 2% 0 4% 0;
    background: url(/images/app-bg.jpg), no-repeat center;
    box-shadow: inset 10px 10000px 10px rgba(5,55,84, 0.6);
    background-size: cover;
    color: #FFF;
}
.app p {
    color: #FFF;
}
.app ol.carousel-indicators {
    bottom: -60px;
}
/* App Home END */

/*Contact Styling*/
.contact {
    padding: 2% 0 4% 0;
}
.form-control {
    border: solid 1px #d3d3d3;
    box-shadow: none;
    border-radius: 0;
    box-shadow: none;
}
.g-recaptcha {
    float: right;
}
/* Contact END */

/* Recent News Styling */
.recent-news {
    background: #23274e;
    padding: 4% 0;
}
.news-item {
    opacity: 1;
    transition: all 0.5s;
}
.news-item:focus,
.news-item:active,
.news-item:hover {
    opacity: 0.8;
}
.news-item a:active,
.news-item a:focus,
.news-item a:visited,
.news-item a:hover,
.news-item a {
    text-decoration: none;
}
.news-item h3,
.news-item p {
    color: #FFFFFF;
}
.news-item p.news-date {
    font-size: 14px;
}
/* Recent News END */

/* Google Map Styling */
#map {
    height: 600px;
    float: left;
    width: 100%;
}
.google_map {
    width: 100%;
}
/* Google Map END */

/* Footer Styling */
.footer {
    padding: 2% 0 2% 0;
    background: #053754;
    border-top: solid 4px #053754;
    color: #FFFFFF !important;
}
span.footer_social {
    float: left;
    color: #97999b;
    width: 40px;
    margin-top: 20px;
}
.footer h3 {
    margin-top: 0;
}
.footer p {
    color: #FFFFFF !important;
}
.subscribe input.form-control {
    background: transparent;
    color: #FFF;
    height: 42px;
    border: solid 2px #FFF;
    font-size: 14px;
}
.subscribe input.form-control::-webkit-input-placeholder { /* Chrome */
    color: #FFF;
}
.subscribe input.form-control:-ms-input-placeholder { /* IE 10+ */
    color: #FFF;
}
.subscribe input.form-control::-moz-placeholder { /* Firefox 19+ */
    color: #FFF;
    opacity: 1;
}
.subscribe input.form-control:-moz-placeholder { /* Firefox 4 - 18 */
    color: #FFF;
    opacity: 1;
}
ul.footer-nav {
    padding-left: 0;
    width: 100%;
    float: left;
}
ul.footer-nav li {
    list-style-type: none;
    line-height: 26px;
}
ul.footer-nav li a {
    color: #FFF;
    text-decoration: none;
}
ul.footer-nav li a:hover {
    color: #FFF;
}
.more-padding {
    padding: 15px 40px;
}
.btn.btn-dblue:visited,
.btn.btn-dblue {
    background: #eb7312;
    margin-top: 10px;
    color: #FFF;
    text-decoration: none;
}
.btn.btn-dblue:active,
.btn.btn-dblue:focus,
.btn.btn-dblue:hover {
    background: #d26711;
    margin-top: 10px;
    color: #FFF;
    text-decoration: none;
}
.copyright p {
    line-height: 170px;
}
/* Footer END */

/* Standard Content Styling */
.standard-content {
    float: left;
    width: 100%;
    padding: 2% 0 4% 0;
}
.margin-img {
    margin: 10px 15px 15px 0;
}
.standard-content .col-sm-8 li,
.standard-content .col-sm-8 p {
    color: #333;
}
.sidebar {
    margin-top: 30px;
}
.cta {
    float: left;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    transition: all 0.5s;
    border-top: solid 8px #eb7313;
}
.cta:hover {
    background: #7a80a2;
    padding: 10px;
    color: #FFF;
    border-top: solid 8px #5e627b;
}
.cta:hover a:focus,
.cta:hover a:active,
.cta:hover a:visited,
.cta:hover a:hover,
.cta:hover a,
.cta:hover i.fa,
.cta:hover p {
    color: #FFF !important;

}
.cta h3 {
    margin-top: 0;
}
.cta a {
    color: inherit;
    text-decoration: none;
}
.sidebar .news-item {
    float: left;
    width: 100%;
}
.sidebar .news-item h3,
.sidebar .news-item p {
    color: #7a80a2;
}
/* Standard Content END */

/* Blog Styling */
.pagination-blog {
    float: left;
    width: 100%;
    padding-top: 3%;
    padding-bottom: 8%;
}
.pagination-blog li {
    list-style-type: none;
}
.pagination-blog li .btn {
    margin-top: 0;
}
.pagination-post .post-counter {
    margin-top: 20px;
}
.pagination-post .post-counter,
.pagination-blog .post-counter {
    text-align: center;
}
.pagination-post .post-counter p,
.pagination-blog .post-counter p {
    font-size: 16px;
    color: #676767;
    font-weight: 300;
}
.right_nav a,
.left_nav a {
    padding: 6px 12px;
    background: #23274e;
    color: #fff;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    transition: 0.5s all;
    border-radius: 4px;
}
.right_nav a:focus,
.right_nav a:hover,
.left_nav a:focus,
.left_nav a:hover {
    background: #023163;
    color: #fff;
}
.right_nav a {
    float: right;
}
.blog-side {
    margin-bottom: 60px;
}
.blog-side h3 {
    font-size: 18px;
    font-weight: 400;
    color: #676767;
}
.blog-side ul {
    padding-left: 0;
}
.blog-side ul li {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 10px;
}
.blog-side ul li a {
    color: #676767;
}
.blog-side ul li.current a,
.blog-side ul li a:hover {
    color: #004a99;
    text-decoration: none;
}
.blog-side ul li,
.blog-side li {
    list-style-type: none;
}
.rss img {
    opacity: 0.7;
    transition: 0.5s all;
}
.rss:hover img {
    opacity: 1;
}
.rss h3 {
    margin-top: 10px;
}
.rss:hover a {
    text-decoration: none;
}
/* Blog END */

/* Post Styling */
/* Header styling due to there being no header image on this page */
.pagination-post {
    padding-bottom: 5%;
    margin-bottom: 3%;
    float: left;
    width: 100%;
}
/* Post END */

/* Team Styling */
.home-team {
    float: left;
    width: 100%;
    padding: 2% 0 4% 0;
}
.team-profile-wrapper {
    width: 100%;
    float: left;
}
.team-profile {
    max-width: 100%;
    width: 900px;
}
.fancybox-skin {
    background: #FFF !important;
}
.profile-name {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}
.job-title{
    font-size: 20px;
    margin-top: 5px;
}
.team-profile {
    text-decoration: none;
    opacity: 1;
    transition: all 0.5s;
    display: block;
}
.team-profile:hover{
    opacity: 0.8;
}
/* Team END */

/* Contact Styling */
.contact-page {
    float: left;
    width: 100%;
    padding: 2% 0 4% 0;
}
.contact-page h2 {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}
.contact-content ul {
    padding-left: 23px;
}
.contact-content ul li {
    list-style-type: none;
}
.form-control:focus {
    border-color: #72799a;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(114,121,154,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(114,121,154,.6);
}
textarea.form-control {
    border: solid 1px #d3d3d3;
    border-radius: 0;
    resize: none;
    box-shadow: none;
    height: 76px;
    outline: none;
}
span.wpcf7-not-valid-tip {
    color: #f00;
    font-size: 1em;
    font-weight: normal;
    display: block;
    border-top: solid 2px #F00;
    padding: 10px 10px 10px 10px;
    top: -2px;
}
div.wpcf7-validation-errors {
    border: 2px solid #f7e700;
    margin: 30px 0 0 0;
}
/*Contact END */
/* Smartphone Detection */
#mobileAppDownload {
    background: rgba(0, 0, 0, 0.8);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9999999;
}
#mobileAppDownload > div {
    background: linear-gradient(90deg, rgba(5,55,84,1) 0%, rgba(23,107,156,1) 100%);
    font-family: sans-serif;
    font-size: 0.9em;
    margin-top: -70px;
    padding: 5em 1em;
    position: absolute;
    text-align: center;
    top: 30%;
    width: 100%;
}
#mobileAppDownload h3,
#mobileAppDownload p {
    margin-top: 0;
    color: #fff;
}
#mobileAppDownload .text a {
    background: #eb7312;
    color: #fff;
    display: block;
    margin: 1.5em auto 0;
    padding: 1em;
    text-decoration: none;
    width: 15em;
    font-size: 16px;
}
#mobileAppDownload .close-btn {
    border: 1px solid #FFF;
    border-radius: 5em;
    color: #FFF;
    font-size: 1.2em;
    font-weight: bold;
    padding: 0.3em 0.8em 0.4em;
    position: absolute;
    right: 0.5em;
    text-decoration: none;
    top: 0.5em;
}
/* Smartphone Detection End */
.slider_standard .testimonials .item {
    min-height: 430px;
}
/*

Responsive Tweaks

*/
@media screen and (max-width: 1200px) {
    .navbar-default .navbar-nav>li>a,
    .navbar-default .navbar-nav>li>a:visited,
    .navbar-default .navbar-nav>li:focus>a,
    .navbar-default .navbar-nav>li:active>a,
    .navbar-default .navbar-nav>li:hover>a {
        padding: 10px 8px;
        font-size: 15px;
    }
    .section h3 {
        font-size: 19px;
    }
    .navbar {
        margin-bottom: 0;
    }
    div#bs-example-navbar-collapse-1 {
        margin-top: 0px;
    }
}
@media screen and (max-width: 991px) {
    ul.dropdown-menu ul.dropdown-menu { top: -2px; right: 100%; left: auto; border-radius: 5px 0px 0px 5px; }

    .software_slider {
        display: none;
    }
    .section h3 i {
        display: none;
    }
    .navbar {
        margin-bottom: 0;
    }
    img.logo {
        float: none;
        margin: 0 auto;
    }
    .navbar-default .navbar-nav>li>a,
    .navbar-default .navbar-nav>li>a:visited,
    .navbar-default .navbar-nav>li:focus>a,
    .navbar-default .navbar-nav>li:active>a,
    .navbar-default .navbar-nav>li:hover>a {
        padding: 10px 7px;
        font-size: 14px;
    }
    .slider .item {
        padding: 5% 0 5% 0;
        max-height: 390px;
        min-height: 390px;
    }
    .slider {
        max-height: auto;
        min-height: auto;
        overflow: hidden;
    }
    .carousel-control .glyphicon-chevron-right,
    .carousel-control .icon-next {
        margin-right: -45px;
    }
    .carousel-control .glyphicon-chevron-left,
    .carousel-control .icon-prev {
        margin-left: -45px;
    }
    .section a:visited, .section a {
        min-height: 340px;
    }
}
@media screen and (max-width: 768px) {
    img.logo {
        float: left;
    }
    .team-profile img {
        margin: 0 auto;
    }
    .slider .item {
        padding: 5% 0 5% 0;
        max-height: 450px;
        min-height: 450px;
    }
    .carousel-indicators li.active,
    .carousel-indicators li {
        width: 15px;
        height: 15px;
    }
    .section a:visited, .section a {
        min-height: auto;
    }
    .form-control {
        margin-bottom: 15px;
    }
    .pre-header {
        padding: 20px 0 10px 0;
    }
    .carousel-control {
        display: none;
    }
    .section a:visited,
    .section a {
        margin-top: 20px;
        padding: 20px 20px 10px 20px;
    }
    .wpcf7 form .row {
        margin-bottom: 0 !important;
    }
    span.name input {
        margin-bottom: 10px;
    }
    div#bs-example-navbar-collapse-1 {
        margin-top: 10px;
        width: 100%;
        margin-left: 0;
        border-top: 0;
    }
    .navbar-nav {
        margin: 7px 0;
    }
    ul.dropdown-menu ul.dropdown-menu { top: 0; left: auto; right: auto; border-radius: 0px 5px 5px 0px; }
}
@media screen and (max-width: 600px) {
    .dropdown-menu {
        position: relative;
        width: 100%;
        background: #ecefff;
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 425px) {
    .app-store-logo {
        margin-right: 0 !important;
        margin-top: 10px;
    }
}
