/*
Theme Name: Royal Society of Literature
Author: Bookswarm
Author URI: http://www.bookswarm.co.uk
Description: Responsive theme
Version: 1.0
Text Domain: rslit
*/

/* --- reset --- */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

td {
	padding-right: 10px !important;
	padding-bottom: 10px !important;
}

textarea, input {
	outline: none;
}

/* --- general styles --- */

body {
  font-family: 'Arimo', sans-serif;
  background: url('images/bg-tile.png');
  font-size: 13px;
  line-height: 1.42857143;
  color: #333333;
}

#wrapper {
	overflow: hidden;
}

.container {
	background-color: #ffffff;
}


/* ---- typography ---- */

h1,h2,h3,h4,h5,h6 {
	font-family:'Palatino W01';
}

h1 {
	font-size: 28px;
	line-height: 33px;
	margin-bottom: 20px;
}
h2 {
	font-size: 24px;
	line-height: 28px;
	margin-bottom: 20px;
}
h3 {
	font-size: 19px;
	line-height: 23px;
	margin-bottom: 20px;
}
h4 {
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 15px;
}
h5 {
	font-size: 16px;
	line-height: 19px;
	margin-bottom: 15px;
}
h6 {
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 10px;
}

p {
	line-height: 15px;
	margin-bottom: 20px;
}

strong, b {
	font-weight: bold;
}

em, i {
	font-style: italic;
}

ul, ol {
	margin-bottom: 17px;
	margin-left: 17px;
}

ul li {
	list-style: disc;
	margin: 0 0 2px 0;
}

ol li {
	margin: 0 0 6px 19px;
}

a.arrow-link:link, a.arrow-link:visited, #comments #submit, .gform_button {
	display: inline-block;
	background: url('images/red-arrow.png') no-repeat center right;
	color: #000;
	font-size: 19px;
	padding: 0px 30px 2px 0;
	font-family: 'Palatino W01';
}

a.grey:link, a.grey:visited {
	color: #999;
}

img.alignright, .wp-caption.alignright {float:right; margin:0 0 0.6em 0.6em} 
img.alignleft, .wp-caption.alignleft {float:left; margin:0 0.6em 0.6em 0} 
img.aligncenter {display: block; margin-left: auto; margin-right: auto} 
.alignright {float:right; } 
.alignleft {float:left; } 
.aligncenter {display: block; margin-left: auto; margin-right: auto}
.wp-caption-text { font-weight: bold;text-align: center;margin-top: 3px; }

.left { float: left;}
.right { float: right;}
.clear { clear: both;}

.screen-reader-text {
	position:absolute;
	left:-10000px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
}

::selection {
	background: #f63434;
	color: #fff;
	text-shadow: none;
}

blockquote {
	margin-right: 30px;
	border-left: 2px solid #000;
	padding-left: 20px;
}

blockquote p, blockquote {
	font-size: 15px;
	line-height: 17px;
}

input {
    -webkit-border-radius:0; 
    border-radius:0;
}

/* --- forms and comments --- */

input[type=submit] {
	border: 0;
}

#search input[type=search]{
	-webkit-appearance: none;
	border-radius: 0;
	-webkit-border-radius: 0;
	border: 0;
}

/* comments */
 
#comments label {
	display: inline-block;
	width: 100px;
}
 
#comments textarea {
	height: 120px;
	margin-left: 5px;
	padding: 5px;
}
 
.comments-title {
	font-size: 20px;
}
 
#comments #reply-title {
	font-size: 16px;
}
 
#respond {
	padding-top: 15px;
}

.commentlist {
	margin-left: 0;
}
 
.commentlist li {
	list-style: none;
	margin-left: 0;
}
 
#comments #submit {
	line-height: 20px;
}
 
.comment-author {
	margin-bottom: 4px;
}

/* --- header --- */

#top {
	background-color: #000;
	height: 42px;
	padding: 0 8px;
}

