@import url('https://fonts.googleapis.com/css?family=Ubuntu:400,400i,500,700&display=swap');
/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  font-family: 'Ubuntu', sans-serif;
  background-color: #F7F7FA;
  color: #4D586D;
  line-height: 1.2;
}

a {
  color: #D94D3D;
}

img {
  max-width: 100%;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1rem;
}

.ellipsis {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.icon {
  display: inline-block;
}

.icon img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

.btn {
  color: inherit !important;
}

.btn .icon {
  margin-right: 5px;
}

.go-to-top {
  color: #D94D3D;
}

.go-to-top:hover {
  color: #D94D3D;
}

.go-to-top .icon {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}

.wrapper {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

.avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.avatar-image img {
  width: 128px;
}

.content-bg {
  background-image: url(../img/banner_img.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: auto 500px;
  padding-top: 64px !important;
}

.mw-75 {
  max-width: 75%;
}

.font-weight-medium {
  font-weight: 500;
}

h4.font-weight-medium {
  font-size: 1.5rem;
}

h1.title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.bg-dark {
  background-color: #4D586D !important;
}

.bg-red {
  background-color: #D94D3D !important;
}

.bg-grey {
  background-color: #E6E7EC !important;
}

.btn.bg-dark {
  color: #ffffff !important;
}

.btn.bg-red {
  color: #ffffff !important;
}

.btn.bg-grey {
  color: #4D586D !important;
}

.btn.text-red {
  color: #D94D3D !important;
}

.btn.border-dark {
  border-color: #4D586D !important;
  color: #4D586D !important;
}

.breadcrumb {
  background-color: transparent;
  padding: 0.5rem 0;
  margin: 10px 0 0 0;
  border-radius: 0;
}

.breadcrumb a {
  color: #4D586D;
}

.breadcrumb .breadcrumb-item.active {
  text-decoration: underline;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "-";
}

.breadcrumb-item:first-child+.breadcrumb-item::before {
  display: none;
}

.breadcrumb .icon {
  width: 14px;
}

.form ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgba(77, 88, 109, 0.3);
}

.form ::-moz-placeholder { /* Firefox 19+ */
  color: rgba(77, 88, 109, 0.3);
}

.form :-ms-input-placeholder { /* IE 10+ */
  color: rgba(77, 88, 109, 0.3);
}

.form :-moz-placeholder { /* Firefox 18- */
  color: rgba(77, 88, 109, 0.3);
}

.form-check-input {
  margin-top: .1rem;
}

.navbar-toggler .icon {
  width: 32px;
  margin: 0 !important;
}

.modal {

}

#date-range-selector .modal-dialog {
  max-width: 520px;
}

.modal-content {
  border-radius: 12px;
  padding: 1rem;
}

.modal-header,
.modal-footer {
  border: none;
  -ms-flex-pack: center;
  justify-content: center;
}

.collapse-btn.active {
  background-color: #4D586D !important;
  color: #ffffff !important;
}

#header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-image: url(../img/banner_img.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: auto 500px;
  z-index: 10000;
}

#header .main {
  padding: 0.75rem 1rem;
  position: static;
}

#header a {
  color: #ffffff;
}

#header .navbar a.nav-link {
  font-weight: 500;
  padding: 0.5rem 2rem;
  border-radius: 5px;
}

#header .navbar a.nav-link.active,
#header .navbar a.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

#header .icon {
  margin-right: 5px;
}

#header .avatar {
  width: 38px;
  height: 38px;
  padding: 8px;
  display: inline-block;
  margin-left: 10px;
  text-align: center;
  font-size: 20px;
  line-height: 1;
}

.sub {
  border-bottom: 2px solid #E6E7EC;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.sub .navbar-nav .nav-item .nav-link {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  position: relative;
  color: #B6B7BC;
  font-weight: bold;
}

.sub .navbar-nav .nav-item .nav-link:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
  -ms-transition: border-color 0.3s;
}

