@font-face {
    font-family: 'Open Sans', sans-serif;
    src: url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700&subset=latin,latin-ext);
}
/* Basic styles */

html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    color: #333F48;
}

body {
}

h1 {
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
}

h2 {
    font-weight: bold;
    font-size: 18px;
    line-height: 28px;
}

h3 {
    font-weight: bold;
    font-size: 14px;
    line-height: 22px;
}

h4 {
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
}

p {
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
    margin: 8px 0px 0px;
}

label {
    font-weight: normal;
    font-size: 14px;
}

input {
    font-size: 12px;
    line-height: 18px;
}

input[type="radio"], input[type="checkbox"] {
    margin: 4px 10px 0 0;
}

/* Bootstrap components styles overrides. See http://getbootstrap.com/components/ */

.form-control {
    font-size: 12px;
    margin-bottom: 20px;
}

.btn-default {
    background-color: #F9F9F9;
    color: #333F48;
}

.btn-default:hover, .btn-default:focus, .btn-default:active {
    background-color: #EEE;
}

.btn-default, .btn-info, .btn-primary {
    -webkit-box-shadow: 0 1px 2px #999;
    -moz-box-shadow: 0 1px 2px #999;
    box-shadow: 0 1px 2px #999;
    border-width: 0;
    font-weight: bold;
}

.alert {
    padding: 10px 15px;
}

.close {
    font-weight: normal;
    margin-left: 10px;
    opacity: 1;
    filter: alpha(opacity=100);
    text-shadow: none;
}

.alert-info {
    background-color: #A9D1E0;
    border-color: #90B5C3;
    color: #276082;
}

.alert-info .btn-close {
    color: #276082;
}

.alert-success {
    background-color: #CCF0B5;
    border-color: #B1D097;
    color: #6B7E5B;
}

.alert-success .btn-close {
    color: #6B7E5B;
    float: right;
    font-size: 9px;
    box-shadow: none;
}

.alert-danger {
    background-color: #D4675E;
    border-color: #9A4A3F;
    color: #ffffff;
}

.alert-danger .btn-close {
    color: #ffffff;
    float: right;
    text-decoration: none;
    font-size: 9px;
    box-shadow: none;
}

.alert-warning {
    background-color: #F7EDA4;
    border-color: #CBC37D;
    color: #AA8A08;
}

.alert-warning .close {
    color: #AA8A08;
}

.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline {
    color: #BB0000;
}

.has-error .form-control {
    border-color: #BB0000;
}

.has-error .form-control::-moz-placeholder {
    color: #BB0000;
    opacity: 0.6;
}

.has-error .form-control::-webkit-input-placeholder{
    color: #BB0000;
    opacity: 0.6;
}

.has-error .form-control:-ms-input-placeholder {
    color: #BC7676;
}

.has-error .form-control:focus {
    border-color: #BB0000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #BC7676;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #BC7676;
}

.help-block {
    font-size: 12px;
    margin-bottom: 0;
}

.modal {
    overflow-y: auto;
    top: 200px;
}

.modal-header
{
    min-height: 54px;
    color: #053356;
    font-size: 24px;
    background-color: #e6e6e6;
    border: 1px solid #cdcccc;
    border-radius: 6px 6px 0 0;
    padding: 15px 18px 15px 18px;
}

.modal-header .modal-title
{
    line-height: 24px;
}

.modal-header .btn-close {
    color: #AAA;
    font-size: 10px;
    margin-top: 0;
    box-shadow: none;
}

.modal-footer {
    background-color: #fff;
    border-radius: 0 0 6px 6px;
    margin-top: 0;
    border-top-color: #fff;
    padding: 0 18px 20px 18px;
    text-align: center;
    justify-content: center;
}

.modal-body
{
    padding: 20px 18px 40px 18px;
}

.okButton {
    width: 46px;
}

.btn:focus {
    outline: 0;
}

.btn.btn-primary
{
    background-color: #085590;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    box-shadow: none;
}

.btn.btn-default
{
    background-color: #e6e6e6;
    border: 1px solid #cdcccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #085590;
    font-size: 14px;
    font-weight: normal;
}

.modal-footer .btn + .btn {
    margin-left: 16px;
}

.ml-4{
    margin-left: 4.5rem!important;
}

