/*!
 * Start Bootstrap - Modern Business (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */
html,
body {
  height: 100%;
  padding-top: 0px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
  background: #fafafa;
  background-size: cover;
  font-size: 16px; 
  font-family:Helvetica,Arial,sans-serif;
}
footer {
  background: #fafafa;
}
p {
 font-size: 16px;  
}
.img-portfolio {
  margin-bottom: 30px;
}
.img-hover:hover {
  opacity: 0.8;
}
a:hover {
  text-decoration: none;
}
a:hover, a:focus {
  color: #666666;
  text-decoration: underline;
}
#main-container .container {
  background-color:#ffffff; 
  padding-left:35px;  
  padding-right:35px;  
  padding-bottom:35px;  
}
.vertical-align {
  display: flex;
  align-items: center;
}
.help-block ul {
  list-style-type: square;
}
hr {
  height: 1px;
}

/* Collapse */
.dropdown-menu {
  background-color:rgba(255,255,255,.9);    
}
.dropdown .dropdown-menu {
  background-color:rgba(255,255,255,.9);    
}
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .navbar-nav .open .dropdown-menu > li > a {
    line-height: 20px;
  }
  .navbar-nav .open .dropdown-menu > li > a,
  .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 5px 15px 5px 25px;
  }
  .dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #ffffff;
    white-space: nowrap;    
  }
  .navbar-header {
    float: none;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-collapse.collapse {
    display: none!important;
  }
  .navbar-nav {
    float: none!important;
    /*margin: 7.5px -15px;*/
    margin: 7.5px 0px 7.5px 0px;
  }
  .navbar-nav>li {
    float: none;
  }
  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .navbar-text {
    float: none;
    margin: 15px 0;
  }
  #nav-search-icon {
    display: none;
  }  
  /* since 3.1.0 */
  .navbar-collapse.collapse.in { 
    display: block!important;
  }
  .collapsing {
    overflow: hidden!important;
  }
}

.navbar-toggle {
  margin-left:0px;
  margin-top:8px;
  border: none;
  outline: none;
}
.navbar-toggle:after { 
  content: "MENU"; 
  color:#ffffff;
  right:-55px;
  top:6px;
  position:absolute;
  font-weight: bold;  
}

@media (max-width: 767px /* @screen-xs-max */) {
  .navbar .dropdown-menu a {
    color: #e95420;
  }
  .navbar-form{
    margin-left: -25px;
    margin-right: -25px;
    padding: 10px 15px;
    border: 0px;
    -webkit-box-shadow: inset 0 0px 0 rgba(255, 255, 255, 0.1), 0 0px 0 rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0px 0 rgba(255, 255, 255, 0.1), 0 0px 0 rgba(255, 255, 255, 0.1);
    margin-top: 2px;
    margin-bottom: 2px;
  }
  .navbar-toggle {
    margin-left:15px;
    margin-top:8px;    
    border: none;
    outline: none;
  }
  .nav > li > a {
    padding: 10px 30px;
  } 
  .navbar-nav .open .dropdown-menu>li>a, 
  .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 5px 15px 5px 45px;
  }
}

@media (min-width: 992px) {
  .navbar-brand {
    display: none;
  }
}

/* Dropdown Menu */
.dropdown-submenu {
  position:relative;
}
.dropdown-submenu>.dropdown-menu {
  top:0;
  left:100%;
  margin-top:-6px;
  margin-left:-1px;
  -webkit-border-radius:0 6px 6px 6px;
  -moz-border-radius:0 6px 6px 6px;
  border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
  display:block;
}
.dropdown-submenu>a:after {
  display:block;
  content:" ";
  float:right;
  width:0;
  height:0;
  border-color:transparent;
  border-style:solid;
  border-width:5px 0 5px 5px;
  border-left-color:#cccccc;
  margin-top:5px;
  margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
  border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
  float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
  left:-100%;
  margin-left:10px;
  -webkit-border-radius:6px 0 6px 6px;
  -moz-border-radius:6px 0 6px 6px;
  border-radius:6px 0 6px 6px;
}

/* Top Bar */
#topnavbar {
  margin: 0;
}
#topnavbar.affix {
  position: fixed;
  top: 0;
  width: 100%;
}
#banner h1 a:hover, a:focus {
  text-decoration: none;
}

