* {
    font-family: 'Cinzel', serif;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.carousel-inner > .next {
    display: none;
}

.carousel-inner > .prev {
    display: none;
}

h1.display-3 {
    color: #ff8000;
    padding: 1vw;
    text-align: center;
}

div.title_text {
    color: #ff8000;
    background-color: #111;
    text-align:center;
    padding: 2vh;
    text-align: justify;
}

h3 {
    font-size: 8hw;
    letter-spacing: 1vw;
    padding: 2vh;
}

h4 {
    color: #ff8000;
    font-weight: bold;
}

h5 {
    color: #ff8000;
    font-weight: bold;
}

.card-text {
  padding-bottom: 1em !important;
}

.price {
  float: left;
  width: 100%;
}

h6 {
  float: left;
    color: #ff8000;
    opacity: 0.8;
}

#popup_compra {
    max-width: 70vw !important;
}

.modal {
    background-color: rgba(16, 17, 17, 0.8);
}

.modal-header {
    border-bottom: none;
}

.modal-content {
    background-color: #111;
    border-color: #ff8000;
    border-radius: 0px;
    max-height: 95vh;
}

.modal-body {
    overflow: hidden;
    border-color: #ff8000;
}

.modal-footer {
    border-top: none;
}

.card-img-top {
    max-height: 25vh;
    object-fit: cover;
    border-radius: 0px;
}

.btn {
    border-radius: 0px;
    border-color: #ff8000;
    background-color: #ff8000;
    color: #111;
}

.btn:hover {
    border-color: #ff8000;
    color: #ff8000;
    background-color: #111;
}

.card {
    border-radius: 0px;
    overflow: hidden;
    background-color: #111;
    min-width: 40vh;
    max-width: 40vh;
    float: left;
    opacity: 0.95;
    margin: 5vh;
}

.card-deck {
    margin-bottom: 2em;
    opacity: 1;
}

.card {
    -webkit-transition: all 0.5s ease; /* Safari and Chrome */
    -moz-transition: all 0.5s ease; /* Firefox */
    -ms-transition: all 0.5s ease; /* IE 9 */
    -o-transition: all 0.5s ease; /* Opera */
    transition: all 0.5s ease;
}

.card:hover  {
    -webkit-transform:scale(1.1); /* Safari and Chrome */
    -moz-transform:scale(1.1); /* Firefox */
    -ms-transform:scale(1.1); /* IE 9 */
    -o-transform:scale(1.1); /* Opera */
    transform:scale(1.1);
    opacity: 1;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    color: #ff8000;
}

div#anchors {
    padding-top: 10vh;
    float: left;
    padding-left: 9.5vh;
}

.carousel-inner {
    max-height: 90%;
    object-fit: contain;
}


div#links {
    width: 50vw;
    text-align: center;
    padding-left: 9.5vh;
}

#left_container {
    position: fixed;
    width: 50vw;
    height: 100vh;
    background-color: #111;
}

#bar {
    margin-top: 7vh;
}

#right_container{
    margin-left: 50vw;
    /* flex: auto; */
    width: 50%;
}

#left_container a {
    color: #ff8000;
    font-size: 1em;
    padding-left: 3vh;
    margin-top: -1vh;
}

#main_title {
    padding-top: 20vh
}

#main {
    margin: 0 0 3vw -1vw;
    margin-bottom: -1vh;
    font-size: 3.5vw;
    font-weight: 500;
    letter-spacing: 0.25vw;
    line-height: 8.25vw;
}

ul {
    /* width: 9.6875vw; */
    float: left;
    line-height: 20px !important;
    font-size: 12px !important;
    letter-spacing: .5px;
    text-transform: uppercase;
    list-style: none;
}

h1.display-3{
    color: #ff8000;
    text-align: center;
}

body {

    moz-animation: fadein 2s; /* Firefox */
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -o-animation: fadein 2s; /* Opera */
    background-color: #111;
}

