html, body {
    height: 100%;
}

.container {
    display: flex;
}

.container.index {
    display: block;
    margin-left: auto;
    margin-right: auto;
    /*width: 800px;*/
}

#container-welcome {
    margin-left: 0;
    max-width: 1900px;
    line-height: 1.15;
}

#container-card {
    max-width: 800px !important;
}

#img-index {
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px; /* Rounded border */
    padding: 5px; /* Some padding */
    width: 300px; /* Set a small width */
}

/* Add a hover effect (blue shadow) */
#img-index:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

#click-picture {
    color: grey;
    font-weight: bold;
    text-align: center;
}

button#button-logo {
    background-color: #D52b1e;
    border-radius: 10px;
    border: 3px solid #165788;
    outline: 0;
    width: 100%;
}

#image-logo {
    border: none;
}

#index-email {
    color: #165788;
}

#index-email:hover {
    color: white;
    background-color: #D52b1e;
}

div#index-text.jumbotron-text {
    text-align: left;
}

#jumbo1 {
    max-width: 550px;
    padding: 5px;
    margin-left: 20px;
    background-color: transparent;
    color: grey;
    border: solid grey;
    font-size: 14px;
    font-weight: bold;
}

#jumbo2-rpm {
    max-width: 250px;
    min-width: 140px;
    margin-left: 0;
    padding: 5px;
    background-color: transparent;
    color: grey;
    border: solid grey;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 52px;
}

#jumbo2-water-oil {
    max-width: 250px;
    min-width: 140px;
    margin-left: 0;
    padding: 5px;
    background-color: transparent;
    color: grey;
    border: solid grey;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

#jumbo2-flowrate {
    max-width: 270px;
    min-width: 140px;
    margin-left: 0;
    padding: 5px;
    background-color: transparent;
    color: grey;
    border: solid grey;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

#jumbo2-pressure {
    max-width: 250px;
    min-width: 140px;
    margin-left: 0;
    padding: 5px;
    background-color: transparent;
    color: grey;
    border: solid grey;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

#jumbo2-pressure-pp {
    max-width: 250px;
    min-width: 140px;
    margin-left: 0;
    padding: 5px;
    background-color: transparent;
    color: grey;
    border: solid grey;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 30px;
}

#jumbo2-pressure-merc {
    max-width: 250px;
    min-width: 140px;
    margin-left: 0;
    padding: 5px;
    background-color: transparent;
    color: grey;
    border: solid grey;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

#jumbo2-flow-fraction {
    max-width: 250px;
    min-width: 140px;
    margin-left: 0;
    padding: 5px;
    background-color: transparent;
    color: grey;
    border: solid grey;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 30px;
}

.form-control {
    border-width: 2px;
    color: grey;
    width: 75px;
    padding: 0;
    font-size: 14px;
    text-align: center;
    height: 25px;
    border-color: darkgrey;
    font-weight: bold;
    background-color: white !important;
    display: block;
    margin-left: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.label {
    font-weight: bold;
    font-size: 14px;
    color: grey;
    margin-bottom: 3px;
}

.alert {
    border-radius: 0;
    padding: 10px;
    margin-bottom: 10px;
}

.alert-dark {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    color: #165788;
    background-color: white;
    border-color: transparent;
    position: unset;
    padding: 140px 5px 5px;
}

.alert-danger {
    background-color: #D52b1e;
    font-size: larger;
    color: white;
    text-align: center;
    border: 0;
    padding: 5px;
}

.col-xl-6 {
    padding: 0 10px 10px;
    min-width: 300px;
}

.col-xl-4 {

    border-left: solid black;
    padding: 0 10px 10px;
}

.col-xl-2 {
    border-right: solid black;
    padding: 0 10px 10px;
    min-width: 300px;
}

#col2-index {
    border: none;
    padding: 0;
    min-width: 0;
}

.table {
    width: auto;
    padding: 10px;
    height: 20px;
}

.row {
    margin: 0;
}

#table-left {
    margin-bottom: 10px;
}

#table-right {
    margin-left: 10px;
    margin-bottom: 10px;

}

.table td {
    text-align: left;
    padding: 1px;
    width: auto;
    margin: 0;
    vertical-align: middle;
}

.table td#fluid_data, .table td#simulator_data, .table td#centrifuge_data {
    text-align: center !important;
}

.dropdown {
    font-size: 14px;
    font-weight: bold;
    color: grey;
    border-width: 2px;
    border-radius: 5px;
    height: 25px !important;
    text-align: center !important;
    display: inline-block;
    margin: 0 auto auto -5px;
}