.sub .navbar-nav .nav-item .nav-link:hover,
.sub .navbar-nav .nav-item .nav-link.active {
  color: #D94D3D !important;
}

.sub .navbar-nav .nav-item .nav-link:hover:after,
.sub .navbar-nav .nav-item .nav-link.active:after {
  border-color: #D94D3D;
}

#mainNav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0;
  max-height: calc(100vh - 63px);
  background-image: url(../img/banner_img.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 437px;
  margin-top: 1px;
  overflow: hidden;
  transition: height 0.8s;
  -webkit-transition: height 0.8s;
}

#mainNav.shown {
  height: 437px;
}

.main-content {
  padding: 2.5rem;
  background-color: #ffffff;
  min-height: 500px;
  border-radius: 5px;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(18,51,93,0.1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(18,51,93,0.1);
  box-shadow: 0px 0px 10px 0px rgba(18,51,93,0.1);
}

.list,
.calendar {
  border-top: 2px solid #4D586D;
  font-size: 0.875rem;
}

.list .list {
  border: none;
}

.list .list-head {
  text-transform: uppercase;
  font-weight: bold;
  display: none;
}

.list .list-head .sort {
    cursor: pointer;
}

.list .list-head .sort-bt {
    width: 10px;
    height: 16px;
    margin-left: 5px;
    cursor: pointer;
}

.list .row {
  margin: 0;
  -ms-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
}

.list .col {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.list .list-body > .row {
  -ms-flex-align: center !important;
  align-items: center !important;
}

.list .list-body > .row:nth-of-type(odd) {
  background-color: #E6E7EC;
}

.list .list-body .list .list-body > .row {
  background-color: transparent !important;
  border-top: 1px solid #E6E7EC;
}

.list .list-body > .row.active {
  background-color: #D94D3D;
  color: #ffffff;
}

.list .list .list-body > .row.active {
  background-color: transparent !important;
  color: inherit !important;
}

.list .col {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.list .detail {
  width: 100%;
  background-color: #ffffff;
  color: #4D586D;
  height: 0;
  transition: height 0.3s;
  -ms-transition: height 0.3s;
  overflow: hidden;
  border: 1px solid #D94D3D;
  border-top: 0;
  border-bottom-width: 0;
}

.list .detail-wrapper {
  padding: 15px 0;
}

.list .detail-wrapper .member-logo img {
  height: 100px;
}

.list .list-body > .row.active .detail {
  border-color: #D94D3D;
  border-bottom-width: 1px;
}

.list .detail .email {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.list .hidden-label {
  font-weight: bold;
  text-transform: uppercase;
  display: block;
  vertical-align: middle;
  margin: 0 5px 0 0;
}

.list .value {
  display: inline-block;
  vertical-align: middle;
}

.form input[type=submit] {
  background-color: #4D586D;
  color: #ffffff;
}

.expand-all:before {
  content: "Expand ";
}

.expand-all.expanded:before {
  content: "Collapse ";
}

.expand {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #D94D3D;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s;
  -ms-transition: border-color 0.3s;
}

.expand:before,
.expand:after {
  content: "";
  width: 7px;
  height: 0;
  border-top: 1px solid #D94D3D;
  border-color: inherit;
  display: block;
  margin-left: -4px;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 0.3s;
  -ms-transition: -ms-transform 0.3s;
}

.expand:before {
  transform: translate(-2px, 0) rotate(45deg);
  -ms-transform: translate(-2px, 0) rotate(45deg);
}

.expand:after {
  transform: translate(3px, 0) rotate(-45deg);
  -ms-transform: translate(3px, 0) rotate(-45deg);
}

.list .list-body > .row.active .expand {
  border-color: #ffffff;
}

.list .list-body > .row.active .expand:before {
  transform: translate(-2px, 0) rotate(-45deg);
  -ms-transform: translate(-2px, 0) rotate(-45deg);
}

.list .list-body > .row.active .expand:after {
  transform: translate(3px, 0) rotate(45deg);
  -ms-transform: translate(3px, 0) rotate(45deg);
}

.form {
  position: relative;
}

.form .section {
  width: 100%;
  box-sizing: content-box;
  padding: 1.25rem 2.5rem;
  margin-top: 1.25rem;
  margin-left: -2.5rem;
  border-top: 1px solid rgba(18, 51, 93, 0.1);
}

.form .section h2 {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.form .section:not(.no-mx) .form-group {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form .company-logo-placeholder {
  background-color: #F3F3F6;
  background-image: url(../img/company_image_placeholder_icon.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 40%;
  width: 100%;
  min-height: 100px;
}

.form .upload-button {
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 1rem;
}

.form .upload .avatar {
  width: 100%;
  padding-top: 100%;
  background-color: #F3F3F6;
  background-image: url(../img/photo_placeholder_icon.svg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: auto 40%;
  position: relative;
}

.form .upload .avatar img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.calendar-control .btn .icon {
  width: 8px;
  height: 13px;
  margin: 0 2px;
}

.calendar .month {
  display: none;
}

.calendar .month.active {
  display: block;   
}

.calendar .month > .row {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.calendar .btn {
  font-size: inherit !important;
}

.calendar .date {
  line-height: 1;
  height: 100%;
  position: relative;
  padding-left: 15px;
}

.calendar .date:before {
  content: "";
  width: 3px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.calendar .month > .row:nth-child(4n) .date:before {
  background-color: #97C7FE;
}

.calendar .month > .row:nth-child(4n+1) .date:before {
  background-color: #7CF2C6;
}

.calendar .month > .row:nth-child(4n+2) .date:before {
  background-color: #979AFE;
}

.calendar .month > .row:nth-child(4n+3) .date:before {
  background-color: #F6E8A1;
}

.calendar .date .bigger {
  font-size: 1.45rem;
  font-weight: bold;
  display: block;
}

.login {
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
}

.login .form-control {
  border-color: #495057;
}

.form .lead {
  padding: 2rem 1.5rem 1rem;
}

.form .lead:nth-child(even) {
  background-color: rgba(240, 240, 243, 0.6);
}

#footer {
  font-size: 12px;
  margin-top: 1rem;
}

#footer a {
  color: #4D586D;
}

 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media (min-width: 992px) {
  #mainNav {
    position: relative;
    top: inherit;
    background: none;
    height: auto !important;
  }
}

@media (min-width: 768px) {
  .form .submit-button {
    position: absolute;
    top: 1.25rem;
    right: 0;
  }

  .breadcrumb {
    padding: 0.5rem 10px;
    margin: 0 0 0 10px;
    border-left: 1px solid rgba(18, 51, 93, 0.1);
  }

  .list .list-head {
    display: block;
  }

  .list .hidden-label {
    display: none;
  }

  .list:not(.no-hover) .list-body > .row:hover {
    background-color: #D94D3D;
    color: #ffffff;
  }

  .list .list .list-body > .row:hover {
    background-color: transparent !important;
    color: inherit !important;
  }

  .list .list-body > .row:hover .expand {
    border-color: #ffffff;
  }

  .w-md-auto {
    width: auto !important;
  }
}

@media (max-width: 768px) {
  .mw-75 {
    max-width: inherit;
  }

  .logo {
    width: 120px;
  }

  .list .col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }
}

@media (min-width: 576px) {
  .border-sm-0 {
    border: 0 !important;
  }
}

@media (max-width: 576px) {
  .main-content {
    padding: 1.25rem;
  }

  .form .section {
    padding: 1.25rem 1.75rem;
    margin-left: -1.75rem;
  }

  .form .upload .avatar {
    width: 120px;
    height: 120px;
    padding: 0;
    margin: 0 auto;
  }

  .list .hidden-label,
  .list .value {
    display: block;
    width: auto;
    max-width: initial;
    margin: 0;
  }

  .list .hidden-label {
    margin-bottom: 5px;
  }
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