#top a:link, #top a:visited {
	color: #fff;
}

#topnav {
	text-align: right;
}

#menu-top-menu {
	margin: 0;
}

#menu-top-menu li {
	display: inline-block;
	margin: 0;
	text-align: right;
}

#menu-top-menu li a:link, #menu-top-menu li a:visited {
	text-transform: uppercase;
	font-family:'Palatino W01';
	padding: 12px;
	display: block;
}

#menu-top-menu li a:hover {
	text-decoration: none;
}

#social-bartender {
	float: right;
	padding: 8px 0;
}

#social-bartender a {
	margin-left: 6px;
}

#search {
	float: right;
	margin-right: 10px;
	padding: 8px 0;
}

#search .form {
	overflow: hidden;
}

#search label {
	display: block;
	float: left;
	color: #fff;
	font-family:'Palatino W01';
	padding-top: 5px;
	padding-right: 10px;
}

#search form {
	position: relative;
}

#search label {
	display: inline-block;
	width: 70px;
	color: #fff;
}

#search input[type=submit] {
	background: #f2343a url('images/red-arrow.png') no-repeat right center;
	border-top: 1px solid #999999;
	border-right: 1px solid #999999;
	border-bottom: 1px solid #999999;
	text-indent: -9999px;
	width: 23px;
	height: 25px;
	padding: 3px 0 2px;
	position: absolute;
	right: 0px;
	top: 0px;
}

input[type="search"] {
	border: 0;
	padding: 3px 23px 2px 3px;
	border-top: 1px solid #999999;
	border-left: 1px solid #999999;
	border-bottom: 1px solid #999999;
	height: 18px;
}

#masthead {
	background-color: #000;
}

#logo {
	padding: 28px 35px;
	background: #fff url('images/circular-logo.png') no-repeat right 30px top;
}

#logo img {
	width: 100%;
	height: auto;
	max-width: 447px;
}

#site-navigation, #mobile {
	background-color: #000;
	min-height: 43px;
}

#site-navigation ul {
	text-align: center;
	margin: 0;
}

#site-navigation li {
	position: relative;
	margin: 0;
}

#site-navigation ul li {
	float: left;
	display: inline-block;
	position: relative;
}

#site-navigation > div > ul > li {
	margin: 0 10px;
}

#site-navigation ul li a:link, #site-navigation ul li a:visited {
	padding: 18px 10px 16px;
	margin: 0;
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	float: left;
	font-family:'Palatino W01';
	font-size: 12px;
	line-height: 9px;
	color: #fff;
}

nav#mobile ul li a:link, nav#mobile ul li a:visited {
	color: #fff;
}

#site-navigation ul li.current_page_item > a:link, #site-navigation ul li.current_page_item > a:visited,
#site-navigation ul li a:hover, nav#mobile ul li a:hover, #topnav ul li a:hover,
#site-navigation ul li.current-menu-parent > a:link, #site-navigation ul li.current-menu-parent > a:visited {
	color: #fff;
	background-color: #f2343a;
}

#site-navigation ul.sub-menu {
	display: none;
	position: absolute;
	z-index: 999;
	min-width: 100%;
	height: auto;
	padding: 0 0 10px 0;
	top: 43px;
	margin: 0;

}

#site-navigation ul.sub-menu li {
	float: none;
	position: relative;
	display: block;
	margin: 0;
	text-align: center;
	background: #000;
	height: 32px;
}

#site-navigation ul.sub-menu li a {
	border: 0;
	display: block;
	padding: 13px 15px 10px 12px;
	white-space: nowrap;
	text-align: left;
	width: 100%
}

#site-navigation ul li:hover > ul.sub-menu {
	display: block;
}

#site-navigation ul.sub-menu .current_page_item > a:link,
#site-navigation ul.sub-menu .current_page_item > a:visited {
	
}

#site-navigation ul.sub-menu .sub-menu {
	left: 100%;
	top: 0;
}

