/*!
SITE: rackindustrial.com
Color: Red main: #790c0c
 */




/* biz voice page */
.vertical-align {display: flex; flex-direction: column; justify-content: center;}
.display-grid {display:grid;}

.bg-sub-page {
    background: url(../img/rack-sub-header-banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 300px;
    
}
.sub-page-template .bg-sub-page-flip {
    background: url(../img/rack-sub-header-banner-right.jpg);
    background-size: cover;
    min-height: 300px;
    background-position: center right;
    background-repeat: no-repeat;
}

.bg-sub-page img {
    vertical-align: middle;
    border-style: none;
    border-bottom: 3px solid gray;
    padding-bottom: 10px;
    border-right: 3px solid gray;
    padding-right: 10px;
    max-width: 350px;
    top: 5%;
    left: 5%; 
    color: white;
    box-shadow: 9px 9px 5px #4c1717;
    border-top-left-radius: 20px;
    background: black;
}












/*nwd*/
.service-box ul {    margin: 0;
    padding: 0 0px 0 3px;
    text-align: left;}
.service-box li.text-muted { list-style:circle;}
.padding-10 {padding:10px;} .padding-20 {padding:20px;} .padding-30 {padding:30px;}

.bg-managed-services { 
  background: url(../img/managed-services.jpg);
    background-repeat: no-repeat;
    background-size: cover;
	    min-height: 300px;
  
}

/*form*/
form {     text-align: left; 
text-align: left;
    margin-left: 20px;
    padding: 20px;
    width: 100%;
    background-color: #c7c7c7;}
form textarea, form input, form select {width:100%;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px}
/*nwd*/
/*h2.rack-icon {
    background-image: url(../img/title-icon.png);
    background-repeat: no-repeat;
    background-position: left;
    height: 50px;
    padding: 26px 0 0 50px;
    font-size: 26px;
    color: #790c0c;
    line-height: 19px;
}*/
body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
      background: url(../img/bgtile.jpg);
}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #790c0c;
}

hr.light {
  border-color: #fff;
}

a {
  color: #790c0c;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

a:hover {
  color: #790c0c;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.bg-primary {
  background-color: #790c0c !important;
}

.bg-dark {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a90329+0,8f0222+44,6d0019+100;Brown+Red+3D */
background: #a90329; /* Old browsers */
background: -moz-linear-gradient(top, #a90329 0%, #8f0222 44%, #6d0019 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #a90329 0%,#8f0222 44%,#6d0019 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

section { padding: 6rem 0;}
section .padding-medium {padding:4rem 0;}

.section-heading {
  margin-top: 0;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

#mainNav .navbar-brand {
  font-weight: 700;
 /* text-transform: uppercase;*/
  color: #790c0c;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #790c0c;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #790c0c;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #790c0c !important;
  background-color: transparent;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}

@media (min-width: 992px) {
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem 1rem;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #fff;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #790c0c;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: #790c0c;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #790c0c;
  }
}

header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
  background-image: url("../img/header.jpg");
  background-position: center center;
  background-size: cover;
}

header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.masthead h1 {
  font-size: 2rem;
}

header.masthead p {
  font-weight: 300;
}


.text-primary {
  color: #790c0c !important;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: #790c0c;
  border-color: #790c0c;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #ee4b28 !important;
}

.btn-primary:active, .btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
}


@media (min-width: 768px) {
  header.masthead p {
    font-size: 1.15rem;
  }
  
  .width-50 {
  width:47%;padding:10px;float:left;
  }
}

@media (min-width: 992px) {

.bg-sub-page {
    padding: 5em 3em 4em 3em;
}
  header.masthead {
  -webkit-flex-direction: column; /* add */
-ms-flex-direction: column; /* add */
flex-direction: column; /* add */
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  header.masthead h1 {
    font-size: 4rem;
  }
}

.service-box {
  max-width: 400px;
}

.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto;
}

.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
      background: rgba(23, 99, 26, 0.63);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.portfolio-box:focus {
  outline: none;
}

@media (min-width: 768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}


@media (max-width: 768px) {

.bg-sub-page {
    padding-top: 8em;
}
form {margin:1px;}
.masthead img, #contact img {max-width:325px;}
.width-50 {width:auto;float:none;}
.navbar-brand {    font-size: 1rem;}
.service-box ul {
    padding: 0 0px 0 2em;
    
}


/*----------------/max 768--------------------*/}
