/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Apr 9, 2018, 11:00:45 AM
    Author     : Dan
*/
textarea {
  background-color: #F2F2F2 !important;
  border-style: solid !important;
  border-color: #BBBBBB !important;
  border-width: 1px !important;
}
input {
  background-color: #F2F2F2 !important;
}
body {
  background: #EEEEF0;
  font-family: verdana;
  margin: 0;
}

.btn-blue,
.btn-dblue,
.btn-green,
.btn-dgreen {
  color: #ffffff !important;
}
.btn-blue {
  background-color: #04a3a3 !important;
  border: 1px solid #04a3a3 !important;
}
.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active,
.btn-blue.active,
.btn-blue.focus,
.btn-blue:active,
.btn-blue:focus,
.btn-blue:hover,
.open > .dropdown-toggle.btn-blue {
  background-color: #28696d !important;
  border: 1px solid #28696d !important;
}
.btn-dblue {
  background-color: #28696d !important;
  border: 1px solid #28696d !important;
}
.btn-dblue:hover,
.btn-dblue:focus,
.btn-dblue:active,
.btn-dblue.active,
.btn-dblue.focus,
.btn-dblue:active,
.btn-dblue:focus,
.btn-dblue:hover,
.open > .dropdown-toggle.btn-dblue {
  background-color: #04a3a3 !important;
  border: 1px solid #04a3a3 !important;
}
.btn-green {
  background-color: #00a73e !important;
  border: 1px solid #00a73e !important;
}
.btn-green:hover,
.btn-green:focus,
.btn-green:active,
.btn-green.active,
.btn-green.focus,
.btn-green:active,
.btn-green:focus,
.btn-green:hover,
.open > .dropdown-toggle.btn-green {
  background-color: #1c8d46 !important;
  border: 1px solid #1c8d46 !important;
}
.btn-dgreen {
  background-color: #1c8d46 !important;
  border: 1px solid #1c8d46 !important;
}
.btn-dgreen:hover,
.btn-dgreen:focus,
.btn-dgreen:active,
.btn-dgreen.active,
.btn-dgreen.focus,
.btn-dgreen:active,
.btn-dgreen:focus,
.btn-dgreen:hover,
.open > .dropdown-toggle.btn-dgreen {
  background-color: #00a73e !important;
  border: 1px solid #00a73e !important;
}


