/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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
 *
 * These selection rule sets have to be separate.
 * 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
   ========================================================================== */
   html, body { font-family: 'Open Sans', sans-serif; font-size:18px}
   h1 { font-size:2rem;  margin-bottom:1rem; font-weight:700; text-transform: uppercase}
   .btn { min-width:200px; font-size:14px; border-radius:0; margin-top:1rem}
   .btn-outline-info {
    color: #10366b;
    background-color: transparent;
    background-image: none;
    border-color: #10366b;
}
.btn-outline-info:not(:disabled):not(.disabled).active, .btn-outline-info:not(:disabled):not(.disabled):active, .show>.btn-outline-info.dropdown-toggle,
.btn-outline-light:not(:disabled):not(.disabled).active, .btn-outline-light:not(:disabled):not(.disabled):active, .show>.btn-outline-light.dropdown-toggle {    color: #fff;
    background-color: #0f9144;
    border-color: #0f9144;
}
.btn-outline-info:hover,
.btn-outline-light:hover {
    color: #fff;
    background-color: #0f9144;
    border-color: #0f9144;
}

.navbar-light .navbar-toggler { border:none}

.btn:focus-visible { outline: none !important}

.btn-outline-info:not(:disabled):not(.disabled).active:focus, .btn-outline-info:not(:disabled):not(.disabled):active:focus, .show>.btn-outline-info.dropdown-toggle:focus {     box-shadow: none; }
.btn-outline-info.focus, .btn-outline-info:focus {     box-shadow: none; }

.btn-outline-light:not(:disabled):not(.disabled).active:focus, .btn-outline-light:not(:disabled):not(.disabled):active:focus, .show>.btn-outline-light.dropdown-toggle:focus {     box-shadow: none; }
.btn-outline-light.focus, .btn-outline-light:focus {     box-shadow: none; }



