* {
    font-family: 'Roboto', sans-serif;
}

a {
    text-decoration: none;
    cursor: pointer;
}

body,
h1,
h2,
p {
    margin: 0;
}

body, html {
    scroll-behavior: smooth;
}

h1 {
    font-family: 'Poppins', sans-serif;
    color: white;
    padding: 100px 100px 20px 100px;
    font-size: 2.47rem;
}

h2 {
    font-family: 'Poppins';
    color: #ff6600;
    font-size: 2.2rem;
    margin-bottom: 15px;
}


.margin_m {
    margin: 0px 15px;
}

.margin_r {
    margin-right: 15px;
}

header {
    position: fixed;
    background: #000000bf;
    color: white;
    display: flex;
    align-items: center;
    width: calc(100% - 0px);
    z-index: 1000;
}

header div{
	clip-path: polygon(0 0,80% 0, 90% calc(100%),0 100%);
    background: #fff;
    width: 20%;
}
}

nav {
    padding: 0px;
}
.menuItems {
    list-style: none;
    display: flex;
}

.menuItems li {
        margin: 10px;
} 
        
.menuItems a {
          text-decoration: none;
          color: #8f8f8f;
          font-size: 20px;
          font-weight: 400;
          transition: all 0.5s ease-in-out;
          position: relative;
          text-transform: uppercase;
}

.menuItems a::before{
            content: attr(data-item);
            transition: 0.5s;
            color: #ff6600;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            width: 0;
            overflow: hidden;
}

.menuItems a:hover::before{
              width: 100%;
              transition: all 0.5s ease-in-out;
}

.logo {
    width: 200px;
	margin: 5px 15px;
}

.logo_med{
    width: 50vh;
    padding-top: 18vh;
}

#hamburguer, #menu-mobile
{
    display: none;
}

#section1 {
    background-image: url('../img/05.jpg');
    background-attachment: fixed;
    background-position: center 75%;
    background-size: cover;
    display: flex;
    
}

#section1 aside:nth-child(1) {
    background: #0000006e;
    width: 50%;
    padding: 100px;
}
#section1 aside:nth-child(2) {
    
    width: 40%;
    padding: 100px;
}


#section1 div{
    margin-left: 90px;
}

#section1 button {
    cursor: pointer;
    margin-top: 30px;
    background: #ff6600;
    color: white;
    padding: 10px 10px;
    width: 180px;
    border: solid 2px #ff6600;
    transition: 0.5s;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 15px;
}

#section1 button:hover {
    background: transparent;
    color: #ff6600;
}

/* Prestamo*/
#modal_p {
    position: relative;
    background: #0000007a;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1000;
    top: -100%;
    transition: 0.5s;
}

#modal_p .s1_mp1 {
    background: white;
    width: 80%;
    height: 80%;
    overflow-y: auto;
    border-radius: 5px;
    padding: 30px;
}

#modal_p .s1_mp2{
    display: flex;
}

#modal_p strong {
    color: #ff6600;
}


#modal_p i {
    position: absolute;
    right: 10%;
    font-size: 2rem;
    top: -100%;
    cursor: pointer;
    transition: 0.5s;
}

#modal_p h2{
    text-align: center;
}

#modal_p img
{
	width: 50%;
}

#modal_p aside {
    width: 31%;
    text-align: center;
    align-self: center;
    padding: 36px;
}

#modal_p aside:nth-child(1)
{   
box-shadow: 0 0 25px -10px #000000cf;
}

#modal_p aside:nth-child(2)
{   
    display: flex;
    margin: 10px;
    align-items: center;
    justify-content: center;
    width: 50%;
}

#modal_p .input{
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    text-align-last: center;    
    margin: 10px;
}
#modal_p input,select{
    border: none;
    font-size: 1.2rem;
	color: #757575;
}
/*no arrows*/
/* Chrome, Safari, Edge, Opera */
#modal_p input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
#modal_p input[type=number] {
  -moz-appearance: textfield;
}


#modal_p p{
    margin: 30px;
	text-align: center;
}

#modal_p .label{   
    font-size: 0.8em;
    color: #aca7a6;
}

#modal_p .label_R{
    font-size: 1rem;
    color: #848388;
}

