@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");

html {
  background-color: white;
}

body {
  background-color: #f5f5f5;
}

select {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

.red {
  color: red;
}

img.preview {
  height: 50px;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: absolute;
    top: 52px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
  transition: 0.25s;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  /* background-color: #428bca; */
}

.nav > li > a:hover, .nav > li > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}

.dropdown-menu > li > a {
  transition: 0.25s;
  color: #333;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  background-color: #f5f5f5;
  color: black;
}

.dropdown-header {
  font-size: 100%;
  color: #1a6ecc;
}

.nav-sidebar > li > a {
  color: #333;
}

.nav-sidebar-heading {
  font-size: 125%;
  color: #1a6ecc;
}

/*
 * Main content
 */

.main {
  padding: 10px;
  background-color: white;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
  margin-bottom: 40px;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.login {
  display: table;
  height: 100%;
  width: 100%;
  background-image: url(../images/symphony-bg.png);
  background-size: 99px 99px;
}

.login body {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.login .container {
  width: auto;
  display: inline-block;
  padding-top: 35px;
  padding-bottom: 25px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

footer {
  text-align: left;
}

td {
  vertical-align: middle !important;
}

table input {
  margin-left: -6px;
}

table select {
  margin-left: -8px;
}

table tr:not(.plan-options,.dataTable) td:last-child {
  text-align: center;
}

.navbar-nav > li > .dropdown-menu {
  border: 0;
  margin-top: 1px;
}

.glyphicon-home {
  margin-right: 10px;
  font-size: 85%;
  color: white;
}

.glyphicon-pencil {
  margin-left: 15px;
}

.glyphicon-remove, .glyphicon-ok, .glyphicon-cog {
  position: relative;
}

.glyphicon-remove, .glyphicon-cog {
  top: 3px;
}

.glyphicon-remove.cancel {
  color: red;
}

.glyphicon-ok {
  top: 2px;
  color: green;
  margin-left: 15px;
  margin-right: 10px;
}

.glyphicon-cog {
  cursor: pointer;
}

.glyphicon-pencil, .glyphicon-remove, .glyphicon-ok {
  cursor: pointer;
  display: none;
  opacity: 0;
}

.dropdown-menu .divider {
  margin: 5px 0;
}

.moneybacks, .types {
  width: 200px;
}

#logo {
  width: 350px;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}

.form-signin input[type="checkbox"] {
  top: 1px;
}

.form-signin .form-signin-heading, .form-signin .checkbox {
  margin-bottom: 10px;
  font-weight: normal;
}

.form-signin-heading {
  text-align: center;
  font-size: 120%;
  padding: 10px;
}

.form-signin-heading.default {
  border-left: 5px solid #2780e3;
  background-color: #eee;
}

.form-signin-heading.error {
  border-left: 5px solid #f00;
  background-color: #fdd7e4;
}

.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
  margin: 10px 0;
}

.form-signin .form-control:focus {
  z-index: 2;
}

.row.form-inline {
  position: relative;
}

.pull-bottom {
  position: absolute;
  bottom: 0;
}

pre.sf-dump {
  border-radius: 0;
  border-width: 1px 0 0 0;
  margin: 0;
  width: 100%;
  position: absolute !important;
  bottom: 0;
}

.navbar-brand {
  margin-left: -10px !important;
}

.container-fluid > .navbar-header {
  margin: 0;
}

.navbar {
  margin-bottom: 0;
}

.navbar-toggle {
  margin-right: 0;
}

.navbar-form {
  padding: 0;
}

.form-control {
  border: none;
  padding: 0;
  color: #666666;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
}

.input-group-sm input {
  border: none;
  padding: 0;
  color: #666666;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px !important;
}

.input-group-sm .input-group-addon {
  border-left: 0 !important;
  border-top: 0 !important;
}

.input-group-sm span .glyphicon {
  display: block;
  opacity: 1;
  margin-left: 0;
  margin-right: 0;
  top: 0px;
  color: ;
}

#filter_treeview {
  position: absolute;
  z-index: 100;
}

.main .form-control {
  width: 100%;
}

.save {
  border: 1px dashed transparent !important;
  border-radius: 3px;
  font-size: 19px;
  font-weight: 300;
  padding: 0 5px;
  background-color: transparent;
  outline: none;
  transition: 0.25s;
}

.save.active-input {
  border-color: #ccc !important;
}

input[type="text"].form-control, input[type="password"].form-control {
  -webkit-box-shadow: inset 0 -1px 0 #dddddd;
  box-shadow: inset 0 -1px 0 #dddddd;
  background-color: transparent;
}

