/*
Theme Name: Politician
Author: OptArt
Author URI: http://www.optart.biz
Theme URI: http://politician-demo.optart.biz
Description:  Politician is template created with public persons in mind. It includes place for short info about the person and photo in central part. It allows various communication channels: official news, blog posts, latest tweets. See online demo http://politician-demo.optart.biz/.
Version: 1.0.5
Tags: green, light, white, dark, blue, black, three-columns, left-sidebar, right-sidebar, responsive-layout, custom-header, custom-menu, featured-images, sticky-post, translation-ready
Text Domain: politician
License: GNU General Public License v3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

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;
}

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;
}

body {
    font-family: Arial;
    font-size: 12px;
    height: 100%;
}

h1 {
    font-family: 'Signika', sans-serif;
    font-size: 30px;
}

h1 span {
    font-size: 48px;
}

a {
    text-decoration: none;
}

strong,
b {
    font-weight: bold;
}

em,
i {
    font-style: italic;
}

input {
    display: inline-block;
    *display: inline;
    vertical-align: middle;
    zoom: 1;
    margin: 0;
    border: 0;
    outline: 0;
}

textarea {
    border: 0;
    outline: 0;
    resize: none;
    overflow: auto;
}

button {
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

#content tr > * {
    padding: 10px;
}

.tribe-events-calendar tr > * {
    padding: 0;
}

tbody tr:last-of-type th {
    border: none;
}

h1,
h2,
h3,
h4 {
    padding: 10px 0;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

#wrapper {
    float: left;
    min-width: 100%;
}

#wrapper .norm {
    font-weight: normal;
}

#wrapper .marginless {
    margin: 0;
}

#wrapper .paddingless {
    padding: 0;
}

#wrap {
    margin: 0 auto;
    width: 980px;
    position: relative;
    min-height: 100%;
    position: relative;
    *padding-bottom: 87px;
}

#header {
    height: 60px;
    padding-top: 40px;
}

#main-menu {
    line-height: 26px;
    width: 56.123%;
}

#main-menu li {
    float: left;
    position: relative;
}

#main-menu li ul {
    visibility: hidden;
    position: absolute;
    z-index: 9999;
    margin-left: -1px;
}

#main-menu li:hover > ul {
    visibility: visible;
}

#main-menu ul li li,
#main-menu li .sub-sub li {
    display: block;
    height: 25px;
    padding: 0 15px;
    float: none;
}

#main-menu ul > li > ul > li:first-child {
    padding-top: 7px;
}

#main-menu li .sub-sub li:first-child,
#main-menu ul li li.last {
    padding-bottom: 7px;
}

#main-menu ul li li a {
    display: block;
    height: 24px;
    white-space: nowrap;
}

#main-menu ul > li.last {
    margin-right: 0;
}

#main-menu ul > li.last a {
    padding-right: 0;
}

#main-menu ul > li > a {
    display: block;
    padding: 0 15px;
    font-weight: bold;
}

#main-menu ul ul li.sub-sub {
    width: 166px;
}

#main-menu li.sub ul {
    font-size: 11px;
}

#main-menu li.sub-sub ul {
    margin-left: 3px;
    left: 162px;
    top: 0;
}

#main-menu li.sub-sub:first-child ul {
    top: 7px;
}

#main-menu ul#menu-primary-menu>li:hover {
    border-left: 1px solid #485b36;
    margin-left: -1px;
}

#main-menu ul ul ul {
    position: absolute;
    left: calc( 100% + 2px);
    top: 0;
    border-radius: 20px;
}

#main-menu ul ul ul li:first-of-type {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top: 1px solid #485b36
}

#searchform {
    position: absolute;
    right: 0px;
    top: 10px;
}

#searchform label.screen-reader-text {
    display: none;
}

#s {
    border-radius: 10px;
    padding: 0px 25px 0px 10px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75) inset, 1px 1px 1px rgba(139, 144, 155, 0.23);
    height: 24px;
}

#searchsubmit {
    cursor: pointer;
}

#top {
    width: 417px;
    line-height: 24px;
}

#top ul {
    width: auto;
}

#top li {
    float: left;
}

#top li a {
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 5px;
    text-align: center;
    color: white;
}

#top .selectWrapper {
    height: 25px;
    line-height: 25px;
    width: 66px;
    font-size: 11px;
    font-weight: bold;
}

#top .selectWrapper span.select {
    padding-left: 12px;
}

#top .selectWrapper select {
    font-size: 11px;
    font-weight: bold;
    text-indent: 8px;
}

#donation {
    display: inline-block;
    height: 26px;
    padding-right: 49px;
    text-transform: uppercase;
    font-weight: bold;
}

#donation span {
    display: block;
    padding: 4px 18px 5px 18px;
    line-height: 17px;
}

#container {
    float: left;
    margin-bottom: 87px;
    min-height: calc( 100vh - 300px)
}

#logo {
    display: block;
    margin: 0px;
}

#logo h2 {
    font-size: 10px;
    font-weight: bold;
    width: 100%;
    margin-top: 10px;
    position: relative;
}

#profile {
    width: 413px;
}

#profile article {
    width: 184px;
}

#promotion {
    width: 205px;
}

#content {
    width: 535px;
    margin-top: 7px;
    padding: 25px 0 0 30px;
    overflow: hidden;
}

#content.posts article:not(:last-of-type) {
    margin-bottom: 30px;
    padding-bottom: 10px;
    overflow: overlay;
    border-bottom: 1px solid #425131;
}

#accordion {
    clear: both;
}

#accordion h3 {
    cursor: pointer;
    padding: 15px;
    font-weight: bold;
    line-height: 18px;
}

#accordion h3.current {
    font-size: 24px;
    padding: 15px 0 0 0;
    font-weight: normal;
    line-height: 25px;
}

#accordion h3.current:first-child {
    padding-top: 5px;
    border: 0;
}

#footer_wrapper {
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

#footer {
    position: relative;
    bottom: 0;
    width: 163px;
    padding: 15px 15px;
    font-size: 10px;
    font-weight: bold;
    line-height: 14px;
    border-radius: 5px 5px 0px 0px;
    border: solid 1px;
    border-bottom: none;
}

#footer.second {
    left: 218px;
}

#footer.third {
    left: 445px;
}

#footer.fourth {
    left: 783px;
}

#calendar {
    width: 100%;
    clear: both;
    float: left;
    margin: 25px 0 15px;
}

#calendar th {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    font-weight: bold;
}

#calendar tbody tr {
    height: 70px;
}

#calendar td {
    padding: 10px;
    vertical-align: bottom;
    cursor: pointer;
}

#wrap.content-to-left #main-menu,
#wrap.content-to-left #content {
    float: left !important;
}

#wrap.content-to-left #top,
#wrap.content-to-left #profile {
    float: right !important;
}

#wrap.content-to-left #searchform {
    right: initial;
}

#wrap.content-to-left #content {
    padding: 25px 30px 0 0px;
}

#wrap.content-to-right #main-menu,
#wrap.content-to-right #content {
    float: right !important;
}

#wrap.content-to-right #top,
#wrap.content-to-right #profile {
    float: left !important;
}

#tribe-events-content table.tribe-events-calendar {
    border-collapse: inherit;
    border: none;
}

#tribe-events-content .tribe-events-calendar td,
#tribe-events-content table.tribe-events-calendar {
    border: none;
}

#tribe-events-content table.tribe-events-calendar thead {
    font-size: 8px;
    letter-spacing: normal;
}

#tribe-events-footer .tribe-events-sub-nav li,
#tribe-events-header .tribe-events-sub-nav li {
    list-style: none;
    background: none;
}

.tribe-bar-views-list {
    display: none;
}

.tribe-bar-filters input {
    display: block;
    margin: 5px 0px;
}

#contact-form {
    width: 245px;
    padding-top: 40px;
}

#contact-form input[type=text] {
    width: 203px;
    height: 27px;
    line-height: 27px;
    padding: 0 30px 0 12px;
    font-size: 11px;
    margin-bottom: 13px;
}

#contact-form textarea {
    width: 221px;
    height: 269px;
    padding: 9px 12px 31px 12px;
    font-family: Arial;
    font-size: 11px;
    line-height: 30px;
}

.opera #contact-form textarea {
    height: 270px;
    padding: 16px 12px 24px 12px;
}

#contact-form button {
    margin-top: 25px;
    width: auto;
}

.col_6.column {
    float: left;
    width: 49%;
}

.wpcf7-form input,
.wpcf7-form textarea,
.tribe-bar-filters input,
.tribe-bar-views-select {
    border-radius: 10px;
    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .75), 1px 1px 1px rgba(139, 144, 155, .23);
    padding: 0px 25px 0px 10px;
    display: block;
    margin: 10px 0;
}

.wpcf7-form input,
.tribe-bar-filters input,
.tribe-bar-views-select {
    height: 24px;
}

.tribe-bar-views-select {
    border: none;
    padding: 5px 10px;
}

.wpcf7-form textarea {
    padding: 0px;
    line-height: 31px;
}

.wpcf7-form input.wpcf7-submit,
#submit {
    background: url(./img/avocado/send_bg.png) repeat-x 0 0;
    color: #fff;
    width: auto;
    line-height: 24px;
    cursor: pointer;
    box-shadow: none;
    text-align: center;
    padding: 0px 10px;
}

.wpcf7-form input.wpcf7-submit:hover {
    background-position: 0 100%;
}

div.wpcf7 img.ajax-loader {
    width: auto;
    height: auto;
}
/*UTILITY*/

