/*
Theme Name: MFI Systems
Theme URI: http://mfisystems.com/
Author: Bitstorm Connect
Author URI: http://bitstormconnect.com
Description: Theme for MFI Systems.
Version: 1.0.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: bitstormconnect
*/

/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS
----------------------------------------------------------------------------------*/

html,
body {
    background: #666;
    overflow-x:hidden;
}

body {
    color: #545454;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 27px;
    margin: 0;
    padding: 0;
}

.main {
    background: #ecf0f1;
    color: #000;
    padding: 40px 0;
    text-shadow: 0 0 0 transparent;
}

/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: HEADER
----------------------------------------------------------------------------------*/

.home header,
.page-id-229  header {
    color: #fff;
    min-height: 800px !important;
    padding: 20px 0;
}

.page header {
    min-height: 250px;
    padding: 20px 0;
}

header .headline {
    color: #fff;
    display: block;
    margin: 150px 0;
}

.page header .headline {
    margin: 50px 0;
}

/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: HEADER :: UP TO 991PX
----------------------------------------------------------------------------------*/

@media screen and (max-width: 991px) {
    header img {
        display: block;
        margin: 0 auto;
    }
   header .headline {
        text-align: center;
    }

    .breadcrumbs {
        font-size: 2vh;
    }

}



/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: NAV
----------------------------------------------------------------------------------*/

header ul#main-menu {
    border-bottom: 1px solid #fff;
    float: right;
    margin: 0;
    text-transform: uppercase;
}

header ul#main-menu li {
    padding: 0;
    font-size: 18px;
}

header ul#main-menu li a,
header ul#main-menu li a:visited {
    background: transparent;
    color: #fff;
    display: block;
    padding: 30px 20px !important;
    text-shadow:1px 1px 0px #000;
    margin-bottom: 5px;
}

header ul#main-menu li a.active {
    border-bottom: #00a651 solid 5px;
}

header ul#main-menu li a:hover,
header ul#main-menu li a:focus {
    padding: 30px 20px !important;
    border-bottom: #00a651 solid 5px;
    text-decoration: none;
    margin-bottom: 0;
}

/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: HEADER :: UP TO 768PX
----------------------------------------------------------------------------------*/

@media screen and (max-width: 767px) {
    
    #main-menu {
        float: left !important;
        border-bottom: 0 !important;
    }
    
    .navbar {
        background: #00a651;
        color: #fff;
        margin-top: 35px;
    }
    
    .navbar .icon-bar {
        background: #fff;
    }
    
    #menu-item-282 {
        display: none;
    }

    header .search-form-m {
        display: block !important;
    }

    header input.search-field {
        border: 0;
        float: left;
        padding: 2px 0;
        width: 85% !important;
    }

    header input.search-submit {
        display: block;
        float: left;
        width: 15%;        
    }

    header img {
        margin-bottom: 35px;
    }
    
}

/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: BODY
----------------------------------------------------------------------------------*/

body {
    background: #666;
    text-shadow: 1px 1px 0 #fff;
}

.breadcrumb {
    border-bottom: 1px solid #ddd;
    margin: 0;
    padding: 15px 0;
}

body, html {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 2;
    text-shadow: 1px 1px 1px rgba(0,0,0,.5);
}

h1, h2, h3, h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 32px;
    margin-bottom: 2vh;
}

section {
    margin: 0;
    padding: 0;
    width: 100%;
}

a:hover {
    text-decoration: none;
}

.call-to-action {
    padding: 50px 0;
    text-shadow: 0 0 0 transparent !important;
}

.cta {
    background-repeat: no-repeat !important;
    width: 100%;
    height: 100px;
    color: white;
    padding: 14px 0;
    text-align:center;
}

.cta-title {
    display: block;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin: 5px 0 5px 0;
}

.cta-text {
    color: #252525;
    display: block;
    font-size: 14px;
    line-height: 1.6;
}

.grey {
    background: #252525;
    color: #fff;
    padding: 130px 0;
}

.hexagons img:nth-child(1) {
    position: absolute;
    margin: -169px 40px;
    z-index: 9999;
}

