/* Miligram overrides */
body {
    font-family: Arial, sans-serif;
    font-weight: 400;
}

.top-nav-links,
.side-nav,
h1, h2, h3, h4, h5, h6 {
    font-family: Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    color: #363637;
}

a {
    color:#2f85ae;
    -webkit-transition:all 0.2s linear;
    transition:all 0.2s linear;
}

a:hover,
a:focus,
a:active  {
    color:#2a6496;
    -webkit-transition:all 0.2s easeout;
    transition:all 0.2s ease-out;
}

.side-nav a,
.top-nav-links a,
th a,
.actions a {
    color: #606c76;
}

.side-nav a:hover,
.side-nav a:focus,
.actions a:hover,
.actions a:focus {
    color:#2f85ae;
}

/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Main */
body {
    background: #fff;
}
.content {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.4rem;
    /* Thanks Stripe */
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.07);
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
th {
    white-space: nowrap;
}

/* Nav bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 112rem;
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 0rem;
    margin: 0 auto 2rem;
    margin-top:0px;
    
    
}
#hdr {background: #f8f9fa !important;}
.top-nav-title a {
    font-size: 2.4rem;
    color: #22305d;
}
.top-nav-title span {
    color: #22305d;
}
.top-nav-links a {
    margin: 0 0.5rem;
}
.top-nav-title a,
.top-nav-links a {
    font-weight: bold;
}

.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}

/* View action */
.view.content .text {
    margin-top: 1.2rem;
}
.related {
    margin-top: 2rem;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}
.new-project {
    background: #98FB98;
    color: #cc1f1a;
    border-color: #ef5753;
}

/* Forms */
.input.radio,
.input.checkbox {
    margin-bottom: 2.0rem;
}
.input.radio input,
.input.checkbox input {
    margin: 0;
}
.input.radio label,
.input.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
}
.input.radio label > input,
.input.checkbox label > input {
    margin-right: 1.0rem;
}
.input.radio label:first-of-type {
    margin-bottom: 2.0rem;
}

input:invalid {
  border-color: red;
}

input:required:invalid, input:focus:invalid {
  /* insert your own styles for invalid form input */
  -moz-box-shadow: none;
}


.bg-light {
    background-color: #f8f9fa !important;
    box-shadow: 0px 0px 3px 3px rgba(186, 193, 222, 0.5);
}
h1 {font-size: 2.0rem;}

.nav a {
  margin-left: 0px;
  margin-right: 10px;
  margin-top:10px;
  margin-bottom: -3px;
  background-color: #eee;
  border-radius: 2px;
  padding: 7px;
}

.tab-content .tab-pane h3 {
  opacity: 0;
  -moz-transform: translateX(50px);
  -ms-transform: translateX(50px);
  -o-transform: translateX(50px);
  -webkit-transform: translateX(50px);
  transform: translateX(50px);
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.tab-content .active h3 {
  opacity: 1;
  transform: translate(0);
}

#exTab1 .tab-content {
  overflow: hidden;
}

#exTab1>.tab-content>.tab-pane {
  display: block;
  position: absolute;
  overflow: hidden;
}

.nextpg {
    background-color: #d33c43;
    border: 0.1rem solid #d33c43;
        border-top-color: rgb(211, 60, 67);
        border-right-color: rgb(211, 60, 67);
        border-bottom-color: rgb(211, 60, 67);
        border-left-color: rgb(211, 60, 67);
    border-radius: .4rem;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    height: 3.8rem;
    letter-spacing: .1rem;
    line-height: 3.8rem;
    padding: 0 3.0rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 4.5rem;
}

/* Paginator */
.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}
.popover-body {
    font-family: Arial, sans-serif;
font-weight: 400;
font-size:12px;
}
.popover-header {
    font-family: Arial, sans-serif;
font-weight: 400;
font-size:12px;
}
.popover-content {
    font-family: Arial, sans-serif;
font-weight: 400;
font-size:12px;
}
.myPopover {
font-family: Arial, sans-serif;
font-weight: 400;
font-size:12px;
text-align: left;
margin-left:0px;
padding-left:0px;
}

.childcontainer {
        width: 100vw;
        position: relative;
        left: calc(-50vw + 50%);
        height: 100px;
        max-width:2000px;
        margin-left:20px;
        padding-right:40px;
      }
.multiselect {
  width: 200px;
}

.selectBox {
  position: relative;
}

.selectBox select {
  width: 100%;
  font-weight: bold;
}

.overSelect {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#services {
  display: none;
  border: 1px #dadada solid;
  font-size:10px;
}

#services label {
  display: block;
}

#services label:hover {
  background-color: #1e90ff;
}
.form-check-label {
    margin-bottom: 0;
    font-size: 10px;
}
.form-check-input {
    position: absolute;
    margin-top: 1.1rem !important;
    margin-left:-2rem !important;
}

@media screen and (max-width: 640px) {
    .top-nav {
        margin: 0 auto;
    }
    .side-nav {
        margin-bottom: 1rem;
    }
    .heading {
        margin-bottom: 1rem;
    }
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}
@media only screen and (max-width: 1026px) {
    #variationhdg {
        display: none;
    }
}
