/*
Theme Name:   te-wp child theme
Description:  Write here a brief description about your child-theme
Author:       admin
Author URL:   Write here the author's blog or website url
Template:     te-wp
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  te-wp-child
*/

/* Write here your own personal stylesheet */
.navbar-start ul,
#subMenu ul {
    display: inherit !important;
}

.navbar-start .sub-menu {
    display: none !important;
}


/* 30 december 2019 */
.news-abstract h2.is-size-4 {
    font-size: 20px !important;
    line-height: 1.2;
    font-weight: 700;
}

h2.is-size-5 {
    font-size: 18px !important;
    line-height: 1.0 ;
    font-weight: 700;
}

.news-page h1.is-size-3 {
    font-size: 2.2rem !important;
    line-height: 1.2;
    padding-bottom: 1rem;
}

.news-page .box.is-borderless.is-shadowless.is-the-post-content {
    font-size: 16px !important;
}

.news-page .box.is-borderless.is-shadowless.is-the-post-content p {
    padding: 8px 0 !important;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 1.25rem;
}

.post-date,
.post-author {}

.is-the-post-title {
    font-weight: 700;
}

.is-the-post-content {}

.social-links {
    padding: 0.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
}

.social-links ul {
    display: flex;
    justify-content: flex-start;
}

.social-links ul:last-child {
    justify-content: flex-end;
}

.social-links ul li {
    margin-right: 12px;
}

.sponsor-label {
    padding: 8px 16px;
    display: inline-block;
    background-color: rgb(100, 149, 237);
    color: rgb(255, 255, 255);
}

body header {
    margin-bottom: 2px !important;
    padding-bottom: 0 !important;
}

header>.level {
    align-items: baseline;
}

.small-carousel-container.normal-margin {
    margin: 16px 0 16px 16px;
}

.small-carousel-title {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    margin-top: 8px;
    border-bottom: 1px solid rgba(204, 204, 204, 0.5);
    padding-bottom: 4px;
}

.small-carousel-container .small-carousel .item {
    min-height: 120px;
    background-color: #eee;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
}

body main.section>.columns {
    margin-bottom: 16px;
}

body main.section>.columns.remove-margin-top {
    margin-top: 0;
}

.has-news-boxes.box {
    height: 160px;
    box-shadow: none;
}

