/*
 * Style tweaks
 * --------------------------------------------------
 */

:root {

    --dmm-main-colour: #FFBF29;
    --dmm-footer-colour: #fff;
    
} 
 
*{
    font-family:        Arial, Helvetica, sans-serif;    
    font-weight:        normal;
}
 
html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
  
  font-size: 90%;  
}

body {
  padding-top: 0px;
  
  line-height: 1.5;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;  
  
  /*
  background: var( --dmm-main-colour );
  */
  
  background: none;
}

#page 
{
    background: #fff;

}

footer {
    padding: 30px 0;
    text-align: center;
    background: var( --dmm-footer-colour );
}

html, body{height:100%; margin:0;padding:0}

a:link{
    color: #2F8FA8;
    text-decoration: none;
    outline: 0;
}

.font-family-helvetica {
    font-weight:400; 
    font-style:normal;
}

p {
    font-weight:400; font-style:normal;
}

       
.container-fluid
{
  height:100%;
  display:table;
  width: 100%;
  padding: 0;
}
 
.row-fluid 
{
    height: 100%; 
    display:table-cell; 
    vertical-align: middle;
}
 
.centering 
{
  float:none;
  margin:0 auto;
}

.btn-success {
    color: #FFF;
    background-color: #D6BE20;
    border-color: #D6BE20;
}

/**************** ipad **************/

div.site-locked 
{
    width: 300px; 
    height: 100px; 
    
    margin: 0 auto;

    background-image: url(../images/site-locked.png);
    background-position:center center;
    background-repeat:no-repeat;
    background-size: 290px 97px;
}

div.wrapper1 input, button, select, textarea {margin-bottom:5px;}

select.form-control {margin-bottom:5px;}

.inplace-edit button[type=submit] 
{
    background: #5CB85C;
    border-radius: 4px;
    border: 1px solid #ccc;
    color: #fff;
}

.inplace-edit:hover
{
    cursor: pointer;
    background: #5CB85C;    
}

.fileinput-preview
{
    position: relative;
    width: 170px; 
    height: 170px; 
    background: #ddd; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
}

.fileinput-preview .remove
{
    position: absolute;
    right: 2px;
    top: 2px;
    z-index: 5;
    padding: 2px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 22px;
    width: 22px;
    overflow: hidden;
    opacity: 0;
}

.fileinput-preview .remove:hover
{
    opacity: 1.0;
    cursor: pointer;
}

.fileinput-preview .inner
{
    padding: 4px; 
    width: 160px;
    height: 160px;
    margin-top: 2px;
    margin-left: 2px;
    overflow: hidden;
    line-height: 156px;
}

.fileinput-preview .inner > img
{
    vertical-align: middle;
    padding: 0;
}

.fileinput-preview-container .removed
{
    display: none;
}

.flyover 
{
   left: 150%;
   overflow: hidden;
   position: fixed;
   width: 50%;
   opacity: 0.9;
   z-index: 2050;
   transition: left 0.6s ease-out 0s;
}
 
.flyover-centered 
{
   top: 50%;
   transform: translate(-50%, -50%);
}

.flyover.in 
{
   left: 50%;
}

.flyover-bottom {
   bottom: 10px;
}

ul.sortable { list-style-type: none; margin: 0; padding: 0; width: 100%; }
ul.sortable li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; font-size: 1.4em; height: 40px; }
ul.sortable li span { position: absolute; margin-left: -1.3em; }
ul.sortable li:hover{ cursor: pointer; }

.button-click
{
    cursor: pointer;
}

.gi-1x{font-size: 1em;}
.gi-2x{font-size: 2em;}
.gi-3x{font-size: 3em;}
.gi-4x{font-size: 4em;}
.gi-5x{font-size: 5em;}

