/* Global */
@import url(http://fonts.googleapis.com/css?family=Lato:100,200,300,400,500,600,700,800,900,1000);
* {
	font-family: Abel,Lato, sans-serif;
}
/* Modal */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    z-index: 320;
    background-color: #fff;
    margin: auto;
    padding: 0;
    border: none;
    width: 80%;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.7s;
    animation-name: animatetop;
    animation-duration: 0.7s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: #333;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #ff0000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 10px 16px;
    background-color: #fff;
    color: #fff;
}

.modal-body {
	padding: 30px 14px;
	height: 350px;
}

.modal-footer {
    padding: 30px 16px;
    background-color: #fff;
    color: #fff;
}

.contact-row2 .span6 input {
    margin-bottom: 20px;
    border-radius: 0;
	width: 90%;
    border: 1px solid #333;
    padding: 21px 15px;
}
.contact-row2 .span6 textarea.form-control {
    margin-bottom: 20px;
    border-radius: 0;
	width: 100%;
    border: 1px solid #333;
}
.contact-row2 .span6 button.btn {
    border-radius: 0;
    width: 100%;
    padding: 16px 15px;
    background-color: #333;
    color: #ffffff;
}
.contact-row2 .span6 button.btn:hover {
    background-color: #e13430;
}
/* Modal End */

body {
    background-color: #fff;
    padding: 0;
}
.mobile-display {
    display: none;
}
a.mobile-display {
    display: none !important;
}
.navbar .navbar-inner {
    background-color: rgba(0,0,0,0.8);
    height: 90px;
}

.navbar .brand .logo {
    height: 69px;
    width: 119px;
    margin: 10px 20px;
}

.home-arrow {
    position: absolute;
    bottom: 0;
    top: 65%;
    width: 50px;
    height: 50px;
    text-align: center;
    margin: 0 auto;
    left: 0;
    right: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    transition: 0.6s all ease;
    -webkit-transition: 0.6s all ease;
    -moz-transition: 0.6s all ease;
}
.home-arrow {
    font-size: 20px;
}
.home-arrow i {
    padding-top: 15px;
}
.home-arrow:hover {
    background-color: #fff;
    color: #333;
}
.section-header h1 {
    text-align: center;
    color: #7f7f7f;
    padding-left: 30px;
    padding-right: 30px;
    font-style: normal;
    font-weight: bold;
}

.section-header h2 {
    text-align: center;
    color: #7f7f7f;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: 25px;
    padding-left: 30px;
    padding-right: 30px;
    font-style: normal;
    font-weight: 400;
}

#what_module button {
    padding-bottom: 43px;
    color: #ff0000;
    text-transform: none;
    letter-spacing: 1px;
    font-size: 20px;
    font-weight: normal;
    font-style: normal;
    border:1px solid #ff0000;
    margin:0 auto;
    display:inline-block;
    padding: 5px 30px;
	background-color: #fff;
}
#what_module button:hover {
	background-color: #ff0000;
	color: #fff;
	transition: 0.5s all ease;
	-webkit-transition: 0.5s all ease;
	-moz-transition: 0.5s all ease;
}

