﻿/* #region Common */

body {
    font-family: "Open Sans";
    font-size: 14px;
    color: #666666;
    background-color: #ffffff;
}

a,
a:hover,
a:focus {
    color: #f49c00;
}

a img {
    border: none;
}

h1 {
    font-size: 30px;
    font-weight: normal;
    text-transform: uppercase;
}

h2 {
    font-size: 20px;
    font-weight: normal;
    text-transform: uppercase;
}

h3 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

.container,
.container-fluid {
    position: relative;
}

.btn-default,
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default:active:hover,
.btn-default:active:focus,
.open > .dropdown-toggle.btn-default,
.open > .dropdown-toggle.btn-default:hover,
.open > .dropdown-toggle.btn-default:focus {
    text-transform: uppercase;
    background-color: #f7f7f7;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:hover,
.btn-primary:active:focus,
.open > .dropdown-toggle.btn-primary,
.open > .dropdown-toggle.btn-primary:hover,
.open > .dropdown-toggle.btn-primary:focus {
    text-transform: uppercase;
    color: #ffffff;
    background-color: #f49c00;
    border-color: #f49c00;
}

.btn.disabled, .btn[disabled],
.btn.disabled.active, .btn[disabled].active,
.btn.disabled.focus, .btn[disabled].focus,
.btn.disabled:active, .btn[disabled]:active,
.btn.disabled:focus, .btn[disabled]:focus,
.btn.disabled:hover, .btn[disabled]:hover,
.btn.aspNetDisabled {
    color: #333333;
    background-color: #e8e8e8;
    border-color: #e8e8e8;
    opacity: .65;
    cursor: default;
    pointer-events: none;
}

.btn .caret {
    margin-left: 5px;
}

.btn .fa.fa-chevron-left {
    margin-right: 5px;
}

.btn .fa.fa-chevron-right {
    margin-left: 5px;
}

.text-bold {
    font-weight: bold;
}

.alert-popup {
    text-align: center;
    width: auto;
    position: fixed;
    top: 10%;
    left: 20%;
    right: 20%;
    z-index: 1200;
}

@media (min-width: 1700px) {
	.col-xl-2 {
		width: 16.66666667%;
	}
}

/* #endregion */

/* #region Header */

.navbar {
    background-color: #ffffff;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.3);
    min-height: 100px;
}

.navbar-brand img {
    max-width: 150px;
    max-height: 40px;
}

.navbar-nav > li > a {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #666666;
    padding: 25px 15px;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.active > a,
.navbar-nav > li.dropdown.open > a {
    color: #f49c00;
    background: none;
}

.dropdown-menu > li > a,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #666666;
}

.navbar-left {
    margin-left: 100px;
}

.navbar-top {
    color: #ffffff;
    background-color: #404041;
}

.navbar-top .navbar-nav > li > a,
.navbar-top .navbar-nav > li.dropdown.open > a {
    font-size: 12px;
    font-weight: normal;
    color: #ffffff;
    padding: 5px 10px;
}

.navbar-top .navbar-text {
    text-transform: uppercase;
    margin: 0;
    padding: 5px 10px;
    float: left;
}

.navbar-top .navbar-text a {
    text-decoration: none;
}

.navbar-top .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

.navbar-top .dropdown-toggle {
    color: #ffffff;
    margin-left: -10px;
    float: left;
}

/* #endregion */

/* #region Footer */

footer {
    font-size: 12px;
    color: #212121;
    background-color: #f8f8f8;
    width: 100%;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    z-index: 1030;
}

/* #endregion */

/* #region Home */

#section-banner > div {
    max-height: 550px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

#section-banner img {
    width: 100%;
}

#section-banner .caption {
    color: #ffffff;
    background: #f58833;
    opacity: .9;
    padding: 30px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15%;
    right: 15%;
}

#section-banner .caption h1 {
    font-size: 40px;
}

#section-banner .caption .btn-default {
    font-size: 16px;
    color: #ffffff;
    background: none;
    border: solid 2px #ffffff;
    padding: 10px 30px;
}

#section-banner .caption .btn-default:hover {
    color: #f58833;
    background-color: #ffffff;
}

.navbar-home {
    text-align: center;
    margin-top: -75px;
}

