:root{
    --text-shadow-color-blue: #c1c8dd;
}
  
  /****************/
 /* basic colors */
/****************/

.bg-primary{
    background-color: #0c3774!important;
}
.text-primary, .text-primary a{
    color: #0c3774!important;
}
.border-primary{
    border-color: #0c3774!important;
}

.bg-secondary{
    background-color: #6c757d!important;
}
.text-secondary, .text-secondary a{
    color: #6c757d!important;
}
.border-secondary{
    border-color: #6c757d!important;
}

.bg-dark{
    background-color: #282828!important;
}
.text-dark, .text-dark a{
    color: #282828!important;
}
.border-dark{
    border-color: #282828!important;
}

.bg-black{
    background-color: #000!important;
}
.text-black, .text-black a{
    color: #000!important;
}
.border-black{
    border-color: #000!important;
}

.bg-light{
    background-color: #e1e4e9!important;
}
.text-light, .text-light a{
    color: #e1e4e9!important;
}
.border-light{
    border-color: #e1e4e9!important;
}
.bg-white-020{
    background-color: rgba(255,255,255,0.2);
}

a.hovercolor:hover{
    text-decoration: none;
    transition: 0.4s;
    color: #f9c353 !important;
}
a.hovercolor:hover>*{
	transition: 0.4s;
    color: #f9c353 !important;
}

  /**********************/
 /* General typography */
/**********************/

html {
    scroll-behavior: auto !important;
}

body{
    font-family: 'Lato', sans-serif;
    font-size:  1.25rem;
    line-height: 1.35em;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
    font-family: 'Signika', 'Lato', sans-serif;
    font-weight: 600;
}

h1.section-title{
    margin-bottom:  0.5em;
    text-align: left;
    letter-spacing: 1px;
    font-weight: 600;
}

p, li{
    
}

.fw-600{
    font-weight: 700;
}

.fw-800{
    font-weight: 800;
}


  /***********/
 /*  utils  */
/***********/
.red-separator-thin{
    position: relative;
    height: 2px;
    width: 100%;
}
.red-separator-bold{
    position: relative;
    height: 4px;
    width: 100%;
}
.red-separator-thin:before, .red-separator-bold:before{
    content: '';
    position: absolute;
    left: -30px;
    right: -30px;
    top: 0;
    bottom: 0;
    background-color: #ce0d2e;
}

  /************/
 /*  header  */
/************/

header{
    position: relative;
    margin-bottom: 12px;
}
header:after{
    content: '';
    position: absolute;
    bottom: -12px;
    height: 12px;
    left: 0;
    right: 0;
    background-image: url('../img/silver-line.jpg');
    background-size: 100% auto;
    background-position: center;
    background-repeat: repeat-y;
}

section.slider-top.only-one-slide a[role=button], section.slider-top.only-one-slide ol.carousel-indicators{
    display:    none;
}

header .container-fluid.main-nav-wrapper{
    max-width: 1280px;
    position: absolute;
    width:  100%;
    top:    0;
    left:   50%;
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    z-index:    99;
}

nav#main-nav{
    padding-top: 1vw;
}

nav#main-nav .nav-link{
    transition: 0.4s;
    text-shadow: 2px 2px 5px var(--text-shadow-color-blue), -2px -2px 5px var(--text-shadow-color-blue), -2px 2px 5px var(--text-shadow-color-blue), 2px -2px 5px var(--text-shadow-color-blue);
}
nav#main-nav .nav-link:hover{
    color:yellow !important;
}

div.navbar-text{
    position: absolute;
    left: 5.4vw;
    top: 2.8vw;
    z-index: 99;
}
div.navbar-text img{
    width: 22vw;
    min-width: 160px;
}

.navbar-toggler{
    border-color: rgba(255,255,255,0.7);
}

.carousel-item{
    height: 35.7vw;
    min-height: 480px;
}
#carousel-item-1{
    background-image: url('../img/slides/slide-1-bg.jpg');
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
}

.carousel-caption.container-fluid{
    max-width: 1280px;
}

