﻿* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100vh;
    max-width: 100vw;
    overflow: hidden;
    background-color: #f2f2f2
}

body {
    position: relative;
    width: 100%;
    /*min-width:1024px; */
    height: 100%;
    /*min-height:600px;*/
    padding: 0px;
    margin: auto auto;
    font-family: Helvetica, Segoe UI;
    font-size: 12px;
    /*-webkit-user-select: none;*/ /* disable cut copy paste */
    -webkit-touch-callout: none; /* disable callout, image save panel */
    -webkit-tap-highlight-color: transparent; /* "turn off" link highlight */
    overflow: hidden;
}

.rowNumber::before {
    counter-increment: table;
    content: counter(table);
    padding-left: 5px;
}

.grid {
    display: grid;
}

.gridJustityCenter {
    justify-content: center;
}

.relativeContainer {
    position: relative;
}

.absoluteScroll {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    overflow-y: auto;
}

.absoluteScroll2 {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    overflow-y: scroll;
}

.headerButton, headerButtonSelected {
    padding: 0px;
    height: 33px;
    margin-left: 4px;
}

.headerButtonSelected {
    color: white;
    background-color: grey;
    font-weight: bold;
}

.headerTitle {
    font-weight: 100;
    font-size: x-large;
}

.toolbarButton {
    padding: 0px;
    height: 25px;
    margin-right: 4px;
}

.divider {
    background-color: black;
}

.buttonActivated {
    color: green;
}

.ui-dialog-titlebar {
    display: none;
}

.bar1, .bar2, .bar3 {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-12px, 6px);
    transform: translate(0px, 10px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-12px, -6px);
    transform: translate(0px, -8px) rotate(45deg);
}

.SystemVMHeader {
    background-color: #333333;
    color: white;
}

.SystemVMHeaderDev {
    background-color: goldenrod;
    color: white;
    font-weight: bold;
}

@media screen and (min-width:0px) and (max-width: 1024px) {

    body {
        min-width: none !important;
        min-height: none !important;
    }

    .login-page {
        margin-top: 80px !important;
    }

    .ui-contextmenu {
        padding: 5px !important;
    }

    .ui-menu-item {
        padding: 5px !important;
    }

    #SystemVMHeaderLogo {
        display: none !important;
    }

    #MobileMenu {
        display: block !important;
    }

    #MainManagerVMMenu {
        display: none;
    }

    #SystemVMHeader {
        grid-template-columns: 40px 25px 1fr 70px !important;
        padding: 0px 8px !important;
        width: 100vw !important;
    }

    #SystemVMHeaderAccountPath, #SystemVMHeaderAccountControls {
        font-size: x-small !important;
    }

    #ContainerVMLeftDock {
        min-width: 350px !important;
    }

    #MainManagerVMMenu {
        background-color: #333 !important;
        width: 275px !important;
        height: auto !important;
        position: fixed !important;
        z-index: 4 !important;
    }

    #MainManagerVMMenuContainer {
        grid-gap: 10px !important;
        padding: 20px !important;
        color: white !important;
    }

        #MainManagerVMMenuContainer .selected .menuButton {
            color: black !important;
        }

        #MainManagerVMMenuContainer .menuButton {
            color: white !important;
            padding: 10px !important;
            width: 210px !important;
        }

    #AccountTree {
        height: 30px !important;
    }

    #AccountTreeHeader {
        grid-template-rows: 30px 1fr !important;
    }

    .ManagerVMContent {
        min-width: 850px !important;
    }

    #SessionManagerVM {
        min-width: 900px !important;
    }

    #SubscriptionManagerVM {
        min-width: 1300px !important;
    }

    #OrderManagerVMContent {
        min-width: 1200px !important;
    }

    #AccountControllerManagerVMContent {
        min-width: auto !important;
    }

    #QuickViewManagerVMContent {
        min-width: auto !important;
    }

    #SearchManagerVMContent {
        min-width: auto !important;
    }

    #AccountHistoryManagerVMContent {
        min-width: auto !important;
    }

    #MainManagerVMContent {
        min-width: auto !important;
    }

    #AccountCreationDialogVMHeader {
        width: 100% !important;
    }

    #AccountEditVMHeader {
        width: 100% !important;
    }

    #AccountEditVMDomain {
        width: 100% !important;
    }

    #AccountEditVMBillingAddress {
        width: 100% !important;
    }

    #AccountEditVMOther {
        width: 100% !important;
    }

    #AddressEditVMHeader {
        width: 100vw !important;
    }

    #OrderRenewalButtons {
        top: -5px !important;
        grid-template-columns: 40px 40px 40px 40px 1fr auto auto !important;
    }

    #OrderProductDescription {
        font-size: x-small !important;
    }

    #OrderCreationFooter {
        grid-auto-flow: column !important;
        grid-template-columns: auto 1fr 50px 17px 1fr auto 60px !important;
        overflow-x: auto !important;
    }

    #OrderEditFooter {
        grid-auto-flow: column !important;
    }
}