.navbar-home a {
    color: #666666;
    text-decoration: none;
}

.navbar-home .fa {
    font-size: 50px;
    color: #ffffff;
    background-color: #f58833;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    padding-top: 23px;
}

@media (min-width: 1024px) {
    #section-banner .caption {
        right: 40%;
    }
}

@media (min-width: 1440px) {
    #section-banner .caption {
        right: 60%;
    }
}

/* #endregion */

/* #region Page */

#section-page {
    margin-top: 130px;
    margin-bottom: 70px;
}

#section-page h1 {
    margin-top: 0;
    margin-bottom: 30px;
}

.section-filter label {
    font-weight: normal;
}

.btn-back {
    margin-top: 20px;
}

.form-horizontal .control-label {
    text-align: left;
}

.form-inline .form-group {
	margin-right: 5px;
    margin-bottom: 5px;
}

.form-inline .form-group.pull-right {
    margin-left: 5px;
    margin-right: 0;
}

.has-error .control-label {
    color: #ff0000;
}

.has-error .form-control,
.has-error .list-group-item {
    border-color: #ff0000;
}

.form-group .list-group {
    margin-bottom: 0;
}

.list-group-item a {
    text-decoration: none;
    color: #707070;
}

.list-group-item .fa {
    width: 20px;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary {
    background-color: #f49c00;
}

.bootstrap-datetimepicker-widget table td.today {
    background-color: #eeeeee !important;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background-color: #f49c00 !important;
}

.navbar-module .logo {
    background-color: #f5f5f5;
    padding: 10px;
}

.navbar-module .logo img {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.navbar-module .list-group-item:first-child,
.navbar-module .list-group-item:last-child {
    border-radius: 0;
}

.navbar-module .list-group-item-2 {
    padding-left: 35px;
}

/* #endregion */

/* #region List */

.table {
    margin-bottom: 0;
}

.table > thead > tr > th {
    text-transform: uppercase;
    border-bottom-width: 1px;
}

.table > tbody > tr:first-child > td,
.table > tfoot > tr + tr > td {
    border-top: none !important;
}

.table > thead > tr > th.number,
.table > tbody > tr > td.number,
.table > tfoot > tr > td.number {
    text-align: right;
}

.table-list > thead > tr > th.action,
.table-list > tbody > tr > td.action {
    width: 50px;
}

.table-list > thead .menu,
.table-list > tbody .menu {
    background-color: #f7f7f7;
    border: solid 1px #dddddd;
    width: 50px;
    padding: 3px 7px;
    cursor: pointer;
}

.table-list > tbody .menu .menu-container {
	position: absolute;
}

.table-list > tbody .menu .dropdown {
	top: -22px;
    left: 20px;
}

.table-list > tbody .menu .dropdown .dropdown-menu {
	top: 27px;
    left: -25px;
}

.table-list > thead > tr > th.image,
.table-list > tbody > tr > td.image {
    width: 50px;
}

.table-list > tbody img {
    max-height: 50px;
}

.table-list > tbody .form-control {
    vertical-align: middle;
    display: inline-block;
}

.table-list > tbody .progress {
    margin-bottom: 0;
}

.table-list > tbody .progress-bar {
    background-color: #428bca;
}

.table-list > tbody .progress-bar[aria-valuenow="0"] {
    color: #707070;
    margin-left: 5px;
}

.table-list > tbody .progress-bar[aria-valuenow="100"] {
    background-color: #5cb85c;
}

.table-fixed {
    width: 100%;
}

.table-fixed tbody {
    width: 100%;
    max-height: 580px;
    overflow-y: auto;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed th,
.table-fixed td {
    display: block;
}

.table-fixed thead th,
.table-fixed tbody td {
    float: left;
}

.no-item {
    margin-top: 15px;
}

.pagination {
    margin: 0;
}

.pagination > li > a,
.pagination > li > a:hover,
.pagination > li > a:focus {
    color: #f49c00;
    padding: 7px 12px;
}

.pagination > li.active > a,
.pagination > li.active > a:hover,
.pagination > li.active > a:focus {
    background-color: #f49c00;
    border-color: #f49c00;
}

.thumbnail {
    background-color: #ffffff;
    border-bottom: solid 3px #f49c00;
    border-radius: 0;
    position: relative;
}

a.thumbnail {
    text-align: center;
    text-decoration: none;
    display: block;
}

a.thumbnail:hover,
a.thumbnail:focus {
    border-color: #dddddd;
    border-bottom-color: #f49c00;
}

.thumbnail .image {
    height: 125px;
}

.thumbnail .image img {
    max-height: 125px;
    margin-right: auto;
    margin-left: auto;
}

.thumbnail .caption {
    height: 140px;
}

.thumbnail h3 {
    margin-top: 10px;
}

.panel {
    border-radius: 0;
}

.panel h3 {
    margin-top: 8px;
    margin-bottom: 0;
}

/* #endregion */

/* #region Detail */

.panel-search {
    background-color: #f5f5f5;
    margin-bottom: 20px;
    padding: 10px;
}

.panel-list-toolbar {
    background-color: #ffffff;
    margin-top: -10px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: sticky;
    top: 100px;
    z-index: 10;
}

.panel-detail-toolbar {
    margin-bottom: 20px;
}

.panel-detail {
    border: solid 1px #dddddd;
    margin-bottom: 15px;
    padding: 15px;
}

.panel-detail h2 {
    margin-top: 0;
    margin-bottom: 25px;
}

.panel-detail h2 + .no-item,
.panel-detail .row + .no-item {
    margin-top: 0;
}

/* #endregion */

/* #region Calendar */

.list-calendar thead tr th,
.list-calendar tbody tr td {
    width: 20%;
}

.list-calendar a.thumbnail {
    border: none;
    border-top: solid 1px #ffffff;
    border-bottom: none !important;
    margin-bottom: 0;
    overflow: hidden;
}

.list-calendar .thumbnail .caption {
    font-size: 12px;
    text-align: left;
    width: 500px;
    height: auto;
    padding: 0;
}

.list-calendar .thumbnail .caption .fa {
    width: 15px;
}

.list-calendar .thumbnail.status-2 {
    background-color: #9f3bb3;
}

.list-calendar .thumbnail.status-3 {
    background-color: #f0ad4e;
}

.list-calendar .thumbnail.status-4 {
    background-color: #5cb85c;
}

.list-calendar .thumbnail.status-5 {
    background-color: #8b8a86;
}

.list-calendar .thumbnail.status-2 .caption,
.list-calendar .thumbnail.status-3 .caption,
.list-calendar .thumbnail.status-4 .caption,
.list-calendar .thumbnail.status-5 .caption {
    color: #ffffff;
}

/* #endregion */

/* #region Product */

.list-product .thumbnail .delivery-info::before,
.list-product .thumbnail .delivery-info::after {
    content: '';
    border-color: transparent;
    border-style: solid;
    position: absolute;
    top: 0;
    right: 0;
}

.list-product .thumbnail .delivery-info::before {
    border-width: 1.5em;
    border-right-color: #f49c00;
    border-top-color: #f49c00;
}

.list-product .thumbnail .delivery-info::after {
    border-radius: 0.4em;
    border-width: 1.35em;
    border-right-color: #f49c00;
    border-top-color: #f49c00;
}

.list-product .thumbnail .delivery-info + .fa {
	color: #ffffff;
	position: absolute;
    top: 5px;
    right: 5px;
}

.list-product .thumbnail .validate-info::before,
.list-product .thumbnail .validate-info::after {
    content: '';
    border-color: transparent;
    border-style: solid;
    position: absolute;
    top: 0;
    left: 0;
}

.list-product .thumbnail .validate-info::before {
    border-width: 1.5em;
    border-left-color: #f49c00;
    border-top-color: #f49c00;
}

.list-product .thumbnail .validate-info::after {
    border-radius: 0.4em;
    border-width: 1.35em;
    border-left-color: #f49c00;
    border-top-color: #f49c00;
}

.list-product .thumbnail .validate-info + .fa {
	color: #ffffff;
	position: absolute;
    top: 5px;
    left: 5px;
}

.list-product .thumbnail .caption {
    height: 150px;
}

.list-product .thumbnail .caption.packing {
    height: 190px;
}

.list-product .thumbnail .caption.price {
    height: 170px;
}

.list-product .thumbnail .caption.packing.price {
    height: 210px;
}

.list-product .thumbnail .caption .stock {
	font-weight: bold;
}

.list-product .thumbnail .caption .btn-planning {
    color: #666666;
}

.list-product .thumbnail .popover {
    min-width: 150px;
}

.list-order-item {
    margin-top: 30px;
}

.list-product-planning .thumbnail {
    border: 1px solid #dddddd;
    margin-bottom: 0;
}

.list-product-planning .thumbnail.active {
    background-color: #f49c00;
    border-color: #f49c00;
}

.list-product-planning .thumbnail .caption {
    text-align: center;
    color: #ffffff;
    height: auto;
    padding: 0;
    overflow: hidden;
}

/* #endregion */

/* #region Map */

#mapZone {
    width: 100%;
    height: 580px;
}

.map-overlay .fa {
    width: 15px;
}

.map-overlay hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* #endregion */

/* #region Contact form */

.contact-form {
    margin-top: 30px;
}

/* #endregion */

/* #region Login */

#section-login {
    padding-top: 150px;
    padding-bottom: 130px;
}

#section-login .container {
    max-width: 960px;
}

