/* custom toast for email sent confirmation - responsive to window width */
.message {
  /*background: rgba(66, 66, 66, .7);*/
  /*background: #BDBDBD;*/
  border-radius: 5px 5px 5px 5px;
  background: #43A047;
  color: rgb(255,255,255);
  position: fixed;
  top: -50px;
  z-index: 999;
  width: 20%;
  margin-left: 40%;
  height: 50px;
  text-align: center;
  transition: top 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
  overflow: hidden;
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  .message {
    /*width: 100%;*/
    /*margin: 0 5px 0 5px;*/
    /*left: 8px;*/
    /*right: 8px;*/
    margin-left: 25px;
    /*border-radius: 0;*/
  }
}

@media screen and (max-width: 950px) and (min-width: 601px) {
  .message {
    width: 50%;
    margin-left: 25%;
  }
}
/* end */

input[type='text'],
input[type='number'],
textarea {
  font-size: 16px;
}

#pdf-button {
  margin: 11px 0px 6px 0px;
  /*font-size: 12px;*/
  padding: 0px 7px 0px 0px;
  background-color: rgba(0, 0, 0, 0) !important;
}

/*@media(max-width : 960px){*/
  /*md-toast{*/
  /*position: fixed;*/
  /*top: 0;*/
  /*}*/
/*}*/

#data-length {
  padding-left: 5px;
  font-size: 15px;
}

#no-results {
  text-align: center;
  margin-top: 100px;
  color: #1D3446;
}

#no-data {
  text-align: center;
  margin-top: 100px;
  color: #1D3446;
  font-weight: 700;
  font-size: 22px;
}

@media screen and (max-width: 600px) {
  #no-data {
    font-size: 18px;
  }
}

/* for opaque header while scrolling down page */
.header-company-info {
  font-size: 16px;
  display: none;
  margin-right: 5px;
}

.logo {
  display: none;
  height: 65%;
  padding: 0;
}

@media screen and (max-width: 600px) {
  .header-company-info {
    font-size: 12px !important;
  }
  .logo {
    margin-top: 2px !important;
  }
}

.opaque-header {
  opacity: .85;
}
/* end */

/* social media and email fab buttons */
.fa-twitter,
.fa-facebook,
.fa-linkedin,
.fa-envelope {
  padding: 15px;
  font-size: 16px;
  width: 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

.fa:hover {
  opacity: 0.7;
}

.fa-envelope {
  cursor: pointer;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
  margin-left: 10px;
}

.fa-envelope {
  background: #2196F3;
  color: white;
  margin-left: 10px;
}

.fa-linkedin {
  background: #007bb6;
  color: white;
  margin-left: 10px;
}

@media screen and (max-width: 391px) {
  .fa-facebook,
  .fa-twitter,
  .fa-linkedin,
  .fa-envelope {
    margin-left: 0 !important;
    margin-bottom: 10px !important;
  }
  md-tooltip {
    display: none;
  }
}
/* end */

@media screen and (max-width: 500px) {
  /*md-tooltip {*/
    /*height: 30px;*/
    /*width: 90px;*/
    /*font-size: 12px;*/
  /*}*/
}

#closeButton {
  z-index: 2;
  position: relative;
}

.headerWrapper {
  position: fixed;
  -ms-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  width: 100%;
  z-index: 1;
  -webkit-transform: translateZ(0);
}

.scroll-show {
  overflow-x: hidden !important;
}

#topper {
  margin-top: 63px;
}

#card {
  margin-top: 0;
}

#card2 {
  margin-left: 1px;
}

/* for IE responsiveness */
#card1,
#card2 {
  min-height: 100px
}
/* end */

#company {
  margin-left: 7px;
  padding-left: 2px;
  font-size: 12px;
  color: white;
  display: inline-block;
}

.information {
  height: 100px;
  /*background-color: rgba(27,94,32, .7);*/
  /*background-color: #00695C;*/
  /*background-color: rgba(191,54,12, .95);*/
  background-color: #BF360C;
  /*background-color: #D84315;*/
  display: inline-block;
}