select#ss_table-flow_precision.dropdown {
    margin: 0;
    height: 23px !important;
}

select#SSrates_table-flow_precision.dropdown {
    margin: 0;
    height: 23px !important;
}

select#uss_table-flow_precision.dropdown {
    margin: 0;
    height: 23px !important;
}

select#pp_table-flow_precision.dropdown {
    margin: 0;
    height: 23px !important;
}

select#c_table-flow_precision.dropdown {
    margin: 0;
    height: 23px !important;
}

select#usgas_table-flow_precision.dropdown {
    margin: 0;
    height: 23px !important;
}

.wateroil th {
    width: 73px !important;
}

.wateroil td {
    width: 70px;
}

input#default-td.td-sw.wateroil {
    width: 70PX;
}

input.td-sw.wateroil {
    width: 70PX;
}

#option {
    font-weight: bold;
    color: black;
}

.table-sw {
    text-align: center;
    margin-left: 10px;
}

.table-sw th {
    font-size: 16px;
    font-weight: bold;
    color: grey;
    padding: 0;
    width: 83px;
    height: 50px !important;
    vertical-align: middle !important;
}

.td-sw {
    width: 80px;
    height: 20px;
    text-align: center;
    font-size: 14px;
    padding: 0;
    font-weight: bold;
    color: grey;
    background-color: white !important;
}

#tablehead {
    float: left;
}


#tablekrw, #tablekro, #tablepc, #table-flow {
    height: 300px;
    display: block;
    overflow-y: scroll;
    width: 100%;
}

#text-table-left {
    font-size: 13px;
    color: grey;
    font-weight: bold;
    text-align: left;
}

#text-action {
    height: auto;
    text-align: left;
    color: grey;
    font-weight: bold;
    font-size: 13px;
    padding-top: 5px;
}

#table2, #table3, #table4 {
    margin-left: 15px;
    float: left;
}

#table1 {
    float: left;
}

#table1, #table2, #table3 {
    margin-top: 30px;
}

#table2 {
    width: 184px;
}

#table4 {
    margin-top: 9px;
    margin-right: 10px;
}

#time-unit {
    width: 70px;
    margin-right: 1px;
    margin-left: 5px;

}

#time-unit-wateroil.dropdown {
    margin-right: 20px;
    margin-left: 1px;
}

#pres-unit {
    margin-left: 100px;
}

#pressure_unit {
    margin-right: 35px;
}

#time_unit {
    margin-left: 5px;;
}

#time_unit_pressure {
    margin-right: 20px;
    margin-left: 5px;
}

#dif_pres_unit {
    margin-right: 20px;
}

#inj_pressure_unit {
    margin-right: 20px;
}

#flooding-unit {
    width: 100px;
}

#td-pc {
    font-size: 13px;
    font-weight: bold;
    color: grey;
}

#wateroil {
    float: left;
}

.container-fluid {
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto
}

.welcome {
    text-align: center;
}

.jumbotron {
    height: auto;
    padding: 5px;
    margin-bottom: 10px;
}

.jumbotron-text {
    color: grey;
    width: auto;
    font-size: 16px;
    font-weight: 600;
    padding: 10px;
}

#jumbotron-picture {
    padding: 5px;
}

.card {
    border-width: thick;
    text-align: center;
    border-radius: 10px;
    max-width: 800px;
    min-width: 300px;
    height: 300px;
}

#container-scores, #container-autoscores {
    max-width: 800px;
}

.card-body {
    padding: 10px;
}

.btn-primary {
    width: 80px;
    background-color: #D52b1e;
    font-weight: bold;
}

input#submit.btn.btn-primary {
    width: 100%;
}

input#reset.btn.btn-primary {
    width: 100%;
}

.btn-primary:hover {
    background-color: #165788 !important;
}

.btn {
    border-radius: 10px;
}

#btn-index {
    max-width: 350px;
    min-width: 300px;
    font-weight: bold;
    padding: 4px;
    border-color: #165788;
    border-width: medium;
    text-decoration: none;
}

#btn-autoscores {
    width: 600px;
    height: 200px;
    font-size: 30px;
    font-weight: bold;
    padding: 4px;
    border-color: #165788;
    border-width: medium;
    text-decoration: none;
    line-height: 200px;
}

a#btn-autoscores {
    padding: 0;
}

.ul-button {
    list-style-type: none;
}

#project_name, #current_date {
    width: auto;
}

.fa-caret-down {
    color: black;
    padding-right: 30px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.drop:hover .dropdown-content {
    display: block;
}

#user_dropdown {
    margin: 0;
    padding: 5px 20px 5px 5px;
}

