/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

@font-face{
  font-family: 'SF UI Text', sans-serif;
  src: url("fonts/SFUIText-Regular.ttf")
}

body{
  font-family: 'SF UI Text', sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-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
*/

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

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

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

/*
* 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:
     * https://web.archive.org/web/20180815150934/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;
  }
}



/* Website styles starts from here */

.navbar{min-height: 75px;}

.navbar:after{
  content:'';
  min-height:inherit;
  font-size:0;
}

nav a{
  font-size:18px;
  color:#333;
  font-weight: 300;
  transition: color 0.5s;
  font-weight: 600;   
}

nav a:hover,nav a.active{
  color:#1059a8 !important;  
  text-decoration: none; 
  
}




.bg-dark{
  background-color: #242424 !important;
}

.bg-light{
  background-color: #fff !important;
}

.banner{
  width:100%;
}

.banner img{
  width:100%;
}

.carousel-indicators li{
  border-radius: 50% !important;
  width:10px !important;
  height:10px !important;
  margin-right:0.75rem !important;
}

.carousel-item img{
  width:100%;
}

h1{
  font-size:45px;
  font-weight: 600;
  color:#333 !important;
}

main{
  color:#333 !important;
}

main.about p{
  font-size:18px;
}

footer{
  background-color:#ebebeb;
}

footer a{
  text-decoration: none;
  color:#333;
}
footer a:hover{
  text-decoration: underline;
  color: #333;
}

.social-links a{
  filter:opacity(0.5);
  transition: all 0.5s;
}
.social-links a:hover{
  text-decoration: none;
  filter:opacity(1);  
}

.test{
  font-weight: 300;
  font-size:22.5px;
  color: #333;
}

.para{
  font-weight: 300;
  font-size:22.5px;
  color: #333;
}

footer .services{
  font-weight: 300;
  font-size:13.5px;
  color: #333;
}

footer .links{
  font-weight: 300;
  font-size:14.4px;
  color: #5d5d5d;
}

footer .address{
  font-weight: 300;
  font-size:13.5px;
  color: #5d5d5d;
}


.copy{
  font-weight: 300;
  font-size:12.5px;
  color: #5d5d5d;
}

.copy a{
  color: #5d5d5d;
}

.segment-container{
  display:flex;
  flex-flow:row wrap;
  justify-content: center;  
}

.segment{
  /* display:flex;
  flex-flow:column nowrap;
  align-items: center; */
  width:18%;
  padding:1rem;
  margin-left:0.5rem;
  margin-right:0.5rem;
  margin-bottom:1rem;
  background-color:#ebebeb;
  font-size:16px;
}

.segment img{
  margin-bottom:0.5rem;
}

.service-list ul li{  
  margin-bottom:2rem;
  text-align: left;
  font-size:18px;
}

.contact-add{
  text-align: left;
}

img[src*="contact_mail.png"]{
  margin-top:-3px;
}

.footer-left{
  display:flex;
  flex-flow: column wrap;
  justify-content: space-between;
}

.carousel{
  margin-top:75px;
}

.banner{
  margin-top:75px;
  min-height: 180px;  
}

.banner.about{
  background:url(../img/banners/about-banner.jpg) no-repeat center center;
  background-size:cover;
}

.banner.services{
  background:url(../img/banners/services-banner.jpg) no-repeat center center;
  background-size:cover;
}

.banner.industries{
  background:url(../img/banners/industries-banner.jpg) no-repeat center center;
  background-size:cover;
}

.banner.contact{
  background:url(../img/banners/contact-banner.jpg) no-repeat center center;
  background-size:cover;
}

@media (max-width:768px){  
  footer{
    text-align: center;
  }
  .footer-left{
    display:block;
    width:100%;
  }
  .address-container{
    width:100%;
  }
  .segment{
    width:100%;
  }
}

@media (min-width:768px) and (max-width:992px){
  .segment{
    width:100%;
  }  
}





