/*
Theme Name: VETS
Theme URI: http://themeforest.net/user/egemenerd/portfolio
Description: VETS - Veterinary Medical Health Clinic Theme
Author: egemenerd
Author URI: http://themeforest.net/user/egemenerd
Version: 1.0
License: http://themeforest.net/licenses
License URI: http://themeforest.net/licenses
Tags: custom-menu, custom-header, custom-background
*/

/* ---------------------- 
Stylesheet Guide
-------------------------

GENERAL STYLES
GRID
MAIN MENU
NEWS
COMMENTS
SIDEBAR
FORMS
WIDGETS
SOCIAL ICONS
BACK TO TOP BUTTON
TESTIMONIALS
SINGLE VET
GALLERY
ACCORDION
FLICKR
INFO BOX
MEDIA

*/

/* ================= GENERAL STYLES ================== */

dd {
  margin: 0 40px 0 0;
}

menu,
ol,
ul {
  padding: 0 40px 0 0;
}

legend {
  *margin-left: 0;
  *margin-right: -7px; /* 3 */
}

body {
    direction: rtl;
    unicode-bidi: embed;
}
caption,
th,
td {
	text-align: right;
}
blockquote {
    padding: 40px 100px 40px 40px;
}
blockquote:before {
	right: 0px;
}
blockquote:after {
	text-align: right;
	right: 17px;
}
blockquote cite {
    text-align: left;
}
.ns_nerveSlider .ns_slideContent {
    direction: rtl;
}
/* ================= GRID ================== */

.grid .unit {
    float: right;
}
.grid .unit:first-child {
    padding-right: 20px;
}
.grid .unit:last-child {
    padding-left: 20px;
}
.unit .unit:first-child {
    padding-right: 0;
}
.unit .unit:last-child {
    padding-left: 0;
}

/* ================= MAIN MENU  ================== */

.logo {
    float: right;
    padding-right: 40px;
    padding-left: 0px;
}
.logo img {
    padding-left: 40px;
    padding-right: 0px;
}
.toggleMenu {
    right: 0;
    left: inherit;
    background-position: 5% 50%;
}
#nav {
    float: left;
}
.nav {
    padding-left: 40px;
    padding-right: 0px;
    float: left;
}
.nav > li {
    float: right;
}
.nav li ul {
    right: -9999px;
    left: 0px;
}
.nav > li.hover > ul {
    right: 0;
}
.nav li li.hover ul {
    right: 100%;
    left: inherit;
}
.nav .iclflag {
    margin-right: 0px !important;
    margin-left: 10px !important;
}
/* ================= NEWS ================== */
.blogimage {
    right:0;
}
.blogimage a{
    right:0;
}
.postcontent {
    float: left;
}
.previous {
    float:right;
}
.next {
    float:left;
    text-align:left;
}
.featured-image-date p {
    padding-right: 35px;
    background-position: right center;
}
/* ================= COMMENTS ================== */
.comments_block .children li {
    background-image: url(images/reply2.png);
    background-repeat: no-repeat;
    background-position: right 10px;
    padding-right: 60px;
    padding-left: 0px;
}
.comments_block .children li ul li {
    padding-right: 0px;
}
/* ================= SIDEBAR ================== */
.sidebar-list li {
    padding-right: 0px;
}
.sidebartabs .resp-tabs-container img {
    display: none;
}
.tab-posts li{
    float: right;
}
.resp-tabs-list li {
    float: right;
}
.resp-vtabs ul.resp-tabs-list {
    float: right;
}
.resp-vtabs .resp-tabs-container {
    float: right;
}
.resp-arrow {
    float: left;
}
.resp-vtabs .resp-tabs-list li:hover,.resp-vtabs .resp-tabs-list li.resp-tab-active {
    border-left: none !important;
}
/* ================= FORMS ================== */
.searchbox input[type="text"].searchtext {
    float: right;
}
.searchbox .button {
    float: left;
    margin-right: -1px;
    margin-left: 0px;
}
div.wpcf7-mail-sent-ok,div.wpcf7-mail-sent-ng,div.wpcf7-spam-blocked,div.wpcf7-validation-errors {
	border-width: 0px 3px 0px 0px !important;
}
/* ================= WIDGETS ================== */
.widget_recent_entries ul li,
.widget_categories ul li,
.widget_recent_comments ul li,
.widget_pages ul li,
.widget_meta ul li,
.widget_archive ul li,
.widget_rss ul li,
.widget_recent-posts ul li,
.recentcomments{
    padding-right: 0px;
}
.widget_nav_menu ul ul {
    padding: 0px 15px 0px 0px;
}
.credits {
    float: right;
}
.tagcloud a {
    float: right;
    margin-left: 5px;
    margin-right: 0px;
}
/* calendar widget */

