/*
Theme Name: Educacion Ourense
Theme URI: https://wordpress.org/themes/twentytwelve/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Twelve Child Theme
Template:     twentytwelve
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: twentytwelve
*/

a, .comments-link a:hover, .entry-meta a:hover, footer[role="contentinfo"] a:hover {
	color: #00aead;
}
body {
	font-family: helvetica, arial, sans-serif !important;
	background: white;
}  
#page {
	margin-top: 0;
	border-right: 1px solid #000;
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
	box-shadow: none;
	padding: 0 1.5rem;
} 
h1 {
	font-family: helvetica, arial, sans-serif;
	font-weight: bold !important;
}
h1.entry-title, .main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a , .main-navigation .current_page_item > a{
	color: #1a9f9d !important;
}
h1.entry-title::before {
	content: '{';
	color: black;
}
h1.entry-title::after {
	content: '}';
	color: black;
}
hgroup {
	display: flex;
	flex-wrap: wrap;
}
.site-title {
	flex-grow: 1;
	flex-basis: 70%;
}
img.logo {
	max-width: 70%;
}
.address {
	font-family: helvetica, arial, sans-serif;
	font-size:12px;
	align-self: center;
	line-height: 1.4em;
	margin: -10px auto 10px auto;
	flex-basis: 30%;
}
.main-navigation li a, a.button {
	background: #164158;
	height: 32px;
	line-height: 32px;
	border-radius: 4px;
	color: white;
	padding: 0 10px;
	text-align: center;
	text-transform: none !important;
	font-family: helvetica, arial, sans-serif;
	font-size: 16px;
}
.main-navigation li a:hover, a.button {
	color: #e2e2e2;
}
a.button {
	display: inline-block;
	padding: 3px 12px;
	text-decoration: none;
	color: white !important;
	transition: all 0.2s ease-in-out;	
}
a.button:hover {
	color:#00aead !important;
	box-shadow: 2px 0 10px rgba(68, 68, 68, 0.67);
	transform: scale(1.02);
}
#metaslider-id-14 {
	margin-bottom: 50px;
}

@media screen and (min-width: 600px) {
	.main-navigation ul.nav-menu {
		border-bottom: none;
		border-top: none;
		box-sizing: border-box;
	}
	.main-navigation li {
		margin: 0 .3rem 0 0;
		background: white;
	}
	.main-navigation li ul {
		border-radius: 4px;
		border: 1px solid black;
		background: white;
		
	}
	.main-navigation ul li:hover {
	/*	height: 36px;*/
	}
	.main-navigation ul li:hover > ul {
		border-left: 1px solid #000;
	}
	.main-navigation li ul li {
		display: flex;
	}	
	.main-navigation li ul li a {
		background: white;
		color: black;
		height: 20px;
		font-size: 14px;
		width: 310px;
		text-align: left;
	}
	#menu-item-30{
		float: right;
		margin-right: 0;
	}
	#menu-item-30 a {
		font-size: 14px !important;
	}
	#content, #nav_menu-2 {
		box-sizing: border-box;
		border: 1px solid #000;
		border-radius: 20px;
		padding: 20px;
	}
	.site-content {
		width: 73%;
	}
	.address {
		margin: -8px auto 0 auto;
	}
}
@media screen and (min-width: 600px) and (max-width: 980px) {
	.widget-area {
		width: 43.9%;
	}
	.site-content {
		width: 55%;
	}
}
.main-navigation .current_page_item > a {
	color: white;
}
.main-navigation div.nav-menu > ul {
	border: none;
}

footer.entry-meta {
	margin-top: 0.1rem;
	margin-bottom: 1.5rem;
}
/* @group Menu Lateral */
ul#menu-menu-lateral li {
	margin-bottom: 10px;
}
ul#menu-menu-lateral li a {
	display:inline-block;
    text-decoration: none;	
    color:black;
    font-size:13px;
	border:solid 2px #21b0ae;
	border-radius:5px;
	/*width: 73%;*/
	width: calc(73% + 38px);
	min-width:150px;
    height:22px;
	font-family: helvetica, arial, sans-serif;
    font-weight: bold;
	padding-left:10px;
	padding-top:2.5px;
	padding-bottom: 2.5px;
}
ul#menu-menu-lateral li a:hover {
	background-color: #21b0ae;
	color: white;
}
#menu-item-32 .sub-menu {
	margin-left: 0;
}
#menu-item-32 .sub-menu li {
	margin-top: 10px;
	margin-bottom: 0;
}
#menu-item-32 .sub-menu li a{
	min-width: 188px;
	/*width: calc(73% + 38px);*/
	background-color: #21b0ae;
	color: white;
}
#nav_menu-2 .sub-menu, #site-navigation .sub-menu {
	-webkit-transform: scaleY(0);
		-o-transform: scaleY(0);
		-ms-transform: scaleY(0);
		transform: scaleY(0);
	
		-webkit-transform-origin: top;
		-o-transform-origin: top;
		-ms-transform-origin: top;
		transform-origin: top;
	
		-webkit-transition: -webkit-transform 0.26s ease-out;
		-o-transition: -o-transform 0.26s ease;
		-ms-transition: -ms-transform 0.26s ease;
	  max-height: 0;
		transition:
	    transform 0.26s ease,
	    max-height 0s 0.26s ease;
}
#menu-item-32 {
	max-height: 31px;
}
#menu-item-32:hover, #menu-item-32:hover > .sub-menu, #menu-item-19:hover > .sub-menu {
	max-height: 10000px;
		transition:
	    transform 0.26s ease,
	    max-height 0s ease;
		-webkit-transform: scaleY(1);
		-o-transform: scaleY(1);
		-ms-transform: scaleY(1);
		transform: scaleY(1);
	}	
@media screen and (max-width: 600px) {
	ul#menu-menu-lateral li a {
		width: 85%;
	}
	/* #menu-item-32 .sub-menu li a {
		width: 93%;
	} */
}
/* @end */
.contenedor_form {
	color: #FFF;
	overflow: hidden;
	width: 100%;
	margin: auto;
	margin-top: 10px;
	margin-bottom: 20px;
}
.contenedor_form fieldset {
	border: 1px #CCCCCC solid;
	width: 96%;
	padding: 10px;
	border-radius: 10px;
}
.contenedor_form legend {
	color: #05b0b0;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	margin-left: 5px;
	text-align: left;
	font-size: 12px;
	padding: 0 3px;
}