﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 98%;
}

#step-error {
            color: #EB3F3F;
            margin-top: 20px;
            text-align: center;
            font-size:large
        }

.deleteIcon, .refreshIcon, .FileIcon, .applyIcon, .Active, .edit, .addIcon, .minusIcon, .pdfIcon, .InActive, .Registration-Pending {
    background: url(../images/deleteIcon.png) 0 0 no-repeat;
    float: left;
    height: 18px;
    margin-right: 7px;
    width: 20px;
}
.deleteIcon {width:12px !important;}
.Active {background:url(../images/inactiveIcon.png) 0 0 no-repeat;height: 18px;width:18px;    margin-top: 0px;
    margin-left: 35px;}	
.InActive {background:url(../images/inactive.png) 0 center no-repeat; width: 18px;height: 18px;    margin-top: 0px;
    margin-left: 35px;}	
.Registration-Pending {background:url(../images/disabled.png) 0 center no-repeat; width: 18px;height: 18px;    margin-top: 0px;
    margin-left: 35px;}	
.FileIcon {background:url(../images/fileIconNew.png) 0 0 no-repeat;height: 20px;width:18px;}
.applyIcon {background:url(../images/applyIcon.png) 0 0 no-repeat;}
.edit {background:url(../images/editIcon.png) 0 0 no-repeat; height: 18px; width:18px;}
.refreshIcon {background:url(../images/refresh2.png) 0 0 no-repeat; height: 16px;width:16px;}
.addIcon {background:url(../images/addIcon.png) 0 0 no-repeat;height: 17px;width:17px;}
.minusIcon {background:url(../images/minusIcon.png) 0 0 no-repeat;height: 17px;width:17px;}
.logoutIcon {
    background: url(../images/logout-icon.png) 0 0 no-repeat;
    height: 18px;
    width: 18px;
    float:left;
}


.newhidden {
    display: none;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1030;
    height: 100%;
}
.popup {
    margin: 2% auto 2%;
    overflow: auto;
    padding: 0px;
    z-index: 1002;
	width:700px;
    height:96%;
    overflow-y:hidden;
    max-width:100%;
}
.popupOverPopup {
    margin: 10% auto;
    overflow: auto;
    padding: 0px;
    z-index: 1002;
    width: 750px;
    height: 80%;
    overflow-y: hidden;
    max-width: 100%;
}
.whiteBg {background-color: #fff; padding:0px 40px 0px;border-radius:0 0 4px 4px;}
.black_overlay, #fade {
    background-color: black;
    bottom: 0;
    display: none;
    height: 100%;
    left: 0;
    opacity: 0.8;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}
.headingSignUp {
    background-color: #848080;
    border-radius: 4px 4px 0 0;
    height: 45px;
}	