#section-login h1 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 25px;
}

#section-login .lead {
    font-size: 24px;
    text-align: center;
}

#section-login .form {
    background-color: #f6f6f6;
    border: solid 1px #eeeeee;
    padding: 30px;
}

#section-login .alert {
    border-radius: 0;
    margin-top: 10px;
    padding: 15px;
}

@media (min-width: 1200px) {
    #section-login {
        padding-top: 230px;
    }
}

.body-login .navbar {
    min-height: 70px;
}

.body-login .navbar-brand {
    padding-top: 5px;
    padding-bottom: 5px;
}

.body-login .navbar-brand img {
    max-width: 180px;
    max-height: 65px;
}

.body-login footer {
    color: #ffffff;
    background-color: #000000;
}

.body-login.pa a,
.body-login.pa a:hover,
.body-login.pa a:focus {
    color: #b7d163;
}

.body-login.pa .btn-primary,
.body-login.pa .btn-primary:hover,
.body-login.pa .btn-primary:focus,
.body-login.pa .btn-primary:active,
.body-login.pa .btn-primary:active:hover,
.body-login.pa .btn-primary:active:focus {
    color: #ffffff;
    background-color: #b7d163;
    border-color: #b7d163;
}

/* #endregion */

/* #region FileBox */

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 999px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

