body, html {
	min-height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

body {
	/*text-transform: uppercase;*/
}

.text-upppercase {
	text-transform: uppercase;
}

header.header-centered {
	flex-grow: 0;
	padding: 1.5em;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: relative;
}

header.header-centered .btn-back {
	position: absolute;
    right: 1.5em;
}

header.header-trabajo {
	flex-grow: 0;
	padding: 1.5em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;
}

header.sticky {
	position: sticky; 
	top: 0;
	z-index: 9;
    background: #fff;
}

.z-content {
	z-index: 1;
}

.breadcrumbs>a {
	color: #CACBD0;
}

.breadcrumbs-mobile {
	padding: 0 1.5em;
	margin-bottom: 1em;
}

section.section-visible {
	display: block;
}

section:not(.section-visible) {
	display: none;
}

section .content {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 1.5em;
}

.btn.btn-primary {
	color: #202942;
	background: #fff;
	border: 1px solid #7C7C7C;
	border-radius: 1.5em !important;
	padding: 0.5em 1.99em 0.3em 1.99em;
}

.btn.btn-primary:hover, .btn.btn-primary:active {
	color: #fff;
	background: #F15822;
	border: 1px solid #F15822;
}

.btn.btn-primary.btn-back {
	padding: 0.4em 0.8em 0.1em 0.7em;
}

.fecha {
	color: #F15822;
}

h1 {
	font-size: 3.4em;
}

h2 {
	font-size: 3.0em;
}

h3 {
	font-size: 2.5em;
}

h4 {
	font-size: 2.0em;
}

h5 {
	font-size: 1.5em;
}

h6 {
	font-size: 1.0em;
}

.half.image {
	background-size: cover;
	background-position: center;
}

section#intro .content {
	font-size: 0.9em;
}

section#login .form-control {
	max-width: 30em;
}

section#loader>div {
	height: 100vh !important;
}

section#loader .logo {
	width: 80%;
	max-width: 220px;
	margin: 0 auto;
}

.trabajo-container {
	width: 100%;
	position: relative;
	min-height: 100vh;
}

.trabajo-col {
	
}

.trabajo-btn {
	border: 2px solid #9C9AA0;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	position: relative;
	margin-bottom: 1em;
	margin-top: 1em;
	aspect-ratio: 1 / 1;
}
.trabajo-btn-text {
	padding: 0.5em;
	min-height: 4em;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #004EA6;
}
.trabajo-btn-image {
	background-size: cover;
	background-position: center;
	flex-grow: 1;
}

.trabajo-btn .btn-mas-info-container {
	position: absolute;
	bottom: 1.5em;
	left: 0;
	right: 0;
	width: 100%;
	text-align: center;
}

.trabajo-btn .btn-mas-info {
	font-size: 0.85em;
}

.trabajo-body {
	font-size: 1.2em;
}

.trabajo-body header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 1.5em 0;
}

.trabajo-btns .btn {
	font-size: 1em;
}

.trabajo-body .titulo {
	font-size: 2.5em;
}

.trabajo-body .subtitulo {
	color: #F15822;
}

.trabajo-body .cuerpo {
	font-style: italic;
	font-weight: 300;
	text-align: justify;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
    width: 100%;
    margin: 0 auto;
}

.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid-sizer,
.grid-item {
    margin: 10px;
    /*width: calc(20% - 20px);*/
    width: 200px;
    cursor: pointer;
    /*float: left;*/
}

.grid-item>a {
	text-align: center;
	text-decoration: none;
}

.grid-item__title {
	text-align: left;
	color: #202942;
	display: block;
	margin-top: 0.5em;
	width: 100%;
}

.grid-item__subtitle {
	text-align: left;
	color: #202942;
	display: block;
	font-weight: 300;
	font-style: italic;
	margin-bottom: 0.5em;
	width: 100%;
}


/*.grid-item--width2 { width:  calc(40% - 20px); }*/
.grid-item--width2 { width:  calc(400px - 20px); }
.grid-item--width3 { width:  calc(600px - 20px); }
.grid-item--width4 { width:  calc(800px - 20px); }

.grid-item img, .grid-item iframe {
    width: 100%;
    display: block;
}

/*
@media (min-width: 993px) and (max-width: 1280px) {
    .grid-sizer {
        width: calc(33.33% - 20px);
    }
	.grid-item--width2 { width:  calc(66.66% - 20px); }
}*/

@media (max-width: 992px) {
    .grid-sizer, .grid-item,
    .grid-item--width2, .grid-item--width3, .grid-item--width4 {
        width: calc(100% - 20px);
    }
}

.fancybox-button--thumbs {
	display: none !important;
}

@media (min-width: 993px) {
	
	body {
		font-size: 1.0em;
	}

	section {
		min-height: 100vh;
		width: 100%;
	}
	
	section#intro.section-visible, section#login.section-visible {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}
	
	section header .logo {
		width: 12vw;
	}
	
	.trabajo-container {
	}
	
	.trabajo-container .half {
		width: 50%;
		height: 100vh;
	}
	
	.trabajo-container .half.image {
		position: fixed;
		right: 0;
		top: 0;
	}
	
	.trabajo-btn {
		/*height: 60vh;
		max-height: 560px;*/
	}

}

@media (min-width: 993px) and (max-width: 1280px) {
	body {
		font-size: 0.9em;
	}
}

@media (max-width: 992px) {
	body {
		min-height: 100vh;
	}

	section header {
		min-height: 5.2em;
	}
	
	section header .logo {
		width: 10em;
		/*margin: 0.36em auto;*/
	}
	
	section#intro.section-visible, section#login.section-visible {
		display: flex;
		flex-direction: column;
		min-height: 100vh;
	}
	
	section#intro .content {
		font-size: 0.5em;
		flex-grow: 1;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}
	
	.trabajo-btn {
		min-height: 65vh; 
	}
	
	.trabajo-body {
		font-size: 1em !important;
		padding: 0 1.5em !important;
	}
	
	section#trabajo-medidas .col-12 {
		padding: 3.5em;
	}
}