/* Home Page **/
body {
    /*padding-top: 60px;*/
    padding-bottom: 40px;
    background-color: #f5f5f5;
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    margin-top: 60px;
}

.panel {
    border-radius: 5px;
    background-color: #eef;
    padding: 1em 2.5em;
}

label, input, button, select, textarea {
    font-size: 13px;
    font-weight: normal;
    line-height: 18px;
}

audio {
    width: 300px;
}

input[type="radio"] {
    margin: 0 5px 5px 0;
}

input[type="checkbox"] {
    /*margin: 0 2px 2px 0;*/
}

#content {
    font-size: 13px;
}

.contents {
  /*margin-top: 50px;*/
}
.error {
    color: red;
}

input.error {
    border-color: red;
}

input.saved {
  border: 1px solid #468847;
}

.popover-icon {
    color: #08c;
    font-size: 14px;
}

.alert-normal {
  color: #333;
  background-color: #f6f6f6;
  border-color: #eee;
}

.alert i {
    float: left;
    font-size: 64px;
    margin-right: 32px;
    /*margin-top: 7px;*/
}

.alert.padding-lg {
    padding: 15px;
}


/** Headings **/
h2 {
    font-size: 21px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: normal;
}

.htitle {
    border-bottom: 1px solid #dedede;
    margin-bottom: 20px;
}

.htitle h2 {
    margin-bottom: 0;
}

/** Login Page **/
#login {
    padding-top: 40px;
    padding-bottom: 40px;
}

#login .form-signin {
    max-width: 300px;
    padding: 19px 29px 29px;
    margin: 0 auto 20px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
#login .form-signin .form-signin-heading,
#login .form-signin .checkbox {
    margin-bottom: 10px;
}
#login .form-signin input[type="text"],
#login .form-signin input[type="password"] {
    font-size: 16px;
    height: auto;
    margin-bottom: 15px;
    padding: 7px 9px;
}

/**
 * To help contol the size of stuff, especially on large screens, we should apply
 * max limits to this stuff. For example, I have two columns of form fields. To
 * stop the second column stretching stupidly far to the right I apply the class
 * limit-830 to the form attribute.
 */
 .limit-830 {
    max-width: 830px;
    /*border: 1px solid red;*/
}


.navbar-inner input[type="text"],
.navbar-inner select {
  margin-top: 5px;
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 0;
}


/** 2 level sub menu **/
.dropdown-menu-with-subs .sub-menu {
  left: 100%;
  position: absolute;
  top: 0;
  visibility: hidden;
  margin-top: -1px;
}

.dropdown-menu-with-subs li:hover .sub-menu {
  visibility: visible;
  display: block;
}

.navbar .sub-menu:before {
  border-bottom: 7px solid transparent;
  border-left: none;
  border-right: 7px solid rgba(0, 0, 0, 0.2);
  border-top: 7px solid transparent;
  left: -7px;
  top: 10px;
}
.navbar .sub-menu:after {
  border-top: 6px solid transparent;
  border-left: none;
  border-right: 6px solid #fff;
  border-bottom: 6px solid transparent;
  left: 10px;
  top: 11px;
  left: -6px;
}

.sub-menu {
  -webkit-border-radius: 0 0 6px 6px;
  -moz-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
}

/** Global **/
.hide-sidebar, .show-sidebar {
  cursor: pointer;
}
.padd-bottom {
  margin-bottom: 5px;
}
.breadcrumb {
    margin: 0 0 0;
    padding: 10px 0px;
    background-color: transparent;
}

.block {
    border: 1px solid #ccc;
    background: white;
    margin: 1em 0em;
    border-top: none;
}

.block-content {
    margin: 1em;
    min-height: .25em;
}