#modal_p button{
    cursor: pointer;
    margin-top: 30px;
    background: #ff6600;
    color: white;
    padding: 10px 0px;
    width: 180px;
    border: solid 2px #ff6600;
    transition: 0.5s;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 10px;
    transition:all .3s
}

#modal_p button:hover{
    background: transparent;
    color: #ff6600;
}
#modal_p .p_res{
    color: #909090;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 0 40px -10px #000000cf;
    padding: 40px 30px 30px;
    box-sizing: border-box;
    height: 25vh;
    width: 25vh;
}

#section2 {
    /* background-image: linear-gradient(#232f39 50%, #ffff0000 50%); */
    text-align: -webkit-center;
    background: #232f39;
    padding: 40px 0px;
    position: relative;
}


#section2 article {
    background: #f9290c;
    padding: 25px 40px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
}

.s2_p2 {
    /* background-image: linear-gradient(#0000005e 50%, #0000005e 50%); */
    width: 50%;
    font-size: 1.6rem;
    padding: 12px 13%;
    border-right: solid 10px;
    border-left: solid 10px;
    color: white;
    font-weight: bold;
}

#section3 {
    align-items: center;
    box-shadow: 0px 0px 4px black;
    width: 89%;
    padding: 30px 3%;
    position: relative;
    margin: 15px auto;
	flex-wrap: wrap;
}

#section3 aside {
    width: 31%;
    text-align: center;
	height: -webkit-fill-available;
    padding: 36px;
}

#section3 h2 {
    padding: 15px;
    text-align: center;
}
#section3 div{
    display: flex;
}

#section3 img{
	width: 30%;
}

#section3 .txt1{
    margin: 10px 0;
    font-weight: bolder;
    font-size: 22px;
}

.icon {
    font-size: 4rem;
    background: #ff6600;
    color: #ffff;
    display: inline-flex;
    position: relative;
    padding: 10px;
    border-radius: 8px;
}

.icon::after {
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    z-index: -1;
    padding: 70px;
}
#section3 ul{
	color: #fa4615;
    text-align: start;
	padding-left: 70px;
;
}

.txt2{
	color:#000;
}

#section4 {
    padding: 50px 70px;
    display: flex;
    background: #f8f8f8;
    flex-wrap: wrap;
}

#section4 h2 {
    text-align: center;
    margin: 30px;
}

#section4 aside {
    width: 45%;
    padding: 0% 2.5%;
}

.s4_div3 div {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin: auto;
	border-radius: 5px;
}

.s4_div5 {
    background-image: url('../img/08.jpg');
    position: relative;
    height: 55vh;
    background-size: cover;
    background-position: center;
    margin: auto;
}

.s4_div3 {
    display: flex;
    width: 100%;
}


.s4_div3 p {
   color: #232f39;
    transition: 0.5s;
    text-align: justify;
    /*font-family: 'Poppins';*/
    font-size: 1.1rem;
}

#section5{
    display: flex;
    flex-wrap: wrap;
    height: 450px;
    background-image: url('../img/07.jpg');
    background-size: cover;
    background-position: center 90%;
}


#section6 {
    padding: 60px;
    position: relative;
}

.s6_div1
{
	flex-wrap: wrap;
    display: flex;
    justify-content: center;
}

#section6 aside:nth-child(1)
{
    width: 40%;
    border-right: 7px solid #fff;
	text-align: -webkit-center;
}

#section6 .s5_p1{
    text-align: start;
}

#section6 aside:nth-child(2)
{
    margin: 1rem;
    width: 47%;
}

#section6 h2
{
	text-align: center;
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #78788c;
}

#section6 img{
	width: 70%;
}

.form{
    width: 90%;
    background: #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 0 40px -10px #000;
    margin-left: calc(50vh - 220px);
    padding: 40px 40px;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    position: relative;
    font-size: 12px;
    text-align: -webkit-center;
}

#section6 input, textarea{
    width:100%;
    padding:10px;
    box-sizing:border-box;
    background:none;
    outline:none;
    resize:none;
    border:0;
    border-bottom:2px solid #bebed2

}

#section6 input, textarea:focus{
    border-bottom:2px solid #78788c
}

#section6 p{
	text-align: left;
}

#section6 p:before{
    content:attr(type);
    display:block;
    margin:28px 0 0;
    color:#5a5a5a;
}

