/*
Theme Name: ArcipelagoMilano 2.0
Theme URI: http://www.oogo.io
Description: Tema Ufficiale di ArcipelagoMilano
Author: Oogo (Ugo Guidolin)
Author URI: http://www.oogo.io
Version: 2.5
*/


body {
	word-wrap: break-word;
	font-family: 'Playfair Display';
	font-size: 16px;
}

/** Headings **/

h1, .h1, h2, .h2, h3, .h3 {
    /*margin-top: 23px;
    margin-bottom: 11.5px;*/
    margin: 0.5em 0;
	font-family:'Playfair Display';
}
h1, .h1 {
	font-size: 48px;
}
h2, .h2 {
    font-size: 35px;
}
h4, .h4 {
    font-size: 20px;
}
.entry-content h4 {
	line-height:1.2em;
	color: #999a9b;
	font-size:28px;
}
.entry-content h2{
	font-family:'Playfair Display';
}

a {
	color:#325aa4;
}
a:hover {
	color:#4076D7;
}

.gallery-caption {}


img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}


.gallery {
	margin-bottom: 1.5em;
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}


embed,
iframe,
object {
	max-width: 100%;
}


.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; 
}


.main-header, .main-header .page-title {
	margin-top: 0
} 
.main-content-inner {
	padding-bottom: 1.5em;
}
.hentry {
	margin: 0 0 1.5em;
}
article.post.sticky .page-header h1 a {
	font-weight: 500;
}
#content article .page-header h1 { 
	margin-top: 0; 
}
#content article:first-child .page-header {
	margin-top: 0;
}
.bypostauthor {}

.page-header{
	border-bottom: thin solid #bdbdbd;
}


#footer {
	text-align:center;
}


.clear {
	clear: both;
}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }


.widget select {
	max-width: 100%;
}

.widget ul {
  	list-style: none;
  	padding: 0;
}
.widget ul li {
  	padding-left: 1.3em;
  	font-family: 'Roboto Condensed';
}
.widget ul li:before {
	content: "\f0da"; 
	font-family: FontAwesome;
	display: inline-block;
	margin-left: -1.3em; 
	width: 1.3em; 
	color: #FABB21;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
 .comment .children { margin-left: 1.5em; }

.navbar-wrapper .navbar-fixed-top,
.admin-bar .navbar-wrapper .navbar-fixed-top {
	margin-top: 32px;
}








/********************** MENU NAV BAR **********************/



.navbar-default, #footer {
    background-color: #fff;
    border-color: #fff;
}



.navbar-fixed-top {
	position:relative;
}



.navbar .navbar-nav {
    display: inline-block;
    float: none;
}
.navbar .navbar-collapse {
    text-align: center;
    margin-bottom:5px;
}



#upper-menu .nav>li {
	border-left: thin solid #999;
}
#upper-menu .nav>li.first {
	border-left: none;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 0 15px;
    line-height:1em;  
}
.navbar-default .navbar-nav>li>a,
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.open>a:hover {
    background: none;
    color: #797979;
}
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.open>a:hover {
	color: #9F9F9C;
}

.navbar .dropdown-toggle:after{
	margin:0;
}
.dropdown li{
	font-size:14px;
}

.navbar-toggle {
	margin: 0;
	padding:0;
}

/********************** HEADER **********************/

.wrapper-logo {
	padding:30px 0 20px 0;
	border-top: thin solid #999;
	border-bottom: thin solid #999;
}
.logo {
	max-width:620px;
}
.logo-description{
	margin-top:8px;
}

/********************** FOOTER **********************/

#footer {
    text-align: left;
    background-color: #434343;
    font-family: 'Roboto','Raleway','Hekvetica','Arial',sans-serif;
    font-size: 14px;
    color: #9F9F9C;
}

#footer ul.list li {
	padding:6px 12px;
  	border-bottom: thin dotted #9F9F9C;
}
#footer ul.list li.last {
	border-bottom: none;
}
#footer ul.list li a{
	color: #9F9F9C;
}
#footer ul.list li a:hover{
	color: #FFF;
}


/********************** MAIN TOPIC **********************/

.main-cover{
	background-size:cover!important;
	background-position: center!important;
	min-height:320px;
}