a {
    float:left;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

h3 {
    color: #ff8000;
}

.active img {
    object-fit: scale-down;
    max-height: 100%;
    max-width: 100%;
}

.carousel-item img {
    max-height: 80%;
    object-fit: scale-down;
}

.carousel-item.active {
    max-height: 80%;
    object-fit: scale-down;
}

.jumbotron {
    margin-bottom: 0px;
    border-radius: 0px;
}

div#return {
    position: fixed;
    bottom: 0px;
    right: 10px;
    z-index: 999;
}

div#return img {
    max-width: 55px;
}

div#Reguladores {
    background-image: url("../img/Relojes/Reguladores/1/1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

div#Antesala {
    background-image: url("../img/Relojes/Antesala/1/1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

div#Bracket {
    background-image: url("../img/Relojes/Bracket/1/1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

div#Musica {
    background-image: url("../img/Relojes/Musica/1/2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

div#Pared {
    background-image: url("../img/Relojes/Pared/1/1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

div#Capuchinas {
    background-image: url("../img/Relojes/Capuchinas/1/1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

div#Bolsillo {
    background-image: url("../img/Relojes/Bolsillo/1/1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

div#Cabecera {
    background-image: url("../img/Relojes/Cabecera/6/1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

div#Sobremesa {
    background-image: url("../img/Relojes/Sobremesa/3/1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

p#compra_venta {
    text-align: justify;
    color: #ff8000;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-top: 20%;
    padding-left: 13%;
    padding-right: 13%;
    float: left;
}

label {
    color: #ff8000;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 650px), (orientation: portrait) {
    .caption a {
        float: left;
        color: #ff8000;
        background-color: #111;
        padding: 4vw;
        font-size: 8vw;
        line-height: 14px;
        letter-spacing: -0.5px;
        margin-top: 8vh;
    }

    #left_container{
        float:left;
        position: relative;
        width: 100vw !important;
        height: 30vh;
    }

    div#links a {
        width: 100%;
        font-size: 3vh;
        padding: 0.5vh;
    }

    #right_container {
        display: block;
        float: right;
        z-index: 3;
        clear: both;
        width: 100vw;
        padding-top: 25vh;
    }

    .jumbotron {
        width: 100vw;
        border-radius: 0px;
    }

    div#links {
        width: 100vw;
        text-align: center;
        padding-left: 0vh;
    }

    #contact_media a {
        float: left;
        color: #ff8000;
        background-color: #111;
        padding: 1vw;
        padding-right: 3vw;
        line-height: 8px;
        letter-spacing: 0px;
        margin-right: 0vw;
        margin-left: 0vw;
        margin-top: 4vh;
    }

    #popup_compra {
        max-width: 95vw !important;
    }

    .card {
        border-radius: 0px;
        overflow: hidden;
        background-color: #111;
        width: 90vw;
        min-width: 70vw;
        max-width: 95vw;
        float: left;
        margin: 0px;
    }

    .card-deck {
        margin-bottom: 2em;
        opacity: 1;
    }

    .card:hover  {
        -webkit-transform:scale(1.05); /* Safari and Chrome */
        -moz-transform:scale(1.05); /* Firefox */
        -ms-transform:scale(1.05); /* IE 9 */
        -o-transform:scale(1.05); /* Opera */
        transform:scale(1.05);
        opacity: 1;
    }

    #main {
        margin: 0 0 3.75vw 1.75vw;
        font-weight: 500;
        font-size: 3.5vw;
        letter-spacing: 0.25vw;
        line-height: 8.25vw;
    }

    div.title_text {
        margin-top: 1vh;
    }

    div#anchors {
        width: 90%;
        justify-content: center;
        padding-bottom: 10vh;
        padding-right: 10%;
        padding-left: 10%;
        display: flex;
        flex-direction: column;
    }
    div#anchors a {
        padding-top: 2%;
        padding-bottom: 2%;
    }

    p#compra_venta {
        font-size: 12px;
        text-align: justify;
        color: #ff8000;
        text-overflow: ellipsis;
        overflow: hidden;
        padding-top: 3vh;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 5vh;
        float: left;
    }

    #initial_title {
        padding-top: 100%;
    }

}

/* ANIMATIONS */
body {
    moz-animation: fadein 2s; /* Firefox */
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -o-animation: fadein 2s; /* Opera */
}