#core_data {
    color: grey;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
}


/*Tooltip css*/

.tooltip.primary .tooltip-inner {
    background-color: grey;
    max-width: 800px;
    font-size: 17px;
    text-align: left;
    left: 105%;
    border: solid black 2px;
    padding: 5px;
    margin: 0;
    border-radius: 5px;
}

.tooltip.secondary .tooltip-inner {
    background-color: grey;
    min-width: 1600px;
    max-width: 1600px;
    font-size: 17px;
    text-align: left;
    position: absolute;
    z-index: 1;
    top: -450px;
    left: 105%;
    border: solid black 2px;
    padding: 5px;
    margin: 0;
    border-radius: 5px;
}

.tooltip.third .tooltip-inner {
    background-color: grey;
    min-width: 1600px;
    max-width: 1600px;
    font-size: 17px;
    text-align: left;
    position: absolute;
    z-index: 1;
    top: -615px;
    left: 105%;
    border: solid black 2px;
    padding: 5px;
    margin: 0;
    border-radius: 5px;
}

#tooltip:hover {
    background-color: #D52b1e;
    color: white;
}

p {
    text-align: center;
}

.tooltip.primary.top > .tooltip-arrow {
    border-top-color: #337ab7;
}

.tooltip.primary.right > .tooltip-arrow {
    border-right-color: #337ab7;
    visibility: visible;
}

.tooltip.primary.bottom > .tooltip-arrow {
    border-bottom-color: #337ab7;
}

.tooltip.primary.left > .tooltip-arrow {
    border-left-color: #337ab7;
}

.tooltip-arrow {
    visibility: visible;
}

.tooltip.info .tooltip-inner {
    background-color: #31b0d5;
}

.tooltip.info.top > .tooltip-arrow {
    border-top-color: #31b0d5;
}

.tooltip.info.right > .tooltip-arrow {
    border-right-color: #31b0d5;
}

.tooltip.info.bottom > .tooltip-arrow {
    border-bottom-color: #31b0d5;
}

.tooltip.info.left > .tooltip-arrow {
    border-left-color: #31b0d5;
}

.tooltip.success .tooltip-inner {
    background-color: #449d44;
}

.tooltip.success.top > .tooltip-arrow {
    border-top-color: #449d44;
}

.tooltip.success.right > .tooltip-arrow {
    border-right-color: #449d44;
}

.tooltip.success.bottom > .tooltip-arrow {
    border-bottom-color: #449d44;
}

.tooltip.success.left > .tooltip-arrow {
    border-left-color: #449d44;
}

.tooltip.warning .tooltip-inner {
    background-color: #ec971f;
}

.tooltip.warning.top > .tooltip-arrow {
    border-top-color: #ec971f;
}

.tooltip.warning.right > .tooltip-arrow {
    border-right-color: #ec971f;
}

.tooltip.warning.bottom > .tooltip-arrow {
    border-bottom-color: #ec971f;
}

.tooltip.warning.left > .tooltip-arrow {
    border-left-color: #ec971f;
}

.tooltip.danger .tooltip-inner {
    background-color: #d9534f;
}

.tooltip.danger.top > .tooltip-arrow {
    border-top-color: #d9534f;
}

.tooltip.danger.right > .tooltip-arrow {
    border-right-color: #d9534f;
}

.tooltip.danger.bottom > .tooltip-arrow {
    border-bottom-color: #d9534f;
}

.tooltip.danger.left > .tooltip-arrow {
    border-left-color: #d9534f;
}

.tooltip.show {
    opacity: 200;
}

#tooltip {
    text-decoration: underline;
    color: grey;
    font-weight: bold;
    font-size: 14px;
}

#tooltip-portal, #tooltip-mainportal {
    font-size: 16px;
    text-decoration: underline;
}

#tooltip-mainportal {
    font-size: 18px;
    font-weight: bold;
    color: grey;
}

a#tooltip-portal:hover {
    background-color: #D52b1e;
    color: white;
}

#tooltip-portal-head {
    text-decoration: underline;
}

#tooltip-portal-head:hover {
    background-color: #D52b1e;
    color: white;
}

a {
    color: grey;
}

#dropdown-ift {
    min-width: 110px;
}


/*Next is the css for the Navbar*/

.navbar {
    background-color: white !important;
    max-height: 150px;
}

.navbar-collapse {
    flex-basis: unset;
}

div#collapsingNavbar4.navbar-collapse.collapse.show {
    background-color: #e9ecef;;
    max-width: 200px;
}