.main-topic{
	padding:20px;
	position:relative;
}
.main-topic h4 {
	color:#fff;
	font-size:30px;
	font-family:'Raleway';
	font-weight:800;
}
.main-topic p {
	font-family:'Playfair Display';
	color:#fff;
	 
}

.main-topic .readmore{
	border-top: thin dotted #fff;
}

/********************** POST WRAPPERS **********************/

.top-post-wrapper{
	padding:15px 0;
	 
	position:relative;
	padding-top: 20px; 
}
.prev-sideline-wrapper{
	padding:15px 0;
	min-height:400px;
	position:relative;
}

/********************** READMORE SNIPPET **********************/

.readmore{
	padding-top:8px;
	border-top: thin dotted #000;
}
#readmore .readmore{
	border-top: none;
}

.readmore .link,
.readmore .social {
	display:inline-block;
	vertical-align:middle;
}
.readmore .social {
	float: right;
}
.readmore .message {
	font-family:'Raleway';
}

.hrline{
	border-top: thin dotted #000!important;
}

/***** POST *****/

.tagthumb{
	position:absolute;
	padding: 8px 15px;
	bottom:0;
}

#taxonomy-description p {
	font-style: italic;
}

.subtitle{
	padding: 10px 0;
	border-top: thin solid #999;
	font-size: 28px; 
}

/***** SEARCH FORM *****/

form#search {
  position: absolute;
  right: 15px;
  top: 0;
}

#search label { 
	display:inline-block;
	color: #797979;
	margin-right:8px;
}

#search input[type=submit] { display: none; }

#search input[type=text]{
	display:inline-block;
	border: 0;
	padding: 0;
	margin: 0;
	width: 0;
	height:20px;
	outline: none;
	color: #747474;
	font-size: 1em;
	text-indent: 10px;
	box-shadow: none;
	border-radius: 0;
	background-color: #fff;
	transition: all .4s ease;
}

#search input[type=text]:focus {
	width: 100px;
}

/***** SOSTIENI ARCIPELAGO *****/

.sostieni-img,
.sostieni-msg {
	display:inline-block;
	vertical-align:top;
	text-align: center;
}

/*** FORM BOX ***/
 

#formbox label {  
	display: inline-block;  
	cursor: pointer;  
	position: relative;  
	padding-left: 25px;
	margin-top: 4px;  
	margin-right: 15px;  
	font-size: 24px; 
	font-family: "Fjalla One"; 
	color:#2255AA;
}

#formbox .radiobts {
	margin: 0 0 20px 60px;
}

#formbox input[type=radio] {  
	display: none;  
}  

#formbox label:before {  
	content: "";  
	display: inline-block;  
  
	width: 16px;  
	height: 16px;  
  
	margin-right: 10px;  
	position: absolute;  
	left: 0;  
	bottom: 8px;  
	background-color: #F8F2F4;  
	box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);
	
	border-radius: 8px;  
}

#formbox input[type=radio]:checked + label:before {  
	content: "\2022";  
	color: #DE6A10;  
	font-size: 40px;  
	text-align: center;  
	line-height: 18px;
	  
} 

#formbox input[type=submit], #recurring input[type=submit] {  
	position:absolute;
	bottom: 0;
	left: 50%;
	transform:translateX(-50%);
	width:240px;
	height:40px;
	font-family: "Fjalla One" !important;
	font-size: 24px; 
	background-color: #DE6A10;
	color: #fff; 
	border-radius: 8px; 
	border: none;
	cursor: pointer;
} 

#formbox input[type=submit]:hover, #recurring input[type=submit]:hover { 
	background-color: #EA7010;
}

#formbox input[type=submit]:focus, #recurring input[type=submit]:focus {
	outline: none;
}

#formbox input[type=submit]:active, #recurring input[type=submit]:active { 
	background-color: #FF7A0F;
}

#recurring select {
	position:absolute;
	left: 50%;
	transform:translateX(-50%);
	padding: 10px;
	-webkit-appearance: none;
	font-family: "Fjalla One";
	color: #2255AA; 
	background: url("/wp-content/AMdonazioni2016.hyperesources/popupdown.png") no-repeat 95% #fff;
	background-size: 36px;
	border: 1px solid #2255AA;
	font-size: 24px;
	width: 160px;
	height: 50px;
	text-align: center;
}