/* #endregion */

/* #region FileUploader */

.uploader {
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.7);
    -ms-filter: alpha(opacity=70);
    filter: alpha(opacity=70);
    width: 100%;
    height: 100%;
    margin-top: -5px;
    padding-bottom: 10px;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 1000000000;
}

.upload-panel {
    position: absolute;
    width: 500px;
    height: 180px;
    top: 25%;
    left: 30%;
}

.upload-panel .title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    display: none;
}

.upload-panel .processing {
    font-weight: bold;
    text-align: center;
    margin-top: 50px;
    display: none;
}

.upload-panel .buttons {
    position: relative;
    top: 10px;
}

.img-thumbnail {
    position: relative;
}

.img-thumbnail img {
	max-width: 200px;
	max-height: 150px;
}

.img-thumbnail .fa {
    font-size: 20px;
    position: absolute;
    top: -10px;
    right: -8px;
}

/* #endregion */

/* #region Modal */

.modal-body {
	max-height: 800px;
}

.modal-body .list-container {
	max-height: 700px;
	overflow-y: auto;
}

/* #endregion */

/* #region Packing */

.packing-loader {
    position: absolute;
    top: 40%;
    left: 45%;
}

/* Customize the label (the container) */
.packing-select {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.packing-select input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.packing-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.packing-select:hover input ~ .packing-checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a orange background */
.packing-select input:checked ~ .packing-checkmark {
    background-color: #f49c00;
}

/* Create the checkmark/indicator (hidden when not checked) */
.packing-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.packing-select input:checked ~ .packing-checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.packing-select .packing-checkmark:after {
    left: 9px;
    top: 5px;
    width: 7px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
} 

/* #endregion */