nav.navbar.navbar-expand-xl.bg-light {
    justify-content: unset;
}

.navbar-text {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: black;
}

div.dropdown-content.nav-link {
    border-radius: 5px;
    padding: 5px;
}

/*  change navbar li colors, also active one but not disabled one */
.navbar ul.navbar-nav li.nav-item a.nav-link {
    color: grey;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 20px 5px 5px;
}

div.nav-link {
    color: grey;
    font-size: 20px;
    font-weight: bold;
}

/* change hamburger button border color */
button.navbar-toggler {
    border: solid 2px #165788;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(218, 41, 28, 2.0)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

ul.a {
    list-style-type: circle;
}

.navbar-brand {
    padding-left: 50px;
}

div.dropdown-content.nav-link {
    background-color: #e9ecef;
}

div#collapsingNavbar4.navbar-collapse.col-xs-6.collapse.show {
    background-color: #e9ecef;
    max-width: 200px;
    margin-left: auto;
    padding: 5px;
    border: 2px solid grey
}

#gif {
    display: block;
    margin: 0 auto;
    visibility: hidden
}

#loader_text {
    display: block;
    margin: 0 auto;
    visibility: hidden;
    font-size: 22px;
    background-color: #D52b1e;
    color: white;
    padding: 3px;
    border-radius: 5px;
}

#empty-table1 {
    position: absolute;
    margin-top: 360px;
    margin-left: 80px;
}

#empty-table2 {
    position: absolute;
    margin-top: 360px;
    margin-left: 280px;
}

button#empty1, #empty2, #empty3, #empty4, #empty5, #empty6 {
    display: block;
    border-radius: 5px;
    color: grey;
    font-weight: bold;
    margin: auto;
}

#index-picture {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    max-height: 350px;
    /*width: auto \9; !* ie8 *!*/
}

#new_password {
    margin-top: 80px;
}

#exp_table td {
    min-width: 140px;
}

#fluid_data, #simulator_data {
    font-size: 16px;
}

/*Style for registration, login and edit profile*/

.userreg {
    color: #fff;
    background: #63738a;
    padding-top: 140px;
}

button#edit-button.btn.btn-info {
    max-width: 80px !important;
}

.form-control.regname {
    height: 40px;
    box-shadow: none;
    width: 90%;
    text-align: left;
    padding: .375rem .75rem;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

.form-control.regpass {
    height: 40px;
    box-shadow: none;
    width: 80%;
    text-align: left;
    padding: .375rem .75rem;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

#toggle-password {
    margin-left: -50px;
    z-index: 999;
    color: black;
    font-size: 20px;
}

span.input-group-text {
    padding: 0;
    border: 0;
    width: 0;
}

#required {
    color: #D52b1e;
    font-size: 24px;
    margin-left: 5px;
}

#required-field {
    font-size: 14px;
    color: #D52b1e;
    margin-bottom: 10px;
}

.input-group {
    height: 40px;
}

input#project_name.form-control {
    border-radius: 5px;
}

.input-group > .custom-select:not(:last-child), .input-group > .form-control:not(:last-child) {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.form-control:focus {
    border-color: #5cb85c;
}

.form-control {
    border-radius: 5px;
}

#fullheight {
    height: 100%;
    background-color: #63738a;
}

.signup-form {
    min-width: 300px;
    max-width: 500px;
    font-family: 'Roboto', sans-serif;
    color: #999;
    border-radius: 3px;
    background: white;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
    padding: 10px;
    margin: 10px auto 0;
    border: solid 5px grey;
}

.signup-form h2 {
    color: #636363;
    margin: 0 0 15px;
    position: relative;
    text-align: center;
    font-size: 20px;
}

.signup-form h2:before, .signup-form h2:after {
    content: "";
    height: 2px;
    width: 5%;
    background: #d4d4d4;
    position: absolute;
    top: 50%;
    z-index: 2;
}

.signup-form h2:before {
    left: 0;
}

.signup-form h2:after {
    right: 0;
}

.signup-form .hint-text {
    color: #999;
    margin-bottom: 10px;
    text-align: center;
    font-size: 14px;
}

.signup-form .text-center {
    text-align: left !important;
}

.signup-form .form-group {
    margin-bottom: 10px;
}

.signup-form input[type="checkbox"] {
    margin-top: 3px;
}

.checkbox-inline {
    color: grey;
}

.signup-form .btn {
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    outline: none !important;
    background-color: #D52b1e;
    margin-right: auto;
    margin-left: auto;
}

