:root{
  --primary-rgb: rgb(236, 32, 36);
  --secondary-rgb: rgb(0,0,0);
  --navy-rgb: rgb(0, 8, 82);
  --yellow-rgb: rgb(251, 255, 1);
  --table-hover-color: #ec2024;
}

main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* NAVBAR BEGIN */

body {
    position: relative;
    overflow-x: hidden;
    background-color: #9e9e9e;
}
body,
html { height: 100%;}
.nav .open > a, 
.nav .open > a:hover, 
.nav .open > a:focus {background-color: transparent;}

/*-------------------------------*/
/*           Wrappers            */
/*-------------------------------*/

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 220px;
}

#sidebar-wrapper {
    z-index: 1000;
    left: 220px;
    width: 0;
    height: 100%;
    margin-left: -220px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #000;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

@media screen and (max-width: 1024px ) {
    
    #sidebar-wrapper{
        background: rgba(0, 0, 0, 1);
    }
    
}

#sidebar-wrapper::-webkit-scrollbar {
  display: none;
}

#wrapper.toggled #sidebar-wrapper {
    width: 220px;
}

#page-content-wrapper {
    width: 100%;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -220px;
}

/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/
.navbar {
  padding: 0;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 220px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    position: relative; 
    line-height: 20px;
    display: inline-block;
    width: 100%;
}


.sidebar-nav li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
    width: 3px;
    /* background-color: #EC2024 ; */
}
.sidebar-nav li:hover{
  margin-left: 5px;
  margin-right: 5px;
}


.sidebar-nav li:hover:before,
.sidebar-nav li.open:hover:before {
    width: 100%;
            transition: width .4s;

}

.sidebar-nav li::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px; /* Thickness of the underline */
  background-color: rgba(236, 32, 36, 0.35); /* Color of the underline */
}

.sidebar-nav li:hover::after {
  width: 100%;
          transition: width .4s;

}

.sidebar-nav li a {
    display: block;
    color: #ddd;
    text-decoration: none;
    padding: 10px 15px 10px 30px;    
}

.sidebar-nav li a:hover,
.sidebar-nav li a:active,
.sidebar-nav li a:focus,
.sidebar-nav li.open a:hover,
.sidebar-nav li.open a:active,
.sidebar-nav li.open a:focus{
    color: #fff;
    text-decoration: none;
    background-color: #ec20239c;
}
.sidebar-header {
    text-align: center;
    font-size: 20px;
    position: relative;
    width: 100%;
    display: inline-block;
}
.sidebar-brand {
    height: 65px;
    position: relative;
    background: rgb(0, 0, 0);
   padding-top: 1em;
}


