/* app css stylesheet */

/* Bootstrap Sticky Footer Styles */
html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto;
  /* Negative indent footer by its height */
  margin: 0 auto;
  /* Pad bottom by footer height */
  padding: 0;
}

/* Set the fixed height of the footer here */
#footer {
    height: 48px;
    background-color: #EEE;
    border-top: 1px solid #B1B1B1;
    padding-top: 15px;
}

#footer .text-muted {
    color: #999;
}

#footer p {
    color: #000000;
}
/* Headings
--------------------------------------*/
h2.green-background {
    padding-bottom: 5px;
    margin-bottom: 20px;
    color: #FFF;
    border-radius: 5px;
    margin: 0 0 20px 0;
    padding: 5px 15px;
    text-shadow: 1px 1px 0px #457525;
    background-color: #81C456;
}

/* Scroll Spy
--------------------------------------*/
.bg-gray {
    background: #EEE;
    border: 1px solid #CCC;
}

.affix-inner-wrapper {
    border: 1px solid #CCC;
    border-radius: 5px 5px 0 0;
}

.jump-to-footer {
    background: #EEE;
}

.active-scrollspy, .active-scrollspy:focus, .active-scrollspy:active {
    background-color: #FF0000 !important;
}

.affix-inner-wrapper h2.green-background {
    font-size: 25px;
    margin-bottom: 10px;
    border-radius: 5px 5px 0 0;
}

/* Modals
--------------------------------------*/
.modal-header {
    background-color: #4BA9CB;
    color: #FFF;
}

.modal-dialog {
    width: 60%;
    min-width: 600px;
}

.modal-body {
    max-height: 400px;
    overflow-y: auto;
}

.modal-header .close {
    color: #FFF;
    opacity: 1;
}

.modal-footer {
    background: #EEE;
}

.modal-body .grid {
    width: auto;
}

/* Panels
-------------------------------------*/
.panel-primary > .panel-heading {
    color: #fff !important;
    background-color: #4EB1D4 !important;
    border-color: #5090A7 !important;
}

/* Button Overrides
-------------------------------------*/
.btn:disabled {
    border-color: #EEE !important;
}

.btn-primary {
    background-image: none !important;
    background-color: #4BAACD !important;
    border-color: #48A0BF !important;
    color: #FFF !important;
}

.btn-primary:hover {
    background-image: none !important;
    background-color: #51BADE !important;
    border-color: #48A0BF !important;
    color: #FFF !important; 
}

.btn-default {
    background-image: none !important;
    background-color: #E0E0E0 !important;
    border-color: #CCC !important;
    color: #333 !important;
}

.btn-default:hover {
    background-image: none !important;
    background-color: #EEE !important;
    border-color: #CCC !important;
    color: #333 !important; 
}

.btn-success {
    background-image: none !important;
    background-color: #3B883B !important;
    border-color: #398439 !important;
    color: #FFF !important;
}

.btn-success:hover {
    background-image: none !important;
    background-color: #47a447 !important;
    border-color: #398439 !important;
    color: #FFF !important; 
}

.btn-danger {
    background-image: none !important;
    color: #fff !important;
    background-color: #d9534f !important;
    border-color: #d43f3a !important;
}

.btn-danger:hover {
    background-image: none !important;
    color: #fff !important;
    background-color: #E86E6A !important;
    border-color: #d43f3a !important;
}
.btn:hover {
    cursor: pointer;
}

#header-login-button {
    margin-top: 15px;
}

/* Affix
-------------------------------------*/
.affix-wrapper.affix {
    width: inherit;
    padding-right: 40px;
}

/* Grids
-------------------------------------*/
.ui-grid-viewport {
    overflow: auto !important;
}

/* Toggle Switch
------------------------------*/
.navbar .toggle-switch {
    margin-top: 15px;
    border: 1px solid #C1F0FF;
}

.toggle-switch .switch-left,
.toggle-switch .switch-right {
    color: #FFF;
    background-color: #9ACD2B;
    font-weight: bold;
}

.toggle-switch .knob {
    background: #868686;
    color: #E0E0E0;
}

/* Header Elements
-------------------------------------*/
.account {
    position: absolute;
    top: 0;
    z-index: 1;
    background-color: #8AC549;
    padding: 4px 39px;
    color: #fff;
    text-shadow: 1px 1px 0 #65982D;
    border-radius: 0 0 5px 5px;
    right: 11px;
    box-shadow: -2px 2px 3px rgba(51, 51, 51, 0.46);
    border-right: 1px solid #548C17;
    border-bottom: 1px solid #548C17;
    border-left: 1px solid #548C17;
}