.block-header {
    margin-bottom: 0px;
    border-right: none;
    border-left: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
.block-header div {
    padding-top: 10px;
}

.easyPieChart {
    margin: 0px auto;
}

.chart-bottom-heading {
    margin-top: 5px;
    text-align: center;
}

textarea {
    resize: none;
}

.underline {
    text-decoration: underline;
}

/** Logo **/
.navbar .brand {
    margin: 0;
    padding: 0;
    margin-top: 2px;
    margin-right: 10px;
}

.navbar .brand img{
    max-height: 40px;
}

/* Stolen from Bootstrap 3 (and then changed values to suit) */
.form-control-static {
  padding-top: 4px;
  padding-bottom: 4px;
  margin-bottom: 0;
  display: inline-block;
}
.form-control-static.input-lg,
.form-control-static.input-sm {
  padding-right: 0;
  padding-left: 0;
}
.form-inline .form-control-static {
  display: inline-block;
}
/* end theft */
.control-group-static {
  margin-bottom: 0px;
}



/** Side Bar **/
.sidebar {
    width: 200px;
    float: left;
}

#sidebar.affix {
    width: 13%;
}

.bs-docs-sidenav {
  /*max-width: 228px;*/
  margin: 30px 0 30px 0;
  padding: 0;
  background-color: #fff;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
  box-shadow: 0 1px 4px rgba(0,0,0,.065);
}


/*.bs-docs-sidenav ul {
    -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
          }*/

          .bs-docs-sub-sidenav {
              background-color: #fff;
              padding-bottom: 10px;

          }

          .bs-docs-sub-sidenav > li > a {
              display: block;
              width: 190px \9;
              margin: 0 0 -1px;
              padding: 8px 14px;
          }

          .bs-docs-sub-sidenav > .active > a {
              position: relative;
              z-index: 2;
              /*padding: 9px 15px;*/
              padding: 5px 15px;
              margin: 5px 0 0 0;
              border: 0;
              text-shadow: 0 1px 0 rgba(0,0,0,.15);
              -webkit-border-radius: 6px;
              -moz-border-radius: 6px;
              border-radius: 6px;

          }

          .bs-docs-sidenav-selected {
            background-color: #f5f5f5;
        }

        .bs-docs-sub-sidenav>li>a:hover, .bs-docs-sub-sidenav>li>a:focus {
            background-color: #f5f5f5;
            -webkit-border-radius: 6px;
            -moz-border-radius: 6px;
            border-radius: 6px;
        }

        .bs-docs-sidenav > li > a {
          display: block;
          width: 190px \9;
          margin: 0 0 -1px;
          padding: 8px 14px;
          border: 1px solid #e5e5e5;
      }

      ul.bs-docs-sidenav > li:first-child > a {
          -webkit-border-top-left-radius: 6px;
          -moz-border-top-left-radius: 6px;
          border-top-left-radius: 6px;
          -webkit-border-top-right-radius: 6px;
          -moz-border-top-right-radius: 6px;
          border-top-right-radius: 6px;
      }
      .bs-docs-sidenav > li:last-child > a {
          -webkit-border-radius: 0 0 6px 6px;
          -moz-border-radius: 0 0 6px 6px;
          border-radius: 0 0 6px 6px;
      }
      .bs-docs-sidenav > .active > a {
          position: relative;
          z-index: 2;
          padding: 9px 15px;
          border: 0;
          text-shadow: 0 1px 0 rgba(0,0,0,.15);
          -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
          -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
          box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
      }
      /* Chevrons */
      .bs-docs-sidenav .icon-chevron-right {
          float: right;
          margin-top: 2px;
          margin-right: -6px;
          opacity: .25;
      }

      .bs-docs-sidenav .icon-chevron-left {
          margin-top: 2px;
          margin-right: -6px;
          opacity: .25;
      }

      .bs-docs-sidenav > li > a:hover {
          background-color: #f5f5f5;
      }
      .bs-docs-sidenav a:hover .icon-chevron-right {
          opacity: .5;
      }
      .bs-docs-sidenav .active .icon-chevron-right,
      .bs-docs-sidenav .active a:hover .icon-chevron-right {
          opacity: 1;
      }
      .bs-docs-sidenav.affix {
          top: 40px;
      }
      .bs-docs-sidenav.affix-bottom {
          position: absolute;
          top: auto;
          bottom: 270px;
      }


