/*
 Theme Name:   allcards
 Theme URI:    http://www.all-cards.net/
 Author:       Andrea Lughi
 Author URI:   http://www.all-cards.net/
 Template:     newspaper-x
 Version:      1.0
*/
mark, ins {
    background: none;
    }
button:focus,
a:focus, a:active,
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
    outline: none !important;
}
a:hover, a:focus, a:active {
    text-decoration: none;
}
select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}
select:focus::-ms-value {
    background-color: $input-bg;
    color: $input-color;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    color: #666;
    border: 1px solid #e1e1e1;
    font-size: 15px;
    background: #FFEB94;
}
body, p, article.post p {
    font-size: 18px;
    color: #666E70;
}
input[type="submit"].wpcf7-submit {
    transition: all 0.1s;
    -webkit-transition: all 0.1s;
    position: relative;
    padding: 10px 40px;
    margin: 0px 10px 10px 0px;
    float: left;
    border-radius: 10px;
    font-size: 20px;
    color: #FFF;
    text-decoration: none;
    background-color: #1160BB;
    border-bottom: 5px solid #0a396d;
    text-shadow: 0px -2px #0a396d;
 }
input[type="submit"].wpcf7-submit:active {
    transform: translate(0px,5px);
    -webkit-transform: translate(0px,5px);
    border-bottom: 1px solid;
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
.displaynone  {
    display:none;
}
.main-navigation ul {
    background: #ffd201;
}

#site-navigation .menu .current_page_item, .sub-menu li {
    border-top: 2px solid #FFAC05;
}
#site-navigation .menu > li.menu-item-has-children > ul li:hover {
    color: #FFF;
    background-color: #0e649b;
}
.newspaper-x-content .titolo-index  {
    margin-top: 0;
    padding-top: 8px;
}
.newspaper-x-content .titolo-index span {
    font-size: 36px;
    font-weight: 900;
}
.side-index  {
    background-color: #F0F0F0;
    padding-bottom:20px;
    padding-top:1px;
}