.mapname {
    float: left;
    font-family: Verdana;
    font-size: 16px;
    margin-left : 10px;
    margin-right : 10px;
    margin-top: 12px;
    min-width: 100px;
    z-index: 1;
    padding: 5px 5px;
    color: #fff;
    text-shadow: 1px 1px 0 #65982D;
    border-radius: 5px 5px 5px 5px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
}

.mapname-subtitle {
    font-family: Verdana;
    font-size: 9px;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 0 #65982D;
}

#dropdownMenu1 {
    margin-top: 40px;
}

/*#wrap > .container {
  padding: 60px 15px 0;
}*/
.container .text-muted {
  margin: 0px 0;
  color: #FFF;
}

#footer > .container {
  padding-left: 15px;
  padding-right: 15px;
}

.container {
    margin: 0 auto;
    width: 100%;
   
    padding-right: 0px;
    padding-left: 0px;
}


/*#region wrapper for angular ng-grid*/
.gridStyle {
    border: 1px solid rgb(212,212,212);
    height: 400px
}
/*#endregion */

.no-side-padding {
    padding-left: 0;
    padding-right: 0;
}


.the-legend {
    border-style: none;
    border-width: 0;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    width:inherit; /* Or auto */
    padding:0 10px; /* To give a bit of padding on the left and right */
    border-bottom:none;
}
.the-fieldset {
    border: 2px groove threedface #444;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}


.navbar {
    padding: 15px;
    margin: 0;
    background: #4aa7c9; /* Old browsers */
    background: -moz-linear-gradient(top,  #4aa7c9 0%, #59cff4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4aa7c9), color-stop(100%,#59cff4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #4aa7c9 0%,#59cff4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #4aa7c9 0%,#59cff4 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #4aa7c9 0%,#59cff4 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #4aa7c9 0%,#59cff4 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4aa7c9', endColorstr='#59cff4',GradientType=0 ); /* IE6-9 */

}

.angular-google-map-container {
    /*width: 100%;
	height: 100%;*/
     height: 100vh;
}

.legend-image {
    display:inline-block;
    max-width:100%;
    max-height:100%;
    overflow:hidden;
    vertical-align: top;
    border: 1px solid black;
}


/* define line space and it can be easily add to .row class */
.top-spacer2 { margin-top: 2px; }
.top-spacer3 { margin-top: 3px; }
.top-spacer5 { margin-top: 5px; }
.top-spacer10 { margin-top: 10px; }
.top-spacer15 { margin-top: 15px; }
.top-spacer20 { margin-top: 20px; }

.bottom-spacer10 { margin-bottom: 10px; }
.bottom-spacer15 { margin-bottom: 15px; }
.bottom-spacer20 { margin-bottom: 20px; }

.left-spacer2 { margin-left: 2px; }
.left-spacer3 { margin-left: 3px; }
.left-spacer5 { margin-left: 5px; }
.left-spacer10 { margin-left: 10px; }
.left-spacer15 { margin-left: 15px; }
.left-spacer20 { margin-left: 20px; }

.col-center {
    margin: 0 auto;
    float: none;
}

form {
    height: 100%;
}

.grid-border {
    border: 1px solid black;
}

.scrollable-Container {
    width: 100%;
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
}

hr {
    height: 3px;
    /* Set the hr color */
    color: #333; 
    background-color: #333; 
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}


.error {
    color: red;
}

span.error {
    display: block;
    margin-bottom: 5px;
}

/* Branding
 -----------------------------*/
.branding {
 
}

.branding-image {
    margin-right: 20px;
    height: 60px;
}

.app-title {
    font-size: 1.5em;
    color: #FFF;
    line-height: 1.1em;
    position: relative;
    top: 10px;
    text-shadow: 1px 1px 0 #2D86BD;
    width: 550px;
}

/* TOC
 ----------------------------*/
#rightPaneDiv #tabs ul {
    background: #CCC;
    border: 0 none;
}

#rightPaneDiv #tabs {
    border: 0 none;
    padding: 0;
    border-radius: 0;
}

.search-results {
    padding: 0;
    margin: 0;
}

.search-results h3 {
    margin: 0;
    padding: 5px 0;
    font-size: 1.3em;
}

.search-results .action-buttons {
    padding: 15px 15px 0 0;
}

.search-results .action-buttons .btn {
    cursor: pointer;
}

.search-results .action-buttons .btn.project-details {
    background: #ABABAB;
    color: #FFF;
    font-size: 1em !important;
    border: 0;
}

.search-results .action-buttons .btn.show-on-map {
    background: #9acd2b;
    color: #FFF;
    font-size: 1em !important;
    border: 0 none;
}

.glyphicon-globe.green {
    color: #7ba520;
}

.search-results .well {
    padding: 20px;
    margin: 0;
    background: #FFF;
    border-radius: 0;
    box-shadow: none;
    border: 0 none;
    border-bottom: 1px solid #C2C2C2;
}