nav#mobile {
	display: none;
}

#mobile-toggle {
	padding: 15px 15px 13px 14px;
	text-align: right;
	color: #fff;
	cursor: pointer;
	text-align: right;
	font-family:'Palatino W01';
	font-size: 14px;
	margin-bottom: 0;
	background: #f2343a url('images/menu-icon.png') no-repeat left 9px center;
	width: 95px;
	margin-left: 13px;

}

nav#mobile ul {
	margin: 0;
}

nav#mobile ul li {
	list-style: none;
}

nav#mobile ul li a {
	display: block;
	padding: 7px 15px;
	text-transform: uppercase;
	text-align: left;
	font-family:'Palatino W01';
	font-size: 14px;
}

nav#mobile ul li a:hover {
	text-decoration: none;
}

nav#mobile ul li ul.sub-menu {
	margin-bottom: 0;
	margin: 0 0 0 22px
}

.breadcrumbs {
	margin-left: 0;
	margin-bottom: 20px;
}

.breadcrumbs, .breadcrumbs a:link, .breadcrumbs a:visited {
	font-size: 11px;
	text-transform: uppercase;
	font-family:'Palatino W01';
}

.breadcrumbs a:link, .breadcrumbs a:visited {
	color: #999999;
}

/* --- side ad --- */
#content #main {
	width: 87%;
	float: left;
}


#side-ad {
	width: 10%;
	float: right;
	margin-top: 70px;
	margin-right: 25px;
}

#side-ad .textwidget img {
	width: 100%;
	height: auto;
}

/* --- general pages --- */

#main {
	padding: 35px 20px;
}

.panel {
	display: block;
	background-color: #e6e6e6;
	color: #000;
	margin-bottom: 35px;
	position: relative;
}

.panel:hover {
	text-decoration: none;
	color: #000;
}

.panel-img {
	position: relative;
}

.panel .img {
	width: 100%;
	height: auto;
	max-width: 360px;
}

.arrow {
	position: absolute;
	right: 0;
	bottom: 0;
}

.lib-type {
	position: absolute;
	left: 0;
	bottom: 0;
}

.panel .info {
	padding: 18px;
}

.panel .fve-video-wrapper {
	margin: 0;
}

/* --- library --- */

#latest2 .panel {
	background-color: #000;
	color: #fff;
	margin-bottom: 25px;
}


/* --- awards --- */

.awards.col-sm-6 {
	float: right;
	margin: 0 0 20px 40px;
}

.awards .clear span {
	position: absolute;
	bottom: 0;
	padding: 0 5px;
	display: block;
	width: 100%;
	background: rgba(255,255,255,0.67);
	font-family: 'Palatino W01';
	font-size: 13px;
	font-style: italic;
	text-align: right;
	line-height: 26px;
}

.awards .clear img {
	width: 100%;
	height: auto;
}

/* --- gallery --- */

.rsl-gallery {
	margin: 0;
}

.rsl-gallery li {
	list-style: none;
	position: relative;
	margin-bottom: 10px;
}

/* --- search results --- */

#search-list h3 span {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	font-family: Arimo, sans-serif;
	margin-bottom: 10px;
}

.img-thumb {
	position: relative;
}

.img-thumb .arrow {
	position: absolute;
	right: 0;
	bottom: 0;
	display: block;
	width: 23px;
	height: 23px;
	background: url('images/red-arrow.png') no-repeat center;
}

/* --- homepage --- */

#slider {
	margin-bottom: -2px;
}

#slider ul {
	margin: 0;
}

#slider ul li.slide {
	margin: 0;
}

#slider ul li.slide a:link, #slider ul li.slide a:visited {
	position: relative;
	display: block;
	color: #000;
}

#slider ul li.slide img {
	display: block;
}

#slider ul li.slide span {
	position: absolute;
	bottom: 0;
	padding: 10px;
	display: block;
	width: 100%;
	background: rgba(255,255,255,0.6);
	font-family:'Palatino W01';
	font-size: 14px;
	font-style: italic;
	text-align: right;
}

