﻿/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 70px;
}


/*
 * 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;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    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-top: 30px; /* Johnm */
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}

/* Sidebar Area Nav Alternative for Mobile
    In order to support the area sidebar in mobile, we are loading it twice: once in the header, once in the leftSideNavbar, and using CSS to display the version desired at a given breakpoint.
    !important was used because the nav>li>a display rule has higher precedence and kept overwriting it.
*/

@media (min-width: 768px) {
    #MobileNavMenu {
        display: none;
    }
}
 
{
    border-top: 2px solid #009ACD;
}
        #dropdownMenu1 a{
            line-height: 3.1em;
        }

/* These rules control the area seperators on the navbar collapse dropdown.*/
@media (max-width: 768px) {
  #TopNavMenu {
    display: none;
  }

  .account_options, #MobileNavMenu {
    border-top: 2px solid #009ACD;
  }
}



/* This is used to ensure the height of the collapsed navbar 
    accounts for the height of the Account Settings dropdown 
    which is configured to automatically expand on mobile (see .dropdown-menu below) */
.navbar-collapse {
    overflow: hidden;
}



/*
    These rules ensure that the dropdown Account Settings expands
    on mobile viewpoints. See the associated rule for .navbar-collapse above.
*/

@media (max-width: 768px) {
    .dropdown-menu>li>a{
        color: #777 !important;
    }
}

/*
    Feedback Button
*/


.feedback a {
    background-color: #ffae19;
    color: black !important;
}

.feedback a:hover {
    color: white !important;
}

@media (max-width: 768px){
    .feedback {
        border-top: 2px solid #009ACD;
       
    }
}

input:focus {
    outline: none;
}

/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * 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%;
}

.k-grid-header .k-link:link {
    color: #6a6c6f;
}

/* Homer specific changes */
.navbar-nav > li > a {
    font-size: 1em !important;
    padding: 15px 10px;
}

#logo {
    padding: 2px 2px !important;
}

#logo > img {
     height: 100%;
     
}

.update-modal-buttons {
    margin: 10px 5px;
    text-align: center;
}

/* Customer Detail Screen */
 .EditSection .form-horizontal .form-group {
    margin-right: 0px;
    margin-left: 0px;
}

.EditSection .form-horizontal .form-group {
    padding-right: 25px;
    padding-left: 25px;
}

.EditSection .form-horizontal .form-group label {
    margin-right: 1%;
    vertical-align: middle;
}

.EditSection .form-horizontal .form-group input {
   width: 65%;
   text-align: right;
   float: right;
}

.EditSection .form-horizontal .form-group input[type=checkbox] {
   float: initial;
   width: 8%;
}

.EditSection .form-horizontal .form-group .k-dropdown {
   width: 65% !important;
   text-align: right;
   float: right;
}

.EditSection .form-horizontal .form-group textarea {
   width: 70%;
   float: right;
}

.EditSection .form-horizontal .form-group .full-width {
   width: 100%;
   float: right;
}

.button-options {
   margin: 20px 25px;
}

.customer-sub-record-grids {
    padding: 10px 25px;
}

.customer-sub-record-row {
    margin-bottom: 10px;
}

.customer-sub-record-grids button {
    margin-bottom: 10px;
}

.contract-modal-dates {
    width: 30%;
    margin: 2% auto;
}

 .contract-modal-dates label {
    margin-top: 4%;
}
.contract-modal-buttons {
    text-align: center;
    margin: 3% 5%;
}

.customer-modal-header {
    margin-left: 3%;
}

.modal-input-error {
    color: red;
}

#loginModalContainer .login-textbox {
    width: 75%;
}

label {
    margin-top: 5px;
}

.side-by-side {
    display: inline-block;
}

.error-message {
    margin: 0 1%;
    color: red;
}