.left {
    float: left;
}

.right {
    float: right;
}

.clearboth {
    clear: both;
}

.clearleft {
    clear: left;
}

.clearright {
    clear: right;
}

.aligncenter {
    text-align: center;
}

.selectWrapper {
    display: block;
    text-align: left;
}

.selectWrapper span.select {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.selectWrapper select {
    display: block;
    cursor: pointer;
    width: 100%;
    height: 100%;
    top: -100%;
    overflow: hidden;
}
/*CLASSES*/

.subpage .wp-caption-text,
.wp-caption-text,
.gallery-caption {
    text-align: center;
    margin-top: 5px;
}

.sticky {}

.gecko #content.cal {
    width: 529px;
}

.icon-leaf {
    display: block;
    width: 21px;
    height: 18px;
    position: absolute;
    right: 35px;
    top: 0;
}

h2:empty {
    display: none;
}

.box h2:first-child {
    margin: 35px 0 25px;
}

.box p,
.cv p,
.subpage p,
.contact p {
    font-size: 11px;
    text-align: justify;
    line-height: 18px;
    margin-bottom: 20px;
}

.more {
    display: inline-block;
    width: 30px;
    height: 25px;
    text-indent: -9999px;
}

.tweets li {
    display: block;
    width: 184px;
    margin-bottom: 20px;
    padding-top: 7px;
    font-family: Georgia;
    font-style: italic;
    font-size: 11px;
    line-height: 16px;
}

