@import url(https://fonts.googleapis.com/css?family=Raleway:400,700,900);
@import url(https://fonts.googleapis.com/css?family=Lato:400,900);
@import url("prettyPhoto.css") screen;
@import url("hoverex-all.css") screen;

/*	################################################################
        1. GENERAL STRUCTURES
################################################################# */
* { 
    margin: 0;
    padding: 0px;
} 

body { 
    background: #ffffff; 
    margin: 0; 
    height: 100%; 
    color: #384452;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

p { 
    padding: 0; 
    margin-bottom: 12px; 
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px; 
    line-height: 24px;
    color: #384452; 
    margin-top: 10px; 
}

img {
    height: auto;
    max-width: 100%;
}

a { 
    padding: 0;
    margin: 0;
    text-decoration: none; 
    -webkit-transition: background-color .4s linear, color .4s linear;
    -moz-transition: background-color .4s linear, color .4s linear;
    -o-transition: background-color .4s linear, color .4s linear;
    -ms-transition: background-color .4s linear, color .4s linear;
    transition: background-color .4s linear, color .4s linear;
}
a:hover,
a:focus {
    text-decoration: none;
    color:#01b2fe;
}

::-moz-selection  {
    color: #fff;
    text-shadow:none;
    background:#2B2E31;
}
::selection {
    color: #fff;
    text-shadow:none;
    background:#2B2E31;
}

.centered {
    text-align: center
}

/*	################################################################
        BOOTSTRAP MODIFICATIONS & TWEAKS
################################################################# */
.navbar {
    min-height: 70px;
    padding-top: 10px;
    margin-bottom: 0px;
}

.navbar-brand {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
}

.navbar-header .navbar-brand {
    color: white;
}

.navbar-default .navbar-nav > li > a {
    color: white;
    font-weight: 700;
    font-size: 12px;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #00b3fe;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #00b3fe;
    background-color: transparent;
}

.navbar-default {
    background-color: #384452;
    border-color: transparent;
}

.dropdown-menu {
    background: #384452;
}

.dropdown-menu > li > a {
    color: white;
    font-weight: 700;
    font-size: 12px;
}

.btn-theme {
    color: #fff;
    background-color: #384452;
    border-color: #384452;
    margin: 4px;
}
.btn-theme:hover,
.btn-theme:focus,
.btn-theme:active,
.btn-theme.active,
.open .dropdown-toggle.btn-theme {
    color: #fff;
    background-color: #00b3fe;
    border-color: #00b3fe;
}

.dmbutton:hover,
.dmbutton:active,
.dmbutton:focus{
    color: #ffffff;
    background-color: #222222;
    border-color: #ffffff;
}
.dmbutton {
    background:rgba(0, 0, 0, 0);
    border: 1px solid #ffffff;
    color: #ffffff;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding-top: 1.025rem;
    padding-right: 2.25rem;
    letter-spacing:0.85px;
    padding-bottom: 1.0875rem;
    padding-left: 2.25rem;
    font-size: 1.55rem;
    cursor: pointer;
    font-weight: normal;
    line-height: normal;
    margin: 0 0 1.25rem;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    -webkit-transition: background-color 300ms ease-out;
    -moz-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;
    -webkit-appearance: none;
    font-weight: normal !important;
}

.mtb {
    margin-top: 80px;
    margin-bottom: 80px;
}

.mb {
    margin-bottom: 60px;
}

.mt {
    margin-top: 60px;
}

.hline {
    border-bottom: 2px solid #384452;
}

.hline-w {
    border-bottom: 2px solid #ffffff;
    margin-bottom: 25px;
}
/*	################################################################
        SITE WRAPS
################################################################# */

#headerwrap {
    background-color: #00b3fe;
    min-height: 550px;
    padding-top: 100px;
    padding-bottom: 0px;
    text-align: center;
}

#headerwrap h3, h5 {
    color: white;
    font-weight: 400;
}

#headerwrap h1 {
    color: white;
    margin-bottom: 25px;
}

#headerwrap .img-responsive {
    margin: 0 auto;
}

/* Services Wrap */
#service {
    margin-top: 100px;
    margin-bottom: 80px;
}

#service i {
    color: #00b3fe;
    font-size: 60px;
    padding: 15px;
}

/* Portfolio Wrap */
#portfoliowrap {
    padding-top: 60px;
    margin-bottom: 60px;
    display: block;
    text-align: center
}

#portfoliowrap h3 {
    margin-bottom: 25px;
}