.signup-form .btn:hover {
    background-color: #165788;
}

.signup-form a {
    color: #165788;
    text-decoration: none;
}

.signup-form a:hover {
    text-decoration: underline;
}

.signup-form form a {
    color: #165788;
    text-decoration: none;
}

#terms-text {
    font-size: 12px;
    color: #165788;
}

.link-reg {
    color: #D52b1e;
}

.card-title {
    color: grey;
}

.ul-button {
    list-style-type: none;
}

#col-reg {
    margin-left: auto;
    margin-right: auto;
    border-left: none;
}

#col-regpro {
    border-left: none;
    max-width: 400px;
}

div#col-regpro.col-xl-3 {
    flex: 0 0 23%;
}

.order-price {
    height: 20px;
    padding: 0;
    border: none;
    text-align: left;
}

/*Style for user_experiments.php*/

#white {
    height: 10px;
    background-color: white;
    margin-bottom: 10px;
    margin-top: -16px;
}

a {
    text-decoration: underline;
}

#table_user_exp {
    margin-bottom: 20px;
    font-size: 14px;
    background-color: white;
    max-width: 450px;
    padding: 5px;
    height: 300px;
    display: block;
    overflow-y: scroll;
    width: 100%;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    border-radius: 5px;
}

#table_user_exp th {
    color: grey;
    font-size: 18px;
}

#table_user_exp td {
    color: grey;
    padding: 5px;
}

#table_user_exp tr:nth-child(odd) {
    background-color: #dddddd;
}

#table-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

#exp_table td:first-child {
    text-align: left !important;
}

#btn-gotoproject {
    font-size: 14px;
    padding: 2px;
    min-width: 120px;
}


/*Style for glossary page*/

hr {
    display: block;
    position: relative;
    padding: 0;
    margin: 8px auto;
    height: 2px;
    width: 100%;
    max-height: 0;
    font-size: 3px;
    line-height: 2px;
    /*clear: both;*/
    border: none;
    border-top: 3px solid #aaaaaa;

    color: grey;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#glossary-jumbo {
    font-size: 18px;
    max-width: 90%;
    text-align: left;
    align-content: center;
    padding-left: 20px;

}

#glossary-body {
    padding-top: 0 !important;
    font-family: 'Roboto', sans-serif;
}

h4 {
    font-size: x-large !important;
}

/*Style for userlist page*/

#tableallusers, #table_user_auto {
    overflow-y: scroll;
    height: 100px;
    background: #f2f3f7;
    max-width: 1400px;
    margin: 50px auto auto;
    color: grey;
    border-radius: 5px;
    border-collapse: collapse;
    table-layout: auto;
    display: block;
    width: fit-content;
    font-weight: 600;
    min-height: 400px;
}

#tableallusers tr:nth-child(even), #table_user_auto tr:nth-child(even) {
    background-color: #dddddd;
}

#tableallusers thead, #table_user_auto thead {
    border-bottom: solid grey 2px;
}

#tableallusers thead th, #table_user_auto thead th {
    position: sticky;
    top: 0;
    font-size: 20px;
    text-align: center;
}

/* Just common table stuff. Really. */
#tableallusers table, #table_user_auto table {
    border-collapse: collapse;
    width: 100%;

}

#tableallusers th, #tableallusers td, #table_user_auto th, #table_user_auto td {
    padding: 5px;
    border: grey solid 1px;
}

#tableallusers th, #table_user_auto th {
    /*background: #eee;*/
    background-color: #dddddd;

}

#tableallusers td, #table_user_auto td {
    font-size: 18px;
}

#approve-button {
    padding: 1px;
    border: 1px solid;
    border-radius: 3px;
}

#approve-button:hover {
    background-color: #165788;
}


/*Style for error_page*/

#jumbo1-error {
    font-size: 24px;
    padding: 5px;
    background-color: transparent;
    color: grey;
    border: solid red;
    font-weight: bold;
    margin-top: 180px;
}


/*Style for terms and conditions*/

#terms h6 {
    font-size: 14px;
}

/*Style for Portal*/

#portalhead {
    text-align: center;
    color: grey;
    font-size: 16px;
    font-weight: bold;
    height: 110px;
}

#table-left-portal {
    margin-bottom: 10px;
    max-width: 300px;
}

#portalhead th {
    padding: 5px;
}

#portalTD {
    padding: 5px 5px 5px 20px;
}

#portalCol {
    border-right: none;
}

#portalColLeft {
    margin-left: 10px;
    max-width: 330px;
}

#portalColLeft #table-left {
    width: 100%;
}