.carousel-caption{
    height: 90%;
    left: 50%;
    bottom: 0;
    right: auto;
    transform: translate(-50%);
}
.carousel-caption .badge{
    max-height: 70%;
}

.slide-title{
    font-family: 'Kaushan Script', cursive;
    line-height: 1.1em;
}

.desc-wrapper{
    margin-top: 3vw;
}

.package{
    position: relative;
    margin-right: 5em;
}

  /************/
 /*  footer  */
/************/

footer p{
    text-align: center;
}

footer #contact, footer #copyright{
    padding:    2rem 1.25rem;
}
footer #contact h4{
    font-weight: 600;
}
footer #contact p{
    font-size:  1.1rem;
    font-weight: 700;
    line-height: 1.2em;
}
footer  p:last-of-type{
    margin-bottom: 0;
}

div#gotop{
	position:	fixed;
	right:	30px;
	bottom:	30px;
	display:	none;
	width:	50px;
	height:	50px;
	z-index:	999;
	border-width: 1px;
        border-style: solid;
        transition: background-color 0.4s, color 0.4s;;
}

div#gotop:hover{
    background-color:   rgba(73,186,47,0.8);
    border-color:   #fff;

}

div#gotop i{
	display:	block;
	position:	absolute;
	left:	50%;
	top:	50%;
	margin-left:	-20px;
	margin-top:	-22px;
	font-size:	40px;
}

div#gotop:hover i{
    color:  #fff;;
}


  /**************/
 /*  sections  */
/**************/

.section-interior.container-fluid{
    max-width: 1280px;
}

.section {
    padding: 3rem 1.25rem;
}

section#page-content{
    overflow: hidden;
}

#despre-matratea-2{
    background-image: url('../img/lines.png');
    background-size: auto 115%;
    background-position: left top;
    background-repeat: no-repeat;
}

#simptome{
    background-color: rgba(225,228,233,0.5);
}

#despre-matratea-2 .cauzele-icon{
    width: 100px;
    height: auto;
}

.tipuri-img{
    min-height: 100%;
    padding-top: 50%;
    background-image: url(../img/tipuri-1.jpg);
    background-size: cover;
    background-position: 75% center;
    background-repeat: no-repeat;
}
.row-2 .tipuri-img{
    background-image: url(../img/tipuri-2.jpg);
}
.row-3 .tipuri-img{
    background-image: url(../img/tipuri-3.jpg);    
}

#sampon{
    background-image: url(../img/sampon-bg.png);
    background-size: auto 70%;
    background-position: left top;
    background-repeat: no-repeat;
}

#sampon .section-interior{
    background-image: url(../img/package.png);
    background-size: auto 90%;
    background-position: 95% bottom;
    background-repeat: no-repeat;
}

#sampon .sampon-2{
    position: relative;
}
#sampon .sampon-2:before{
    content: '';
    position: absolute;
    background-color: rgba(255,255,255,0.2);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
#sampon .sampon-2:after{
    content: '';
    position: absolute;
    left: -0.85rem;
    top: -2.5rem;
    width: 7em;
    height: 7rem;
    background-image: url(../img/ball.png);
    background-position: left top;
    background-size: contain;
    background-repeat: no-repeat;
}

#sampon .sampon-2-inner{
    padding-left: 6rem;
}

#sampon .sampon-2 ul li{
    position: relative;
    font-size: 1.3em;
    line-height: 1.3em;
    padding-top: 0.6em;
    padding-bottom: 0.4em;
    margin-left: 3em;
    margin-right: 2em;
    border-bottom: 3px dotted #fff;
}
#sampon .sampon-2 ul li:before{
    content: '';
    position: absolute;
    left: -3em;
    top: 0;
    height: 2.3em;
    width: 3em;
    background-image: url(../img/sampon-icon-1.png);
    background-size: auto 70%;
    background-position: left 60%;
    background-repeat: no-repeat;
}
#sampon .sampon-2 ul li:nth-of-type(2):before{
    background-image: url(../img/sampon-icon-2.png);
    background-size: auto 73%;
}
#sampon .sampon-2 ul li:nth-of-type(3):before{
    background-image: url(../img/sampon-icon-3.png);
    background-size: auto 66%;
}
#sampon .sampon-2 ul li:after{
    content: '';
    position: absolute;
    width: 10vw;
    right: -10vw;
    height: 100%;
    top: 3px;
    border-bottom: 3px dotted #fff;
    transform: rotate(30deg);
    transform-origin: 0 105%;
}


