.three-image-section {
    padding: 4%;
    padding-top: 4%;
    border-bottom: solid #f7f7f7;
}

.image-section {
    width: 27.1%;
    margin: 0 3%;
    display: inline-block;
}

.image-section img {
    width: 100%;
}

.image-section p {
    background: #1768b4;
    color: white;
     font-size: 20px;
    padding: 4%;
    text-align: center;
}

.three-inner {
    width: 1160px;
    margin: 0 auto;
}

   html {
    color: #222;
    font-size: 16px;
    line-height: 1.7em;
}

.first-image {
    width: 100%;
}

.container {
    width: 100%!important;
    padding: 0!important;
}

.header-center img {
    width: 7%;
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    top: 3px;
    transition: .3s ease;
}

.header-part {
    width: 38%;
    display: inline-block;
    text-align: center;
        padding-top: 2.5%;
}

.main-header {
    width: 100%;
    background: white;
    box-shadow: 0 -6px 20px #00000033;
    height: 100px;
}

.header-center.header-part {
    display: inline-block;
    width: 23%;
}

.main-slide {
    background-position: bottom;
    background-image: url(https://rsafireandsecurity.co.uk/img/shutterstock_762120889.jpg);
    background-size: cover;
    display: table;
    width: 100%;
    height: 660px;
}

.main-slide-content .btn {
    background: #0268b4;
    border: none;
    border-radius: 0;
    color: white;
    padding: 1% 2%;
    margin-top: 20px;
}

.main-slide-content h1 {
    font-size: 50px;
}

.header-part {
    font-size: 24px;
    font-weight: bold;
    color: #1769b4;
}

.header-part i {
    padding-right: 12px;
}

.main-slide-content  {
    bottom: 50%;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.second-section {
    padding: 4%;
}

.second-title {
    text-align: center;
}

.section-two-parts img {
    width: 20%;
}

.section-areas {
    width: 1160px;
    margin: 0 auto;
    padding-top: 4%;
}

.section-two-parts {
    width: 100%;
    display: inline-block;
    text-align: center;
}

.section-two-parts p {
    margin-top: 5%;
    font-size: 14px;
    font-weight: normal;
    color: #666;
    margin-bottom: 0;
}

h5.title-boxes {
    font-size: 20px;
    font-weight: bold;
}

.section-two-boxes {
    display: inline-block;
    background: #f5f5f5;
    padding: 5% 3%;
    box-shadow: 0px 22px 15px -14px #00000038;
    margin: 0 2%;
    width: 28%;
}

.call-us {
    background: #313131;
    text-align: center;
    padding: 2%;
}

.call-us h3 {
    color: white;
    letter-spacing: .5px;
}

.about-us {
    padding: 4%;
}

.about-us-contnt {
    width: 1160px;
    margin: 0 auto;
    border-left: solid 5px #0268b4;
    padding-left: 2%;
}

.about-us-contnt h4 {
    font-size: 26px;
    font-weight: bold;
    color: #666;
}

.about-us-contnt p {
    font-size: 16px;
    line-height: 1.8em;
}

.contact-us-section {
    background: #ececec;
    padding: 4%;
}

.form-area {
    width: 800px;
    margin: 0 auto;
}

.form-area input, .form-area textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 3%;
}

input[type="submit"], input[type="reset"] {
    width: 48%;
    margin: 0 2%;
}

input[type="submit"] {
    margin-left: 0;
    background: #0268b4;
    color: white;
    border: none;
}

input[type="reset"] {
    margin-right: 0;
    background: #313131;
    color: white;
    border: none;
}

.form-area textarea {
    margin-bottom: 3%;
    
    border-color: #d6d6d6;
}

.form-area h5 {
    text-align: center;
    font-size: 30px;
    color: #0267b4;
    margin-bottom: 5%;
}


.main-header.darkHeader {
    height: 0;
}

.main-header.darkHeader .header-left.header-part, .main-header.darkHeader .header-right.header-part {
    display: none;
}

.two-images {
    display: inline-block;
}

.two-images.two-right {
    float: right;
}

.two-images img {
    display: block;
    width: 100%;
}

.two-image-section {
    padding: 4%;
    padding-top: 0;
}

@media (max-width: 1200px) {
    .three-inner {
    width: 100%;
    }
    .image-section {
    width: 26.1%;
    }
}

@media (max-width: 1160px) {
    .section-areas, .about-us-contnt {
    width: 100%;
    }
}

@media (max-width: 1000px) {
.header-center img {
    width: 15%;
    left: 0;
    right: auto;
}
}

@media (max-width: 980px) {
    .form-area {
    width: 100%;
    }
}

@media (max-width: 900px) {
    .image-section {
    width: 65%;
    margin: 60px auto;
    display: block;
}
}

@media (max-width: 850px) {
    .section-two-boxes {
    width: 90%;
    margin: 20px;
}

.second-section, .call-us, .about-us, .contact-us-section {
    padding: 4% 10%;
}
}

@media (max-width: 777px) {
    .header-left.header-part {
    position: absolute;
    right: 0;
    top: 29px;
}

.header-right.header-part {
    position: absolute;
    right: 0;
}
}

@media (max-width: 660px) {
    .header-center img {
    width: 23%;
}
.header-left.header-part {
    display: none;
}
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */
















 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* New Slider */

* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
