/*
	Theme Name: Exactas Biblio
	
	Description: Exactas WordPress Theme
	Version: 1
	Author: Subsecretaría de Comunicación | Irene Fernandez (@ifernandez)
	Tags: HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Roboto', Helvetica, Arial, sans-serif;
	color:#123D43;
	background: #029BAB;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#000;
	text-decoration:none;
}
a:hover {
	background-color: #029BAB;
	color: #fff;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
ul li, .home article li {
	list-style: none;
}
.boton {
	background: #123D43;
    color: #fff;
    padding: 0.4em 1em;
}
blockquote {
	border: grey solid 1px;
    padding: 0 1.2em;
    font-weight: 400;
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */

.wrapper {
	max-width: 1180px;
	width:95%;
	margin:0 auto;
	position:relative;
	/* background: #8CD1D9;*/
	background: #eee;
}
.home .wrapper {
	background: #ddd;
	}
/* header COLOR INSTITUCIONAL */
.header {
	background: #9D487D url(img/header-fdo.png) right no-repeat;
}

/* logo */
.logo {
	margin: 0 30px 0 0;
	/*background: transparent url(img/uba.png) no-repeat;
	background-position: 2em 70px;
	background-size: 50%;
	padding-bottom: 10px;*/
}
/*.menu {display: none;}*/
.logo a{
	margin: 0.5em 0 0.5em 1em;
	display: inline-block;
	background: transparent url(img/logo.png) left no-repeat;
	width: 370px;
	height: 64px;	
	max-width: 87%;
    background-size: contain;
}
.logouba {
	width: 236px;
	height: 40px;
	max-width: 50%;
	background: transparent url(img/uba.png) no-repeat;
	margin: 0 0 0.5em 1em;
	background-size: 100%;
}
.logo a:hover {
	background: transparent;
	background: transparent url(img/logo-hover.png) left no-repeat;
	margin: 0.5em 0 0.5em 2em;
	background-size: contain;
}
@media screen and (min-width: 900px) {
	.logouba {
		float: right;
		margin: 50px 30px 0 0;
	}
	.logo a, .logo a:hover{
		margin: 1.5em 0 1.5em 6.5em;
	}
}
/* nav */
.nav {
 
}
ul#menu-principal {
	list-style: none;
	overflow: hidden;
	margin: 0;
	padding: 0 0 0 2em;
}
ul.menu li {
	float: left;
    background: #029BAB; 
    margin: 0 0.5% 0 0;
}
ul.menu li a {
	font-size: 1.2em;
	padding: 0.2em 0.5em 0.3em 0.5em;
	display: block;
	color: #fff;
}
ul.menu li a:hover {
	background-color: #000;
}
ul.menu li a, ul.menu li a:visited {
	color: white;
	text-transform: uppercase;
}
li.menu-item.item-search {
	background-color: #999;
	font-size: 1.2em;
	/*padding: 0 0.5em 0 0.5em;*/
	display: block;
	color: #fff;
}
.menu-item.item-search input.search-field {
	background-color: transparent;
	padding: 0.4em 0.5em 0.3em 0.5em;
    color: #fff;
    border: none;
    width: 5em;
}
.menu-item.item-search input.search-submit {
	/*background-color: #123D43;
	color:#fff;*/
	background-color: transparent;
	color:#000;
	border: none;
	padding: 0.4em 0.5em 0.3em 0.5em;
}
.menu-item.item-search input.search-submit:hover {
	background-color: #029BAB;
	color:#fff;
}
/* boton exactas */
#menu-item-48 a {
	background-image: url(img/icon-exactas.png);
	background-position: center;
	background-repeat: no-repeat;
	width: 44px;
	background-color: #000;
}
html:lang(es) ul.menu li.qtranxs-lang-menu-item-es a, html:lang(en) ul.menu li.qtranxs-lang-menu-item-en a {
	color: #000;
}
ul.menu li.current_page_item a {
	color: #000;
}
ul.menu li.current_page_item a:hover {
	color: #029BAB;
	background-color: #000;
}
ul.sub-menu {
	list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}
