body, html {
    background: white;
    height: 100%;
    width: 100%;
    font-family: var(--font-family), 'Roboto Slab', Helvetica, Arial, sans-serif !important;
}

/* Override select2 font */
.select2-container, .select2-choice, .select2-choices, .select2-search-field  {
    font-family: var(--font-family), 'Roboto Slab', Helvetica, Arial, sans-serif !important;
}

h1, h2 {
    color: var(--heading-color);
}

a {
    color: var(--link-color);
}

a:active, a:hover, a:visited, a:focus {
    text-decoration: none;
    outline: none;
}

.text-info {
    color: var(--info-color);
}

.btn-info {
    color: var(--info-button-color);
    background-color: var(--info-button-bg);
    border-color: var(--info-button-bg);
}

.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.disabled, .btn-info[disabled] {
    color: var(--info-button-color-hover);
    background-color: var(--info-button-bg-hover);
    border-color: var(--info-button-bg-hover);
}

.mb10 {
    margin-bottom: 10px;
}

.pt10 {
    padding-top: 10px;
}

.pt5 {
    padding-top: 5px;
}

.mr10 {
    margin-right: 10px;
}

.select2-results li {font-size: 12px;}

.upper {height:30%}

.upper.smaller {height: 50px;}

.middle-helper {
    height:100%;
    display:inline-block;
    vertical-align:middle
}

.upper img {
	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	-ms-transition: all .1s ease;
	-o-transition: all .1s ease;
	transition: all .1s ease;
}
.upper.smaller img {
    margin-top: 50px;
}

.options{
	position:relative;
	width:100%;
	height:65%;
}

.ilost::-moz-focus-inner, .ifound::-moz-focus-inner {
    border: 0;
}

.ilost, .ifound {
    font-size:18px;
    font-weight:700;
    text-decoration:none;
    display:block;
    text-align:center;
    cursor:pointer;
	width:50%;
	height:100%;
	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	-ms-transition: all .1s ease;
	-o-transition: all .1s ease;
	transition: all .1s ease;
}

.ilost {
    float: left;
    color: var(--lost-button-color);
    background: var(--lost-button-bg);
}

.ifound {
	float: right;
    color: var(--found-button-color);
	background: var(--found-button-bg);
}

.ilost:hover {
    color: var(--lost-button-color-hover);
    background: var(--lost-button-bg-hover);
}

.ifound:hover {
	color: var(--found-button-color-hover);
	background: var(--found-button-bg-hover);
}

.ilost-centrado {
	margin: 0 auto;
	float: none;
}

.header-main {
	position:absolute;
	top:0;
	left:0;
	right:0;
	z-index:10;
	height:80px
}

.logo {
	display:block;
	float:left;
	width:250px;
	min-height:70px;
	-moz-box-sizing:border-box;box-sizing:border-box;position:relative
}

.logo a {
	padding:20px 25px;
	display:block;
	-moz-box-sizing:border-box;box-sizing:border-box
}

.logo img {
	display:block;
	height:40px;
	max-width:200px;
    margin: 15px 20px 20px;
}

.logofp {
	display:block;
	float:right;
	width:280px;
	min-height:70px;
	-moz-box-sizing:border-box;box-sizing:border-box;position:relative
}
.logofp a {
	padding:20px 25px;
	display:block;
	-moz-box-sizing:border-box;box-sizing:border-box
}

.logofp img {
	display:block;
	height:39px;
	max-width:350px;
	margin:20px 0;
}

.header {
	position: static;
	top:0;
	left:0;
	width:100%;
	height:80px;
    color: var(--header-color);
    background: var(--header-bg);
	z-index:99;
}

.card-header {
	border-color: #f0f0f0;
	background-color: #f8f8f8;
	border-radius: 5px;
	border-width: 1px;
	border-style: solid;
	background-image: linear-gradient(to bottom,rgba(255,255,255,.2) 0,rgba(255,255,255,.01) 100%);
	background-repeat: repeat-x;
}