.phonecardshop {
    padding:20px;
    text-align:center;
    background:#002163;
    color:#fff;
    font-size:24px;
}
#secondary {
    background: #F0F0F0;
    padding-top:20px;
    padding-bottom:20px;
    margin-top: 0px;
}
.widget-title-styled, .newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text) > h3, .newspaper-x-blog-sidebar .widget_newspaper_x_recent > h3, .newspaper-x-sidebar .widget_newspaper_x_recent > h3, .widget-title {
    color: #1160BB;
    padding: 0;
    display: block;
    text-transform: uppercase;
    font-family: "Nunito Sans", sans-serif;
    font-size: 20px;
    font-weight: 900;
    margin-top: 5px;
    margin-bottom: 10px;
    position: relative;
    border-left: 5px solid #ffd201;
    padding-left: 10px;
}
 .widget-title-styled, .newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text) > h3 a, .newspaper-x-blog-sidebar .widget_newspaper_x_recent > h3 a, .newspaper-x-sidebar .widget_newspaper_x_recent > h3 a {
    color: #1160BB;
    padding: 0;
    display: block;
    text-transform: uppercase;
    font-family: "Nunito Sans", sans-serif;
    font-size: 20px;
    font-weight: 900;
    margin-top: 5px;
    margin-bottom: 10px;
    position: relative;
}
.newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text).widget_recent_entries ul li {
    margin-bottom: 5px;
    font-family: "Nunito Sans", sans-serif;
}
.newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text).widget_recent_entries ul li a {
    display:block;
    background:#F0F0F0;
    color:#1160bb;
    padding-left: 10px;
}
.newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text).widget_categories > ul, .newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text).widget_archive > ul {
    padding-left: 15px;
}
.newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text) > ul, .newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text) > ol {
    padding: 0px 0px 30px 5px;
}
.newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text).widget_categories > ul > li, .newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text).widget_archive > ul > li {
    padding-bottom: 0px;
    margin-bottom: 0px;
    border-bottom: 1px dotted #969696;
}
.newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text).widget_categories > ul > li:hover, .newspaper-x-blog-sidebar .widget:not(.widget_search):not(.widget_newspaper_x_banner):not(.widget_text).widget_archive > ul > li:hover {
    background: #fff;
}
.archive .newspaper-x-blog-sidebar, .category .newspaper-x-blog-sidebar, .search-results .newspaper-x-blog-sidebar, .blog .newspaper-x-blog-sidebar {
    margin-top: 0px;
}
.newspaper-x-blog-sidebar, .newspaper-x-sidebar {
        margin-top: 0px;
}
.top-header {
    background: #0a396d;
    color: #fff;
}
.top-header .toplang a {
    padding: 5px 0 0 0 !important;
}
.top-header #searchform.search-right {
    float: none !important;
}
.top-header #searchform {
    width: 260px;
    border-bottom: 0;
}
.top-header #searchform input[type="search"] {
    background: #1160BB;
    max-width: 215px;
}
.top-header #searchform .search-submit {
    left: -7px;
    margin-top: 4px;
}
#searchform {
    width: auto;
}
#searchform .search-submit {
font-size: 18px;
padding: 2px 12px;
color: #ffd201;
}
.newspaper-x-news-ticker .newspaper-x-module-title {
    background: #1160BB;
    color: #fff;
}
.newspaper-x-news-ticker .owl-carousel {
   top: -3px;
   left: -60px;

}
.top-header ul li a:hover, .top-header ul li a:focus {
    color: #52B3EF;
}
.main-navigation {
    background: #ffd201;
    border-top: 0;
    border-bottom: 0;
}
.main-navigation ul {
    background: #ffd201;
}
#site-navigation .menu > li.menu-item-has-children > ul li:hover {
    color: #1160BB;
    background-color: #FFEB94;
}
#site-navigation .menu > li.menu-item-has-children > ul li:hover > a, #site-navigation .menu > li.menu-item-has-children > ul li:hover::after {
    color: #1160BB;
}
#site-navigation .menu {
    padding-bottom: 0;
}
#site-navigation .menu > li {
    margin:0;
    padding: 0 10px;
}
#site-navigation .menu > li.current-menu-item, #site-navigation .menu > li:hover {
    border-top: 0;
    margin-top: 0;
    top: 0;
    background: #FFEB94;
    padding: 0 10px;
}
#site-navigation a {
    font-size: 18px;
    color: #1160BB;
    font-weight: 500;
}
.menu-toggle {
    width: 42px;
    color: #1160BB;
    border-color: #1160BB;
    font-size: 26px;
}
.section-title > span, .page-title > span, .newspaper-x-content .widget-title > span, .newspaper-x-after-content-sidebar .widget-title > span, #comments > h3:first-of-type > span, #reply-title > span, .newspaper-x-related-posts .newspaper-x-related-posts-title > h3 > span, .single-post .entry-title, .page .entry-title {
    background-color: transparent;
    padding-left: 0;
    color: #1160BB;
}
.section-title, .page-title, .newspaper-x-content .widget-title, .newspaper-x-after-content-sidebar .widget-title, #comments > h3:first-of-type, #reply-title, .newspaper-x-related-posts .newspaper-x-related-posts-title > h3, .single-post .entry-title, .page .entry-title {
    border-left: 5px solid #ffd201;
    padding-left: 10px;
}
.section-title::after, .page-title::after, .newspaper-x-content .widget-title::after, .newspaper-x-after-content-sidebar .widget-title::after, #comments > h3:first-of-type::after, #reply-title::after, .newspaper-x-related-posts .newspaper-x-related-posts-title > h3::after {
    border-bottom: none;
}
h2.widgettitle, h2.widgettitle a  {
    font-family: "Nunito Sans", sans-serif;
    color: #1160BB;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

h2.widgettitle {
    border-left: 5px solid #ffd201;
    padding-left: 10px;
}
.newspaper-x-content .widget-title > span a {
    color: #1160BB;
    font-weight: 900;
}
.newspaper-x-content .widget-title > span a:hover {
    color: #3d7ec8;
}
.menu-paesi-container, .menu-countries-container  {
    margin-bottom: 80px !important;;
}
ul#menu-paesi, ul#menu-countries {
    margin: 10px 0 60px 0;
    list-style: none;
    padding:10px;
    background:#F0F0F0;
    overflow:auto;
    text-align: center;
}
ul#menu-paesi li, ul#menu-countries li{
    float: none;
    display: inline-block;
    padding: 3px 10px !important;
    line-height: 25px;
    font-weight: 400;
    background: #0a396d;
    margin:3px 0 3px 2px;
}
ul#menu-paesi li:hover, ul#menu-countries li:hover {
    background: #0e649b;
}
ul#menu-paesi li a, ul#menu-countries li a {
    color: #fff;
    font-size: 13px;
    font-family: "Nunito Sans", sans-serif;
}
.vedi_tutti {
    clear:both;
    margin:0 0 80px 0;
    background: #f0f0f0;
    text-align:right;
}

