/*! 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;
}

/*
 * 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 */
    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;
  }
}


/* custom css */

h1 { font-family: Futura, "Trebuchet MS", Arial, sans-serif; font-size: 24px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 26.4px; } 
    h3 { font-family: Futura, "Trebuchet MS", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 15.4px; } 
    p { font-family: "Futura Book", "Trebuchet MS", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200;  line-height: 20px; } 
    blockquote { font-family: Futura, "Trebuchet MS", Arial, sans-serif; font-size: 21px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 30px; } 
    pre { font-family: Futura, "Trebuchet MS", Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 18.5714px; }
    
    
    .carousel-indicators .active {
      transform: scale(1.2) translate(0px,50px);
      margin: 0px 20px;
    }

    .box {
      transform-origin: bottom;
      transform: translate(0px,50px);
      width: 150px;
      height: 150px;
      background: white;
      margin: 10px;
      opacity: 0.9;
      transition: 1s ease;
      border-radius: 20px;
      box-shadow : 0px 7px 2px rgba(181, 181, 182, 0.75);
      filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=7, Color='#B5B5B6');
      padding-top:10px;
      cursor: pointer;
    }

    .box > img {
      margin: -40px 0px;
      padding: 45px;
      transition: 1s ease;
    }

    .box > h1 {
      margin: -10px;
      transform-origin: top;
      transition: 1s ease;
      font-weight: 600;
    }

    .box > p {
      transition: 1s ease;
      margin-bottom: 10px;
    }

    .carousel-indicators .active > img {
      margin: -55px 0px;
      padding: 25px;
    }

    .carousel-indicators .active > p {
      margin: 40px 0px 0px 0px;
    }
    
    .carousel-indicators .active > h1 {
      margin: 0px;
    }

    .slide-content {
      position: absolute;
      z-index: 1;
      top: 0px;
      padding: 200px;
      color: white;
    }
    .slide-content > div > div > p {
      font-size: 12px;
      transition: 1s ease;
      opacity: 0;
    }

    .slide-content > div > div > h1 {
      opacity: 0;
      transition: 1s ease;
    }

    .active > .slide-content > div > div > p {
      opacity: 1;
    }

    .active > .slide-content > div > div > h1 {
      opacity: 1;
    }

    .navigation {
        margin-top: 20px;
    }

    .sectionhead {
      background-color: #0B7FC3;
      padding: 0.5px;
      border-radius: 40px;
      color: white;
      margin-top:40px;
      box-shadow : 0px 7px 2px rgba(181, 181, 182, 0.75);
      filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=7, Color='#B5B5B6');
    }

    .sectionhead > h1 {
      font-family: "Futura Book";
      font-weight: 200; 
      
    }

    .sectionbox {
      padding: 10px 15px;
      background: white;
      margin: 20px 10px;
      border-radius: 10px;
      box-shadow: 0px 7px 2px rgba(181, 181, 182, 0.75);
      cursor: pointer;
      -webkit-transition: background-color 1s linear;
      -ms-transition: background-color 1s linear;
      transition: background-color 1s linear;
      transition: 1s ease;
    }

    .sectionbox.active {
      background: linear-gradient(#DF2732, #B01F7D) !important;
      color: white;
      -webkit-transition: background-color 1s linear;
      -ms-transition: background-color 1s linear;
      transition: background-color 1s linear;
      transition: 1s ease;
    }

    .sectionbox > p {
      margin-bottom: -1px;
      margin: 0 -10px;
    }

    .sectionboxcontent {
      margin: 20px 20px 20px 0px;
      padding: 0px 0px;
      background: white;
      border-radius: 10px;
      box-shadow: 0px 7px 2px rgba(181, 181, 182, 0.75);
      -webkit-transition: background-color 1s linear;
      -ms-transition: background-color 1s linear;
      transition: background-color 1s linear;
      transition: 1s ease;
    }

    .sectionboxleftpart {
      border-radius: 10px 0px 0px 10px;
      background-color: white;
      width: 40%;
      height: 100%;
      float: left;
    } 

    .sectionboxleftpart > .toppart {
        height: 60%;
        color: white;
        position: relative;
    }

    .sectionboxleftpart > .bottompart {
        padding: 10px;
    } 

    .toppart > h1 {
        position: absolute;
        bottom: 0px;
        right: 15px;
        text-shadow: 0px 0px 5px black;
    }

    .sectionboxrightpart {
      background-color: white;
      width: 60%;
      height: 100%;
      float: right;
      border-radius: 0px 10px 10px 0px;
      direction: rtl;
      overflow:auto;
    }

    .sectionboxrightpartitems {
      direction:ltr;
      padding: 0px 10px;
      font-size: 0.8em;
      color: gray;
    }

    .sectionboxrightpartitems:nth-child(odd) { background: lightgray; }

    .catagoriesbox {
      padding: 10px 15px;
      background: white;
      margin: 20px 10px;
      border-radius: 10px;
      box-shadow: 0px 7px 2px rgba(181, 181, 182, 0.75);
      cursor: pointer;
      -webkit-transition: background-color 1s linear;
      -ms-transition: background-color 1s linear;
      transition: background-color 1s linear;
      transition: 1s ease;
    }

    .catagoriesbox.active {
      background: linear-gradient(#DF2732, #B01F7D) !important;
      color: white;
      -webkit-transition: background-color 1s linear;
      -ms-transition: background-color 1s linear;
      transition: background-color 1s linear;
      transition: 1s ease;
    }

    #catagoriesboxes {
      
    }

    #catagoriesbox1 {
      margin-top: 0px;
    }

    .sectionimage {
      padding: 0px;
      position: relative;
      width: 30%;
    }

    .sectiontext {
      position: relative;
      width: 70%;
      padding-bottom: 0px;
      margin-bottom: 0px;
    }

    .form-control {
        padding-right: 30px;
    }

    .form-control + .glyphicon {
        position: absolute;
        right: 0;
        padding: 8px 27px;
    }

    
    #exTab3 .nav-pills > li > a {
      border-radius: 4px 4px 0 0 ;
    }

    #exTab3 .tab-content {
      color : white;
      background-color: #428bca;
      padding : 5px 15px;
    }

    .clients {
      background: linear-gradient(#DF2732, #B01F7D) !important;
      margin: 50px 0px;
    }

    .img-gray {
    /* filter: url(filters.svg#grayscale); Firefox 3.5+ */
      filter: gray; /* IE5+ */
      -webkit-filter: grayscale(1); /* Webkit Nightlies & Chrome Canary */
      -webkit-transition: all .8s ease-in-out;  
    }

    .img-gray:hover {
    filter: none;
      -webkit-filter: grayscale(0);
      -webkit-transform: scale(1.01);
    }

    .clientboxcontent {
        margin: 20px;
        padding: 20px;
        background: white;
        border-radius: 10px;
        box-shadow: 0px 7px 2px rgb(130, 24, 89);
        -webkit-transition: background-color 1s linear;
        -ms-transition: background-color 1s linear;
        transition: background-color 1s linear;
        transition: 1s ease;
    }

    .clienthead {
      background-color: #0B7FC3;
      padding: 0.5px;
      border-radius: 40px;
      color: white;
      margin-top:40px;
      box-shadow : 0px 7px 2px rgb(130, 24, 89);
      filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=7, Color='#B5B5B6');
    }

    .clienthead > h1 {
      font-family: "Futura Book";
      font-weight: 200; 
      
    }

    .researchhead {
      background-color: #0B7FC3;
      padding: 0.5px;
      border-radius: 40px;
      margin-bottom: 40px;
      color: white;
      box-shadow : 0px 7px 2px rgb(130, 24, 89);
      filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=7, Color='#B5B5B6');
    }

    .researchhead > h1 {
      font-family: "Futura Book";
      font-weight: 200; 
      
    }

    .menubutton {
        z-index: 1000;
        left: 50px;
        width: 30px;
        mix-blend-mode: difference;
        cursor: pointer;
    }
    .menu {
      z-index: 1002;
      top:0;
      left:0;
      height:100vh;
    }

    .background-gray{
      z-index:1001;
      background-color: rgba(181, 181, 182, 0.75);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    mix-blend-mode: multiply;
    }

    span.heading {
        font-size: 0.8em;
        color: gray;
    }

    span.tag {
        font-size: 0.8em;
        background-color: lightgray;
        padding: 5px 10px;
        margin: 5px;
        border-radius: 20px;
    }

    span.tag.primary {
        background-color: #0b7fc3;
        color: white;
    }

    .preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 9999;
      background-image: url('../img/ajax-loader.gif');
      background-repeat: no-repeat; 
      background-color: #FFF;
      background-position: center;

    }

