html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .main-container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.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;
}


.toplink {
    position: fixed;
    bottom: 50px;
    right: 50px;
    padding: 5px 8px 0 5px;
    border: solid 1px #ddd;
    border-radius: 5px;
    background: #fff;
}


.xprod-thumbnail img {
	min-height: 96px;
	max-height: 96px;
}



.thumbnails {
	margin-top: 10px;
	margin-bottom: 10px;
}

.thumbnailx {
	display: block;
	padding: 4px;
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-transition: border .2s ease-in-out;
	-o-transition: border;
	margin-bottom: 5px;
}

.thumbnailx img {
	border: none;
	margin-right: auto;
    margin-left: auto;
	max-height: 70px;
	vertical-align: middle;
    display: block;
}


.thumbnailx a {
	outline: 0;
	cursor: pointer;
}


.thumb-active {
	border-color: #ed3237;
}


.img-centered {
    margin: 0 auto;
}

img.prod-rom {
	max-height: 250px;
}

.admin-alerts .alert {
	padding: 5px;
	margin-bottom: 5px;
	
}


@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
  	width: 900px;
    max-width: 900px;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
  	width: 1140px;
    max-width: 1140px;
  }
}

/*--------------------------------------------------------------
# ícones customizados
-----------------------------*/

.glyphicon-3d:before {
    content: "3D";
    font-family: 'Verdana';
    font-style: normal;
    font-size: 18px; /* Adjust the size if necessary */
    font-weight: bold;
    display: inline-block;
    line-height: 1; /* Keep it aligned with other text */
    color: #333; /* Adjust color */
}


.glyphicon-2d:before {
    content: "2D";
    font-family: 'Verdana';
    font-style: normal;
    font-size: 18px; /* Adjust the size if necessary */
    font-weight: bold;
    display: inline-block;
    line-height: 1; /* Keep it aligned with other text */
    color: #333; /* Adjust color */
}

.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/**
* carousel estoque pp
*/

#imagensProdutosEstoqueModal .modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
}

#carousel-produtos-estoque {
  width: 100%; /* Full width of the modal */
  max-width: 100%; /* Prevent overflow */
  position: relative;
}

/* Ensure carousel controls stay at the edges of the modal */
#carousel-produtos-estoque .carousel-control {
  width: 8%; /* Adjust as needed for button size */
  Xtop: 50%; /* Vertically center */
  Xtransform: translateY(-50%);
  position: absolute;
}

#carousel-produtos-estoque .carousel-control.left {
  left: 0; /* Align to the left edge of the modal */
}

#carousel-produtos-estoque .carousel-control.right {
  right: 0; /* Align to the right edge of the modal */
}

/* Ensure carousel images don't affect control positioning */
#carousel-produtos-estoque .carousel-inner {
  position: relative; /* Keeps the controls within bounds */
  text-align: center;
}

#carousel-produtos-estoque .carousel-inner img {
  max-height: 80vh; /* 80% of the viewport height */
  margin: auto; /* Center horizontally */
  display: block;
  object-fit: contain; /* Maintain aspect ratio and fit within container */
}


/**
* carousel galeria produtos
*/

#galeriaModal .modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
}

#carousel-galeria {
  width: 100%; /* Full width of the modal */
  max-width: 100%; /* Prevent overflow */
  position: relative;
}

/* Ensure carousel controls stay at the edges of the modal */
#carousel-galeria .carousel-control {
  width: 8%; /* Adjust as needed for button size */
  Xtop: 50%; /* Vertically center */
  Xtransform: translateY(-50%);
  position: absolute;
}

#carousel-galeria .carousel-control.left {
  left: 0; /* Align to the left edge of the modal */
}

#carousel-galeria .carousel-control.right {
  right: 0; /* Align to the right edge of the modal */
}

/* Ensure carousel images don't affect control positioning */
#carousel-galeria .carousel-inner {
  position: relative; /* Keeps the controls within bounds */
  text-align: center;
}

#carousel-galeria .carousel-inner img {
  max-height: 80vh; /* 80% of the viewport height */
  margin: auto; /* Center horizontally */
  display: block;
  object-fit: contain; /* Maintain aspect ratio and fit within container */
}