/* Navigation Bar */
.logo {
  left: 0%;
  position: absolute;
}
li.logo {
  width: 6em;
  height: 6em;
  margin: -16px 0px 0px -125px;
  padding: 0px 20px 0px 10px;
  float: left;
  overflow: visible;
}
.nav a{
  font-size: 17px;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background-color: #eeeeee;
  border-color: #eeeeee;
}
.navbar-default {
  border: none;
  background-color: #e65100; /*#f47c3c;*/
  border-color: #e65100;
  background-image: -webkit-linear-gradient(top, #ff6d00 0%, #e65100 100%);
  background-image: linear-gradient(to bottom, #ff6d00 0%, #e65100 100%);
  background-repeat: repeat-x;
  margin-bottom: 0;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background-color: #e65100;
}
.navbar-default .navbar-right > li > a:hover,
.navbar-default .navbar-right > li > a:focus {
  background-color: #bf3600;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: #e65100;
}
.navbar-default .navbar-right > .active > a,
.navbar-default .navbar-right > .active > a:hover,
.navbar-default .navbar-right > .active > a:focus {
  background-color: #bf3600;
}
.navbar-default .navbar-nav .navbar-right > .open > a,
.navbar-default .navbar-nav .navbar-right > .open > a:hover,
.navbar-default .navbar-nav .navbar-right > .open > a:focus {
  background-color: #e65100;
}
.navbar-default .navbar-right > .active > a,
.navbar-default .navbar-right > .active > a:hover,
.navbar-default .navbar-right > .active > a:focus {
  background-color: #bf3600;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #e65100;
}
.navbar-default .navbar-right > .open > a,
.navbar-default .navbar-right > .open > a:hover,
.navbar-default .navbar-right > .open > a:focus {
  background-color: #bf3600;
}
.navbar-brand {
  font-size: 17px;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  background-color: #e65100;
}

/* Login */
#login-dp{
  min-width: 250px;
  overflow:hidden;
  background-color:rgba(255,255,255,.9);
  padding-top: 5px;
  padding-bottom: 10px;
  padding-left: 2px;
  padding-right: 2px;
}
#login-dp .bottom{
  background-color:rgba(255,255,255,.9);
  border-top:1px solid #ddd;
  clear:both;
  padding:10px;
}
#login-dp .social-buttons{
  margin:12px 0    
}
#login-dp .social-buttons a{
  width: 49%;
}
#login-dp .form-group {
  margin-bottom: 10px;
}
.btn-fb{
  color: #fff;
  background-color:#3b5998;
}
.btn-fb:hover{
  color: #fff;
  background-color:#c34113;
}
.btn-tw{
  color: #fff;
  background-color:#55acee;
}
.btn-tw:hover{
  color: #fff;
  background-color:#59b5fa;
}

/* Home Page Carousel */
.carousel {
  padding-top: 35px;
}
@media(min-width: 1200px /* @screen-lg-min */) {
  .carousel{
    padding-left: 0px;
  }
}
.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  margin: 0 auto;
  display: block;
  width: 100%;
  height: auto;
}
.carousel-inner {
  perspective: 1px; /* any non-zero value will work */
  border-radius: 15px;
}
.carousel-inner img {
  margin: auto;
}
.carousel-caption {
  background-color: rgba(0,0,0,.5);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 5px 50px 5px 25px;
  color: #fff;
  text-align: left;
}
.carousel-indicators {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 15;
  margin: 0;
  padding: 25px 10px 0px 25px;
  text-align: right;
}
.carousel-control.left,
.carousel-control.right {
  background-image: none;
}
#myCarousel {
  /* max-height: 600px; */
  /* max-width: 1024px;*/
  overflow: hidden;
}
.carousel .fill {
  width: 100%;
  /* height: 250px;
  max-height: 250px !important; */
  background-position: center center;
  background-size: cover; 
}

/*  Page Styles */
.error-404 {
  font-size: 100px;
}

/* Panel */
.panel > .panel-heading {
  background-image: none;
  /* background-color: #EEEEEE; */
  color: #333333; 
}
.panel-body {
  font-size: 15px;
  color: #333333; 
  text-align: justify;
}

/* Footer Styles */
footer {
  margin: 25px 0;
}

/* Responsive Styles */
@media(max-width: 992px /* @screen-sm-max */) {
  .customer-img,
  .img-related {
    margin-bottom: 30px;
  }
}
@media(max-width: 768px /* @screen-xs-max */) {
  .img-portfolio {
    margin-bottom: 15px;
  }

  header.carousel .carousel {
    height: 70%;
  }
}

/* Vertical Tabs */
.tabs-left {
  margin-top: 0px;
}
.nav-tabs > li > a {
  padding-left: 15px;
  padding-right: 15px;
  /* border-top-right-radius: 10px;
  border-bottom-right-radius: 10px; */
}
.nav-tabs {
  float: left;
  border-bottom: 0;
}
.nav-tabs li {
  float: none;
  margin: 0;
}
.nav-tabs li a {
  margin-right: 0;
  /* border: 0;
  background-color: #aaaaaa; */
}
.nav-tabs li a:hover {
  color: #ffffff;
  background-color: #e65100;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  color: #666666;
  background-color: #f5f5f5;
  border-top: 0px solid #ddd;
  border-left: 0px solid #ddd;
  border-right: 0px solid #ddd;
  border-bottom: 0px solid #ddd;
  border-radius: 0px 0px 5px 5px;  
}
.tab-content .tab-pane {
  display: none;
  background-color: #fcfcfc;
  color: #666666;
  padding: 15px;
  overflow-y: auto;
}
.tab-content .active {
  display: block;
  text-align: justify; 
}

