/*
Theme Name: Silvia
Text Domain: silvia

*/

h1 {
	font-family: 'Playfair Display', serif;
	font-size: 25px;
}
a h1 {
	color: #000;
}
a:hover {
	text-decoration: none;
}
.logo hr {
	width: 30px;
	margin: 0;
	border-color: #707070;
	display:none;
}

body {
/*	font-family: 'Roboto', sans-serif;*/
	font-family: "Times New Roman", Times, serif;
}

img {
	max-width: 100%;
	height: auto;
}
ul {
	list-style: none;
	margin-top: 40px;
	padding: 0;
	font-size: 16px;
	font-weight: 300;
}

a {
	text-decoration:none;
}

a:focus {
	text-decoration:none;	
}

a:active {
	text-decoration:none;
}

a:hover {
	text-decoration:none;
}


ul li {
	margin: 10px 0;
	position: relative;
}

ul li.current_page_parent > .sub-menu {
	display: block;
}

ul li.current_page_parent.round-icon > .icon {
	transform: rotate(0deg);
}
ul li.current_page_parent > .icon, .round-icon > .icon, .current-menu-ancestor > .icon {
	transform: rotate(45deg) !important;
}

.default > .sub-menu {
	display: block
}

ul.sub-menu {
	margin: 0;
	display: none;
}
ul.sub-menu li {
	margin: 0
}
ul.sub-menu li::after {
	content: '';
}
.sub-menu a {
	padding-left: 30px;
	color: #9A9A9A;
}

.sub-menu a:hover{
	text-decoration:none;
}

.sub-menu a:active{
	text-decoration:none;
}

ul.sub-menu li {
	position: relative;
}

li a {
	display: block;
}
ul.sub-menu li:before {
    content: '';
    color: #9A9A9A;
    border-bottom: 1px solid #9A9A9A;
    position: absolute;
    width: 20px;
    top: 16px;
}
ul.sub-menu li.current-menu-item:before, .current-menu-ancestor:before {
	width: 30px !important;
	color: #000;
}

#menu-new_menu .icon {
    position: absolute;
    right: 20px;
    top: 0;
}

ul a {
	color: #000000;
}

ul a:hover {
	color: #000000;
	text-decoration: none
}

.section-title {
	text-align: center;
	color: #9A9A9A;
	font-size: 18px;
	margin-bottom: 30px;
	position: relative;
}
.section-title::after {
	content: '.';
	border-bottom: 0.699999988079071px solid #D1D1D1;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    z-index: -1;
    top: -13px;
}
.section-title span {
	width: 300px;
	background: #fff;
	display: block;
	margin: auto;
	font-weight: 300
}

/**
.obra {
	float: left;
	margin-right: 40px;
	margin-bottom: 40px;
	height: 230px;
}

.obra img {
	height: 230px;
	width: auto;
}
**/

.obra {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	height: 150px;
	min-width: 100px;
	}

	.obra img {
		height: 150px;
		width: auto;
	}


.separador {
	position: relative;
	font-size: 18px;
	color: #9A9A9A;
	font-weight: 300;
	margin: 25px 0;
	clear: both;
}

.separador span {
	width: 170px;
	background: #fff;
	display: block;
	margin: auto;
	text-align: center
}

.separador hr {
	position: absolute;
    width: 100%;
    top: -10px;
    z-index: -1;
    color: #D1D1D1;
}

.current-menu-item a, .current-menu-ancestor > a {
	color: #000;
	position: relative;
}

.single-obra {
	display: none;
}

.single-obra.active {
	position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,0.97);
    z-index: 99999999999999999;
    overflow: scroll;
}

.single-obra .content {
	max-width: 80%;
	width: 80%;
}

.info {
	color: #000;
	font-weight: 300;
}
.info span {
	color: #9A9A9A;
}

.obra.obra-home {
    float: none;
    margin: auto;
    width: 70%;
    margin-top: 60px;
    height: initial;
}

