/*==========================================================*/
/* Main Elements
/*==========================================================*/
html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5em; 
  font-size: 14px;
  background-color: #fff; 
  /* Margin bottom by footer height */
  margin-bottom: 60px;    
} 

body > .container {
  padding-top: 80px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #31b0d5;
}

/* ----------------------------------------------------------------
	Basic
-----------------------------------------------------------------*/

dl, dt, dd, ol, ul, li {
	margin: 0;
	padding: 0;
}

.clear {
	clear: both;
	display: block;
	font-size: 0px;
	height: 0px;
	line-height: 0;
	width: 100%;
	overflow:hidden;
} 

* {
  border-radius: 0 !important;
} 

.table > tbody > tr:last-of-type{
   border-bottom: 1px solid #ddd;
} 

/*==========================================================*/
/* Headings
/*==========================================================*/

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  margin-top: 10px;
  margin-bottom: 20px;
  color: #333;
}

h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
}

h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
}

h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
}

h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
}


@media (max-width: 767px) {

	h1 { font-size: 28px; }

	h2 { font-size: 24px; }

	h3 { font-size: 20px; }

	h4 { font-size: 16px; }
}

.logo {
  font-family: 'Open Sans', sans-serif;
	text-decoration: none !important;
	color: #000 !important;
}

.logo > span {
  text-transform: uppercase !important;
}

p {
  font-size: 14px;
  color: #333;
}

a {
	text-decoration: none !important;
	color: #0088c3;
}

