@import url(https://fonts.googleapis.com/css?family=Josefin+Slab:600,700);
/*The design of scrollbar*/
::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: papayawhip;
}
::-webkit-scrollbar{
    width: 10px;
    background-color: papayawhip;
}
::-webkit-scrollbar-thumb{
    background-color: #FFCD7B;	
    background-image: -webkit-linear-gradient(45deg,
        rgba(255, 255, 255, .2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, .2) 50%,
        rgba(255, 255, 255, .2) 75%,
        transparent 75%,
        transparent)
}
::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: papayawhip;
}
::-webkit-scrollbar{
    width: 7px;
    background-color: papayawhip;
}

body {
    font-family: 'Josefin Slab',sans-serif;
    background: papayawhip;
    font-size: 16px;
}
#pb_28 {
    margin-top: 12px;
}
.navbar{
    margin-bottom: 0px; 
}
.navbar-default .navbar-nav>li>a{
    letter-spacing: 1px;
    color:#4c4c4c;
    text-transform: uppercase;
}
.navbar-default .navbar-nav>li {
    border-bottom: 2px solid transparent;
}
.navbar-default .navbar-nav>li:hover, .navbar-default .navbar-nav>li.active{
    color:#6D4F2D;
    border-bottom: 2px solid #6D4F2D;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    color:#6D4F2D;
    background-color: transparent;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus{
    background-color: transparent;
}
.nav>li>a {
    padding: 10px 6px;
}
.header {
    padding-top: 5px;
    background-image: url('../images/diagonal_striped_brick.png');
    border-bottom: 1px solid gray;
}
.navbar-default {
    background-color: transparent;
    border:none;
}
dropdown-menu>li>a{
    font-size: 20px;
    letter-spacing: 1px;
    color:rgb(140, 142, 141);
}
.toleft {
    float: left;
}
.toright {
    float: right;
}
.box-news {
    padding: 0 20px 0 0;
}
.box-news a {
    color: inherit !important;
}
.news-date {
    color: #6D4F2D;
    margin-bottom: 0;
    font-size: 0.9em;
}
#pb_17, #pb_25{
    min-height: 50px;
    overflow: hidden;
    border: 1px solid #fefefe;
    box-shadow: 0px 0px 1px 2px #DEDEDE;
    border-top: none;
}
th {
    text-align: center;
}
@media (max-width: 767px) {
    #myCarousel-gallery .carousel-control.left, #myCarousel-gallery .carousel-control.right {
        display: none;
    }
}
/*---------- h1 on the header   used for the demo porpuse -------------*/  
.header h1{
    font-size: 24px;
    font-weight: 600;
    color: #216fad;
    float: right;
    letter-spacing: 2px;
    margin: 41px 0px 0px 0px;
}
.header span{
    font-size: 18px;
    color: #6D4F2D;
}
/*  ------------th logo class has the size for the logo---------- */  
.logo{
    height: 70px;
}
/*   ------the sixe for the logo the div above has the size for it ------------*/  
.logo img{
    max-width: 100%;
    max-height: 100%;
}
/*  ----------carousel caption --------------*/  
#pb_14, #pb_13 {
    /*   margin-top: 70px;*/
}
/*  use for demo  popuse like margin. the size  for the div it use the container fro bootstrap */  
.wraper{
    margin-top: 80px;
    margin-bottom: 50px;
}
.box-news ul {
    list-style: none !important;
    list-style-position: inside;
}
.box-news ul li {  
}
.box-news .news-body {
    border-bottom: 1px solid #AFAFAF;
    margin: 25px 0;
}
.box-news .news-description {
    line-height: 20px;
}
.box-news li:last-child {
    border-bottom: 0;
}
.box-news img {
    max-width: 100%;
    height: 7rem;
}
.box-news .readmore {
    text-align: right;
}
/*------------------------------------*\
  Media Object Styles
\*------------------------------------*/
.media {
    margin-bottom: 1.5rem;
}
.media:after {
    content: "";
    display: table;
    clear: both;
}
.media__img {
    display: block;
    margin-right: 1.5rem;
    margin-bottom: 0.75rem;
}
.media--one {
    border-left: 0.75rem solid #636649;
    padding: 0.75rem;
}
.media--two .media__img {
    margin-bottom: 0;
    border-left: 0.75rem solid #f0f0f0;
}
.media--two .media__body {
    padding: 0.75rem;
    background-color: #f0f0f0;
}
.media--three .media__img {
    margin-bottom: 0;
}
.media--three .media__body {
    position: relative;
    padding: 0.75rem;
    background-color: #f0f0f0;
}
.media--three .media__body:before {
    position: absolute;
    top: -0.75rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0.75rem 0.75rem 0.75rem;
    border-color: transparent transparent #f0f0f0 transparent;
    content: "";
}
#myCarousel_2 {
    /* border: 1px solid #fefefe; */
    /* box-shadow: 0px 0px 1px 2px #DEDEDE; */
    /* border-top: none; */
}
@media (min-width: 27em) {
    .media__img {
        float: left;
    }
    .media__body {
        overflow: hidden;
    }
    .media--one {
        border-left: 0;
        padding: 0;
    }
    .media--two .media__img {
        border-left: 0;
    }
    .media--two .media__body {
        padding: 0;
        background-color: inherit;
    }
    .media--three .media__body {
        padding: 0;
        background-color: inherit;
    }
    .media--three .media__body:before {
        display: none;
    }
}
.media--three a{
    color: #5B5C56;
    text-decoration: none;
    float: right;
    font-size: 16px;
}
.media--three a:hover{
    color: #84c67f;
    text-decoration: underline;
}
.item,
.active,
.carousel-inner {
    height: 100%;
}
/* Background images are set within the HTML using inline CSS, not here */
.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
/*-----------------/header section ----------------*/ 
/*  -------------media image ----------------*/  
.image-slide{
    margin-bottom: 50px;
    margin-top: 80px;
    /*     height: 540px;*/
}
.vew-links{
    margin-bottom: 50px;  
}  
.vew-links .main-cnt{
    width: 100%;
    text-align: left;
    background-color: #F7F1D7;
}
.vew-links .main-cnt {
    font-size: 14px;
    color: black;
    padding: 10px 10px 10px 10px;
    display: block;
    text-decoration: none;
    -webkit-transition: background,color 500ms ease-out 50ms;
    -moz-transition: background,color 500ms ease-out 50ms;
    -o-transition: background,color 500ms ease-out 50ms;
    transition: background,color 500ms ease-out 50ms; 
}
.vew-links {
    text-align: center;
    margin-bottom: 20px;
    border-radius: 3px;
}
/*  ------------------footer -------------*/  
.footer {
    width: 100%;
    height: 200px;
    background: #fbfaea;
    margin-top: 30px;
    background: #FFCD7B;
    width: 100%;
    height: auto;
    text-align: left;
    box-shadow: 0px 0px 2px 0px gray;
}
.footer > div.container {
    padding-top: 20px;
    padding-bottom: 20px;
}
.line{
    width:100px;
    height: 2px;
    float: left;
    /*     background: #160e34;*/
}
.hrline {
    margin-top: 2px 2px 2px 2px;
    padding: 1px;
    background: #6D4F2D;
    border: 1px solid white;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.footer-content h2 {
    padding-bottom: 15px;
}
.footer-content h2 a{
    color: #494E51;
    font-size: 23px;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 600;
}
.footer-content h2 a:hover{
    color: #216FAD;
}
.footer-content a{
    text-decoration: none;
}
.footer-content ul{ 
}
.footer-content ul li{
    margin: 10px 0px 0px 0px;
}
.footer-content li {
    text-decoration: none;
    color: #4c4c4c;
    font-size: 15px;
    font-weight: 100;
    letter-spacing: 1px;
    line-height: 15px;
}
.footer-bottom {
    width:100%;
    background: #6D4F2D;
    /* background-image: url('../images/old_map.png'); */
    padding: 10px;
    font-size: 13px;
    box-shadow: 0px 0px 1px 0px gray;
}
/*  -------copyright  -----------*/  
.text-copyright{
    text-align: left;
    color: white;
    /* opacity: 0.5; */
    float: left;
    font-weight: bold;
}
.poweredby {
    float: right;
    text-align: right;
}
/* ---------------------- chi siamo  --------------------*/  
.chisiam-content{
}
.chisiam-content1{
}
.chisiamo-wraper{
    text-align:left;
}
h2.pageTitle {
    color: #6D4F2D;
    text-align: left;
    border-bottom: 1px solid #6D4F2D;
}
.about-chisiamo{
    margin-bottom:80px; 
}
.chisiam-content{
    text-align: justify;
    padding: 5px 20px;
}
.chisiam-content h2 {
    color: #216FAD;
    font-size: 20px;
    letter-spacing: 1px;
    padding-bottom: 15px;
}
.body-content ul, .chisiam-content ul {
    list-style-type: square;
    list-style-position: inside;
}
.body-content ul li, .chisiam-content ul li { 
    margin-bottom: 4px;
    padding-left: 10px;
}
.body-content {
    line-height: 27px;
    margin-bottom: 0px;
}
#article-list {
    background: white;
    padding: 15px;
}
.article_std_container {
    margin-bottom: 0px !important;
}
.sostenitori {
    background: white;
    padding: 0 15px;
}
.body-content h4 {
    color: #6D4F2D;
    margin-top: 15px;
}
.body-content .col-left {
    padding-right: 20px;
}
.body-content .col-right {
    padding-left: 20px;
}
.loghi-accreditamenti {
    text-align: center;
}
.loghi-accreditamenti div {
    float: right;
    clear: both;
    width: 50%;
}
.loghi-accreditamenti img {
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
}
/*  -------------------contact -------------*/ 
.contact-wraper{
    margin-top: 100px;
    margin-bottom: 100px;
}
.news_style2 .image {
    width: 300px;
    float: left;
    margin-right: 20px;
}
.news_style2 div.content {
    padding: 0px 20px;
}
.padd {
    padding-left: 10px;
}
a.customized-button {
    background: #935E39;
    color: white !important;
}
a.customized-button:hover {
    background: #6D4F2D;
}
.virtualBrick {
    width: 1200px;
    height: 1640px;
    background-image: url("../../../media/virtual_brick_bg.jpg");
    box-shadow: 0px 0px 1px 0px gray; 
}
.brick {
    width: 10px;
    height: 10px;
}
.brick:hover {
    /*    -webkit-box-shadow:inset 0px 0px 0px 1px black;
        -moz-box-shadow:inset 0px 0px 0px 1px black;
        box-shadow:inset 0px 0px 0px 1px black;*/
}
.inSale {
    background: white;
    opacity: 0.7;
}
.sold {
    background: transparent;
}
.butone {
    margin-top: 20px;
    float: right;
}
.body-content #error404 {
    font-size: 40px;
    height: 80px;
    padding: 20px 20px;
    background-color: #F6E9C9;
    text-align: center;
}
.navbar-default .navbar-nav>li>a{
    letter-spacing: 0px;
    font-size: 15px;
}
.extra-radio {
    margin-left: 0px !important;
}
.bg-main-color {
    background-color: #654A1F !important;
    border-color: #654A1F !important;
}
.main-color {
    color: #654A1F !important;
}