.btn:hover, .btn:focus, .btn:active, .btn.active{
    opacity: 0.8;
}

.modal-backdrop.in {
    opacity: .7;
    filter: alpha(opacity=70);
}

#changePasswordFormModal .modal-dialog .form-group
{
    padding: 0 0 0 0;
}

#changePasswordFormModal .modal-body
{
    padding: 20px 18px 10px 18px;
}

#setCredentialsFormModal .modal-body
{
    padding: 10px 18px 0px 18px;
}

#locationPermissionModal .modal-body
{
    padding: 20px 18px 20px 18px;
}

.modal .help-block {
    position: relative;
    top: -15px;
}

.modal-dialog .form-group label {
    line-height: 14px;
    font-size: 14px;
}

.modal-dialog .form-group select:active, .modal-dialog .form-group select:focus, .modal-dialog .form-group input:active, .modal-dialog .form-group input:focus
{
    border-color: #085590;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(8, 85, 144, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(8, 85, 144, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(8, 85, 144, 0.6);
}

.modal-dialog .form-group .display-table {
    height: 34px;
    padding-left: 0;
    padding-right: 0;
}

.display-table {
    display: table;
}

.display-table-cell {
    display: table-cell;
    vertical-align: middle;
}

.text-truncate {
    overflow: hidden;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Common styles */

.wrapper {
    height: auto !important;
    margin: 0 auto -36px;
    min-height: 100%;
}

.arrow-spinner {
    background: url("img/arrow-spinner.gif") no-repeat left center;
}

/* Login page styles */

div.outer {
    padding: 0;
    width: 100%;
    float: left;
    background-color: #fff;
    margin: auto;
}

div.outer-full {
    padding: 0;
    width: 100%;
    height: 100%;
    float: left;
    background-color: #fff;
    margin: auto;
}

#verification_factor.verification-div {
    background-color: white;
}

#loginFormCopyright
{
    margin: 12px auto 10px;
    width: auto;
    border: none;
    height: 10px;
    font-size: 10px;
    line-height: 10px;
    padding: 0 10px 0 0;
    text-align: center;
    color: #757575;

}

#loginFormContainer
{
    margin: 10px;
    width: auto;
    height: auto;
    border: 1px solid #cdcccc;
    border-radius: 4px;
    background-color: #f2f2f2;
    font-family: 'Open Sans', sans-serif;
    padding: 45px 40px 25px 40px;
}

#loginFormContainer .loginFormBlock {
    overflow: visible;
}

#loginFormContainer .loginFormBlock .rsa_title {
    float: left;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #5E7784;
    word-break: break-all;
    margin-bottom: 5px;
}

#loginFormContainer .loginFormBlock .customerDisplayName {
    border-left: 1px solid #aaa;
    color: #085590;
    float: left;
    font-size: 18px;
    margin-left: 5px;
    padding-left: 5px;
    padding-top: 3px;
    margin-right: -30px;
    text-overflow: clip;
    width: 160px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

span.fader {
    background: -moz-linear-gradient(0deg, rgba(242, 242, 242, 0) 0%, rgba(242, 242, 242, 1) 100%); /* ff3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(242, 242, 242, 0)), color-stop(100%, rgba(242, 242, 242, 1))); /* safari4+,chrome */
    background: -webkit-linear-gradient(0deg, rgba(242, 242, 242, 0) 0%, rgba(242, 242, 242, 1) 100%); /* safari5.1+,chrome10+ */
    background: -o-linear-gradient(0deg, rgba(242, 242, 242, 0) 0%, rgba(242, 242, 242, 1) 100%); /* opera 11.10+ */
    background: -ms-linear-gradient(0deg, rgba(242, 242, 242, 0) 0%, rgba(242, 242, 242, 1) 100%); /* ie10+ */
    background: linear-gradient(90deg, rgba(242, 242, 242, 0) 0%, rgba(242, 242, 242, 1) 100%); /* w3c */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2f2f2', endColorstr='#f2f2f2', GradientType=1); /* ie6-9 */
    top: 0;
    display: block;
    position: absolute;
    height: 30px;
    right: 0;
    width: 20px;
}