.services {
    background-image: url(../images/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 0;
}

.services .services-box {
    background-color: #333;
    padding: 2%;
    height: 250px;
    position: relative;
    cursor: pointer;
}

.services .services-box div{
    float:left;
    bottom: 15px;
    position: absolute;
}

.services .services-box div .img2{
    opacity: 0;
    transition: 0s opacity ease;
    -webkit-transition: 0s opacity ease;
    -moz-transition: 0s opacity ease;
}

.services .services-box:hover{
    background-color: #000066;
	transition: 1s all ease;
	-webkit-transition: 1s all ease;
	-moz-transition: 1s all ease;
}

.services .services-box:hover div .img2 {
    opacity: 1;
    transition: 0.6s opacity ease;
    -webkit-transition: 0.6s opacity ease;
    -moz-transition: 0.6s opacity ease;
}

.services .services-box:hover div .img1 {
    opacity: 0;
    position: absolute;
    transition: 0.6s opacity ease;
    -webkit-transition: 0.6s opacity ease;
    -moz-transition: 0.6s opacity ease;
}

.services .services-box span img{
    opacity: 0;
    position: absolute;
    right: 20px;
    transition: 0.5s all ease;
    -webkit-transition: 0.5s all ease;
    -moz-transition: 0.5s all ease;
}

.services .services-box span p{
    opacity: 1;
    transition: 0.5s all ease;
    -webkit-transition: 0.5s all ease;
    -moz-transition: 0.5s all ease;
}

.services .services-box:hover span img{
    opacity: 1;
}

.services .services-box:hover span p{
    opacity: 0;
}

.services .services-box h1{
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    line-height: normal;
}

.services .services-box p{
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    text-align:right;
    float:right;
    width:68%;
}

.projects {
    margin-right: auto;
    margin-left: auto;
    padding-left: 8%;
    padding-right: 8%;
}

.projects h2 {
    font-size: 18pt;
    color: #0000cc;
    font-weight: normal;
}

.projects h1 {
    font-size: 14pt;
    color: #0000cc;
    font-weight: normal;
}

.projects p {
    color: #333;
    font-size: 12pt;
    text-align: left;
}

.projects a.viewallproject {
    color: #ff0000;
    text-decoration: none;
	font-weight: bold;
}

.projects .project-box {
    position: relative;
	overflow: hidden;
}

.projects .project-box div {
    background-color: rgba(0,0,0,0.8);
    text-align: left;
    position: absolute;
	width: 100%;
	bottom: 0;
}

.projects .project-box div h1{
    color: #fff;
	padding-left: 15px;
	padding-right: 15px;
}

.projects .project-box div p{
    color: #fff;
    font-size: 12px;
    line-height: 17px;
	padding-right: 15px;
	padding-left: 15px;
    padding-bottom: 15px;
	height: auto;
    text-align: justify;
	margin-bottom: 0;
	-webkit-transition: 0.5s all ease;
    -moz-transition: 0.5s all ease;
    transition: 0.5s all ease;
}

.projects .project-box:hover div p {
	-webkit-transition: 0.5s all ease;
    -moz-transition: 0.5s all ease;
    transition: 0.5s all ease;
}

footer {
    background-color: #000066;
    padding-top: 10px;
}

footer .projects p {
    color: #999999;
    font-size: 10px;
}

footer .projects .foot-right {
    float: right;
}

br.mobile-break {
    display: none;
}
/* Bootstrap Carousel 

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  max-width: 100%;
  height: auto;
}

.carousel {
  position: relative;
}
.carousel-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.carousel-inner > .item {
  display: none;
  position: relative;
  -webkit-transition: 0.6s ease-in-out left;
  -o-transition: 0.6s ease-in-out left;
  transition: 0.6s ease-in-out left;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  line-height: 1;
}
@media all and (transform-3d), (-webkit-transform-3d) {
  .carousel-inner > .item {
    -webkit-transition: -webkit-transform 0.6s ease-in-out;
    -o-transition: -o-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
  }
  .carousel-inner > .item.next,
  .carousel-inner > .item.active.right {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    left: 0;
  }
  .carousel-inner > .item.prev,
  .carousel-inner > .item.active.left {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    left: 0;
  }
  .carousel-inner > .item.next.left,
  .carousel-inner > .item.prev.right,
  .carousel-inner > .item.active {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    left: 0;
  }
}
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  display: block;
}
.carousel-inner > .active {
  left: 0;
}
.carousel-inner > .next,
.carousel-inner > .prev {
  position: absolute;
  top: 0;
  width: 100%;
}
.carousel-inner > .next {
  left: 100%;
}
.carousel-inner > .prev {
  left: -100%;
}
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
  left: 0;
}
.carousel-inner > .active.left {
  left: -100%;
}
.carousel-inner > .active.right {
  left: 100%;
}
.carousel-control {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 7%;
  opacity: 0.5;
  filter: alpha(opacity=50);
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  background-color: rgba(0, 0, 0, 0);
}
.carousel-control.left {
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
  background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001)));
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
}
.carousel-control.right {
  left: auto;
  right: 0;
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
  background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5)));
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
}
.carousel-control:hover,
.carousel-control:focus {
  outline: 0;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
}
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .fa-angle-left,
.carousel-control .fa-angle-right {
  position: absolute;
  top: 50%;
  font-size: 20pt;
  margin-top: -10px;
  z-index: 5;
  display: inline-block;
}
.carousel-control .icon-prev,
.carousel-control .fa-angle-left {
  left: 50%;
  margin-left: -10px;
}
.carousel-control .icon-next,
.carousel-control .fa-angle-right {
  right: 50%;
  margin-right: -10px;
}
.carousel-control .icon-prev,
.carousel-control .icon-next {
  width: 20px;
  height: 20px;
  line-height: 1;
  font-family: serif;
}
.carousel-control .icon-prev:before {
  content: '\2039';
}
.carousel-control .icon-next:before {
  content: '\203a';
}
.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 15;
  width: 60%;
  margin-left: -30%;
  padding-left: 0;
  list-style: none;
  text-align: center;
}
.carousel-indicators li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 1px;
  text-indent: -999px;
  border: 1px solid #ffffff;
  border-radius: 10px;
  cursor: pointer;
  background-color: #000 \9;
  background-color: rgba(0, 0, 0, 0);
}
.carousel-indicators .active {
  margin: 0;
  width: 12px;
  height: 12px;
  background-color: #ffffff;
}
.carousel-caption {
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 20px;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.carousel-caption .btn {
  text-shadow: none;
}
@media screen and (min-width: 768px) {
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-prev,
  .carousel-control .icon-next {
    width: 30px;
    height: 30px;
    margin-top: -10px;
    font-size: 30px;
  }
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .icon-prev {
    margin-left: -10px;
  }
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-next {
    margin-right: -10px;
  }
  .carousel-caption {
    left: 20%;
    right: 20%;
    padding-bottom: 30px;
  }
  .carousel-indicators {
    bottom: 20px;
  }
}
*/
/***********************/

@media only screen and (max-width: 1000px) { 
    .home-arrow {
        bottom: 0;
    }
	br.mobile-break {
        display: block;
    }
	br.pc-display {
		display: none;
	}
	.projects .project-box div p{
		height: auto;
	}
	
	.modal-content {
		margin-top: -100px;
	}
	.contact-row2 .span6 input {
		padding: 10px 15px;
	}
	
	.contact-row2 .span6 textarea.form-control {
		height: 20px;
	}
}

@media (max-width: 950px) { 
    .navbar .nav > li > a {
        font-size: 10px;
        padding-left: 9px;
        padding-right: 9px;
        margin-left: 0;
    }
}

@media only screen and (max-width: 991px) { 
    a.mobile-display {
        display: block !important;
    }
    .pc-pc-display {
        display: none !important;
    }
    .span6 {
        width: 95% !important;
        margin-top: 15px;
        margin-bottom: 15px;
    }
}
@media only screen and (max-width: 979px) { 
    .home-arrow {
        top: 60%;
    }
}

@media only screen and (max-width: 767px) { 
    .span6 {
        width: 100% !important;
    }
    .pc-display {
        display: none !important;
    }
    .navbar .navbar-inner {
        background-color: rgb(28,28,28);
        height: 54px;
    }
    .mobile-display {
        display: inline;
    }
}

@media (max-width: 480px) {
    .services .services-box {
        margin-top: 5%;
    }   
    
    footer .projects p {
        text-align: center;
    }
    
    footer .projects .foot-right {
    float: none;
}
}