#slider .flex-control-nav.flex-control-paging {
	display: none;
}

#slider .flex-direction-nav li {
	list-style: none;
}

#quote {
	background-color: #f2343a;
	background-image: url('images/quote-left.png'),url('images/quote-right.png');
	background-position: left 35px top 44px, right 35px top 44px;
	background-repeat: no-repeat, no-repeat;
	text-align: center;
	font-family:'Palatino W01';
	font-size: 23px;
	line-height: 28px;
	color: #000;
	padding: 34px 130px;
}

#quote blockquote {
	margin: 0;
	padding-left: 0;
	border-left: 0;
}

#quote .name {
	font-size: 19px;
	font-style: italic;
	display: block;
	margin-top: 8px;
}

/* boxed quote */

.boxed-blockquote {
	background-color: #e6e6e6;
	padding: 20px;
}

.boxed-blockquote blockquote {
	padding: 0 0 0 7px;
	border-left: 0;
	margin-right: 0;
}

#latest {
	padding: 44px 20px;
	overflow: hidden;
}

#main #latest {
	padding: 44px 0px 15px;
	overflow: hidden;
}

#main #latest2 {
	padding: 10px 0px 15px;
	overflow: hidden;
}


#latest h1 {
	text-align: center;
	padding-bottom: 23px;
	border-bottom: 1px dotted #000;
	margin-left: 15px;
	margin-right: 15px;
}

#latest .panel {
	display: block;
	background-color: #000;
	color: #fff;
	margin-bottom: 25px;
	position: relative;
}

#latest .panel:hover {
	text-decoration: none;
}

#latest .panel .panel-img {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

#latest .panel .panel-img iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#latest .panel .img {
	width: 100%;
	height: auto;
	max-width: 445px;
}

#latest .ad-image img {
	width: 100%;
	height: auto;
}

#latest .panel .arrow {
	position: absolute;
	right: 0;
	bottom: 0;
}

#latest .panel .info {
	padding: 18px;
}

#latest.library .panel .info {
	max-height: 200px;
}

#latest .panel .info h3 {
	border-bottom: 1px solid #fff;
	padding-bottom: 14px;
}

#latest .panel .info p {
	margin-bottom: 0;
}

/* --- page with image banner --- */

#banner {
	position: relative;
}

#banner img {
	width: 100%;
	height: auto;
}

#banner span {
	position: absolute;
	bottom: 0;
	height: 83px;
	z-index: 20;
	background: rgba(255,255,255,0.6);
	font-family:'Palatino W01';
	font-size: 14px;
	font-style: italic;
	text-align: right;
	width: 100%;
	display: block;
	padding: 1% 10px 0 0;
}

/* --- single.php --- */

.news #banner span h2 {
	font-size: 28px;
	text-align: left;
	font-style: normal;
	margin: 20px 0 0 0;
}

.news .date {
	font-size: 19px;
	font-family:'Palatino W01';
	width: 285px;
	display: block;
	float: left;
	padding-top: 9px;
	margin-bottom: 30px;
}

#toolbox {
	width: 295px;
	float: right;
	margin-bottom: 10px;
}

/* --- fellows pages --- */

ul.fellows-list {
	margin-left: 0;
}

ul.fellows-list li {
	list-style: none;
	margin-bottom: 7px;
	line-height: 14px;
}

ul.fellows-list li h3 {
	margin-top: 15px;
	margin-bottom: 10px;
}

ul.fellows-list.new-col {
	clear: none;
}

.panel h3 {
	border-bottom: 1px dotted #000;
	padding-bottom: 15px;
	margin-bottom: 20px;
	font-size: 19px;
}

#sidebar-fellows a.panel h3,
#sidebar-fellows a.panel p {
	color: #000;
}

#featured-fellows .inner {
	background: #e6e6e6;
	padding: 20px;
}

