/*
 Theme Name:     Altimun
 Theme URL:    https://altimun.es
 Description:    Equipo de abogados multidisciplinar especialistas en derecho financiero y tributario así como derecho mercantil nacional e internacional.
 Author:         Ele al cubo
 Author URL:     https://elealcubo.es
 Template:       twentytwentyone
 Version:        1.0
Text Domain: altimun
*/
/* --------------------------------------
-----   Theme customization starts here   -----
------------------------------------------*/

/* GENERAL */
body, .entry-content, .entry-summary, .primary-navigation a, .wp-block-latest-posts > li > a, .site-footer > .site-info, .entry-content li, ul, ol {font-family: 'Montserrat', sans-serif; font-weight: 300;}
body {color: #666666;}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6   {font-family: 'Montserrat', sans-serif; font-weight: 500; color: #2D8D99;}
.site-main {padding-top: 0;}
.post-thumbnail .wp-post-image {margin-top: 0;}
h1, .h1, h1.page-title, .page-title, .singular .entry-title {font-size: 26px; line-height: 34px;font-weight: 500; color: #2D8D99;}
h2, .h2 {font-size: 22px; line-height: 27px;}
body.home h3 {font-size: 38px; line-height: 47px;}
p, ul, ol {font-size: 18px; line-height: 30px;margin-bottom: 24px;}
p strong {color: #2D8D99; font-weight: 700;}
p a {color: #82BC00; text-decoration: none;}
a.wp-block-button__link {width: 100%;}
.page-header {border-bottom: none; padding-bottom: 0;}
.entry-title, .entry-title a {font-size: 22px; line-height: 29px; font-weight: 500; color: #2D8D99; text-decoration: none;}
.entry-title.default-max-width {max-width: 100%;}

/* FORMULARIOS */
input[type=text], input[type=email], input[type=url], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=date], input[type=month], input[type=week], input[type=time], input[type=datetime], input[type=datetime-local], input[type=color], .site textarea {border: 1px solid #2D8D99; border-radius: 10px; color: #666666; line-height: 19px; padding: 10px; margin: 5px 2px; max-width: 100%; font-size: 15px; }
input[type=submit]:not(:hover):not(:active):not(.has-background), input[type=submit], .wp-block-button .wp-block-button__link, a.more-link {border: 1px solid #82BC00; border-radius: 10px; color: #ffffff; line-height: 19px; padding: 20px 10px; margin: 5px 2px; width: 100%; font-size: 15px; font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; background-color: #82BC00}
input[type=submit]:hover, input[type=submit]:active, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:active, a.more-link:hover  {border: 1px solid #82BC00; border-radius: 10px; color: #82BC00; background-color: #ffffff; }
a.more-link {display: block;text-align: center;max-width: 250px;margin-left: auto;margin-top: 20px;}
input[type=checkbox] {width: 20px; height: 20px; border: 1px solid #2D8D99;}
.wpcf7-list-item-label {font-size: 15px;}
.wpcf7-acceptance .wpcf7-list-item {margin-left: 0;}


/* CABECERA */
.site-header {padding-top: 50px; padding-bottom: 25px; max-width: 1200px;}
.singular .has-post-thumbnail .entry-header {padding-bottom: 0;}
.site-logo .custom-logo {width: 190px;}
@media (min-width: 769px) {
body.page .entry-content  {position: relative; top: -200px; margin-bottom: -200px;}
body.page .entry-content .texto-inicial, body.page .entry-content .texto-inicial2 {max-width: 1200px !important; }
.entry-content .texto-inicial.wp-block-group .wp-block-group__inner-container, .entry-content .texto-inicial2.wp-block-group .wp-block-group__inner-container  {max-width: 970px; background-color: #ffffff;border-radius: 20px;padding: 70px 100px;}
.entry-content .texto-inicial.wp-block-group .wp-block-group__inner-container *, .entry-content .texto-inicial2.wp-block-group .wp-block-group__inner-container * {max-width: 100% !important;}
.entry-content .texto-inicial:before, .entry-content .texto-inicial2:before   { content: url("images/sombra-arriba.png"); margin: 0 auto; width: 100%; max-width: 800px; height: auto; max-height: 31px;}
.entry-content .texto-inicial:after  { content: url("images/sombra-abajo.png"); margin: 0 auto; width: 100%; max-width: 800px;  height: auto; max-height: 31px;}
}
.primary-navigation a {font-size: 18px; }
.primary-navigation a:hover, .primary-navigation a:link, .primary-navigation a:visited {color: #2D8D99;}
.primary-navigation .current-menu-item > a:first-child, .primary-navigation .current_page_item > a:first-child {font-weight: 500;color: #1E474E; text-decoration: none;}
body.home #breadcrumbs {display: none;}
#breadcrumbs {font-size:15px; margin:10px auto; color: #666666;}
#breadcrumbs a, #breadcrumbs a:visited {color:#2D8D99; text-decoration: none;}
#breadcrumbs a:hover, #breadcrumbs a:active {color:#2D8D99; text-decoration: underline}
.page-header.alignwide, .alignwide {max-width: 1200px;}
@media only screen and (min-width: 482px) {
	.sub-menu {display: grid; grid-template-columns: repeat(3, 1fr); left: auto;}
}

/* FOOTER */
.site-footer, .site-footer p {font-size: 16px; line-height: 22px;}
.site-footer a {text-decoration: none; color: #666666;}
.widget h1, .widget h2, .widget h3, .widget h4, .widget h5, .widget h6 { font-weight: 700; color: #1E474E;  font-size: 18px;  margin-top: 22px !important; margin-bottom: 18px !important;}
@media (min-width: 769px) {
.site-footer:before { content: url("images/sombra-arriba.png"); margin: 0 auto;width: 100%; max-width: 800px; height: auto; max-height: 31px;}
}
@media (max-width: 768px) {
.site-header,	.alignwide, #breadcrumbs, .entry-content {margin-left: 15px; margin-right: 15px;}
	body.home h3 {font-size: 22px;line-height:27px;}
	.primary-navigation .sub-menu {border: none;}
}
.site-footer .row {margin-top: 80px; margin-bottom: 100px;}
.menu-legales ul { list-style: none; margin: 0; padding: 0; color: #1E474E; text-decoration: none; font-size: 16px;  font-family: 'Montserrat', sans-serif; font-weight: 300; }
.menu-legales ul li {display: inline; margin-right: 30px;}
.menu-legales ul li a {color: #1E474E; }
.widget-area {background-color: #e0eef0; padding: 20px; margin-top: 20px; margin-bottom: 60px;}


/* HOME */
body.home .wp-block-buttons.is-vertical {margin-bottom: 0;}
@media (min-width: 769px) {
body.home .wp-block-columns.alignwide {max-width: 870px;}
body.home .wp-block-columns.alignwide.are-vertically-aligned-top {max-width: 1240px;}
}
	
/* SERVICIOS */
.iconos-servicios .wp-block-image .alignleft {width:100%;}
.iconos-servicios figcaption {font-weight: 700; color:#82BC00; text-decoration: none; text-transform: uppercase; font-size:18px; text-align:left; line-height: 22px; margin-left: 22px; caption-side:inherit;}
.iconos-servicios figcaption a {font-weight: 700; color:#82BC00; text-decoration: none;  }

/* EQUIPO */
body.page-id-2 .wp-block-columns {margin-bottom: 60px;}


	/* BLOG */
body.blog article {margin-top: 0; margin-bottom: 60px;}
body.single .entry-content > * {max-width: 1200px !important;}
.widget-area ul li, .widget-area .wp-block-latest-posts:not(.is-grid) > li, .widget-area {line-height: 22px;;text-decoration: none; color: #666666; margin-bottom: 5px;}
.widget-area ul li a, .widget-area ul li a:visited, .widget-area a {text-decoration: none; color: #666666;}
.widget-area ul li a:hover, .widget-area ul li a:active  {text-decoration: underline; color: #666666;}
.widget-area a:hover {text-decoration-style: solid;}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {background-color: transparent; border: 1px solid #82BC00;}
.wp-block-search .wp-block-search__input {background-color: transparent; font-family: 'Montserrat', sans-serif; font-weight: 300; color: #666666;}
.wp-block-search .wp-block-search__button:not(:hover):not(:active):not(.has-background), .wp-block-button .wp-block-button__link:not(:hover):not(:active):not(.has-background), .wp-block-file a.wp-block-file__button:not(:hover):not(:active):not(.has-background) {border: 1px solid #82BC00; border-radius: 10px; color: #ffffff; line-height: 19px; padding: 20px ; margin: 5px 2px; font-size: 15px; font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; background-color: #82BC00}
.wp-block-search .wp-block-search__button:hover, .wp-block-search .wp-block-search__button:active, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:active, .wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:active {border: 1px solid #82BC00; border-radius: 10px; color: #82BC00 !important; line-height: 19px; padding: 20px  !important; margin: 5px 2px; font-size: 15px; font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; background-color: #ffffff}

/* COOKIES */
.cc-revoke, .cc-window {font-family: 'Montserrat', sans-serif;
    font-weight: 300;}

@media (min-width: 768px) {
	/* EQUIPO */
body.page-id-2 .wp-block-column:not(:first-child) {margin-left: 0;}

	/* BLOG */
body.blog article figure, body.blog article div {margin-top: 0; margin-bottom: 0;}
}