.portfolio {
    padding:0 !important;
    margin:0 !important;
    display:block;
}


.portfolio-item .title:before {border-radius:0; display:none}
.portfolio-item p {margin:0px 0 30px;}
.portfolio-item h3 {margin:-10px 0 10px; font-size:16px; text-transform:uppercase;}


.tpl6 h3
{
    color:#fff;
    margin:0;
    padding:40px 5px 0;
    font-size:16px;
    text-transform:uppercase;
}
.tpl6 .dmbutton
{
    display:inline-block;
    margin:30px 5px 20px 5px;
    font-size:13px;
}

.tpl6 .bg
{
    height:100%;
    width:100%;
    background-color:#00b3fe;
    background-color:rgba(0,179,254,.9);
    text-align:center;
}

/* Testimonials Wrap */
#twrap {
    background: url(../img/t-back.jpg) no-repeat center top;
    margin-top: 0px;
    padding-top:60px;
    text-align:center;
    background-attachment: relative;
    background-position: center center;
    min-height: 450px;
    width: 100%;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#twrap i {
    font-size: 50px;
    color: white;
    margin-bottom: 25px;
}

#twrap p {
    color: white;
    font-size: 15px;
    line-height: 30px;
}

/* clients logo */
#cwrap {
    background: #f7f7f7;
    margin-top: 0px;
    padding-top: 80px;
    padding-bottom: 100px;
}

#cwrap h3 {
    margin-bottom: 60px;
}

/* Footer */
#footerwrap {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #384452;
}

#footerwrap p {
    color: #bfc9d3;
}

#footerwrap h4 {
    color: white;
}

#footerwrap i {
    font-size: 30px;
    color: #bfc9d3;
    padding-right: 25px;
}

#footerwrap i:hover {
    color: #00b3fe
}

/*	################################################################
        PAGE CONFIGURATIONS
################################################################# */
/* General Tweaks */

#blue {
    background: #00b3fe;
    margin-top: 60px;
    margin-bottom: 60px;
    padding-top: 25px;
    padding-bottom: 25px;
}

#blue h3 {
    color: white;
    margin-left: 15px;
}

.ctitle {
    color: #00b3fe;
    font-weight: 700;
    margin-bottom: 15px;
}

csmall {
    font-size: 12px;
    color: #b3b3b3;
}
csmall2 {
    font-size: 12px;
    color: #f39c12
}

.spacing {
    margin-top: 40px;
    margin-bottom: 40px;
}

.badge-theme {
    background: #00b3fe;
}

/* Contact Page */
#contactwrap {
    background: url(../img/contact.jpg) no-repeat center top;
    margin-top: -60px;
    padding-top:0px;
    text-align:center;
    background-attachment: relative;
    background-position: center center;
    min-height: 400px;
    width: 100%;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Blog Page */
.popular-posts { 
    margin: 0px;
    padding-left: 0px;
}

.popular-posts li {
    list-style: none; 
    margin-bottom: 20px; 
    min-height: 70px;
}
.popular-posts li a, 
.popular-posts li a:hover {
    color:#2f2f2f; 
    text-decoration: none;
}

.popular-posts li img {
    float: left; 
    margin-right: 20px;
}

.popular-posts li em {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: #b3b3b3
}

.popular-posts p {
    line-height: normal;
    margin-bottom: auto;
}	

.share i {
    padding-right: 15px;
    font-size: 18px;
}

/*	################################################################
        PERSONALIZZAZIONI
################################################################# */

/* Logo */
.logo {
    float: left;
    margin-left: 15px;
    max-height: 50px;
}

@media (min-width: 768px) {
    .logo {
        margin-left: 0;
    }
}

.logo-title {
    margin: 0;
    padding: 0;
}

.navbar > .container .logo-title .navbar-brand, .navbar > .container-fluid .logo-title .navbar-brand {
    margin-left: 0;
}

/* Cookie */
#tooltip-cookie {
    background-color: white;
    bottom: 0;
    -webkit-box-shadow: 5px 5px 5px 5px  rgba(0, 0, 0, 0.3);
    box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.3);
    color: black;
    position: fixed;
    width: 100%;
    z-index: 1500;
}

@media (min-width: 768px) {
    #tooltip-cookie {
        width: 30%;
    }
}


#tooltip-cookie p {
    float: left;
    line-height: 15px;
    margin: 5px;
    width: calc(90% - 10px);
}

#tooltip-cookie #set-cookie {
    float: right;
    margin: 5px;
    text-align: right;
    width: calc(10% - 10px);
}