#section6 button{
    cursor: pointer;
    margin-top: 30px;
    background: #ff6600;
    color: white;
    padding: 10px 0px;
    width: 180px;
    border: solid 2px #ff6600;
    transition: 0.5s;
    border-radius: 5px;
    font-size: 1rem;
    transition: all .3s;
}

#section6 button:hover{
    background: transparent;
    color: #ff6600;
}

#section6 span{
    margin:0 5px 0 15px
}

.s6_div2{
    position: relative;
    bottom: -60px;
    background: #50505a;
    color: #fff;
    width: 320px;
    padding: 16px 4px 16px 0;
    border-radius: 6px;
    font-size: 13px;
    box-shadow: 10px 10px 40px -14px #000;
}

.floating {  
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin: 20px 0;
}

@keyframes floating {
    from { transform: translate(0,  0px); }
    65%  { transform: translate(0, 15px); }
    to   { transform: translate(0, -0px); }    
}

footer {
    background: #232f39;
    color: white;
    text-align: center;
    padding: 31px 0px;
	margin-top: 15px;
}

footer a{
    color: #ffff;
}


/*formulario*/
.hbspt-form
{
    margin-top: 12vh!important;
}

.hubspot-link__container .sproket{
    display: none!important;
    color: blue!important;
}

@supports (-webkit-touch-callout: none) {
  #section1 {
		background-position: center center!important;
		background-attachment: unset!important;
	}
}

@media only screen and (max-width: 1200px){
	#hamburguer
	{
		display: block;
		left: 75%;
		position: absolute;
		font-size: 2rem;
	}
	
	header ul li, header li.dropdown
	{
		display: none;
	}
	
	
	header div {
		clip-path: polygon(0 0,90% 0, 100% calc(100%),0 100%);
		width: auto;
	}
	
	#menu-mobile
	{
		display: flex;
		position: fixed;
		width: calc(100% - 0px);
		height: calc(40% - 10px);
		z-index: 1000;
		top: -100%;
		justify-content: center;
		align-items: center;
		transition: 0.5s;
		background: #232f39
	}
	#menu-mobile ul
	{
		list-style: none;
		padding: 0;
		margin: 0;
	}
	#menu-mobile ul li
	{
		margin-bottom: 20px;
	}
	#menu-mobile ul li:last-child
	{
		margin-bottom: 0px;
	}
	#close-modal
	{
		position: absolute;
		right: 20px;
		top: 20px;
		font-size: 2rem;
	}
	
	#section1{
		text-align: center;
		flex-wrap: wrap;
	}
	.logo_med{
        width: 30vh;
        padding-top: 0vh;
    }
	
	h1{
		padding: 30px 0;
	}
	
	#section1 div {
		margin-left: 0;
	}
	
	#modal_p .s1_mp2, #modal_p aside:nth-child(2) {
		display: block;
	}
	
	#modal_p aside:nth-child(1){
		width: 80%;
		padding: 20px;
	}
	#modal_p .input {
		margin: 10px 0;
	}
	
	#modal_p .p_res{
		height: 30vh;
		width: 30vh;
		font-size: 1.3rem;
	}
	
	#modal_p i {
		right: 4%;
	}
	
	#section4 {
		display: block;
		padding: 0;
	}
	
	#section4 aside{
		width: auto;
		padding: 10%;
	}
	
	#section6{
		padding: 0 7px;
	}
	.s6_div1
	{
		flex-wrap: no-wrap;
		display: contents;
	}
	
	#section6 aside:nth-child(1) {
		width: 100%;
		text-align: center;
	}
	
	#section6 h2 {
		width: 100%;
	}
	
	.form{
		margin: 0px 11px;
		width: auto;
		height: 90%;
		padding: 20px;
		height: 490px;
	}
	.s6_div2{
		left: -14px;
		bottom: -20px;
		width: 300px;
	}
	
	#section6 aside:nth-child(2){
		width: 100%;
		margin: 0;
	}
	
	#section6 button{
		margin-left: 10%;
	}
	
	footer{
		font-size: 0.9rem;
	}
	
	footer a{
	    color: #ffff;
	}
	
	
	
	#section3 div{
		display: block;
		text-align: -webkit-center;
	}
	
	#section3 img {
		width: 100%;
	}
	
	#section3 aside{
		width: 70%;
	}
}


	