﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
  font-family: 'font-awesome';  
  src: url('../lib/fontawesome/webfonts/fa-solid-900.eot');
  src: url('../lib/fontawesome/webfonts/fa-solid-900.eot?#iefix') format('embedded-opentype'), url('../lib/fontawesome/webfonts/fa-solid-900.woff') format('woff'), url('../lib/fontawesome/webfonts/fa-solid-900.ttf') format('truetype'), url('../lib/fontawesome/webfonts/fa-solid-900.svg#fontawesome-webfont') format('svg');
  font-weight: normal;
  font-style: normal;

}

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;
}
@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%;height:100%;
}

body {
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;*/min-height: 100%;height:100%;
  
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}


/*------------------------*/
/* Styles inserted by Guy */
/*------------------------*/

#imageList > img {margin:2px;width:200px;padding:0;border:4px solid white;}/*used to be {margin:2px;width:150px;padding:2px;border:4px solid white;}*/
#imageList > img:hover{border:4px dashed #e5e5e5;cursor:pointer}
#imageList > img:active{border:4px solid tomato;}
#imageList > img.active {border:4px solid tomato;}
#imageList > img.active:hover {border:4px dashed tomato;cursor:pointer}

img.imageInEditor{width:100%;max-width:300px; height:auto;/*changed by alice image size*/}
img.bannerImageInEditor{width:100%;max-width:1055px; height:auto;}

img.imageInModal{width:466px; height:auto;}

.float-left{float:left;}
.float-right{float:right;}


/* The side navigation menu */
.sidebar {
    background-color: #202934;
    z-index:2
}

/* Sidebar links */
.sidebar a {
    display: block;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
}

/* Active/current link */
.sidebar a.active {
    background-color: #192029;
    color: white;
}

/* Links on mouse-over */
.sidebar a:hover:not(.active) {
    background-color: #335f94;
    color: white;
}

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */

.bottom-fixed-paging {
    width: 100%;
    bottom: 0;
    right: 0;
    position: fixed;
    z-index: 1;
    padding-right: 20px;
    height: 60px;
    padding-top: 10px;
    margin-bottom: 0;
    background-color:#fff;
}

.bottom-fixed-buttons {
    width: 100%;
    bottom: 0;
    right: 0;
    position: fixed;
    z-index: 1;
    padding-right: 20px;
    padding-left: 20px;
    height: 60px;
    padding-top: 10px;
    margin-bottom: 0;
}

/*--------------------------*/
/* Styles inserted by Alice */
/*--------------------------*/

* {font-family: "Open Sans", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;}

main {min-height:100%;}
main .content {padding-bottom:60px !important;}

