/*
Theme Name: 2FCommunication Theme
Theme URI: https://www.2fcommunication.com/
Author: 2FCommunication
Author URI:
Description: Starter Theme con Font Awesome e Bootstrap 5 realizzato da 2FCommunication
Version: 0.1
Tested up to: 5.7.2
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: nx

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*------------------------------------------------------------------------------
General
------------------------------------------------------------------------------*/
.admin-bar .navbar{top:32px;}

body{
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	padding-top:70px;
	font-family: 'Montserrat';
}
body.navbar-transparent{padding-top: 0;}

.main-content{
	flex:1;
}

a{
	text-decoration: none;
	color: #345d9d;
}

.trattino{
	width: 100px;
	height: 4px;
	background: #fff ;
	margin-bottom: 20px;
}

.mb20{
	margin-bottom: 20px;
}
.animate {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

/*------------------------------------------------------------------------------
Menù
------------------------------------------------------------------------------*/
.navbar-transparent .bg-primary{
	background-color: transparent !important;
}
.navbar-transparent.is-scrolled .bg-primary{
	background-color: rgba(0,0,0,0.7) !important;
}
.logo{
	width: 80px;
}
.navbar-brand{width:100px;}
.navbar-transparent.is-scrolled .navbar-brand{
	width: 60px;
}
.navbar-transparent.is-scrolled .logo{
	width: 60px;
}
.nav-link{
	text-transform: uppercase;
	font-size: 13px;
}
.form-control{
	background:transparent;
	border: none;
}
.icon-search{
	color:#fff;
	background: transparent;
	border: none;
	font-size:20px;
	margin-right:10px;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #fff !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #fff !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #fff !important;
}
:-moz-placeholder { /* Firefox 18- */
  color: #fff !important;
}
.navbar-social a{
	display: inline-block;
	color: #fff;
	font-size: 20px;
	padding: 10px;
}

/*------------------------------------------------------------------------------
Slider
------------------------------------------------------------------------------*/

.carousel,
.carousel-inner,
.carousel-item{
  height:700px;
}

.slide-big h3{
	font-size: 40px;
	font-weight: bold;
	max-width: 700px;
}
.slide-big .carousel-text{
	font-weight: 200;
	font-size: 22px;
	max-width: 700px;
}
.slide-big .carousel-caption{
	width: 100%;
	left: 0;
	right: 0;
}

/*------------------------------------------------------------------------------
Focus
------------------------------------------------------------------------------*/
.focuses{
	margin-top:40px;
}
.focus{
	border-left:4px solid #333;
	margin-bottom:20px;
}
.focus h3{
	font-size: 24px;
}
.focus h3 a{
	color:#333;
}
.focus .text-link{
	font-size: 12px;
	color:#333;
}
.focus .text-intro{
	font-size: 12px;
	margin-bottom: 5px;
	text-transform: uppercase;
	opacity: 0.5;
}
/*------------------------------------------------------------------------------
2 Column (Pre Evidenza)
------------------------------------------------------------------------------*/
.two-columns-title{
	font-size: 49px;
	color:#4A4343;
	font-weight:bold;
	line-height:42px;
}
.two-columns p{
	font-weight: 300;
}
/*------------------------------------------------------------------------------
Card
------------------------------------------------------------------------------*/
.card-cover{
	border-radius: 0;
	padding: 30px;
	min-height: 300px;
	position: relative;
}
.card-cover.card a{
	color:#fff;
	text-decoration: none;
}
.card-cover .card-title{
	font-size: 12px;
	text-transform: uppercase;
	opacity:0.7;
	font-weight: 300;
}
.card-cover .card-text{
	font-size:26px;
	line-height: 28px;
	max-width: 290px
}
.card-cover .card-link{
	position: absolute;
	bottom:10px;
	right:30px;
}

/*------------------------------------------------------------------------------
Two Blockquote
------------------------------------------------------------------------------*/
.two-blockquote{
	margin-top: 100px;
	margin-bottom: 100px;
}
.two-blockquote p{
	font-weight: 300;
}
.two-blockquote blockquote{
	border-left: 10px solid #ddd;
	padding-left:20px;
	margin-bottom:20px;
}
.two-blockquote blockquote strong{
	font-size: 40px;
	font-weight: bold;
}

/*------------------------------------------------------------------------------
Recensioni
------------------------------------------------------------------------------*/
.testimonials blockquote{
	font-size: 44px;
	color:# 333;
	font-weight: bold;
	line-height: 46px;

}
.testimonials a{
	font-weight: bold;
}
.testimonials{position: relative;}
.testimonials blockquote:before{
	content: "\f10e";
	font-size: 50px;
	position: absolute;
	top: -60px;
	color: #ddd;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	display: inline-block;
	right: -20px;
}
/*------------------------------------------------------------------------------
News
------------------------------------------------------------------------------*/
.card-news .card-meta a{
	text-transform: uppercase;
	font-weight: bold;
}
.card-news{
	border:0;
}
.card-news .card-title{
	color: #345d9d;
	font-size: 26px;
	font-weight: bold;
}
.card-news a:hover{
	text-decoration: none;
}
.card-news .card-text{
	font-weight: 300;

}
.card-news .card-info{
	border-top:1px solid #ddd;
	color:#999;
	font-size:12px;
}
/*------------------------------------------------------------------------------
Commenti
------------------------------------------------------------------------------*/
#comments{margin-bottom: 40px;}
.comments{ padding-top:40px; }
.comments .reply{
	border-bottom:1px solid #ccc;
	margin-bottom: 30px;
	padding-bottom: 10px;
}
.comments textarea{ width: 100%; }
.comments label{ min-width: 80px; }
.comments ul,
.comments ol{ list-style: none; }
.comment-author img{ border-radius: 999px; }

/*------------------------------------------------------------------------------
Input & TextArea
------------------------------------------------------------------------------*/
input,
textarea{
	padding: 5px 10px;
	border: 1px solid #ddd;
}

/*------------------------------------------------------------------------------
Widget
------------------------------------------------------------------------------*/
.widget_search .screen-reader-text{ display:block }
.widget_search #s{
	width: 70%;
	float:left;
}
.widget_search #searchsubmit{
	width: 30%;
	float:left;
	background-color: #fff;
}

/*------------------------------------------------------------------------------
Impaginazione Articoli
------------------------------------------------------------------------------*/
.pagination{
	margin-bottom: 40px;
}
.page-numbers{
	display: inline-block;
	padding: 10px  15px;
	border: 1px solid #ddd;
	margin-right: 4px;
}

/*------------------------------------------------------------------------------
Stile Generale WordPress
------------------------------------------------------------------------------*/
.post img{
	max-width: 100%;
	height: auto;
}

/*------------------------------------------------------------------------------
Media Query
------------------------------------------------------------------------------*/
/* Desktop */
@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
}


/* Tablet */
@media all and (max-width: 998px) {
	.navbar-transparent .bg-primary{
		background-color: #333 !important;
	}
	.navbar-social{flex-direction: row;}
}

/* Smartphone */
@media all and (max-width: 576px) {
	.slide-big h3{
		font-size: 30px;
	}
	.slide-big .carousel-text{
		font-weight: 200;
		font-size: 18px;
	}
}


/*------------------------------------------------------------------------------
WordPress Core
------------------------------------------------------------------------------*/
.gallery-caption{
	padding: 5px;
	font-size: 10px;
}
.bypostauthor{
	border-left: 3px solid #ddd;
	padding-left: 20px;
}
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}
