@font-face {
    font-family: bankgothic;
    src: url('/fonts/BNKGOTHM.TTF');
}

[ta-button] {
    height: 44px;
    margin-bottom: 5px;
}

html {
    overflow-y:auto;
    position: relative;
    min-height: 100%;
}

body {
    font-family: Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    margin-bottom: 55px;
}

.pointer {
    cursor:pointer;
}
ul.sidebar .sidebar-list.active a {
    color: #fff;
    border-left: 3px solid #e99d1a;
    text-indent: 22px;
    background: rgba(0,0,0,0.1);
}

ul.sidebar .sidebar-list.active a .menu-icon {
    text-indent: 25px;
}

input.readonly {
    background: transparent;
    border:none;
}

.page-header {
    padding-bottom: 10px;
    margin: 40px 0 20px;
    border-bottom: 2px solid #30426a;
    text-transform: uppercase;
    color: #767676;
}

.page-header.top {
    margin-top:20px;
}

.row.header .user>.item {
    width: auto;
    float:none;
    margin-right:10px;
}

.row.header .user>.item a {
    color: #777;
}

.row.header .user>.item a:hover {
    text-decoration: none;
}

.ajax-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 998;
}

.ajax-loader i {
    position: absolute;
    top: 48%;
    left: 48%;
    font-size: 30px;
    color: #81C240;
}

.profile.dropdown-menu {
    right: 0;
    left:auto;
}

/*.btn-primary {
    color: #fff;
    background-color: #596787;
    border-color: #596787;
}

.btn-primary:hover {
    color: #fff;
    background-color: #445478;
    border-color: #204d74;
}*/

/* The starting CSS styles for the enter animation */

.ajax-loader.ng-enter {
  transition:0.1s linear all;
  opacity:0;
}

/* The finishing CSS styles for the enter animation */
.ajax-loader.ng-enter.ng-enter-active {
  opacity:1;
}

.ajax-loader.ng-leave {
  transition:0.1s linear all;
  opacity:1;
}
.ajax-loader.ng-leave.ng-leave-active {
  opacity:0;
}

.fade-effect.ng-enter {
  transition:0.2s linear all;
  opacity:0;
}

/* The finishing CSS styles for the enter animation */
.fade-effect.ng-enter.ng-enter-active {
  opacity:1;
}

.fade-effect.ng-leave {
  transition:0.2s linear all;
  opacity:1;
}
.fade-effect.ng-leave.ng-leave-active {
  opacity:0;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.btn {
    font-size:13px;
    border-radius: 3px;
}

.alert {
    margin-bottom: 0;
}

table.table-bordered.salesorder {
    margin-bottom: 0;
    border:none;
}

table.salesorder tr.header {
    background: #FFD6D6;
}

table.salesorder tr.sizegroup {
    background: #E3FFFF;
}

table.salesorder tr.productstock {
    background: #FFFFD7;
}

table.salesorder tr.stockorder {
    background: #DEBBFF;
}

table.salesorder input {
    padding-right:1px;
}


footer.content-footer {
    position: absolute;
    bottom: 1px;
    width: 100%;
    height: 55px;
    padding: 0 20px;
    border-top: 1px solid rgba(0,0,0,.07);
    font-size: 12px;
}

footer.content-footer nav ul {
    transition: all .4s ease 0s;
    padding-left:60px;
    list-style: none;
    margin: 0;
    font-weight: 400;
}

footer.content-footer.open nav ul {
    padding-left:240px;
}

footer.content-footer nav ul li {
    display: inline-block;
    vertical-align: -webkit-baseline-middle;
}

footer.content-footer nav ul li a {
    color: #616161;
    line-height: 20px;
    max-height: 55px;
    padding: 18px 10px;
}

.fixed_menu {
    transition: all .4s ease 0s;
    position: fixed;
    top: 0;
    left: 60px;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 10px -3px 10px #000;
    line-height: 60px;
}

.fixed_menu.open {
    left:240px;
}

.fixed_menu.row>div {
    margin-bottom: 0;
}

.postatus.ng-enter {
  transition:0.2s linear all;
  opacity:0;
}

/* The finishing CSS styles for the enter animation */
.postatus.ng-enter.ng-enter-active {
  opacity:1;
}

.postatus.ng-leave {
  transition:0.2s linear all;
  opacity:1;
}
.postatus.ng-leave.ng-leave-active {
  opacity:0;
}

.search_container {
    width:400px;
}

.search_container button {
    padding:7px 12px;
}

.tab-content>.tab-pane {
    padding-top:40px;
}

.form-control:focus, .ta-root.focussed > .ta-scroll-window.form-control {
    border-color: #7ce520;
}

.angucomplete-dropdown {
    max-height: 400px;
    overflow: overlay;
    width: 100%;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #81C240;
    border-color: #81C240;
}

.pagination>li>a, .pagination>li>span {
    color:#81C240;
}

.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
    color:#52b70b;
}

a {
    color:#52b70b;
}

a:focus, a:hover {
    color:#52b70b;
}

.main-image-container {
    list-style:none;
    margin-left: -40px; 
    margin-top: 20px;
}

.image-container {
    position:relative;
    width:228px;
    float:left;
    margin-right:20px;
}

.image-container:last-child {
    margin-right:0;
}

.image-container img {
    max-height: 160px;
}

.as-sortable-item {
    border: none;
}

.main-image-container {
    list-style:none;
    margin-left: -40px; 
    margin-top: 20px;
}

#horizontal-container {
    display: inline-block;
}

#horizontal-container .as-sortable-item,
#horizontal-container .as-sortable-placeholder {
    display: inline-block;
    float: left;
}

#horizontal-container .sortable-row:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.angucomplete-holder .form-control{
    float:none;
}

.ta-dropdown {
    padding: 0;
}

.ta-dropdown button {
    margin-left:0 !important;
    border-radius: 0;
}


@media only screen and (max-width : 1199px) {

    .image-container img {
        max-height: 160px;
    }

}


@media screen and (max-width : 992px) {
    .search_container {
        width:300px;
    }

    .image-container {
        position: relative;
        width: 130px;
        float: left;
        margin-right: 9px;
        height:110px;
    }

    .image-container img {
        max-height: 120px;
    }
}

@media screen and (max-width : 768px) {

    .image-container, .ui-sortable-helper {
        position: relative;
        width: 130px;
        float: left;
        margin-right: 8px;
        height:130px;
    }

    .image-container img {
        max-height: 120px;
    }
}

@media only screen and (max-width : 650px) {

    .image-container, .ui-sortable-helper {
        position: relative;
        width: 130px;
        float: left;
        margin-right: 8px;
        height:110px;
    }
}


@media screen and (max-width: 560px) {

    .fixed_menu {
        display:none;
    }

    .search_container {
        width:100%;
    }
}


@media screen and (max-width: 480px) {

    .main-image-container {
        width:100%;
        padding:10px 0 0 0 ;
        margin:0;
        display:block;
    }

    .main-logo {
        max-width: 80%;
    }

    .image-container, .ui-sortable-helper {
        position: relative;
        width: 100%;
        margin: 0 auto;
        height:auto;
    }

    .image-container img, .ui-sortable-helper img {
        max-height:180px;
    }

    #horizontal-container {
        display: block;
    }

    .widget .widget-body {
        padding:10px;
    }

    .widget .widget-header {
        padding: 5px 5px 0px 10px;
    }
}