.vedi_tutti span {
    padding: 5px 15px;
    line-height: 25px;
    font-weight: 400;
    background: #0a396d;
    margin-right:20px;
}
.vedi_tutti span:hover {
    background: #0e649b;
}
.vedi_tutti span a {
    color: #fff;
    font-size: 16px;
    font-family: "Nunito Sans", sans-serif;
}
.vedi_tutti span a:after {
            content: "\f105";
            font-family: "FontAwesome";
            font-size: 20px;
            display: inline-block;
            padding-left: 5px;
 }

.arpw-random-post {
    overflow:hidden;
    margin:10px 0;
}

#Prima_pagina_main ul {
    margin-bottom: 0px !important;
    margin-top: 0px!important;
}



#Prima_pagina_main .arpw-ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align:center;
}
#Prima_pagina_main .arpw-li {
    float:left;
    max-width:170px;
    padding:10px 0 !important;
    margin:0;
    text-align:center;
    margin-bottom: 0!important;
    margin-top: 0!important;
    transition: all .2s ease-in-out;

}

#Prima_pagina_main .arpw-li img {
    background:#fff !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    background:#fff !important;
    border: 1px solid #ddd !important;
    margin-bottom: 5px !important;
    float: none !important;
    padding:10px;

}
#Prima_pagina_main .arpw-li:hover {
   opacity: 0.7; transform: scale(1.05);
}

a.arpw-title   {
    font-size: 15px;
    line-height: 18px;
    display: block;
    color: #1160BB;
    font-weight: 500;
}

a.arpw-title:hover   {
    color: #52B3EF;
}
.arpw-summary   {
    font-size: 14px;
    font-family: sans-serif;
    color: #666E70;
    line-height: 16px;
    margin-top: 8px;
}
.side-index .arpw-li, .newspaper-x-blog-sidebar .arpw-li  {
    float:none;
    display:inline-block;
    max-width:100%;
    padding:10px;
    background:#fff;
    margin-top: 0;
    border:1px solid #DEDEDE;
}
.side-index a.arpw-title, .newspaper-x-blog-sidebar a.arpw-title   {
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    padding: 0 10px 10px 10px;
}
.newspaper-x-date, .single-post .newspaper-x-tags, .newspaper-x-next-prev {
    display:none;
}
.single-post .entry-content p:first-of-type, .page .entry-content p:first-of-type {
    color: #666E70;
    border-bottom: none;
    padding-bottom: 0px;
}
.entry-content p {
    overflow: visible;
}
.newspaper-x-archive-first-posts .newspaper-x-post-meta, .newspaper-x-archive-page .newspaper-x-post-meta {
    margin-top: 0;
}
div.wp_rp_content {
    text-align: center;
    width:100%;
}