#portalColLeft #project_name {
    width: 300px;
}

#btn-portal, #btn-portal-first, #btn-portal-second {
    font-size: 20px;
    min-width: 270px;
    max-width: 350px;
    width: 100%;
    max-height: 200px;
    margin-right: auto;
    margin-left: auto;
    padding: 5px;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    vertical-align: middle;
    line-height: normal;
    white-space: normal;
    word-wrap: break-word;
    background-color: grey;
}

#btn-portal-first:hover, #btn-portal-second:hover {
    background-color: #165788;

}

input#btn-portal {

    margin: auto;
    font-size: 22px;
    max-width: 1200px;
}

input#btn-portal:hover {
    background-color: #165788 !important;
}

#btn-portal a {
    text-decoration: none;
}

#tablePortal {
    text-align: center;
}

#tablePortal th h2 {
    color: #D52b1e;
    font-weight: bold;
    padding: 12px;
}

#tablepcPortal {
    display: block;
    border-top: 1px;
    margin-left: auto;
    margin-right: auto;
}

#tableheadPortalPc {
    float: left;
    font-size: 18px;
    font-weight: bold;
    color: grey;
}

#tableheadPortalPc th {
    padding: 0;
    width: 83px;
    height: 50px !important;
    vertical-align: middle !important;
}

#capillary-pressure #table-left {
    margin-left: auto;
    margin-right: auto;
    max-width: 250px;
}

#file {
    padding: 4px;
    width: 100%;
    height: 100%;
}

#tablePortalLeft {
    max-width: 450px;
}

#tablePortalLeft th {
    padding-left: 5px;
    padding-right: 5px;
}

#tablePortalLeft td {
    width: 220px;
    padding: 3px;
}

#tablePortalLeft h2 {
    color: #D52b1e;
    font-weight: bold;
    margin: 0;
}

#table-left h2, #table-left-portal h2 {
    color: #D52b1e;
    font-weight: bold;
    margin: 0;
}


#alert-continue {
    max-width: 350px;
    margin-top: 10px;;
    border-radius: 5px;
    padding: 5px;
}

.line {
    border-left: 4px solid black;
    height: 550px;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
}

.float-left {
    height: 550px;
    padding: 10px;
    border-right: 3px solid black;
    margin-bottom: 20px;
}

#corey-parameters {
    width: 280px;
}

#table-last-portal {
    width: 100%;
}

#table-last-portal th h2 {
    color: #D52b1e;
    font-weight: bold;
    margin: 0;
}

#image-portal {
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px; /* Rounded border */
    padding: 5px; /* Some padding */
    width: 100px; /* Set a small width */
}

.image-modal {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    max-height: 150px;
    margin-bottom: 10px;
}

/* Add a hover effect (blue shadow) */
.image-modal:hover {
    box-shadow: 0 0 2px 1px rgba(213, 43, 30, 1);
}

#alert-modal {
    max-height: 150px;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 18px;
    max-width: 400px;
    text-align: left;
    padding: 5px;
}

/*style for chart*/


div#chartContainer {
    width: 850px !important;
    height: 400px !important;
    /*position: fixed;*/
    /*top: 33%;*/
    /*left: 25%;*/
    /*!* bring your own prefixes *!*/
    /*transform: translate(-50%, -50%);*/
}

div#chartContainer2 {
    width: 850px !important;
    height: 400px !important;
    /*position: fixed;*/
    /*top: 33%;*/
    /*left: 75%;*/
    /*!* bring your own prefixes *!*/
    /*transform: translate(-50%, -50%);*/
}

div#chartContainer3 {
    width: 850px !important;
    height: 400px !important;
    /*position: fixed;*/
    /*top: 78%;*/
    /*left: 25%;*/
    /*!* bring your own prefixes *!*/
    /*transform: translate(-50%, -50%);*/
}

div#chartContainer4 {
    width: 700px !important;
    height: 300px !important;
    /*    position: fixed;*/
    /*    top: 78%;*/
    /*    left: 75%;*/
    /*    !* bring your own prefixes *!*/
    /*    transform: translate(-50%, -50%);*/
}

div#chartContainer4plots {
    width: 800px !important;
    height: 390px !important;
    /*position: fixed;*/
    /*top: 35%;*/
    /*left: 25%;*/
    /*!* bring your own prefixes *!*/
    /*transform: translate(-50%, -50%);*/
}

div#chartContainer4plots2 {
    width: 800px !important;
    height: 390px !important;
    /*position: fixed;*/
    /*top: 35%;*/
    /*left: 75%;*/
    /*!* bring your own prefixes *!*/
    /*transform: translate(-50%, -50%);*/
}