.tweets a:hover,
.e-mail:hover,
.url:hover,
.email:hover,
.title a:hover {
    text-decoration: underline;
}

.tweets div {
    height: 15px;
}

.tweets div:first-child {
    height: auto;
    padding: 10px;
    background: 0;
}

.tweets span {
    display: block;
    margin-top: 15px;
    padding-left: 20px;
}

#promotion .photo {
    float: right;
    width: 195px;
    height: 584px;
    position: relative;
    margin-bottom: 30px;
}

#promotion .photo img:first-child {
    position: absolute;
    border-radius: 10px;
    width: 195px;
    height: 584px;
}

#promotion .photo .signature {
    position: absolute;
    right: 2px;
    bottom: 19px;
    max-width: 190px;
    height: auto;
}

.party {
    float: right;
    width: 201px;
}

.party h2 {
    font-size: 22px;
    padding: 40px 0 7px 20px;
}

.party a {
    display: block;
    width: 203px;
    line-height: 42px;
    text-indent: 18px;
    font-size: 18px;
    position: relative;
}

.party span {
    position: absolute;
    right: 12px;
    bottom: 8px;
}

.quote blockquote {
    font-family: 'Radley', serif;
    font-style: italic;
    font-size: 24px;
    line-height: 30px;
    padding-bottom: 36px;
    margin-bottom: 31px;
}

