/*-----------------------------------------------------------------------------------
	    TERLAN WEBSITe_v2
        Built with Blocs
-----------------------------------------------------------------------------------*/

html{overflow-x: hidden;} 

body{
	margin:0;
	padding:0;
    background:#FFFFFF;
    overflow-x:hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a,button{transition: background .3s ease-in-out;outline: none!important;} /* Prevent ugly blue glow on chrome and safari */
a:hover{text-decoration: none; cursor:pointer;}

.page-preloader{position: fixed;top: 0;bottom: 0;width: 100%;z-index:100000;background:#FFFFFF url("img/pageload-spinner.gif") no-repeat center center;}

/* = Blocs
-------------------------------------------------------------- */

.bloc{
	width:100%;
	clear:both;
	background: 50% 50% no-repeat;
	padding:0 50px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	position:relative;
	display:flex;
}
.bloc .container{
	padding-left:0;
	padding-right:0;
}


/* Sizes */

.bloc-xxl{
	padding:200px 50px;
}
.bloc-lg{
	padding:100px 50px;
}
.bloc-sm{
	padding:20px 50px;
}

/* = Full Screen Blocs 
-------------------------------------------------------------- */

.bloc-fill-screen{
	min-height:100vh;
	display: flex;
	flex-direction: column;
	padding-top:20px;
	padding-bottom:20px;
}
.bloc-fill-screen > .container{
	align-self: flex-middle;
	flex-grow: 1;
	display: flex;
}
.bloc-fill-screen > .container > .row{
	flex-grow: 1;
	align-self: center;
	width:100%;
}
.bloc-fill-screen .fill-bloc-top-edge, .bloc-fill-screen .fill-bloc-bottom-edge{
	flex-grow: 0;
}
.bloc-fill-screen .fill-bloc-top-edge{
	align-self: flex-start;
}
.bloc-fill-screen .fill-bloc-bottom-edge{
	align-self: flex-end;
}


/* Dark theme */

.d-bloc{
	color:rgba(255,255,255,.7);
}
.d-bloc button:hover{
	color:rgba(255,255,255,.9);
}
.d-bloc .icon-round,.d-bloc .icon-square,.d-bloc .icon-rounded,.d-bloc .icon-semi-rounded-a,.d-bloc .icon-semi-rounded-b{
	border-color:rgba(255,255,255,.9);
}
.d-bloc .divider-h span{
	border-color:rgba(255,255,255,.2);
}
.d-bloc .a-btn,.d-bloc .navbar a, .d-bloc a .icon-sm, .d-bloc a .icon-md, .d-bloc a .icon-lg, .d-bloc a .icon-xl, .d-bloc h1 a, .d-bloc h2 a, .d-bloc h3 a, .d-bloc h4 a, .d-bloc h5 a, .d-bloc h6 a, .d-bloc p a{
	color:rgba(255,255,255,.6);
}
.d-bloc .a-btn:hover,.d-bloc .navbar a:hover,.d-bloc a:hover .icon-sm, .d-bloc a:hover .icon-md, .d-bloc a:hover .icon-lg, .d-bloc a:hover .icon-xl, .d-bloc h1 a:hover, .d-bloc h2 a:hover, .d-bloc h3 a:hover, .d-bloc h4 a:hover, .d-bloc h5 a:hover, .d-bloc h6 a:hover, .d-bloc p a:hover{
	color:rgba(255,255,255,1);
}
.d-bloc .navbar-toggle .icon-bar{
	background:rgba(255,255,255,1);
}
.d-bloc .btn-wire,.d-bloc .btn-wire:hover{
	color:rgba(255,255,255,1);
	border-color:rgba(255,255,255,1);
}
.d-bloc .card{
	color:rgba(0,0,0,.5);
}
.d-bloc .card button:hover{
	color:rgba(0,0,0,.7);
}
.d-bloc .card icon{
	border-color:rgba(0,0,0,.7);
}
.d-bloc .card .divider-h span{
	border-color:rgba(0,0,0,.1);
}
.d-bloc .card .a-btn{
	color:rgba(0,0,0,.6);
}
.d-bloc .card .a-btn:hover{
	color:rgba(0,0,0,1);
}
.d-bloc .card .btn-wire, .d-bloc .card .btn-wire:hover{
	color:rgba(0,0,0,.7);
	border-color:rgba(0,0,0,.3);
}


/* Light theme */

.d-bloc .card,.l-bloc{
	color:rgba(0,0,0,.5);
}
.d-bloc .card button:hover,.l-bloc button:hover{
	color:rgba(0,0,0,.7);
}
.l-bloc .icon-round,.l-bloc .icon-square,.l-bloc .icon-rounded,.l-bloc .icon-semi-rounded-a,.l-bloc .icon-semi-rounded-b{
	border-color:rgba(0,0,0,.7);
}
.d-bloc .card .divider-h span,.l-bloc .divider-h span{
	border-color:rgba(0,0,0,.1);
}
.d-bloc .card .a-btn,.l-bloc .a-btn,.l-bloc .navbar a,.l-bloc a .icon-sm, .l-bloc a .icon-md, .l-bloc a .icon-lg, .l-bloc a .icon-xl, .l-bloc h1 a, .l-bloc h2 a, .l-bloc h3 a, .l-bloc h4 a, .l-bloc h5 a, .l-bloc h6 a, .l-bloc p a{
	color:rgba(0,0,0,.6);
}
.d-bloc .card .a-btn:hover,.l-bloc .a-btn:hover,.l-bloc .navbar a:hover, .l-bloc a:hover .icon-sm, .l-bloc a:hover .icon-md, .l-bloc a:hover .icon-lg, .l-bloc a:hover .icon-xl, .l-bloc h1 a:hover, .l-bloc h2 a:hover, .l-bloc h3 a:hover, .l-bloc h4 a:hover, .l-bloc h5 a:hover, .l-bloc h6 a:hover, .l-bloc p a:hover{
	color:rgba(0,0,0,1);
}
.l-bloc .navbar-toggle .icon-bar{
	color:rgba(0,0,0,.6);
}
.d-bloc .card .btn-wire,.d-bloc .card .btn-wire:hover,.l-bloc .btn-wire,.l-bloc .btn-wire:hover{
	color:rgba(0,0,0,.7);
	border-color:rgba(0,0,0,.3);
}

/* Row Margin Offsets */

.voffset{
	margin-top:30px;
}


/* = NavBar
-------------------------------------------------------------- */

.hero .hero-nav{
	padding-left:inherit;
	padding-right:inherit;
}
/* Handle Multi Level Navigation */.navbar-light .navbar-nav .nav-link {
	color: rgb(64, 64, 64);
}
.btco-menu li > a {
	padding: 10px 15px;
	color: #000;
}
.btco-menu .active a:focus,.btco-menu li a:focus ,.navbar > .show > a:focus{
	background: transparent;
	outline: 0;
}
.dropdown-menu .show > .dropdown-toggle::after{
	transform: rotate(-90deg);
}

/* = Bric adjustment margins
-------------------------------------------------------------- */

.mg-md{
	margin-top:10px;
	margin-bottom:20px;
}

/* = Buttons
-------------------------------------------------------------- */

.btn-d,.btn-d:hover,.btn-d:focus{
	color:#FFF;
	background:rgba(0,0,0,.3);
}

/* Prevent ugly blue glow on chrome and safari */
button{
	outline: none!important;
}

.btn-wire{
	background:transparent!important;
	border:2px solid transparent;
}
.btn-wire:hover{
	background:transparent!important;
	border:2px solid transparent;
}

/* = Icons
-------------------------------------------------------------- */
.icon-md{
	font-size:30px!important;
}




.card-sq, .card-sq .card-header, .card-sq .card-footer{
	border-radius:0;
}
.card-rd{
	border-radius:30px;
}
.card-rd .card-header{
	border-radius:29px 29px 0 0;
}
.card-rd .card-footer{
	border-radius:0 0 29px 29px;
}

/* = Dividers
-------------------------------------------------------------- */
.divider-h{
	padding:20px 0;
	width:100%;
	display:inline-block;
}
.divider-h span{
	display: block;
	border-top:1px solid transparent;
}
.divider-half{
	width: 50%;
	margin: 0 auto;
}
.dropdown-menu .divider-h,.dropdown-menu .divider-half{
	padding:0;
}




/* ScrollToTop button */

.scrollToTop{
	width:40px;
	height:40px;
	position:fixed;
	bottom:20px;
	right:20px;
	opacity: 0;
	z-index: 500;
	transition: all .3s ease-in-out;
}
.scrollToTop span{
	margin-top: 6px;
}
.showScrollTop{
	font-size: 14px;
	opacity: 1;
}
/* = Lightbox
-------------------------------------------------------------- */

a[data-lightbox]{
	position: relative;
	display: block;
	text-align: center;
}
a[data-lightbox]:hover::before{
	content:"+";
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial;
	font-size:32px;
	line-height: 42px;
	width:50px;
	height:50px;
	margin-left:-25px;
	border-radius: 50%;
	background:rgba(0,0,0,.6);
	color:#FFF;
	font-weight:100;
	z-index: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}
a[data-lightbox]:hover img{
	opacity: 0.6;
	-webkit-animation-fill-mode: none;
	animation-fill-mode:none;
}
.lightbox-caption{
	padding: 20px;
	color: #FFF;
	background: rgba(0,0,0,.5);
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 5px;
}
.close-lightbox{
	color:#FFF;
	font-size: 30px;
	position: absolute;
	top:20px;
	right:20px;
	z-index: 20;
	background:rgba(0,0,0,.5);
	border:none;
	line-height: 30px;
	padding:0 9px 5px;
	opacity: 0.3;
	border-radius:.25rem;
}
.close-lightbox:hover,.next-lightbox:hover, .prev-lightbox:hover{
	opacity: 1.0;
	color:#FFF;
}
.next-lightbox, .prev-lightbox{
	font-size:20px;
	color:rgba(255,255,255,.9);
	background:rgba(0,0,0,.5);
	transition: all .2s ease-in-out;
	position: absolute;
	top:45%;
	z-index:1;
	opacity: 0.4;
	border-radius:.25rem;
}
.next-lightbox{
	padding:6px 8px 1px 13px;
	right:25px;
}
.prev-lightbox{
	padding:6px 13px 1px 10px;
	left:25px;
}

/* Framless */
.frameless-lb{
	border-radius: 0;
	border:none;
}
.frameless-lb .modal-body{
	padding:0;
}
.frameless-lb .lightbox-caption{
	left:0;
	right:0;
	bottom:-16px;
}

/* Hide Object */
.object-hidden{
	display:none;
}

/* = Custom Styling
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6,p,label,.btn,a{
	font-family:"Lato";
	font-weight:300;
}
.container{
	max-width:1140px;
}
.c_rojo{
	background-color:#D7240C;
}
.t_rojo{
	color:#EA0000!important;
}
.bloc .divider-h span{
	background-color:#C42535;
	border-color:rgba(0,0,0,0.0)!important;
	border-width:2px 2px 2px 2px;
}
.gradient-red{
	background-color:transparent;
	background:linear-gradient(0deg, #6A0A17, #B9122A);
}
.c_rosado{
	background-color:#C32634;
}
.navbar-brand img{
	width:120px;
}
.row-1-margin-bottom{
	margin-bottom:6px;
	margin-top:-14px;
}
.tit_nav{
	font-family:"Lato";
	font-weight:900;
	background-color:transparent;
	color:#FEFFFE!important;
}
.parafo2{
	font-family:"Lato";
	font-weight:400;
	font-size:22px;
	line-height:28px;
}
.row-margin-bottom{
	margin-bottom:-75px;
}
.bloc-margin-top{
	margin-top:-42px;
}
.bloc-margin-bottom{
	margin-bottom:-1px;
}
.row-7-margin-bottom{
	margin-bottom:-87px;
}
.img-style{
	height:200px;
	width:263px;
}
.img-asset-2-style{
	width:60px;
}
.img-asset-3-style{
	width:138px;
	height:80px;
}
.img-asset-4-style{
	height:80px;
	width:138px;
}
.img-asset-1-style{
	height:80px;
	width:138px;
}
.img-asset-5-style{
	height:80px;
	width:138px;
}
.img-bloc-3-style{
	height:80px;
	width:96px;
}
.img-asset-17-style{
	height:60px;
}
.img-asset-15-style{
	height:60px;
}
.img-asset-16-style{
	height:60px;
}
.img-asset-6-style{
	height:60px;
}
.img-asset-10-style{
	height:60px;
}
.p-margin-top{
	margin-top:20px;
}
.p-bloc-3-margin-top{
	margin-top:20px;
}
.p-6-margin-top{
	margin-top:20px;
}
.p-7-margin-top{
	margin-top:20px;
}
.p-8-margin-top{
	margin-top:20px;
}
.p-9-margin-top{
	margin-top:20px;
}
.bloc-bloc-3-margin-bottom{
	margin-bottom:64px;
}
.img-asset-9-style{
	height:80px;
}
.img-asset-8-style{
	height:60px;
}
.img-asset-7-style{
	height:60px;
}
.img-24-style{
	height:60px;
}
.img-asset-19-style{
	height:60px;
}
.img-26-style{
	height:60px;
}
.img-21-style{
	height:60px;
}
.h5-margin-top{
	margin-top:20px;
}
.h4-margin-top{
	margin-top:20px;
}
.h4-artes-graficas-margin-top{
	margin-top:21px;
}
.h4-textil-margin-top{
	margin-top:21px;
}
.h4-empaque-margin-top{
	margin-top:20px;
}
.h4-colchonera-margin-top{
	margin-top:20px;
}
.productos{
	font-family:"Lato";
	font-weight:400;
	color:#717171!important;
	font-size:17px;
}
.btn-padding{
	padding-top:0px;
	padding-bottom:0px;
}
.hero1{
	font-weight:900;
	font-family:"Lato";
	font-size:80px;
}
.btn-button-padding{
	padding-top:0px;
	padding-bottom:0px;
}
.h4-1-margin-top{
	margin-top:-2px;
}
.h1-margin-bottom{
	margin-bottom:4px;
}
.h4-style{
	font-size:20px;
	margin-bottom:8px;
}
.h4-get-the-app-style{
	font-size:20px;
	margin-bottom:8px;
}
.h4-follow-us-style{
	font-size:20px;
	margin-bottom:8px;
}
.h4-connect-style{
	font-size:20px;
	margin-bottom:8px;
}
.h6-margin-top{
	margin-top:3px;
}
.h6-heading-6-margin-top{
	margin-top:8px;
}
.h6-3-margin-top{
	margin-top:8px;
}
.titulo3{
	font-weight:700;
	font-family:"Lato";
	font-size:30px;
	letter-spacing:5px;
}
.carousel-style{
	width:100%;
}
.img-glitt-style{
	width:263px;
}
.img-stic-style{
	width:263px;
}
.titulo5{
	font-weight:700;
	font-family:"Lato";
	font-size:23px;
}

/* = Colour
-------------------------------------------------------------- */


/* Text colour styles */

/*.tc-cardinal{
	color:#5d5a5a!important;
}*/
.tc-black{
	color:#000000!important;
}
.tc-battleship-grey{
	color:#848485!important;
}
.tc-white{
	color:#FFFFFF!important;
}

/* Button colour styles */

.wire-btn-black{
	color:#000000!important;
	border-color:#000000!important;
}

/* Icon colour styles */

.icon-white{
	color:#FFFFFF!important;
	border-color:#FFFFFF!important;
}

/* Bloc image backgrounds */

.bg-B-nav{
	background-image:url("img/B_nav.jpg");
}
.bg-HOTMELT{
	background-image:url("img/s4.jpg");
}




/* = Mobile adjustments 
-------------------------------------------------------------- */
@media (max-width: 1024px)
{
    .bloc{
        padding-left: 20px; 
        padding-right: 20px;  
    }
    .bloc.full-width-bloc, .bloc-tile-2.full-width-bloc .container, .bloc-tile-3.full-width-bloc .container, .bloc-tile-4.full-width-bloc .container{
        padding-left: 0; 
        padding-right: 0;  
    }
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {.b-parallax{background-attachment:scroll;}}
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {.b-parallax{background-attachment:scroll;}}
@media (max-width: 991px)
{
    .container{width:100%;}
    .b-parallax{background-attachment:scroll;}
    .page-container, #hero-bloc{overflow-x: hidden;position: relative;} /* Prevent unwanted side scroll on mobile */
    .bloc{padding-left: constant(safe-area-inset-left);padding-right: constant(safe-area-inset-right);} /* iPhone X Notch Support*/
    .bloc-group, .bloc-group .bloc{display:block;width:100%;}
}
@media (max-width: 767px)
{
    .page-container{
        overflow-x: hidden;
        position:relative;
    }
    .b-parallax{
        background-attachment:scroll;
    }
    
    .bloc-tile-2 .container, .bloc-tile-3 .container, .bloc-tile-4 .container{
        padding-left:0;padding-right:0;
    }
    .a-block{
        padding:0 10px;
    }
    .btn-dwn{
       display:none; 
    }
    .voffset{
        margin-top:5px;
    }
    .voffset-md{
        margin-top:20px;
    }
    .voffset-lg{
        margin-top:30px;
    }
    form{
        padding:5px;
    }
    .close-lightbox{
        display:inline-block;
    }
    .blocsapp-device-iphone5{
	   background-size: 216px 425px;
	   padding-top:60px;
	   width:216px;
	   height:425px;
    }
    .blocsapp-device-iphone5 img{
	   width: 180px;
	   height: 320px;
    }
}

@media (max-width: 991px){
	.mt-md-0{
	}
	.mt-md-4{
	}
	.img-style{
		width:197px;
		height:150px;
	}
	.img-productos-style{
		height:150px;
	}
	.img-filament-style{
		height:150px;
	}
	.img-8-style{
		height:150px;
	}
	.img-ojuel-style{
		height:150px;
	}
	.img-gran-style{
		height:150px;
	}
	.img-11-style{
		height:150px;
	}
	.img-amor-style{
		height:150px;
	}
	.img-glitt-style{
		height:150px;
		width:197px;
	}
	.img-stic-style{
		height:150px;
		width:197px;
	}
	
}

@media (max-width: 575px){
	.footer-link{
		text-align:center;
	}
	.mt-1{
	}
	.navbar-brand img{
		width:80px;
	}
	.hero1{
		line-height:70px;
	}
	.parafo2{
		font-size:16px;
		line-height:18px;
	}
	.container-div-style{
		width:100%;
	}
	.img-asset-17-style{
		height:40px;
	}
	.img-asset-15-style{
		height:40px;
	}
	.img-asset-16-style{
		height:40px;
	}
	.img-asset-6-style{
		height:40px;
	}
	.img-21-style{
		height:40px;
	}
	.img-asset-8-style{
		height:40px;
	}
	.img-asset-7-style{
		height:40px;
	}
	.img-24-style{
		height:40px;
	}
	.img-asset-19-style{
		height:40px;
	}
	.img-26-style{
		height:40px;
	}
	.img-glitt-style{
		width:180px;
	}
	.img-stic-style{
		width:180px;
	}
	
	.h1-margin-bottom {
        margin-top: -18px;
    }
    
    .hero1 {
        line-height: 70px;
    }
    
    .hero1 {
        font-size: 50px;
    }
	
	.p-style {
        margin-bottom: 442px;
    }
    
    .parrafo-3 {
        font-size: 14px;
        line-height: 17px;
    }
}

.tc-rosso-corsa {
    color: #D20000!important;
}

/*.mg-md {
    margin-top: 10px;
    margin-bottom: 20px;
}*/

.btn-rosso-corsa, .btn-rosso-corsa:hover {
    background: #a80000!important;
    color: #FFFFFF!important;
}

.embed-responsive-4by3 {
    padding-bottom: 100%;
}

.bg-carretes-20finales{
	background-image:url("img/carretes%20finales.jpg");
}

.tc-cardinal{
	color:#C42535!important;
}

.parrafo-3 {
    font-size: 25px;
    line-height: 34px;
    font-weight: bold;
}

.row-margin-top {
    margin-top: -166px;
    margin-bottom: 140px;
}

.h1-margin-bottom {
    margin-bottom: 4px;
}

