@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 0px;
    min-height: 100%;
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.invalid {
    border: 2px solid red !important;
}

.validation-message {
    color: red;
}

.pageTile {
    font-size: 20px;
    font-weight: 500;
    margin-top: 20px;
    border-bottom: solid 1px;
    padding-bottom: 10px;
}

.pageBody {
    color: rgba(0,0,0,.87);
    margin-top: 10px;
    line-height: 20px;
}

.pageLabel {
    margin-top: 10px;
    margin-bottom: 10px;
}

.pageLabelBold {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

.pageLabelError {
    margin-top: 10px;
    margin-bottom: 10px;
    color: red;
}

.marginButton {
    margin-top: 10px;
    margin-bottom: 30px;
}

.pageNumberButtonSelected {
    background-color: white;
    border: solid;
    color: #3f51b5;
    text-align: center;
    font-weight: bold;
    display: inline-block;
    border-radius: 4px;
    cursor: pointer;
}

.pageNumberButton {
    background-color: #3f51b5;
    border: solid;
    color: white;
    text-align: center;
    font-weight: bold;
    display: inline-block;
    border-radius: 4px;
    cursor: pointer;
}

.pageNumberButton:hover {
    background-color: #3145b5;
}

.pageNumberButton:focus {
    outline: 0;
}

.pageButtonWebsite {
    background-color: white;
    color: dimgrey;
    padding: 7px 20px;
    text-align: center;
    display: inline-block;
    border-radius: 4px;
    cursor: pointer;
    border-color: black;
    border-style: solid;
    border-width: 1px;
}
    .pageButtonWebsite:hover {
        color: black;
    }

.pageButtonWebsite:focus {
    outline: 0;
}

.pageButtonWebsite[disabled]:hover {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #666666;
    cursor: default;
}

.pageButton {
    background-color: #3f51b5;
    color: white;
    padding: 7px 20px;
    text-align: center;
    display: inline-block;
    border-radius: 4px;
    cursor: pointer;
    border-color: #3f51b5;
    border-style: solid;
    border-width: 1px;
}

.pageButton:hover {
    background-color: white;
    color: #3f51b5;

}

.pageButton:focus {
    outline: 0;
}

.pageButton[disabled]:hover {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #666666;
    cursor: default;
}

.pageButtonSelected {
    background-color: white;
    border: 1px solid white !important;
    color: #3f51b5;
    padding: 7px 20px;
    text-align: center;
    font-weight: bold;
    display: inline-block;
    border-radius: 4px;
    cursor: pointer;
}

.pageButtonSelected {
    background-color: silver;
}
.pageButtonSelected:focus {
    border-color: red !important;
    border-width: 1px;
    border-style: solid;
}

.labelRed {
    color: red;
}

button:disabled,
button[disabled] {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #666666;
}

/* Search AutoComplete */
.TableSearch {
    cursor: pointer;
    padding: 10px;
}

.TableSearch:hover {
    cursor: pointer;
    background-color: lightgray;
    font-weight: bold;
}

.TextBox:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(0, 123, 64);
}