#recurring select:focus {
	outline: none;
}

#recurring .message {
	position:absolute;
	left: 50%;
	transform:translateX(-50%);
	top:60px;
	font-family: "Fjalla One";
	font-size: 30px; 
	color: #2255AA; 
}

#pagebox {
	background-color: #DEEEFE;
	padding: 30px;
	border-radius: 20px; 
	margin-right:40px;
	color: #2A57A8!important;
}

#pagebox .titlebox h2 {
	color: #2A57A8!important;
}

#donation-submit {
	background-color: #D56449;
    border: none!important;
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    font-weight: 800;
    padding: 10px 20px!important;
    text-decoration: none;
    text-transform:uppercase;
    border-radius: 3px;
    font-weight: 700;
    display:inline-block;
    font-family:'Oswald';
}

#amount {
	font-family:'Oswald';
	font-weight: 800!important;
	font-size:24px;
}

a#donation-submit:hover {
	background-color: #EB473E;
}

.submit-group{
	float:right;
}

.user-data{
	width:100%;
}
.contact-field{
	width:32%;
	float:left;
	margin-right:2%;
}
.contact-field.last{
	margin-right:0;
}

.user-data{
	width:100%;
	margin-bottom:20px;
	margin-top:20px;
	overflow:hidden;
}
.user-data-label h2 {
	font-family:'Raleway';
	text-transform:none;
}

.form-policy{
	display:inline-block;
	line-height:50px;
	font-family:'Oswald';
	font-weight:300;
}

/*** BUTTONS BS ****/

.btn, button,
input[type='button'],
input[type='submit'] {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: none;
    white-space: nowrap;
    padding: 6px 16px;
    font-size: 15px;
    line-height: 1.51;
    border-radius: 0;
    font-family: 'Raleway';
    font-weight: bold;
    text-transform:uppercase;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-primary {
	background-color: #325aa4!important;
}
.btn-primary:hover {
	background-color: #4076D7!important;
}

.btn-secondary{
	background-color: #EAE9E5;
	color:#6b6a6a;
}

.btn-group-toggle{
	width:100%;
	margin-bottom:20px;
}
.btn-option {
	width:50%;
	font-size:24px;
	text-transform:uppercase;
	font-family:'Oswald';
	font-weight: 800!important;
	border-radius:0;
	font-weight:700;
}
.btn-recurring {
	width:19%;
	margin-right:1.3%;
	font-size:24px;
	font-family:'Oswald';
	font-weight: 800!important;
	border-radius:0;
}
.btn-recurring.last{
	margin-right:0;
}

.btn-secondary.active{
	background-color: #D56449;
	color: #fff;
}


/***** ENTRY CONTENT *****/


.entry-content img.alignleft {
	float: left;
	margin: 15px 15px 15px 0;
}

.widget-title {
	border-bottom: thin dotted;
	padding: 0.5em 0;
	margin-bottom:20px;
	font-family:'Playfair Display';
	font-size: 25px;
	text-transform: uppercase;
	color:#325aa4;
}

.loadmore{
	font-size:18px;
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	color:#7f7f7f;
	border-left: thin solid #7f7f7f;
	border-right: thin solid #7f7f7f;
}

/*** COMMENTS ***/

#commentsubmit {
	margin:15px;
	float: right;
}

.comments-before,
.logged-in-as {
	margin-right:15px;
	margin-left:15px;
	font-family: 'Playfair Display', Times, serif;
	font-style: italic;
	color:#797979;
}

.title-reply{
	font-family: 'Raleway',Helvetica, Arial, sans-serif;
	font-weight: 800;
	color: #325aa4;
	padding: 0 15px 10px 15px;
	font-size: 24px;
}

.comments-area{
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.3em;
}

.comment {
	list-style: none;
}

.comment-respond {
	background-color: #eff1f3;
	padding: 15px 0 0 0;
	border-radius:0.5em;
	overflow: hidden;
	margin-bottom: 20px;
}

.comment-respond,
.comment-respond h3 {
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
}

.comment-body {
	margin-bottom:20px;
}

.comment-post {
	width:80%;
}

.comment-author{
	margin-right:8px;
}

.comment-container {
	padding:10px;
	background-color:#eff1f3;
	border-radius:0.5em;
}

