/* Required tweaks */
  /** {
    margin: 0;
  }*/

  html, body {
    min-height: 100%;
    height: 100%;
  }

/* Custom fonts */
  @font-face {
    font-family: Roboto;
    src: url(fonts/roboto/Roboto-Regular.ttf);
  }

  @font-face {
    font-family: Roboto-b;
    src: url(fonts/roboto/Roboto-Bold.ttf);
    font-weight: bold;
  }

  @font-face {
    font-family: Roboto-l;
    src: url(fonts/roboto/Roboto-Light.ttf);
    font-weight: bold;
  }

  .page-title {
    font-family: Roboto;
    text-transform: uppercase;
  }

  .page-title h3 {
    font-family: Roboto-l;
    text-transform: uppercase;
  }

  .text-header {
    border-bottom: solid 1px #eee;
    margin: 0 0 15px 0;
    padding: 0 0 15px 0;
  }

  .content-section p {
    font-family: Roboto-l;
    font-size: 14px;
    line-height: 26px;
  }

  .content-section p b{
    font-family: Roboto-b;
    font-size: 14px;
    line-height: 26px;
  }

/* Colors */
  .colored-section {
    background: #2D3E50;
  }

  .colored-section h1, .colored-section h3, .colored-section h4  {
    color: white;
  }

  .colored-section p {
    color: #AAB4BD;
  }

  .colored-section .text-muted {
    color: #AAB4BD;
  }

  .colored-section .text-header {
    border-bottom: solid 1px #3E4D5E;
  }

  .font-red-main {
    color: #840000;
  }

  .font-red-matte {
    color: #E75252;
    /*842421*/
  }

  .alert-helper {
    color: #E75252 !important;
    display: none;
  }

  a {
    color: #FF4343;
  }

  a:hover, a:focus, a:visited {
    color: #840000;
  }

/* Global classes */
  .page-title {
    margin: 0 0 30px 0;
  }

  .valign {
    display: flex !important;
    align-items: center !important;
  }

  .vertical-align {
    display: flex;
    align-items: center;
  }

  .inverse {
    text-align: left;
  }

  .normal {
    text-align: right
  }

  .content-section {
    padding: 40px 0 40px 0;
  }

/* Landing section */
  .header-wrap {
    height: 100vh;
    min-height: 800px;
  }

  #parallax1 {
    padding: 0 0 50px 0;
    margin-bottom: -50px;
    color: white;
    height: 100%;
  }

  #parallax1 h1, #parallax1 h2, #parallax1 h3, #parallax1 small p {
    text-transform: uppercase;
    margin: 5px 0 5px 0;
  }

  #parallax1 small p {
    margin: 50px 0 0 0px;
    font-family: roboto-l;
    font-size: 10px;
  }

  #parallax1 .logo {
    padding: 0px;
  }

  #parallax1 img {
    margin: 0 0 30px 0;
  }

  #parallax1 h3 {
    font-family: roboto-l;
    font-size: 14px;
  }

  #parallax1 h2 {
    font-size: 26px;
  }

  #parallax1 h1 {
    font-family: roboto-b;
    font-size: 20px;
  }

  #parallax1 .container-fluid{
    display: table;
    height: 100%;
  }


  /* Parallax background */
  #parallax1{
    background: url(../img/parallax/parallax1-alt.jpg) center no-repeat;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-position: 0% 0%;
  }

  #parallax1 .row {
    height: 100%;
  }

/* Nav section */
  #navigation .col-md-12 {
    padding: 0px;
  }

  #navigation .navbar {
    border-radius: 0px;
    margin-bottom: 0px;

    border: none;

    background: #141C24;

    width: 100%;
  }

  #navigation .navbar .active {
    border-bottom: solid #840000 2px;
  }

  #navigation .nav-justified > li{
    float: none !important;
  }

  #navigation .navbar .nav li a {
    display: inline-block;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .hover a::after {
    position: absolute;
    top: 70%; left: 0;
    width: 100%;
    height: 2px;
    /*background: rgba(132,0,0,1);*/
    background: rgba(176,47,43,1);
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.3s,
    -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s,
    -moz-transform 0.3s;
    transition: opacity 0.3s,
    transform 0.3s;
    -webkit-transform: translateY(4px);
    -moz-transform: translateY(4px);
    transform: translateY(4px);
  }

  .hover a:hover::after,.hover a:focus::after {opacity: .9; -webkit-transform: translateY(0px);-moz-transform: translateY(0px);transform: translateY(0px);}

/* Footer section */
  #footer .container-fluid {
    height: 200px;
    color: #6E7A86;
    background: #141C24;

    padding: 50px 15px 0 15px;
  }

/* Us section */
  #us .row {
    margin: 20px 0 20px 0;
  }

  #us .usimage {
    padding: 10px;
    background: #F8F8F8;
  }

/* Services section */
  #services .item {
    /*height: 300px;*/
  }

  #services .services-row a {
    display: block;
    width: 25%;
    float: left;
  }

  #services .services-row a:active,
  #services .services-row a:visited,
  #services .services-row a:focus {
    text-decoration: none;
  }

  #services .services-row a:hover {
    text-decoration: none;
    border-bottom: solid 1px #6E7A86;
  }

  #services .services-row i {
    font-size: 3em;
    color: #E75252;
  }

  #services .carousel-inner {
    /*padding: 60px 0 60px 0;*/
    margin: 0 0 40px 0;
    background: rgba(20, 28, 36, 0.25);
  }

  #services .carousel-inner .item {
    margin: 60px 0 60px 0;
  }

  #services .con-row {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  #services .item {
    min-height: 350px;
    height: 350px;
  }

  #services .item .container {
    height: 100%;
    min-height: 100%;
    display: flex;
  }

  #services .carousel-indicators>a>p {
    min-height: 200px;
  }