.TextBox {
    width: 95%;
    padding: 5px;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.TextBoxDisabled {
    width: 95%;
    padding: 5px;
    color: #495057;
    background-color: lightgray;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.TextBox[disabled] {
    padding: 5px;
    color: #495057;
    background-color: lightgray;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}


.TextBoxWidth {
    width: 95%;
    margin-top: 5px;
}

.TextBoxInvalid {
    border: 2px solid red !important;
    box-shadow: none;
}

.TextBoxNumber {
    width: 100px;
    text-align: right;
}


textarea {
    width: 95%;
    height: 100px;
}

textarea:focus {
    background-color: gainsboro;
}

input:invalid {
    border: solid 2px red;
}



/*spinner*/
.loader-block {
    display: block;
    position: absolute;
    width: 200px;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: calc(50% - 140px);
    text-align: center;
    z-index: 999;
}

.loader {
    border: 16px solid#3f51b5;
    border-top: 16px solid ForestGreen;
    border-right: 16px solid white;
    border-bottom: 16px solid crimson;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*spinner*/

input[type='checkbox'] {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 2px solid lightgray;
    padding: 5px;
}

input[type='checkbox']:checked {
    background-color: #3f51b5;
}

input[type='checkbox']:focus {
    background-color: gainsboro;
}

input[type='checkbox']:hover {
    border: 2px solid lightblue;
}

/*component - begin */
.component-header {
    padding: 0 26px 0;
}

.component-body {
    padding: 0 26px 0;
}

.component-title {
    margin: 10px;
    font-size: 15px;
    font-weight: bold;
}

.component-table-title {
    margin: 5px 0px 5px 0px;
    font-weight: bold;
}

.component-table-row {
    align-items: flex-start;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
    margin-bottom: 8px;
    padding-top: 5px;
    //word-break: break-all;
    -ms-word-break: break-all;
    word-break: break-all;
    /* Non standard for WebKit */
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    line-height: 20px;
}

/* component - end */

/* drag & drop - begin */
.dragModuleClass {
    border: 2px dashed #75868a;
    margin: 1px;
    padding: 10px;
}

.dropzoneBase {
    padding: 0px;
    border: 1px dashed #75868a;
    list-style: none;
}

.dropzone {
    /* empty for future development, it is inside the @BaseClass of the PaneComponent and init on the DbInitializer.  */
}

.no-drop {
    border: 2px dashed red;
}

.can-drop {
    border: 2px dashed green;
}

.can-drop-module {
    border: 2px dashed blue;
}

.draggable {
    margin-bottom: 20px;
    padding: 10px 25px;
    border: 1px solid #424d5c;
    cursor: grab;
    background: #5c6b7f;
    color: #ffffff;
    border-radius: 5px;
    width: 250px;
}

.draggable:active {
    cursor: grabbing;
}

.dragging {
    cursor: grabbing;
}

.no-left-border {
    border-left-style: none;
}
.no-top-border {
    border-top-style: none;
}

/* grag & drop - end */

/* Quill Editor Link */
.ql-editing {
    margin-left: 35px;
}

/* Add Module Class*/
.AddModule {
    font-size: 20px;
    cursor: grab;
    border: solid 1px black;
    margin: 15px;
    padding: 15px;
}

.EditImageSelected {
    border: solid 3px red;
}

.EditImageDeselected {
    border: solid 1px black;
}

.TemplatesSize {
    height: 50px;
    width: 85px;
}

.TemplateMarginTop {
    margin-top: 20px;
}

/* Customer nav-bar for TisWebsite Component - begin */


/* Customer nav-bar for TisWebsite Component - end */

.pageButtonNavigation {
    background-color: #3f51b5;
    border: none;
    color: white;
    padding: 4px 20px;
    text-align: center;
    font-weight: bold;
    display: inline-block;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    margin-left: 5px;
    margin-top: 5px;
}

.pageButtonNavigation:hover {
    background-color: #3145b5;
}

.pageButtonNavigation:focus {
    outline: 0;
}

/* fix --> Link tooltip cut off by edge of editor */
.ql-tooltip {
    left: 0px !important;
}

/* classes for templates - begin */
.no-top-border {
    border-top-style: none;
}

.no-top-left-border {
    border-left-style: none;
    border-top-style: none;
}

.no-left-border {
    border-left-style: none;
}

/* classes for templates - end */


/* classes for shopping cart module - begin */
.shop-price {
    font-size: 33px;
    font-weight: bold;
}

.shop-product-title {
    font-size: 24px;
    font-weight: 500;
    margin-top: 20px;
    border-bottom: solid 1px;
    padding-bottom: 10px;
}

.checkout-product-title {
    font-size: 24px;
    font-weight: 500;
    margin-top: 5px;
    padding-bottom: 5px;
}

.shop-padding {
    margin-top: 10px;
    margin-bottom: 10px;
}

.shop-desc {
    font-size: 16px;
}

.shop-qty {
    text-align: left;
    margin-bottom: 5px;
    margin-top: 5px;
}

/* classes for shopping cart module - end */
.doc-image {
    border-style: double;
    border-color: black;
}