.contentBg {background-color:#202934;background-image:url(../images/site/bg_bo.jpg);background-repeat:no-repeat;background-size: cover;background-position:top center;}

.contentBg header .navbar-brand {font-size:40px;line-height:40px;}
.contentBg header .navbar-brand span {font-size:0.3em;color:#999;padding:8px 0 0 0;text-align:left;}
.contentBg header .navbar-brand img {max-width:280px;}

.containerLog {width:90%;max-width:500px;}

header {background-color:#f4f4f4}

.navbar-brand {font-size:20px;line-height:20px;color:#202934;text-align:left;}
.navbar-brand:hover {text-decoration:none;color:#202934}
.navbar-brand span {font-weight:700;font-size:11px;padding:4px;line-height:1em;display:block !important;color:#c1c1c1;text-align:left;text-align:right;text-transform:uppercase;}
.navbar-brand img {max-width:180px;margin:0 auto;text-align:left;}
.navbar-brand div.logoImg {display:inline-block;background-image:url(../images/site/logo_client.png);background-repeat:no-repeat;background-size:180px;height:44px;width:180px;}

.mobile-auto {min-height:100%}

.gallery-div {max-height:520px !important;height:100% !important;overflow:hidden !important;}
.gallery-div select {border:1px solid #e5e5e5 !important;}
.gallery-div #imageList {max-height:420px !important;overflow-y:auto !important}
.gallery-div #imageList img {margin:10px;}

/*tab override*/
.nav-tabs .nav-link {cursor:pointer;}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {cursor:auto}
.nav-tabs .nav-link.active {border:none;border-bottom:2px solid #343a40;font-weight:700}
.nav-tabs .nav-item .nav-link:hover {background-color:#f8f9fa;border-color:#f8f9fa}
.nav-tabs .nav-link.active:hover  {background-color:#fff;border-color:#fff;border-bottom:2px solid #343a40;}
.nav-tabs svg {margin-right:5px;}

/*text*/
p.helpTip {font-size:15px;color:#565656;background-color:rgba(0, 0, 0, .05);padding:2px 8px 2px 6px;border-radius:20px;display:inline-block}
p.helpTip:before {content:"\f05a";font-family: 'font-awesome';margin:0 5px 0 0}

div.wrapHelp {}
div.wrapHelp .helpTip,
h2 .helpTip {font-size:13px;color:#565656;background-color:rgba(0, 0, 0, .05);padding:2px 8px 2px 3px;border-radius:20px;display:inline-block;text-decoration:none;vertical-align:middle;margin:3px 0 3px 6px}
div.wrapHelp .helpTip:before,
h2 .helpTip:before {content:"\f059";font-family: 'font-awesome';margin:0 5px 0 0;font-size:15px;color:#1861ac}
div.wrapHelp .helpTip:hover,
h2 .helpTip:hover {cursor:pointer;color:#fff;background-color:#1861ac}
div.wrapHelp .helpTip:hover:before,
h2 .helpTip:hover:before {color:#fff}

div.wrapHelp .helpTip  {margin:3px 0 3px 0}


/*table override*/
.table {}
.table tr th,
.table tr td {padding:0.5rem 0.5rem;line-height:normal;}
.table tr th {border-bottom:2px solid #c1c1c1}
.table tr th .btn-link{color:#565656;}
.table tr th .btn {padding:0}
.table tr td .btn {padding:0 0 4px 0;line-height:15px;min-width:26px;font-size:14px;}
.table tr.tempItem td {background-color:#f4f4f4}
.table tr.tempItem td {font-size:13px}
.table tr.tempItem td:nth-child(2n) a {padding-left:0;}
.table tr.tempItem td input[type=button] {font-size:12px;padding:4px 6px;}
.table tr th.fixed-size-sml {width:100px}
.table tr th.fixed-size-med {width:180px}

.table tr.tempItem td:nth-child(2n) a:before {content:"";width:12px;height:12px;display:inline-block;margin:0 6px 0 0;background-repeat:no-repeat;

background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' fill='%23333333' class='bi bi-arrow-return-right' viewBox='0 0 16 16'><path d='M1.5 1.5A.5.5 0 0 0 1 2v4.8a2.5 2.5 0 0 0 2.5 2.5h9.793l-3.347 3.346a.5.5 0 0 0 .708.708l4.2-4.2a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 8.3H3.5A1.5 1.5 0 0 1 2 6.8V2a.5.5 0 0 0-.5-.5z'/></svg>");

}
.table tr td a:hover {text-decoration:none;}

/*sortable*/
.sortable.ui-sortable .list-group-item {margin:3px 0;}
.sortable.ui-sortable .list-group-item:before,
.sortable.ui-sortable .list-group-item.ui-sortable-handle:before,
.sortable.ui-sortable .list-group-item.ui-sortable-helper:before {content:"";font-family: 'font-awesome';display:inline-block;height:20px;width:20px;margin:0 8px 0 0;background-repeat:no-repeat;background-position:center;vertical-align:middle;font-size:20px;line-height:20px;text-align:center;}
.sortable.ui-sortable .list-group-item:before {content: "\f140";color:#202934;}
.sortable.ui-sortable .list-group-item.ui-sortable-handle:before {content: "\f0dc";color:#1861ac }
.sortable.ui-sortable .list-group-item.ui-sortable-helper {background-color:#e5e5e5;cursor:grab}
.sortable.ui-sortable .list-group-item.ui-sortable-helper:before {color:#c1c1c1;content: "\f05b";}

.ui-sortable-placeholder {min-height:40px;}

.navbar {display:block; /*tentative*/position:relative; }
.navbar .nav .nav-link svg {width:16px;height:16px;margin-right:6px;}

.sidebar .userLogout {min-width:250px;}
.sidebar .userLogout em,
.sidebar .userLogout button {font-style:normal;font-size:0.8em;}

#menuBackoffice {transition: 0.5s;overflow:hidden;}
.navbar .menuToggle {padding:8px 16px 4px 16px;}
.navbar .menuToggle div.togglemenu {position:relative;display:inline-block;width:35px;height:20px;}
.navbar .menuToggle div.togglemenu:before {content:"";width:35px;height:20px;background-color:transparent;display:block;border:3px solid #fff;border-radius:20px;position:absolute;top:0;right:0}
.navbar .menuToggle div.togglemenu:after {content:"";width:12px;height:12px;background-color:#fff;display:block;border-radius:20px;position:absolute;top:4px;right:4px}
.navbar.showMenuLabels .menuToggle div.togglemenu:before {background-color:#fff;display:block;border:3px solid #fff;}
.navbar.showMenuLabels .menuToggle div.togglemenu:after {background-color:#1861ac;top:4px;left:4px}

.navbar {padding:0 0 20px 0;}
.navbar a {text-decoration:none;color:#fff;overflow:hidden;position:relative;min-height:30px;}

.navbar a {display:block;transition: 0.5s;text-overflow: ellipsis;white-space: nowrap;overflow:hidden;width:100%;}
.navbar a:before {color:#3c4b5d;transition: 0.5s;}
.navbar a span {transition: opacity 0.3s, visibility 0.3s, display 0.5s;display: inline-block;visibility:visible;opacity:1;}
.navbar.showMenuLabels {transition: opacity 0.3s, visibility 0.3s}
.navbar.col-lg-2.showMenuLabels {min-width:70px !important;width:70px !important;max-width:70px !important;}
.navbar.showMenuLabels a span {display: none;visibility:hidden;opacity:0;transition: opacity 0.3s, visibility 0.3s;}
.navbar.showMenuLabels a:before {color:#fff;font-size:22px;width:26px;}
.navbar.showMenuLabels a:hover:before {color:#4e82c1}
.navbar.showMenuLabels .nav .nav-link svg {width:26px;height:26px;transition: 0.5s;}
.navbar.showMenuLabels a.poweredBy {background-image:url(../images/site/logo_powered_sml.gif);width:39px}
.navbar.showMenuLabels .userLogout {padding:0 !important;max-width:70px;min-width:auto;margin-left:0;}
.navbar.showMenuLabels .userLogout em {display:none;visibility:hidden;}
.navbar.showMenuLabels .userLogout .btn-group {margin:8px 0}
.navbar.showMenuLabels .userLogout em,
.navbar.showMenuLabels .userLogout button {/*display:none;visibility:hidden;*/transition:width 5s, height 4s;margin:0;border-radius:8px 0 0 8px}
.navbar.showMenuLabels .userLogout a {display:none;visibility:hidden;padding:12px 17px !important;margin:0;}
.navbar.showMenuLabels .userLogout svg {width:28px;height:26px;color:#6c757d;top:10px !important;left:15px !important;display:none;visibility:hidden;}
.navbar.showMenuLabels .userLogout svg:hover {color:#fff}
.navbar.showMenuLabels div.logoImg {display:inline-block;background-image:url(../images/site/logo_bo.svg);background-size:45px;height:44px;width:45px;margin-left:-5px;transition: 0.5s}
.navbar .nav-item {position:relative}
.navbar .nav-item a span {padding-left:24px;}
.navbar .nav-item svg {position:absolute;top:16px;left:18px;animation: fadeIn 0.5s;}
.navbar.showMenuLabels .nav-item a {height:48px;}
.navbar.showMenuLabels .nav-item a.menuToggle {height:38px;}
.navbar.showMenuLabels .nav-item svg {top:10px;left:18px}
.navbar .userLogout .nav-link {position:relative;}
.navbar .userLogout .nav-link svg {position:absolute;top:8px;left:4px;}
.navbar .userLogout .nav-link em {padding-left:21px;display:inline-block;}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.languageDiv {margin:0;padding:8px 0 8px 8px;}
.languageDiv select {font-size:14px;margin:0 0 0 8px}

.tipGeneric,
.tipImgSize {background-color:#565656;display:inline-block;padding:4px 16px 4px 8px;border-radius:0 8px 8px 0;margin:0 0 15px 0;color:#fff;font-size:14px;border-bottom:2px solid #c1c1c1;/*vertical-align:top*/}
.tipImgSize:before {content: "\f03e";font-family: 'font-awesome';display: inline-block;margin: 0 6px 0 0;font-style:normal;}
.tipGeneric:before {content: "\f02b";font-family: 'font-awesome';display: inline-block;margin: 0 6px 0 0;font-style:normal;}
.tipGeneric {margin:5px 0 15px 0}

.col-auto .tipImgSize {margin:8px 0 3px 0;}
.col-6 .tipImgSize {margin:0 0 0 0;}

#imagePanel {margin:0 0;}
#currentImageDetails label {font-weight:600;}
#currentImageDetails #imageUrl {max-width:100%;display:block;word-break:break-all;}

.form-group .tipImgSize {margin-top:10px;}

.card-text.helpTip {background-color:transparent;position:relative;padding-left:20px;}
.card-text.helpTip:before {position:absolute;top:2px;left:0}
.card-body .form-check {margin:20px 0}

.form-switch {padding:0 !important;display:flex;align-content:center;justify-content:center}

img.smlImg {width:280px;max-height:100%;}
#imageUrl {overflow-wrap: break-word;}

.wrapButtons {width:calc(100% - 17%);display:inline-block;transition: 0.5s;}
.showMenuLabels + .container form .wrapButtons {width:calc(100% - 70px);}
.wrapButtons a.text-muted {}
.wrapButtons a.text-muted:hover {color:#fff !important;}

.list-group.listInGrid {display:flex;flex-direction:row;flex-wrap:wrap}
.list-group.listInGrid .list-group-item {width:22%;margin:0 1% 2% 0;padding:15px 15px 10px 15px;border:1px solid rgba(0,0,0,.125);border-radius:4px;}
.list-group.listInGrid .list-group-item input {left:5px;top:5px;margin:0;position:static;}
.list-group.listInGrid .list-group-item .inputWrap {background-color:#f4f4f4;padding:8px;position:absolute;bottom:0;left:0;right:0;display:block;text-align:right;}
.list-group.listInGrid .list-group-item .inputWrap input {display:inline-block; width: 30px;height: 30px;margin:0;padding:0}
.list-group.listInGrid label {width:100%;height:100%;margin:0;padding-bottom:40px;}
.list-group.listInGrid label img {display:block;margin:0 auto;max-width:100%;height:auto;}
.list-group.listInGrid label span {display:block;vertical-align:middle;font-size:15px;margin:10px 0 0 0;border-radius:4px;line-height:20px;}

.list-group .list-group-item input {}
.list-group label {height:auto;}
.list-group label img {display:inline-block;margin:0;max-width:200px;height:auto;}
.list-group label span {display:inline-block;vertical-align:middle;font-size:15px;margin:10px 0 0 15px;padding:4px 0 8px 0;border-radius:4px;}

ul.list-group label {margin-bottom:10px;}

.containerLog .poweredBy {margin:0 0 0 0;position:absolute;bottom:0;right:0;}
.navbar a.poweredBy {margin:20px 0 0 0;padding:0 0;display:inline-block;width:110px;height:21px;background-image:url(../images/site/logo_powered.gif);background-repeat:no-repeat;background-position:center;}

.tox select.form-select {padding:8px !important;}

/*validators*/
.text-danger {font-size:15px;padding:5px 0 0 0;}

.tempBg {background-color:#f4f4f4;border-top:5px dashed #ccc}

.border-dotted {border:1px dotted #c1c1c1;border-radius:4px;}

@media (min-width: 992px) and (max-width: 1450px) { 

    .sidebar .userLogout {min-width:100%;}

}

@media (min-width: 992px) and (max-width: 1210px) { 
    .navbar a i {display:inline-block;vertical-align:middle;}
    .navbar a span {display:inline-block;text-overflow: ellipsis;white-space: nowrap;overflow:hidden;max-width:120px;vertical-align:middle;}
}

@media only screen and (max-width: 991.98px) {
   
  .sidebar .userLogout {min-width:250px;}   
  .navbar a.poweredBy {bottom:0}

  .navbar-toggler {position:absolute;top:0;right:0}

  .navbar a {}
  .navbar .navbar-brand {width:200px;}
  .navbar-brand div.logoImg {background-size:160px;height:40px;width:180px;background-position:-2px bottom;}

  .mobile-auto {height:auto !important;min-height:auto}

  .navbar-brand span,
  .sidebar .userLogout .text-start,
  .removeOnMobile,
  .menuToggle {display:none !important;visibility:hidden !important}

  .wrapButtons {width:100%;}
}