.card-header {
	border-color: #f0f0f0;
	background-color: #f8f8f8;
	border-radius: 5px;
	border-width: 1px;
	border-style: solid;
	background-image: linear-gradient(to bottom,rgba(255,255,255,.2) 0,rgba(255,255,255,.01) 100%);
	background-repeat: repeat-x;
}
.card-body {
	text-align: justify
}

#menu-trigger {
    display: none;
    position: fixed;
    top: 0px;
    right: 10px;
    color: #666;
}

#menu-idiomas {
    position: absolute;
    top: 57px;
    left: 10px;
}

#menu-idiomas a {
    font-size: 12px;
    font-weight: 400;
    color: var(--header-color);
    padding: 3px;
    text-decoration: none
}

#menu-bottom{border:none;background-color:#f2f2f2;background-color:rgba(242,242,242,1);border-top: 1px solid #ddd;}
#menu-bottom a{color:#333;font-size:12px;padding-bottom: 5px}
#menu-bottom a:hover,#menu-bottom a:focus{color:#999;text-decoration:none}
#menu-bottom .navbar-primary a{text-transform:uppercase; }
#menu-bottom .navbar-secondary a{padding-top:0;}
@media (min-width: 768px) {
    #menu-bottom a{padding-bottom: 10px}
}
#navbar-collapse{max-height: 540px}

.line-wrap{width:18px;height:12px;-webkit-transition:all;-o-transition:all;transition:all;-webkit-transition-duration:300ms;transition-duration:300ms;margin:10px 20px}
.line-wrap .line{width:18px;height:2px;background-color:#666;-webkit-transition:all;-o-transition:all;transition:all;-webkit-transition-duration:300ms;transition-duration:300ms}
.line-wrap .line.center{margin:3px 0}

.open .line-wrap{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}
.open .line-wrap .line.top{width:12px;transform:translateX(8px) translateY(1px) rotate(45deg);-webkit-transform:translateX(8px) translateY(1px) rotate(45deg)}
.open .line-wrap .line.bottom{width:12px;transform:translateX(8px) translateY(-1px) rotate(-45deg);-webkit-transform:translateX(8px) translateY(-1px) rotate(-45deg)}

label {font-weight: normal;}

.breadcrumb  {
    background-color: var(--breadcrumb-background);
}

.breadcrumb > li {
	color: #fff;
}

.breadcrumb > li + li:before {
  color: #fff;
}

.breadcrumb > li + li.avance:before {
  padding: 0 5px;
  content: "";
}

.breadcrumb > li.avance a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb > li.avance i {
    margin: 0 5px;
}


#load{height:100%;overflow:hidden;position:fixed;width:100%;z-index:9501;background-color: rgba(255,255,255,1);}
#load .pace{-webkit-pointer-events:none;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}
#load .pace .pace-activity{position:fixed;display:block;z-index:2000;top:50%;left:50%;margin:-25px 0 0 -25px;width:50px;height:50px;background:#fff;pointer-events:none;border-radius:100%}
#load .pace .pace-activity{margin:-65px 0 0 -65px;width:130px;height:130px;background:0 0}
#load .pace .pace-activity:after,
#load .pace .pace-activity:before{position:absolute;bottom:9px;left:9px;display:block;border:3px solid #666;border-radius:50%;content:''}
#load .pace .pace-activity:after,
#load .pace .pace-activity:before{border-width:7px;border-color:#666;}
#load .pace .pace-activity:before{border-right-color:transparent!important;border-left-color:transparent!important;-webkit-animation:pace-rotation 3s linear infinite;animation:pace-rotation 3s linear infinite}
#load .pace .pace-activity:before{bottom:0;left:0;width:130px;height:130px}
#load .pace .pace-activity:after{border-top-color:transparent!important;border-bottom-color:transparent!important;-webkit-animation:pace-rotation 1s linear infinite;animation:pace-rotation 1s linear infinite}
#load .pace .pace-activity:after{bottom:33px;left:33px;width:66px;height:66px}
@-webkit-keyframes pace-rotation{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}
@keyframes pace-rotation{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}

@media only screen and (max-width: 767px) {
  .upper {height:30%}
  .upper.smaller {height: 100px;}
  .upper img{width: 250px;}
  .upper.smaller img {margin-top: 60px;}
  .ilost,.ifound{clear:both;width:100%;margin:0px;-webkit-box-shadow: none;-moz-box-shadow:none;box-shadow:none;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;}
  .options{position:relative;width:100%;height:35%}
  .paddingmobile {padding-top: 15px;}

    .navbar-toggle {
        display: inline-block;
        float: none;
    }
	.logo {
		width:120px !important;
	}
	.logo img {
		margin-left: 10px !important;;
		height: 30px !important;
	}
	.logofp {
		display:block;
		float:right;
		width:185px !important;
		min-height:50px;
		-moz-box-sizing:border-box;box-sizing:border-box;position:relative
	}
	.logofp img {
		display:block;
		height:31px !important; /* 260x39 */
		max-width:175px !important;
		margin:20px 0;
	}

}

@media (min-width: 768px) {
    .navbar-nav {
        float: none;
        display: inline-block;
    }
}

.btn-circle {
    width: 20px;
    height: 20px;
    padding: 4px 0px;
    border-radius: 11px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

.legal-info a {
    color: #428bca;
}

.legal-info a:hover {
    color: #d7192c;
}

.container-legal h1 {
	font-size: 30px;
	font-weight: bold;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 10px;
}

.container-legal h2 {
	font-size: 20px;
	font-weight: bold;
	margin-top: 25px;
	margin-bottom: 5px;
}

.container-legal h3 {
	font-size: 16px;
    font-weight: bold;
}

.container-legal h4 {
	font-size: 14px;
    font-weight: bold;
    text-decoration: underline;
}

.container-table {
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 120px;
}

.note_btn {
	margin: 10px 0 25px 0;
}

#global-filters-template {
	display: none;
}

.global-filters {
	float: left;
	margin-right: 3px;
}

.white-popup {
	position: relative;
	background: #FFF;
	padding: 25px;
	width: auto;
	max-width: 600px;
	margin: 20px auto;
}

/* Internal images */
.img-internal {
    border-color: red !important;
    border-width: 2px !important;
    border-style: solid !important;
}

/* Fixed Headers */
.fixed-header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1;
}

