/*
 * A Design by GraphBerry
 * Author: GraphBerry
 * Author URL: http://graphberry.com
 * License: http://graphberry.com/pages/license
 */


/* Table of content
1.General - This is created general styles and overide some bootstrap classes.
2.Layout
 2.1 Animations
 2.2 Buttons
 2.3 Thumbnail - overide bootstrap thumbnail and add mased efect
 2.4 Socail icons -style for social icons list
3 Sections - definition for section and subsection
 3.1 Services
 3.2 Portfolio
 3.3 About
 3.4 Clients
 3.5 Price table
 3.6 Newsletter
 3.7 Contact
 3.8 Footer
4 Responsive 
**********************************************************************/


/*
1. General
**********************************************************************/

body {
  font-family: 'Roboto', sans-serif;
  color: #FFF;
  line-height: 1.2em;
  font-size: 17px;
  line-height: 20px;
}

a {
  color: #17252a;
  text-decoration: none;
}

a:hover {
  color: #2b7a78;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

h1 {
  margin: 10px;
}

p {
  padding: 10px;
  font-weight: 100;
  color: #fff;
}

.navbar {
  background: #17252a;
  margin-bottom: 0;
  min-height: 70px;
}

.navbar-fixed-top {
  min-height: 60px;
  height: 60px;
  padding-top: 0;
}

.navbar-inner {
  background: #17252a;
  border-radius: 0;
  filter: none;
  border: none;
  box-shadow: none;
}

.navbar .brand img {
  width: 180px;
  height: 45px;
}

.navbar .nav>li>a {
  text-transform: uppercase;
  line-height: auto;
  vertical-align: middle;
  margin: 10px 3px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  border: 1px solid #17252a;
  box-shadow: none;
  font-size: 15px;
  text-shadow: none;
  color: #fff;
  transition: border-color 1s ease;
}

.navbar .nav>li:hover>a,
.navbar .nav>.active>a,
.navbar .nav>.active>a:hover,
.navbar .nav>.active>a:focus {
  border: 1px solid #7aff9e;
  color: #fff;
  background-color: #17252a;
  transition: border-color 1s ease;
}

.nav-pills {
  margin-bottom: 30px;
}

.nav-pills>li>a {
  background: transparent;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  margin-right: 5px;
  padding-left: 17px;
  padding-right: 17px;
  border: 1px solid #17252a;
}

.nav-pills>li>a:hover,
.nav-pills>.active>a,
.nav-pills>.active>a:hover,
.nav-pills>.active>a:focus {
  background: #17252a;
  color: #fff;
}

.navbar .btn-navbar:hover,
.navbar .btn-navbar {
  border-radius: 3px;
  background: #17252a;
  color: #7aff9e;
  border-color: #7aff9e;
  margin-top: 1em;
}


/******
2. Layout
**********************************************************************/

.centered {
  margin-left: auto;
  margin-right: auto;
  float: none;
  text-align: center;
}


/* Use this class if you want ceter element with span* class */

.center {
  float: none !important;
  margin: 0 auto !important;
  text-align: center;
}

.highlighted-box {
  background: #F4F8F9;
  padding: 20px 30px;
}

.highlighted-box h1 {
  margin: 0px;
}

.large-text {
  line-height: 1.2em;
  font-size: 30px;
  color: #17252a;
  padding: 20px;
  margin-bottom: 20px;
}

.highlighted-box h1,
.highlighted-box p {
  color: #17252a !important;
}

.circle-border {
  display: inline-block;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
  border-radius: 500px;
  -khtml-border-radius: 500px;
  border: 3px solid #fff;
}

.left-align {
  text-align: left;
}

.right-align {
  text-align: left;
}

.error {
  color: #CF0000;
  display: none;
}

.invisible {
  display: none;
  visibility: visible;
}

.triangle {
  margin: 0 auto;
  text-align: center;
  width: 0;
  height: 0;
  border-top: 30px solid #17252a;
  border-left: 585px outset transparent;
  border-right: 585px outset transparent;
  position: relative;
}


/*
2.1 Animations
**********/

.zoom-in {
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -o-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -webkit-transition: all 250ms ease;
  -moz-transition: all 250ms ease;
  -o-transition: all 250ms ease;
  -ms-transition: all 250ms ease;
  transition: all 250ms ease;
}

.zoom-in:hover {
  -webkit-transform: scale(1.1, 1.1);
  -moz-transform: scale(1.1, 1.1);
  -o-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
}


/*
2.2 Buttons - There are buttons on a transparent background, primary and secondary color background.
**********/

.button,
.button:visited,
.button:focus {
  display: inline-block;
  border: 1px solid #17252a;
  color: #17252a;
  background-color: transparent;
  padding: 15px 30px;
  font-size: 17px;
  line-height: auto;
}

.button:hover,
.button:active {
  background-color: #17252a;
  color: #fff;
}

.button-sp,
.button-sp:visited,
.button-sp:focus {
  border: none;
  background-color: #3aafa9;
  color: #17252a;
}

.button-sp:hover,
.button-sp:active {
  background-color: #17252a;
  color: #3aafa9;
}

.button-ps,
.button-ps:visited,
.button-ps:focus {
  border: none;
  background-color: #17252a;
  color: #3aafa9;
}

.button-ps:hover,
.button-ps:active {
  background-color: #3aafa9;
  color: #17252a;
}


/*
2.3 Thumbnails - Predefined bootstrap's thumbnail class.
**********/

.thumbnail {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  position: relative;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  background: #191a1c;
}

.thumbnail .more {
  display: block;
  z-index: 4;
  position: absolute;
  top: -100px;
  left: 50%;
  margin: 0 auto;
  margin-left: -41px;
  width: 80px;
  height: 80px;
  font-size: 40px;
  color: #fff;
  text-decoration: none;
  line-height: 70px;
  text-align: center;
}

.thumbnail:hover .more {
  top: 40%;
  margin-top: -40px;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3 s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.thumbnail h3,
.thumbnail p {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 4;
}

.thumbnail h3 {
  color: #3aafa9;
  margin-top: 10px;
  font-size: 20px;
}

.thumbnail>p {
  padding-bottom: 20px;
}

.thumbnail .mask {
  opacity: 0.85;
  filter: alpha(opacity=85);
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #17252a;
  position: absolute;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2 s ease-out;
  -ms-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.thumbnail:hover .mask {
  top: 0;
}


/*
2.4 Socail icons
************/

.social {
  list-style: none;
  float: none;
  position: relative;
  margin: 5px auto;
}

.social li {
  display: inline-block;
  line-height: 32px;
  font-family: 'Porta';
  font-size: 32px;
  padding: 0 5px;
}

.social li a {
  margin: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  color: #3aafa9;
}

.social li a:hover {
  color: #17252a;
}


/*
3. Sections 
***************************************************************************/

.section {
  padding-bottom: 50px;
}

.section .container {
  padding-top: 50px;
}

.section .title {
  text-align: center;
  padding: 10px;
  margin-bottom: 30px;
}

.section .title h1 {
  font-weight: normal;
  margin-bottom: 20px;
  padding: 0;
}

.section .title>p {
  font-size: 20px;
  color: #FFF;
  font-weight: lighter;
}

.primary-section {
  background: #17252a;
}

.primary-section .triangle {
  border-top: 40px solid #feffff;
}

.primary-section .title {
  border-bottom: 1px solid #FFF;
}

.primary-section,
.primary-section .title p {
  color: #7aff9e;
}

.primary-section h3 {
  color: #3aafa9;
}

.primary-section h1 {
  color: #FFF;
}

.secondary-section {
  background: #feffff;
}

.secondary-section .title {
  border-bottom: 1px solid #17252a;
}

.secondary-section h1,
.secondary-section .title p {
  color: #17252a;
}


/* Third section use bacground image */

.third-section {
  padding-bottom: 70px;
  background: #17252a url(../images/brand-bg.png) no-repeat center;
  background-attachment: fixed;
  background-size: cover;
  border-top: 6px solid #7aff9e;
}

.third-section .container {
  padding-top: 20px;
  position: relative;
}

.third-section .title {
  border-bottom: 1px solid #A1AAB7;
  color: #7aff9e;
}

.sub-section {
  margin-top: 30px;
}

.sub-section .title {
  padding: 0;
}


/*******
3.1 Services  
***************************************/

.service {
  margin-top: 20px;
}

.service,
.service h2 {
  padding-top: 15px;
}

.service p {
  padding: 0px 50px;
  height: 60px;
}

.service img {
  width: 150px;
  height: 150px;
}


/*
3.2 Portfolio
***************************************/

.single-project {
  margin-bottom: 30px;
  background: #17252a;
}

.single-project img {
  width: 100%;
}

.project-description {
  padding-right: 20px;
}

.project-description p {
  padding-left: 0;
}

.project-title {
  margin-top: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #7aff9e;
}

.project-title h3 {
  float: left;
  margin-top: 0;
  padding: 0;
  width: 80%;
}

.project-title .close {
  color: #feffff;
  margin-top: 10px;
}

.project-info span,
.project-title h3 {
  color: #7aff9e;
}

.project-info {
  font-weight: 100;
  padding: 10px 0;
}

.project-info span {
  width: 80px;
  display: inline-block;
}

.project-info div {
  margin-bottom: 5px;
}

.close {
  float: right;
  width: 40px;
  height: 40px;
  text-align: center;
}

#portfolio-grid .mix {
  opacity: 0;
  display: none;
}


/*
3.3 About
******************************************************************/

.team .thumbnail {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 10px;
  border: 1px solid #fff;
}

.team .thumbnail:hover .social {
  z-index: 5;
}

.team .thumbnail:hover .social a {
  color: #2b7a78;
}

.team .thumbnail .mask {
  background: #7aff9e;
}

.team .thumbnail .mask h2 {
  margin-top: 20%;
}

.team .thumbnail .mask,
.team .thumbnail .mask h3,
.team .thumbnail .mask p,
.team .thumbnail:hover h3,
.team .thumbnail:hover .social a:hover {
  color: #181A17;
}

.about-text {
  margin-top: 30px;
}

.about-text p {
  padding: 0;
  font-size: 16px;
}


/*********************************************************************
                        SKILLS BAR
*********************************************************************/

.skills {
  list-style-type: none;
  position: relative;
  margin: 0px;
}

.skills li {
  margin-bottom: 30px;
  background: #FFF;
  height: 40px;
  padding: 1px;
}

.skills li h3 {
  position: relative;
  font-size: 15px;
  padding: 0;
  margin: 0;
  left: 10px;
  z-index: 1;
  color: #17252a;
}

.skills li .bar {
  height: 40px;
  position: absolute;
  background-color: #7aff9e;
}


/*
3.4 Clients
**********************************************************************/

.client-slider img {
  border: 1px solid white;
}

.client-slider img:hover {
  background-color: #7aff9e;
}

.client-nav {
  list-style: none;
  margin-top: 10px;
}

.client-nav li {
  float: left;
  display: block;
  margin-left: 10px;
}

.client-nav li a {
  display: inherit;
  padding: 5px;
  background: #3aafa9;
  border-radius: 3px;
  width: 20px;
  height: 20px;
}

.client-nav li a:hover {
  background: #17252a;
}

.testimonial p {
  color: #17252a;
  background: #feffff;
  padding: 15px;
  margin: 0;
  border-radius: 12px;
}

.testimonial .arrow {
  margin-left: 10px;
  width: 0;
  border-top: 10px solid #feffff;
  border-left: 20px outset transparent;
  border-right: 20px outset transparent;
}

.testimonial .whopic {
  display: inline-block;
}

.testimonial .whopic img {
  margin-top: 10px;
  width: 50px;
  height: 50px;
  float: left;
}

.testimonial .whopic strong {
  float: left;
  margin-top: 10px;
  padding-left: 10px;
}

.testimonial .whopic small {
  display: block;
  font-size: 12px;
}

.testimonial-text {
  display: block;
  font-size: 22px;
  text-align: center;
  margin: 0 auto;
  margin-top: 30px;
  width: 70%;
  line-height: 1.3em;
}


/*
3.5 Price table
******************************************************************/

.price-table {
  margin-top: 70px;
  margin-bottom: 20px;
}

.price-column {
  background-color: white;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding-bottom: 20px;
  margin: 0 auto;
  text-align: center;
}

.price-column h3 {
  background-color: #17252a;
  text-transform: uppercase;
  text-align: center;
  color: #3aafa9;
  padding: 40px 0px;
  font-size: 36px;
  margin-top: 0px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 10px 10px 0px 0px;
  border-radius: 10px 10px 0px 0px;
}

.price-column .list {
  list-style: none;
  margin: 20px 50px;
}

.price-column .list li {
  font-weight: lighter;
  color: #747C89;
  font-size: 20px;
  border-bottom: 1px solid #747C89;
  padding: 25px 0px;
}

.price-column .list li.price {
  text-align: center;
  font-size: 31px;
  background-color: white;
  color: #747C89;
  margin-top: 25px;
}

.price-text {
  margin: 30px 0 20px;
  font-size: 20px;
  color: #17252a;
  font-weight: normal;
}


/*
3.6 Newsletter
********************************************************************/

.newsletter,
.newsletter h2 {
  color: #D7DDDE;
}

.newsletter .title h2 {
  text-align: left;
  padding: 0;
  margin: 0;
}

.newsletter form {
  text-align: right;
}

.newsletter input {
  margin-top: 10px;
  padding: 15px;
  height: auto;
}

.newsletter button {
  margin: 0 0 0 20px;
}

.newsletter .button-sp:hover,
.newsletter .button-sp:active {
  background-color: #FFF;
  color: #17252a;
}


/*
3.7 Contact
********************************************************************/

.contact {
  background: #feffff;
}

.contact h1,
.contact h2,
.contact h3,
.contact h4,
.contact h5,
.contact h6,
.contact .section .title>p,
.contact .social>li>a {
  color: #17252a;
}

.contact textarea,
.contact input[type="text"],
.contact input[type="email"] {
  padding: 10px;
  line-height: 20px;
  height: auto;
}

.contact textarea {
  height: 120px;
}

.contacts,
.contact .social {
  color: #2b7a78;
  list-style: none;
  margin-left: 10px;
}

.contacts>li {
  margin-top: 15px;
}

.contacts>li>a {
  color: #2b7a78;
}

.contact-info {
  margin-top: 10px;
  margin-bottom: 10px;
}

.contact-info p {
  font-weight: normal;
  color: #2b7a78;
}

.contact-info .icon {
  margin: 10px auto;
  font-size: 30px;
}

.map-wrapper {
  position: relative;
  height: 500px;
}

.map-canvas {
  position: absolute;
  margin-bottom: 20px;
  width: 100%;
  height: 500px;
  color: #29383F;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
}

.contact .social {
  display: inline-block;
  margin-left: 0;
}

.contact .social li {
  line-height: 32px;
  padding: 10px 10px;
  font-family: 'Porta';
  font-size: 50px;
  transition: margin 0.4s;
  -webkit-transition: margin 0.4s;
}

.contact .social li a {
  color: #2b7a78;
}

.contact .social li a:hover {
  color: #17252a;
}

.contact-form {
  background: #fff;
  background: rgba(255, 255, 255, 0.9);
  z-index: 110;
  position: relative;
  margin-top: -35px;
  padding: 20px;
}

.contact-form h3 {
  color: #838589;
  padding-bottom: 20px;
}

.message-btn {
  border: 1px solid #747C89;
  color: #17252a;
  background-color: transparent;
  padding: 15px 30px;
  font-size: 17px;
}

.message-btn:hover {
  background-color: #2b7a78;
  color: #fff;
}

.contact-info {
  text-align: center;
  font-size: 22px;
}

.info-mail {
  border: 1px solid #7aff9e;
  width: 60%;
  margin: 0 auto;
  padding: 15px;
  color: #17252a;
}

.black {
  color: #17252a;
}


/*
3.8 Footer
********************************************************************/

.footer {
  background: #17252a;
  text-align: center;
}

.footer>p {
  color: #fff;
  margin: 0;
}

.footer a {
  color: #7aff9e;
}

.footer a:hover,
.footer a:focus {
  text-decoration: underline;
}

.scrollup {
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
  width: 39px;
  height: 39px;
  border-radius: 5px;
  font-size: 20px;
  position: fixed;
  bottom: 30px;
  right: 20px;
  border: 1px solid #fff;
  display: none;
  background: #3aafa9;
}

.scrollup>a {
  position: relative;
  top: 7px;
  color: #fff;
}


/*
4 Responsible
********************************************************************/

@media (min-width: 1200px) {
  .thumbnail .more {
    margin-left: -41px;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    line-height: 80px;
  }
}

@media (max-width: 979px) {
  body {
    padding-left: 0;
    padding-right: 0;
  }
  .navbar-fixed-top,
  .navbar-fixed-bottom {
    position: fixed;
  }
  .navbar .nav>li>a {
    line-height: 20px;
    vertical-align: middle;
  }
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .navbar-fixed-top,
  .navbar-fixed-bottom,
  .navbar-static-top {
    margin-left: 0px;
    margin-right: 0px;
  }
  .nav-collapse {
    clear: both;
  }
  .nav-collapse .nav {
    float: none;
    margin: 0 0 10px;
  }
  .nav-collapse .nav>li {
    float: none;
  }
  .nav-collapse,
  .nav-collapse.collapse {
    width: 100%;
    display: inherit;
  }
  .thumbnail .more {
    margin-left: -21px;
    width: 40px;
    height: 40px;
    border-radius: 30px;
    line-height: 40px;
  }
  .thumbnail:hover .more {
    margin-top: -20px;
  }
  .newsletter form {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .info-mail {
    width: 90%;
    padding: 15px 0px;
  }
  .project-description {
    padding-left: 20px;
  }
  .price-column,
  .testimonial {
    margin-top: 30px;
  }
}

.mr-btn {
  position: relative;
  display: block;
  margin: 30px auto;
  padding: 0;
  overflow: hidden;
  border-width: 0;
  outline: none;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

.mr-btn>* {
  position: relative;
}

.mr-btn span {
  display: block;
  padding: 12px 24px;
}

.mr-btn:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 0;
  padding-top: 0;
  border-radius: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.mr-btn:active:before {
  width: 120%;
  padding-top: 120%;
  transition: width .1s ease-out, padding-top .2s ease-out;
}


/* Material style */

.mr-btn {
  border: none;
  cursor: pointer;
  padding: 15px 40px;
  border-radius: 2px;
  box-shadow: 2px 2px 4px rgba(122, 255, 158, .88);
}


/* Ripple magic */

.mr-btn {
  position: relative;
  overflow: hidden;
}

.mr-btn:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, .5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    transform: scale(25, 25);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

.mr-btn:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

#video-container {
  position: absolute;
}

#video-container {
  top: 0%;
  left: 0%;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

video {
  position: absolute;
  z-index: 0;
  background-color: transparent;
}

video.fillWidth {
  width: 100%;
  margin-top: -8%;
}

@media (max-width: 979px) {
  video.fillWidth {
    margin-top: -5%;
  }
}