.has-news-boxes .box .has-news-boxes_item {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.has-news-boxes .box .has-news-boxes_item>div {
    font-weight: 700;
    line-height: 1.2;
    font-size: 0.95rem !important;
}

.has-news-boxes .box .has-news-boxes_item .has-news-boxes_overlay {
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: top ease 0.2s;
    font-size: 0.9rem !important;
}

.has-news-boxes .box .has-news-boxes_item:hover .has-news-boxes_overlay {
    position: absolute;
    top: 0;
}

.single-image-1 {
    padding: 0 16px;
}

.single-image-2 {
    float: left;
    padding: 20px 16px 16px 16px;
}

body header .navbar-menu,
body header nav a.navbar-item {
    background-color: #333;
    color: #fff;
    height: 100%;
    transition: background ease 0.2;
}

body header .navbar-menu {
    background: #666;
    color: #fff;
    background: #333333;
    /* Old browsers */
    background: -moz-linear-gradient(top, #333333 0%, #686060 52%, #635a5a 54%, #7c7070 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #333333 0%, #686060 52%, #635a5a 54%, #7c7070 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #333333 0%, #686060 52%, #635a5a 54%, #7c7070 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#7c7070', GradientType=0);
    /* IE6-9 */

}

.navbar-start li:first-child a.navbar-item {
    background: rgb(1, 0, 154);

    background: #7db9e8;
    /* Old browsers */
    background: -moz-linear-gradient(top, #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

.navbar-start a.navbar-item:hover {
    background: #666;
    color: #fff;
    background: #45484d;
    /* Old browsers */
    background: -moz-linear-gradient(top, #45484d 0%, #3d3737 46%, #494343 48%, #000000 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #45484d 0%, #3d3737 46%, #494343 48%, #000000 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #45484d 0%, #3d3737 46%, #494343 48%, #000000 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#45484d', endColorstr='#000000', GradientType=0);
    /* IE6-9 */
}

.navbar-start a.navbar-item {
    background: #666;
    color: #fff;
    background: #333333;
    /* Old browsers */
    background: -moz-linear-gradient(top, #333333 0%, #686060 52%, #635a5a 54%, #7c7070 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #333333 0%, #686060 52%, #635a5a 54%, #7c7070 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #333333 0%, #686060 52%, #635a5a 54%, #7c7070 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#7c7070', GradientType=0);
    /* IE6-9 */

}

.navbar-start li:first-child a.navbar-item:hover {
    background: rgb(204, 0, 0);
    color: #fff;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f85032+0,f16f5c+50,f6290c+51,f02f17+71,e73827+100;Red+Gloss+%231 */
    background: #f85032;
    /* Old browsers */
    background: -moz-linear-gradient(top, #f85032 0%, #f16f5c 50%, #f6290c 51%, #f02f17 71%, #e73827 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #f85032 0%, #f16f5c 50%, #f6290c 51%, #f02f17 71%, #e73827 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #f85032 0%, #f16f5c 50%, #f6290c 51%, #f02f17 71%, #e73827 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f85032', endColorstr='#e73827', GradientType=0);
    /* IE6-9 */

}

.sign-in-container .button,
.sign-in-container a.button,
.sign-in-container button.button,
.search-container .button,
.search-container a.button,
.search-container button.button {
    _background-color: rgba(1, 0, 154, 0.8);
    transition: background-color ease 0.2;
    color: #fff;
    background: rgb(1, 0, 154);

    background: #7db9e8;
    /* Old browsers */
    background: -moz-linear-gradient(top, #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */


}


.button:hover {
    background-color: rgba(1, 0, 154, 0.6);
    color: #fff;
}

.widget-title {
    font-weight: 500;
    padding: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.widget-post-recenti-list {
    padding: 8px;
}

/**/
.has-news-boxes .box {
    position: relative;
    padding: 0rem;
    border-radius: 0;
    overflow: hidden;
}

.has-news-boxes .box .has-news-boxes_item>div {
    font-weight: 500;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 40px;
    color: rgb(255, 255, 255);
    background: rgb(51, 51, 51);
    opacity: 0.8;
    padding: 8px;
}

.has-news-boxes .box .has-news-boxes_item .has-news-boxes_overlay {
    padding: 8px;
}

body header nav a.navbar-item,
body header .searchbar a.navbar-item {
    font-weight: 500;
}

body header nav .menu-item {
    border-right: 1px solid #fff;
}

body header nav .menu-item:last-child {
    border-right: 0 none;
}

.like-a-button-container {
    justify-content: space-around;
}
.like-a-button a{
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius:  4px;
}

.news-arrows-box {
    width: 50%;
    margin: auto;
    font-weight: 700;
    font-size: 1.1rem;
}
.news-arrows-box .page-numbers{}
.news-arrows-box .prev{}
.news-arrows-box .next{}
.news-arrows-box .current{}

.column.is-narrow.is-side-column.x240 {}
.column.is-narrow.is-side-column.x240 .widget-title,
.column.is-narrow.is-side-column.x250 .widget-title,
.column.is-narrow.is-side-column .widget-title {
    font-weight: 500;
    padding: 8px 0 0 8px;
    margin-bottom: 0 /*8px*/;
    border-bottom: 0 none/*1px solid rgba(0, 0, 0, 0.125)*/;
}
.column.is-narrow.is-side-column.x240 .rpwe-block,
.column.is-narrow.is-side-column.x250 .rpwe-block,
.column.is-narrow.is-side-column .rpwe-block {
    background-color: rgb(255, 255, 255);
    border-radius: 6px;
    -webkit-box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
    box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
    color: rgb(74, 74, 74);
    display: block;
    padding: 4px;
    width: 99%;
}
.column.is-narrow.is-side-column.x240 .rpwe-ul,
.column.is-narrow.is-side-column.x250 .rpwe-ul,
.column.is-narrow.is-side-column .rpwe-ul {
    border: 0 none !important;
}
.column.is-narrow.is-side-column.x240 .rpwe-ul .rpwe-li{}

.column.is-narrow.is-side-column.x240 .rpwe-block h3,
.column.is-narrow.is-side-column.x250 .rpwe-block h3,
.column.is-narrow.is-side-column .rpwe-block h3 {
    line-height: 1.25;
}



.last-news-box {
    background-color: rgb(51, 51, 51);
    color: rgb(255, 255, 255);
    border-radius: 0;
    padding: 8px;
    _min-height: 120px;
}

.last-news-box h2 {
    font-weight:500;
}

@media (max-width: 768px){
    main.section > .columns:last-child {
        display: flex;
        flex-direction: column;
    }
    .bottom-sidebar{
        flex-direction: column;
        padding: 8px;
    }
    main.section > .columns:last-child .is-hor-paddingless{
        order: 0;
    }
    main.section > .columns:last-child .is-side-column {
        order: 1;
        margin: 16px auto;
    }
    main.section > .columns:last-child .is-side-column:last-child; {
        order: 2;
    }
    .has-news-boxes {
        display: flex;
        flex-wrap: wrap;
    }
    .small-carousel-container {
        width: 100%;
    }
    .small-carousel-container.normal-margin {
        margin: 0;
    }
    .has-news-boxes .box .has-news-boxes_item {
        margin: auto;
    }
}

@media (max-width: 460px) {
    .two-cols-news ul li.news-abstract{
        width: 100%;
    }
}

.has-news-boxes.is-hidden-tablet{
    margin-bottom: 32px;
}

.has-news-boxes.is-hidden-tablet .icon{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    left: 10px;
    cursor: pointer;
}
.has-news-boxes.is-hidden-tablet .icon:last-child {
    right: 10px;
    left: auto;
}
