/* here you can put your own css to customize and override the theme */

/***
Rounded Portlets
***/
/*
.portlet {
	border-radius: 4px !important;
}

.portlet .portlet-title {
	border-radius: 4px 4px 0px 0px !important;
}

.portlet .portlet-body,
.portlet .portlet-body .form-actions  {
	border-radius: 0px 0px 4px 4px !important;
}
*/

/*
Change Quick Sidebar Width
*/

/*
.page-quick-sidebar-wrapper {
  right: -370px;
  width: 370px;
}

.page-quick-sidebar-open.page-quick-sidebar-push-content .page-sidebar-wrapper {
  margin-left: -370px;
}

.page-quick-sidebar-open.page-quick-sidebar-push-content .page-footer {
  margin-right: 370px;
  margin-left: -370px;
}

.page-sidebar-reversed.page-quick-sidebar-open.page-quick-sidebar-push-content .page-sidebar-wrapper {
  margin-right: 370px;
}

.page-quick-sidebar-open.page-quick-sidebar-push-content.page-quick-sidebar-full-height .page-header {
  margin-left: -370px;
}

.page-quick-sidebar-wrapper .page-quick-sidebar .page-quick-sidebar-list {
  width: 370px !important;
}

.page-quick-sidebar-wrapper .page-quick-sidebar .page-quick-sidebar-item {
  width: 370px !important;
  margin-left: 370px;
}

.page-quick-sidebar-wrapper .page-quick-sidebar .page-quick-sidebar-content-item-shown .page-quick-sidebar-list {
  margin-left: -370px;
}
*/

#role-description {
  margin-top: 10px;
  text-align: center;
  font-size: small;
  font-weight: 400;
  background-color: rgb(247, 243, 243);
}
/**********************************************
************Notifier Panel Style***************
***********************************************/
.equal-col-height {
  display: flex;
  flex-wrap: wrap;
}

.equal-col-height > [class*='col-'] > [class*='panel']  {
  /* border: none; */
  box-shadow: 5px 5px whitesmoke !important;
} 

.equal-col-height > [class*='col-'] > [class*='panel'] > [class*='panel-heading'] {
  background-color: #2b3643;
  color: white;
  font-weight: bold;
}
.equal-col-height > [class*='col-'] > [class*='panel'] > [class*='panel-body'] {
  height: 250px;
  border-radius: 10px !important;
} 

.smtp-text-input {
  height: 20px;
  padding-bottom: 0px;
  font-weight: bold !important; 
  border: none !important; 
  background-color: white !important;
}
.smtp-text-label {
  margin-top: -5px;
  padding-bottom: 0px;
}

@media only screen and (max-width: 990px) {
  .equal-col-height {
    display: block;
  }
  .equal-col-height > [class*='col-'] > [class*='panel'] > [class*='panel-body'] {
    height: auto;
    border-radius: 10px !important;
  }
}
/**********************************************
************PComm Style***************
***********************************************/
header#pcommManage {
  /* background-color: blue; */
  z-index: 300 !important;
  width: fit-content;
}
.triangleLeft {
  width: 0px;
  height: 0px;
  border-top: 10px solid transparent;
  border-left: 30px solid #EFEFEF;
  border-bottom: 10px solid transparent;
  position: absolute;
  top: 3px;
  left: 304px;
}
form#hardwareForm {
  /* width: 350px; */
  margin-top: -5%;
  margin-left: 331px;
  font-size: small;
  background-color: #EFEFEF;
  border: 1px solid #EFEFEF;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 5px;
}

form#hardwareForm > h4 {
  font-weight: bold;
}

form#hardwareForm button {
  background-color: #2b3643;
  color: white;
} 

/**********PComm Table Style*********/
#pcommManage {
  position: -webkit-sticky;
  position: sticky;
  top: 50px;
}
#pcomm-wrapper {
  /* max-width: 1650px; */
  max-width: max-content;
  height: 800px;
  margin: 0 auto;
  overflow: auto;
}
table#pcommTable {
  border-collapse: separate;
  border-spacing: 0px;
  width: 1750px;
  /* width: max-content; */
}