@media screen and (max-width: 599px){
  #card2 {
    margin-left: 8px;
    margin-top: 0;
  }
}

body {
  background: #ffffff;
  color: #000000;
  font-family: 'Roboto', sans-serif;
}

#footer-logo {
  vertical-align: middle;
  padding: 0px 0px 54px 5px;
  height: 70px;
  width: 80px;
  /*height: 50%;*/
  /*width: 3.5%;*/
  min-width: 60px;
}

#contact {
  padding-left: 2px;
  font-size: 12px;
  color: white;
  display: inline-block;
}

@media screen and (max-width: 693px) and (min-width: 600px){
  #footer-logo {
    display: none;
  }
}

@media screen and (max-width: 693px) {
  #contact {
    margin-left: 7px;
    margin-top: 0;
  }
}

#fax {
  display: inline-block; margin-top: 0; margin-left: 5px;
}

#phone {
  display: inline-block;
  margin-top: 0;
  margin-bottom: 0;
}

#company-name {
  height: 25px;
}

@media screen and (max-width: 276px) {
  #fax {
    margin-left: 0;
    display: block;
  }
  .fa-caret-down {
    margin-left: 5px !important;
  }
}

md-progress-circular {
  margin: 0 auto;
}

.company-info {
  margin-top: 0;
  margin-bottom: 0;
}

#company-city {
  width: 0;
}

#progress {
  margin-top: 100px;
}

.fa-caret-down {
  margin-left: 10px;
}

#customer-menu {
  display: block;
}

#company-button {
  font-size: 12px;
  margin-top: 0;
  margin-left: 4px;
  color: white;
}

@media screen and (max-width: 400px) {
  #company-button {
    font-size: 11px;
  }
}

@media screen and (max-width: 368px){
  #footer-logo {
    display: none;
  }
}

@media screen and (max-width: 599px){
  #footer-logo {
    margin: 0px 0px 55px 5px;
    padding: 0;
  }
}

.container {
  float: left;
  width: 100%;
  overflow: hidden;
  transition: all .5s;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: rgba(191,54,12, .95);
  color: white;
  cursor: pointer;
  padding: 15px;
  -webkit-transform: translateZ(0);
}

#close, #find {
  cursor: pointer;
  color: rgba(0, 0, 0, .54);
  outline: none;
}

#find-two {
  cursor: pointer;
  color: rgba(0, 0, 0, .54);
  outline: none;
}

#pdf-icon {
  color: #F44336;
}

.fa-search:before {
  font-size: 18px;
}

#grid-header, #search-header {
  #margin: 32px 32px 0px 32px;
  background-color: #E0E0E0;
  padding: 0 18px 6px 18px;
  width: auto;
}

#findTable {
  background-color: #E0E0E0;
}

#search {
  border: none;
  background-color: #E0E0E0;
  outline: none;
  width: 100%;
  font-size: 100%;
  padding-left: 9px;
}

.md-button.md-fab {
  line-height: 0;
}

#myBtn:hover {
  background-color: #555;
}

.md-toolbar-tools {
  background-color: #1D3446;
  padding-right: 9px;
}

.md-button.md-fab {
  background-color: #BDBDBD;
  /*background-color: rgb(191,54,12);*/
}

.md-button.md-fab:hover {
  background-color: #616161 !important;
}

.fa-mail-reply {
  /*color: white;*/
  color: #1D3446;
}

/* transitions for search div fade in/out and column menu button for grid */
.fade.ng-enter {
  -webkit-transition: opacity ease-in-out 1s;
  -moz-transition: opacity ease-in-out 1s;
  -ms-transition: opacity ease-in-out 1s;
  -o-transition: opacity ease-in-out 1s;
  transition: opacity ease-in-out 1s;
}

.fade.ng-enter,
.fade.ng-leave.ng-leave-active {
  opacity: 0;
}

.fade.ng-leave,
.fade.ng-enter.ng-enter-active {
  opacity: 1;
}