#tooltip-cookie a {
    text-decoration: underline;
}

#tooltip-cookie a:hover, #tooltip-cookie a:focus {
    text-decoration: none;
}

/* Varie */
.cursor {
    cursor: pointer;
}

/* Colori */
.bg-ciano {
    background-color: #01b2fe; /* 384452 */
}

/* Bottoni */
.btn-file {
    overflow: hidden;
    position: relative;
}

.btn-facebook {
    background-color: #3e5b98;
    border: thin solid #3e5b98;
    color: white;
}

.btn-facebook:hover, .btn-facebook:focus {
    background-color: white;
    border: thin solid #3e5b98;
    color: #3e5b98;
}

.btn-twitter {
    background-color: #55acee;
    border: thin solid #55acee;
    color: #ffffff;
}

.btn-twitter:hover, .btn-twitter:focus {
    background-color: white;
    border: thin solid #55acee;
    color: #55acee;
}

/* Icone */
span.fa, span.socicon {
    display: inline-block;
    text-align: center;
    width: 20px;
}

.socicon {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: inline-block;
    height: 21px;
    margin-right: 5px;
    text-align: center;
    width: 21px;
}

.socicon-facebook-color {
    background-color: #3e5b98;
    color: #ffffff;
}

.socicon-twitter-color {
    background-color: transparent;
    color: #55acee;
}