.navigationIcon {
    float: left;
    font-family: arial;
    /*padding-right: 10px;*/
}
.navigationIcon a {color:#fff;}
.navigationIcon a:hover {
    color: #fff; text-decoration:none;
}

.closeIcon {
    float: right;
    font-family: arial;
    padding-right: 9px;

}
.closeIcon a {color:#fff;}
.closeIcon a:hover {
    color: #fff; text-decoration:none;
}
.whiteBgSignUp {
    background-color: #fff; 
    padding:0px 5px 0px;
    border-radius:0 0 4px 4px;
    overflow-y: hidden;
    height:calc(100% - 4% - 45px);
}

.whiteBgSignUp h6 {
    border-bottom: 1px solid #cdd0d8;
    color: #000;
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    padding: 10px 0;
}

.headingSignUp h2 {
    color: #fff;
    font-size:18px;
    font-weight: 500;
    margin: 0;
    padding: 12px 0 15px 20px;
}

.mainBoxSignUp {
    /*padding-bottom: 20px;*/
    /*padding-top: 10px;*/
    height: calc(100% - 30px);
    overflow-y:scroll;
}

.customTable {
    margin-bottom: 0px !important;
}

.saveSelectionButtonBox {
    height: 30px;
}

.saveChange {
	background-color: #313a53;
    color: #fff;
    font-size:15px !important;
    font-weight:400 !important;    
    margin-right:9px;
	border-radius:4px !important;
	padding:7px 20px;
	font-family: 'Open Sans';
	
	}
.myCancel {background-color:#9ca1ad !important;}
.orangeBtn {background-color:#ec672a !important;}
.saveChange:hover, .saveChange:focus  { color:#fff; text-decoration:none;}
.multilist{
        width: 100%;
    /* padding: 12px 11px 10px 10px; */
    margin-bottom: 10px;
    margin-left: 38px;
    height: 200px;
}
.notifyjs-foo-base {
  /*opacity: 0.85;*/
  width: 200px;
  background: #F5F5F5;
  padding: 5px;
  border-radius: 10px;
}

.notifyjs-foo-base .title {
  width: 100px;
  float: left;
  margin: 10px 0 0 10px;
  text-align: right;
}

.notifyjs-foo-base .buttons {
  width: 70px;
  float: right;
  font-size: 9px;
  padding: 5px;
  margin: 2px;
}

.notifyjs-foo-base button {
  font-size: 9px;
  padding: 5px;
  margin: 2px;
  width: 60px;
}

thead{
    background: #dad8d8;
}
.logout {

    float: right;
    color: white !important;
    background: grey;
    border-radius: 109px;
    padding: 9px;
}

input.error{border: 2px solid rgba(255, 0, 0, 0.28) !important; }

label.error,div.error{
   font-weight: normal;
    color: #F68686 !important;
    position: absolute;
    margin-top: 60px;
    font-size: 13px;
}

select.error{border: 2px solid rgba(255, 0, 0, 0.28) !important;}

/*CSS for hiding buttons into a menu button in index.html - https://codepen.io/grgaortiz/pen/QNOGNp*/ 
@media (min-height: 671px) {
  .responsive-show-when-min-height-700 {
    display: none;
  }
}

@media (max-height: 670px) {
  .responsive-show-when-max-height-700 {
    display: none;
  }
}

@media (max-width: 550px) {
    .responsive-show-when-max-width-550 {
        display: none;
    }

    /*The materialize tooltip's class (as of Version 0.100.2) is called material-tooltip. The following will hide the tooltip below a width of 550px (our definition of a mobile device)
        TODO: Mobile device isn't just 550px though. Make this more generic.
    */ 
    .material-tooltip {
        display: none !important;
    }

    #toast-container {
        left: 0% !important;
    }
}

@media (max-width: 550px) {
    .responsive-set-width-to-mobile-width {
        width: 100% !important;
    }

    .responsive-set-position-and-width-to-mobile-width {
        width: 100% !important;
        left: 0px !important;
    }

    .responsive-hide-below-550px {
        display: none !important; /*TODO*/
    }

    .responsive-set-width-to-mobile-width-max-font-size {
        font-size: 20px !important;
    }

    .responsive-hide-below-mobile-width {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .responsive-hide-below-992px-width {
        display: none !important;
    }
}

/*@media (max-height: 780px) {
    #IncidenceClassificationFilteringDiv {
        overflow:inherit !important;
    }
}*/

#CompanyLogoImage {
    /*max-width: 100%;
    height: auto;
    width:95%;*/
    width: auto;
    height: auto;
    max-height: 123px;
    max-width: 90%;
}

/*CSS for making box be flexible in order for row.content to take rest of the space - https://stackoverflow.com/questions/90178/make-a-div-fill-the-height-of-the-remaining-screen-space*/
/*This is being used in index.cshtml for Side bar navigation (ID slide-out) so that the Davista logo is fixed and does not slide.*/
.box {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.box .row {
  border: 1px dotted grey;
}

.box .row.header {
  flex: 0 1 auto;
  /* The above is shorthand for:
  flex-grow: 0,
  flex-shrink: 1,
  flex-basis: auto
  */
}

.box .row.content {
  flex: 1 1 auto;
}

.box .row.footer {
  flex: 0 1 40px;
}

.backgroundRed {
    background: #F00;
}

.backgroundRedAnimate {
    /*background-color: red;*/
    -webkit-transition: background 0.5s ease-in-out;
    -ms-transition: background 0.5s ease-in-out;
    transition: background 0.5s ease-in-out;
}

/*.sparkline {
    fill: none;
    stroke: #000;
    stroke-width: 0.5px;
}*/

/*Override Materialize.toast so that it gets displayed on the left side of the screen. */
/*Also see the media max-width query above that over-rides the left to 0%*/
#toast-container {
    top: auto !important;
    right: auto !important;
    bottom: 3%;
    left: 5%;
}

/*Note that 768px is when the bootstrap navbar collapses and shows the menu button*/
@media (max-width: 768px) {
    .hide-on-mobile-navbar {
        display: none !important;
    }
    /*.clock-in-timer-class {
        right: 30% !important;
    }*/
}
@media (min-width: 768px) {
    .show-only-on-mobile-navbar {
        display: none !important;
    }
}