div#chartContainer4plots3 {
    width: 800px !important;
    height: 390px !important;
    /*position: fixed;*/
    /*top: 78%;*/
    /*left: 25%;*/
    /*!* bring your own prefixes *!*/
    /*transform: translate(-50%, -50%);*/
}

div#chartContainer4plots4 {
    width: 800px !important;
    height: 390px !important;
    /*position: fixed;*/
    /*top: 78%;*/
    /*left: 75%;*/
    /*!* bring your own prefixes *!*/
    /*transform: translate(-50%, -50%);*/
}

div#chartContainer5 {
    width: 1700px;
    height: 35px;
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

div#chartContainer6 {
    width: 1200px;
    height: 300px;
    position: fixed;
    top: 88%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

#gif-canvas {
    visibility: visible;
}

#loader-text-canvas {
    visibility: visible;
    font-size: 22px;
    background-color: #D52b1e;
    color: white;
    padding: 3px;
    border-radius: 5px;
}

#btn-canvas {
    font-size: 14px;
    min-width: 270px;
    /*max-width: 500px;*/
    height: 50px !important;
    margin-right: auto;
    margin-left: auto;
    padding: 5px;
    background-color: #D52b1e;
    font-weight: bold;
    color: white;
    border-radius: 5px;
    vertical-align: middle;
    line-height: normal;
    visibility: hidden;
    position: fixed;
    top: 70%;
    left: 66%;
}

div.canvasjs-chart-toolbar {
    display: none;
}

a.canvasjs-chart-credit {
    display: none;
}

div.canvasjs-chart-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

canvas.canvasjs-chart-canvas {
    max-width: 850px !important;
}

#bottomSwTable {
    margin-left: 10px;
}

#bottomSwTable td {
    width: 166px;
}

body {
    margin: 0;

}

#test-portal-jumbo {
    color: grey;
    background-color: transparent;
    border: solid grey;
}

#test-canvas-btn {
    width: 100%;
    font-size: 20px;
}

/*#pageloader {*/
/*    position: fixed;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*}*/

/*Style for main portal*/
#mainPortalFrom {
    margin-left: auto;
    margin-right: auto;
}

#mainPortalTable label {
    font-size: 18px;
}

#mainPortalTable th {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: grey;
}

#mainPortalTable input#btn-portal {
    background-color: #D52b1e;
    color: white;
    display: block;
    width: 100%;
}

#sub-th th {
    font-size: 20px;
}


/*Style for pricing template*/

.pricing {
    width: 100%;
    font: 13px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: center;
    padding: 0;
    border: 5px solid lightgrey;
    border-radius: 5px;
    margin: 5px auto 0;
}

.pricing table {
    /*width: 100%;*/
    border-spacing: 0;
    table-layout: fixed;
    overflow: hidden;
    background-color: white;
    display: table;
}

.pricing th {
    border-right: 1px solid #CCC;
    empty-cells: show;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #CCC;
    color: white;
    background-color: #D52b1e;
    font-size: 20px;
    padding: 5px;
}

.pricing td {
    border: 1px solid #CCC;
    color: grey;
    font-size: 18px;
    font-weight: 600;
    padding: 7px;
}

td#pro {
    width: 35rem;
}

th#introducing {
    min-width: 380px;
    color: #D52b1e;
    font-size: 20px;
}

td#introducing {
    text-align: left;
    font-size: 16px;

}

th#scores {
    background-color: #165788;
    min-width: 200px;
}

.pricing thead {
    border-bottom: 1px solid grey;
}

div#pricing-tag {
    font-size: 32px;
    color: #D52b1e;
    margin-right: auto;
    margin-left: auto;
}

a#price-buy {
    background: #D52b1e;
    padding: 10px 20px;
    font-size: 12px;
    display: inline-block;
    color: #FFF;
    text-decoration: none;
    border-radius: 3px;
    text-transform: uppercase;
}

#pricing-table-body td {
    height: 45px;
    color: green;
    font-weight: unset;
}

#pricing-table-body tr:nth-child(odd) {
    background-color: #dddddd;
}

#left-th {
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    min-width: 400px;
}

td#left-th {
    color: #165788;
    font-weight: 600;
}

#btn-registernow {
    width: 100%;
}

#duration {
    font-size: 16px;
}

#duration-educational {
    font-size: 16px;
    padding-bottom: 20px;
}

#subscription-name {
    color: #165788;
}

.pricing sup {
    font-size: 100%;
}

.pricing #tooltip:hover {
    background-color: transparent;
}