ul.sub-menu li {
	background-color: transparent;
	list-style: none;
    margin: 0 !important;
	float: none;
	padding: 0.2em !important;
}

.menu-item-has-children ul.sub-menu {
	display: none;
	position: absolute;
	background: rgba(31,105,116,0.8);
}
.menu-item-has-children:hover ul.sub-menu {
	display: block;
}
.menu-item-251 a, .responsive-menu-item a {
	font-weight: 800;
}
/* idioma */
#menu-item-122 ul.sub-menu, 
#menu-item-122 ul.sub-menu li {
	list-style: none;
	float: left;
	display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
ul.menu li.qtranxs-lang-menu a {
	background: #3496A0;
	display: none;
}
ul.menu li.qtranxs-lang-menu a:hover {
	color: #D62831;
	background-color: #000;
}
html:lang(es) ul.menu li.qtranxs-lang-menu-item-es a:hover, html:lang(en) ul.menu li.qtranxs-lang-menu-item-en a:hover {
	color: #fff;
}
ul.menu li.qtranxs-lang-menu ul.sub-menu a {
	display: block;
}
ul.menu li.qtranxs-lang-menu a {
    margin: 0;
}
main {
	overflow: hidden;
}
/* sidebar */
.sidebar {

}
/* footer */
.footer {
	background: #123D43;
	overflow: hidden;
	display: block;
	clear: both;
}
.copyright {
	/*float: left;*/
	margin-left: 2em;
	padding-top: 3em;
	float:none;
}
.copyright-b {
	clear: both;
	color: #fff;
	font-size: 1.1em;
    margin-left: 2em;
    
    color: #fff;
}
.copyright2 {
	/*float: right;
	width: 60%;*/
	text-align: left;
	color: #fff;
	font-size: 1.2em;
	padding: 3.0em 1.6em 1.0em 1.6em;
}
.logo-img2 {
	display: none;
}
.footer img.logo-img {
	float: left;
	max-height: 30px;
}
@media screen and (min-width: 1024px) {
	/* footer */
	.copyright {
	float: left;
	}
	.copyright2 {
		float: right;
		width: 60%;
		text-align: right;
		padding: 2.0em 0 0 0;
	}
	
	.logo-img2 {
	display: block;
	float: right;
	margin: -1em 1.5em 0;
	}
}
/*.copyright {
	margin-left: 2em;
}
*/
/*------------------------------------*\
    PAGES
\*------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	font-family: 'Oswald', sans-serif;
	line-height: 110%;
}
section h1, h1.tficha {
	color: #00B2B2;
	font-size: 4em;
	font-weight: 300;
}
article h1 {
	font-size: 3.5em;
	color: #000;
}
h2 {
	font-size: 2.5em;
}

h3 {
	font-size: 2em;
	color: #029BAB;
}
h4 {
	font-size: 1.7em;
	color: #000;
	font-weight: 400;
}
h5 {
	font-size: 1.2em;
	text-transform: uppercase;
	color: #666;
}
h6 {
	font-size: 1.2em;
}
article p, article ul, article ol {
	font-size: 1.5rem;
	margin: 0.6em 0;
}
article a {
	color: #029BAB;
}
article ul  {
	margin-right: 5em; 
}
article ul li {
	margin-bottom: 0.5em; 
	list-style-type: square;
}
article.page:not(.post-76) {
	max-width: 800px;
}
iframe {
	width: 100%;
}
.sidebar {
	font-size: 1.2em;
}
.sidebar ul {
	margin: 0 0 1em 0;
	padding: 0;
	width: 80%;
}
button {
	background: #029BAB; 
	border: none;
	color: #fff;
	text-transform: uppercase;
	padding: 0.2em 0.4em;
}
input {	
	padding: 0.1em 0.4em 0.2em;
}
button:hover {
	color: #D62831;
	background-color: #000; 
}
ul.sub-paginas  {	
	
}
.sub-paginas a {
	border-left: 10px solid #777;
	background-color: #ccc;
	font-family: 'Oswald';
	font-size: 1.4em;
	display: block;
	color: #fff;
	padding: 0.5em 0 0.7em 5%;
	margin-right: 5%;
	margin-bottom: 1em;
}
.sub-paginas a:hover {
	border-left: 10px solid #029BAB;
	color:#029BAB;
	}

/*.sub-paginas li {	
	background: url(img/link-before.png) no-repeat;
	background-size: 7% 59px;
	width: 80%;
	padding: 13px 5.5% 0;
}*/
/*.sub-paginas li {	
	background: url(img/link-fdo.png) no-repeat;
	padding: 13px 4% 13px 5%;
}

.sub-paginas li::after {
	content: ' ';
	background: url(img/link-after.png) right;
	height: 46px;
	width: 21px;
}*/
/* HOME */