.further,
.back {
    display: inline-block;
    float: left;
    vertical-align: middle;
    width: 46px;
    height: 26px;
    text-indent: -9999px;
}

.back + .further {
    margin: 0 8px 0 3px;
}

.top-border {
    padding-top: 20px;
}

.news {
    width: 203px;
    padding-right: 73px;
}

.my-blog {
    width: 229px;
    overflow: hidden;
}

.archive .subpage > h1.smaller {
    margin-bottom: 50px;
}

.backward,
.forward {
    float: left;
    width: 44px;
    height: 24px;
    text-indent: -9999px;
    margin-right: 6px;
    cursor: pointer;
}

.backward {
    margin-bottom: 25px;
}

.pane {
    margin-top: 15px;
    padding-bottom: 40px;
}

.pane span {
    display: block;
    margin-bottom: 25px;
    font-size: 10px;
}

.title {
    clear: both;
    overflow: hidden;
}

.title time {
    display: block;
    float: left;
    width: 52px;
    height: 56px;
    padding-top: 10px;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-right: 10px;
}

.title time span {
    display: block;
    font-size: 28px;
}

article .title h3 {
    float: none;
    padding-top: 7px;
    line-height: 17px;
    font-weight: bold;
    clear: none;
}

.button {
    clear: both;
    display: inline-block;
    height: 26px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.gecko .button {
    padding-right: 10px;
    font-size: 9px;
}

.button span {
    display: block;
    padding: 0px 12px;
    line-height: 25px;
}

.pane p,
.subpage p,
.contact p {
    text-align: left;
}

.gallery h2,
.subpage > h2,
h2.title,
#comments > h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 35px;
    margin: 0;
}

.subpage ul,
.subpage ol:not(.children) {
    float: none;
    margin: 10px;
    font-size: 11px;
}

.subpage ul li {
    padding-left: 9px;
}

.photo-gallery {
    margin: 0 auto;
    width: 490px;
    padding-top: 15px;
}

.photo-gallery li {
    float: left;
    width: 135px;
    height: 135px;
    margin: 0 35px 35px 0;
}