.pagination>.active>a, 
.pagination>.active>span, 
.pagination>.active>a:hover, 
.pagination>.active>span:hover, 
.pagination>.active>a:focus, 
.pagination>.active>span:focus{
    background-color: #654A1F;
    border-color: #654A1F;
}
.pagination>li>a, 
.pagination>li>span {
    color: #654A1F;
}

.pagination>li>a:hover, .pagination>li>span:hover {
    color: #654A1F;
}
.nopadding {
    /* padding-left: 0px; */
    /* padding-right: 0px; */
}
#pb_24 {
    margin-bottom: 30px;
}
.elements {
    margin: 50px 0 20px 0;
    position: relative;
    z-index: 999;
}
.element-main {
    padding: 0px;
}
.elements .img {
    box-shadow: 0px 0px 1px 0px gray;
}
.elements a {
    text-decoration: none;
    color: black;
}
#pb_13 > p, #pb_14 > p {
    line-height: 15px;
    font-size: 13px;
}
#pb_33 {
    margin-top: 30px;
}
#pb_33 .well{
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: transparent;
    border: 0px solid #e3e3e3;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,0);
    box-shadow: inset 0 0px 0px rgba(0,0,0,0);
}
#myCarousel-gallery .carousel-indicators {
    bottom: -50px !important;
}
/*   -------------   different media screens ------------------*/  
@media (max-width: 1200px){
    .navbar-default .navbar-nav>li>a{
        letter-spacing: 0px;
        font-size: 12px;
    }
}
@media (max-width: 992px){
    .image-slider{
        height: 380px;
    }
    .header h1{
        font-size: 16px;
        margin: 41px 0px 0px 103px;      
    }
    .header span{
        font-size: 14px;
    }
    div.logo {
        margin-left: 0px;
    }
    .navbar-header {
        float: none !important;
        text-align: center;
    }
    .navbar-default .navbar-nav>li>a {
        font-size: 13px;
        letter-spacing: 0px;
    }
    .navbar-right{
        float: none !important;
    }
    .navbar-default .navbar-collapse {
        text-align: center;
    }
}
@media  (max-width: 768px){
    /*---------- h1 on the header   used for the demo porpuse -------------*/  
    .header h1{
        font-size: 14px;
        margin: 41px 40px 0px 123px;
    }
    .header span{
        font-size: 12px;
    }
    .vew-links ul li a {
        font-size: 18px;
    }
    .footer-content {
        padding-left: 10px;
    }
    .news_style2 .image {
        float: none;
    }
    h2.pageTitle {
        font-size: 20px;
    }
    .about-chisiamo {
        margin-bottom: 10px;
    }
    .body-content .col-right{
        padding-left: 0px;
    }
    .chisiam-content{
        padding-left:0px; 
    }
    .body-content ul li, .chisiam-content ul li, .padd{
        padding-left: 15px;
    }
    .image-slider{
        height: 370px;
    }
    .navbar-header {
        text-align: inherit;
    }
    .navbar-default .navbar-collapse {
        text-align: left;
    }
}
@media  (max-width: 700px){
    .header h1{
        font-size: 13px;
        margin: 41px 40px 0px 123px;
    }
    .header span{
        font-size: 11px;
    }
}
@media (max-width: 500px){ 
    .image-slider{
        height: 250px;
    }
    #pb_14 {
        margin-top: 40px;
    }
    .header h1{
        font-size: 11px;
        margin: 41px 30px 0px 100px;
    }
    .header span{
        font-size: 9px;
    }

    .footer-content, .poweredby, .text-copyright {
        text-align: center;
        float: none;
    }
    .brick-list td {
        padding: 15px 10px !important;
        font-size: 15px !important;
        font-weight: normal !important;
    }
}
@media (min-width: 500px){ 
.brick-list td {
    padding: 15px 30px !important;
    font-size: 20px;
    font-weight: normal !important;
}
}

