﻿
/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 0;
    padding-bottom: 0;
    font-family: 'Raleway', sans-serif;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

.btn-primary {
    background-color: #00a0bd;
}

/*.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.navbar .navbar-collapse {
  text-align:justify;
}*/



/* START OF Change the Navbar Colors/Font/Size */
/* Adjust Menu (red) text color, (Garamond) font-family, (1.5em) font-size  */
/*.navbar .nav > li > a, .navbar .nav > li > a:first-letter,
.navbar .nav > li.current-menu-item > a,
.navbar .nav > li.current-menu-ancestor > a {

font-family:    'Raleway';
font-size:0.9em;
}*/

/* Adjust Menu colors - Normal */
/*.navbar .nav > li > a, .navbar .nav > li > a:first-letter {
color:         white;
text-shadow:    none;
font-weight:700;
font-family:    'Raleway';
font-size:0.9em;
}*/

.pl-1 {
  padding-left: 1em;
}

.pr-1 {
  padding-right: 1em;
}

.nav li {
  padding-right: .3em;
  padding-left: .3em;
}

.nav .btn-link:hover {
  text-decoration: none;
  color: #696767;
}

.top-bar {
  border: 1px solid green;
  padding: 1.2rem;
  background: #1cadc7;
}

#txtRicerca {
width: 50%;
    margin-left: 15%;
    margin-top: 10px;
    border: 0;
    z-index: 2;
}

/* #btnSearch {
   margin-left: calc(44vw - 20px);
} */

.search-container #btnSearch {
  float: right;
  /* padding: 6px 10px; */
  margin-top: 10px;
  margin-right: 16px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
  position: absolute;
  width: 22px;
}

.search-container {
  margin-top: -10px;
}

.nav.navbar-nav.navbar-right {
  padding: 1em;
  padding-bottom: 2em;
  background: #97e3f1;
  text-align: center;
  padding-top: 1.5em;
  padding-left: 2em;
}

.lnkaccessi {
  display: flex;
}

.btn-link {
  color: #000
}
.nav.navbar-nav.navbar-right li a{
  color:#000;
}


#navigations .navbar .nav > li > a {
    color: #fff;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    background: #00a0bd;
    margin: 0 .4em 0 0 ;
}

.navbar.navbar-default .container-fluid {
  display: inline-flex   ;
}

#navigations .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background-color: #F00;
    color: #FFC0CB;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background-color: #977EBD;
    color: #FFFFFF;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background-color: #977EBD;
    color: #FFFFFF;
}

.navbar-default {
    border: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    z-index: 0;
}

.nav {
  display: inline-block;
}
.nav-person {
  font-size: .85em;
    padding-top: 2em;
}

.nav li a:hover {
  font-size: 1.1em;
  color: #F00;

}

.nav-justified li {
    padding-left: .5em;
    white-space: nowrap;
}
.mask {
    width: 100%;
    height: 224px;
}

hr.style-eight {
    text-align: center;
    width: 85%;
}

    hr.style-eight:after {
        /* content: url(https://www.gigamercato.it/images/shop/freccia-giu.png); */
        display: inline-block;
        position: relative;
        top: -0.7em;
        font-size: 3em;
        padding: 0 0.25em;
        background: white;
        font-weight: 700;
    }

hr.style-eight2 {
    text-align: center;
    width: 85%;
}

    hr.style-eight2:after {
        content: "ALTRE PROPOSTE";
        display: inline-block;
        position: relative;
        top: -0.7em;
        font-size: 1.3em;
        padding: 0 0.25em;
        background: white;
    }


hr.style-eight3 {
    text-align: left;
    width: 85%;
    margin-left: -1.5%;
}

    hr.style-eight3:after {
        content: "Potrebbero interessarti anche";
        display: inline-block;
        position: relative;
        top: -0.7em;
        font-size: 1.3em;
        padding: 0 0.25em;
        background: white;
    }

hr.style-eight4 {
    text-align: left;
    width: 85%;
    margin-left: -1.5%;
}

    hr.style-eight4:after {
        content: "Spesso acquistati con";
        display: inline-block;
        position: relative;
        top: -0.7em;
        font-size: 1.3em;
        padding: 0 0.25em;
        background: white;
    }


/* Margins */
.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mt50 {
    margin-top: 50px;
}

.mt100 {
    margin-top: 100px;
}

.mt150 {
    margin-top: 150px;
}

.mt200 {
    margin-top: 200px;
}

/* Paddings */
.pb-5 {
  padding-bottom: 5rem;
}


.h2-intesta {
  color: #3e3d3d;
  text-align: justify;
  font-weight: 400;
  font-size: 2rem;
  padding-bottom: 1em;
}

.row h1 {
  text-transform: uppercase;
  color:#00a0bd;
  font-weight:700;
  text-align:center;
  font-size: 3rem;
  padding: 0 .3rem 2rem .3rem;
}
.row .box-off-spec h2 {
  text-transform: uppercase;
  color:#00a0bd;
  font-weight:700;
  text-align:center;
}

.row .box-vend .vend {
  text-transform: uppercase;
  color:#00a0bd;
  font-weight:700;
  text-align:center;
}