/*.nav>ul>li>a:hover {
    background-color: red;
    }*/

/*#sidebar-list li ul {
    display: none;  /*used to hide sub-menus*
}
*/
/* Input type (control-group)
--------------------- */

/*.control-group input[type="text"],
.control-group select {
    width: 90%;
    }*/


/* Icons
------------------------- */
.the-icons {
  margin-left: 0;
  list-style: none;
}
.the-icons li {
  float: left;
  width: 25%;
  line-height: 25px;
}
.the-icons i:hover {
  background-color: rgba(255,0,0,.25);
}

/* Tables
------------------------ */
#customer-list tbody {
    cursor: pointer;
    background-color: #ffffff;
}

#customer-list tbody td { background-color: #fff }

#customer-list tbody tr.cancelled {
    color: #ccc;
    text-decoration: line-through;
}

#customer-list tbody tr.suspended {
    color: #f66;
}

tr.total-line {
    font-weight: bold;
    border-top:2px solid black;
    border-bottom: 3px double black;
}

td.status-light {
    width: 24px;
}

td.status-light.red{
    background: url('/assets/images/red.png') no-repeat center center;
}

td.status-light.green{
    background: url('/assets/images/green.png') no-repeat center center;
}

td.status-light.grey{
    background: url('/assets/images/grey.png') no-repeat center center;
}



.short-box {
    width: 140px;
}

/* Voicemail
----------------------- */
.voice-message {
    background-color: #eeeeff;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding: 1em;
}

.voice-message-container {
    text-align: center;
    float: left;
    margin: 1em;
    width: 20em;
    min-height: 8em;
}

.message-seen {
    font-size: large;
    font-weight: bold;
}

/* Autogenerated forms
---------------------- */

.prefs label {
    display: inline;
}

.prefs textarea {
    width:40em;
    height: 5em;
}

.prefs input.number {
    width: 5em;
}

/* IPND Form
------------------------*/
#ipnd-Modal {
    width: 80%;
    left: 10%;
    margin: auto;
}


.modal-body{
    max-height: 400px;
}

.changed {
    background-color:#FCF8E3;
}

.editorrow {
    background-color: #f5f5f5;

}

/* page: /porting/forms?f=nz_ipms_port
------------------------*/

.table td.action, .table-bordered td.action {
    text-align: center;
    vertical-align: middle;
}

table#charge-summary th {
    background-color: #f9f9f9;
}

/* page: /broadband/order
------------------------*/

tr td:first-child {
    /*width: 150px;*/
}

/* Help panel
--------------------- */

#help-pane {
    z-index: 10;
    margin: 0;
    padding: 0;
    width: 100%;
    bottom: 0;
    left: 0;
    position: fixed;
    background-color: white;
}

#help-pane .help-bar {
    position: relative;
    border: black;
    margin: auto;
    background-color: #149bdf;
    text-align: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

#help-pane .help-content {
    display: block;
    height: 80%;
    overflow-y: scroll;
}

#help-pane .help-container {
    display:none;
    height: 400px;
}



.lmupdated {
    background-color: #d6e9c6;
}

.lmfailed {
    background-color: #f2dede;
}

.lmvalid {
    background-color: #d6e9c6;
}


/* Device provisioning
--------------------- */

table.table#plan-list {
    width: auto;
}
table#plan-list > tbody tr td {
    width: 200px;
    /*border: 1px solid red;*/
}




/* Data block
--------------------- */