a:hover { color: #222; }

img {
  max-width: 100%;
}

.bg0 {  background-color: #FFFFFF;}
.bg1 {  background-color: #f3f5f7;} 

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: normal;
}

/*==========================================================*/
/* Navigation menu
/*==========================================================*/  

.navbar {
  margin-bottom: 0px;
}

.navbar-default {
  background-color: #fff;
  border-color: #bababa;
  /* border-bottom: 1px solid #eeeeee; */
}

.navbar-default .navbar-brand {
  padding-right: 15px;
  padding-top: 15px;
  font-size: 18px;
  text-transform: uppercase;
  float:left;
  color: #7b858e;
}

.navbar-default .navbar-nav > li > a {
  color: #7b858e;
  padding-top: 16px;
  font-size: 12px;
  text-transform: uppercase;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #7b858e;
  background-color: transparent;
}

.nav > li > a {
  position: relative;
  display: block;
  padding: 15px 12px;
}

.dropdown-menu {
min-width: 140px;
}

.dropdown-menu > li > a {
font-family: 'Open Sans', sans-serif;
font-size:11px;
text-transform: uppercase;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #333;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #fff;
  text-decoration: none;
  background-color: #7b858e;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #31b0d5;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #fff;
  text-decoration: none;
  background-color: #31b0d5;
  outline: 0;
}

ul.nav li.dropdown:hover ul.dropdown-menu {
display: block;
} 

@media only screen and (min-width : 768px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}


/*==========================================================*/
/* Select2
/*==========================================================*/  

/*
.select2-container { 
height:34px;
}
*/

.select2-container--default .select2-selection--multiple {
border: 1px solid #ccc;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 34px;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 34px;
    user-select: none;
    -webkit-user-select: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -10px;
    margin-top: -0px;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #31b0d5;
    color: #fff;
}

.has-error > .select2-container--default .select2-selection--multiple {
border-color: #a94442;
}

.has-error > .select2-container--default .select2-selection--single {
border-color: #a94442;
}

.has-success > .select2-container--default .select2-selection--single {
border-color: #3c763d;
}

.has-success > .select2-container--default .select2-selection--multiple {
border-color: #3c763d;
}

.has-error {
border-color: #a94442;
}

.form-control-feedback {
    position: absolute;
    top: 0;
    right: -15px;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none
}

.glyphicon-asterisk {
color: #5bc0de;
}


/*==========================================================*/
/* Sort
/*==========================================================*/  

//input { font-size: 1em; } /* prevent zoom in mobile */

ol.sort { 
  /* list style is faked with number inputs */
  list-style: none;
  padding: 0px;
}


li.sort { 
    position: relative; 
    min-height: 1em;
    cursor: move;
    padding: .5em .5em .5em .5em;
    background: #eee;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    /* margin: .25em 0; */
}

    
li.sort input { 
    /* Move these to visually fake the ol numbers */
    position: absolute;
    width: 40px;
    top: .25em;
    border: 0;
    text-align: center;
    background: transparent;
}
    
li.sort label { 
  /* visually hidden offscreen so it still benefits screen readers */
    position: absolute;
    left: -9999px;
}

/* sortable plugin styles when dragged */
.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}

li.placeholder {
    position: relative; 
    min-height: 1em;
    cursor: move;
    padding: .5em .5em .5em .5em;
    background: #31b0d5; 
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

/*==========================================================*/
/* Datatable
/*==========================================================*/ 
.toolbar {
    float:left;
    margin-right:60px;
}

.dt-buttons {
    float:right;
}

.dataTables_filter {
    float:left;
}

.dataTables_info {
    float:left;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover  {
background-color: #31b0d5;
border-color: #31b0d5;
}

/* ----------------------------------------------------------------
	Timeline
-----------------------------------------------------------------*/
.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #eeeeee;
  left: 50%;
  margin-left: -1.5px;
}

.timeline > li {
  margin-bottom: 20px;
  position: relative;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li > .timeline-panel {
  width: 46%;
  float: left;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  padding: 20px;
  position: relative;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}

.timeline > li > .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}

.timeline > li > .timeline-badge {
  color: #fff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 16px;
  left: 50%;
  margin-left: -25px;
  background-color: #999999;
  z-index: 100;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}

.timeline-badge.primary {
  background-color: #2e6da4 !important;
}

.timeline-badge.success {
  background-color: #3f903f !important;
}

.timeline-badge.warning {
  background-color: #f0ad4e !important;
}

.timeline-badge.danger {
  background-color: #d9534f !important;
}

.timeline-badge.info {
  background-color: #5bc0de !important;
}

.timeline-title {
  margin-top: 0;
  color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
}

.timeline-body > p + p {
  margin-top: 5px;
}

/*==========================================================*/
/* Typeahed
/*==========================================================*/  

span.twitter-typeahead .tt-menu,
span.twitter-typeahead .tt-dropdown-menu {
  cursor: pointer;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}
span.twitter-typeahead .tt-suggestion {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}
span.twitter-typeahead .tt-suggestion.tt-cursor,
span.twitter-typeahead .tt-suggestion:hover,
span.twitter-typeahead .tt-suggestion:focus {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  background-color: #31b0d5;
}
.input-group.input-group-lg span.twitter-typeahead .form-control {
  height: 46px;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
}
.input-group.input-group-sm span.twitter-typeahead .form-control {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
span.twitter-typeahead {
  width: 100%;
}
.input-group span.twitter-typeahead {
  display: block !important;
  height: 34px;
}
.input-group span.twitter-typeahead .tt-menu,
.input-group span.twitter-typeahead .tt-dropdown-menu {
  top: 32px !important;
}
.input-group span.twitter-typeahead:not(:first-child):not(:last-child) .form-control {
  border-radius: 0;
}
.input-group span.twitter-typeahead:first-child .form-control {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group span.twitter-typeahead:last-child .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.input-group.input-group-sm span.twitter-typeahead {
  height: 30px;
}
.input-group.input-group-sm span.twitter-typeahead .tt-menu,
.input-group.input-group-sm span.twitter-typeahead .tt-dropdown-menu {
  top: 30px !important;
}
.input-group.input-group-lg span.twitter-typeahead {
  height: 46px;
}
.input-group.input-group-lg span.twitter-typeahead .tt-menu,
.input-group.input-group-lg span.twitter-typeahead .tt-dropdown-menu {
  top: 46px !important;
}

span.twitter-typeahead .form-control-feedback {
    position: absolute;
    top: 0;
    right: -32px;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none
}

/* ----------------------------------------------------------------
	Media query for tablet size
-----------------------------------------------------------------*/

@media (min-width: 768px) and (max-width: 991px) {
  
    body {
      font-size: 20px;
    }
  
    h1 {
      font-size: 20px;
    }
    
  .navbar-default .navbar-nav > li > a {
      color: #7b858e;
      padding-top: 16px;
      font-size: 16px;
      text-transform: uppercase;
  }
  
  .nav > li > a {
      position: relative;
      display: block;
      padding-left: 30px;
      padding-right: 30px;
  }

  .form-control {
      display: block;
      width: 100%;
      height: 60px;
      padding: 6px 12px;
      font-size: 24px;
      line-height: 1.4285;
  }
  
  .select2-container {
      margin-bottom: 25px;
  }
   
  .select2-container--default .select2-selection--multiple .select2-selection__rendered {
      height: 50px;
      padding-bottom:10px;
  }
  
  .btn {
      display: inline-block;
      padding: 14px;
      margin-bottom: 0px;
      font-size: 20px;
      font-weight: 400;
      line-height: 1.4285;
  }

}



@media (min-width: 991px) and (max-width: 1024px) and (orientation : landscape) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
      max-height: 550px;
  }
  
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
      overflow-y: auto;
  }
  
  .navbar-brand {
    display: inline-block;
    float: none;
  }
  
  .navbar-form.form-inline {
    display: inline-block;
    border-color: transparent;
    margin: 4px;
    padding: 5px;
  }
  
  .navbar-form .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
   }
  
}


.btn-custom:hover {
  opacity:0.7;
  color: #fff;
}