.obra-home img {
	width: 100%;
	height: auto;
}
.next {
	cursor: pointer;
}
.next.right {
	margin-left: 80px;
}

.close {
	cursor: pointer;
	    position: absolute;
    right: 0;
    top: 50px;
    opacity: 1;
}

 .info-menu a:first-child {
	/**pointer-events: none !important;**/
}

/**.sub-menu a {
	pointer-events: auto !important;
}**/


table.cv td {
	padding:10px;
}

table td, th {
    padding: 7px;
	vertical-align:top;
	font-size:13px;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #f3f4f594!important;
}


.sticky {
	position: -webkit-sticky; /* Safari */
 	position: sticky;
  	top: 0;
}

.amail a{
	color:black;
	text-decoration: none;
}



@media only screen and (max-width: 430px) {
  
	.container {
		margin-top:0px;
	}
	.obra {
		margin-right: 10px;
		margin-bottom: 10px;
		height: 90px;
	}

	.obra img {
		height: 90px;
		width: auto;
	}
	
	.sticky {
		position: -webkit-sticky; /* Safari */
		position: sticky;
		top: 0;
	}
}
#menu-mobile {
	display: none;
	}
@media only screen and (max-width: 768px) {
	
	.container {
		margin-top: 0 !important;
	}
	
	#menu-general {
		display: none;
	}
	
	#menu-mobile {
		position: absolute;
		display: block;
		right: 20px;
		top: 5px;
		cursor: pointer;
	}
	
	.obra-home img {
		height: initial !important;
	}
	
	.single-obra.active .row{
		display: block !important;
	}
	
	
  .obra {
	margin-right: 20px;
	margin-bottom: 20px;
	height: 150px;
	}

	.obra img {
		height: 150px;
		width: auto;
	}

	
}


::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #000;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #000;
}

:focus {
	outline: none;
}

.nf-field-label, .nf-form-fields-required {
	display: none;
}

#nf-field-1-container {
	margin: 0;
}


.wp-block-ninja-forms-form input, .wp-block-ninja-forms-form textarea {
	color: #000 !important;
	background: transparent !important;
	border: none !important;
	border-bottom: .7px solid #9A9A9A !important;
	font-weight: 300 !important;
	font-style: italic;
}

.wp-block-ninja-forms-form ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #C9C9C9;
  opacity: 1; /* Firefox */
}

.wp-block-ninja-forms-form :-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #C9C9C9;
}

.wp-block-ninja-forms-form ::-ms-input-placeholder { /* Microsoft Edge */
  color: #C9C9C9;
  font-weight: 300;
}

.nf-field-label label {
	font-weight: 300 !important;
	font-size: 13px !important;
}

.submit-wrap input {
	    border: 1px solid #707070 !important;
    display: block;
    text-align: center;
    width: 100% !important;
    font-style: initial;
    color: #000;
    font-weight: 300;
}

#nf-form-2-cont {
	max-width: 400px;
	margin: auto;
}

.subscribe-box strong {
	font-size: 18px;
	font-weight: 300;
}

footer {
	margin-top: 30px;
	padding-bottom: 40px;
	font-weight: 300;
	font-size: 12px;
	clear: both;
}

footer a {
	color: #000;
}
footer hr {
	width: 30px;
	margin: 0;
	margin-bottom: 10px;
	border-color: #707070;
	display:none;
}
@media only screen and (max-width: 768px) {
	.single-obra.active {
		align-items: inherit;
	}	
}
@media only screen and (min-width: 768px) {
	
	.single-obra img.lazy {
	    max-height: 100vh;
	}
}

.sub-menu .sub-menu {
		padding-left: 30px;
		display: none;
}

.sub-menu .current-menu-ancestor .sub-menu {
	display: block;
}

@media only screen and (max-width: 768px) {
		
	.current-menu-ancestor > .sub-menu {
		display: block;
	}
	
	.single-obra .content {
		display: flex;
		align-items: center;
	}
	
	.single-obra .close {
	    bottom: 0;
		width: 30px;
		top: initial;
	}
}