ul.home-paginas {
	display: flex;
	  display: -webkit-box;
	  display: -moz-box;
	  display: -ms-flexbox;
	  display: -webkit-flex;
	-webkit-flex-flow: row wrap;
  justify-content: space-between;
	list-style: none;
	padding: 0;
 	margin: 0;
}
ul.home-paginas li, .caja {
	padding: 5px;
  height: 100px;
}
ul.home-paginas li.botones, .caja {  
  width: 90%;
  margin-top: 20px;
}

ul.home-paginas li a {
	background: #eee;
	font-size:1.6em;
	padding: 5%;
	display: block;
	color: #029BAB; 
	text-align: left;
	height: 100%;
	line-height: 110%;
	font-family: 'Oswald', sans-serif;
}
ul.home-paginas li a:hover {
	background: #fff;
}
section {
	padding: 0.5em 2em 0.5em 3em;
}
ul.home-paginas li.boton1 a {
	background-image: url(img/boton1.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.boton3a, .boton3b {
	width: 100%;
}

/*ul.home-subpaginas {	
	
}
.home-subpaginas a {
	background-color: #954D56;
	font-family: 'Oswald';
	font-size: 1.4em;
	display: block;
	color: #fff;
	padding: 0.5em 0 0.7em 5%;
	margin-right: 5%;
	margin-bottom: 1em;
}
.home-subpaginas a:hover {
	color:#000;
	}
*/
.sidebar {display: none;}

/* single */
.ficha-tipo {
	margin-top: 3em;
}
h1.tficha {
	margin: 0;
}
.meta .ficha-autores {
	font-weight: 600;
}
.ficha-img {
	float: right;
	padding: 0 0 1em 1em;
	max-width: 50%;
}
.meta {
	overflow: hidden;
	font-size: 1.3em;
}
.meta a {
	color: #3496A0;
}
.meta h3 {
	color: rgba(255,255,255,0.6);
	font-family: Roboto;
	font-weight: 300;
	margin-bottom: 0;
}
.col1, .col2 {
	width: 48%;
}
.col1 {
	float: left;
	margin-right: 4%;
}
.col2 {
	float: right;
}
.ficha-area span:last-child {
	display: none;
}
/* search */
.resultado-busqueda {
	color: #000;
}

/*------------------------------------*\
    RESPONSIVE RWD
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {
	.wrapper {
		overflow: hidden;
	}
	.sidebar {
		display: block;
		width: 30%;
		float: right;
		margin: 0;
		padding: 0;
		margin-top: 8em;
	}
	article {
		margin-right: 2em;
	}
	body:not(.home) main {
		width: 70%;
		float: left;
		margin: 0;
		padding: 0;
	}
	ul.home-paginas li a {
	font-size:3em;
	}
	ul.home-paginas li.botones {
	width: 48%;
 	height: 260px;
 	margin-top: 20px;
	}
	.caja {
	width: 100%;
 	height: 130px;
 	margin-top: 20px;
 	display: flex;
 	justify-content:space-between;
	}
	ul.home-paginas .caja li {
	width: 48%;
	height: 130px;
	}

}
@media only screen and (min-width:1024px) {
	ul.home-paginas li.botones, .caja {
	width: 33%;
 	height: 150px;
 	margin-top: 20px;
 	display: block;
	}
	ul.home-paginas .caja li {
	width: 100%;
	height: 72px;
	}

	/* fichas */
	ul.lista-fichas li {
  height: 260px;
  margin-top: 20px;
	}
	section {
	padding-left: 7em;
	}

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