@media all and (min-width:1024px) {

    body {
        min-width: 1024px;
        min-height: 600px;
    }

    #MainManagerVMMenu {
        display: block;
    }
}

.ui-dialog {
    z-index: 1051 !important;
}

.pac-container {
    z-index: 1100 !important;
}

#busyDialog {
    z-index: 1200 !important;
}

/* ManagerVM */

.ManagerVM {
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    grid-template-areas: 'header' 'menu' 'toolbar' 'utilToolbar' 'content';
    width: 100%;
    height: 100%;
}

.ManagerVMHeader {
    display: grid;
    grid-area: header;
    grid-template-columns: 1fr auto auto auto auto auto;
    align-items: center;
    background-color: white;
    color: black;
    border-bottom: 4px solid black;
    height: 44px;
    margin-bottom: 4px
}

.ManagerVMMenu {
    grid-area: menu;
    align-items: center;
    height: 22px;
    margin-bottom: 4px;
    overflow: hidden;
}

.ManagerVMMenuContainer {
    /*display: inline-grid;*/
    grid-auto-columns: auto;
    grid-auto-flow: column;
    align-items: center;
}

.ManagerVMToolbar {
    grid-area: toolbar;
    align-items: center;
    height: 22px;
    margin-bottom: 4px
}

.ManagerVMUtilToolbar {
    grid-area: utilToolbar;
    align-items: center;
    height: 22px;
    margin-bottom: 4px
}

.ManagerVMToolbarContainer {
    display: inline-grid;
    grid-auto-columns: auto;
    grid-auto-flow: column;
    align-items: center;
}

.ManagerVMContent {
    grid-area: content;
    overflow-y: hidden;
    position: relative;
    max-height: 100%;
}

/* SystemVM */

#SystemVM {
    display: grid;
    grid-template-rows: 50px 1fr auto;
    grid-gap: 4px 4px;
    width: 100%;
    height: 100%;
    max-height: 100vh;
}

    #SystemVM.fullscreen {
        grid-template-rows: 1fr;
    }

#SystemVMHeader {
    display: grid;
    grid-template-columns: 300px 30px 1fr auto;
    align-items: center;
    height: 50px;
    grid-column-gap: 4px;
}

.pathPartContainer:first-child > .pathPartSlash {
    display: none
}

#SystemVMHeader.fullscreen {
    display: none;
}

#SystemVMHeaderSearch {
    display: grid;
    grid-template-columns: auto;
    grid-gap: 4px;
    align-items: center;
    padding-right: 30px
}

#SystemVMFooter {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    height: 25px;
    background-color: #333333;
}

    #SystemVMFooter.fullscreen {
        display: none;
    }

/* SessionManagerVM */

#SessionManagerVM {
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-areas: 'list content';
}

#SessionManagerVMTree {
    display: grid;
    grid-gap: 4px;
    grid-template-rows: 44px 22px 22px 1fr auto;
    grid-template-areas: 'header' 'search' 'search_toolbox' 'list' 'button';
    grid-area: list;
    padding-right: 4px;
}

#SessionManagerVMContent {
    height: 100%;
    grid-area: content;
}

#SessionVM {
    display: grid;
    grid-template-rows: auto 1fr;
}

#SessionVMHeader {
    display: grid;
    grid-template-columns: 1fr auto auto auto auto auto auto auto auto;
    grid-template-areas: 'A B C D E F G H I J';
    margin-bottom: 0px;
    border-bottom: 4px solid black;
    height: 44px;
    align-items: center;
}

#SessionVMContent {
    display: grid;
    grid-template-rows: 1fr auto;
    height: 100%;
}

/* SubscriptionManagerVM */

#SubscriptionManagerVMContent {
    display: grid;
    grid-template-rows: 2fr auto auto 1fr;
}



.table {
    position: relative;
    display: table;
}

.row {
    position: relative;
    display: table-row;
}

.cell {
    position: relative;
    display: table-cell;
}

.fullWidth {
    width: 100%;
}

.fullHeight {
    height: 100%;
}