.no-results {
    margin: 0;
    padding: 20px;
}

.btn-search:disabled {
    border: 0 !important;
    font-size: 1em !important;
}

.btn-search, .btn-green {
    background: #9acd2b !important;
    border: 0 !important;
    color: #FFF !important;
    font-size: 1em !important;
}

.btn-green {
    font-size: 1.6em !important;
}

#rightPaneDiv .btn-clear {
    background: #EEE !important;
    border: 0 !important;
    color: #333 !important;
    font-size: 1em !important;
}

.bg-gray {
    background: #CCC;
    padding: 10px;
}

.jsPanel-btn-close {
  color: #FFF;
    position: relative;
top: 5px;
right: 5px;
padding: 7px 10px 3px;
height: auto !important;
width: auto !important;
background: rgb(169, 50, 50);
border-radius: 10px;
}

/* Map
----------------------------*/
.reset-to-init-extent span {
    font-size: 24px;
}

.reset-to-init-extent.btn {
    border-radius: 8px 0 0 8px;
    margin: 0;
    top: 20px !important;
    padding: 3px 0 !Important;
    border-left: 1px solid #B8B8B8;
    border-bottom: 1px solid #B8B8B8;
    border-top: 1px solid #B8B8B8;
    border-right: 0 none;
    position: relative;
    box-shadow: none;
    line-height: 1em !important;
    outline: 0 none;
}

.reset-to-init-extent.btn:hover {
    border-right: 0 !important;
}

.infoWindow-content {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    max-width: 300px;
}

#places-directive-div {
    top: 20px !important;
}

#places-directive-div .form-control {
    border-radius: 0 8px 8px 0;
}

.btn-clear {
    font-size: 1.4em;
    outline: 0 none;
}

.jsPanel .panel-title {
    font-size: 1.4em;
    font-variant: normal;
    padding: 10px;
    font-style: normal;
}

.map-layers-container {
    padding: 10px;
}

.map-layers {
    margin-left: 15px;
    margin-top: 0 !important;
}

li.map-layer {
    margin-bottom: 10px;
}

#tocPanel .panel-body {
    overflow-y: auto !important;
}

#tocPanel h4 {
    font-size: 17px;
    font-weight: normal;
}

.map-layers-container .layer-group {
    border-bottom: 1px solid #D8D8D8;
    padding: 10px 0;
}

.map-layers-container .layer-group:last-child {
    border-bottom: 0 !important;
}

.legend-image {
    border-radius: 100px;
    margin-right: 10px;
}

#projectInformationPopup {
    z-index: 5;
    top: 0 !important;
    left: 0 !important;
    height: 100%;
    width: 100%;
    display: block;
}

#projectInformationPopup #projectInformationPopupBodyDiv {
    padding: 5px 20px 20px;
}

#projectInformationPopupBodyDiv {
    width:100%;
    height: calc(100vh - 186px);
    overflow-y:auto;
    overflow-x:hidden
}

#projectInformationPopup .jsPanel-content.panel-body {
    width: 100% !important;
    height: auto !important;
}

#commentPopup {
    z-index: 5;
    top: 0 !important;
    left: 0 !important;
    height: 100%;
    width: 100%;
    display: block;
    overflow: auto;
}

#commentPopup #commentPopupBodyDiv {
    padding: 5px 20px 20px;
}

#commentPopup .jsPanel-content.panel-body {
    width: 100% !important;
    height: auto !important;
}

#attachmentImagePopup {
    z-index: 5;
    top: 0 !important;
    left: 0 !important;
    height: 100%;
    width: 100%;
    display: block;
    overflow: auto;
}

#attachmentImagePopup #attachmentImagePopupBodyDiv {
    padding: 5px 20px 20px;
}

#attachmentImagePopup .jsPanel-content.panel-body {
    width: 100% !important;
    height: auto !important;
}

#toctitle h4 {
    margin: 0;
    padding: 10px;
    font-size: 1.8em;
    color: #FFF;
}

.priority-data-table td,
.priority-data-table thead th,
.project-cost-table td,
.project-cost-table thead th {
    text-align: right;
}

/* W2UI Overrides 
----------------------------*/
.w2ui-panel-content {
    padding: 0 !important;
    border: 0 !important;
    background: #FFF !important;
}

#collapsebtn {
    position: absolute !important;
    bottom: 48% !important;
    background-color: #FFF;
    background: #FFF url('images/legend.png') no-repeat;
    outline: 0 none;
    left: -1px !important;
    background-position: center center;
    box-shadow: 2px 2px 3px rgba(153, 153, 153, 0.49);
    z-index: 2;
    padding: 30px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    border-top: 1px solid #B8B8B8;
    border-left: 1px solid #B8B8B8;
    border-bottom: 1px solid #B8B8B8;
    border-right: 0;
    color: #939393;
    font-weight: normal;
}