#featured-fellows h2 {
	text-align: center;
}

#featured-fellows .panel-img {
	position: relative;
	margin-bottom: 20px;
}

#featured-fellows .panel-img .img {
	width: 100%;
	height: auto;
	display: block;
}

#featured-fellows .panel-img .info {
	position: absolute;
	bottom: 0;
	background: rgba(255,255,255,0.9);
	padding: 15px;
	width: 100%;
}

#featured-fellows .panel-img .info p {
	margin-bottom: 2px;
}

#featured-fellows .panel-img .info a:link,
#featured-fellows .panel-img .info a:visited {
	color: #000;
}

#featured-fellows .panel-img .info a:hover {
	text-decoration: none;
}

#featured-fellows .panel-img .arrow {
	position: absolute;
	bottom: 0;
	right: 0;
}

#featured-fellows .panel-img .name {
	font-size: 19px;
	font-family:'Palatino W01';
	margin-bottom: 3px;
}

#fellows-twitter {
	text-align: center;
}

#fellows-twitter h3 {
	font-size: 28px;
	line-height: 32px;
	display: inline-block;
	background: url('images/twitter-bird.png') no-repeat top 6px right;
	padding: 10px 50px 10px;
}

#fellows-twitterfeed {
	text-align: left;
}

/* fellows tooltips */

.qtip-wrapper.qtip-default{
	background-color: transparent;
	border: none;
	padding: 0;
	width: 300px;
	height: 320px;
	background-color: #000;
}

.qtip-wrapper.qtip-default .qtip-content {
	padding: 0;
}

.qtip-wrapper.qtip-default .panel-img {
	width: 100%;
}

.fellow-tooltip .panel-info {
	background-color: #000;
	color: #fff;
	padding: 24px 15px;
}

.fellow-tooltip .panel-info p,
.fellow-tooltip .panel-info a.link {
	font-size: 13px;
	margin-bottom: 12px;
	padding-left: 2px;
}

.fellow-tooltip .panel-info p.name {
	font-size: 19px;
	line-height: 22px;
	font-family:'Palatino W01';
	border-bottom: 1px dotted #fff;
	padding-bottom: 13px;
	margin-bottom: 22px;
}

.hasTooltip {
	color: #0099cc;
	cursor: pointer;
}

.filedunder span {
	background: #000;
	padding: 3px;
	margin-right: 5px;
}

.filedunder a:link, .filedunder a:hover, .filedunder a:active, .filedunder a:visited {
	color: #fff;
}

/* --- footer --- */

/* widgets */

#footer-widgets {
	padding: 44px 20px;
	clear: both;
}

#footer-widgets .panel {
	display: block;
	background-color: #e6e6e6;
	color: #fff;
	margin-bottom: 35px;
	position: relative;
}

#footer-widgets .panel:hover {
	text-decoration: none;
}

#footer-widgets .panel .panel-img {
	position: relative;
}

#footer-widgets .panel .img,
#footer-widgets .textwidget img {
	width: 100%;
	height: auto;
	max-width: 100%;
}

#footer-widgets .textwidget img.arrow {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 23px;
	height: 23px;
}

#footer-widgets .panel .info {
	padding: 18px;
}

#footer-widgets .widget h3 {
	text-align: center;
	border-bottom: 1px dotted #000;
	padding: 10px 0;
	font-size: 28px;
	line-height: 32px;
}

#footer-widgets .widget h4 {
	color: #000;
	border-bottom: 1px dotted #000;
	padding-bottom: 10px;
}

#footer-widgets .panel .info p {
	margin-bottom: 0;
	color: #000;
}

#footer-widgets #news {
	margin: 0;
}

#footer-widgets #news li {
	clear: both;
	margin: 0;
	list-style: none;
	border-bottom: 1px dotted #000;
	overflow: hidden;
	margin-bottom: 20px;
}