#searchform > label > input[type="search"] {
    width: 385px;
}
ul.search-results, .prime_emissioni ul {
    list-style: none;
    padding: 0;
}
ul.search-results h3 {
    padding-left: 1.3em;
}
ul.search-results h3:before {
    content: "\f15c"; /* FontAwesome Unicode */
    font-family: FontAwesome;
    display: inline-block;
    margin-left: -1.3em; /* same as padding-left set on li */
    width: 1.3em; /* same as padding-left set on li */
        color: white;
    text-shadow: -1px 0 #666E70, 0 1px #666E70, 1px 0 #666E70, 0 -1px #666E70;
}
.archive .entry-title {
    margin-top: 0;
    margin-bottom: 0;
}
.archivepost {
   padding-bottom: 20px;
}
.post_sep {
    clear:both;
    border-top:1px dotted #666666;
    padding-bottom: 20px;
    margin-right:30px;
}
.page-content, .entry-content, .entry-summary {
    margin: 0;
}
.wp-caption-text {
    font-size: 15px;
    text-align: center;
}
.wp-caption {
   margin-bottom: 0;
    border: 1px solid #CCCCCC;
    padding: 10px;
}
.back-to-top-area a {
    background: #1160bb;
}
.back-to-top-area i {
    padding-left: 0;
}
.site-info {
    padding-bottom: 60px;
}
.site-info a:hover {
    color:#ffd201;
}
.copy-allcards, .copy-allcards a {
    font-size:12px;
}

.lcp_catlist li  {
    display:block;
    padding: 2px 0 2px 10px;
}
.lcp_catlist li:hover, .srpw-li {
    background: #fff !important;
}
.srpw-li a {
    display:block;
}
.srpw-alignleft {
    margin-right: 10px;
    padding: 2px 0 2px 10px;
}
.srpw-title {
line-height: 18px;
display: block;
padding-top: 4px;
font-size: 16px;
}
.srpw-summary {
    padding-top: 0;
}
.srpw-summary p {
    font-size: 14px;
    line-height: 14px;
}
#Prima_pagina_sidebar .srpw-li {
    margin-top: 10px !important;
    margin-bottom: 0px !important;
    padding: 10px 0 !important;
}
#Prima_pagina_sidebar .srpw-thumbnail{
    height: 100px;
    width:100px;
}
#Prima_pagina_sidebar .srpw-li:first-child .srpw-thumbnail {
       height: auto;
    width:100%;
}
#Prima_pagina_sidebar .srpw-li:first-child .srpw-alignleft {
    display:block;
    float:none;
    margin-right:5px;
}
#Prima_pagina_sidebar .srpw-li .srpw-content {
padding: 0 10px;
}
#Prima_pagina_sidebar .srpw-li:first-child .srpw-title {
    line-height: 18px;
    font-size: 18px;
    font-weight:700;
}
#Prima_pagina_sidebar .srpw-li:first-child .srpw-summary p {
    font-size: 16px;
    line-height: 16px;
}
.srpw-li .srpw-more-link {
    display: inline-block;
    margin-top: 5px;
    background: #ffd201;
    padding:0 5px;
    font-size: 14px;
    float:right;
}
.lcp_catlist li div h3, .lcp_catlist li div span {
    margin:0;
}
.lcp_catlist li div h3 a, .lcp_catlist li div span a {
    display:block;
    color:#1160bb;
    margin:0;
    padding:0;
}
.lcp_catlist li div img {
    margin-right:5px;
    float:left;
    margin-bottom:2px;
}
.gallery {
    text-align: center;
}
.gallery-item {
    padding: 10px;
}

#customers {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#customers td, #customers th {
    border: 1px solid #ddd;
    padding: 8px;
}

#customers tr:nth-child(even){background-color: #f2f2f2;}

#customers tr:hover {background-color: #ddd;}

#customers th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #4CAF50;
    color: white;
}