.ng-hide-remove{
	-webkit-transition: all 1000ms ease;
	-moz-transition: all 1000ms ease;
	-ms-transition: all 1000ms ease;
	-o-transition: all 1000ms ease;
	transition: all 1000ms ease;
	opacity: 0;
  -webkit-backface-visibility:hidden;
  -moz-backface-visibility:hidden;
  -webkit-translateZ(0);
  -webkit-font-smoothing: antialiased;
}

.ng-hide-remove-active {
	opacity: 1;
}

.ng-hide-add {
  transition: all 0s ease;
  opacity: 0;
}

.ng-enter {
  /*-webkit-transition: all .137s ease;*/
  overflow: hidden;
  opacity: 0;
}

.ng-leave {
  opacity: 0;
  overflow: hidden;
}
/* end */

/* for email dialog */
#email-header{
  background-color: rgb(69,90,100);
  color: rgb(255,255,255);
  font-size: 14px;
  padding-left: 10px;
}

#close-email {
  color: rgb(255,255,255);
  cursor: pointer;
  outline: none;
  font-size: 18px;
  -moz-transition: all .2s linear;
  -webkit-transition: all .2s linear;
  transition: all .2s linear;
}

#close-email:hover{
  -moz-transform:rotate(90deg);
  -webkit-transform:rotate(90deg);
  transform:rotate(90deg);
}

.email-dialog {
  height: 50%;
  width: 33%;
  overflow: hidden;
}

@media screen and (max-width: 600px) {
  .email-dialog {
    width: 80%;
  }
}

@media screen and (min-width: 601px) and (max-width: 850px) {
  .email-dialog {
    width: 75%;
  }
}

@media screen and (min-width: 851px) and (max-width: 1000px) {
  .email-dialog {
    width: 70%;
  }
}

@media screen and (min-width: 1001px) and (max-width: 1400px) {
  .email-dialog {
    width: 50%;
  }
}

#email_form {
  overflow-x: hidden;
  height: 100%;
}

md-input-container {
  margin-bottom: 5px !important;
  padding-left: 8px;
  padding-right: 8px;
}

#message {
  height: 100%;
  margin-top: 5px;
}

@media screen and (max-height: 650px) {
  #message {
    margin-top: 13px;
  }
}

@media screen and (max-height: 460px) {
  #message {
    margin-top: 16px;
  }
}

@media screen and (max-height: 360px) {
  #message {
    margin-top: 19px;
  }
}

textarea {
  resize: none;
  border: none;
  outline: none;
  margin: 0 8px 0 8px;
}

#title {
  width: 100%;
  box-sizing: border-box !important;
  font-weight: 600;
  font-size: 16px;
}

md-input-container.md-input-invalid #email-label {
  color: red !important;
}

#email-label {
  color: black !important;
}
/* end */

/* for pdf dialog */
#pdfModal {
  overflow: visible;
  bottom: 50px;
}

#pdf-header {
  background-color: #4C4C4C;
  color: rgb(255,255,255);
}

#close-pdf {
  cursor: pointer;
  outline: none;
  color: rgb(255,255,255);
  margin-left: 28px;
  /*-moz-transition: all .2s linear;*/
  /*-webkit-transition: all .2s linear;*/
  /*transition: all .2s linear;*/
}

#close-pdf:hover {
  /*-moz-transform:rotate(90deg);*/
  /*-webkit-transform:rotate(90deg);*/
  /*transform:rotate(90deg);*/
}

.some-pdf-container {
  height: calc(100vh * .85);
  width: 800px;
}

@media screen and (max-width: 1017px) {
  .some-pdf-container {
    width: 600px;
  }
}

@media screen and (max-width: 800px) {
  .some-pdf-container {
    height: calc(100vh * .8);
    width: calc(100vw * .96);
  }
  #mode {
    width: calc(100vw * .96);
  }
  #pdf-header {
    width: calc(100vw * .96);
  }
}

@media screen and (max-width: 700px) {
  .some-pdf-container {
    height: calc(100vh * .8);
    width: calc(100vw * .96);
  }
  #mode {
    width: calc(100vw * .96);
  }
  #pdf-header {
    width: calc(100vw * .96);
  }
}
/* end */

/*.pdfjs #errorWrapper {*/
  /*display: none;*/
/*}*/

