/* menu */

.primary-menu .mega-child .list-a {
    display: inline-block
}

/* navigazione sezioni, menu contestuale pagina visualizzata */

/*a.section-nav{color:#322b6a; background-color: #f9f03c}*/

a.section-nav {
    color: #fff;
    background-color: transparent
}

a.section-nav.active, a.section-nav:hover, a.section-nav:focus {
    color: #fff;
    background-color: transparent
}

a.section-nav i {
    content: " ";
    display: block;
    clear: both;
    text-align: center;
    width: 100%;
    margin-bottom: 10px
}

/* map */

body.with-map .top-bg {
    margin-bottom: 0
}

.overlay-featured-marker.t1 {
    background-color: #009036 !important
}

.overlay-featured-marker.t2 {
    background-color: #d70f00 !important
}

.overlay-featured-marker.t3 {
    background-color: #e46300 !important
}

#slider-map {
    border-top: 4px solid #00e7b4
}

#slider-map-featured .t1 ul li.current {
    border-top-color: #009036
}

#slider-map-featured .t2 ul li.current {
    border-top-color: #d70f00
}

#slider-map-featured .t3 ul li.current {
    border-top-color: #e46300
}

#slider-map-zoom-in:hover, #slider-map-zoom-out:hover {
    background-color: #e46300
}

#slider-map-featured .t1 ul li h3 {
    color: #009036
}

#slider-map-featured .t1 ul li h3 {
    color: #d70f00
}

#slider-map-featured .t1 ul li h3 {
    color: #e46300
}

.property-info a {
    float: right
}

#slider-map-featured ul li p {
    color: #6d6d6d
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
    border-color: #f0ca45;
    background-color: #f0ca45;
}

.cus-yellow {
    color: #f0ca45
}

.overlay-featured-marker.t1 {
    background-color: #251b67 !important;
}

.footer-widget a {
    color: #fff
}

/* timeline */

.streamline .sl-primary {
    border-color: #251b67;
}

.streamline .sl-primary::after {
    color: #251b67;
}

.text-dark {
    color: #4242a1
}

@media (min-width: 1200px) {
    .container {
        width: 80%;
    }
}

.box-map-img {
    float: left;
    display: block;
    width: 175px;
}

.box-map-info {
    float: left;
    display: block;
    width: 204px;
    margin-left: 20px
}

body {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
}

.container {
    /* width: 1470px;*/

}

.captions-left, .captions-right {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    position: relative;
}

.sl-left h3, .sl-left p {
    text-align: right;
}

.sl-right h3, .sl-right p {
    text-align: left;
}

.sl-right h3, .sl-left h3 {
    bottom: 300px;
    font-size: 70px;
}

.sl-right p, .sl-left p {
    bottom: 250px;
    font-size: 30px;
}

.sl-right a.btn, .sl-left a.btn {
    bottom: 190px;
    padding: 15px 60px;
    background-color: #ffffff;
    color: #322b6a;
}

.sl-right a.btn:hover, .sl-left a.btn:hover {
    background-color: #322b6a;
    color: #fff;
}

.sl-left h3 {
    right: 1300px;
}

.sl-left p {
    right: 1300px;
}

.sl-left a.btn {
    right: 1300px;
}

.sl-right h3 {
    left: 1300px;
}

.sl-right p {
    left: 1300px;
}

.sl-right a.btn {
    left: 1300px;
}

.ts-lg {
    text-shadow: 0 0 36px rgba(0, 0, 0, 1) !important;
}

.stack-lg .stack-img {
    max-height: 90px;
}

.logo {
    padding: 10px 0;
}

/* photogallery */

.img-thumbnail {
    width: 100%
}

.fancybox-thumbs {
    margin: 15px 0
}

table {
    border: 1px solid #ccc;
    padding: 10px;
}

table td {
    padding: 15px;
    border-color: #eee;
}

table tr:nth-child(even) {
    background-color: #f7f7f7
}

table tr {
}

table tr:hover {
    opacity: 0.8;
}

.section-header, .section-banner {
    border-bottom: 4px solid #f0ca45;
    border-top: 4px solid #574c95;
}

.fa-star {
    color: #f0ca45
}

#section-nav {
    width: 100%;
    table-layout: fixed;
    border: none;
}

table#section-nav tr:hover {
    opacity: 1
}

#section-nav td {
    /*min-width:250px;*/

    width: 20%;
    text-align: center;
    border: none;
}

#section-nav td:hover {
    opacity: 0.8;
}

#section-nav .btn-xl {
    padding: 10px;
    white-space: normal;
}

.modal-backdrop.in {
    opacity: .5;
}

.modal-dialog {
    background-color: white;
    border: 3px solid #35357a;
}

.modal-body::before {
    content: "";
    height: 3px;
    background: #f9f03c;
    width: 90%;
    left: 5%;
}

/*
.overlay-featured-marker.t1 {
  background-color: #251b67 !important;
}
.footer-widget a{color:#fff}
*/

.table-wrapper {
    overflow-x: scroll;
    width: 100%;
}

@media (max-width: 1200px) {
    #section-nav td {
        padding: 5px; /*	max-width:150px;*/

    }
}

@media (max-width: 768px) {
    /*.section-header, .bg-tech-key{

            height:200px;

        }*/
    #section-nav {
        /*max-width: 550px;*/

    }

    #section-nav td span {
        /*display:none;*/

        word-wrap: break-word;
        font-size: 14px;
        line-height: 0.8 !important;
    }

    #section-nav .btn-xl {
        padding: 5px;
        white-space: normal;
    }

    .section-space-both {
        padding-top: 20px;
        padding-bottom: 20px
    }

    .primary-menu .mega-link {
        font-size: 16px;
    }
}