input[type="text"].form-control:focus, input[type="password"].form-control:focus {
  -webkit-box-shadow: inset 0 -2px 0 #2196f3;
  box-shadow: inset 0 -2px 0 #2196f3;
}


#providers-plans tr td:nth-child(5) {
  text-align: right;
}

.plan-options {
  padding: 0 !important;
}

.plan-options td {
  vertical-align: top !important;
  padding-bottom: 10px !important;
}

.plan-options h4 {
  display: block;
  color: #333;
  font-family: "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
}

.plan-name {
  width: 65%;
}

.plan-name-extended {
  width: 90%;
}

.plan-disclaimer input {
  width: 35%;
}

.plan-description {
  width: 300%;
}

.plan-description input {
  width: 85%;
}

#provider-selector *, #plan-selector *, #header-selector * {
  float: right;
}

#provider-selector select, #plan-selector select, #header-selector select {
  width: auto;
  display: inline-block;
}

#provider-selector input, #plan-selector input, #header-selector input {
  width: auto;
  display: inline-block;
}

#provider-selector span, #plan-selector span, #header-selector span {
  font-size: 50%;
  margin: 10px;
}

::-webkit-input-placeholder {
   color: #ccc !important;
}

:-moz-placeholder { /* Firefox 18- */
   color: #ccc !important;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #ccc !important;
}

:-ms-input-placeholder {
   color: #ccc !important;
}

.btn:active, .btn:focus, .btn:hover {
  outline: none !important;
}
/*

 broke form elements
.form-group:first-child, .form-group.col-md-12 {
  padding: 0;
}
*/
.checkbox-inline {
  margin: 10px 0;
}

.checkbox-inline span {
  position: relative;
  top: -1px;
}

.alertify-logs {
  bottom: 20px;
  right: 20px;
}

.alertify-log {
  text-shadow: none;
  color: white;
  font-weight: bold;
  padding: 10px 15px;
}

.alertify-log-success {
  background-color: green;
}

.alertify-log-error {
  background-color: red;
}

@media (min-width: 992px){
  .form-group {
    margin-bottom: 21px;
  }
}

@media (min-width: 768px) and (max-width: 991px){
  .form-group {
    padding: 10px 0px;
  }
}

@media (max-width: 991px) {
  .checkbox-container, .submit-container {
    text-align: center;
  }
  .pull-bottom {
    position: relative;
  }
}

@media (min-width: 768px) {
  .navbar-form .form-group {
    display: block !important;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .dropdown-header {
    color: white;
  }
}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
    font-size: 1em;
    color: white;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

html.wait, html.wait *{
    cursor: wait !important;
}

hr.less-padding {
  margin-top: 10px;
  margin-bottom: 10px;
  border: 0;
  border-top: 1px solid #e6e6e6;
}

#loading-div {

    /* Display it on the layer with index 1001.
       Make sure this is the highest z-index value
       used by layers on that page */
    z-index:1001;

    /* make it cover the whole screen */
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;

    /* make it white but fully transparent */
    background-color: white;
    opacity:.00;
    filter: alpha(opacity=00);
}

/*
 * Bootstrap table responsive doesn't work with tooltips that expand outside the container
 */
.table-responsive {
  overflow-x: visible !important;
}

/*
 * Real responsive tables
 */
@media only screen and (max-width: 800px) {
   .table-responsive .dataTables_wrapper {
     margin: 0px;
     padding: 0px;
   }

   .table-responsive {
     border: none;
     overflow: auto;
     margin: 0px;
     padding: 0px;
   }
    /* Force table to not be like tables anymore */
  .table-responsive table,
  .table-responsive thead,
  .table-responsive tbody,
  .table-responsive tfoot,
  .table-responsive th,
  .table-responsive td,
  .table-responsive tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  .table-responsive thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-responsive tr { border: 1px solid #ccc; }

  .table-responsive table tbody tr td, .table-responsive table tfoot tr td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    white-space: normal;
    text-align:left;
  }

  .table-responsive table tbody tr td:before, .table-responsive table tfoot tr td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 7px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align:left;
    font-weight: bold;
  }

  .table-responsive table tbody tr td:after, .table-responsive table tfoot tr td:after {
    content: "";
    height: 1px;
    width: 100%;
    background: #ccc;
    position: absolute;
    left: 0px;
    margin: -10px 0px;
  }

   .table-responsive table tbody tr td:first-child:after, .table-responsive table tfoot tr td:first-child:after {
    content: "";
    height: 0px;
  }


  /*
  Label the data
  */
  .table-responsive td:before { content: attr(data-title); }
}