#collapsebtntoc {
    position: absolute !important;
    bottom: 48% !important;
    background-color: #FFF;
    background: #FFF url('images/search.png') no-repeat;
    outline: 0 none;
    right: 0 !important;
    background-position: center center;
    box-shadow: 2px 2px 3px rgba(153, 153, 153, 0.49);
    z-index: 2;
    padding: 30px 16px;
    border-radius: 8px 0 0 8px;
    font-size: 12px;
    border-top: 1px solid #B8B8B8;
    border-left: 1px solid #B8B8B8;
    border-bottom: 1px solid #B8B8B8;
    border-right: 0;
    color: #939393;
font-weight: normal;
}

/* jQuery UI Overrides
----------------------------*/

#rightPaneDiv .ui-tabs-nav {
    border-radius: 0;
}

#rightPaneDiv #tabs .ui-tabs-anchor {
    outline: 0;
}

#rightPaneDiv .ui-accordion-header {
    border: 0;
    outline: 0 none;
    border-radius: 0;
    background: #EEE;
}

#rightPaneDiv .ui-accordion-content {
    border: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 20px;
}

#rightPaneDiv .ui-tabs-nav {
    padding: 0;
    margin: 0;
}

#rightPaneDiv .ui-tabs .ui-tabs-nav li {
    padding: 0;
    margin: 0;
    width: 50%;
    border-radius: 0;
    border: 0 none;
    border-right: 1px solid #FFF;
    background: #9acd2b;
}

#toctitle {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 50px;
    border-radius: 0;
    border: 0 none;
    border-right: 1px solid #FFF;
    background: #9acd2b;
}


#rightPaneDiv .ui-tabs .ui-tabs-active {
    background: #7ba520 !important;
}

#rightPaneDiv .ui-tabs .ui-tabs-nav li:last-child {
    border-right: 0 none;
}

#rightPaneDiv .ui-tabs .ui-tabs-nav li a {
    padding: 15px 20px;
    width: 100%;
    color: #FFF;
    font-weight: bold;
}

/* Helpers
---------------------------------*/

/* attachment style
---------------------------------*/

.attachment-image {
  border: 5px solid #B8B8B8;
    width: 300px;
    height:200px
}

.attachment-video {
  border: 5px solid #B8B8B8;
   width: 50px;
    height:50px
}

.attachment-document {
  border: 5px solid #B8B8B8;
   width: 50px;
    height:50px
}

/* Login
---------------------------------*/

#login {
    overflow-x: hidden;
}
#login .form-wrap {
    width: 30%;
    margin: 0 auto;
    
}
#login h1 {
    color: #1fa67b;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    padding-bottom: 20px;
}
#login .form-group {
    margin-bottom: 25px;
}
#login .checkbox {
    margin-bottom: 20px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
#login .checkbox.show:before {
    content: '\e013';
    color: #1fa67b;
    font-size: 17px;
    margin: 1px 0 0 3px;
    position: absolute;
    pointer-events: none;
    font-family: 'Glyphicons Halflings';
}
#login .checkbox .character-checkbox {
    width: 25px;
    height: 25px;
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid #ccc;
    vertical-align: middle;
    display: inline-block;
}
#login .checkbox .label {
    color: #6d6d6d;
    font-size: 13px;
    font-weight: normal;
}
#login .btn.btn-custom {
    font-size: 14px;
	margin-bottom: 20px;
}
#login .forget {
    font-size: 13px;
	text-align: center;
	display: block;
}

.grid {
  width: 550px;
  height: 250px;
}

.funding-grid {
  width: 100%;
  height: 250px;
}

.priority-grid {
  width: 100%;
  height: 480px;
}

.reports-grid {
    width: 100%;
    height: 500px;
}

.activity-grid {
  width: 100%;
  height: 500px;
}

.completed-amendments-grid {
  width: 100%;
  height: 500px;
}

.project-information-changes-grid {
    width: 100%;
    height: 500px;
}


.new-phase {
  background-color: #7fff7f !important;
}

.deleted-phase {
  background-color: #ff7f7f !important;
}

.modified-phase {
  background-color: #FFFF7F !important;
}

.no-changes-phase {
  background-color: #D3D3D3 !important;
}

.phase-legend {
    float: left;
    width: 50px;
    height: 30px;
    border: 2px solid black;
}

.phase-legend-description {
    float: left;
    padding: 10px;
}

.lrtp-project-picker-grid {
  width: 100%;
  height: 300px;
}

li { cursor: pointer; cursor: hand; }

.priority-form {
  width: 100%;
  height: 50px;
}

.disabled-label {
    color: gray;
}