#loginFormContainer .loginFormBlock .title {
    font-family: "Verdana", "Open Sans", "Arial", sans-serif;
    color: #999;
    font-size: 16px;
    margin: 0 0 20px 0;
}

#loginFormContainer .loginFormBlock label
{
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
    line-height: 14px;
}

#loginFormContainer .loginFormBlock input
{
    height: 31px;
    margin-bottom: 25px;
}


#loginFormContainer .loginFormBlock input:focus, #loginFormContainer .loginFormBlock input:active
{
    border-color: #085590;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(8, 85, 144, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(8, 85, 144, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(8, 85, 144, 0.6);
}

#loginFormContainer .loginFormBlock button[type=submit]
{
    background-color: #085590;
    border-radius: 4px;
    border-width: 0;
    font-size: 16px;
    color: #fff;
    height: 40px;
    max-height: 40px;
    width: 160px;
    max-width: 160px;
    margin-top: 5px;
    margin-bottom: 30px;
    outline: none;
}

#loginFormContainer, .modal {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

/* IDP form */
#idp
{
    display: block;
    border-top: 1px solid #cdcccc;
    overflow: auto;
}

div.idp-label
{
    margin-top: 21px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 14px;
}

div.idp-list
{
    width: 100%;
    max-width: 100%;
}

div.idp-item {
    float: left;
    padding-top: 5px;
    padding-left: 2px;
    padding-right: 12px;
}

div.idp-item img
{
    width: 40px;
    height: 40px;
}

.link-symplified, .label-symplified
{
    color: #333;
    font-size: 9pt;
    font-weight: normal;
    text-decoration: none;
}

.label-symplified {
    padding-left: 10px;
}

.link-symplified:hover, .link-symplified:focus, .link-symplified:active
{
    color: #FCA532;
    text-decoration: none;
}



/*
Keychain settings page
*/

.topContentRow .btns-right {
    line-height: 40px;
    height: 40px;
    margin-bottom: 9px;
}

.topContentRow .btn:active, .topContentRow .btn.active {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.settingsAppList
{
    background-color: #f9f9f9;
    border: 1px solid #e6e6e6;
    border-left-width: 0;
    border-top-width: 0;
    border-radius: 6px 6px 6px 6px;
    margin: 0;
    padding: 0;
    width: 100%;
    display: table;
    position: relative;
}

#keychainEditForm
{
    float: left;
    display: table-cell;
    position: absolute;
    left: 120px;
    right: 0;
}

#keychainEditForm .header {
    border: 1px solid #e6e6e6;
    border-width: 1px 0 2px 1px;
    line-height: 24px;
    margin-left: -1px;
    padding: 5px 15px;
    text-align: center;
}

#keychainEditForm .header .title{
    margin: 0;
}

#keychainEditForm .control-group {
    line-height: 30px;
    margin-bottom: 10px;
}

#keychainEditForm .control-label {
    display: inline;
    margin-bottom: 0;
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
}

#keychainEditForm label.display-table-cell {
    height: 34px;
}

#keychainEditForm .button-row {
    margin-bottom: 20px;
}

#toggleKeychainEdit {
    margin-right: 5px;
    margin-bottom: 20px;
}

.settingsAppListColumn
{
    border-radius: 6px 0 0 6px;
    background-color: #e6e6e6;
    min-height: 240px;
    padding-top: 40px;
    width: 120px;
    float: left;
    display: table-cell;
}

.settingsAppListItem
{
    min-height: 120px;
    padding-top: 10px;
    border: 1px solid #e6e6e6;
    border-right-color: #e6e6e6;
    background-color: white;
    text-align: center;
}


.settingsAppListItem:nth-child(odd) {
    background-color: #efefef;
}

.settingsAppListItem:nth-child(even) {
    background-color: #f2f2f2;
}

.settingsAppListItem:nth-child(1) {
    border-top-left-radius: 6px;
}

.settingsAppListItem:nth-last-child(1) {
    border-bottom-left-radius: 6px;
    border-bottom-color: transparent;
}

.settingsAppListItem.active {
    background-color: #f9f9f9;
    border-right-color: transparent;
}

.settingsAppListItem a {
    text-decoration: none;
}

.settingsAppListItem p {
    color: #333F48;
}

.settingsAppListItem a:hover p, .settingsAppListItem a:focus p {
    color: #FCA532;
}