#footer-widgets #news .left {
	width: 25%;
	max-width: 93px;
	height: 93px;
	display: block;
}

#footer-widgets #news .right {
	width: 75%;
	padding-left: 10px;
}

#footer-widgets #news .left a:link {
	display: block;
	position: relative;
}

#footer-widgets #news .img {
	width: 100%;
	height: auto;
	max-width: 93px;
}

#footer-widgets #news h5 {
	font-size: 19px;
	margin-bottom: 5px;
}

#footer-widgets #news p {
	margin-bottom: 15px;
}

#footer-widgets #news .date {
	color: #999999;
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 5px;
}

#twitterfeed h3 {
	background: url('images/twitter-bird.png') no-repeat top 6px right;
}

#twitterfeed .tweeple {
	background-color: #e6e6e6;
	padding: 24px 16px 10px;
}

#twitterfeed .widget_text {
	background-color: #e6e6e6;
	padding: 0 16px 15px 16px;
}

.tweets {
	margin: 0;
}

.tweets li {
	list-style: none;
	border-bottom: 1px dotted #000;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.tweets .tweet-text {
	line-height: 14px;
	padding-top: 3px;
}

.tweet-time a:link,
.tweet-time a:visited {
	color: #000;
	font-family:'Palatino W01';
}


/* footer */

footer {
	padding: 0 15px;
}

footer, footer .container{
	background-color: #000;
	color: #fff;
}

footer p {
	font-size: 14px;
	font-family:'Palatino W01';
	line-height: 17px;
}

#menu-footer-menu {
	margin: 30px 0 5px;
}

#menu-footer-menu li {
	list-style: none;
	display: inline-block;
	margin-right: 14px;
}

#menu-footer-menu li a:link, #menu-footer-menu li a:visited {
	text-transform: uppercase;
	color: #fff;
}

footer p {
	margin-bottom: 88px;
}

footer a.grey:link, footer a.grey:visited {
	font-size: 11px;
	margin-bottom: 20px;
	display: block;
}

/* ------------ CIVI CRM ------------- */

#crm-main-content-wrapper fieldset {
	padding: 0;
	border: 0;
	margin: 0 0 20px 0;
}

#crm-main-content-wrapper legend {
	color: #fff;
	background-color: #000;
	padding: 5px;
	margin-bottom: 12px;
	width: 100%;
}

#crm-main-content-wrapper input[type=text]{
	border-style:solid;
	border-width: 1px;
	border-color: #B8B8B8;
	margin-bottom: 3px;
	width: 200px;
}

#crm-main-content-wrapper input[type=radio] {
	margin-right: 5px;
}

#crm-main-content-wrapper label {
	margin-bottom: 4px;
	font-weight: bold;
}

#crm-main-content-wrapper .content.Public_fee-content input[type=text],
#crm-main-content-wrapper .content.Concession-content input[type=text]{
	width: 30px;
}

#crm-main-content-wrapper #intro_text {
	border-bottom: 1px dotted #000;
	margin-bottom: 17px;
}

#crm-main-content-wrapper #intro_text p {
	font-size: 16px;
	font-family: 'Palatino W01';
	margin-bottom: 7px;
}

#crm-main-content-wrapper #crm-submit-buttons .crm-form-submit,
.button.crm-register-button {
	background: transparent;
	color: #000;
	font-size: 19px;
	padding: 0px 30px 2px 0;
	font-family: 'Palatino W01';
}

#crm-main-content-wrapper .button.crm-register-button {
	background: url('images/red-arrow.png') no-repeat center right;
	display: inline-block;
	margin-bottom: 15px;
}

#crm-main-content-wrapper .crm-section .content {
	margin-bottom: 10px;
}

#crm-main-content-wrapper .crm-section.event_fees-section {
	display: none;
}

#crm-main-content-wrapper .iCal_links-section {
	margin-bottom: 15px;
}