.glyphicon.g-grow-1x{font-size: 1.0em; color: #337AB7;} 
.glyphicon.g-grow-2x{font-size: 2.0em; color: #337AB7;} 
.glyphicon.g-grow-3x{font-size: 3.0em; color: #337AB7;} 
.glyphicon.g-grow-4x{font-size: 4.0em; color: #337AB7;} 
.glyphicon.g-grow-5x{font-size: 5.0em; color: #337AB7;} 

.glyphicon.g-grow-1x:hover{font-size: 1.5em;} 
.glyphicon.g-grow-2x:hover{font-size: 2.5em;} 
.glyphicon.g-grow-3x:hover{font-size: 3.5em;} 
.glyphicon.g-grow-4x:hover{font-size: 4.5em;} 
.glyphicon.g-grow-5x:hover{font-size: 5.5em;} 

.grow-image 
{
    /*background-image: url(../images/edit.png); */
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-clip: border-box;
    transition: background-size 0.2s;
    -webkit-transition: background-size 0.2s;
    transition-timing-function: cubic-bezier(.07,1.41,.82,1.41);
    display: inline-block;
    width: 20px;
    height: 30px;
    text-decoration: none;
    cursor: pointer;
}

.grow-image.pdf-download
{
    background-size: 45px; 
    width: 90px;
    height: 80px;   
}

.grow-image.pdf-download:hover
{
    background-size: 80px;    
}


.grow-image:hover 
{
    background-size: 20px;
}

.grow-image.import.large:hover
{
    background-size: 32px;
}

.grow-image.edit 
{
    background-image: url(../images/edit.png);
}

.grow-image.add 
{
    background-image: url(../images/icon-add.gif);
}

.grow-image.delete 
{
    background-image: url(../images/cross-icon.png);
}

.grow-image.pdf-download 
{
    background-image: url(../images/pdf-down-icon.png);
}

.grow-image.import 
{
    background-image: url(../images/document_import.png);
}

.grow-image.update 
{
    background-image: url(../images/icon-update.png);
}

.grow-image.info 
{
    background-image: url(../images/icon-info.png);
}

.popover {
    background: #337AB7;
    color: white;
}

.popover.bottom .arrow:after {
    border-bottom-color: #337AB7;
    color: white;
}

td.transparent
{
    background-color: none;
}

.table.remove-row-lines th, .table.remove-row-lines td 
{ 
     border-top: none !important;
}

div.table-curved-div
{
    border-top-right-radius: 6px; 
    border-top-left-radius: 6px; 
    border-bottom-left-radius: 6px; 
    border-bottom-right-radius: 6px; 
    overflow:hidden;
}

.table thead
{
    background: #ccc; 
}

.table th
{
    font-style: italic; 
    font-weight: 800;
    text-align: center;
}

.table td
{
    font-weight: bold;
    text-align: center;
}

.table tbody tr:hover td, .table tbody tr:hover th {
    background-color: #D0E9F2;
}

.table td.month-view.button-click:hover
{
    border: 2px solid #bbb;
    border-style: dotted;
}

.input-mini { width: 60px !important; } 
.input-mini-1 { width: 70px !important; } 
.input-mini-2 { width: 80px !important; } 
.input-small { width: 90px !important; } 
.input-small-1 { width: 110px !important; } 
.input-small-2 { width: 130px !important; } 
.input-medium { width: 150px !important; } 
.input-medium-1 { width: 170px !important; } 
.input-medium-2 { width: 190px !important; } 
.input-large { width: 210px !important; } 
.input-xlarge { width: 270px !important; } 
.input-xxlarge { width: 530px !important; } 

.control-inline
{
    display: inline;
}

.control-left-offset-1 { margin-left: 2px; }
.control-left-offset-2 { margin-left: 4px; }
.control-left-offset-3 { margin-left: 6px; }
.control-left-offset-4 { margin-left: 8px; }
.control-left-offset-5 { margin-left: 10px; }
.control-left-offset-6 { margin-left: 15px; }
.control-left-offset-7 { margin-left: 20px; }

.table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td{
    padding: 1px;
}

.glyphicon.button-click:hover
{
    color: #337AB7;
}

input[type="checkbox"]{
  width: 16px; /*Desired width*/
  height: 16px; /*Desired height*/
  cursor: pointer;
  /*
  -webkit-appearance: none;
  appearance: none;
  */
}

.panel-default > .panel-heading.info {
  background-color: #9BDFBB;
}

.popover {
    background: #337AB7;
    color: white;
}

.popover.top > .arrow:after {
    border-top-color: #337AB7;
}

.popover.bottom > .arrow:after {                                   
    border-bottom-color: #337AB7;
}

.popover-info-click:hover
{
    color: #A4C6F3;
}
 
:focus{
    outline:none;
}
 
div.clear{
    clear:both;
}      

.modal-header {
    cursor: move;
}

.modal > .modal-dialog.modal-xl {
  width: 1000px;
}

.modal-backdrop.in
{
    opacity:0.1 !important;
    position:fixed;
    height:100%;
}

.checkboxes label {
  display: block;
  float: left;
  padding-right: 10px;
  white-space: nowrap;
}
.checkboxes input {
  vertical-align: middle;
  display: inline;
}
.checkboxes label span {
  vertical-align: middle;
  font-size: 14px; 
  font-weight: bold;
}

.fa.my-grow:hover{
  font-size:3em;
  transition: 0.5s ease-out;
}

 /* Style the list */
ul.breadcrumb {
  padding: 5px 8px;
  list-style: none;
  background-color: #eee;
}

/* Display list items side by side */
ul.breadcrumb li {
  display: inline;
  font-size: 14px;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
  padding: 4px;
  color: black;
  content: "/\00a0";
}

/* Add a color to all links inside the list */
ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
}

/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
} 

.etabs { margin: 0; padding: 0; }
.tab { display: inline-block; background: #eee; border: solid 1px #999; border-bottom: none; -moz-border-radius: 4px 4px 0 0; -webkit-border-radius: 4px 4px 0 0; }
.tab a { font-size: 14px; line-height: 2em; display: block; padding: 0 10px; outline: none; }
.tab a:hover { text-decoration: underline; }
.tab.active { background: #fff; padding-top: 6px; position: relative; top: 1px; border-color: #666; }
.tab a.active { font-weight: bold; }
.tab-container .panel-container { background: #fff; border: solid #666 1px; padding: 10px; -moz-border-radius: 0 4px 4px 4px; -webkit-border-radius: 0 4px 4px 4px; }

.button-click:hover
{
    cursor: pointer !important;     
}

a.ui-tabs-selected
{
    color: black !important;
    font-weight: 800;
}

.inline-field input,
.inline-field label {
  display: inline-block;
  margin-bottom: 0; /* I added this after I posted my reply */
  vertical-align: middle; /* Fixes any weird issues in Firefox and IE */
}

.clickable:hover
{
    cursor: pointer;   
}

.margin-left-50
{
    margin-left: 50px;    
}

.modal-backdrop
{
    opacity: 0.1 !important;
}

.fa.fa-copy:hover, .fa.fa-file-pdf-o:hover, .fa.fa-edit:hover, .fa.fa-eye:hover, .fa.fa-lock:hover, 
.fa.fa-unlock-alt:hover, .fa.fa-file-text-o:hover, .fa.fa-download:hover, .fa.fa-file-excel-o:hover
{
  font-size: 1.5em;
  transition: 1s ease-out;
}

.nav-link
{
    color: #888 !important;    
}

.nav-item:hover a
{
    color: #000 !important;
}

.nav-item.active a
{
    font-weight: 900 !important;   
    color: #000 !important;
}

.bg-custom-flood
{
    background: #40BEF6;   
}

a.navbar-brand
{
    color: #7D582E !important; 
}

input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.modal-dialog.modal-sm { width: 300px; } /* missing in bootstrap 4.5 */
.modal-dialog.modal-md { width: 500px; } /* missing in bootstrap 4.5 */
.modal-dialog.modal-lg { width: 800px; } /* missing in bootstrap 4.5 */
.modal-dialog.modal-xl { width: 1140px; } /* missing in bootstrap 4.5 */

.fileinput-preview,
.fileinput-preview-photo
{
    position: relative;
    width: 170px; 
    height: 170px; 
    background: #ddd; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
}

.fileinput-preview-photo
{
    width: 90px; 
    height: 90px;     
}

.fileinput-preview .remove
{
    position: absolute;
    right: 2px;
    top: 2px;
    z-index: 5;
    padding: 2px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 22px;
    width: 22px;
    overflow: hidden;
    opacity: 0.5;
    text-align: center;
}

.fileinput-preview .remove:hover
{
    opacity: 1.0;
    cursor: pointer;
}

.fileinput-preview > .inner, 
.fileinput-preview-photo > .inner
{
    padding: 4px; 
    width: 160px;
    height: 160px;
    margin-top: 2px;
    margin-left: 2px;
    overflow: hidden;
    line-height: 156px;
}

.fileinput-preview-photo > .inner
{
    width: 80px;
    height: 80px;
    line-height: 76px;    
}                                    

.fileinput-preview .inner > img, 
.fileinput-preview-photo .inner > img
{
    vertical-align: middle;
    padding: 0;
}

.fileinput-preview-container .removed
{
    display: none;
}

#photo-preview-area,
#photo-preview-area-2 
{
    row-gap: 5px;
    column-gap: 5px;
}

.btn-group button {
  background-color: #4EB1FF;
  border: 1px solid #ccc;
  color: white; /* White text */
  padding: 10px 24px; /* Some padding */
  cursor: pointer; /* Pointer/hand icon */
  float: left; /* Float the buttons side by side */
}

.btn-group button:not(:last-child) {
  border-right: none; /* Prevent double borders */
}

/* Clear floats (clearfix hack) */
.btn-group:after {
  content: "";
  clear: both;
  display: table;
}

/* Add a background color on hover */
.btn-group button:hover {
  background-color: #3C51FF;
}

.btn-group button.selected
{
  background-color: #0024A2;    
}

.btn-upload-fix
{
    color: #fff !important;   
}

.table-morecondensed > thead > tr > th, 
.table-morecondensed > tbody > tr > th, 
.table-morecondensed > tfoot > tr > th, 
.table-morecondensed > thead > tr > td, 
.table-morecondensed > tbody > tr > td, 
.table-morecondensed > tfoot > tr > td
{
    padding: 2px !important; 
    margin: 2px !important;
}

.table-left-align > thead > tr > th, 
.table-left-align > tbody > tr > th, 
.table-left-align > tfoot > tr > th, 
.table-left-align > thead > tr > td, 
.table-left-align > tbody > tr > td, 
.table-left-align > tfoot > tr > td
{
    text-align: left;
}

span.survey-preview-title
{
    font-weight: bold;
    font-size: 14px;    
}

span.survey-preview-title.main
{
    font-size: 18px;        
}

.survey-preview-comments-box
{
    display: block; 
    height: 100%; 
    background: #fff; 
    padding: 6px;
    border-radius: 4px;
    font-family: Arial;
    text-shadow: none;
    color: #000;
}

span.survey-preview-photo-no
{
    display: block; 
    background: #fff; 
    padding: 3px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;  
    font-family: Arial;
    text-shadow: none;
    color: #000;
}

.table-hover > tbody > tr.measure-photo-row:hover > td,
.measure-photo-row > td {
    background-color: #343A40;
}

tr.measure-photo-row > td,
.measure-photo-row > td
{
    border: none;
}

.survey-measure-info-box
{
    font-family: Arial;
    background-color: #343A40;
    color: #fff;
    border-radius: 4px;
    padding: 4px;
    text-shadow: none;
}

/* -------------------- */
/* magnify pic */
#row1 {
    padding: 140px;
}

.mag {
    width: 450px;
    margin: 0 auto;
    float: none;
}

.mag img {
    max-width: 100%;
}

.mag1 {
    width: 250px;
    margin: 0 auto;
    float: none;
}

.mag1 img {
    max-width: 100%;
}

.mag2 {
    width: 900px;
    margin: 0 auto;
    float: none;
}

.mag2 img {
    max-width: 100%;
}

.magnify {
    position: relative;
    cursor: none;
}

.magnify-large {
    position: absolute;
    display: none;
    width: 500px;
    height: 500px;
    -webkit-box-shadow: 0 0 0 7px rgba(204, 204, 204, 0.55), 0 0 7px 7px rgba(0, 0, 0, 0.25), inset 0 0 40px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.55), 0 0 7px 7px rgba(0, 0, 0, 0.25), inset 0 0 40px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.55), 0 0 7px 7px rgba(0, 0, 0, 0.25), inset 0 0 40px 2px rgba(0, 0, 0, 0.25);
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    z-index: 100;
}

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

.fa-hand-point-left
{
    color: #ccc;    
}

.fa-hand-point-left:hover
{
    cursor: pointer;
    color: #000;    
}

.fa-tasks
{
    color: #aaa;
}

.fa-tasks:hover
{
    color: #0024A2;
}

/* -------------------------------- */
/* fancy buttons menu
/* -------------------------------- */

div.rhcl-menu-outer
{
    display: block; 
    width: 23em; 
    margin-left: auto; 
    margin-right: auto;
}

ul.rhcl-menu {
    padding: 0;
    list-style-type: none;
}

ul.rhcl-menu li {
    font-size: 25px;
    width: 12em;
    height: 4em;
    color: #3399CE;
    border-left: 0.08em solid;
    position: relative;
    margin-top: 1.2em;
    cursor: pointer;
}

ul.rhcl-menu li::before,
ul.rhcl-menu li::after
 {
    content: '';
    position: absolute;
    width: inherit;
    border-left: inherit;
    z-index: -1;
}

ul.rhcl-menu li::before {
    height: 80%;
    top: 10%;
    left: calc(-0.15em - 0.08em * 2);
    filter: brightness(0.8);
}

ul.rhcl-menu li::after {
    height: 60%;
    top: 20%;
    left: calc(-0.15em * 2 - 0.08em * 3);
    filter: brightness(0.6);
}

ul.rhcl-menu li span {
    position: relative;
    height: 120%;
    top: -10%;
    box-sizing: border-box;
    border: 0.08em solid;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    text-transform: capitalize;
    transform: translateX(calc(-0.15em * 3 - 0.08em * 2));
    transition: 0.3s;
    text-align: center;
}

ul.rhcl-menu li:hover span {
    transform: translateX(0.15em);
}

.rhcl-page-title
{
    font-size: 140%;
    text-shadow: 1px 1px 2px #3399CE;    
}

#survey-agree-icon
{
    cursor: pointer;    
    color: #ccc;
}

#survey-agree-icon:hover
{
    color: #0024A2;
}

#survey-agree-icon.agreed
{
    color: green;
}

.site-progress-info-box
{
    display: block; 
    height: 100%; 
    background: #fff; 
    margin: 5px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: Arial;
    color: #000;
    
}

.site-progress-info-box span.title
{
    display: block;
    font-style: italic;
    font-weight: bold;
    font-size: 120%;
    color: #0024A2;
}

.site-progress-completed
{
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 0px;
    background-color: #0085E8;    
    opacity: 0.5;
    /*z-index: -1;*/
    
    height: 24px;
    border-radius: 3px;  
}

.site-progress-completed.yes
{
    width: 100%;
    background-color: #5AFF26;
}

.site-progress-completed.no
{
    
}