.real-brick td {
    padding: 15px 30px;
    font-size: 22px;
    font-weight: bold;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border: 1px solid #ddd;
}

@media(max-width: 400px){
    .vew-links ul li a {
        font-size: 13px;
    }
    .header h1{
        margin: 41px 10px 0px 80px;
    }
}
@media(max-width: 300px){
    .header h1{
        margin: 41px 10px 0px 60px;
    }
}



.home-header-wrap {
    /* overflow: hidden; */
    /* position: absolute; */
    /* z-index: 2; */
    /* display: table; */
    /* margin: 0 auto; */
    /* width: 100%; */
}
.header-content-wrap {
    /* background: rgba(0, 0, 0, 0.2); */
    /* position: relative; */
    /* -webkit-box-shadow: 0px 5px 11px 0px rgba(50, 50, 50, 0.08); */
    /* box-shadow: 0px 5px 11px 0px rgba(50, 50, 50, 0.08); */
}
.intro-text {
    color: #FFF;
    text-transform: uppercase;
    /* font-size: 40px; */
}
.buttons {
    text-align: center;
    margin-top: 35px;
    margin-bottom: 35px;
}
.custom-button {
    /* display: inline-block !important; */
    /* text-align: center; */
    /* text-transform: uppercase; */
    /* padding: 10px 20px; */
    /* border-radius: 2px; */
    /* margin: 10px; */
    /* border: none; */
}
#pb_39 .main-content{
    /* display: table; */
    padding: 1em;
    margin: 10em auto 0em auto;
    position: relative;
    border-radius: 2px;
}
#pb_40 .main-content{
    /* display: table; */
    padding: 1em;
    margin: 1em auto;
    position: relative;
    border-radius: 2px;
}
.main-content{
    background: rgba(0, 0, 0, 0.4);
    padding: 1em;
}