/* Portfolio section */
  .grid-wrapper {
    background: #F8F8F8;
    border-radius: 6px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .grid-wrapper #grid .grid-item {
  }

  .navigation-row .btn-default {

  }

  #grid .grid-item {
    padding: 15px;
  }

  /*#grid .grid-item a:after {
    content:'\f065';
    font-family: FontAwesome;
    font-size: 4em;
    color: white;
    text-align: center;
    padding-top: 40%;
    position:absolute;
    width:100%; height:100%;
    top:0; left:0;
    background:rgba(231, 82, 82, 0.8);
    opacity:0;
    transition: all 1s;
    -webkit-transition: all 1s;
  }*/

  #grid .grid-item a:after {
    content:'\f065';
    font-family: FontAwesome;
    font-size: 4em;
    color: white;
    position:absolute;
    width:100%; height:100%;
    padding-left: 45%;
    top:0; left:0;
    background:rgba(231, 82, 82, 0.8);
    opacity:0;
    transition: all 1s;
    -webkit-transition: all 1s;

    display: flex;
    align-items: center;
    text-align: center;
  }

  #grid .grid-item a:hover:after {
    opacity: 1;
  }

  #portfolio .navigation-row {
    margin-bottom: 30px;
  }

/* contact section */
  #contact .input-group-addon {
    width: 50px;
  }

  #contact .input-group, #input .form-control {
    width: 100%;
  }

  #contact .dual-input .left-col {
    padding: 0 15px 0 0;
  }

  #contact .dual-input .right-col {
    padding: 0 0 0 15px;
  }

  #contact .form-control, #contact .input-group-addon {
    border-radius: 0px;
  }

  #contact .input-group-addon {
    color: #E75252;
    background: #141C24;
    border-color: #374656;
  }

  #contact .form-control {
    border-color: #374656;
  }

  #contact .btn-custom {
    background: #E75252;
  }

  #contact .btn-custom:hover {
    background: #B34040;
  }

  .table-borderless>tbody>tr>td,
  .table-borderless>tbody>tr>th,
  .table-borderless>tfoot>tr>td,
  .table-borderless>tfoot>tr>th,
  .table-borderless>thead>tr>td,
  .table-borderless>thead>tr>th {
    border: none;
  }

  #contact .table-borderless {
    color: #6E7A86;
  }

/* not found section */
  #notfound, #notfound .container-fluid {
    min-height: 100%;
    height: 100%;

    background: #f8f8f8;
  }

  #notfound .row {

    min-width: 100%;
    width: 100%;

    border-style: solid;
    border-width: 1px;
    border-color: #e2e2e2;

    border-right-style: none;
    border-left-style: none;

    background: white;

    margin: 0px;
    padding: 50px 0 50px 0;
  }

  #notfound h1 {
    font-weight: bold;
  }

  #notfound i {
    font-size: 2em;
  }

/* Anti bootstrap tweaks */
  .carousel-indicators {
    position: static;
    left: 0;
    z-index: auto;
    width: auto;
    margin-left: 0;
  }

  .carousel-indicators a {
    border-bottom: solid 1px #2D3E50;
  }

  .carousel-indicators .active:hover {
    border-bottom: solid 1px #6E7A86;
  }

  .carousel-indicators .col-md-4 {
    border-bottom: solid 1px rgba(110, 122, 134, 0);
  }

  .carousel-indicators .active {
    width: 25%;
    height: 100%;
    background: none;
    border-color: #6E7A86;
    transition: border-color 1s ease-in-out;
  }

  @media (max-width: 767px) {
    .carousel-indicators a>h3, .carousel-indicators a>p {
      display: none;
    }

    .carousel-indicators a>i {
      margin-bottom: 20px;
    }
  }

  @media (max-width: 991px) {
    .grid-item {
      width: 50%;
    }

    #contact .dual-input .right-col, #contact .dual-input .left-col {
      width: 100%;
      padding: 0px;
    }

    #us .table-row {
      display: block;
    }

    #us .ustext, #us .usimage {
      width: 100%;
      text-align: center;
    }

    #us .ustexttop {
      margin-bottom: 30px;
    }

    #us .ustextbottom {
      margin-top: 30px;
    }

    #services .item {
      min-height: 650px;
      height: 650px;
    }

    #services .valign {
      display: block !important;
    }

    #services .services-text {
      width: 100%;
      min-height: 300px;
      height: 300px;
    }

    #services .services-image {
      width: 50%;
      float: left;
    }
  }

  @media (max-width: 992px) {
    .g-recaptcha {
      transform: scale(0.7);
    }
  }
	
	@-webkit-keyframes thumb {
		0% { -webkit-transform: scale(1); }
		50% { -webkit-transform: scale(0.9); }
		100% { -webkit-transform: scale(1); }
	}
	
	.playable::after {
		position: absolute;
		content: "\f04b";
		font-size: 4em;
		color: #E75252;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		font-family: FontAwesome;
		display: flex;
		align-items: center;
		padding-left: 45%;
		
		transition: all .3s ease-in-out;
	}
 
	.playable:hover::after {
		-webkit-animation-name: thumb;
		-webkit-animation-duration: 200ms;
		-webkit-transform-origin:50% 50%;
		-webkit-animation-iteration-count: 2;
		-webkit-animation-timing-function: linear;
	}