.wrapper {
    display: flex;
    align-items: stretch;
}


a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}



@media only screen and (max-width: 540px) {
  /* For tablets: */

    #hero_main {
        max-width: 100%;
        padding: 1em;
    }

    body {
        width:100%;
        margin-left: 0px;
        margin-right: 0px;
    }

#mainpage, #centerform {

        width: 100% !important;

      }

}

@media only screen and (min-width: 600px) and (max-width:780px) {
  /* For tablets: */

    #hero_main {
        max-width: 40%;
        padding: 1em;
    }

    body {
        width:100%;
        margin-left: 10px;
        margin-right: 10px;
    }

}

@media only screen and (min-width: 768px) {
  /* For desktop: */

    #hero_main {
        max-width: 50%;
        padding: 1em;
    }

    body {
        width:100%;
    }

    .nav-item {
      font-size: 12px;
    }

    #dropdownmenulinks {
        left:-500%;
    }

}

/*
    ADDITIONAL DEMO STYLE, NOT IMPORTANT TO MAKE THINGS WORK BUT TO MAKE IT A BIT NICER :)
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

body, html  {
    font-family: 'Poppins', sans-serif;
    background: white;
    height: 100%;
    font-size: .95rem;
}

.card {
    z-index: 0;
    border-radius: 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 5px 5px 5px 5px;
}

table {

}

p, td, th, tr {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

    /* sideNav CSS */

#aside {
    height: 1200px;
    font-size: 0.9rem;
    background-color: #00363c;
    padding-left: 5%;
    padding-right: 5%;
}

input[type="checkbox"] {
    width: 1.2em;
    height: 1.2em;
  }

input, select {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    line-height: 1;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

button {
    border-radius: 0.4rem;
}

.btn-light {
    background-color:rgba(54, 162, 235, 0.2)
}

.dropdown-menu .divider {
    height: 1px;
    overflow: hidden;
    background-color: black;
}

h6 {
    font-style: italic;
}

p {
    color: black;
}

*:disabled {
    background-color: lightgrey;
}


/* the section below is for the datatables */
/* row grouping colors */

table.dataTable td, th, .form-control {
    font-size: .9rem;
  }

tr.group,
tr.group:hover {
    /* background-color: #C0C0C0 !important; */
}


/*Color number of the step and the connector before it*/
#progressbar li.active:before, #progressbar li.active:after {
    background: blue;
}


/*Fit image in bootstrap div*/
.fit-image{
    width: 100%;
    object-fit: cover;
}


/* MAIN COLOR GROUPING AND SIDENAV CONTROLS*/

.nav li a {
    color:white;
    font-weight:bold;
    font-size:.8rem;
}