/* hide credit card payments */
#crm-main-content-wrapper .crm-section.billing_mode-group.credit_card_info-group,
#crm-main-content-wrapper .billing_name_address-group,
#crm-main-content-wrapper .crm-section.billing_mode-section.credit_card_info-section,
#crm-main-content-wrapper #payment_information legend,
#crm-main-content-wrapper .paypal_button_info-section {
	display: none;
}

#printer-friendly {
	display: none;
}

#civicrm-footer {
	display: none;
}

/* ---- login form ------- */

form#login label {
	width: 75px;
	margin-bottom: 10px;
	display: inline-block;
}

form#login input[type=password],
form#login input[type=text] {
 	border-style:solid;
 	border-width: 1px;
 	border-color: #B8B8B8;
 }

form#login input[type=submit]{
	margin-left: 3px;
	background: url('images/red-arrow.png') no-repeat center right;
	color: #000;
	font-size: 19px;
	padding: 0px 30px 2px 0;
	font-family: 'Palatino W01';
}


/* ------------ RESPONSIVE MEDIA QUERIES ------- */

@media (min-width: 768px) {
	.news #banner span > div {
		padding-left: 36px;
	}
}

@media (min-width: 992px) {
	.news #banner span > div {
		padding-left: 19px;
	}
}

@media (min-width: 1200px) {
	.news #banner span > div {
		padding-left: 2px;
	}
}


 
@media (max-width: 1024px) {
 	#site-navigation > div > ul > li {
 		margin: 0 10px;
 	}
}

@media (max-width: 992px) {
	#footer1 {
		padding-left: 0;
		padding-right: 0;
	}
 	#footer1 .widget {
 		width: 50%;
 		float: left;
 		padding-left: 15px;
 		padding-right: 15px;
 	}
 	#side-ad {
 		display: none;
 	}
 	#content #main {
 		width: 100%;
 		float: none;
 	}
}
 
/* iPad portrait */
@media (max-width: 768px) {
	nav#mobile {
		display: block;
	}
	#site-navigation {
		display: none;
	}
	#topnav {
		display: none;
	}
	.flexslider, #slider ul li.slide,
	#slider ul li.slide a {
		height: 300px;
	}
	#slider ul li.slide img {
		height: 100%;
		width: auto;
	}
	#slider .flex-direction-nav .flex-next,
	#slider .flex-direction-nav .flex-prev {
		width: 34px;
		height: 34px;
		background-size: cover;
	}
	#slider .flex-direction-nav a {
		top: 45%;
	}
	.news #banner span h2 {
		padding-left: 0;
	}
	.news #banner span > div {
		padding-left: 35px;
	}
	#quote {
		padding: 23px 93px;
		font-size: 19px;
		line-height: 25px;
		background-position: left 35px top 27px, right 35px top 27px;
	}
	#latest {
		padding: 25px 0px;
	}
	#latest .col-xs-12, #footer2, #twitterfeed {
		width: 50%;
	}
	#footer1.col-xs-12 {
		width: 100%;
	}
 	
 	#news li:nth-child(n+3) {
		display: none;
 	}
}

@media (max-width: 767px) {
 	#sidebar-fellows .panel {
 		width: 48%;
 		float: left;
 	}
	#sidebar-fellows .panel:first-of-type {
		margin-right: 4%;
	}
 	#sidebar-fellows hr:nth-of-type(2){
 		display: none;
 	}
 	.awards.col-sm-6 {
		margin: 0 0 20px 0;
	}
	.awards .sponsor img {
		display: block;
		margin: 0 auto;
		float: none;
	}

	.rsl-gallery li {
		width: 48%;
		float: left;
		margin: 0 1% 1%;
	}
	.awards img {
		height: auto;
	}
}
 
/* eg: Android Samsung galaxy landscape */
@media (max-width: 685px) {
 	#masthead {
 		background-position: right -108px top;
 	}
 	#banner span {
 		min-height: 63px;
 		height: auto;
 	}
 	.news #banner span h2 {
 		font-size: 21px;
 	}
}
 