.color-blue{color:#04a3a3 !important;}
.color-dblue{color:#28696d !important;}
.color-green{color:#8bc53f !important;}
.color-dgreen{color:#00a73e !important;}
.color-yellow{color:#ffcd00 !important;}
.color-white{color:#ffffff !important;}
.color-black{color:#000000 !important;}

.bg-color-blue{background-color:#04a3a3 !important;}
.bg-color-dblue{background-color:#28696d !important;}
.bg-color-green{background-color:#8bc53f !important;}
.bg-color-dgreen{background-color:#00a73e !important;}
.bg-color-yellow{background-color:#ffcd00 !important;}


.th-aircraft-logbook, .td-aircraft-logbook
{
  padding-left: 3px !important;
  padding-right: 3px !important;
  padding-bottom: 2px !important;
  padding-top: 2px !important;
}
.min-content { white-space: nowrap; width: 1%; }
.max-content { width: max-content !important; }

.width50 { width: 50px; }
.width75 { width: 75px; }
.width100 { width: 100px; }
.width110 { width: 110px; }
.width120 { width: 120px; }
.width-auto { width: auto; }
.width-full { width: 100%; }

.popover{max-width: 50%;}
.popover-title{background-color: #EEFFFF !important; font-style: italic;}

.bgcolorAircraftLogbookAirframe{background-color: #DDFFFF !important;}
.bgcolorAircraftLogbookEngine{background-color: #FFFFCC !important;}
.bgcolorAircraftLogbookProp{background-color: #FFBBBB !important;}
.bgcolorAircraftLogbookMod{background-color: #BBFFBB !important;}

.option-column {padding: 0px !important; text-align: center !important;}
.option-column-heading {text-align: center;}

.print-only {
  display: none;
}
.abCellBorderTopHeavy
{
  border-top-color: #777777 !important;
  border-top-width: 2px !important;
}
.abCellBorderBottomHeavy
{
  border-bottom-color: #777777 !important;
  border-bottom-width: 2px !important;
}
.abCellBorderLeftHeavy
{
  border-left-color: #777777 !important;
  border-left-width: 2px !important;
}
.abCellBorderRightHeavy
{
  border-right-color: #777777 !important;
  border-right-width: 2px !important;
}
.abCellBorderLeftRightHeavy
{
  border-right-color: #777777 !important;
  border-right-width: 2px !important;
  border-left-color: #777777 !important;
  border-left-width: 2px !important;
}

.pagebreak { page-break-before: always; }

img {
    image-orientation: from-image;
}

input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  padding: 20px;
}
.checkboxtext
{
  /* Checkbox text */
  font-size: 110%;
  display: inline;
}
.abImage {
  border-radius: 5px;
  padding: 3px;
  border-style: solid;
  border-width: 1px;
  border-color: #BBBBBB;
  background-color: #EEEEEE;
  cursor: pointer;
  transition: 0.3s;
}

.abImage:hover {opacity: 0.7;}
    
.abTextBlue {
  color: rgb(100,170,255);
}

.abTextExpired {
  color: rgb(190,0,0);
  font-weight: bold;
}

.abTextValid {
  color: rgb(0,180,0);
  font-weight: bold;
}

.abTextExpiryCaution {
    color: rgb(240,200,0);
}


/* For Modal Zoom in of Images */
/* The Modal (background) */
.abPictureModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1500; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.abPictureModalContent {
  margin: auto;
  display: block;
  width: 80%;
/*  max-width: 700px; */
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
.abPictureModalCaption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.abPictureModalContent, .abPictureModalCaption { 
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0.5)} 
  to {-webkit-transform:scale(1)}
}
@keyframes zoom {
  from {transform:scale(0.5)} 
  to {transform:scale(1)}
}

/* The Close Button */
.abPictureModalClose {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.abPictureModalClose:hover,
.abPictureModalClose:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .abPictureModalContent {
      width: 100%;
  }
}
/* For Modal Zoom in of Images */



/* wait cursor tip from stackoverflow */
/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.waitModal {
  display:    none;
  position:   fixed;
  z-index:    1000;
  top:        0;
  left:       0;
  height:     100%;
  width:      100%;
  background: rgba( 255, 255, 255, 0.8 ) 
              url('https://cc.dmei.ca/assets/images/load-indicator.gif')
              50% 50% 
              no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.abUpLoading .waitModal {
  overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.abUpLoading .waitModal {
  display: block;
}

.panel-heading, .list-group-item-heading {
  background-color: #cccccc !important;
}
.panel, .list-group{
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* styles for the authoriztion modals */
input.auth_modal_input[type=text], input.auth_modal_input[type=password] {
  width: 50%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
.auth_modal_button {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: auto;
  text-align: center;
}
.auth_modal_button:hover {
  opacity: 0.8;
}
.auth_modal_cancel_btn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}
.auth_modal_img_container {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

img.auth_modal_member_image {
  width: 30%;
  border-radius: 10%;
}

.auth_modal_container {
  padding: 16px;
}

.auth_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1500; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  padding-top: 0px;
  padding-bottom: 0px;
}

.auth_modal_content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 60%; /* Could be more or less, depending on screen size */
}

.auth_modal_close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.auth_modal_close:hover,
.auth_modal_close:focus {
  color: red;
  cursor: pointer;
}

.auth_modal_animate {
  -webkit-animation: authanimatezoom 0.6s;
  animation: authanimatezoom 0.6s
}

@-webkit-keyframes authanimatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
    
@keyframes authanimatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  .auth_modal_cancel_btn {
     width: 100%;
  }
}


/* styles for the NOW time entry modals */

.time_now_modal_img_container {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

.time_now_modal_container {
  padding: 16px;
}

.time_now_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1500; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  padding-top: 0px;
  padding-bottom: 0px;
}

.time_now_modal_content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 60%; /* Could be more or less, depending on screen size */
}

.time_now_modal_close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.time_now_modal_close:hover,
.time_now_modal_close:focus {
  color: red;
  cursor: pointer;
}

.time_now_modal_animate {
  -webkit-animation: timenowanimatezoom 0.6s;
  animation: timenowanimatezoom 0.6s
}

@-webkit-keyframes timenowanimatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
    
@keyframes timenowanimatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

.container {
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.abPasswordChangeModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1500; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

.abPasswordChangeModalContent {
  background-color: #ffffff;
  border: 1px solid #888;
  margin: auto;
  width: 80%;
  max-width: 900px;
}


/* Add Animation - Zoom in the Modal */
.abPasswordChangeModalContent { 
  -webkit-animation-name: passwordchangemodalzoom;
  -webkit-animation-duration: 0.6s;
  animation-name: passwordchangemodalzoom;
  animation-duration: 0.6s;
}
@-webkit-keyframes passwordchangemodalzoom {
  from {-webkit-transform:scale(0.5)} 
  to {-webkit-transform:scale(1)}
}
@keyframes passwordchangemodalzoom {
  from {transform:scale(0.5)} 
  to {transform:scale(1)}
}

/* The Close Button */
.abPasswordChangeModalClose {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.abPasswordChangeModalClose:hover,
.abPasswordChangeModalClose:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .abPasswordChangeModalContent {
    width: 100%;
  }
}
/* For Modal Zoom in of Images */
