/* Defaults */
html, body {
    height: 100%;
    min-height: 100%;
}

body {
    position: relative;
    background-color: #5f6f81;
    margin: 0;
    padding: 0;
    min-width: 400px;
}

#wrapper {
    display: block;
    position: relative;
    /*height:100%;*/
    width:80%;
    margin-right:auto;
    margin-left:auto;

}

#container {
    background-color: #fff;
    height:90%;

}


#header_left, #header_middle, #header_right  {
    height: 76px;
}

#header_left {
    float: left;
    width: 317px;
    background-image: url('../images/header/mea_basic_logo_bg_left.png');
    background-repeat: no-repeat;
    background-position: right;
}
#header_middle {
    overflow: hidden;
    background-image: url('../images/header/mea_basic_logo_bg_middle.png');
    background-repeat: repeat-x;
    background-position: center;
}
#header_right {
    margin-right: 10px;
    float: right;
    background-image: url('../images/header/mea_basic_logo_bg_right-solid.png');
    background-repeat: repeat-x;
    background-position: center;
}

#header_livehelp {
    float: right;
    margin-right: 10px;
    position: relative;
    text-align: right;
    top: -36px;
    width: 250px;
}

#header_livehelp_text_wrapper {
    display: inline-block;
}

#header_title{
    font-size: 1.2em;
    font-weight: bold;
    position: relative;
    width: 300px;
    margin-left: 8px;
    top: -12px;
    white-space:nowrap;
}

#header_livehelp_img_wrapper img {
    position: relative;
    top: 3px;
}

#header_welcome {
    float: right;
    margin-right: 10px;
    position: relative;
    text-align: right;
    top: -32px;
    width: 250px;
}

#header_logout{
    float: right;
    left: 248px;
    position: relative;
    top: -75px;
    width: 100px;
    color: #33c3f0;
    text-align: right;

}

a {
    color: #33c3f0;
}
a:hover{
    color: #1eaedb;
    cursor: pointer;
}

#header_welcome_prefix_text {
    display: inline;
    font-weight: bold;
    margin-right: 5px;
    position: relative;
    top: -4px;
}

#header_welcome_prefix_avatar {
    display: none;
}

#header_welcome_display_name {
    display: inline-block;
}

.site_help_activator:hover {
    cursor: pointer;
    color: #c12038;
}

.rotated { 
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

i{
  webkit-transition: transform 0.5s ease;     
  -moz-transition: transform 0.5s ease;     
  -ms-transition: transform 0.5s ease;     
  -o-transition: transform 0.5s ease;     
  transition: transform 0.5s ease;
}

nav {
    text-align: center;
}
.nav_icon {
    display: inline-block;
    font-size: 1.75em;
    margin-right: 5px;
    top: 4px;
}

.nav_icon, .nav_text {
    position: relative;
    left: -25px;
}

.page_title {
 text-align: center;
}

button>i{
    color: var(--white);
}

.button.button-primary, button.button-primary, input.button-primary[type="submit"], input.button-primary[type="reset"], input.button-primary[type="button"] {
    width: 110px;

}


#content {
    min-height: 200px;
    margin-left: 10px;
}

footer {
    position: relative;
    background-color: #5f6f81;
    text-align: center;
    width: 399px;
    margin-right: auto;
    margin-left: auto;
}


.no-close .ui-dialog-titlebar-close {
  display: none;
}

.no-titlebar .ui-dialog-titlebar {
    display: none;
}


/* now change everything to mobile */
#header_middle {
    margin-right: 10px;
}

#header_right  {display: none;}

#header_welcome_prefix_text {
    display: none;

}

#header_welcome_prefix_avatar {
    display: inline;
    margin-right: 3px;
}

#header_welcome_display_name{
    position: relative;
    top: -3px;
}

.mobile_hide{
    display:none;
}

.progress-wrap{
    margin: 80px auto -106px;
    top: -88px;
}


ul.progress-bar li::before {
    line-height: 33px;
    top: 0px;
    left: 35px;
}


ul.progress-bar li {
    padding: 5px 20px 5px 80px;
}




@media (min-width: 555px) {
    /* 555px and larger  */
    #header_right  {display: inline-block;}
    #header_welcome_prefix_text { display: inline-block; }
    #header_welcome_prefix_avatar { display: none; }

    .mobile_hide{
        display: initial;
    }

}

/*
step_progress
This is the point that the progress steps change from a vertical layout to a horizontal layout
*/
@media all and (min-width: 800px) {
    .progress-wrap{
        margin: 80px auto;
        top: -74px;
    }


    ul.progress-bar li:before {
        line-height: 41px;
        top: -65px;
        left: 40%;
    }

    ul.progress-bar li {
        display: inline-block;
        margin: 50px 0 0;
        padding: 0;
        text-align: center;
    }

}


/* Larger than tablet */
@media (min-width: 940px) {
     /* 940px and larger */
     /* The header title is moved up top */

    #header_title{
        margin-left: 175px;
        top: -37px;
    }

    .progress-wrap{
        margin: 80px auto;
        top: -86px;
    }





}





*,
*:after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}



