
#wflag {
	background-image: url('/assets/img/espana.png');
	background-repeat: no-repeat;
	background-position: right center;
	background-size: contain;
	/*border: 1px solid blue;*/
}

#welcome_bg p {
	font-size: 1rem;
}

@media (max-width: 992px) {
	#welcome_bg h1 {
		font-size: 1.2rem;
	}
	#welcome_bg p {
		font-size: 0.8rem;
	}
}
@media (max-width: 768px) {
	#welcome_bg h1 {
		font-size: 0.9rem;
	}
	#welcome_bg p {
		font-size: 0.8rem;
	}
}
@media (max-width: 576px) {
	#wflag {
		background-color: rgba(255,255,255,0.5);
		background-blend-mode: lighten;
		background-size: 50% 100%;
	}
}

.golden0 {
	margin-top: 12px;
	margin-bottom: 12px;
}
.golden1 {
	margin-top: 12px;
	margin-bottom: 12px;
	background:	radial-gradient(ellipse farthest-corner at right bottom, #fee46b 0%, #fdcc66 8%, #c99832 30%, #b5913e 40%, transparent 80%),
		radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #ffffd5 8%, #ddc78c 25%, #937531 62.5%, #8f7330 100%);
}
.golden2 {
	margin-top: 12px;
	margin-bottom: 12px;
	background:	radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
		radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
}
.golden3 {
	margin-top: 12px;
	margin-bottom: 12px;
	background:linear-gradient(to right, #BF953F 10%, #FCF6BA 40%, #FCF6BA 60%, #B38728 90%);
}
.golden4 {
	margin-top: 12px;
	margin-bottom: 12px;
	background:linear-gradient(to right, #caa75e 10%, #fefbe0 40%, #fefbde 60%, #d19f36 90%);
}

.perito-border-gold {
	border: 1px solid #b09149;
}

.perito-border-blue {
	border: 1px solid #004080;
}

.prontuario-h1-sticky {
	margin-left: 5px;
	padding: 10px 20px 10px 10px;
	line-height: 56px;
	background-color: #FFFFFF;
}

@media (max-width: 768px) {
	.prontuario-h1-sticky {
		font-size: 26px;
		padding: 10px;
	}
}

#welcome_bg {
	background: linear-gradient(-45deg, #e5f4fd, #e8e9f7, #fae6e7, #fef3e4);
	background-size: 400% 400%;
	animation: gradient 10s ease infinite;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* https://blog.hubspot.com/website/scrolling-text-css */
.topnews-container {
	overflow-x: hidden;
	overflow-y: hidden;
	/*overflow-wrap: normal;*/
	white-space: nowrap;
	/*width: 100%;*/
}

.topnews-text-14 {
	transform: translateX(100%);
	animation: my-animation-14 14s linear infinite;
	&:hover, &:active {
		animation-play-state: paused;
	}
}

.topnews-text-15 {
	transform: translateX(100%);
	animation: my-animation-15 15s linear infinite;
	&:hover, &:active {
		animation-play-state: paused;
	}
}

@keyframes my-animation-14 {
	from { transform: translateX(100%); }
	to { transform: translateX(-100%); }
}

@keyframes my-animation-15 {
	from { transform: translateX(100%); }
	to { transform: translateX(-100%); }
}

.tooltip-red {
  --bs-tooltip-bg: var(--bs-navy);
}


#mapa-espana a path:hover, #mapa-espana #provincia-ceuta:hover, #mapa-espana #provincia-melilla:hover {
	fill: #3f78e0 !important;
}

.mapa-activo {
	fill: #3f78e0 !important;
}

.overflow-espec {
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #3f78e0 #afbdd1;
}

.overflow-160 {
	height: 160px;
}

.overflow-225 {
	height: 225px;
}

.overflow-325 {
	height: 325px;
}

/* H3 / BUTTON en ACCORDION */

.accordion-wrapper .card h3 {
      padding: 0 0 0 1.1rem;
        &:before {
          left: 1rem !important;
         }
  }
  .card-header h3 {
      cursor: pointer;
      width: 100% !important;
      padding: 0 0 0 1rem;
      text-align: left;
      margin: 0;
      border: 0;
      font-size: 0.90rem !important;
      font-weight: bold;
      color: #1b4ba7;
      @include transition(all 150ms ease-in-out);
      background: none;
      &:before {
        font-family: Unicons;
        position: absolute;
        left: 1.3rem !important;
        content: "\e92d";
        @include font-size(0.15rem);
        font-weight: normal;
        width: 1rem;
        margin-top: -0.25rem;
        margin-left: -0.3rem;
        display: inline-block;
        /*color: #3f78e0;*/
      }
      &.collapsed {
        /*color: #3f78e0;*/
        &:before {
          content: "\e932";
        }
      }
      &:hover {
        /*color: var(--#{$prefix}primary);*/
      }
    }
  }


.accordion-item.icon h3 {
    padding: 0 0 0 1.5rem;
    display: flex;
    align-items: center;
    &:before {
      display: none;
    }
    > span {
      position: absolute;
      left: 1.3rem;
      i {
        @include font-size(1rem);
      }
    }
  }


/* VISADOS */

.documentzonesp {
	margin: 0 auto 20px auto;
	empty-cells: show;
	border-collapse: collapse;
}

.documentzonesp td {
	width: 40px;
	vertical-align: middle;
	background-color: #FFFFFF;
}

.documentzonesp td.dz1 {
	height: 40px !important;
	text-align: center !important;
	border: 1px solid #808080;
}

.documentzonesp td.dz2 {
	color: #c0c0c0;
	height: 100px !important;
	border: 1px solid #808080;
}

.documentzones {
	margin: 0 auto 20px auto;
	empty-cells: show;
	border-collapse: collapse;
}

.documentzones td {
	width: 40px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #808080;
	background-color: #FFFFFF;
}

.documentzones td.dz1 {
	text-align: center;
	height: 40px !important;
}

.documentzones td.dz2 {
	text-align: center;
	color: #c0c0c0;
	height: 100px !important;
}

.documentzonesc {
	margin: 0 auto 20px auto;
	empty-cells: show;
	border-collapse: collapse;
}

.documentzonesc td {
	width: 65px;
	text-align: center;
	vertical-align: middle;
	background-color: #FFFFFF;
}

.documentzonesc td.dz1 {
	text-align: center;
	height: 35px !important;
	border: 1px solid #808080;
}
.selloportada, .sellointerior, .selloqr {
	margin: 0 !important;
	padding: 0 !important;
}

/* FIN VISADOS */

.table-piyama th {
	background-color: #dce6fa !important;
}
.table-piyama .row:nth-of-type(odd) div {
	background-color: #f5f5f6 !important;
}
.table-piyama .row:nth-of-type(even) div {
	background: #FFFFFF;
}

.table-piyama tr:nth-child(even) {
  background-color: #f5f5f6;
}

.autocompleteResults {
	/*margin: 10px;
	padding-left: 10px;
	padding-right: 10px;*/
	max-height: 300px;
	font-size: 14px;
	overflow-y: auto;
	color: #3f78e0;
	background-color: #ffffff;
	/*background-color: #fafafa;*/
	/*border: 2px solid red;*/
}

.autocompleteResults:hover {
	cursor: pointer;
}

.search_item:hover {
	text-decoration: underline;
}

.table-xxs td {
	padding: 4px;
}

.nocopy {
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.adscenter th {
	text-align: center !important;
}

.th-small-center {
	font-size: 14px;
	text-align: center !important;
}

.cell-center {
	text-align: center !important;
}

.cell-right {
	text-align: right !important;
}

.adsticked {
	text-align: center !important;
	background-color: #f5f9fe !important;
}

.difuminado5 {
	filter: blur(5px);
}

.cursor-default, .cursor-default:hover {
	cursor: default !important;
}

.cursor-pointer, .cursor-pointer:hover {
	cursor: pointer !important;
}

.cursor-stop, .cursor-stop:hover {
	cursor: not-allowed !important;
}

.darkb {
	border: 1px solid #808080 !important;
	margin-right: 10px;
}

.shadow08 {
	box-shadow: 0px 0px 12px 2px rgba(45,45,45,0.8);
}

.searchInput {
	min-height: 70px !important;
	padding-left: 60px !important;
	background-image: url("/assets/img/Magnifying_glass_icon.svg");
	background-size: 24px;
	background-repeat: no-repeat;
	background-position: 20px center;
}

.labelInput {
	padding-left: 70px !important;
}

.search_item {
	padding-left: 40px !important;
}

.blinking {
	animation: blinker 3s ease infinite;
}

@keyframes blinker {
	0% { opacity: 1.0; }
	49% { opacity: 1.0; }
	50% { opacity: 0.0; }
	51% { opacity: 1.0; }
	100% { opacity: 1.0; }
}

.blinker {
	animation: blinker 1s linear infinite;
}

@keyframes blinker {
	50% {
		opacity: 0;
	}
}

.pagination .page-item.active  a {
	color: white !important;
	background-color: #3f78e0 !important;
}

.elipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.video-mask{
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 22px;
	border-bottom-left-radius: 22px;
	overflow: hidden; 
}

.marco-t { border-top: 1px solid #566fe4 !important; }
.marco-b { border-bottom: 1px solid #566fe4 !important; }
.marco-l { border-left: 1px solid #566fe4 !important; }
.marco-r { border-right: 1px solid #566fe4 !important; }

.sbper {
	display: block;
}

.cookie-modal-nodrop {
	cursor: no-drop;
}

/*https://www.w3schools.com/howto/howto_css_switch.asp*/
.cookie-modal-switch {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 17px;
}

.cookie-modal-switch input { 
	opacity: 0;
	width: 0;
	height: 0;
}

.cookie-modal-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.cookie-modal-slider:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .cookie-modal-slider {
	background-color: #2196F3;
}

input:focus + .cookie-modal-slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .cookie-modal-slider:before {
	-webkit-transform: translateX(13px);
	-ms-transform: translateX(13px);
	transform: translateX(13px);
}

/* Rounded sliders */
.cookie-modal-slider.round {
	border-radius: 17px;
}

.cookie-modal-slider.round:before {
	border-radius: 50%;
}

.cookie-modal-slider.nodrop {
	cursor: no-drop;
}

.btn-xs {
	/*--bs-btn-padding-y: 0.4rem;
	--bs-btn-padding-x: 1rem;
	--bs-btn-font-size: 0.7rem;
	--bs-btn-border-radius: 0.4rem*/
	--bs-btn-padding-y: 0.1rem;
	--bs-btn-padding-x: 0.6rem;
	--bs-btn-font-size: 0.7rem;
	--bs-btn-border-radius: 0.3rem
}

.nobefore::before {
	content: '' !important;
}

.text-justified {
	text-align: justify;
}

.dclear {
	clear: both;
}

.figure-news {
	border: 1px solid #c0c0c0;
}

.img-news {
	padding: 10px;
	border: 1px solid #d1d1d1;
}

@media (max-width: 575px) {
	#mainlogo {
		width: 165px;
		height: auto;
	}

	.img-news {
		max-height: 200px;
	}

}

@media (min-width: 576px) {
	#mainlogo {
		width: 266px;
		height: auto;
	}
	.nav-link {
		margin-left: 18px;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.img-news {
		max-height: 250px;
	}

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	#mainlogo {
		width: 266px;
		height: auto;
	}
	.img-news {
		max-width: 60%;
		max-height: 350px;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	#mainlogo {
		width: 266px;
		height: auto;
	}
	.menuh {
		display: none;
	}
	.container {
		max-width: 1290px;
	}
}

@media (min-width: 992px) and (max-width: 1087px) {
	#mainlogo {
		width: 180px;
		height: auto;
	}
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	#mainlogo {
		width: 266px;
		height: auto;
	}
	.nav-link {
		margin-left: 22px;
	}
	.menuh {
		display: inline;
	}
	.container {
		max-width: 1320px;
	}
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
	#mainlogo {
		width: 266px;
		height: auto;
	}
	.nav-link {
		margin-left: 32px;
	}
	.container {
		max-width: 1320px;
	}
}