html{
    scroll-behavior: smooth;
}
:root{
    
    --bg-color1:#7b3213;
    --bg-color2:#5c260e;
    --bg-color3:#381709;

    --title-black:'ralewayblack';
    --title-bold:'ralewaybold';
    
    --font-regular:'open_sansregular';
    --font-bold:'open_sansbold';
    --font-italic:'open_sansitalic';
    --font-menu:'open_sanslight';

    --font-alt:'ralewaylight';
}

/*Fonts*/
HTML BODY{
    background-color: #e3ddcd !important;
}
HTML BODY h1{font-family: var(--title-black);}
HTML BODY h2,HTML BODY h3,HTML BODY h4,HTML BODY h5,HTML BODY h6{font-family: var(--title-bold);}

HTML BODY p,HTML BODY{font-family: var(--font-regular);}
HTML BODY strong{font-family: var(--font-bold);}
HTML BODY em{font-family: var(--font-italic);}

.alt-font{font-family: var(--font-alt);}

/*Menu*/
.navbar-nav a{font-family: var(--font-menu);}
.navbar-nav a{letter-spacing: 1px;}
/*Font Sizes*/
HTML BODY p{font-size: 100%!important;}
.top-header,.top-header a , .top-header p{font-size: 90%!important;}
.middle-header,.middle-header a , .middle-header p{font-size: 90%!important;}
.bottom-header,.bottom-header a , .bottom-header p,.bottom-header li a{font-size: 100%!important;}

/*Backgrounds*/
body{background: #cfcfcf!important;} 
.bg-color1,.bg-color1:hover{background: var(--bg-color1);} .t-color1,.t-color1:hover{color: var(--bg-color1);}
.bg-color2,.bg-color2:hover{background: var(--bg-color2);} .t-color2,.t-color2:hover{color: var(--bg-color2);}
.bg-color3,.bg-color3:hover{background: var(--bg-color3);} .t-color3,.t-color3:hover{color: var(--bg-color3);}

.bg-dark-25{background: rgba(0,0,0,0.25);}
.bg-dark-50{background: rgba(0,0,0,0.50);}
.bg-dark-75{background: rgba(0,0,0,0.75);}

.bg-img1{background:url(../images/elements/bg/bg_1.png);}
.bg-img2{background:url(../images/elements/bg/bg_2.jpg);}
.bg-img3{background:url(../images/elements/bg/bg_3.png);}
.bg-img4{background:url(../images/elements/bg/bg_4.jpg);}
.bg-img5{background:url(../images/elements/bg/bg_5.jpg);}

.bg-img{background-size: cover;}
.bg-img-100{background-size: 100%;}
.bg-img-contain{background-size: contain;}
.bg-repeat-x{background-repeat: repeat-x;}
.bg-repeat-y{background-repeat: repeat-y;}
.bg-no-repeat{background-repeat: no-repeat;}
.bg-img-fixed{background-attachment: fixed;}
.bg-img-top-left{background-position: top left;}
.bg-img-top-center{background-position: top center;}
.bg-img-top-right{background-position: top right;}
.bg-img-center-left{background-position: center left;}
.bg-img-center-center{background-position: center center;}
.bg-img-center-right{background-position: center right;}
.bg-img-right-left{background-position: right left;}
.bg-img-right-center{background-position: right center;}
.bg-img-right-right{background-position: right right;}

.t-shadow-50{text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);}
.t-shadow-100{text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);}

/*Text and Icons*/
i{position:relative;vertical-align:-5px;}
.fa{transform: translateY(-5px);}
.list-style-none li{list-style: none;}