#mysticky-nav .myfixed ul ul a {
    color: #1160bb;
}
.relpost-block-single:hover {
    background-color: none !important;
}
.relpost-block-single-image {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.relpost-block-single-image:hover {
    opacity: .5;
}
.widgets_on_page > ul, .widgets_on_page > ul li {
    padding: 0;
    margin:0;
    margin-bottom: 20px;
    margin-top: 10px;
}

.widget_widget_crp   {
    padding-top:20px;
}
.crp_related_widget  {
    display: inline-block !important;
    text-align: center;
    width: 100%;
}

.crp_related_widget ul  {
    list-style: none;
    display: inline-block !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.crp_related_widget ul li {
    position: relative !important;
    display: inline-block !important;
    vertical-align: top !important;
    zoom: 1 !important;
    *display: inline !important;
    background: none !important;
    width: 120px !important;
    min-height: 175px !important;
    margin: 0px !important;
    padding: 5px !important;
}
.crp_related_widget ul li:hover {

   background: #dde !important;

}
.crp_related_widget ul li a {

    position: relative !important;
    display: block !important;
    font-size: 12px !important;
    text-decoration: none !important;
    margin-bottom: 5px !important;
    text-indent: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0px !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-weight: normal !important;
    line-height: normal !important;
    font-family: arial !important;
    color: rgb(68, 68, 68) !important;

}

.crp_related_widget ul li img {

    display: block !important;
    width: 100px !important;
    height: 100px !important;
    max-width: 100% !important;
    background:#fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: 1px solid #ddd !important;
    margin: 5px !important;
    float: none !important;
    padding:10px;
}
.button {
    padding:5px 20px;
    font-size: 17px !important;

}
#mysticky-nav .myfixed li ul li.current-menu-item {
    background: #FFEB94 !important;
}
.duecol  {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
}
.duecol a {
    display:block;
}
.duecol img {
    margin-bottom: 2px;
}
.duecol ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.duecol li {
    -webkit-column-span: none; /* Chrome, Safari, Opera */
    column-span: none;
    background: #f0f0f0;
    padding: 5px 10px;
    margin-bottom: 2px;
}
.duecol li:hover {
    background: #D1E8FF;
}
.map-section{
    overflow:hidden;
    padding-bottom:70%;
    position:relative;
    height:0;
    margin-top:40px;
}
.map-section iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.wp-paginate {
    margin: 0 15px!important;
    margin-bottom:30px!important;
}

@media (min-width: 1401px) {
.back-to-top-area a {
        font-size: 36px;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.gallery-columns-4 .gallery-item {
    max-width: 50%;
}
.gallery-item {
    padding: 5px;
    padding-bottom: 20px;
}
    .phonecardshop {
    padding:10px;
    font-size:24px;
}
}

@media (max-width: 1199px) {
#searchform > label > input[type="search"] {
    width: 215px;
}
.arpw-li:nth-child(2), .arpw-li:nth-child(1) {
 display:none!important;
}

}
@media (max-width: 991px) {
.entry-content .alignleft, .entry-content .alignright {
    float:none;
    display: block;
    margin: 10px auto;
}
}

@media (max-width: 767px) {
.newspaper-x-content  {
    padding-right: 0;
    padding-left: 0;
}
.single-post .entry-header, .page .entry-header {
    margin: 0;
}
.prima_main {
    padding: 0;
    margin: 0;
}
#Prima_pagina_main .arpw-li {
    margin:0 5px;
}
.wp-paginate {
    margin: 0 30px !important;
    margin-bottom:20px!important;
}
.imgcat {
    margin: 0 auto!important;
    text-align:center;
}
}

@media (max-width: 600px) {
.top-header #searchform input[type="search"] {
    max-width: 135px;
}
.top-header #searchform {
    width: 180px;
 }
.main-navigation ul ul{
    background: transparent;
}
#site-navigation .menu > li.current-menu-item {
    background: transparent;
}
#site-navigation .menu > li:hover {
   background: #FFEB94;
}

.gallery-columns-2 .gallery-item, .gallery-columns-3 .gallery-item {
    max-width: 100%;
}
.gallery-columns-4 .gallery-item {
    max-width: 50%;
}
.gallery-item {
    padding: 0;
    padding-bottom: 26px;
}
#secondary {
    clear: both;
}
.duecol  {
    column-count: 1;
}
}

@media (max-width: 400px) {
.newspaper-x-content .titolo-index span {
    font-size: 26px;
}
#Prima_pagina_main .arpw-li {
    max-width:145px;
}
}