/*!
 * Start Bootstrap - Coming Soon v5.0.6 (https://startbootstrap.com/template-overviews/coming-soon)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-coming-soon/blob/master/LICENSE)
 */

/* Top right menu */
#profileMenu .dropdown-item {
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 10pt;
}
#profileMenu .dropdown-item:hover {
    background-color: #c7c5c5;
}

#mnuCurrentBranch:hover {
    background-color: white;
}

#BranchGrid th {
    color: darkslategray;
    padding-bottom: 2px;
    padding-top: 2px;
    font-size: 10pt;
    border-top: none;
}
#BranchGrid td {
    color: darkslategray;
    padding-bottom: 4px;
    padding-top: 4px;
    font-size: 10pt;
    vertical-align: middle;
}
/*  This changes the Messaging.DisplayMessage() to break and wrap messages mid-word if needed.  Some of the Cache messages 
    were very long sentences with no spacing and would go outside of the messagebox; this fixes that issue.
*/
#infoMessage1 {
    -ms-word-break: break-all;
    /* Be VERY careful with this, breaks normal words wh_erever */
    word-break: break-all;
    /* Non standard for webkit */
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.ePass_api-message {
    color: darkslategray;
    font-size: 12px;
}
.ePass_api-input {
    padding-top: 2px;
    font-size: 14px;
}
@media (min-width: 486px) {
    .ePass_api-input {
        /* border: none;
        border-collapse: collapse;
        background-color: transparent;
        color: black;
        border: solid !important;
        border-width: 1px !important;
        border-color: gray !important;
        min-width: 360px;*/
        border-width: 1px !important;
        overflow: hidden;
        margin-top: 5px;
        margin-bottom: 5px;
        padding-left: 10px;
        padding-right: 10px;
        background-color: #ecf0f1;
        height: 80px;
        min-width: 360px;
        color: #95a5a6;
        transition: all 0.8s ease-in-out;
        -webkit-transition: all 0.8s ease-in-out;
        -moz-transition: all 0.8s ease-in-out;
        border-color: #808080; /* new */
    }
        .ePass_api-input:focus {
            outline: none;
        }
}

@media(max-width:485px) {
    .ePass_api-input {
        border: none;
        border-collapse: collapse;
        background-color: transparent;
        color: black;
        border-bottom: solid !important;
        border-bottom-width: 1px !important;
        border-bottom-color: darkslategray !important;
        min-width: 125px;
        max-width: 125px;
    }
        .ePass_api-input:focus {
            outline: none;
        }
}



.btn-xs, .btn-group-xs > .btn {
    padding: 0.25rem 0.35rem;
    font-size: 0.65rem;
    line-height: 1.5;
    border-radius: 0.1rem;
}

.k-i-sort-asc-sm, .k-i-sort-desc-sm {
    color: white !important;
}

html {
    height: 100%;
}

body {
  height: 100%;
  min-height: 35rem;
  position: relative;
  font-family: 'Source Sans Pro';
  font-weight: 300;
}

h1,
h2,
h3,
h4,h5,
h6 {
  font-family: 'Merriweather';
  font-weight: 700;
}

video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
}

@media (pointer: coarse) and (hover: none) {
  body {
    /*background: url("../img/bg-mobile-fallback.jpg") no-repeat center center scroll;
    background-position: cover;*/
  }
  body video {
    display: none;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #cd9557;
  opacity: 0.7;
  z-index: 1;
}

.masthead {
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
  z-index: 2;

  
  height: 110%;
}

.masthead .masthead-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: 35rem;
  height: 100%;
  background-color: rgba(0, 46, 102, 0.8);
  -webkit-transform: skewY(4deg);
  transform: skewY(4deg);
  -webkit-transform-origin: bottom right;
  transform-origin: bottom right;
}

.masthead .masthead-content h1 {
  font-size: 2.5rem;
}

.masthead .masthead-content p {
  font-size: 1.2rem;
}

.masthead .masthead-content p strong {
  font-weight: 700;
}

.masthead .masthead-content .input-group-newsletter input {
  height: auto;
  font-size: 1rem;
  padding: 1rem;
  margin-bottom: 7px;
}

.masthead .masthead-content .input-group-newsletter button {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem;
}
@media (max-width: 990px){
    #mnuUserName {
        display: none;
    }
}
@media (min-width: 768px) {
  
  .masthead {
    height: 100%;
    min-height: 0;
    width: 40.5rem;
    padding-bottom: 0;
  }
  .masthead .masthead-bg {
    min-height: 0;
    -webkit-transform: skewX(-8deg);
    transform: skewX(-8deg);
    -webkit-transform-origin: top right;
    transform-origin: top right;
  }
  .masthead .masthead-content {
    padding-left: 3rem;
    padding-right: 10rem;
  }
  .masthead .masthead-content h1 {
    font-size: 3.5rem;
  }
  .masthead .masthead-content p {
    font-size: 1.3rem;
  }
}

.social-icons {
  position: absolute;
  margin-bottom: 2rem;
  width: 100%;
  z-index: 2;
}

.social-icons ul {
  margin-top: 2rem;
  width: 100%;
  text-align: center;
}

.social-icons ul > li {
  margin-left: 1rem;
  margin-right: 1rem;
  display: inline-block;
}

.social-icons ul > li > a {
  display: block;
  color: white;
  background-color: rgba(0, 46, 102, 0.8);
  border-radius: 100%;
  font-size: 2rem;
  line-height: 4rem;
  height: 4rem;
  width: 4rem;
}

@media (min-width: 768px) {
  .social-icons {
    margin: 0;
    position: absolute;
    right: 2.5rem;
    bottom: 2rem;
    width: auto;
  }
  .social-icons ul {
    margin-top: 0;
    width: auto;
  }
  .social-icons ul > li {
    display: block;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
  }
  .social-icons ul > li:last-child {
    margin-bottom: 0;
  }
  .social-icons ul > li > a {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    font-size: 2rem;
    line-height: 4rem;
    height: 4rem;
    width: 4rem;
  }
  .social-icons ul > li > a:hover {
    background-color: #002E66;
  }
}

.btn-secondary {
  background-color: #cd9557;
  border-color: #cd9557;
}

.btn-secondary:active, .btn-secondary:focus, .btn-secondary:hover {
  background-color: #ba7c37 !important;
  border-color: #ba7c37 !important;
}

.input {
  font-weight: 300 !important;
}


.form-control {
    transition: none !important;
}