.photo-gallery img {
    width: 135px;
    height: 135px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.gallery-nav {
    clear: both;
    width: 100%;
    text-align: center;
    line-height: 16px;
}

.gallery-nav ul,
.gallery-nav li {
    display: inline-block;
    *display: inline;
    zoom: 1;
}

.gallery-nav li {
    margin-right: 4px;
}

.gallery-nav li a {
    display: inline-block;
    *display: inline;
    zoom: 1;
    width: 16px;
    height: 17px;
    font-size: 10px;
    font-weight: bold;
    padding-left: 1px;
}

.gallery .gallery-item {
    margin-bottom: 20px;
}

.gallery .gallery-icon img {
    border-radius: 10px;
}

.button-prev,
.button-next {
    display: inline-block;
    *display: inline;
    zoom: 1;
    width: 34px;
    height: 19px;
    margin-right: 12px;
}

.button-next {
    margin: 0 0 0 9px;
}

.subpage small {
    clear: both;
    font-size: 10px;
    font-weight: bold;
    margin-left: 15px;
}

.subpage h3,
.subpage h4 {
    clear: both;
    padding: 15px 0 25px;
    font-size: 16px;
    font-weight: bold;
}

.subpage h4,
.vcard h3 {
    padding: 5px 0 25px;
    font-size: 14px;
}

.subpage li {
    margin-bottom: 15px;
    margin-left: 5px;
}

.subpage blockquote {
    clear: both;
    float: left;
    padding: 30px 0px;
    margin-bottom: 30px;
    width: 100%;
}

.subpage blockquote p {
    margin: 0;
    font-family: 'Radley', serif;
    font-style: italic;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
}

p.blockquote {
    font-family: 'Radley', serif;
    font-style: italic;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
}

.subpage img {
    max-width: 100%;
    height: auto;
}

.subpage .sub-table {
    width: 100%;
    clear: both;
    float: left;
    margin: 20px 0;
}

.subpage .sub-table th {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    font-weight: bold;
}

.subpage .sub-table tr {
    height: 30px;
}

.subpage .sub-table td {
    width: 33%;
    line-height: 30px;
    font-size: 11px;
    text-align: center;
}

.subpage .title h2 {
    padding-bottom: 0px;
    font-size: 20px;
    font-weight: bold;
}

.subpage .title div {
    float: left;
}

.subpage .selectWrapper {
    display: inline-block;
    float: right;
    height: 25px;
    line-height: 25px;
    width: 119px;
    font-size: 11px;
}

.subpage .selectWrapper span.select {
    padding-left: 12px;
}

.subpage .selectWrapper select {
    font-size: 11px;
    text-indent: 8px;
}

div.pagination {
    text-align: center;
    clear: both;
}

div.pagination a {
    display: inline-block;
    width: 44px;
    height: 24px;
    text-indent: -99999px;
    margin: 20px;
}

.post_info {
    font-weight: bold;
    line-height: 20px;
}

.post_info .author,
.post_info .comments_count,
.post_info .categories a,
.post_info .tags a {
    margin-right: 2px;
    display: inline-block;
}

.post_info .author:before,
.post_info .comments_count:before,
.post_info .categories:before,
.post_info .tags:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    margin-right: 3px;
}

.post_info .categories:before {
    content: '\e805';
}

.post_info .tags:before {
    content: '\e809';
}

.post_info .comments_count:before {
    content: '\e80a';
}

.post_info .author:before {
    content: '\e80b';
}

.page-pagination,
#comments_pagination {
    margin-bottom: 20px;
    text-align: center;
}

span.pagination_link {
    border-radius: 100%;
    width: 20px;
    height: 20px;
    display: inline-block;
    text-align: center;
    vertical-align: bottom;
    line-height: 20px;
}

#comments > ol {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#comments li {
    list-style: none;
}

#comments li div.comment-body {
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0px;
}

#comments li ol {
    padding: 0px;
}

#comments img.avatar {
    border-radius: 5px;
    float: left;
    margin-right: 10px;
}

#comments .url {
    line-height: inherit;
}

#comments div.commentmetadata {
    margin-top: 4px;
    margin-bottom: 20px;
}

#respond input {
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75) inset, 1px 1px 1px rgba(139, 144, 155, 0.23);
    border-radius: 10px;
    padding: 6px 25px 6px 10px;
    line-height: 10px;
}

#respond textarea {
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75) inset, 1px 1px 1px rgba(139, 144, 155, 0.23);
    border-radius: 10px;
    padding: 10px;
    line-height: 31px;
}

#respond label {
    display: block;
}

#respond #submit {
    box-shadow: none;
    padding: 0px 10px;
    color: white;
}

.half {
    float: left;
    width: 235px;
    padding-right: 32px;
}

.one-third {
    float: left;
    width: 146px;
    padding-right: 32px;
}

.photo-desc {
    padding-left: 20px;
    width: 390px;
}

.photo-desc h4 {
    padding: 8px 0 20px;
}