#wp-calendar caption {
    text-align: left;
}
#wp-calendar thead th {
    text-align: center;
}
#wp-calendar tfoot #next {
    text-align: left;
}
/* ================= SOCIAL ICONS ================== */

.social-icons {
    float: left;
}
.social-icons li {
    float: right;
    margin: 0px 15px 0px 0px;
}
/* ================= BACK TO TOP BUTTON ================== */
.back-to-top {
    left: 5px;
    right: inherit;
}
/* ================= TESTIMONIALS ================== */
.testimonial-image img {
    float: right;
    margin-right: 0px;
    margin-left: 20px;
}
.testimonial .testimonial-text:before {
    right: 30px;
    left: inherit;
    margin-right: 0px;
}

/* ================= SINGLE VET ================== */

.vet-icons li {
    float: right;
    margin: 0px 0px 0px 5px;
}

/* ================= GALLERY ================== */

.gallerycontent {
    float: left;
}
.galleryimage {
    right:0;
    left: inherit;
}
.galleryimage a{
    right:0;
    left: inherit;
}
#lightGallery-Gallery .thumb_cont .thumb_info .count {
	visibility: hidden !important;
}
/* ================= ACCORDION  ================== */
.accordion-header {
	padding: 20px 0px 20px 20px;
}
.active-header {
	background-position: left 50%;
}
.inactive-header {
	background-position: left 50%;
}
.inactive-header:hover {
	background-position: left 50%;
}
/* ================= FLICKR  ================== */
.flickr-box li {
    float:right;
    margin-left:5px;
    margin-right: 0px;
}
.flickr-box li:last-child {
    margin-left:0px;
}
/* ================= INFO BOX ================== */
.vet-message-close {
    left:5px;
    right: inherit;
}
@media only screen and (max-width: 1400px) {
    .page-title {
        padding: 300px 0px 0px 0px;
    }
    #google-map {
        height: 420px;
    }
}
/* ================= MEDIA ================== */
@media only screen and (max-width: 768px) {
    .resp-vtabs .resp-tabs-container {
        float: none;
    }
    .resp-tab-active {
        border: none !important;
    }
    .resp-accordion-closed {
        display: none !important;
    }
    .postcontent,.gallerycontent {
        float:none;
    }
}
@media only screen and (max-width: 900px) {
    .nav-container {
        position: relative;
        z-index:inherit;
    }
    .nav > li {
        float: none;
    }
    .nav > li > .parent {
        background-position: 5% 50%;
    }
    .nav li li .parent {
        background-position: 5% 50%;
    }
    .nav li li .parent:hover {
        background-position: 5% 50%;
    }
    .nav {
        float: none;
        line-height: 40px;
        padding-left: 0px;
    }
    .nav ul {
        display: block;
        width: 100%;
    }
    .nav > li.hover > ul,
    .nav li li.hover ul {
        position: static;
    }
}
@media only screen and (max-width: 768px) {
    blockquote {
        padding-right:40px;
    }
}
@media only screen and (max-width: 640px) {
    .comments_block .children li {
        padding-right: 0px;
        background-image: none;
    }
}
@media only screen and (max-width: 480px) {
    .comments_content {
        padding-left: 0px;
    }
}