#sampon .cumpara{
    margin-bottom: -1em;
}

#sampon .picture{
    z-index: 99;
}

#comanda{
    background-image: url(../img/comanda-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

#comanda .package{
    margin-bottom: -8%;
}

.cumpara{
    position: relative;
    z-index: 99;
}

.cumpara a{
    background-color: #d10d0d;
    font-weight: 600;
    font-size: 1.3rem;
    padding: 0.6em 1em 0.6em 1em;
    transition: 0.6s;
    border-radius: 0.7em;
    text-decoration: none;
}
.cumpara a:hover{
    text-decoration: none;
    filter: brightness(1.15);
    transform: scale(1.05);
}

    /*******************************************/
   /*                                         */
  /*              media queries              */
 /*                                         */
/*******************************************/



@media screen and (max-width: 1920px) {
    
}


@media screen and (max-width: 1279px) {

}


@media screen and (max-width: 1199px) {
    #sampon .sampon-2 ul li:after{
        width: calc( 50vw - 400px);
        right: calc( -50vw + 400px);
    }    
}


@media screen and (min-width: 992px) and (max-width: 1199px){
    
}


@media screen and (max-width: 991px) {
    .navbar-collapse{
        position: relative;
        padding-top: 0.4em;
        padding-bottom: 0.4em;
    }
    .navbar-collapse:before{
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: var(--text-shadow-color-blue);
        opacity: 0.75;
        border-radius: 0.4em;
        z-index: -1;    
    }    
    #carousel-item-1{
        background-position: -150px top;
    }     
    div.navbar-text{
        top: 1.5em;
    }
    div.navbar-text img{
        width: 28vw;
        min-width: 200px;
    }
    #sampon .section-interior{
        background-image: none;
    }   
    #sampon .sampon-2-inner{
        padding-left: calc(var(--bs-gutter-x) * .5);
    }
    #sampon .sampon-2:after {
        display: none;
    }
    #sampon .sampon-2 ul li:after{
        width: 100px;
        right: -100px;
    }        
}


@media screen and (max-width: 767px) {
    .package{
        margin-right: 1em;
        bottom: -2em;
    }
    .package::after{
        width: 50%;
        right: -20%;
    }
    .desc h1{
        font-size: 6vw;
    }
    .desc h3{
        font-size: 3.5vw;
    }
    .desc img{
        width: 14vw;
    }
}


@media screen and (max-width: 575px) {
    .package{
        height: 70vw !important;
        bottom: -5.5vw;
    }
    .desc h1{
        font-size: 7vw;
    }
    .desc h3{
        font-size: 4.3vw;
    }
    .desc img{
        width: 16vw;
    }    
    #sampon .sampon-2 ul li:after{
        display: none;
    }        
    #sampon .picture img{
        max-width: 60%;
    }
}


@media screen and (min-width:768px){
    
}


@media screen and (min-width:992px){
    .tipuri-text{
        max-width: calc( 66.6vw - ( 100vw - 1280px ) / 2 );
    }    
}


@media screen and (min-width:1200px){
    #despre-matratea-2 .cauzele-icon{
        width: 110px;
        height: auto;
    }
}

@media screen and (min-width:1600px){
    .desc-wrapper{
        margin-top: 3em;
    }
    #sampon .sampon-2:before{
        left: -6rem;
        right: -6rem;
    }
    #sampon .section-interior{
        background-size: contain;
        background-position: right center;
    }
    #sampon .sampon-2:after{

        left: -4rem;
        top: -2rem;
        width: 9em;
        height: 9rem;
        background-position: left top;
        background-size: contain;
    }        
    #sampon .sampon-2 ul li:after{
        width: 7em;
        right: -7em;
        height: 100%;
        top: 3px;
        transform-origin: 0 105%;
    }    
}

@media screen and (min-width:1920px){

}