.settingsAppListItem img.settingsIcon
{
    width: 75px;
    max-width: 75px;
}

div.thumbnail img
{
    width: 75px;
}

div.btns-right button
{
    margin-left: 10px;
}

/* Main portal page */

.navbar-inverse .navbar-nav > li > a {
    color: #7e7e7e;
}

.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    color: #7e7e7e;
    background: transparent;
}


div.navbar.navbar-default.navbar-inverse
{
    border-radius: 0;
    margin: 0;
    padding: 0;
    background-color: #363636;
    background: transparent;
}

div.navbar-footer
{
    position: fixed;
    height: auto;
    bottom: 0;
    left: 0;
    right: 0;
}

button.navbar-toggle
{
    float: none;
}

.navbar-nav.navbar-right:last-child {
    margin-right: 15px !important;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus
{
    color: #7e7e7e;
    background-repeat: repeat-x;
}

a.dropdown-toggle:hover {
    cursor: pointer;
}

.dropdown-toggle::after{
    border-top: 6px solid #7e7e7e;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    vertical-align: 1px !important;
}
#topNavMenu {
    height: 40px;
    min-height: 39px;
    right: 0;
    border: 0;
    border-bottom: 1px;
    position: fixed;
    z-index: 3;
    top: 0;
    margin: 0;
    padding: 0;
}

#topNavMenuContent ul.nav li.vertical-divider
{
    height: 30px;
    margin: 5px 5px;
    border-left: 1px solid;
    border-right: 1px solid;
}

#topNavMenuContent .navbar-nav > li > a
{
    padding: 0;
    line-height: 40px;
    text-align: right;
}

#topNavMenuContent .navbar-nav > li > a.help-link
{
    height: 18px;
    color: #7e7e7e;
    margin-left: 10px;
    text-decoration: none;
}

#topNavMenuContent a.help-link span.icon-question
{
    font-size: 18px;
    height: 18px;
    color: #7e7e7e;
    line-height: 18px;
}

#topNavMenuContent li.dropdown span.icon-user6
{
    font-size: 18px;
    height: 18px;
    color: #7e7e7e;
    margin-left: 10px;
    margin-right: 5px;
}


.dropdown-item
{
    color: #7e7e7e;
    font-family: 'Open Sans', 'Arial', sans-serif;
    height: 30px;
    font-size: 12px;
    text-align: left;
    background-image: none;
    padding: 7px 10px 8px 10px;
}

.dropdown-item:active {
    color: #7e7e7e !important;
    text-decoration: none !important;
    background-color: #fff !important;
}

#topNavMenuContent .dropdown-menu li > a:hover, ul.dropdown-menu li > a:focus, ul.dropdown-submenu:hover > a
{
    background-image: none;
}

#topNavMenuContent .dropdown-menu li span
{
    margin-right: 10px;
    height: 14px;
    font-size: 14px;
}

#mainContent
{
    margin: 0;
    padding: 0 0 50px;
}


#mainContent .loader {
    bottom: 0;
    position: absolute;
    top: 75px;
    height: auto;
}

#mainContent .topContentRow
{
    display: inline-block;
    width: 100%;
    overflow-x: hidden;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 5px;
    min-height: 42px;
}

.mainWrapper
{
    margin: 0 auto 20px;
    width: 738px;
}

#mainContent .toggleViews
{
    max-width: 110px;
    width: 110px;
    padding: 0;
    float:right;
}

#mainContent .toggleViews a.btn
{
    padding-top: 5px;
}

#mainContent #welcomeText
{
    max-width: 400px;
    width: 400px;
    float:left;
    word-wrap: break-word;
    margin: 0;
    line-height: 38px;
    font-size: 24px;
    font-weight: bold;
    color: #012F55;
}

#mainContent .toggleViews span {
    color: #C2C2C2;
}

#mainContent .toggleViews .active {
    box-shadow: none;
    -webkit-box-shadow: none;
}

#mainContent .toggleViews a:hover span, #mainContent .toggleViews .active span {
    color: #7e7e7e;
}

#mainContent div.container-fluid
{
    width: 100%;
    height: auto;
    margin-top: 45px;
    margin-bottom: 5px;
    min-height: 80px;
}