.hexagons img:nth-child(2) {
    position: absolute;
    margin: 18px 145px;
    z-index: 9999;
}

.hexagons img:nth-child(3) {
    position: absolute;
    margin: 206px 40px;
    z-index: 9999;
}

.white {
    background: #fff;
    color: #00a651;
    text-shadow: 0 0 0 transparent;
}

.hardhead {
    overflow: hidden;
}

.new-products {
    overflow: hidden;
    -webkit-animation: kenburns-top 5s ease-out both;
	-moz-animation: kenburns-top 5s ease-out both;
	animation: kenburns-top 5s ease-out both;
}

.new-products div.greenbox {
    background: #00a651;
    color: #fff;
    clear: both;
    display: block;
    float: right;
    margin-right: -15px;
    min-height: 200px;
    padding: 55px 135px 55px 25px;
    width: 60%;
    z-index: 1;
}

.hardhead .bluebox {
    background: #1c2f5c;
    color: #fff;
    clear: both;
    display: block;
    float: left;
    margin-left: -15px;
    padding: 55px 25px 55px 135px;
    width: 60%;
    z-index: 1;
}

.right-skew {
  position: relative; }
  .right-skew:before {
    z-index: -1;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -335px;
    display: block;
    width: 100%;
    background: #1c2f5c;
    -webkit-transform: skew(30deg);
    -ms-transform: skew(30deg);
    transform: skew(30deg); }

.left-skew {
  position: relative; }
  .left-skew:before {
    z-index: -1;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -335px;
    display: block;
    height: 100%;
    width: 99%;
    background: #00a651;
    -webkit-transform: skew(30deg);
    -ms-transform: skew(30deg);
    transform: skew(30deg); }


a.learn {
    background: #00a651;
    color: #fff;
    display: block;
    font-weight: bold;
    padding: 15px;
    text-transform: uppercase
}

.greenbox a.learn {
    background: #fff;
    color: #00a651;
}

table thead {
    font-weight: bold;
}


@media screen and (max-width:1200px) {
    .hexagons {
        display: none;
    }

    .hexagons img:nth-child(1) {
        position: static;
        margin: 0;
        z-index: 9999;
    }

    .hexagons img:nth-child(2) {
        position: static;
        margin: 0;
        z-index: 9999;
    }

    .hexagons img:nth-child(3) {
        position: static;
        margin: 0;
        z-index: 9999;
    }
}
/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: BODY :: UP TO 991PX
----------------------------------------------------------------------------------*/

@media screen and (max-width: 991px) {
    .cta {
       background-position: center !important;
       margin: 15px 0;
       padding-top: 30px;
    }

    .cta-text {
        margin-bottom: 35px;
    }

    .cta-title, .cta-text {
        text-align: center;
    }

    .right-skew {
  position: relative; }
    .right-skew:before {
        z-index: -1;
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: -335px;
        display: block;
        width: 0;
        background: #1c2f5c;
        -webkit-transform: skew(30deg);
        -ms-transform: skew(30deg);
        transform: skew(30deg); 
    }

    .left-skew {
    position: relative; 
    }

    .left-skew:before {
        z-index: -1;
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: -335px;
        display: block;
        height: 0;
        width: 99%;
        background: #00a651;
        -webkit-transform: skew(30deg);
        -ms-transform: skew(30deg);
        transform: skew(30deg);
    }

    .new-products div.greenbox {
        background: rgba(0, 166, 81, .8);
        width: 100%;
        margin: 0;
    }

   .hardhead .bluebox {
        background: rgba(28, 47, 92, .8);
        width: 100%;
        margin: 0;
    }

}

/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: BODY :: FROM 991PX TO 1199px
----------------------------------------------------------------------------------*/

@media screen and (min-width: 991px) and (max-width: 1199px) {
    .cta {
        padding-top: 5px;
    }
}

/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: INTERNAL
----------------------------------------------------------------------------------*/

div#main div.container {
    background: url('/images/line.gif') right 21% top repeat-y;
	padding-bottom: 30px;
	padding-top: 30px;
}

