﻿/* SafeDeals CMS - admin stylesheet (Bootstrap 5 based).
   Ported from testangularapp.client: assets/css/styles.css ("My Own Styles" section),
   shared/backend-menu and shared/backend-header component styles. */
@font-face { font-family: PFDinText; src: url("fonts/PFDinText_Regular.otf") format("opentype"); }
@font-face { font-family: PFDinText; font-weight: bold; src: url("fonts/PFDinText_Bold.otf") format("opentype"); }
:root { --sd-pink: #ca4398; --sd-green: #19aaaf; --sd-red: #b30d43; --sd-purple: #9F008C; }
html, body { font-family: "PFDinText", system-ui, sans-serif; }
body { background: #f3f2f2; overflow-x: hidden; }

/* ---------- layout ---------- */
.admin-header .navbar { padding: 8px 16px; background: #fff; margin-bottom: 0; box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); }
.admin-header .sidebar-toggler { color: #6c757d; font-size: 1.25rem; }
.admin-header .navbar-brand { font-weight: bold; }
.admin-header .w-300 { width: 300px; }
.admin-search-results { position: absolute; z-index: 1050; width: 100%; max-height: 360px; overflow-y: auto; }
.admin-wrapper { display: flex; align-items: stretch; min-height: calc(100vh - 62px); }
.admin-content { flex: 1 1 auto; min-width: 0; padding: 16px; background-color: #f3f2f2; }

#sidebar { min-width: 250px; max-width: 250px; background-color: lightgray; transition: all .4s; }
#sidebar.collapsed { margin-left: -250px; }
#sidebar .sidebar-header { padding: 10px; background-color: lightgray; }
#sidebar ul.components { padding: 10px 0; border-bottom: 1px solid #47748b; }
#sidebar ul li a { padding: 5px 10px; font-size: 1.1em; display: block; color: #000; text-decoration: none; }
#sidebar ul li a:hover { color: #47748b; background: #fff; }
#sidebar ul li.active > a, #sidebar a[aria-expanded="true"] { background-color: #bdc3c7; }
#sidebar a.dropdown-toggle { position: relative; }
#sidebar a.dropdown-toggle::after { position: absolute; top: 50%; right: 20px; transform: translateY(-50%); }
#sidebar ul ul a { font-size: .9em !important; padding-left: 30px !important; background-color: #bdc3c7; }
@media (max-width: 768px) { #sidebar { margin-left: -250px; } #sidebar.collapsed { margin-left: 0; } }

/* ---------- loader / toasts ---------- */
#sd-loader { position: fixed; inset: 0; background: rgba(255,255,255,.6); z-index: 2000; display: none; align-items: center; justify-content: center; }
#sd-loader.show { display: flex; }
#sd-toasts { position: fixed; top: 70px; right: 16px; z-index: 2100; }

/* ---------- datatables + bootstrap 5 ---------- */
table.dataTable { width: 100% !important; }
.dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select { border: 1px solid #ced4da; border-radius: .25rem; padding: 2px 6px; }
table.dataTable thead th { white-space: nowrap; }

/* ---------- Bootstrap 4 utilities still used by the ported markup ---------- */
.text-success { color: var(--sd-green) !important; }
.text-danger { color: var(--sd-red) !important; }
.bg-success, .badge-success { background-color: var(--sd-green) !important; color: #fff; }
.bg-danger, .badge-danger { background-color: var(--sd-red) !important; color: #fff; }
.badge-warning { background-color: #ffc107; color: #212529; }
.badge-info { background-color: #17a2b8; color: #fff; }
.badge-secondary { background-color: #6c757d; color: #fff; }
.badge-primary { background-color: #0d6efd; color: #fff; }
.form-group { margin-bottom: 1rem; }
.credit-card .card-header { border-bottom: 0; }
.text-value-xl { font-weight: 600; }
.cursor-pointer { cursor: pointer; }
.img-thumb { max-height: 60px; max-width: 120px; object-fit: contain; }
.btn-circle.btn-sm { width: 30px; height: 30px; padding: 4px 0; border-radius: 15px; font-size: 12px; text-align: center; }
.btn-circle.btn-md { width: 50px; height: 50px; padding: 7px 10px; border-radius: 25px; text-align: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.stat-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.bg-blue { background-color: #0d6efd !important; } .bg-green { background-color: #19aaaf !important; } .bg-red { background-color: #b30d43 !important; }
.roundy { border-radius: 10px; }
.text-gray { color: #6c757d; }
.stat-link { text-decoration: none; color: inherit; display: block; }
.stat-link:hover .bg-white { box-shadow: 0 .5rem 1rem rgba(0,0,0,.25) !important; }
.message-card { text-decoration: none; color: #000; transition: background-color .2s; }
.message-card:hover { background-color: #f8f9fa; }
.coolQRCode { filter: drop-shadow(3px 3px 3px #999); }
.coolQRCode canvas, .coolQRCode img { width: 200px !important; height: 200px !important; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 220px; padding-top: 18px; border-bottom: 1px solid #dee2e6; }
.chart-bars .bar { flex: 1 1 0; background: linear-gradient(to top, #19aaaf, #6fd3d6); position: relative; min-height: 2px; border-radius: 3px 3px 0 0; }
.chart-bars .bar span { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-size: 11px; }
.chart-labels { display: flex; gap: 6px; } .chart-labels div { flex: 1 1 0; text-align: center; font-size: 12px; color: #6c757d; }
.page-breadcrumb .breadcrumb { background: transparent; padding: 0; margin-bottom: 1rem; }
.nav-tabs .nav-link { color: #495057; } .nav-tabs .nav-link.active { font-weight: 600; }

/*===================================================My Own Styles================================*/

/*==========Fonts====*/

.safe_font_color{
	color: #ca4398;
}

.white-font{
  color: white;
}

.black-font{
  color: black!important;
}

.transparent-font{
  color:transparent;
}

.green-font{
  color:#19aaaf;
}

.red-font{
  color:#b30d43
}

.pink-font{
  color:#9F008C;
}

.lightgrey-font{
  color:#ced4da;
}

.fs-10{
	font-size: 10px;
}

.fs-12{
	font-size: 12px;
}

.fs-14{
	font-size: 14px;
}

.fs-16{
	font-size: 16px;
}

.fs-18{
	font-size: 18px!important;
}

.fs-20{
	font-size: 20px!important;
}

.fs-22{
	font-size: 22px!important;
}

.fs-24{
	font-size: 24px;
}

.fs-30{
	font-size: 30px;
}

.fs-35{
	font-size: 35px;
}

.fs-40{
	font-size: 40px!important;
}

.fw-300{
	font-weight: 300;
}

.fw-400{
	font-weight: 400;
}

.fw-500{
	font-weight: 500;
}

.fw-600{
	font-weight: 600;
}

.text-black{
  color:black;
}

/*===End of Fonts====*/

/*======Heights=======*/

.h-20{
  height:20px!important;
}
/*===End of Heights====*/


/*=======Modal======*/
.subscribe_popup .modal-body {
	padding: 0;
}
.subscribe_popup .modal-content {
	border: 0;
	border-radius: 0;
}
.popup_content {
	padding: 50px;
	text-align: center;
}
.subscribe_popup .close {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 9;
	opacity: 1;
	text-shadow: none;
	width: 40px;
	height: 40px;
}
.subscribe_popup .close i {
	font-size: 40px;
}
/*=======End of Modal===*/

/*=========Paddings========*/

.pd-lr{
	padding-left: 0;
	padding-right: 0;
}

.pd-0{
	padding:0;
}

.pd-6{
	padding:6px;
}

.pd-7{
	padding:7px;
}

.pdl-20{
	padding-left: 20px;
}

.pd-l5{
	padding-left: 5px;
}

.pd-l7{
	padding-left: 7px;
}

.pd-l9{
	padding-left: 9px;
}

.pd-l10{
	padding-left: 10px;
}

.pd-10{
	padding:10px;
}

.pd-2{
	padding:2px;
}

.pd-5{
	padding:5px;
}

.pd-4{
	padding:4px;
}

.pd-10{
	padding:10px;
}

.pd-20{
	padding:20px;
}

.pdtb-5{
	padding:5px 0;
}

.pdtb-8{
	padding:8px 0;
}

.pdtb-10{
	padding:10px 0;
}

.pdlr-10{
	padding:0 10px;
}

.pdlr-20{
	padding:0 20px;
}

/*=====End Of Paddings=====*/

/*=========Margins========*/

.m-0a{
  margin:0 auto;
}

.mr-0{
	margin-right: 0;
}

.mr-7{
	margin-right: 7px;
}

.ml-10{
	margin-left: 10px;
}

.ml-0{
  margin-left:0;
}

.mt-m20{
	margin-top: -20px;
}

.mt-m10{
	margin-top: -10px;
}

.mt-m5{
	margin-top: -5px;
}

.mb-20{
	margin-bottom: 20px;
}

.mb-40{
	margin-bottom: 40px;
}

.mt-20{
	margin-top: 20px;
}

.mt-10{
	margin-top: 10px;
}

.mt-40{
	margin-top: 40px;
}

.mb-20{
	margin-bottom: 20px;
}
.mb-30{
	margin-bottom: 30px;
}
.mb-60{
	margin-bottom: 60px;
}

.t-50{
	top:50px;
}

.br-0{
  border-radius: 0!important;
}

/*=====End Of Margins=====*/

/*==========Backgrounds====*/

.safe_bg_color{
	background-color: #ca4398;
}

.lightgray_bg{
	background-color: #f3f2f2;
}

.facebook_bg_color{
	background-color: #3B5998;
}

.google_bg_color{
	background-color: #DD4B39;
}

.soft_gray_bg{
	background-color: #d9d9d9;
}

.bg-violet .checkbox-template::before {
    border: 1px solid #ddd !important;
}
  
.bg-violet .checkbox-template::after {
  background: #fff !important;
}

.bg-violet {
  background-color: #DF99CA !important;
}

.bg-red .checkbox-template::before {
  border: 1px solid #ddd !important;
}

.bg-red .checkbox-template::after {
  background: #fff !important;
}

.bg-red {
  background-color: #c4302b !important;
}

.bg-blue .checkbox-template::before {
border: 1px solid #ddd !important;
}

.bg-blue .checkbox-template::after {
background: #fff !important;
}

.bg-blue {
background-color: #4C84FF !important;
}

.bg-green .checkbox-template::before {
  border: 1px solid #ddd !important;
}

.bg-green .checkbox-template::after {
  background: #fff !important;
}

.bg-green {
  background-color: #19aaaf !important;
}

.bg-orange {
  background-color: orange !important;
}

a.bg-blue:hover, a.bg-blue:focus,
button.bg-blue:hover,
button.bg-blue:focus {
background-color: #1961ff !important;
}

a.bg-green:hover, a.bg-green:focus,
button.bg-green:hover,
button.bg-green:focus {
background-color: #19aaaf !important;
}

/*===End of Backgrounds====*/












/*=================================================================================*
===================================================================================
					Admin Platform Styles
===================================================================================
===================================================================================*/


.roundy {
	border-radius: 50px;
  }
  
  .border {
	border: 1px solid #eee;
  }
  
  .rounded {
	border-radius: 0.5rem !important;
  }
  
  .push {
	margin-left: 6rem;
  }

  .icon {
	min-width: 2.2rem;
	max-width: 2.2rem;
	min-height: 2.2rem;
	max-height: 2.2rem;
	border-radius: 50%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
  }
  
  .icon-lg {
	min-width: 3rem;
	max-width: 3rem;
	min-height: 3rem;
	max-height: 3rem;
  }
  
  .icon-sm {
	min-width: 1.7rem;
	max-width: 1.7rem;
	min-height: 1.7rem;
	max-height: 1.7rem;
	font-size: 0.7rem;
  }

  .lead {
	font-size: 1.125rem;
	font-weight: 300;
  }

  /*
* 9. CARD
*/
.backend-card {
    background-color: #fff;
    border: none;
    -webkit-box-shadow: 0 0.125rem 0.8rem rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.125rem 0.8rem rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
  }
  
  .backend-card > .list-group:first-child .list-group-item:first-child {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
  }
  
  .backend-card > .list-group:last-child .list-group-item:last-child {
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
  }
  
  .backend-card-body {
    padding: 2rem;
  }
  
  .backend-card-title {
    margin-bottom: 1.5rem;
  }
  
  .backend-card-subtitle {
    margin-top: -0.75rem;
  }
  
  .backend-card-link + .backend-card-link {
    margin-left: 2rem;
  }
  
  .backend-card-header {
    padding: 1.5rem 2rem;
    background-color: white;
    border-bottom: none;
    -webkit-box-shadow: 0 0.125rem 0.8rem rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.125rem 0.8rem rgba(0, 0, 0, 0.1);
  }
  
  .backend-card-header:first-child {
    border-radius: calc(1rem - 1px) calc(1rem - 1px) 0 0;
  }
  
  .backend-card-header-transparent {
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: none;
  }
  
  .backend-card-footer {
    padding: 1.5rem 2rem;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
  }
  
  .backend-card-footer:last-child {
    border-radius: 0 0 calc(1rem - 1px) calc(1rem - 1px);
  }
  
  .backend-card-header-tabs {
    margin-right: -1rem;
    margin-bottom: -1.5rem;
    margin-left: -1rem;
    border-bottom: 0;
  }
  
  .backend-card-header-pills {
    margin-right: -1rem;
    margin-left: -1rem;
  }
  
  .backend-card-img-overlay {
    padding: 1.25rem;
  }
  
  .backend-card-img-overlay-opacity {
    background: rgba(0, 0, 0, 0.2);
  }
  
  .backend-card-img {
    border-radius: calc(1rem - 1px);
  }
  
  .backend-card-img-top {
    border-top-left-radius: calc(1rem - 1px);
    border-top-right-radius: calc(1rem - 1px);
  }
  
  .backend-card-img-bottom {
    border-bottom-right-radius: calc(1rem - 1px);
    border-bottom-left-radius: calc(1rem - 1px);
  }
  
  .backend-card-deck .backend-card {
    margin-bottom: 15px;
  }
  
  @media (min-width: 576px) {
    .backend-card-deck {
      margin-right: -15px;
      margin-left: -15px;
    }
    .backend-card-deck .backend-card {
      margin-right: 15px;
      margin-left: 15px;
    }
  }

  .datatable-td-img{
      height: 25px;
      width:auto;
  }
/* html, body { height: 100%; }
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }

html, body { height: 100%; }
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; } */


/*==================angular Material Overrides=========*/
/*TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.
 */
.mat-form-field-appearance-outline .mat-form-field-infix{
  padding: 10px!important;
}
/* Structure */
.amt-container {
  position: relative;
}

.amt-table-container {
  position: relative;
  min-height: 200px;
  max-height: 400px;
  overflow: auto;
}

table {
  width: 100%;
}

.amt-loading-shade {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 56px;
  right: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amt-rate-limit-reached {
  max-width: 360px;
  text-align: center;
}

/* Column Widths */
.mat-column-number,
.mat-column-state {
  max-width: 64px;
}

.mat-column-created {
  max-width: 124px;
}

.mat-mdc-row {
  height: auto;
}

.mat-mdc-cell {
  padding: 5px 30px 5px 0!important;
}


@media screen and (max-width: 960px) {
  .mat-mdc-table {
    border: 0;
    vertical-align: middle
  }

  .mat-mdc-table caption {
    font-size: 1em;
  }
  
  .mat-mdc-table .mat-mdc-header-cell {
    
    border: 10px solid;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    width: 1px;
  }
 
  .mat-mdc-table .mat-mdc-row {
    border-bottom: 5px solid #ddd;
    display: block;
  }
  /*
  .mat-table .mat-row:nth-child(even) {background: #CCC}
  .mat-table .mat-row:nth-child(odd) {background: #FFF}
  */
  .mat-mdc-table .mat-mdc-cell {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 1em;
    text-align: right;
    font-weight: bold;
    height:30px;
    margin:10px;
    margin-bottom: 4%;
  }
  .mat-mdc-table .mat-mdc-cell:before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    text-transform: uppercase;
    font-weight: normal;
    
    font-size: .85em;
  }
  .mat-mdc-table .mat-mdc-cell:last-child {
    border-bottom: 0;
  }
    .mat-mdc-table .mat-mdc-cell:first-child {
    margin-top: 4%;
  }
}




/*=======ng-select custom style========
======================================*/
.ng-select.custom {
  border:0px;
  min-height: 0px;
  border-radius: 0;
}
.ng-select.custom .ng-select-container  {            
  min-height: 0px;
  border-radius: 25px;
  height: 38px;
  padding: 5px 2px;
}


/*================notices=====================*/
.notice {
  padding: 15px;
  background-color: #fafafa;
  border-left: 6px solid #7f7f84;
  margin-bottom: 10px;
  -webkit-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
          box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
}
.notice-sm {
  padding: 10px;
  font-size: 80%;
}
.notice-lg {
  padding: 35px;
  font-size: large;
}
.notice-success {
  border-color: #80D651;
}
.notice-success>strong {
  color: #80D651;
}
.notice-info {
  border-color: #45ABCD;
}
.notice-info>strong {
  color: #45ABCD;
}
.notice-warning {
  border-color: #FEAF20;
}
.notice-warning>strong {
  color: #FEAF20;
}
.notice-danger {
  border-color: #d73814;
}
.notice-danger>strong {
  color: #d73814;
}
/*SUP-1176 start*/
.nowrap{
  white-space:nowrap!important;
}

.slider.related-katastimata-slider{
  height:57vh!important;
}
/*SUP-1176 end*/




#sd-confirm .modal-body { white-space: pre-line; }