.sidebar-brand a {
    color: #ddd;
}
.sidebar-brand a:hover {
    color: #fff;
    text-decoration: none;
}
.dropdown-main-header {
    text-align: center;
    font-size: 1em;
    color: #ddd;
    background:#212531;
    background: linear-gradient(to right bottom, #2f3441 50%, #212531 50%);
}
.sidebar-nav .dropdown-main-menu {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
}
.dropdown-main-menu.show {
    display: block;
}

/* General Dropdown Styles */
.dropdown-main-menu {
    display: none;
  /* background-color: transparent; Background for dropdown */
  border: 1px solid #ddd; /* Border for dropdown */
  border-radius: 4px; /* Rounded corners */
  padding: 10px 0; /* Spacing inside dropdown */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  --bs-dropdown-bg: transparent;
}

/* Dropdown Items */
.dropdown-main-menu > li > a {
  display: block;
  margin-left: 20px;
  color: #fff; /* Text color */
  text-decoration: none;
}

.dropdown-main-menu > li > a:active{
  background-color: rgba(255,255,255,0.2);
}

/* Hover and Focus Effects */
.dropdown-main-menu > li > a:hover,
.dropdown-main-menu > li > a:focus {
  background-color: rgba(255, 255, 255, 0.27); /*Background on hover */
  color: #fff; /* Text color on hover */
}

/* Dropdown Animation (Optional) */
.animated.fadeInLeft {
  animation: fadeInLeft 0.5s ease both;
}

@keyframes fadeInLeft {
  from {
      opacity: 0;
      transform: translateX(-10px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
  .dropdown-main-menu {
      width: 100%; /* Full width for small screens */
      border-radius: 0; /* Remove rounded corners */
      box-shadow: none; /* Simplify shadow */
  }

}

/*-----------------*/
/*Fontawesome icons*/
/*-----------------*/
.nav.sidebar-nav li a::before {
    font-family: fontawesome;
    content: "\f12e";
    vertical-align: baseline;
    display: inline-block;
    padding-right: 5px;
}
a[alt*="#home"]::before {
  content: "\f015" !important;
}
a[alt*="#shirts"]::before {
  content: "\f553" !important;
}
a[alt*="#shirt-sizes"]::before {
  content: "\e533" !important;
}
a[alt*="#add-shirt"]::before {
  content: "\f234" !important;
}
a[alt*="#update-shirt"]::before {
  content: "\f4ff" !important;
}
a[alt*="#works"]::before {
  content: "\f0b1" !important;
}
a[alt*="#pictures"]::before {
  content: "\f03e" !important;
}
a[alt*="#videos"]::before {
  content: "\f03d" !important;
}
a[alt*="#books"]::before {
  content: "\f02d" !important;
}
a[alt*="#art"]::before {
  content: "\f1fc" !important;
}
a[alt*="#awards"]::before {
  content: "\f02e" !important;
}
a[alt*="#services"]::before {
  content: "\f013" !important;
}
a[alt*="#contact"]::before {
  content: "\f086" !important;
}
a[alt*="#followme"]::before {
  content: "\f099" !important;
  color: #0084b4;
}
/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/

.hamburger {
  position: fixed;
  top: 20px;  
  z-index: 999;
  display: block;
  width: 32px;
  height: 32px;
  margin-left: 15px;
  background: transparent;
  border: none;
}
.hamburger:hover,
.hamburger:focus,
.hamburger:active {
  outline: none;
}
.hamburger.is-closed:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  color: #fff;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px,0,0);
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom,
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  position: absolute;
  left: 0;
  height: 4px;
  width: 100%;
}
.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom {
  background-color: #1a1a1a;
}
.hamburger.is-closed .hamb-top { 
  top: 5px; 
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed .hamb-middle {
  top: 50%;
  margin-top: -2px;
}
.hamburger.is-closed .hamb-bottom {
  bottom: 5px;  
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed:hover .hamb-top {
  top: 0;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover .hamb-bottom {
  bottom: 0;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  background-color: #1a1a1a;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-bottom {
  top: 50%;
  margin-top: -2px;  
}
.hamburger.is-open .hamb-top { 
  -webkit-transform: rotate(45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open .hamb-middle { display: none; }
.hamburger.is-open .hamb-bottom {
  -webkit-transform: rotate(-45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  color: #fff;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px,0,0);
  -webkit-transition: all .35s ease-in-out;
}


/*----------------*/
/* SIDEBAR LOGOUT */
/*----------------*/
.sidebar-footer li {
    position: relative; 
    line-height: 20px;
    display: inline-block;
    width: 100%;
}

.sidebar-footer li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
    width: 3px;
    border-radius: 10px;
    background-color: #EC2024  ;

}

.sidebar-footer{
    margin-top: auto;
    width: 200px;
    padding: 0;
    list-style: none;
}


.sidebar-footer li:hover{
    border-radius: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .sidebar-footer li:hover:before,
  .sidebar-footer li.open:hover:before {
      width: 100%;
              transition: width .4s;
  
  }

.logout-link {
    display: block;
    color: #ddd;
    text-decoration: none;
    margin: 0;
    padding: 10px 15px 10px 30px;
    text-decoration: none;    
}

/*----------------*/
/* END SIDEBAR LOGOUT */
/*----------------*/

/*-------------------------------*/
/*            Overlay            */
/*-------------------------------*/

/*-------------------------------*/
/*          Sidebar Images       */
/*-------------------------------*/

.sidebar-logo{
    max-width: 100px;
    margin-top: -20px;
}

/* NAVBAR END */

/*-------------------------*/
/* CUSTOM SHIRT SIZE INPUT */
/*-------------------------*/

.custom-input-shirt-size{
  max-width: 600px;
}



/* FORM */
.form-control:focus{
  border: solid 1px #EC2024;
  box-shadow: 0px 0px 5px #EC2024 !important;
}


/* BUTTONS */
.base-button{
  padding: 6px;
  border-radius: 10px;
  max-width: fit-content;
  text-decoration: none;
}

.sm-button{
  padding: 2px;
  margin-top: 4px;
  border-radius: 5px;
  max-width: fit-content;
  text-decoration: none;
}

.primary-button{
  background-color: var(--primary-rgb) !important;
  color: black;
  border: 1px solid var(--primary-rgb);
  font-weight: 600;
}

.primary-button:hover{
  color: white;
  transition: all 0.4s;
}

.secondary-button{
  background-color: var(--secondary-rgb) !important;
  color: white;
  border: 1px solid var(--secondary-rgb);
  font-weight: 600;
}

.secondary-button:hover{
  color: var(--primary-rgb);
  transition: all 0.4s;
}

.update-button{
  background-color: var(--navy-rgb) !important;
  color: white ;
  border: 1px solid var(--navy-rgb);
  font-weight: 500;
}

.update-button:hover{
  color: var(--primary-rgb);
  transition: all 0.4s;
}

.delete-button{
  background-color: var(--yellow-rgb) !important;
  color: var(--secondary-rgb);
  border: 1px solid var(--yellow-rgb);
  font-weight: 500;
}

.delete-button:hover{
  color: var(--primary-rgb);
  transition: all 0.4s;
}

.login-button{
    padding: 6px 12px;
    border-radius: 10px;
    max-width: fit-content;
    text-decoration: none;
}


/* IMAGES */

.login-image{
    display: flex;
    justify-content: center;
    max-width: 80%;
    margin: auto;
    padding-bottom: 30px;
}

@media screen and (max-width: 520px){
    .login-image{
        max-width: 100%;
        padding-bottom: 10px;
    }
}