/*Menu*/
.main-navbar .navbar-nav a,.main-navbar .navbar-nav a:hover,.main-navbar .dropdown,.main-navbar .dropdown:hover,a[data-fancybox="gallery"]>img:hover{transition: all 0.3s ease;color:#fff;}
/*.main-navbar .navbar-nav a{background:var(--bg-color1);}*/
.main-navbar .navbar-nav a:hover{color:#fff!important;}
.main-navbar .navbar-nav .active a{color:#fff!important;background:var(--bg-color1)}
/*Submenu*/
.main-navbar .dropdown:hover,.main-navbar .dropdown .active{background:var(--bg-color3)!important;}
.main-navbar .dropdown-menu{padding:0px;}
.main-navbar .dropdown-menu a{color:var(--bg-color1);background:none;}
.main-navbar .dropdown-menu a:hover{background:var(--bg-color2)!important;background:none;}
.main-navbar .dropdown-menu{background:var(--bg-color3);border-radius:0!important;transform:translateY(-2px);border:none;}
/*Carousel*/
#indicador-carousel .carousel-caption h5{font-size:180%;}
#indicador-carousel .carousel-caption h3{font-size:320%;}
#indicador-carousel .carousel-caption p{font-size:110%!important;}
#indicador-carousel .carousel-caption a.btn{font-size:90%;}

@media(min-width: 300px){
	.image-min{width: 100%!important;}
	.negative-margin-top2{margin-top: 5%;}
}
@media(min-width: 540px){
    .carousel-caption{bottom:55%!important;}
    #indicador-carousel .carousel-caption{width:70%;left:4%!important;}
    .negative-margin-top2{margin-top:5%;}
    .bg-curve{transform:translateY(5px);}
}
@media(min-width: 960px){
	.image-min{width: 70%!important;}
	.carousel-caption{bottom:60%!important;left:4%!important;}
	#indicador-carousel .carousel-caption{width:70%;}
    .negative-margin-top2{margin-top: -2%;}
    .bg-curve{transform:translateY(30px);}
}
@media(min-width: 1140px){
    .image-min{width: 70%!important;}
    .carousel-caption{bottom:60%!important;left:4%!important;}
    #indicador-carousel .carousel-caption{width:50%;}
    .negative-margin-top2{margin-top: -2%;}
    .home-box{margin-top: -420px;}
    .home-box .left-phrase{margin-top:65px;}
    .home-divide{margin-top:-100px;}
    .bg-curve{transform:translateY(0px);}
    
}
@media(min-width:1200px){.bg-curve{transform:translateY(20px);}}

a.navbar-brand{font-size: 130%!important;}
.navbar-toggler{margin-bottom: 10px;}

.go-up{background:url(../../src/images/elements/top.png)#000000 center center;border-radius:50px;opacity: 0.5;cursor:pointer;width: 40px;height: 40px;position: fixed;bottom: 25px;right: 25px;display: inline-block!important;}
.go-up:hover{opacity: 1;}

.hide-top,.hide-top-alt{opacity: 0!important;}

.icon-align { min-width: 24px; text-align: center; position: absolute; left: 20px; margin-top: 10px; }

a[data-fancybox="gallery-homepage"]>img:hover{filter:brightness(1.1);}

.bg-curve{position:absolute;z-index:98;bottom:0;}
.carousel-control-prev,.carousel-control-next{position:relative;z-index:99;}

.home-box{position:relative;z-index: 110;}
.home-box p {line-height: 1.6;}
.home-divide{position:relative;z-index:100;}

.home-services img,.home-services:hover img,.home-services:hover h3{transition:all ease-in-out 0.3s!important;}
.home-services img{border:10px solid rgba(0,0,0,0.1);}
.home-services .btn{border:1px solid var(--bg-color1);}

.home-services:hover h3{color:var(--bg-color2);}
.home-services:hover img{border:15px solid var(--bg-color1);}
.home-services:hover .btn{background:var(--bg-color1);color:white;}

.grid figure {
    position: relative;
    overflow: hidden;
    max-height: 360px;
    width: 100%;
    background: #000;
    text-align: center;
    cursor: pointer;
}
.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}
.grid figure figcaption {
    padding: 2em;
    color: #fff;
    
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}
.grid figure figcaption,
.grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}
.grid figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}
.grid figure h2,
.grid figure p {
    margin: 0;
}
.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%!important;
}
figure.slide-left-anim img {
    max-width: none;
    /*-webkit-filter: grayscale(1);
    filter: grayscale(1);*/
    width: -webkit-calc(100% + 50px);
    width: calc(100% + 50px);
    opacity: 0.5;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-40px,0, 0);
    transform: translate3d(-40px,0,0);
}

figure.slide-left-anim figcaption {
    text-align: center;
}

figure.slide-left-anim figcaption > div {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1em;
    width: 100%;
    height: 70%;
}

figure.slide-left-anim h3,
figure.slide-left-anim p {
    -webkit-transform: translate3d(0,40px,0);
    transform: translate3d(0,40px,0);
}

figure.slide-left-anim h3 {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
}

figure.slide-left-anim p {
    color: rgba(255,255,255,1);
    opacity: 0;
    -webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
    transition: opacity 0.2s, transform 0.35s;
}
figure.slide-left-anim:hover img{opacity: 0.2;-webkit-filter: grayscale(0);filter: grayscale(0);}

figure.slide-left-anim:hover p {
    opacity: 1;
}

figure.slide-left-anim:hover img,
figure.slide-left-anim:hover h3,
figure.slide-left-anim:hover p {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

figure.slide-left-anim:hover p {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
    -webkit-transition-duration: 0.35s;
    transition-duration: 0.35s;
}
a { text-decoration: none!important;}
p.home-services2{transition-duration: 0.3s!important;}
p.home-services2:hover {transform: translate(20px, 0px)!important; transition-duration: 0.3s!important;font-weight: 900!important;}