/*
 * blur for datatables processing
 */
@-webkit-keyframes
  blur { 0% {
   -webkit-filter: blur(0px);
   -moz-filter: blur(0px);
   -o-filter: blur(0px);
   -ms-filter: blur(0px);
   filter: blur(0px);
  }
   100% {
   -webkit-filter: blur(4px);
   -moz-filter: blur(4px);
   -o-filter: blur(4px);
   -ms-filter: blur(4px);
   filter: blur(4px);
  }
  }
   @-moz-keyframes
  blur { 0% {
   -webkit-filter: blur(0px);
   -moz-filter: blur(0px);
   -o-filter: blur(0px);
   -ms-filter: blur(0px);
   filter: blur(0px);
  }
   100% {
   -webkit-filter: blur(4px);
   -moz-filter: blur(4px);
   -o-filter: blur(4px);
   -ms-filter: blur(4px);
   filter: blur(4px);
  }
  }
   @-o-keyframes
  blur { 0% {
   -webkit-filter: blur(0px);
   -moz-filter: blur(0px);
   -o-filter: blur(0px);
   -ms-filter: blur(0px);
   filter: blur(0px);
  }
   100% {
   -webkit-filter: blur(4px);
   -moz-filter: blur(4px);
   -o-filter: blur(4px);
   -ms-filter: blur(4px);
   filter: blur(4px);
  }
  }
   @keyframes
  blur { 0% {
   -webkit-filter: blur(0px);
   -moz-filter: blur(0px);
   -o-filter: blur(0px);
   -ms-filter: blur(0px);
   filter: blur(0px);
  }
   100% {
   -webkit-filter: blur(4px);
   -moz-filter: blur(4px);
   -o-filter: blur(4px);
   -ms-filter: blur(4px);
   filter: blur(4px);
  }
  }
   @-webkit-keyframes
  blur-out { 0% {
   -webkit-filter: blur(4px);
   -moz-filter: blur(4px);
   -o-filter: blur(4px);
   -ms-filter: blur(4px);
   filter: blur(4px);
  }
   100% {
   -webkit-filter: blur(0px);
   -moz-filter: blur(0px);
   -o-filter: blur(0px);
   -ms-filter: blur(0px);
   filter: blur(0px);
  }
  }
   @-moz-keyframes
  blur-out { 0% {
   -webkit-filter: blur(4px);
   -moz-filter: blur(4px);
   -o-filter: blur(4px);
   -ms-filter: blur(4px);
   filter: blur(4px);
  }
   100% {
   -webkit-filter: blur(0px);
   -moz-filter: blur(0px);
   -o-filter: blur(0px);
   -ms-filter: blur(0px);
   filter: blur(0px);
  }
  }
   @-o-keyframes
  blur-out { 0% {
   -webkit-filter: blur(4px);
   -moz-filter: blur(4px);
   -o-filter: blur(4px);
   -ms-filter: blur(4px);
   filter: blur(4px);
  }
   100% {
   -webkit-filter: blur(0px);
   -moz-filter: blur(0px);
   -o-filter: blur(0px);
   -ms-filter: blur(0px);
   filter: blur(0px);
  }
  }
   @keyframes
  blur-out { 0% {
   -webkit-filter: blur(4px);
   -moz-filter: blur(4px);
   -o-filter: blur(4px);
   -ms-filter: blur(4px);
   filter: blur(4px);
  }
   100% {
   -webkit-filter: blur(0px);
   -moz-filter: blur(0px);
   -o-filter: blur(0px);
   -ms-filter: blur(0px);
   filter: blur(0px);
  }
}

.blur-in {
  -webkit-animation: blur 1s forwards;
  -moz-animation: blur 1s forwards;
  -o-animation: blur 1s forwards;
  animation: blur 1s forwards;
  pointer-events: none;
}

.blur-out {
  -webkit-animation: blur-out 2s forwards;
  -moz-animation: blur-out 2s forwards;
  -o-animation: blur-out 2s forwards;
  animation: blur-out 2s forwards;
}

#dt-form {
  margin-bottom: 10px;
}

/*
 * Datatables processing text
 */
.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 40px;
    margin-top: 30px;
    text-align: center;
    font-size: 1.5em;
    background-color: white;
    border: 1px solid black;
    margin: auto;
    margin-left: -125px;
    z-index: 999;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
    background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
}

.openx-widget-wrapper {
  border-bottom: 1px solid #eee;
  padding-bottom: 1em;
  margin-bottom: 2em;
}
