/**
 * PANTONE 642 U - rgb(211, 224, 234); #d3e0ea
 */

/* Desktop and bigger */
/* Logo nel footer */
@media (min-width: 960px) {
    .remida-footer img{
        max-height: 150px;
    }
}

@media (min-width: 960px) {
    .remida-only-small {
        display: none;
    }
}

/* Logo nell'header appena in ingresso, desktop and bigger */
@media (min-width: 960px) {
    .uk-logo img {
        max-height: 130px;
        transition: max-height 1s;
        transition-timing-function: ease-in;
        margin-top: -65px;
    }

    .uk-navbar-sticky .uk-logo img {
        max-height: 70px;
        transition: max-height 1s;
        transition-timing-function: ease-out;
        margin-top: 0px;
    }

    #remida-calcolo-phone {
        display: none;
    }
}

/* Tablet landscape and smaller */
@media (max-width: 960px) {
    /* Barre introduttive color ocra, in verticale */
    .remida-sezione {
        margin-left: 0px;
    }

    .remida-sezione div:nth-of-type(2) {
        padding-left: 0px;
    }

    .remida-footer img {
        max-height: 150px;
    }

    .remida-sezione-heading {
        padding-left: 0px;
        /*padding-right: 0px;*/
        padding-bottom: 2em;
        border-bottom: 2px #89662a solid;
    }

    #remida-calcolo-phone.remida-calcolo-home {
        width: 100% !important;
        text-align: center;
        max-width: inherit;
    }

    #remida-calcolo-phone.remida-calcolo-home  a {
        max-width: 20em;
    }
}

@media (min-width: 960px) {
    .remida-sezione-heading {
        padding-right: 2em;
        border-right: 2px #89662a solid;
    }
}

.uk-navbar-container {
    border-bottom: 1px #89662a solid;
}


/** Toolbar social */
.tm-toolbar {
    background: white;
    border-bottom: 1px solid #89662a;
    padding-top: 12px;
}

.tm-toolbar .uk-icon-button {
    color: #89662a;
    background-color: rgba(170, 132, 71 , 0.5);
}

.tm-toolbar .uk-icon-button:hover {
    border: 1px solid #89662a;
    color: #89662a;
}

/* Menu voci uguali */
.tm-header .uk-navbar-nav>li {
    max-width: 8em;
    white-space: nowrap;
}

.wk-modal-caption {
    color: black !important;
    background: white;
    text-align: center;
    overflow: visible !important;
    white-space: pre-wrap !important;
    overflow-wrap: break-word !important;
    bottom: inherit !important;
}

.wk-slidenav {
    color: rgba(50,50,50,.4) !important;
}

.wk-popover-toggle.wk-icon-button {
    height: 70px;
    width: 70px;
    line-height: 70px;
    font-size: 3em;
    background-color: #89662a;
    color: white;
}

.uk-heading-primary {
    /*text-decoration: underline;*/
}

.uk-h2.uk-heading-primary + div.uk-margin,
h2.uk-heading-primary + h3:not(.uk-button) {
    font-style: italic;
    font-weight: bold;
    font-size: 18px;
}

/*
#tm-main li.uk-active:not(.uk-parent) {
    display: none;
}*/

.tm-toolbar {
    background-color: #f7f7fa;/*rgba(211, 224, 234, 0.3);*/
}

.remida-bottone-evidenza {
    background-color: #d3e0ea;
    color: white;
}

.remida-redazione a {
    color: #bfa279;
}

.remida-footer {
    font-size: 0.7em;
}

.remida-sidebar-in-article .uk-active {
    font-weight: bold;
}

.tm-header nav h1 {
    padding: 0px;
    margin: 0px;
}

.remida-calcolo {
    color: white !important;
    background-color: #89662a;
    max-width: 20em;
    line-height: 18px;
}

.remida-calcolo-home {
    max-width: 13em;
}

.remida-calcolo-home .uk-button {
    line-height: 18px !important;
}

.remida-calcolo-home .uk-h6 {
    color: white;
}

.remida-calcolo:hover,
.remida-calcolo:hover .uk-h6,
.remida-calcolo-home:hover .uk-h6 {
    background-color: white !important;
    color: #89662a !important;
    /*font-weight: bold;
    /*transition: 1s;
    transition-timing-function: ease-out;*/
}
.uk-pagination {
    padding-left: 10em;
    padding-right: 10em;
}

.remida-home-slider .wk-slidenav-position .wk-slidenav-previous {
    left: -50px;
}

.remida-home-slider .wk-slidenav-position .wk-slidenav-next {
    right: -50px;
}

.wk-slidenav.wk-slidenav-contrast {
    color: #fafafa !important;
}

.uk-offcanvas-bar ul.uk-nav > li > a {
    color: #FFF !important;
}

h1.remida-corona,
.remida-corona div.uk-button,
.remida-corona a {
    color: #968660 !important;
}

div.uk-padding-remida {
    padding: 20px !important;
}

.uk-convegno-15px {
    font-size: 15px;
}

/* Notifiche eventi in arrivo */
[class*="notice-cnt-"] > a:after {
  background-color: #89662a;
  color: white;
  font-size: 0.9em;
  padding: 0.2em 0.6em;
  margin-left: 0.2em;
  margin-top: -1.5em;
  border-radius : 100%;
  vertical-align: super;
}

.notice-cnt-1 > a:after {
  content : "1";
}

.notice-cnt-2 > a:after {
  content : "2";
}

.notice-cnt-3 > a:after {
  content : "3";
}

.notice-cnt-4 > a:after {
  content : "4";
}

.notice-cnt-5 > a:after {
  content : "5";
}

.notice-cnt-6 > a:after {
  content : "6";
}


/** Slider convegni */
.slider-convegni-home p,
.slider-convegni-home a {
  text-align: justify !important;
  font-size: 12px;
  font-family: Poppins;
  letter-spacing: 1.5px;
}

.slider-convegni-home ul li p:first-child,
.slider-convegni-home ul li p:nth-child(8) {
   display: none;
}

.slider-convegni-home a:not(.wk-button) {
  font-size: 1.1em;
  color: #89662a;
  font-weight: bold;
}

.slider-convegni-home a.wk-button {
  font-size: 1.1em;
  background-color: #89662a;
  color: white;
  font-weight: normal;
}

.tm-header .uk-navbar-dropdown {
  box-shadow: none;
  border-bottom: 1px solid #89662a;
  border-right: 1px solid #89662a;
  border-left: 1px solid #89662a;
}

.tm-header .uk-navbar-dropdown-nav > li > a:hover {
  background-color: #89662a;
  color: white;
}