html, body {
  height: 100%;
  font-size: 15px;/*to override bootstrap default of 10*/
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.42857143;
  color: #333;
  background-color: #fff;
  margin: 0;
}

*{
    box-sizing: border-box;
}

img {
    vertical-align: middle;
}

label{
    font-weight: bold;
}

h1,h2,h3,h4,h5,h6{
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-weight: 500;
    line-height: 1.1;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {
    font-weight: normal;
    line-height: 1;
    color: #789;
    font-size: 65%;
}

h2, .h2 {font-size: 2em;}
h3, .h3 {font-size: 1.6em;}

a{
    text-decoration: none;
}

.fa {
    font-size: 160%;
}

.fa-small {
    font-size: 125%;
}

.text-right{
    text-align: right;
}

.thSorting{
    margin-right: 0.2em;
}
.thHead{
    margin-left: -0.4em;
}

.mcActionButton{
    margin-top: -5px;
    margin-bottom: -5px;
}

.vertical-center {
  min-height: 100%;  /* Fallback for vh unit */
  min-height: 100vh; /* You might also want to use
                        'height' property instead.

                        Note that for percentage values of
                        'height' or 'min-height' properties,
                        the 'height' of the parent element
                        should be specified explicitly.

                        In this case the parent of '.vertical-center'
                        is the <body> element */

  /* Make it a flex container */
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  /* Align the bootstrap's container vertically */
    -webkit-box-align : center;
  -webkit-align-items : center;
       -moz-box-align : center;
       -ms-flex-align : center;
          align-items : center;

  /* In legacy web browsers such as Firefox 9
     we need to specify the width of the flex container */
  width: 100%;

  /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
     hence the bootstrap's container won't be aligned to the center anymore.

     Therefore, we should use the following declarations to get it centered again */
         -webkit-box-pack : center;
            -moz-box-pack : center;
            -ms-flex-pack : center;
  -webkit-justify-content : center;
          justify-content : center;
}
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}

.flex-col{
    height: 100%;
    display:flex;
    flex-direction: column;
}

#mainbar{
    display: inline;
}
.mainbarElement{
    line-height: 60px;
    float:left;
    color: white;
}

a.mainbarElement:hover, a.mainbarElement:active{
    color: rgb(214, 240, 252)
}

a.mainbarElement:link, a.mainbarElement:visited{
    color: rgb(214, 240, 252)
}

.blackDrop
{
    /*background-color: rgba(0,0,0,0.5);*/
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.55) 0%,rgba(0, 0, 0, 0.98)  100%);
	animation-name: fadein;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    text-align: center;
    height: 100vh;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
}

.logoLogin
{
    width: 20em;
    margin: 1.7em;
    padding-top: 3em;
    padding-bottom: 5em;
}
#Login_Form{
    position: absolute;
    left: calc(50vw - 175px);
    top: calc(50vh - 250px );
    height: 500px;
    width: 350px;

}

