/**** Prototype UserPortal ****/

*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

html {font-size: 62.5%;}

body {
    font-family: Arial, sans-serif;
    font-size: 1.3rem;
    background: #edf0f3;
    color: #525252;
    height: 100%;
}

.img-responsive {
    position: absolute;
    left: -10000%;
    right: -10000%;
    top: -10000%;
    bottom: -10000%;
    margin: auto auto;
    min-width: 1000%;
    min-height: 1000%;
    -ms-transform: scale(0.1);
    -webkit-transform: scale(0.1);
    transform: scale(0.1);
}
main{
    padding: 4rem 0;
}
/* Header */
.navbar {
    padding: 0;
    min-height: 50px;
}
.navbar-brand{
    width: 150px;
    height: 25px;
    background: url('../images/logo.png') no-repeat center center;
}
.navbar.bg-dark{
    background: #334d5c !important;
}
/* .main-header {
    background-color: transparent;
    padding-top: 3rem;
} */

.logo-container {
    width: 15.5rem;
    height: 5rem;
    display: block;
}

.logo { height: 5rem; }

a.user-menu { color: #fff; }

a.user-menu:hover,
a.user-menu:active,
a.user-menu:focus {
    outline: none;
    text-decoration: none;
    border-bottom: 0.1rem solid rgba(255,255,255,0.5);
}
.user-header {
    padding: 2rem 1rem;
    text-align: center;
    background-color: transparent;
}

.user-header > p {
    margin: 0;
    color: #333;
    font-size: 1.6rem;
}

.user-header > p > small {
    display: block;
    font-size: 1.2rem;
}

.user-footer {
    height: 5.3rem;
    padding: 1rem;
    background: transparent;
    border-top: 0.1rem solid #ddd;
}

.btn {
    font-size: 1.3rem;
    -webkit-border-radius: 0.15rem;
    -moz-border-radius: 0.15rem;
    border-radius: 0.15rem;
}

.btn.btn-default {
    padding: 0.6rem 2rem;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: #f4f4f4;
    color: #333;
    border-color: #ddd;
}

.btn.btn-default:hover,
.btn.btn-default:active,
.btn.btn-default:focus {
    background-color: #0077b0;
    border-color: #0077b0;
    outline: none;
    color: #fff;
}

/* Wrapper */

.wrapper {
    position: relative;
    min-height: 100vh;
}
/* 
.main {
    padding: 0 12rem;
} */

.content.container-fluid {
    /*width: 85%;*/
    padding: 3rem 0 5rem 0;
}
.aspect {
    margin-bottom: 2rem;
    border-top: 2px solid #cfd4da;
}
.content h1 {
    margin-bottom: 2rem;
    font-size: 3.2rem;
    text-transform: uppercase;
}

.env-selection {
    margin-bottom: 2rem;
    overflow: hidden;
}

.env-selection p {
    display: inline-block;
    padding-right: 0.5rem;
    line-height: 2.2;
    margin-bottom: 0;
}

.env-selection .button-group {
    background-color: #fff;
    color: #00a0cc;
    border-color: #00a0cc;
    padding: 0.3rem 1.5rem;
    min-width: 60px;
    /* margin: 0 4px; */
    /* border-radius: 3px !important; */
}

.env-selection .button-group:hover,
.env-selection .button-group:active,
.env-selection .button-group:focus {
    background-color: rgba(0,0,0,.06);
    /* border-color: rgba(0,0,0,.06); */
    /* outline: none; */
    box-shadow: none;
}


.env-selection .button-group.active {
    background-color: #00a0cc;
    border-color: #00a0cc;
    color: #fff;
}

.instance-selection {
    margin-bottom: 2rem;
    overflow: hidden;
}

.instance-selection p {
    display: inline-block;
    padding-right: 0.5rem;
    line-height: 2.2;
    margin-bottom: 0;
}

.instance-selection .instance-group {
    background-color: #fff;
    color: #00a0cc;
    border-color: #00a0cc;
    padding: 0.3rem 1.5rem;
    min-width: 60px;
    /* margin: 0 4px; */
    /* border-radius: 3px !important; */
}

.instance-selection .instance-group:hover,
.instance-selection .instance-group:active,
.instance-selection .instance-group:focus {
    background-color: rgba(0,0,0,.06);
    /* border-color: rgba(0,0,0,.06); */
    /* outline: none; */
    box-shadow: none;
}

.instance-selection .instance-group.active {
    background-color: #00a0cc;
    border-color: #00a0cc;
    color: #fff;
}

.btn.btn-product {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    height: 9rem;
    padding: 0;
    text-align: left;
    background-color: #fff;
    border: none;
    -webkit-border-radius: 0.3rem;
    -moz-border-radius: 0.3rem;
    border-radius: 0.3rem;
    box-shadow: 0 1px 3px #ccc;
}

.btn-product .prod-icon {
    width: 10rem;
    display: block;
    text-align: center;
}

.btn-product .prod-icon > .icon {height: 6rem;width: 6rem;border-radius: 4px;}

.prod-icon > .icon .st0 { fill:#fff; }

.prod-icon > .icon .st1 {fill: #00a0cc;}

.btn-product .prod-name {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 9rem;
    padding: 0 2rem;
    background-color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    color: #444;
    -webkit-border-top-right-radius: 0.3rem;
    -webkit-border-bottom-right-radius: 0.3rem;
    -moz-border-radius-topright: 0.3rem;
    -moz-border-radius-bottomright: 0.3rem;
    border-top-right-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
}

.btn.btn-product:hover .prod-name,
.btn.btn-product:focus .prod-name,
.btn.btn-product:active .prod-name {
    background-color: transparent;
    outline: none;
    color: #00a0cc;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 5rem;
    background: #f6f6f6;
    border-top: 0.1rem solid #ddd;
    padding: 1.7rem 0;
    color: #757575;
    font-size: 1.1rem;
}

.footer p { 
    margin: 0;
    display: inline-block;
}

.username i{
    margin-right: 10px;
    font-size: 1.6rem;
}
.username .btn{
    color: #fff;
    opacity: .62;
}
.username a:hover{
    text-decoration: none;
}

.username .btn{
    padding: 1.55rem 1.5rem;
    border: none;
}
.username .btn:hover{
    background: #4e6e80;
    opacity: 1;
}
.username.show .btn{
    background: #0094bd;
    opacity: 1;
}
.username .dropdown-menu{
    right: -1px;
    left: auto;
    width: 30rem;
    background-color: #f9f9f9; 
    border-radius: 0;
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
    color: #525252;
}
.username .dropdown-menu .dropdown-item, .username .dropdown-menu .user-info, .username .dropdown-menu .sign-out{
    padding: 1.25rem 1.5rem;
}
.username .dropdown-menu .dropdown-item:last-child{
    border-bottom: none;
}
.username .dropdown-menu .dropdown-item:hover{
    background: #e5e5e5;
}
.username .dropdown-menu .user-info{
    font-size: 1.6rem;
    font-weight: 600;
    color: #272727;
    border-bottom: 1px solid rgba(0,0,0,.12);
}
.username .dropdown-menu .user-info span{
    display: block;
}
.username .dropdown-menu .btn-widget {
    min-width: 16rem;
    padding: 0 1.5rem;
    line-height: 4rem;
}

.hidden {
    display: none;
}


/* Buttons */
.btn-widget {
    color: rgba(0,0,0,.7) !important;
    background-color: #f5bd47 !important;
    border-color: #f5bd47 !important;
}
.btn-widget:hover {
    background-color: #f4a815 !important;
    border-color: #f4a815 !important;
}
/**** MEDIA QUERIES ****/
@media all and (max-width: 1024px) {
    .main { padding: 0 3rem; }

    .btn.btn-product { height: 8rem; }
    
    .btn-product .prod-name { 
        height: 8rem;
        font-size: 1.65rem; 
    }

    .main-footer { padding: 1.7rem 3rem; }
}

@media all and (max-width: 767px) {
    .main { padding: 0 3rem; }
    
    .btn.btn-product { height: 7rem; }

    .btn-product .prod-name { 
        height: 7rem;
        font-size: 1.5rem; 
    }
}

@media all and (max-width:479px) and (min-width:320px) {
    .env-selection p { display: none; }
    .env-selection .button-group{
        padding: 0.3rem 2.35rem;
        margin: 0;
    }
    main {
        padding: 2rem 0 7rem;
    }
    .username .name{
        display: none;
    }
}
@media all and (max-width:767px) and (min-width:480px) {
    main {
        padding: 2rem 0 5rem;
    }    
}