body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
}

hr {
  max-width: 100px;
  border-width: 3px;
  border-color: #F06543;
  padding-bottom: 2rem;
}


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

a {
  color: #F06543;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

a:hover {
  color: #F06543;
}

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

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

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

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

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

section {
  padding: 7rem 0;
}

.section-heading {
  margin-top: 0;
  margin-bottom: 3rem;
}

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

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

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

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

pre {
    background: #fff;
    border: 1px solid #ddd;
    border-left: 3px solid #666;
    color: #666;
    page-break-inside: avoid;
    font-family: "Courier New", Courier, monospace;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1em;
    display: block;
    word-wrap: break-word;
    text-align:left;
}

#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;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

#mainNav .navbar-brand {
  font-weight: 700;
  color: #F05F40;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 2.2rem;
  padding-left:11px;
  padding-right:11px;
  color: #03254E;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #03254E;
  /*background-color:#f05f40;*/
}

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

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


@media (min-width: 992px) {
  
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
  
  #mainNav .navbar-brand {
    /*color: rgba(255, 255, 255, 0.7);*/
    color: #fff;
  }
  
  #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 {
    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, 
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active,
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
    color: #FFF !important;
    background-color: transparent;
  }

  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  
  #mainNav.navbar-shrink .navbar-brand {
    color: #03254E;
  }
  
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: #03254E;
  }

  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link
  {
    color: rgba(3, 37, 78) !important;
  }

  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus,
  #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,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link.active,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus.active,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link.active:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
    color: #49C6E5 !important;
  }

}

header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
  background:#03254E;
  /*background-image: url("../img/data.png");*/
  background-position: center center;
  background-repeat: repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  align-items: left;
}


.programming {
	background-image: url("../img/programming.jpg") !important;
	background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
  filter: grayscale(100%);
}

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

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

header.masthead h1 span {
  position:relative;
}

header.masthead h2 {
  font-size: 1.2rem;

}

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

@media (min-width: 768px) {
  header.masthead p {
    font-size: 1.15rem;
  }
}

@media (min-width: 992px) {
  header.masthead {
    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(240, 95, 64, 0.9);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  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;
  }
}

.text-primary {
  color: #F06543 !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: #F06543;
  border-color: #F06543;
}

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

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

.fa.fa-database:after {
  position: absolute;
  content: "/";
  color: white;
  font-weight: 600;
  font-size: 1.5em;
  left: 10px;
  top: -20px;
}

.imageCenterVer {
	/*position: relative; 
	top: 50%; 
	transform: translateY(-50%);*/
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
	margin-top:10px;
	margin-bottom:10px;
}

.imageCenterVer:hover {
	filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
    -webkit-filter: grayscale(0%);
}

.ref_frame {
 display:flex;
 justify-content: center;
 align-items: center;
} 


header.masthead h3 {
    
}

header.masthead h3 span {
    display: inline-block;
}

header.masthead h3 > span > span {
    padding: 0 0.25em;
    margin: 0 -0.5em 0 0;
}

header.masthead h3 .heading span {
    background-color: #F06543;
    color: #FFF;
    font-weight: bolder;
    font-size:3.7rem;
}

header.masthead h3 .heading2 span {
    background-color: #3A3E3B;
    color: #FFF;
    font-weight: bolder;
    font-size:4rem;
	margin-bottom:3rem;
}

header.masthead h3 .subhead span {
    background-color: #F0EFF4; 
    color: #666;
    font-weight: bold;
    font-size:1rem;
    line-height:2.5rem;
}

header.masthead h3 .subhead2 span {
    background-color: #FF784F;
    color: #FFF;
    font-weight: bold;
    font-size:2rem;
}

header.masthead h3 .subhead3 span {
    background-color: #49C6E5;
    color: #FFF;
    font-weight: bold;
    font-size:2rem;
}

header.masthead h3 .subhead4 span {
    background-color: #F0EFF4;
    color: #666;
    font-weight: bold;
    font-size:3rem;
}

header.masthead h3 .subhead5 span {
    background-color: #3A3E3B; 
    color: #FFF;
    font-weight: bold;
    font-size:1.5rem;
	line-height:2.5rem;
}

header.masthead h3 .subhead6 span {
    background-color: #f0c420; 
    color: #000;
    font-weight: bold;
    font-size:2.7rem;
}