.data-block-container {
    width: 326px;
    height: 120px;
    /*overflow: visible;*/
    overflow: hidden;
    display: inline-block;
    margin: 30px 40px 20px 0px;

    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */

    /* Rules below not implemented in browsers yet */
    -o-user-select: none;
    user-select: none;

    vertical-align: middle;
}

.data-block-selected {
    border: 2px solid #5eb95e;

    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;

    border-radius: 5px;
}

.data-block-selected .data-block {

}
.data-block {
    display: inline-block;
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    width: 300px;
    position: relative;
    height: 110px;
    padding: 4px 12px;
}

.data-block h1 {
    font-size: 17.5px;
    line-height: 20px;
}

.data-block .price {
    color: #04B404;
    font-weight: bold;
}

.auto-renew-containter {
    margin-top: -55px;
    position: relative;
    text-align: center;
    width: 300px;
    padding: 4px 12px;
    pointer-events:none;
}

.auto-renew-containter label {
    display: inline;
    pointer-events: auto;
}

.auto-renew-containter input[type="checkbox"] {
    margin: 0px 3px 3px 0;
    display: inline-block;
    pointer-events: auto;
}

.auto-renew-containter .small {
    font-size: 12px;
    line-height: 16px;
}


/*
--------------------- */

/* Large desktop */
@media only screen and (max-width: 1200px) {

    /* Force table to not be like tables anymore */
    #number-manager table,
    #number-manager thead,
    #number-manager tbody,
    #number-manager th,
    #number-manager td,
    #number-manager tr {
        display: block;
    }



    /* Hide table headers (but not display: none;, for accessibility) */
    #number-manager th {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #number-manager tr { border: 1px solid #ccc; }

    #number-manager td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align:left;
    }

    #number-manager td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;

    }

    #number-manager td {
       min-height: 20px;
   }

    /*
    Label the data
    */
    #number-manager td:before { content: attr(data-title); }

    #number-manager td.hide { display:none; }


}

/* Button container for centing buttons at bottom of page
--------------------- */
.button-container {
    text-align: center;
}

.button-container.btn-cont-400 {
    width: 400px;
}

/* Modals */

#notify-modal-container {
    text-align: left;;
}

/* Credit cards
--------------------- */

.card {
    width: 37px;
    height: 22px;
    display: inline-block;
    margin: 0 0 0 -60px;
    vertical-align: middle;
}

.card.visa {
    background: url('/images/creditcards/visa.png');
    background-size: cover;
}

.card.mastercard {
    background: url('/images/creditcards/mastercard.png');
    background-size: cover;
}

.card.amex {
    background: url('/images/creditcards/amex.png');
    background-size: cover;
}

.card.other {
    background: url('/images/creditcards/money.png');
    background-size: cover;
}

/* Other media queries
--------------------- */

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    /*Fix for known bootstrap 2 issues*/
    body { margin-top: 0px; }
}

/*Landscape phone to portrait tablet */
@media (max-width: 767px) {
    /*Fix for known bootstrap 2 issues*/
    body { margin-top: 0px; }
}

/* Landscape phones and down
/*@media (max-width: 480px) {

    }*/
    /* remove the margin from the span9 content */
    #content {
        margin-left: 220px;
    }

    /* Sidebar resize overide */
    @media (max-width: 927px) {

        .sidebar {
            width: 100%;
            float: none;
        }

        #content {
            margin-left: 0;
        }

    }



    .width-100 {
      width: 150px;
  }

  .fifty-percent {
      width: 50%
  }

  /*This is to override the dumb bootstrap left align style*/
  .reset-table .text-center {
    text-align: center !important;
}

tr.show-moar-row {
    background-color: #f7f7f7;
    /*padding: 5px 0 5px 0;*/
}

.show-moar-row td  {
    padding: 10px 0 10px 10px;
    font-weight: bold;
}


form#geo-forwarding {
    margin-top: 40px;

}

form#geo-forwarding fieldset {
    border: 1px solid #ddd;
    padding: 15px 30px 0px 30px;
}