/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */


p {
    margin:0 0 6px 0 !important;
}

em {
    color: inherit;
}

h1.uk-article-title a {
    color: #1fa2d6;
}

h6 {
    margin-top: 10px;
}

main#tm-content.tm-content article.uk-article ul  li, dt, dd {
    line-height: 1.4em;
    margin-bottom: 6px;
}


/* dimensione titolo articolo */

.uk-article-title {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.2em;
    text-transform: none;
}


p.uk-article-meta {
    text-transform: uppercase;
    margin-bottom: 16px !important;
    margin-top: -16px !important;
}

/* posizione logo */

div.tm-headerbar {
    margin-top: 20px;
}
html.uk-notouch body.tm-isblog div.uk-container.uk-container-center div.tm-headerbar.uk-clearfix.uk-hidden-small {
    margin-top: 16px;
    margin-bottom: -20px;
}


/* navbar fissa sotto "medium breakpoint" */

@media only screen and (max-width: 767px) {

    body div.uk-container.uk-container-center nav.tm-navbar.uk-navbar {
        position: fixed;
        top:0;
        width: 100%;
        z-index: 1;
    }
    body {
        padding-top:50px;
    }
}


/* display none sotto "medium breakpoint" */

@media only screen and (max-width: 767px) {

    .cv-hidden-small {
        display: none;
    }
}


/* overlay slideshow (didascalia interna) */

.uk-overlay-panel {
    padding: 6px 10px;
}

@media only screen and (max-width: 767px) {
    .uk-overlay-panel {
        visibility: hidden;
    }
}   


/* navbar */


.uk-navbar-nav > li > a {
    padding: 0 7px;
}

/* icon box */

.personal-icon {
    font-size: 32px;
    margin:0 0 10px 0;
}

.cv-margin-0 {
    margin:0;
}



/* embed responsive */

.embed-responsive {
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}
.embed-responsive::before {
    content: "";
    display: block;
}
.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
    border: 0 none;
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.embed-responsive-21by9::before {
    padding-top: 42.8571%;
}
.embed-responsive-16by9::before {
    padding-top: 56.25%;
}
.embed-responsive-4by3::before {
    padding-top: 75%;
}
.embed-responsive-1by1::before {
    padding-top: 100%;
}

.embed-responsive-210by297 {
  padding-bottom: 150%;
}



/* embed googleCalendar responsivelly */

.googleCalendar {
  position: relative;
  height: 0;
  width: 100%;
  padding-bottom: 100% ;
}

.googleCalendar iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