/* Remove when upgrading to Boostrap 4 */
.bg-white {
	background: #ffffff;
}

div.dt-button-collection.fixed.two-column {
	border-radius: 5px;
	padding: 1em;
}

div.dt-button-collection button.dt-button:active:not(.disabled),
div.dt-button-collection button.dt-button.active:not(.disabled),
div.dt-button-collection div.dt-button:active:not(.disabled),
div.dt-button-collection div.dt-button.active:not(.disabled),
div.dt-button-collection a.dt-button:active:not(.disabled),
div.dt-button-collection a.dt-button.active:not(.disabled) {
	background: #46b8da;
	color: white;
}

.dataTable thead tr th {
	position: sticky;
	z-index: 1;
}

.dataTables_wrapper .dataTables_processing {
	width: 100%;
	height: 100%;
	padding-top: 6em;
	font-size: 3em;
	top: auto;
	left: auto;
	margin: auto;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background-color: var(--calendar-active-bg);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

/* Required for intl-tel-input Javascript plugin */
.iti__flag {
	background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.16/img/flags.png");
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.iti__flag {
		background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.16/img/flags@2x.png");
	}
}
.iti {
	width: 100%;
}

/* Set hubspot chatbot z-index so that is not placed on top of the cookie consent banner */
#hubspot-messages-iframe-container {
    z-index: 99999999;
}

/* For overlaying delete button to object images */
.img-container {
     display: inline-block;
     position: relative;
     width: 100px;
     height: 100px;
     margin: 1em 0.5em;
 }
.img-container imgoff {
    display: block;
}
.img-container .img-delete {
    position: absolute;
    bottom:0;
    right:0;
    background-color: white;
    opacity: 0.7;
    padding: 2px;
    cursor: pointer;
}

.img-container .img-delete:hover {
    opacity: 1;
}

.img-container .img-delete i.fa {
    font-size: 1.5em;
}