.month {
    float: left;
    display: inline-block;
    line-height: 25px;
    vertical-align: middle;
    font-size: 16px;
    font-weight: bold;
}

.contact h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact p {
    margin-bottom: 15px;
}

.contact .vcard p {
    line-height: 17px;
    margin: 0;
}

.contact .clearboth {
    display: block;
    font-size: 11px;
    padding: 3px 0 0;
}

.e-mail {
    display: block;
    margin-bottom: 34px;
    font-size: 11px;
}

.adr {
    padding-bottom: 20px;
}

.big-number {
    clear: both;
    float: left;
    margin: 25px 0;
    font-size: 20px;
    font-weight: bold;
}

.url,
.email {
    font-size: 11px;
    line-height: 17px;
}

.size_half {
    width: 48%;
    float: left;
}

.size_half+ .size_half {
    margin-left: 2%;
}

.cols_wrapper {
    clear: both;
}

.size_third {
    width: 30%;
    float: left;
}

.size_third +.size_third {
    margin-left: 4%;
}

span.wpcf7-not-valid-tip {
    top: 0;
    left: 0;
    background: none;
    border: 0;
    position: relative;
}

span.wpcf7-form-control-wrap {
    display: block;
}

hr {
    border: 0;
    border-bottom: 1px solid #435631;
    border-top: 1px solid #384628;
    height: 4px;
}

img.alignleft,
.wp-caption.alignleft {
    margin-right: 15px;
    margin-bottom: 15px;
}

img.alignright,
.wp-caption.alignleft {
    margin-left: 15px;
    margin-bottom: 15px;
}

img.alignnone,
.wp-caption.alignnone {
    margin: 0 auto;
    display: block;
    ;
}

.single-post p img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

.textwidget img {
    width: 100%;
    height: auto;
}

.textwidget a {
    margin: 10px auto;
    text-align: center;
}

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

.textwidget p {
    text-align: left;
    margin-top: 15px;
}

#donation:hover span {
    background-position: 0 100%;
}

#donation:hover {
    background-position: 100% 100%;
}

.category .my-blog {
    width: 100%;
    background-position: 93% 6px;
}

.navigation {
    clear: both;
    width: 100%;
    text-align: center;
    line-height: 16px;
}

.tw-pagination {
    display: inline-block;
    zoom: 1;
}

.tw-pagination li {
    display: inline-block;
    zoom: 1;
    margin-right: 4px;
}

.tw-pagination li span.page,
.tw-pagination li a.page {
    display: inline-block;
    zoom: 1;
    width: 16px;
    height: 17px;
    font-size: 10px;
    font-weight: bold;
    padding-left: 1px;
    color: #fff;
    background: url(./img/bg_number.png) no-repeat left top;
}

.tw-pagination li span.page.current,
.tw-pagination li:hover {
    background: url(./img/bg_currentnumber.png) no-repeat left top;
}

.tw-pagination li a.next {
    background: url(./img/button_next.png) no-repeat left top;
    display: inline-block;
    zoom: 1;
    width: 34px;
    height: 19px;
    margin: 0 0 0 9px;
    text-indent: -9999999px;
}

.tw-pagination li a.prev {
    background: url(./img/button_prev.png) no-repeat left top;
    display: inline-block;
    zoom: 1;
    width: 34px;
    height: 19px;
    margin-right: 12px;
    text-indent: -9999999px;
}

.home blockquote {
    min-height: 60px;
}

.home blockquote .author {
    margin-top: 20px;
    margin-right: 10px;
    font-size: 15px;
}

#footer small {
    display: block;
    position: relative;
    width: 100%;
}

#footer img {
    max-width: 163px;
    height: auto;
}

.tribe-events-list-widget ol {
    list-style-type: none;
}

.wpcf7-form-control-wrap input {
    height: 24px;
}

.wpcf7-form-control.wpcf7-textarea {
    padding: 8px 13px;
}

div.wpcf7 {
    padding-top: 10px;
}

