/*
	Theme Name: RAM theme
	Theme URI: paolopileggi.com
	Description: RAM WordPress Theme
	Version: 1.0
	Author: Paolo Pileggi
	Author URI: paolopileggi.com
	Tags:

	License:
	License URI:
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;height: auto;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
b, strong {
    font-weight: 500 !important;
}
.form-row{min-height: 60px;}
.text, .div_text  {padding-left:0px!important}
.div_text input[type="text"], .div_text input[type="email"], .div_text select{width:100%}
.comments ul { padding:0px}
.comments ul li { list-style:none; margin: 30px 0; background-color: #EFEFEF;padding: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px;}
img.avatar{-webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%;width: 40px; height: 40px; border: solid 1px #625D8F; margin-right: 10px;}

.comment-meta {font-size:10px}
.pdfprnt-bottom-left{display:none}
#wpmem_reg input[type="submit"] { background: #524193 !important; color: #ffffff !important; width: 100% !important; font-weight: bold !important; line-height: 35px; !important; border:0px}
#wpmem_reg legend,#wpmem_login legend {     display: none; }
article br:first-child {display: none;}
article form br:first-child {display: block;}
.panel-group p { margin: 0px !important;}
#wpmem_login { font-size: 14px !important; font-weight: 300 !important; line-height: normal !important; /* width: 50%;*/}
#wpmem_login .link-text, #wpmem_login .button_div {width:100%; text-align: left !important}
#wpmem_login input[type="submit"],  input[type="submit"] { background: #524193 !important; color: #ffffff !important; font-weight: bold !important; line-height: 35px; !important; border:0px; padding:0 30px;}
.stayopen{display: initial !important;}
.stayopen .panel-body { background-color: #f9f9f9;}
.no-bottom-space {margin-bottom: -286px;}

.loginside #wpmem_login .button_div { margin-bottom: 35px;}
.loginside #wpmem_login .link-text { width:100%;}
.loginside #wpmem_login .div_text { width:100%;}
.loginside #wpmem_login fieldset{margin-top: 25px;}
.loginside #wpmem_login input[type="password"], .loginside #wpmem_login input[type="text"]{background-color: rgba(255,255,255,0.6) !important;}
#wpmem_reg .noinput { width:100% !important}
.loginside {background: #EFEFEF; padding: 0 30px 30px !important; margin-top: 120px; /* border-radius: 10px; */}
fieldset {margin-bottom:0px !important}
input, button, select, textarea, #wpmem_reg input[type="text"], #wpmem_reg input[type="password"], #wpmem_reg input[type="email"], #wpmem_reg input[type="url"], #wpmem_reg textarea, #wpmem_login input[type="text"], #wpmem_login input[type="password"], .comment-respond input, .comment-respond select, .comment-respond textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: #EFEFEF !important;
    border: 1px solid rgba(0, 0, 0, 0.3);padding: 8px 10px 8px;max-width: 100%;
}
#wpmem_reg .captcha {
    margin: 5px 0px;
    width: auto;
    text-align: left;
    margin-left: 30% !important;
}
.comment-respond {background: #F9F9F9; padding: 15px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; margin-top: 15px;font-size: 14px;}
.comment-respond input, .comment-respond button, .comment-respond select, .comment-respond textarea { width:100%}
.comment-respond .form-submit input[type="submit"]{background:#524193 !important; color:#ffffff; border:0px}
textarea{height: 245px;}
.contact-t textarea{height: 235px;}
.hp-layout h1, .hp-layout h2 { padding: 60px 0 28px 0 !important;}
.hp-layout .hp-blocks { padding: 5px 0 90px 0 !important;}
.hasth{margin-bottom: 20px;background-size: cover;background-position: center center;height: 320px;background-color: #000;padding: 323px 0 50px 20px;margin-top: 35px;}
.h1hasth{width: 100%;margin-top: -167px;padding: 100px 20px 15px;background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(250,249,252,0) 3%, rgba(106,92,162,1) 86%, rgba(82,65,147,1) 100%);background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(250,249,252,0) 3%,rgba(106,92,162,1) 86%,rgba(82,65,147,1) 100%);background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(250,249,252,0) 3%,rgba(106,92,162,1) 86%,rgba(82,65,147,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#524193',GradientType=0 );color: #fff;}
a.cta-hp {border: 1px solid #524193; padding: 10px 50px;line-height: 80px;}
a.cta-hp:hover {border: 1px solid #524193; background:#524193; color:#fff}
a.cta-page {border: 1px solid #524193; padding: 10px 50px;line-height: 46px; line-height: 25px; display: inline-block; margin-bottom: 4px;}
a.cta-page:hover {border: 1px solid #524193; background:#524193; color:#fff}
.page-layout {
    padding-top: 160px !important;
}
#wpmem_reg label {    /*line-height: 18px; */ font-size:14px !important;}
.hp-blocks ul {/* margin: 40px 0; */ }
.supporter {
    list-style: none;
    margin: 30px 0;
    background-color: #EFEFEF;
    padding: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}
.userinfo ul {padding-left: 0px;}
.userinfo ul li {list-style: none; margin: 0px 0px 40px;}
.userinfo ul li a{background: #EFEFEF; border:1px solid  #EFEFEF; padding: 20px;}
.userinfo ul li a:hover {background: #fff; padding: 20px;}
.smcx-embed {
    width: 100%;
    max-width: 100% !important;
    height: 500px !important; z-index: 10 !important;margin-top: 20px !important;
}
.smcx-embed > .smcx-iframe-container {
    width: 100%;
    max-width: 100% !important;
    height: 500px !important;}
html.auto-scroll .survey-page .survey-page-body {    margin-bottom: 50px;}
.sx-side {max-width: 512px !important;/*! float: right; */margin: auto;}
.new-hp-gui {padding: 0px 15px;}
.new-hp-gui .col-sm-12 {padding: 0px}
/*.new-hp-gui > a {margin-left: 15px;}*/
.new-hp-ev {padding: 60px 15px}
.new-hp-nw {padding: 0px 15px}
	.reg-img img {width: 100%;}
.partner-logo.basic {padding-left:0px}
.mc4wp-checkbox-wp-registration-form label {
    min-width: 98% !important;
    margin-left: 0;
    background: #f7f7f7;
    padding: 12px;
    display: block;
}
.mc4wp-checkbox-wp-registration-form label input{
    margin-right: 6px !important;
}
@media only screen and (max-width:992px) {
	.partner-logo img {max-height:65px} 
	.partner-logo.basic img {max-height: inherit;}
	#wpmem_reg .captcha {margin-left: 0px;}
	.reg-img img {max-height: initial;}
	.cta-page {border: 1px solid #524193; padding: 10px 22px!important; line-height: 28px !important; display: block !important;}
}
@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {
	.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url{ width: 48%; float: left; margin: 0 1%;margin-bottom: 15px;}
	.comment-respond .form-submit, .wysija-after-comment{ width: 98%; margin: 0 1%;}
	#wpmem_reg label, .form #wpmem_login label { width: 30% !important; float: left !important; padding-top: 10px;line-height: 17px;}
	#wpmem_reg .div_text, #wpmem_reg .div_select, .form #wpmem_login .div_text { width: 70% !important; float: left !important;}
	#wpmem_reg .button_div {width: 100%!important;}
	#wpmem_reg input[type="submit"], .form #wpmem_login input[type="submit"]  { background: #524193 !important; color: #ffffff !important; width: 70% !important; font-weight: bold !important; line-height: 35px; !important; border:0px; float: right;}
	.form #wpmem_login .button_div{width: 100% !important;}
	.loginside h2{padding-top: 0px;}
.new-hp-nw {padding: 60px 15px;}

	
.mc4wp-checkbox-wp-registration-form label {
    min-width: 70% !important;
    margin-left: 30%;
    background: #f7f7f7;
    padding: 12px;
    display: block;
}

}


@media only screen and (min-width:768px) and (max-width:992px) {
	#wpmem_reg label, .form #wpmem_login label { width: 30% !important; float: left !important; padding-top: 10px; font-size:12px}
	#wpmem_reg .req-text {font-size:12px}
}

@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.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%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}
.rl-basicgrid-gallery .rl-gallery-item img {
    max-width: 100%;
    display: inline-block;
    height: auto;
}


/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
	.collapse {
	    display: initial !important;
	}
	p {font-size:12px}
}


.one-line-form form {margin: auto;width: 355px;}
.one-line-form .wysija-paragraph {float: left;position: relative;}
.one-line-form .widget_wysija_cont .wysija-submit {
    display: block;
    margin-top: 20px;
    padding-top: 6px;
    padding-bottom: 7px;
}

.one-line-form .formError {
    top: 48px !important;
    left: 0px !important;
}