.paragstr {
  width: 99%;
  text-align: justify;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

@media screen and (max-width: 991px) {
  .navbar.navbar-default .container-fluid {
    display: block;
  }
}

 .box-articoli {
   height: auto;
   min-height: 515px;

 }
.ribbon {
    position: absolute;
    right: 25px;
    top: 5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: center;
}

    .ribbon span {
        font-size: 10px;
        color: #fff;
        text-transform: uppercase;
        text-align: center;
        font-weight: bold;
        line-height: 20px;
        transform: rotate(45deg);
        width: 100px;
        display: block;
        background: #3262ca;
        background: linear-gradient(#899fff 0%, #0037ff 100%);
        box-shadow: 0 3px 10px -5px rgba(0, 0, 0,1);
        position: absolute;
        top: 19px;
        right: -21px;
    }

        .ribbon span::before {
            content: '';
            position: absolute;
            left: 0%;
            top: 100%;
            z-index: -1;
            border-left: 3px solid #3262ca;
            border-right: 3px solid transparent;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #3262ca;
        }

        .ribbon span::after {
            content: '';
            position: absolute;
            right: 0%;
            top: 100%;
            z-index: -1;
            border-right: 3px solid #3262ca;
            border-left: 3px solid transparent;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #3262ca;
        }

/* cards */

.card *:hover {
    text-decoration: none;
}

.card .thumbnails {
    padding-left: 10px;
    padding-top: 10px;
    border: none;
    height: 760px;
    text-align: left;
    border-radius: 5px;
    -webkit-box-shadow: 2px 0.5px 2px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 0.5px 2px 2px rgba(0,0,0,0.75);
    box-shadow: 2px 0.5px 2px 2px rgba(0,0,0,0.35);
}

.img-responsive.img-prod {
   display: block;
   width: 96%;
   height: 220px;
}

@media (max-width:767px) {

    .img-responsive.img-prod {
      height: auto;
      max-height: 350px;
    }

    .nav.navbar-nav.navbar-right {
      padding-top: 0.5em;
      padding-bottom: 0.5em;
    }

    .navbar-header{
      margin-top: 3em;
    }
}

@media (max-width:375px){

  .navbar-toggle.collapsed{
  margin-right: 3em;
}

}

    .card .thumbnails .caption {
        margin: -20px 20px 20px 20px;
        padding: 19px 29px 19px 29px;
        position: relative;
        background-color: white;
    }

        .card .thumbnails .caption h3 small {
            font-style: italic;
            text-transform: none;
            letter-spacing: 0;
            font-weight: 400;
            font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
            display: block;
            padding: 5px;
        }

        .card .thumbnails .caption h3 {
            font-family: 'Raleway',sans-serif;
            font-weight: 600;
            letter-spacing: -1px;
            margin-top: 0;
            text-transform: uppercase;
            font-size: 18px;
        }

        .card .thumbnails .caption hr {
            border-top: 1px solid #333;
            margin: 20px 40px;
        }

        .card .thumbnails .caption p {
            font-size: 12px;
            line-height: 1.6;
        }

        .card .thumbnails .caption button {
            border-radius: 0;
            color: #aaa;
            -moz-transition: 0.3s;
            -webkit-transition: 0.3s;
            -o-transition: 0.3s;
            transition: 0.3s;
        }

            .card .thumbnails .caption button:hover {
                background-color: black;
                border-color: black;
                color: white;
                -moz-transition: 0.3s;
                -webkit-transition: 0.3s;
                -o-transition: 0.3s;
                transition: 0.3s;
            }

.dist {
    margin-top: 10px;
}

.scopri {
    background-color: white;
    color: deepskyblue;
    border-color: deepskyblue;
    -webkit-box-shadow: 2px 0.5px 2px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 0.5px 2px 2px rgba(0,0,0,0.75);
    box-shadow: 3px 5.0px 0px 0px rgba(27, 131, 129, 0.20);
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.tprod {
    background-color: goldenrod;
    padding: 5px;
    border-radius: 5px;
    color: white;
    font-size: x-small;
}

.searchbar {
    margin-top: 1.5%;
    margin-right: 4%;
    float: right;
    width: 250px;
    height: 30px;
    background-color: #fff;
    border-radius: 30px;
    padding: 5px;
}

div.social-box {
    background-color: #279fbb;
    text-align: center;
    color: #fff;
    font-size: 26px;
    padding: 10px 0;
}

ul.social-b {
    width: auto;
    display: inline-flex;
    margin: auto;
    text-align: center;
    padding-inline-start: 0;
    list-style: none;
}

ul.social-b li {
  padding: 0 .5em 0 .5em;
}

.container  {
  padding-left: 0;
  padding-right: 0;
}

.fab.fa-facebook-f,
.fab.fa-instagram,
.fab.fa-twitter,
.fab.fa-youtube {
  color: #fff;
}

.fab.fa-facebook-f:hover,
.fab.fa-instagram:hover,
.fab.fa-twitter:hover,
.fab.fa-youtube:hover {
  color: #47cdec;
}

.fas.fa-phone-alt,
.fas.fa-at {
  padding-right: 1em;
}