#price-run {
    margin-top: 10px;
    color: #165788;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 639px) {


    /*    Style for checkout form*/
    * {
        box-sizing: border-box;
    }

    body {
        background-color: #f1f1f1;
    }

    #regForm {
        background-color: #ffffff;
        margin: 100px auto;
        font-family: Raleway, sans-serif;
        padding: 40px;
        width: 70%;
        min-width: 300px;
    }

    h1 {
        text-align: center;
    }

    input {
        padding: 10px;
        width: 100%;
        font-size: 17px;
        font-family: Raleway, sans-serif;
        border: 1px solid #aaaaaa;
    }

    /* Mark input boxes that gets an error on validation: */
    input.invalid {
        background-color: #ffdddd;
    }

    /* Hide all steps by default: */
    .tab {
        display: none;
    }

    button {
        background-color: #4CAF50;
        color: #ffffff;
        border: none;
        padding: 10px 20px;
        font-size: 17px;
        font-family: Raleway, sans-serif;
        cursor: pointer;
    }

    button:hover {
        opacity: 0.8;
    }

    #prevBtn {
        background-color: #bbbbbb;
    }

    /* Make circles that indicate the steps of the form: */
    .step {
        height: 15px;
        width: 15px;
        margin: 0 2px;
        background-color: #bbbbbb;
        border: none;
        border-radius: 50%;
        display: inline-block;
        opacity: 0.5;
    }

    .step.active {
        opacity: 1;
    }

    /* Mark the steps that are finished and valid: */
    .step.finish {
        background-color: #4CAF50;
    }
}

/*    Style for AutoScores*/
#runs-left {
    color: grey;
    font-size: 20px;
    font-weight: bold;
}


/*Style reset pages*/

#reset-password-page {
    color: grey;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    padding-top: 10px;
}


/*Style checkout forms*/
.nav-tabs {
    border-bottom: none;
    margin-right: auto;
    margin-left: auto;
}

#nav-item-reg {
    width: 33.33%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

a#list_login_details.nav-link, a#list_company_details.nav-link, a#list_review.nav-link {
    height: 40px;
    color: white;
    border: 1px solid #ccc;
    font-size: 14px;
}

/*.nav-link.active_tab1, .nav-link.inactive_tab1 {*/
/*    padding: 5px;*/
/*}*/

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #D52b1e;
    color: white;
}

.active_tab1 {
    background-color: #D52b1e;
    color: white;
    font-weight: 600;
}

.inactive_tab1 {
    background-color: #165788;
    color: white;
    cursor: not-allowed;
}

.has-error {
    border-color: #cc0000;
    background-color: #ffff99;
}

#input_details {
    border: 2px solid grey;
    width: 350px;
    text-align: left;
    padding: 5px;
    height: 200px;
    border-radius: 5px;
}

div#textarea1 {
    text-decoration: #165788;
    color: #D52b1e;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.input-group#textarea {
    height: 20px;
}

#textarea2 {
    height: 20px;
}

#textarea3 {
    font-size: 12px;
    color: #D52b1e;
    text-align: left;
}


/*Scores FAQ*/
#faq-question {
    font-weight: 600;
    color: #165788;
    font-size: 18px;
}

/*Order conformation*/

#order-conf-form {
    max-width: 600px;
    color: grey;
    font-size: 20px;
    font-weight: bold;
}

#order-conf-button {
    width: 100%;
    text-align: center;
    color: white;
    font-size: 26px;
    border-radius: 5px;
}

a.order-conf-link {
    text-decoration: underline;
}

h2.order-conf-h2 {
    font-size: 32px;
}


/* Discount page*/

#discount_text {
    height: 200px;
}

#discount_license {
    margin: 0;
    height: 40px !important;
    box-shadow: none;
    width: 100%;
    text-align: left;
    padding: .375rem .75rem;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

/*Error messages*/

table.xdebug-error.xe-notice {
    margin-top: 150px;
}

table.xdebug-error.xe-uncaught-exception{
    margin-top: 150px;
}


/*Overlay warning*/
#overlay {
    position: fixed;
    width: 90%;
    height: 60%;
    top: 30%;
    left: 5%;
    right: 0;
    bottom: 0;
    background-color: rgba(213,43,30,0.9);
    z-index: 2;
    cursor: pointer;
    border-radius: 5px;
}

#text{
    position: absolute;
    top: 35%;
    left: 35%;
    font-size: 34px;
    color: white;
    transform: translate(-25%,-50%);
    -ms-transform: translate(-50%,-50%);
}