.gcore-display-table, input#your_name, 
input#phone, input#email, input#company,
input#message {
    width: 100% !important;
    min-height: 50px;
}

#button5 {
    background: #00a651;
    color: #fff;
    display: block;
    float: right;
    font-weight: bold;
    font-size: 18px;
    height: 50px;
    text-transform: uppercase;
    width: 50% !important;
}

input[type="submit"] {
    background: #00a651;
    display:none;
    border: 0;
    float:left;
    font-family: FontAwesome;
    margin: 0;
    min-height: 40px;
    padding: 0 30px;
}

header input.search-field {
    background: transparent;
    border: 0;
    color: #fff;
    float: left;
    font-size: 32px;
    margin: 0;
    min-height: 40px;
    padding: 0 5px;
}

header .search-form {
    float: right;
    border-bottom: 1px solid #fff;
    margin-right: 46px;
    margin-top: 12px;
    position: absolute;
    right: 0;
    width: 70%;
    height: 75px;
    z-index: 99999999;
    display: block;
}

header .search-form {
    display: none;
}

li#menu-item-282 a {
    z-index: 99999999999999999;
}

header input.search-field {
    border: 0;
    color: #fff;
    float: left;
    margin: 0;
    width: 100%;
    min-height: 64px;
    padding: 0px 5px;
    outline: none;
}

a.list-group-item hr {
    background: #00a651;
    border: 0;
    height: 5px;
    width: 35%;
}

a.list-group-item img {
    border-width: 5px !important;
    width:50%;
    margin-top:-100px;
    margin-bottom: 10px;
    transition: .5s;
}

a.list-group-item:hover img {
    width: 55%;
    margin-top: -110px;
    transition: .5s;
}

.product-row {
    margin-top: 100px;
}

/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: INTERNAL :: UP TO 991PX
----------------------------------------------------------------------------------*/

@media screen and (max-width: 992px) {

    a.list-group-item img {       
        width: 25%;
        margin-top: 0;
        margin-bottom: 10px;
        transition: .5s;
    }

   a.list-group-item img:hover,
   a.list-group-item img:focus {       
        width: 25%;
        margin-top: 0;
        margin-bottom: 10px;
        transition: .5s;
    }

    a.list-group-item:hover img {
        width: 25%;
        margin-top: 0;
        transition: .5s;
    }

    .product-row {
        margin-top: 0;
    }

}

/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: FOOTER
----------------------------------------------------------------------------------*/

footer {
    background: #252525;
    border-top: solid 30px #ecf0f1;
    clear: both;
    color: #fff;
    padding: 25px;
}

footer #main-menu-footer a, footer #main-menu-footer a:visited {
    color: #fff;
    padding: 0 10px;
}

footer #main-menu-footer a:hover, footer #main-menu-footer a:focus {
    color: #fff;
}

div.subfooter {
    padding: 10px;
    color: #fff;
}

div.subfooter a, div.subfooter a:visited,
div.subfooter a:hover, div.subfooter a:focus {
    color: #fff;
}

footer hr {
    border: 0;
    float: left;
    height: 5px;
    background: #00a651;
    width: 30%;
}

footer .mfi-address {
    padding-left: 25px;
}

footer .mfi-address address {
    margin-bottom: 0;
}

/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: FOOTER
----------------------------------------------------------------------------------*/

@media screen and (max-width: 991px) {
    footer hr {
        display: block;
        float: none;
        margin: 15px auto !important;
    }

    footer * {
        text-align: center;
    }

    footer #main-menu {
        float: none !important;
    }

    .search-form {
        width:90% !important;
        float: none;
        margin: 12px 46px !important;
    }

    .search-field {
        width: 100%;
        padding: 0 20px !important;
        text-align: left;
    }
}

/*----------------------------------------------------------------------------------
    CSS :: MFI SYSTEMS :: MISC :: UP TO 991PX
----------------------------------------------------------------------------------*/

@media screen and (max-width: 991px) {
    .text-center-m {
        text-align: center !important;
    }
}