@import url("bootstrap.css");
@import url("datatables.css");

/* LOGIN */
div#loginBox { width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; }
div#loginBox > div:first-child { position: relative; background-color: #fff; border: 1px solid #ddd; width: 400px; text-align: center; padding: 25px; border-radius: 10px; }
div#loginBox form { padding: 15px 45px; }
div#loginBox form input[type=text], div#loginBox form input[type=password] { margin-bottom: 10px; }
div#loginBox form input[type=submit] { font-weight: bold; width: 100%; border-radius: 0; }
div#loginBox form p { margin-top: 10px; font-size: 14px; }
div#loginBox form p a { color: #13252e; }

/* NAVIGATION */
nav { position: fixed; width: 270px; height: 100%; background-color: #13252e; top: 0; right: 0; overflow: hidden; overflow-y: auto; }
nav .header { float: right; width: 100%; padding: 16px 0; background-color: #1a2d37; text-align: center; user-select: none; -webkit-user-select: none; -moz-user-select: none; }
nav ul { float: right; width: 100%; list-style-type: none; padding-right: 0; margin-top: 25px; }
nav ul li.active { background-color: #1a2d37; }
nav ul li { transition: all 0.5s ease; }
nav ul li:hover { background-color: #1a2d37; }
nav ul li a { display: block; color: #d2d2d2; padding: 10px 15px; font-size: 15px; }
nav ul li a i { padding-left: 15px; }
nav ul li a:hover { text-decoration: none; color: #d2d2d2; }

/* HEADER */
header { float: left; height: 80px; width: calc(100% - 270px); border-bottom: 1px solid #d2d2d2; background-color: #fff; }
.header #menuBtn { display: none; }
header .row { margin: 0; }
header .row .col ul { list-style-type: none; }
header .row .col ul li { display: inline; margin-left: 15px; line-height: 75px; }
header .row .col ul li a { color: black; }
header .row .col:last-child { padding-left: 25px; }
header .row .col:last-child img { display: inline-block; }
header .row .col:last-child ul { display: inline-block; padding-right: 10px; margin-left: 15px; }
header .row .col:last-child ul li::after { content: "|"; color: gray; padding: 0 10px; }
header .row .col:last-child ul li:last-child::after { content: ""; padding: 0; }
header .row .col:last-child ul li { line-height: inherit !important; margin-left: 0; }
header form[role=search] { float: left; display: inline; background-color: #f4f5f7; padding: 5px 15px 6px 5px; border-radius: 25px; margin-top: -2px; }
header form[role=search] input { float: right; background: transparent; border: none; font-size: 14px; width: 200px; }
header form[role=search] button { float: left; border: none; background: transparent; font-size: 13px; margin-top: 2px; }

@media (max-width: 1400px)
{
	header .row .col:last-child { flex: 0 70% !important; width: 70% !important; }
}

.wrapper { position: fixed; top: 80px; left: 0; width: calc(100% - 270px); height: calc(100% - 80px); overflow: hidden; overflow-y: auto; padding: 25px 45px; }
.wrapper > h2 { font-weight: 900; color: #13252e; border-bottom: 1px solid #d2d2d2; padding-bottom: 15px; position: relative; font-size: 26px; padding-right: 1%; }
.wrapper > h2::after { position: absolute; bottom: -3px; right: 1%; display: inline-block; content: ""; width: 3%; height: 3px; border: 3px solid #f4d400; border-radius: 25px; }

form .response { margin-top: 15px; }

.table { border: 1px solid #d2d2d2 !important; }
.table thead th { background: #fff; border-left: none; border-right: none; padding: 20px; }
.table thead th i { float: right; margin-top: 5px; margin-left: 5px; color: gray; opacity: 0.4; }
.table tbody td { padding: 15px 20px; vertical-align: middle; }

.blocks { margin: 20px 0; }
.blocks .col { border: 1px solid #ddd; margin-left: 15px; background-color: #fff; padding: 0; }
.blocks .col:last-child { margin-left: 0; }
.blocks .col h4 { border-bottom: 1px solid #ddd; color: #fff; padding: 10px 15px; font-size: 18px; background: #13252e; font-weight: bold; margin-bottom: 0; }
.blocks .col h4 i { color: #f4d400; }
.blocks[disabled] { cursor: no-drop; filter: grayscale(100%); -webkit-filter: grayscale(100%); }
.blocks .col#console { position: relative; }
.blocks .col#console #command-line { text-align: left; direction: ltr; position: absolute; bottom: 0; background: #fafafa; border-top: 1px solid #ddd; padding: 7px 15px; width: 100%; }
.blocks .col#console #command-line input[type=text] { width: 90%; border: none; background: transparent; font-family: monospace; font-size: 15px; }
.blocks .col#console #command-line input[type=submit] { float: right; width: 10%; background: #f4d400; color: #13252e; border: none; font-weight: bold; text-align: center; padding: 2px 0; border-radius: 3px; }
.blocks .col#console p { font-family: monospace; font-size: 15px; text-align: left; direction: ltr; padding: 10px; overflow-y: auto; height: 200px; margin-bottom: 43px; }
.blocks .col#console .response { margin-top: 0; }
.blocks .col#console .wait { position: absolute; top: 42px; width: 100%; height: calc(100% - 42px); background: rgba(0, 0, 0, 0.8); z-index: 10; display: flex; align-items: center; justify-content: center; vertical-align: middle; }
.blocks .col#console .wait h5 { color: #fff; font-size: 22px; font-weight: bold; }
.blocks .col#console .wait i { color: #f4d400; font-size: 32px; margin-left: 15px; -webkit-animation:spin 4s linear infinite; -moz-animation:spin 4s linear infinite; animation:spin 4s linear infinite; }
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.blocks table { background: #ddd; width: 100%; margin-top: 0; }
.blocks table tr td { background: #fff; text-align: left; }
.blocks table tr th, .blocks table tr td { background: #fff; border-bottom: 1px solid #ddd; padding: 10px 15px; }
.blocks table tr:last-child th, .blocks table tr:last-child td { border-bottom: none; }

.blocks .more-options { padding: 5px 25px; }
.blocks .more-options:nth-child(2) { margin-top: 10px; }
.blocks .more-options:last-child { margin-bottom: 10px; }
.blocks .more-options .col { text-align: center; padding: 15px; border-radius: 3px; }
.blocks .more-options .col i { font-size: 38px; margin-bottom: 5px; }
.blocks .more-options .col a { color: #13252e; font-weight: bold; }
.blocks .more-options .col a:hover { text-decoration: none; }
.blocks .more-options .col[disabled] { background-color: #f1f1f1; cursor: no-drop; }
.blocks .more-options .col[disabled] a { cursor: no-drop; opacity: 0.5; }

@media (max-width: 768px)
{
	nav { position: inherit; width: 100%; height: 80px; overflow: hidden; }
	nav .header img { float: left; margin-left: 15px; }
	header { width: 100%; padding: 15px 15px 5px; height: auto; }
	header .col:first-child { display: none; }
	header .col:last-child { text-align: right !important; padding-top: 0 !important; }
	header form { float: right; width: 100%; margin-bottom: 10px; }
	
	.header #menuBtn { display: block !important; float: right; border: 1px solid rgba(255,255,255,0.3); padding: 5px 10px; color: #fff; border-radius: 3px; margin: 5px 15px; }
	nav.opened { height: 100%; overflow: auto; transition: all 0.5s ease; }
	nav ul { margin: 10px 0; }
	
	.wrapper { width: 100%; position: inherit; height: 100%; padding-right: 25px; padding-left: 25px; }
	.wrapper .row { display: block; }
	.wrapper .row .col { margin-bottom: 25px; }
}

#copyRight { position: absolute; bottom: -35px; width: 100%; right: 0; left: auto; float: right; text-transform: uppercase; color: gray; }
#copyRight a { color: #13252e; font-weight: bold; transition: all 0.5s ease; }


.store-plan { border-radius: 3px; background: #13252e; color: #fff; }
.store-plan i { padding: 15px; color: #f4d400; font-size: 17px; }
.store-plan .col h5 { color: #f4d400; padding-top: 10px; font-weight: bold; }
.store-plan .col:nth-child(3) { font-size: 14px; padding-top: 2px; border-left: 1px solid rgba(255,255,255,0.3); }
.store-plan .col:last-child button { background: transparent; border: none; color: rgba(255,255,255,0.7); margin-top: 10px; margin-right: 8px; cursor: pointer; }
.store-plan .col:last-child button:hover, .store-plan:last-child button:focus { color: #fff; }
.store-plan.active { background-color: #f4d400; }
.store-plan.active h5, .store-plan.active i { color: #13252e; }
.store-plan.active button { cursor: no-drop !important; color: #fff !important; }
.store-plan.active .col { color: #13252e; }

/* ORDER */

#orderProcess { float: right; width: 100%; background: #112233; }
#orderProcess .row { margin: 0; }
#orderProcess .col { color: #fff; padding: 18px 45px 15px; font-weight: bold; }
#orderProcess .col.active, #orderProcess .col.active i { color: yellow; }
#orderProcess .col i { float: right; color: #fff; border: 1px solid #fff; border-radius: 50%; width: 32px; height: 32px; line-height: 28px; text-align: center; font-style: normal; margin-left: 10px; margin-top: -3px; }
#orderProcessData { min-height: 500px; background: #fff; border: 1px solid #ddd; clear: both; padding: 15px; }