/*
Theme Name: Button
*/

body
{
    direction: rtl;
    unicode-bidi: embed;
}

ul,
ol
{
    margin: 0 1.5em 1.5em 0;
    padding-right: 0;
    padding-left: 0;
}

li > ul,
li > ol
{
    margin-right: .75em;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

button,
input[type='button'],
input[type='reset'],
input[type='submit'],
#infinite-handle span button
{
    margin-right: 5px;
    margin-left: auto;
}

button + button,
button + input[type='button'],
button + input[type='reset'],
button + input[type='submit'],
input[type='button'] + button,
input[type='button'] + input[type='button'],
input[type='button'] + input[type='reset'],
input[type='button'] + input[type='submit'],
input[type='reset'] + button,
input[type='reset'] + input[type='button'],
input[type='reset'] + input[type='reset'],
input[type='reset'] + input[type='submit'],
input[type='submit'] + button,
input[type='submit'] + input[type='button'],
input[type='submit'] + input[type='reset'],
input[type='submit'] + input[type='submit'],
#infinite-handle span button + button,
#infinite-handle span button + input[type='button'],
#infinite-handle span button + input[type='reset'],
#infinite-handle span button + input[type='submit']
{
    margin-right: .75em;
    margin-left: auto;
}

#infinite-handle span:hover button,
#infinite-handle span button:hover
{
    margin-right: 5px;
    margin-left: auto;
}

textarea
{
    padding-right: 3px;
    padding-left: 0;
}

.main-navigation li li
{
    padding-right: 1.5em;
    padding-left: 0;
}

.main-navigation li li li
{
    padding-right: 2.25em;
    padding-left: 0;
}

.main-navigation li li li li
{
    padding-right: 3em;
    padding-left: 0;
}

.main-navigation li li li li li
{
    padding-right: 3.75em;
    padding-left: 0;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous
{
    float: right;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next
{
    float: left;

    text-align: left;
}

.social-links ul a:after
{
    right: 3px;
    left: auto;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus
{
    right: 5px;
    left: auto;
}

.alignright
{
    float: right;

    margin-right: auto;
    margin-left: 1.5em;
}

.alignleft
{
    float: left;
    margin-right: 1.5em;
    margin-left: auto;
}

.aligncenter
{
    margin-right: auto;
    margin-left: auto;
}

.widget select
{
    margin-right: 1px;
    margin-left: auto;
}

.widget ul li li
{
    padding-right: 1.5em;
    padding-left: 0;
}

.widget ul li li li
{
    padding-right: 3em;
    padding-left: 0;
}

.widget ul li li li li
{
    padding-right: 4.5em;
    padding-left: 0;
}

.widget-title:before
{
    margin-right: auto;
    margin-left: .45em;
}

td#next
{
    text-align: left;
}

.format-link .entry-title a:after
{
    margin-right: 4px;
    margin-left: auto;
}

.featured-image .shadow
{
    right: 0;
    left: auto;
}

.featured-image:before,
.featured-image:after
{
    right: 0;
    left: auto;
}

.featured-image:after
{
    right: auto;
    left: 0;
}

.featured-image > .corners:before,
.featured-image > .corners:after
{
    right: 0;
    left: auto;
}

.featured-image > .corners:after
{
    right: auto;
    left: 0;
}

.entry-meta > span:after
{
    margin-right: .75em;
    margin-left: auto;
}

.tags-links a,
.tags-links a:visited,
.widget_tag_cloud a,
.widget_tag_cloud a:visited
{
    margin-right: auto;
    margin-left: 1.5em;
    padding: 2px 5px 2px 1px;
}

.tags-links a:last-of-type,
.tags-links a:visited:last-of-type,
.widget_tag_cloud a:last-of-type,
.widget_tag_cloud a:visited:last-of-type
{
    margin-right: auto;
    margin-left: 0;
}

.tags-links a:hover:after,
.tags-links a:visited:hover:after,
.widget_tag_cloud a:hover:after,
.widget_tag_cloud a:visited:hover:after
{
    border-right-color: #f78769;
}

.tags-links a:before,
.tags-links a:visited:before,
.widget_tag_cloud a:before,
.widget_tag_cloud a:visited:before
{
    right: -8px;
    left: auto;

    border-right-width: 8px;
    border-right-color: transparent;
    border-left-width: 0;
    border-left-color: transparent;
}

.menu-toggle:before {
    margin-left: 6px;
    margin-right: auto;
}
.tags-links a:after,
.tags-links a:visited:after,
.widget_tag_cloud a:after,
.widget_tag_cloud a:visited:after
{
    right: auto;
    left: -12px;
    border-right-color: #bbb;
    border-left-width: 0;
    border-left-color: transparent;
    border-right-width: 12px;
}

/* =Comments */
.comments-title small,
.comment-reply-title small
{
    float: left;
}

.comment-meta .comment-metadata
{
    margin-right: 80px;
    margin-left: auto;
}

.comment-meta .comment-author .avatar
{
    float: right;
}

.comment-meta .comment-author .fn
{
    margin-right: 80px;
    margin-left: auto;
}

.comments-area .edit-link:before
{
    margin: 0 .75em 0 .875em;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label
{
    right: 0;
    left: auto;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input
{
    padding-right: 6em;
    padding-left: 0;
}

.wp-caption img[class*='wp-image-']
{
    margin-right: auto;
    margin-left: auto;
}

@media only screen and (min-width: 40.063em)
{
    .main-navigation ul ul
    {
        right: -999em;
        left: auto;
        float: right;
        text-align: right;
    }

    .main-navigation ul ul ul
    {
        right: -999em;
        left: auto;
    }

    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li.focus > ul
    {
        right: 100%;
        left: auto;
    }

    .main-navigation ul ul li.menu-item-has-children > a:before,
    .main-navigation ul ul li.page_item_has_children > a:before
    {
    	-webkit-transform: rotate(90deg);
    	transform: rotate(90deg);
        right: auto;
        left: .75em;
    }

    .main-navigation ul li:hover > ul,
    .main-navigation ul li.focus > ul
    {
        right: auto;
        left: auto;
    }

    .main-navigation li a:after
    {
        margin-right: 1em;
        margin-left: auto;
    }

    .main-navigation li.menu-item-has-children a:after,
    .main-navigation li.page_item_has_children a:after
    {
        padding-right: 1.3em;
        padding-left: 0;
    }

    .main-navigation li.menu-item-has-children > a:before,
    .main-navigation li.page_item_has_children > a:before
    {
        right: auto;
        left: 1.3em;
    }
}

@media only screen and (min-width: 64.063em)
{
    .content-area
    {
        float: right;

        margin: 0 0 0 -25%;
    }

    .site-main
    {
        margin: 0 0 0 25%;
    }

    .site-content .widget-area
    {
        float: left;
    }
}