#mainContent div#messages
{
    float:left;
    margin-left: 10px;
}

#mainContent div#messages .alert
{
    margin-bottom: 0;
    padding: 10px;
}

/*
Portal application list
*/

#appList.list-group-item
{
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
}

#appList .content
{
    display: none;
}
/*Begin list view*/

#appList.list-group-item .item .content {
    display: block;
}

#appList.list-group-item .item
{
    float: none;
    max-width: 100%;
    border-bottom: 1px solid #D1D1D1;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}
#appList.row list-group-item .hr {
    border-bottom: 1px solid #D1D1D1;

}

#appList.list-group-item .app-label
{
    display: none;
}

#appList.list-group-item .item:before,
#appList.list-group-item .item:after {
    display: block;
    content: " ";
}
#appList.list-group-item .item:after
{
    clear:both;
}

#appList.list-group-item .item div.content
{
    display: block;
    width: 90%;
    text-align: left;
    float:right;
}
#appList.list-group-item .item div.item-grid
{
    width: 10%;
    float:left;
}

#appList.list-group-item div.item:last-child {
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-width: 0;
}

#appList.list-group-item .item div.content .item-name
{
    color: #333F48;
    text-decoration: none;
    white-space: nowrap;
}

#appList.list-group-item .item div.content .item-name h3 {
    margin: 0 0 0 0;
}

#appList.list-group-item .item div.content .setKeychains
{
    color: #333F48;
    font-size: 14px;
    font-weight: normal;
    float: right;
    line-height: 22px;
    text-decoration: none;
}

#appList.list-group-item .item div.content .item-name:hover, #appList.list-group-item .item div.content .item-name:active {
    color: #1BA7BD;
    text-decoration: none;
}

#appList.list-group-item .item div.item-grid img
{
    min-width: 75px;
    max-width: 75px;
}

#appList.list-group-item .item div.content div.row div.appinfo
{
    padding-left: 80px;
}

#appList.list-group-item .item div.content div.row div.buttons
{
    text-align: center;
    padding-top: 5%;
    padding-bottom: 5%;
}

#appList.list-group-item .appinfo{
    height: 75px;
}

#appList.list-group-item .appinfo .item-name {
    float: left;
    line-height: 1.1;
}

/*End list view*/

#appListContainer {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 0;
    padding: 0;
    background-color: #fff;
    min-height: 122px;
}

#appList
{
    background-color: #fff;
    border-radius: 4px;
    margin: 0;
    padding: 10px 0 10px 0;
}

#appList div.item
{
    display: table;
    margin-top: 1em;
    padding-bottom: 2.4em;
    padding-left: 12px;
    padding-right: 12px;
}

#appList div.item-grid
{
    display: grid;
    text-align: center;
}

#appList div.item-grid.item-curved-border
{
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #D1D1D1;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 1px;
    padding-right: 1px;
}

#appList div.item-grid img
{
    width: 75px;
    max-width: 75px;
    height: 75px;
    max-height: 75px;
}

#appList div.item-grid a.app-label
{
    color: #000;
    font-size: 12px;
    right: 10px;
    left: 10px;
    top: 100px;
    overflow: hidden;
    text-decoration: none;
}

#appList div.item-grid a.app-label:hover, #appList div.item-grid a.app-label:focus, #appList div.item-grid a:hover + a
{
    color: #1BA7BD;
    text-decoration: none;
}

#bottomNavMenu {
    height: auto;
    background-color: #ffffff;
    border-width: 0;
    padding: 10px;
}


/* Strong auth page */

#loginFormContainer.strong-auth .lf-logoBlock img {
    height: 30px;
    max-height: 30px;
}

#loginFormContainer.strong-auth {
    margin-bottom: 25px;
    height: auto;
    width: 100%;
}

#loginFormContainer.strong-auth .loginForm {
    margin-bottom: 25px;
}

#loginFormContainer.strong-auth .lf-logoBlock{
    min-height: 80px;
}

#loginFormContainer.strong-auth h2.title {
    margin-top: 10px;
    margin-bottom: 20px;
}

#loginFormContainer label.display-table-cell {
    height: 34px;
    line-height: 16px;
}

#strongAuthForm a.link-symplified {
    color: #428BCA;
    font-size: 14px;
}