.socicon-io-gioco-net {
    background-color: transparent;
    background-image: url('../images/distro/io-gioco-net.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

.socicon-giochi-uniti {
    background-color: transparent;/*#0066cc*/
    background-image: url('../images/distro/giochi-uniti.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

.socicon-asterion-press {
    background-color: transparent;/*#f2902e*/
    background-image: url('../images/distro/asterion-press.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

.socicon-dvgiochi {
    background-color: transparent;/*#f2902e*/
    background-image: url('../images/distro/dvgiochi.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

.socicon-lucca-comics-and-games {
    background-color: transparent;/*#f2902e*/
    background-image: url('../images/distro/lucca-comics-ang-games.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

.socicon-boardgames-league {
    background-color: transparent;/*#f2902e*/
    background-image: url('../images/distro/boardgame-league.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

.socicon-board-italian-gamers {
    background-color: transparent;/*#f2902e*/
    background-image: url('../images/distro/board-italian-gamers.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

/* Altezze */
.min-height {
    min-height: 350px;
}

/* Bordi */
.bb1 {
    border-bottom: 1px solid #01b2fe;
}

/* Margini */
.no-margin {
    margin: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.pt50 {
    padding-top: 50px;
}

.mtb15 {
    margin-bottom: 15px;
    margin-top: 15px;
}

.mb15 {
    margin-bottom: 15px;
}

.mt70 {
    margin-top: 70px;
}

.ptb20 {
    padding-bottom: 20px;
    padding-top: 20px;
}

.ptb30 {
    padding-bottom: 30px;
    padding-top: 30px;
}

/* Main Menu */
.main-menu li a {
    text-transform: uppercase;
}

/* Carousel */
.carousel-control:focus, .carousel-control:hover {
    color: #01b2fe;
    opacity: 0.9;
    outline: 0 none;
    text-decoration: none;
}

/* Portfolio */
.portfolio-item {
    cursor: pointer;
}

.portfolio-item.no-link {
    cursor: default;
}

.portfolio-item-centered {
    margin: 0 auto;
    position: relative !important;
}

.portfoliowrap {
    display: block;
    margin-bottom: 30px;
    padding-top: 30px;
    text-align: center;
}

/* Immagini */
.img-round {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    display: block;
    overflow: hidden;
}

.img-shadow {
    -webkit-box-shadow: 5px 5px 5px 5px  rgba(0, 0, 0, 0.3);
    box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.3);
}

.img-round-50 {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

#cover_preview {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border: thin solid #01b2fe;
    cursor: default;
    display: inline-block;
    height: 250px;
    margin: 15px 0;
    width: 250px;
}

.thumb {
    max-height: 70px;
    max-width: 70px;
}

/* twrap */
#twrap {
    background-image: url('../images/iscriviti.jpg');
}

/* homepage_events */
#homepage_events > h3 {
    text-align: center;
}

#homepageEventsCarousel {
    border-radius: 15px;
    overflow: hidden;
}

#homepageEventsCarousel .jumbotron {
    margin-bottom: 0;
}

#homepageEventsCarousel h2 {
    text-align: center;
}

/* Jumbotron */
.jumbotron {
    /*background: url('../images/stardust.jpg') bottom right no-repeat;
    background-size: cover;*/
    background-color: #d4edf8;
}

.jumbotron-shadow {
    -webkit-box-shadow: 5px 5px 5px 5px  rgba(0, 0, 0, 0.3);
    box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.3);
}

/* hline */
.hline.hline-transparent {
    border-bottom: 2px solid transparent;
}

/* Form */
.bootstrap-select {
    width: 100% !important;
}

.btn-file input[type="file"] {
    background: #ffffff none repeat scroll 0 0;
    cursor: inherit;
    display: block;
    font-size: 100px;
    min-height: 100%;
    min-width: 100%;
    opacity: 0;
    outline: 0 none;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
}

/* Mappe */
#search_map_small_container {
    background-color: #01b2fe;
    margin: 0;
    padding: 15px 0;
}

#search_map_small_container a, #search_map_small_container img {
    display: block;
    height: 100%;
    max-width: 100%;
    position: relative;
}

#search_map_small_container a icon {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
    color: #01b2fe;
    padding: 4px;
    position: absolute;
    right: 10px;
    top: 10px;
}

#search_map_big {
    height: 400px;
    width: 100%;
}

.leaflet-popup-content > div {
    text-align: center;
}

.leaflet-control icon {
    color: #01b2fe;
    margin: 3px auto;
}

.leaflet-popup-content > div > a {
    color: #01b2fe;
}

/* Calendario */
.tooltip-event {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 10px;
    -webkit-box-shadow: 5px 5px 5px 5px  rgba(0, 0, 0, 0.3);
    box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.3);
    max-width: 350px;
    min-height: 100px;
    min-width: 150px;
    position: absolute;
    z-index: 10001;
}

.tooltip-event p {
    font-weight: normal;
    margin: 5px;
    padding: 0;
    text-align: center;
}

.tooltip-event p.start_time {
    font-style: italic;
    text-align: right;
}

.tooltip-event p.place_name {
    text-align: justify;
}

.tooltip-event.tooltip-event-1 p.title {
    color: orange;
}

.tooltip-event.tooltip-event-2 p.title {
    color: #3e5b98;
}

.tooltip-event.tooltip-event-3 p.title {
    color: #0066cc;
}

.tooltip-event.tooltip-event-4 p.title {
    color: #f2902e;
}

.tooltip-event.tooltip-event-5 p.title {
    color: #dd0c13;
}

.tooltip-event.tooltip-event-6 p.title {
    color: #feed00;
}

.tooltip-event.tooltip-event-7 p.title {
    color: #da1b22;
}

.tooltip-event.tooltip-event-90 p.title {
    color: #da1b22;
}

.tooltip-event.tooltip-event-8 p.title {
    color: #ff9955;
}

.event-calendar.event-1 {
    background-color: #16a085;
    border: 1px solid orange;
    color: #ffffff;
}

.event-calendar.event-2 {
    background-color: #3e5b98;
    border: 1px solid #3e5b98;
    color: #ffffff;
}

.event-calendar.event-3 {
    background-color: #0066cc;
    border: 1px solid #0066cc;
    color: #ffffff;
}

.event-calendar.event-4 {
    background-color: #f2902e;
    border: 1px solid #f2902e;
    color: #ffffff;
}

.event-calendar.event-5 {
    background-color: #dd0c13;
    border: 1px solid #dd0c13;
    color: #ffffff;
}

.event-calendar.event-6 {
    background-color: #feed00;
    border: 1px solid #000000;
    color: #000000;
}

.event-calendar.event-7 {
    background-color: #18a187;
    border: 1px solid #da1b22;
    color: #fff;
}

.event-calendar.event-90 {
    background-color: #18a187;
    border: 1px solid #da1b22;
    color: #fff;
}

.event-calendar.event-8 {
    background-color: #5599ff;
    border: 1px solid #ff9955;
    color: #fff;
}

/* Social Share */
.social-share {
    height: 75px;
    text-align: center;
}

.social-share div {
    display: inline-block;
    height: 70px;
    width: 70px;
}

.social-share a {
    display: block;
    height: 60px;
    margin: 0 auto;
    -webkit-transition: height 0.75s, width 0.75s;
    transition: height 0.75s, width 0.75s;
    width: 60px;
}

.social-share a:hover, .social-share a:focus {
    height: 70px;
    width: 70px;
}

.social-share img {
    display: block;
    height: 100%;
    width: 100%;
}

/* DateTime Picker */
.bootstrap-datetimepicker-widget {
    background-color: white !important;
}