.address { background:#fff; padding:40px 30px; width:100%; margin-top:2.5rem; max-width:400px}
.address ul { padding-left:0; margin-bottom:0}
.address ul li { margin-bottom:20px; color:#414042; list-style: none}
.address ul li a {color:#414042;}
.address ul li:last-child { margin-bottom:0}
.address ul li span { display:block; color:#0f9144; font-weight:700;}
.members { padding:30px}
.members  img { width:100%; }
.imgwrapper { margin-bottom:1rem; position: relative}
.members .name { font-size:18px; color:#0f9144; font-weight:700;}
.members .designation  { font-size:15px; color:#414042}

   .colorW { color:#ffffff}
   .colorB { color:#10366b}
	section { min-height:100vh; padding-top:4rem; padding-bottom:4rem; background-position:center; background-repeat:no-repeat; background-size:cover; position:relative;     display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important; -webkit-box-align: center!important;
    -ms-flex-align: center!important;
    align-items: center!important; }
	.overlay {
    display: block;
    position: absolute;
    z-index: 0;
    background: rgba(0, 0, 0, 0.5) no-repeat center;
    overflow: hidden;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 1;
}

footer { padding:40px 5%}
.navbar { padding:20px 5%; }
footer img { width:100%; max-width:230px}
.navbar-brand { width:230px; height:58px; }
#navbarul a.nav-link { color:#fff; font-size:18px; text-transform: uppercase; margin-left:40px}

.navbar .navbar-brand { background-image:url('../img/machre-logo.png'); background-repeat:no-repeat; background-size:230px; background-position: 0 -70px }
.navbar {transition:all 0.5s ease}
.navbar #navbarul a.nav-link {transition:all 0.2s ease}
.navbar #navbarul a.nav-link:hover, .navbar.show #navbarul a.nav-link:hover { color:#0f9144}
.navbar.show { background:#fff}
.navbar.show .navbar-brand { background-position: 0 -9px}
.navbar.show #navbarul a.nav-link { color:#222}

.navbar-light .navbar-toggler-icon {background-image: url('../img/bar.svg?a')}
.navbar.show.navbar-light .navbar-toggler-icon {background-image: url('../img/barg.svg?a')} 

.members .overlay {
    display: block;
    position: absolute;
    z-index: 0;
    background: rgba(0, 0, 0, 0.5) no-repeat center;
    overflow: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    cursor: pointer;
}
.members .imgwrapper:hover .overlay { opacity:1}
.members .overlay span {
    color: rgb(255, 255, 255);
    font-size: 16px;
    display: inline-block;
position:absolute; top:50%; left:50%; transform: translate(-50%,-50%)
   
}
.members .overlay:hover {
    opacity: 1;
}

.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto; border-radius:8px;
  max-width: 700px;
  margin: 30px auto;
}

/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.7s ease-out;
  -moz-transition: all 0.7s ease-out;
  transition: all 0.7s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.7s ease-out;
  -moz-transition: all 0.7s ease-out;
  transition: all 0.7s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}


.copyright { text-align: right; color:#10366b} 
.copyright .d-flex {    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;}
.copyright .d-flex>* { padding:5px 4px}
.copyright .d-flex a {color:#10366b; transition:all 0.2s ease}
.copyright .d-flex a:hover {color:#0f9144}
.copyright .d-flex span { font-size:14px; display: inline-block; position:relative; top:2px }
.navbar-toggler { box-shadow: none !important; outline: none !important}
.members { margin-top:2rem}

.loader {
 border: 5px solid #0f9144;
 border-radius: 50%;
 border-top: 5px solid #fff;
 width: 60px;
 height: 60px;
 -webkit-animation: spin 2s linear infinite; /* Safari */
 animation: spin 2s linear infinite;
 display: inline-block;
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   margin: auto;
   z-index: 999;
}
.imgwrapper .overlay span { background:#0f9144; color:#fff; display:inline-block; font-size:12px; padding:4px 15px; border-radius:4px}

/* Safari */
@-webkit-keyframes spin {
 0% { -webkit-transform: rotate(0deg); }
 100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
 0% { transform: rotate(0deg); }
 100% { transform: rotate(360deg); }
}

.abouttext { font-size:21px; }
.aboutustop { height:400px}


@media screen and (max-width: 479px){
	.aboutustop { height:220px}
	.aboutustop h1 { margin:2rem 0 0 0; text-align:center}
	.warehouse img { margin-bottom:15px !important}
	.abouttext { font-size:18px; }
	h1 { font-size:1.5rem}
	.navbar { padding:20px 0}
	.navbar-brand { margin-left:15px;  }
	.navbar-toggler { margin-right:15px}
	.navbar-toggler  { padding-left:0; padding-right:0}
	.navbar-brand { width:180px; height:43px}
	.navbar .navbar-brand {  background-size:180px; background-position: 0 -55px}
	.navbar.show .navbar-brand {   background-position: 0 -7px}
	footer { text-align:center; padding-bottom:15px; padding-left:15px; padding-right:15px}
	footer img {
    width: 100%;
    max-width: 180px; margin-bottom:1.2rem
}
.navbar-nav { padding-top:1rem; padding-bottom:1rem}
#navbarul a.nav-link { margin-left:15px}

.copyright .d-flex {    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;}
	.members { margin-top:0; padding-top:10px; }
	#ourmanagement h1 { margin-top:2rem}
	
	section { background-position:85% center}
	.navbar-collapse { background:#fff}
	#navbarul a.nav-link { color:#000 !important}
	
	
	  }













/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * 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;
}

/*
 * 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;
}

/* ==========================================================================
   Filter
   ========================================================================== */
   .filter { list-style:none; margin:auto; display:block; text-align:center;}
   .filter li  { display:inline-block;  margin-bottom:40px; margin-top:40px;}
   .filter li a { padding:8px 20px; margin-right: 10px;}
   .project-item {width:100px; height:100px; margin-right:10px; margin-bottom:4px; text-align:center}
	.project-item h1 { margin-top:20px;     font-size: 14px;}

/* ==========================================================================
   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:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print { 
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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,
    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;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