.buttonLeft {
    background-color: lightgray;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

    .buttonLeft:hover {
        background-color: gray;
    }

.buttonRight {
    background-color: lightgray;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

    .buttonRight:hover {
        background-color: gray;
    }

.buttonCenter {
    background-color: lightgray;
}

    .buttonCenter:hover {
        background-color: gray;
    }

.buttonContainer {
    background-color: black;
    border-radius: 3px;
    display: grid;
    grid-gap: 1px;
    grid-auto-flow: column;
    align-self: center;
}

input[type="text"], input[type="number"], input[type="date"] {
    font-family: "Roboto", sans-serif;
    outline: 0;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0px;
    padding: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

input[type="password"] {
    font-family: "Roboto", sans-serif;
    outline: 0;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0px;
    padding: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

select {
    font-family: "Roboto", sans-serif;
    outline: 0;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0px;
    padding-left: 4px;
    box-sizing: border-box;
    font-size: 14px;
    height: 32px;
}

textarea {
    font-family: "Roboto", sans-serif;
    outline: 0;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-size: 14px;
}

input[type="button"], button {
    font-family: "Roboto", sans-serif;
    outline: 0;
    background: #33bbee;
    border: 0;
    padding: 8px;
    font-size: 14px;
    -webkit-transition: all 0.3 ease;
    transition: all 0.3 ease;
    cursor: pointer;
}

    input[type="button"]:not([disabled]):not(.selected):not(.selected2):not(.menuButton):hover, button:not([disabled]):not(.selected):not(.selected2):not(.menuButton):hover {
        background: #1188bb;
    }

    input[type="button"]:disabled, button:disabled {
        background: #DDDDDD;
        color: #AAAAAA;
    }
/*input[type="button"]:disabled:hover, button:disabled:hover {
    background: #DDDDDD;
    color: #AAAAAA;
}*/
input[type=date]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    display: none;
}

.oldInput {
    border: 1px solid gray;
    height: 21px;
    padding-left: 2px;
    padding-right: 2px;
    line-height: 21px;
    vertical-align: middle;
    margin: 0px;
}

.oldPassword {
    border: 1px solid gray;
    height: 21px;
    padding-left: 2px;
    padding-right: 2px;
    line-height: 21px;
    vertical-align: middle;
    margin: 0px;
}

selectOld {
    border: 1px solid gray;
    height: 21px;
    line-height: 21px;
    vertical-align: middle;
    margin: 0px;
}

.error {
    background-color: #ff5858
}

.error2 {
    color: #ff5858
}

.errorAndBold {
    color: #ff5858;
    font-weight: bold;
}

.transparent {
    background-color: transparent
}

.oddRow {
    background-color: #EEEEEE
}

.selected {
    background-color: #33bbee /*#85c5ff*/;
    color: black;
}

    .selected.disabled {
        background: #DDDDDD;
        color: #AAAAAA;
    }

    .selected > .menuButton {
        color: black;
    }

    .selected.disabled > .menuButton {
        color: #AAAAAA;
    }

.selected2 {
    background-color: darkgray;
}

.selected3 {
    color: #0B88E0;
}

.selected4 {
    background-color: lightgreen;
}

.unselected4 {
    background-color: lightgrey;
}

.hoverable:not(.selected) > .menuButton:disabled {
    background-color: transparent
}

.expanded {
    visibility: visible;
}

.hidden {
    display: none
}

.shown {
    display: block
}

.notVisible {
    visibility: hidden;
}

.visible {
    visibility: visible;
}

.shownInline {
    display: inline-block
}

.shownCell {
    display: table-cell
}

.pathPart {
    cursor: pointer;
    /*color:black;*/
}

    .pathPart:hover {
        color: #85c5ff;
    }




.gridHeader {
    grid-column-start: 1;
    grid-column-end: 3;
    /*text-align: center;*/
    line-height: 50px;
    font-size: x-large;
    padding-left: 158px;
}

.gridSpan {
    grid-column-start: 2;
    grid-column-end: 3;
    line-height: 50px;
    padding-left: 10px;
}

.gridLeft {
    grid-column-start: 1;
    grid-column-end: 2;
    line-height: 50px;
}

.gridLabel {
    text-align: right;
    padding-right: 10px;
    font-weight: bold;
    font-size: larger;
}

.gridRight {
    grid-column-start: 2;
    grid-column-end: 3;
    line-height: 50px;
    padding-left: 10px
}

.gridCell3 {
    grid-column-start: 3;
    grid-column-end: 4;
    line-height: 50px;
    padding-left: 10px;
}

.gridFooter {
    grid-column-start: 1;
    grid-column-end: 3;
    text-align: center;
    line-height: 50px
}




.floating {
    position: relative;
    top: 0px;
    left: 0px;
    bottom: 0px;
    display: block;
    width: 250px;
    height: 100%;
    overflow: auto;
}

.floating2 {
    position: absolute;
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 210px
}

.floatingRight {
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    width: 404px
}

.floating2Hidden {
    position: relative;
    display: none;
}

.menuButton {
    font-weight: 500;
    font-size: 14px;
    padding: 3px 8px 3px 2px;
    margin: 0px 0px 0px 0px;
    text-align: center;
    border: 0px;
    cursor: pointer;
    color: black;
}

.disabled:not(.selected) > .menuButton {
    color: #AAAAAA;
}

.menuButton:hover {
    /*background-color:lightgray;
    color:black;*/
}

.hoverable:not(.disabled):not(.selected):not(.selected2):hover {
    background-color: lightgray;
    color: black;
}

.notHoverable:hover {
}

div:disabled {
    color: lightgray;
}

.shadow {
    -moz-box-shadow: 0 0 5px 5px #CCC;
    -webkit-box-shadow: 0 0 5px 5px #CCC;
    box-shadow: 0 0 5px 5px #CCC;
}

.hoverable:not(.selected):hover {
    background-color: #EEEEEE;
}

.item:not(.disabled):not(.selected):not(.selected2):hover {
    background-color: lightgray;
    color: black;
}

.tableLabel {
    width: 250px
}

.tableValue {
    width: 300px
}

.headerLabel {
    font-family: Helvetica, 'Segoe UI';
    font-size: 12px;
    text-align: center
}

.titleLabel {
    font-size: 9px;
    padding-left: 8px;
    padding-right: 8px;
}

.valueLabel {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    pointer-events: none;
    background: none !important;
    padding-left: 8px;
    padding-right: 8px;
}

.unitsLabel {
    font-size: 8px;
    text-align: center;
    color: #808080;
    width: 48px;
    pointer-events: none;
    background: none !important;
    padding-left: 8px;
    padding-right: 8px;
    text-wrap: none;
    white-space: nowrap;
}

.label {
    font-family: Helvetica, 'Segoe UI';
    font-size: 10px;
    text-align: center;
}

.disabled {
    color: lightgray;
}

.disabled2 {
    color: gray;
}

.domainStart {
    background-image: url('../Images/icons/domainStart3.png');
    background-repeat: no-repeat;
    background-size: 25px 50px;
}

.domainMid {
    background-image: url('../Images/icons/domainMid3.png');
    background-repeat: repeat-y;
    background-size: 25px;
}

a[href^="tel:"] {
    color: black;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 3px;
}

.flexColCon {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-justify-content: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -ms-align-items: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
    -ms-align-content: stretch;
    -webkit-align-content: stretch;
    align-content: stretch;
}

.flexRowCon {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-justify-content: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -ms-align-items: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
    -ms-align-content: stretch;
    -webkit-align-content: stretch;
    align-content: stretch;
}

.flexChild {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: 0;
    -webkit-flex-order: 0;
    order: 0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    -ms-align-self: auto;
    -webkit-align-self: auto;
    align-self: auto;
}

.flexChildFill {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: 0;
    -webkit-flex-order: 0;
    order: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    -ms-align-self: auto;
    -webkit-align-self: auto;
    align-self: auto;
    position: relative;
    min-height: 1px;
}

a[disabled] {
    pointer-events: none;
    color: gray;
}

button {
    -webkit-appearance: button;
    cursor: pointer;
}

.panelHeader {
    background-color: white;
    color: black;
    height: 40px;
    min-height: 40px;
    line-height: 40px;
    vertical-align: middle;
    border-bottom: 4px solid black;
}

.panelSubHeader {
    background-color: #999999;
    color: black;
    height: 20px;
    min-height: 20px;
    line-height: 20px;
    vertical-align: middle;
    padding-left: 4px;
}

.columnHeader {
    height: 25px;
    line-height: 25px;
    font-size: 13px;
    font-weight: bold;
    margin-right: 4px;
    padding-left: 5px;
    background-color: lightgray;
    vertical-align: middle;
    cursor: pointer;
}

    .columnHeader:last-child {
        margin-right: 0px;
    }

.columnHeaderTextBox {
    padding: 0px !important;
    line-height: 21px;
}

.columnHeaderSelect {
    padding: 0px !important;
    line-height: 21px;
}

.columnFilter {
    height: 25px;
    line-height: 25px;
    font-size: 13px;
    margin-right: 4px;
    vertical-align: middle;
}

.tableCol {
    padding-right: 4px;
}

    .tableCol:last-child {
        padding-right: 0px;
    }

.columnFooter {
    height: 25px;
    line-height: 25px;
    font-size: 13px;
    font-weight: normal;
    padding-left: 5px;
    padding-right: 5px;
    background-color: lightgray;
    vertical-align: middle;
}

.last {
    margin-right: 0px
}

.columnCell {
    display: grid;
    align-items: center;
    height: 25px;
    line-height: 25px;
    font-size: 13px;
    font-weight: normal;
    margin-right: 4px;
    vertical-align: middle;
    user-select: none;
}

    .columnCell:last-child {
        margin-right: 0px;
    }

div.columnCell > div {
    height: 21px;
    line-height: 21px;
    padding: 0px;
    padding-left: 5px;
}

.columnCellCenter {
    display: grid;
    align-items: center;
    height: 25px;
    line-height: 25px;
    font-size: 13px;
    font-weight: normal;
    margin-right: 4px;
    vertical-align: middle;
    user-select: none;
}

div.columnCellCenter > div {
    height: 21px;
    line-height: 21px;
    padding: 0px;
    padding-left: 0px;
}

div.columnCellCenter > input {
    height: 21px;
    line-height: 21px;
    padding: 0px;
    text-align: center;
}

div.columnCell > input {
    height: 21px;
    line-height: 21px;
    padding: 0px;
    padding-left: 5px;
}

#tableRowVMTemplate:hover {
    background-color: #3EBBFF;
    color: black;
}

#tableRowVMTemplate.oddRow:hover {
    background-color: #3EBBFF;
    color: black;
}

.btn-group, .btn-group-vertical {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

    .btn-group > .btn, .btn-group-vertical > .btn {
        position: relative;
        float: left;
    }

        .btn-group > .btn:hover, .btn-group-vertical > .btn:hover, .btn-group > .btn:focus, .btn-group-vertical > .btn:focus, .btn-group > .btn:active, .btn-group-vertical > .btn:active, .btn-group > .btn.active, .btn-group-vertical > .btn.active {
            /*z-index: 2;*/
        }

        .btn-group > .btn:focus, .btn-group-vertical > .btn:focus {
            outline: 0;
        }

    .btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group {
        margin-left: -1px;
    }

.btn-toolbar {
    margin-left: -5px;
}

    .btn-toolbar .btn-group, .btn-toolbar .input-group {
        float: left;
    }

    .btn-toolbar > .btn, .btn-toolbar > .btn-group, .btn-toolbar > .input-group {
        margin-left: 5px;
    }

.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
    border-radius: 0;
}

.btn-group > .btn:first-child {
    margin-left: 0;
}

    .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

.btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-group > .btn-group {
    float: left;
}

    .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
        border-radius: 0;
    }

    .btn-group > .btn-group:first-child > .btn:last-child, .btn-group > .btn-group:first-child > .dropdown-toggle {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .btn-group > .btn-group:last-child > .btn:first-child {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

.btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle {
    outline: 0;
}

.btn-group > .btn + .dropdown-toggle {
    padding-right: 8px;
    padding-left: 8px;
}

.btn-group > .btn-lg + .dropdown-toggle {
    padding-right: 12px;
    padding-left: 12px;
}

.btn-group.open .dropdown-toggle {
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

    .btn-group.open .dropdown-toggle.btn-link {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.btn .caret {
    margin-left: 0;
}

.btn-lg .caret {
    border-width: 5px 5px 0;
    border-bottom-width: 0;
}

.dropup .btn-lg .caret {
    border-width: 0 5px 5px;
}

.btn-group-vertical > .btn, .btn-group-vertical > .btn-group, .btn-group-vertical > .btn-group > .btn {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
}

    .btn-group-vertical > .btn-group > .btn {
        float: none;
    }

    .btn-group-vertical > .btn + .btn, .btn-group-vertical > .btn + .btn-group, .btn-group-vertical > .btn-group + .btn, .btn-group-vertical > .btn-group + .btn-group {
        margin-top: -1px;
        margin-left: 0;
    }

    .btn-group-vertical > .btn:not(:first-child):not(:last-child) {
        border-radius: 0;
    }

    .btn-group-vertical > .btn:first-child:not(:last-child) {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .btn-group-vertical > .btn:last-child:not(:first-child) {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 4px;
    }

    .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
        border-radius: 0;
    }

    .btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.btn-group-justified {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
}

    .btn-group-justified > .btn, .btn-group-justified > .btn-group {
        display: table-cell;
        float: none;
        width: 1%;
    }

        .btn-group-justified > .btn-group .btn {
            width: 100%;
        }

        .btn-group-justified > .btn-group .dropdown-menu {
            left: auto;
        }

.gridStyle {
    border: 1px solid rgb(212,212,212);
    width: 100%;
    height: 100%;
}
