/* app css stylesheet */

/*====================================
OVERRIDES
====================================*/
div.altai-scope { font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; }
.altai-scope .btn {
    text-transform: uppercase;

}

.altai-scope .panel-heading {
    border-bottom-color: #dddddd;
    border-bottom-width: 2px;
}
.altai-scope .panel-default {
    border-width: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
}


/*====================================
WEB FORM
====================================*/
input.ng-invalid,
textarea.ng-invalid,
select.ng-invalid {
    border-left: 4px solid red !important;
}

.lookup-paging {
    margin-top: -40px;
}

.lookup-paging .pagination-page {
    display: none !important;
}

/* Add row highlight to selected rows. */
.altai-scope .table.table-striped > tbody > tr.ui-select-highlight > td {
    background-color: #55aaff;
}

/*====================================
STORE TOP MENU
====================================*/
#store-top-menu {
    list-style: none;
    border-bottom: 0.1em dotted #dedede;
    margin-bottom: 2em;
    padding: 0 0 15px;
}

    #store-top-menu > li {
        display: inline;
    }

        #store-top-menu > li > a.btn {
            min-width: 80px;
        }

/*====================================
STORE SIDEBAR
====================================*/
.widget {
    margin-bottom: 40px;
}

.widget-area .widget-title > strong {
    text-transform: uppercase;
}

.widget-area p.widget-text-center { text-align: center; }

.widget-area ul.categories {
    list-style: none;
    padding: 0;
    font-size: 12px;
}

    .widget-area ul.categories > li {
        margin-bottom: 10px;
    }

        .widget-area ul.categories > li > a {
            display: block;
            color: #000;
            font-weight: bold;
        }

        .widget-area ul.categories  li a:hover {
            color: dodgerblue;
        }

.widget-area ul.sub-categories {
    list-style: none;
    padding: 0;
}

    .widget-area ul.sub-categories > li {
        padding-left: 1em;
        text-indent: -1em;
    }

    .widget-area ul.sub-categories li > a {
        display: block;
        color: #000;
    }

#btn-search {
    padding: 6px 12px;
}


/*====================================
PRODUCT DETAIL
====================================*/
.product h2.product-title { margin-top: 0; }
.product .product-image { margin-bottom: 20px; }
.product > .product-action { margin: 5px 0 0; }

.product ol.registration-steps { margin: 0; padding: 0; }
.product ol.registration-steps > li { color: #ccc; display: inline-block; margin-right: 25px; font-weight: bold; }
.product ol.registration-steps > li.active { color: #000; font-weight: bold; }

#quantity-container {
    width: 100px;
}
#donation-amount-container {
    max-width: 400px;
}

/*====================================
PRODUCTS
====================================*/
h1.page-title {
    font-size: 1.25em;
    font-weight: bold;
    border-bottom: 2px solid #808080;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

#product-area ul.products {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-grid .img-responsive.product-image {
    display: inline;
}

#descriptionDialog > .modal-dialog { z-index: 2000; }

#product-area {
    overflow: auto;
    margin-bottom: 50px;
}

    #product-area.product-grid li.product > .product-inner {
        border-bottom: 2px solid #dedede;
        text-align: center;
        padding: 30px 0;
    }

        #product-area.product-grid li.product > .product-inner > p {
            margin: 15px 0;
        }
        #product-area.product-grid li.product > .product-inner > p.product-title {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    #product-area.product-list li.product {
        overflow: hidden;
        border-bottom: 1px solid #dedede;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

.pagination { text-align: center; }

/*====================================
CART
====================================*/
#sc-list-header {
    border-top: 1px solid #dedede;
    padding-top: 10px;
    background-color: #fafafa;
    overflow: auto;
}

#sc-list-header, #sc-list-body {
    overflow: auto;
    padding-bottom: 10px;
    border-bottom: 1px solid #dedede;
    font-weight: bold;
}

.sc-list-item-total,
.align-right {
    text-align: right;
}

.sc-list-item {
    margin-top: 15px;
    margin-bottom: 20px;
}

#sc-list-totals, #sc-action {
    padding: 15px 15px 0;
    overflow: auto;
}

#sc-action {
    margin-bottom: 20px;
}

/*====================================
UTILITY
====================================*/
.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

/*====================================
LOADING BAR
====================================*/

/* Make clicks pass-through */
#loading-bar,
#loading-bar-spinner {
    pointer-events: none;
    -webkit-pointer-events: none;
    -webkit-transition: 350ms linear all;
    -moz-transition: 350ms linear all;
    -o-transition: 350ms linear all;
    transition: 350ms linear all;
}

    #loading-bar.ng-enter,
    #loading-bar.ng-leave.ng-leave-active,
    #loading-bar-spinner.ng-enter,
    #loading-bar-spinner.ng-leave.ng-leave-active {
        opacity: 0;
    }

        #loading-bar.ng-enter.ng-enter-active,
        #loading-bar.ng-leave,
        #loading-bar-spinner.ng-enter.ng-enter-active,
        #loading-bar-spinner.ng-leave {
            opacity: 1;
        }

    #loading-bar .bar {
        -webkit-transition: width 350ms;
        -moz-transition: width 350ms;
        -o-transition: width 350ms;
        transition: width 350ms;
        background: #29d;
        position: fixed;
        z-index: 10002;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        border-bottom-right-radius: 1px;
        border-top-right-radius: 1px;
    }

    /* Fancy blur effect */
    #loading-bar .peg {
        position: absolute;
        width: 70px;
        right: 0;
        top: 0;
        height: 2px;
        opacity: .45;
        -moz-box-shadow: #29d 1px 0 6px 1px;
        -ms-box-shadow: #29d 1px 0 6px 1px;
        -webkit-box-shadow: #29d 1px 0 6px 1px;
        box-shadow: #29d 1px 0 6px 1px;
        -moz-border-radius: 100%;
        -webkit-border-radius: 100%;
        border-radius: 100%;
    }

#loading-bar-spinner {
    display: block;
    position: fixed;
    z-index: 10002;
    top: 10px;
    left: 10px;
}

    #loading-bar-spinner .spinner-icon {
        width: 14px;
        height: 14px;
        background-color: rgba(255,255,255,.9);
        border: solid 2px transparent;
        border-top-color: #29d;
        border-left-color: #29d;
        border-radius: 50% !important;
        -webkit-animation: loading-bar-spinner 400ms linear infinite;
        -moz-animation: loading-bar-spinner 400ms linear infinite;
        -ms-animation: loading-bar-spinner 400ms linear infinite;
        -o-animation: loading-bar-spinner 400ms linear infinite;
        animation: loading-bar-spinner 400ms linear infinite;
    }

@-webkit-keyframes loading-bar-spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes loading-bar-spinner {
    0% {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes loading-bar-spinner {
    0% {
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-ms-keyframes loading-bar-spinner {
    0% {
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loading-bar-spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.vertical-align-center {
    display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;

	align-items: center;
}

.horizontal-align-center {
    display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

/*====================================
BOOTSTRAP glyphicon refresh animation
====================================*/

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
    -webkit-animation: spinw .7s infinite linear;
    -moz-animation: spinm .7s infinite linear;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spinw {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spinm {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}