div.my-blog.right .title h3 {
    clear: none;
    padding-left: 10px;
}
/*MEDIA QUERIES*/

@media (max-width: 1050px) {
    #wrap {
        width: 750px;
    }
    #promotion {
        display: none;
    }
    #top {
        width: 200px;
    }
    #main-menu {
        width: 532px;
    }
    #donation {
        float: none;
        display: block;
        margin-top: 30px;
        clear: both;
    }
    #profile {
        width: 200px;
    }
    #content {
        width: 520px;
    }
    #footer.third,
    #footer.fourth {
        left: 220px;
    }
}

@media (max-width: 825px),
handheld {
    #wrapper {
        float: none;
    }
    #wrap {
        width: 90%;
    }
    #content,
    #profile,
    #profile article,
    #container {
        width: 100%;
    }
    .news {
        width: 48%;
        padding: 0px;
    }
    .my-blog {
        width: 48%;
    }
    #top {
        position: absolute;
        left: 0px;
        top: 12px;
        width: auto;
        vertical-align: top;
    }
    #top ul {
        display: inline-block;
        float: none;
    }
    #donation {
        display: inline-block;
        margin-top: 0px;
        vertical-align: top;
    }
    #main-menu {
        width: 100%;
        font-size: 18px;
    }
    #main-menu li {
        display: block;
        float: none;
        border: none !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    #main-menu li ul {
        visibility: visible;
        position: relative !important;
        z-index: 1;
        margin-left: 10px;
        left: 0 !important;
    }
    #main-menu ul > li > a {
        padding-left: 0px;
    }
    #main-menu a {
        display: inline !important;
        border: none !important;
        position: relative;
    }
    #main-menu li li {
        border: none;
        background: none;
    }
    #main-menu ul li li,
    #main-menu li .sub-sub li {
        height: auto;
    }
    #main-menu li span.expand {
        content: '';
        display: inline-block;
        margin-bottom: 3px;
        cursor: pointer;
        width: 16px;
        height: 16px;
        position: relative;
    }
    #main-menu li span.expand:after {
        font-family: 'Fontello';
        content: '\e806';
    }
    #main-menu li span.expand.expanded:after {
        content: '\e807';
    }
    #main-menu ul ul {
        display: none;
    }
    #wrap.content-to-left #searchform {
        left: initial;
        right: 0px;
    }
    #footer {
        position: static;
        left: auto;
        margin: auto;
    }
}

@media (max-width: 640px),
handheld {
    #comment,
    #url,
    #author,
    #email,
    .wpcf7 textarea,
    .wpcf7 input {
        width: 90%;
    }
    #header {
        padding-top: 45px;
    }
    #top {
        position: static;
        margin-bottom: 10px;
    }
    #searchform {
        width: 100%;
    }
    #s {
        width: 90%;
    }
    #searchsubmit {
        left: 92%;
    }
    .news,
    .my-blog {
        width: 100%;
        background: none;
    }
}

.really_simple_twitter_widget li {
    position: relative;
    padding: 20px 10px;
    margin: 40px 0px;
    display: block;
    width: 160px;
}

.really_simple_twitter_widget li:first-child {
    width: 158px;
}

.really_simple_twitter_widget li * {
    display: block;
    position: static;
    margin-top: 10px;
}

.really_simple_twitter_widget li:before {
    content: '';
    display: block;
    margin: 0px;
    width: 184px;
    height: 7px;
    position: absolute;
    top: 0px;
    left: -1px;
}

.really_simple_twitter_widget li:after {
    content: '';
    display: block;
    margin: 0px;
    width: 184px;
    height: 15px;
    position: absolute;
    bottom: 0px;
    left: -1px;
}

.really_simple_twitter_widget li:first-child:after,
.really_simple_twitter_widget li:first-child:before {
    left: -2px;
}

.really_simple_twitter_widget li span.twitter-timestamp {
    padding-left: 20px;
}