#strongAuthForm a.link-symplified:hover, #strongAuthForm a.link-symplified:focus {
    color: #FCA532;
}

#loginFormContainer.strong-auth .lf-formBlock {
    border-left: medium none;
    width: 100%;
}

#loginFormContainer.strong-auth .has-error .form-control {
    margin-bottom: 5px;
}

#dynamicContent {
    background-color: #fff;
}

.applicationImage {
    margin-left: 25px;
    margin-right: 25px;
}

/* Media queries for page layout changing depending on browser window width */

/* Media query for browsers narrower than 319px */
@media (max-width: 319px) {
    body {
        display: table;
    }

    .wrapper {
        display: table-row;
    }

    .modal-footer .btn + .btn {
        margin-left: 0;
        margin-top: 15px;
    }

    .modal-footer .btn {
        width: 100%;
    }

    #loginFormContainer {
        margin: 5px;
        padding: 25px 20px 25px 20px;
    }

    #topNavMenu {
        height: auto;
        position: relative;
    }

    #topNavMenu .navbar-nav {
        margin: 0 !important;
    }

    #topNavMenuContent li {
        float: left;
        width: 100%;
    }

    #topNavMenuContent li.dropdown {
        height: auto;
        padding-left: 0;
    }

    #userMenu {
        box-shadow: none !important;
    }

    #topNavMenuContent li.dropdown:hover, #topNavMenuContent li.dropdown.open {
        background-color: transparent;
        background-image: none;
    }

    #topNavMenuContent ul.dropdown-menu {
        border-top: 1px solid #1BA7BD;
        border-left: medium none;
        border-right: medium none;
        border-bottom: medium none;
        border-radius: 0;
        padding: 0;
        position: inherit;
        top: auto;
    }

    #topNavMenuContent ul.dropdown-menu li a {
        background-color: transparent;
    }

    #topNavMenuContent li.vertical-divider {
        display: none;
    }

    #topNavMenuContent .navbar-nav > li > a.help-link {
        height: 32px;
    }

    .navbar-nav .dropdown .dropdown-menu {
        font-size: 12px;
        margin: 0;
        padding: 0;
    }

    #mainContent .topContentRow {
        padding: 30px 20px;
    }

    .mainWrapper {
        width: auto;
    }

    #mainContent div#messages {
        width: 100%;
    }

    #mainContent .welcomeBlock {
        text-align: center;
    }

    #mainContent #welcomeText {
        float: none;
    }
}

/* Media query for iPhone/iPod browsers and higher */

@media (min-width: 320px) {
    .navbar-right {
        float: right !important;
        margin: 0;
        padding-left: 0;
    }

    .navbar-nav{
        margin: 0;
    }

    .navbar-nav > li {
        float: left;
        position: relative;
        display: block;
    }

    .navbar-nav .dropdown-menu li {
        float: left;
        width: 100%;
    }

    .navbar-nav .dropdown .dropdown-menu {
        background-color: #fff;
        border: 1px solid rgba(0, 0, 0, 0.15);
        position: absolute;
        -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
        -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
        left: auto;
        right: 0;
        padding: 0;
    }

    .navbar-nav.dropdown > .dropdown-menu {
        display: block;
    }

    .mainWrapper
    {
        padding: 0 10px;
        margin: 0;
        width: 100%;
    }

    div.thumbnail img
    {
        width: 50px;
    }
    #keychainEditForm .header {
        margin-bottom: 10px;
    }

    #mainContent div#messages {
        width: 100%;
        min-width: 0;
    }

    .modal-footer
    {
        margin-left: 0;
    }
}

/* Media query for iPhone 5/5s browsers */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation:landscape) {
    .toggleViews {
        display: none;
    }

    .modal-footer
    {
        margin-left: 0;
    }
}

/* Media query for smartphones and phablets */

@media only screen and (max-device-width: 736px), only screen and (max-height: 480px) {
    .modal {
        top: 20px;
    }
}

/* Media query for browsers equal or wider than 400px */
@media (min-width: 400px) {
    #mainContent #welcomeText {
        width: auto;
        max-width: none;
    }
    div.thumbnail img
    {
        width: 50px;
    }

    .modal-footer
    {
        margin-left: 0;
    }
}