/* Sidebar */
/*
A Bootstrap 3.1 affix sidebar template
from http://bootply.com

This CSS code should follow the 'bootstrap.css'
in your HTML file.

license: MIT
author: bootply.com
*/
/* hide sidebar sub menus by default */
#sidebar.nav .nav {
  display: none;
  font-size:12px;
}
#sidebar.nav > li > a {
  color: #777777;
  background-color: #f3f8fc;
  font-weight: bold;
  font-size: 16 px;
}
#sidebar.nav > li > a:hover, #sidebar.nav > li > a:focus,
#sidebar.nav > li.active > a
{
  color: #3a87ad;
  background-color: #e6f0f9;
}
/* show sub menu when parent is active */
#sidebar.nav > .active > ul li.active {
  border:0 #ccc solid;
  border-right-width:4px;
}
.navbar-bright {
  background-color: #111155;
  color: #ffffff;
}
.affix-top, .affix{
  position: static;
}
@media screen and (min-width: 996px) {
  #sidebar.nav > .active > ul {
    display: block;
  }
  /* Widen the fixed sidebar */
  #sidebar.affix-top {
    position: static;
    margin-top: 15px;
    width: 228px;
  }
  #sidebar.affix,
  #sidebar.affix-bottom {
    width: 228px;
  }
  #sidebar.affix {
    position: fixed;
    top: 45px;
    width: 228px;
  }
  #sidebar.affix-bottom {
    position: absolute;
  }
}
#sidebar li.active {
  color: #777777;
  background-color: #fcfcfc;
  border: 0 #f5f5f5 solid;
  /* border-right-width: 5px; */
}
@media screen and (min-width: 1200px) {
  #sidebar.affix-bottom,
  #sidebar.affix {
    width: 228px;
  }
}

/* Video */
/* Taken from https://coolestguidesontheplanet.com/videodrome/youtube/ */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  margin-top: 0px;
  height: 0;
  overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Taken from https://webdesign.tutsplus.com/tutorials/how-to-lazy-load-embedded-youtube-videos--cms-26743 */
.youtube {
  background-color: #000000;
  margin-bottom: 30px;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  cursor: pointer;
}
.youtube img {
  width: 100%;
  top: -16.82%;
  left: 0;
  opacity: 0.7;
}
.youtube .play-button {
  width: 90px;
  height: 60px;
  background-color: #333333;
  box-shadow: 0 0 30px rgba( 0,0,0,0.6 );
  z-index: 1;
  opacity: 0.8;
  border-radius: 6px;
}
.youtube .play-button:before {
  content: "";
  border-style: solid;
  border-width: 15px 0 15px 26.0px;
  border-color: transparent transparent transparent #fff;
}
.youtube img,
.youtube .play-button {
  cursor: pointer;
}
.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
  position: absolute;
}
.youtube .play-button,
.youtube .play-button:before {
  top: 50%;
  left: 50%;
  transform: translate3d( -50%, -50%, 0 );
}
.youtube iframe {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

/* Others */
.btn-outline {
  background-color: transparent;
  color: inherit;
  transition: all .5s;
  white-space: normal;
  padding-left:20px;  
  padding-right:20px;  
  font-size: 16px;   
}
.btn-primary.btn-outline {
  color: #428bca;
}
.btn-success.btn-outline {
  color: #5cb85c;
}
.btn-info.btn-outline {
  color: #5bc0de;
}
.btn-warning.btn-outline {
  color: #f0ad4e;
}
.btn-danger.btn-outline {
  color: #d9534f;
}
.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
  color: #ffffff;
}

.tooltip { 
  pointer-events: none; 
}
.tooltip-inner {
    min-width: 195px; /* the minimum width */
}

/* Blockquote */
blockquote {
  background: #ffffff;
}
blockquote p {
  color: #aea79f;
  font-size: 80%;
  font-style: italic;
}
blockquote footer {
  margin-top: 50px;
  margin-bottom: 0px;
}
blockquote #one-text:before {
  color: #aea79f;
  content: "\00AB";
  font-size: 3em;
  line-height: 0.1em;
  margin-left: -0.25em;
  vertical-align: -0.1em;
}
blockquote #one-text:after {
  color: #aea79f;
  content: "\00BB";
  font-size: 3em;
  line-height: 0.1em;
  margin-right: -0.25em;
  vertical-align: -0.1em;
  text-align: right;
  float: right;
}

/* Icons */
.fa.fa-file-text-o.fa-2x {
  color: #e95420;
}
.btn-default:focus, .btn-default:hover, 
.btn-default:active:focus, .btn-default.active:focus,
.btn-default:active:hover, .btn-default.active:hover {
  color : #181818;
  background-color : #e8e8e8;
}