@media (min-width: 992px){
    .main-content-xs{
        display:none;
    }
    #pb_40 .main-content{
        display:none;
    }
}
@media (max-width: 992px){

    #pb_39 .main-content{
        display:none;
    }
}

.main-content-xs{
    text-align:center;
    padding:3em 0 1em 0;
}


/*search*/
#search-top {
    width: 100%;
    /* margin-bottom: -5px; */
    display: inline-block;
    display: -moz-groupbox;
}
#pb_39 {
    /* top: 45vh; */
    z-index: 98;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    left: 0;
    position: absolute;
    /* text-align: center; */
    width: 100%;
    -webkit-justify-content: center;
    justify-content: center;
}
form.cf-home {
    width: 100%;
    padding: 20px 20px;
    background: rgba(236,151,31,.7);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgb(201, 140, 47);
}

.cf-home {
    height: 80px;
}
form.cf-home input.cosa {
    margin-right: 30px;
}
.form-wrapper-2 input {
    /* float: left; */
    width: 100%;
    height: 40px;
    padding: 10px 10px;
    border: 0;
    background: #FFF;
    font-size: 15px;
    resize: both;
    color: black;
}
.input-group-btn {
    width: 8%;
    text-align: center;
}
form.cf-home button, form.cf-home .button {
    background: #020202;
    text-align: center;
}
.form-wrapper-2 button, .form-wrapper-2 .button {
    overflow: visible;
    position: relative;
    float: right;
    border: 0;
    padding: 0 20px;
    cursor: pointer;
    height: 40px;
    width: 100%;
    font: bold 15px/40px 'Raleway', sans-serif;
    color: #fff;
    text-transform: uppercase;
    -moz-border-radius: 0 3px 3px 0;
    text-shadow: 0 -1px 0 rgba(0, 0 ,0, .3);
    outline: none;
}
a, button {
    outline: none;
}
form.cf-home button:before {
    content: '';
    position: absolute;
    border-width: 8px 8px 8px 0;
    border-style: solid solid solid none;
    border-color: transparent #020202 transparent;
    top: 12px;
    left: -8px;
}
.table-striped>tbody>tr:nth-of-type(2n) {
    background-color: rgba(255,255,255,.5);
}
.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: rgba(255,239,213,0);
}
.table>tbody>tr.active>td, .table>tbody>tr.active>th, .table>tbody>tr>td.active, .table>tbody>tr>th.active, .table>tfoot>tr.active>td, .table>tfoot>tr.active>th, .table>tfoot>tr>td.active, .table>tfoot>tr>th.active, .table>thead>tr.active>td, .table>thead>tr.active>th, .table>thead>tr>td.active, .table>thead>tr>th.active {
    background-color: rgb(51, 51, 56);
    color: white;
}

.brick-list{
    margin: 2em;
}