.comment-reply {
	font-size:12px;
	margin-top:4px;
}

.cancel-reply {
	float:right;
}

.avatar {
	border-radius: 50%;
}

p.form-submit{
	margin-bottom:0;
}

.rating-container {
	display:block;
	clear:both;
	overflow:hidden;
	height:140px;
	border-top: thin dotted #000;
}
.rating-container .rating-question {
	float:left;
	position:relative;
	top:24px;
}

#public-new-post label {
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 500;
}
#public-new-post label.form-check-label {
	display:block;
	padding-left:20px;
	text-indent:-20px;
	font-size: 14px;
	text-transform:none;
	line-height:1.3em;
}
#public-new-post input.form-check-input {
	line-height:14px;
	padding:0;
	margin-right:7px;
	vertical-align:bottom;
	position:relative;
}
#public-new-post input.form-submit {
	font-size: 18px!important;
}

.g-recaptcha{
	display: inline-block;
}

.alert-warning {
    background-color: #f39c12;
    border: none;
    color: #fff;
    font-size:18px;
    font-weight:400;
    text-align: center;
}

.circleBox {
    border-radius: 50%;
    -o-border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    width: 180px;
    height: 180px;
    background-color: #FABB20;
    background-image:url('assets/images/foglia-larga.png');
    background-repeat: no-repeat;
    background-size: 110px 110px;
    background-position: center center;
    border: 3px solid white;
    display:inline-block;
    position:absolute;
    left: 50%;
    transform: translateX(-50%);
}


/********************** MEDIA **********************/



@media (max-width: 1024px) {
	.g-recaptcha{
		display: inline-block;
		transform:scale(0.8);
		-webkit-transform:scale(0.8);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
}



@media (max-width: 990px) {
	 
	.logo {
		max-width:480px;
	}
	.main-topic h4 {
		 
	}
	.main-topic p {
		font-size:20px;
	}
	.top-post-wrapper{
		 
	}
	.prev-sideline-wrapper {
	    min-height: 360px;
	}
	.sostieni-img{
		width: 200px;	
	}
	.sostieni-msg {
		width: 400px;
		margin-left: 30px;
	}
	.sostieni-msg div {
		font-size:24px;
		padding: 0 0 20px 0;
	}
	.g-recaptcha{
		display: inline-block;
		transform:scale(0.6);
		-webkit-transform:scale(0.6);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
}



@media (max-width: 600px) {
	/*body,
	.main-topic p {
		font-size: 20px;
	}*/

	h1 {
		font-size: 32px;
	}
	.subtitle {
		font-size: 20px;
	}
	
	.navbar-wrapper .navbar-fixed-top {
		position:fixed;
		margin-top:0;
	}
	
	.admin-bar .navbar-wrapper .navbar-fixed-top {
		position:absolute;
		margin-top: 46px;
	}
	.navbar {
		background-color:	rgba(255, 255, 255, 0.9);
	}

	
	.nav>li {
		border-left: none;
		border-bottom: thin dotted #000;
		padding:10px 0;
	    font-size:20px;
	    letter-spacing: 0.2em;
	    color:#797979;
	    text-transform:uppercase;
	}
	.nav>li.last {
		border-bottom: none;
	}
	
	.toggle-bar {
		-webkit-box-shadow: 0px 3px 2px 0px rgba(50, 50, 50, 0.2);
		-moz-box-shadow:    0px 3px 2px 0px rgba(50, 50, 50, 0.2);
		box-shadow:         0px 3px 2px 0px rgba(50, 50, 50, 0.2);	
	}
	.sostieni-msg {
		width: 100%;
		margin-left: 0;
	} 
	#footer .normal {
		font-size:18px;
	}
	.post-author.normal {
		font-size: 24px;
	}
	
	.btn-recurring {
		width: 100%;
		margin-bottom:5px;
	}
	.btn-option {
		font-size:0.9em;
	}

	.contact-field{
		width:100%;
		float:none;
		margin-right:0;
	}
	.form-policy{
		line-height:1.3em;
		display:block;
		margin-bottom:1.5em;
	}
	.submit-group{
		float:none;
	}
	.g-recaptcha{
		display: inline-block;
		transform:scale(0.9);
		-webkit-transform:scale(0.9);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
	
}