table#pcommTable thead th:not([scope=row]) {
  background: -webkit-linear-gradient(#4f5a68, #2b3643);
  background: -moz-linear-gradient(#4f5a68, #2b3643);
  background:      linear-gradient(#4f5a68, #2b3643);
  color: white;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  border: 0px solid #c6c7cc;
  border-bottom: 2px inset #c6c7cc;
}

table#pcommTable thead tr th:not([scope=row]) {
  padding: 0.6em;
  font-size: 0.8em;
}

table#pcommTable td {
  padding: 0.5em;
  font-size: 0.75em;
  vertical-align: middle;
}

table#pcommTable tbody tr:nth-child(even) {
  background-color: #f0f0f2;
}
/*rows props for hover effect*/
table#pcommTable tbody tr:nth-child(even):hover {
  background-color: #578EBE;
  background: linear-gradient(#578EBE, #f0f0f2);
}

table#pcommTable tbody tr:nth-child(odd):hover {
  background-color: #578EBE;
  background: linear-gradient(#578EBE, #f0f0f2);
}

table#pcommTable tbody tr:nth-child(even) > td:hover {
  background-color: transparent;
  border: 2px solid #014fa8;
  border-radius: 15px;
  cursor: pointer;
}
/*cells props for hover effect*/
table#pcommTable tbody tr:nth-child(odd) > td:hover {
  background-color: transparent;
  border: 2px solid #014fa8;
  border-radius: 15px;
  cursor: pointer;
}
/*change cells cursor for following columns: 
  port_index, ccu_version, mac_address and last_seen
*/
table#pcommTable tbody > tr.pcommRow > td.not-allow-cursor {
  cursor: not-allowed;
}

/*change cells cursor for following columns: 
  more_than_16, active, type, remote and telnet enabled
*/
table#pcommTable tbody > tr.pcommRow > td.caretList {
  cursor: default !important;
}

/*place i element at the right of cell text*/
table#pcommTable td.caretList > i {
  position: relative;
  float: right;
}
/*cursor will change to pointer when over i elem*/
table#pcommTable td.caretList > i:hover {
  cursor: pointer;
}

table#pcommTable td {
  border-bottom: 1px solid #c6c7cc;
  border-right: 1px solid #c6c7cc;
}
table#pcommTable td:first-child {
  border-left: 1px solid #c6c7cc;
}
table#pcommTable tfoot tr:last-child td {
  border-bottom: 0;
}

table#pcommTable td > button.btn-danger {
  border-radius: 15px !important;
}

table#pcommTable tr > td.rowWithNoData {
   height: 50px;
   text-align: center;
   font-weight: bold;
   border: 1px solid #c6c7cc;
}

/****************************************************************************
***********************BAY YARD PLAN STYLE***********************************
*****************************************************************************/
div#modal-byplan > div.modal-dialog > div.modal-content > div.modal-header > h4 {
  color: #2b3643;
  font-size: small;
  font-weight: bold;
}
#byTypeConfigText {
  background: linear-gradient(#c6c7cc, #E5E5E5);
  border: 1px solid #2b3643;
  border-radius: 10px !important;
  box-shadow: 2px 2px #4f5a68;
  font-weight: bold;
}

/**BAY / YARD PLAN BUILDER FORM STYLE**/
#byBuilderLocationFix.btn.btn-primary, #byBuilderPreview.btn.btn-default {
  background: linear-gradient(#E5E5E5, #c6c7cc) !important;
  width: 100px;
  height: 35px;
  color: #2b3643 !important;
  border: 1px solid #4f5a68 !important;
  border-radius: 5px !important;
  padding: 5px !important;
}
#byBuilderLocationFix.btn.btn-primary:hover, #byBuilderPreview.btn.btn-default:hover {
  background: linear-gradient(#4f5a68, #E5E5E5) !important;
  border: 2px inset cornflowerblue !important;
}
#byBuilderPreview.btn.btn-default > i {
  padding: 5px;
  color: #2b3643;
}