/* iphone 5 landscape */
@media (max-width: 568px) {
 	#latest {
 		padding-bottom: 0;
 	}
 	.news #banner span h2 {
 		margin-top: 10px;
 	}
 	.touch .fellows-list .hasTooltip {
 		clear: both;
 		display: block;
 		background-color: #ECECEC;
 		margin-bottom: 5px;
 		padding: 5px;
 	}
	.touch .fellows-list .panel {
		background-color: #000;
		overflow: hidden;
	}
 	.touch .fellows-list .panel-img {
		width: 55%;
		float: left;
 	}
 	.touch .fellows-list .panel-info {
 		width: 45%;
 		float: right;
 	}
 	#footer-widgets .widget h3 {
 		font-size: 17px;
 		line-height: 22px;
 	}
}
 
/* iPhone 3+4 landscape */
@media (max-width: 480px){
	#search {
		display: none;
	}
	/*.breadcrumbs {
		margin-left: 15px;
	}*/
	.flexslider, #slider ul li.slide,
 	#slider ul li.slide a {
 		height: 150px;
 	}
 	#slider ul li.slide span {
 		background: #f2343a;
 		padding: 6px 10px 4px;
 	}
 	#main {
 		/*padding-left: 0;
 		padding-right: 0;*/
 	}
 	#logo {
		padding: 14px 10px;
	}
 	.row {
 		margin-left: 0!important;
 		margin-right: 0!important;
 	}
	#wrapper .col-xs-12, #latest .col-xs-12 {
		padding: 0;
	}
 	#footer1.col-xs-12 {
 		width: 100%;
 	}
 	#latest .col-xs-12, #footer1 .widget, #footer2, #twitterfeed {
		width: 100%;
		padding: 0;
	}
	#latest .panel .img {
		max-width: 100%;
	}
	.container {
		padding: 0!important;
	}
	.news #banner span h2 {
 		padding-left: 20px;
 	}
	#quote {
		display: none;
	}
	#sidebar-fellows .intro {
		padding: 0 15px;
	}
 	#sidebar-fellows .panel, #featured-fellows {
 		clear: both;
 		width: 100%;
 		float: none;
 		max-width: 360px;
 		margin: 0 auto;
 	}
	#sidebar-fellows .panel:first-of-type {
		margin: 0 auto;
	}
	#sidebar-fellows .panel:last-of-type {
		margin-bottom: 15px;
	}
 	#sidebar-fellows hr:nth-of-type(2){
 		display: block;
 	}
 	.panel {
 		margin: 0 auto;
 	}
	#footer1 .widget {
		padding: 0;
	}
	#footer1 .widget:last-of-type {
		padding: 0;
	}
	#wrapper #footer2.col-xs-12 {
		padding: 10px;
	}
/*	.awards img {
		width: 45%;
	}*/
	#footer-widgets .textwidget img {
		width: 100%;
		height: auto;
		max-width: 360px;
		display: block;
		margin: 0 auto;
	}
	#footer-widgets .widget h3 {
		font-size: 26px;
		line-height: 30px;
	}
}
 
/* eg: Android Samsung galaxy portrait */
@media (max-width: 380px) {
 	#footer-widgets {
 		padding: 0;
 	}
 	.touch .fellows-list .panel-img {
		width: 100%;
		float: none;
 	}
 	.touch .fellows-list .panel-info {
 		width: 100%;
 		float: none;
 	}

 	.awards {
 		text-align: center;
 	}
 	.rsl-gallery li {
 		float: none;
 		width: 100%;
 		height: auto;
 		margin: 0 auto 10px;
 	}
}
 
/* iPhone 3+4 portrait */
@media (max-width: 320px) {

}
 
/* small android portrait */
@media (max-width: 240px) {
 
}

iframe#twitter-widget-0.twitter-timeline.twitter-timeline-rendered {
width: 600px !important;
}