#loginBack
{
    padding: 0px;
    background-color: black;
    background-repeat: no-repeat;
    background-image: url(imgs/login_splash.jpg);
    background-size: cover;
    height: 100vh;
    filter: blur(5px);
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes appear {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

.image
{
  width: 90%;
  margin: 11px;
}

.menuHeader
{
    height: 50px;
    /*width: 200px;*/
    margin: 5px;
}

.menuFooter
{
    height: 50px;
    width: 220px;
    margin: 12px;
}

.infoLogos{
    height: 5em;
    margin-top: 1em;
    margin-bottom: 1em;
    /*margin: 15px;*/
}

.appHeader
{
    float:left;
    height: 55px;
    /*margin-left: 3em;*/
}

#app{
  display: block;
  height: inherit;
}

@media (max-width: 992px) {
    #flexyContent
    {
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding-left: 2px;
        padding-right: 2px;
    }
}
@media (min-width: 992px) {
    #flexyContent
    {
        height: inherit;
        overflow-y: hidden;
        overflow-x: hidden;
        padding-left: 2px;
        padding-right: 2px;
    }
}

#contentDiv
{
  animation-name: fadein;
  animation-duration: 0.5s;
  animation-timing-function: ease-in;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-right: 0.5em;
  padding-left: 0.5em;
  height: calc(100vh - 135px);
}

#buttonBar
{
    background: rgba(225,225,225,0.9);
    height: 75px;
    padding-top: 10px;
    padding-right: 1em;
    text-align: right;
}

.fill {
    height: inherit;
    transition: margin 600ms;
    /*margin-bottom: -75px;*/
}

.inheritWidth {
    width: inherit;
}

.actionButton{
    animation-name: fadein;
    animation-duration: 300ms;
    /*transition: fadein 250ms;*/
}
.vertical-align
{
    display: flex;
    align-items: center;
}

.fill-center
{
    width: 100%;
    text-align: center;
}

.vertical-align-bottom
{
    display: flex;
    align-items: flex-end;
}

.inliner-grid{
    display: grid;
    flex-direction: row;
    align-items: center;
}

.inliner{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.incolumn{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inliner-space{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.inliner-between{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.right-padder{
    padding-right: 1em;
}

.hright-padder{
    padding-right: 0.5em;
}

#landingPage
{
  margin-top: 25px;
  margin-bottom: -75px;
  padding: 0px;
  /*background-color: white;*/
  background-repeat: no-repeat;
  background-image: url(imgs/Welcome.png);
  background-size: contain;
  background-position: center;
}

.footer {
  padding-top:10px;
  padding-left: 10px;
  padding-right: 20px;
  text-align: right;
  height: 75px;
  margin-top: -60px;
  width:100%;
  float: right;
}

.menuWidth{
    width: 280px;
}

#loader{
  position: fixed;
  z-index: 999;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  padding-top: 25%;
  /*padding-left: 300px;*/
}

.row-eq-height{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.scroller{
    width: 100%;
    height: 100%;
    overflow: scroll;
}

.tableScroller{
    overflow-y: auto;
    overflow-x: none;
	height: inherit;
}

/*.scrollShadow{
    background:
    linear-gradient(white 10%, rgba(255,255,255,0)),
    linear-gradient(rgba(255,255,255,0), white 90%) 0 100%,
    -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0,0,0,.3)), to( rgba(0,0,0,0))),
    -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0,0,0,0)), to(rgba(0,0,0,.3))) 0 100%;
	background-repeat: no-repeat;
	background-color: white;
	background-size: 100% 10px, 100% 10px, 100% 5px, 100% 5px;
	background-attachment: local, local, scroll, scroll;
}*/

.bold{
    font-weight: 600;
}

.underline{
    text-decoration: underline;
}

.italic{
    font-style: italic;
}

.error-message{
    font-size: 1.7em;
    color: red;
    padding-top: 2em;
    padding-left:2em;
}

.svg-shadow{
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,.3) );
}

.table-row:hover{
    background: rgba(0, 0, 255, 0.02)
}

.table-cell{
        padding-left: 1em;
        padding-right: 1em;
        font-size: 0.85rem;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
}

.ellipsis{
    text-overflow: ellipsis;
    overflow:hidden
}

.title-bc{
    white-space: nowrap;
    display: inline-flex;
    display: block;
    overflow: visible;
}

.snack-error{
    background-color: #C62828;
    color: white;
}

.snack-warn{
    background-color: #FFA726;
    color: black;
}

@keyframes anim-rotate {
	0% {
		transform: rotate(0);
	}
	100% {
		transform: rotate(360deg);
	}
}
.loding-spinner {
    display: inline-block;
	font-size: 25vh;
	height: 1em;
	line-height: 1;
	margin: .5em;
    color: rgb(96, 125, 139);
}

.menuPadding{
    padding: 0 0 0 0.5rem;
}

.selectedList{
    background-color: rgba(84, 110, 122, 0.4);
    border-radius: 10px 25px 25px 10px;
}

.infoLinks{
    font-size: small;
    color: lightsteelblue;
}

.slimInput{
    margin-top: -1em;
}

.softShadow{
    filter: drop-shadow(3px 3px 3px hsla(0, 0%, 15%, .33));
}

.paperOverFlowFix{
    overflow: hidden;
}

.tableShadow{
    
    box-shadow: 2px 5px 5px -3px rgba(0,0,0,0.05);
    box-shadow: 0 8px 10px -10px rgba(0,0,0,0.15)
}

.grantsList{
    padding-top: 0px;
    padding-bottom: 0px;
    font-weight: normal;
}

/*Loader*/
.tload4 .tloader {
    color: #607d8b;
    font-size: 0.3em;
    margin: 4em auto;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load4 1.3s infinite linear;
    animation: load4 1.3s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
  }
.load4 .loader {
    color: #607d8b;
    font-size: 2.5vh;
    /*margin: 100px auto;*/
    margin-top: 45vh;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load4 1.3s infinite linear;
    animation: load4 1.3s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
  }

.inner-select{
    padding-bottom: 0.11em;
}

.notificationBadge{
    top: -4px;
    right: 0px;
    z-index: 1;
}

.link {
    cursor: pointer;
}

.timePick {
    width: 5em;
    padding-top: 15px;
}

.deselectedButton{
    margin: 1em;
    text-transform: none;
    zoom: 85%;
    box-shadow: none;
  }
  
  .selectedButton{
    margin: 0.75em;
    text-transform: none;
  }

  .selectButtonBox{
    width: 3.5em;
    height: 3.5em;
  }

  @-webkit-keyframes load4 {
    0%,
    100% {
      box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }
    12.5% {
      box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }
    25% {
      box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }
    37.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    50% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    62.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }
    75% {
      box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }
    87.5% {
      box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
  }
  @keyframes load4 {
    0%,
    100% {
      box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }
    12.5% {
      box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }
    25% {
      box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }
    37.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    50% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    62.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }
    75% {
      box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }
    87.5% {
      box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
  }