/* Media query for browsers narrower than 480px */
@media only screen and (max-width: 480px) {
    #loginFormContainer .loginFormBlock .customerDisplayName {
        border-width: 0;
        margin-left: 0;
        padding-left: 0;
        width: 100%;
        max-width: 100%;
    }

    #loginFormContainer .loginFormBlock .title {
        margin: 0 0 10px;
    }

    #mainContent #welcomeText {
        width: auto;
        margin-bottom: 10px;
    }

    #topNavMenuContent .nav > li > a {
        font-size: 12px;
    }

    .company_description, .toggleViews {
        display: none;
    }

    .settingsAppListColumn {
        width: 90px;
    }

    #keychainEditForm {
        left: 90px;
    }

    .modal {
        top: 20px;
    }

    .modal-footer .btn {
        min-width: 60px;
    }

    #appList.list-group-item .item div.content .item-name {
        margin: 0 10px 10px 0;
    }

    #appList.list-group-item .item div.content .setKeychains {
        clear: both;
        float: left;
        margin: 0;
    }

    #appList.list-group-item .item div.item-grid {
        width: 75px;
    }

    #appList.list-group-item .item div.content {
        position: absolute;
        width: auto;
        left: 110px;
        right: 15px;
    }

    #appList.list-group-item .item div.content div.row div.appinfo {
        padding-left: 0;
    }

    .modal-footer {
        margin-left: 0;
    }

    .applicationImage {
        margin-left: 0px;
        margin-right: 25px;
    }
}

/* Media query for browsers equal or wider than 480px */
@media (min-width: 480px) {
    .mainWrapper {
        margin: 0 auto;
        width: 460px;
    }

    .modal-dialog {
        margin: 0 auto;
        width: 400px;
    }

    #loginFormContainer {
        margin: 40px auto 0;
        width: 400px;
    }

    #loginFormCopyright {
        width: 400px;
    }

    #loginFormContainer.strong-auth {
        width: 460px;
    }

    #setCredentialsFormModal .modal-dialog {
        width: 480px;
    }

    #locationPermissionModal .modal-dialog {
        width: 500px;
    }

    .modal-footer
    {
        margin-left: 0;
    }
}

/* Media query for browsers narrower than 568px */
@media (max-width: 568px) {

    .modal-footer
    {
        margin-left: 0;
    }
}

/* Media query for browsers narrower than iPad */
@media (max-width: 768px) {
    #loginFormContainer.strong-auth .lf-logoBlock {
        min-height: 0;
        padding-top: 0;
        width: 100%;
    }

    #loginFormContainer.strong-auth .lf-logoBlock .companyName {
        margin-top: 10px;
    }

    .modal-footer
    {
        margin-left: 0;
    }
}

/* Media query for iPad browsers and higher */
@media (min-width: 768px) {

    .topContentRow {
        display: flex !important;
        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -ms-flexbox !important;
    }

    #mainContent .welcomeBlock {
        display: inline-flex;
        display: -webkit-inline-flex;
        order: 1;
        -ms-flex-order: 1;
        -webkit-box-ordinal-group: 1;
        -webkit-order: 1;
        -ms-flex: 0 2 auto;
        -webkit-flex-grow: 0;
        margin-left: 15px;
        flex-grow: 0;
    }

    #mainContent .toggleViews {
        order: 3;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 3;
        -webkit-order: 3;
        min-width: 110px;
    }

    #mainContent div#messages {
        display: block;
        flex-grow: 2;
        -webkit-flex-grow: 2;
        order: 2;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 2;
        -webkit-order: 2;
        -webkit-flex: 4;
        -ms-flex: 2 2 auto;
        width: auto;
    }

    .mainWrapper {
        width: 748px;
        margin: 0 auto 20px;
    }

    .settingsAppListColumn {
        width: 120px;
        max-width: 120px;
    }


    #loginFormContainer {
        margin: 125px auto 0;
    }

    #keychainEditForm .header {
        margin-bottom: 60px;
    }

    #loginFormContainer.strong-auth {
        width: 780px;
    }

    #loginFormContainer.strong-auth .lf-formBlock {
        min-height: 217px;
    }
}

/* Media query for desktop browsers*/
@media (min-width: 992px) {
    .mainWrapper
    {
        width: 962px;
    }
}
