/*
Theme Name: Nevia

Adding support for language written in a Right To Left (RTL) direction is easy -
it's just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.

http://codex.wordpress.org/Right_to_Left_Language_Support

*/

body { direction: rtl; unicode-bidi: embed; font-family: Ariel !important; }
h4 { font-size: 24px; line-height: 30px; }
p { text-align: justify; font-family: Arial !important; }

#header { min-height: 100px; }
#content h1, h2, h3, h4, h5, h6 { font-family: Arial !important; }

.widget .cf7_widget_subheading { font-size: 16px; font-family: Arial !important; }

.container .column, .container .columns { float: right; }
#logo h2, #logo h1 { float: right; }
#tagline { border-left: none; border-right: 1px solid #e8e8e8; margin: 0 20px 0 0; padding: 5px 20px 5px 0; float: right; }

.social-icons { float: left; }
.contact-details { float: left; color: #E91808 !important; font-size: 14px; }

#navigation { margin-right: -10px; float: right; right: 1px; left: auto; margin-left: 0; }
#navigation ul li:first-child { margin-right: -8px; margin-left: 0px; }
#navigation ul li ul li:first-child, #navigation ul li ul li ul li:first-child { margin-right: 0; }

.menu, .menu ul { float: right; }
.menu ul { left: auto; right: -1px; }
.menu i.halflings { margin: 1px -5px 0 5px; }
.menu > li { float: right; }
.menu > li > a { border-right:none; border-left: 1px solid #666; }
.menu > li > a:hover { border-right:none; border-left: 1px solid #707070; margin: 0; }
.menu .col1, .menu .col2, .menu .col3, .menu .col4, .menu .col5 { float: right; }

.container .floated { float: right; }
.container .month { padding: 0px 8px 2px 8px; }
.page-title h1, .page-title h2 { float: right; }
#breadcrumbs ul { float: left; }
#breadcrumbs ul li:first-child { padding-left: 0; margin-right: 0; }
#breadcrumbs ul li { padding: 0 0 0 11px; margin: 0 5px 0 0; background: url(images/breadcrumbs-rtl.png) no-repeat 0% 50%;}

.icon-box-container { margin: 30px 0 35px 0; float: right; }
.icon-box i { float: right; }
.icon-box p, .icon-box h3 { margin-left: 0; margin-right: 45px; }

.carousel-navi { margin: -10px 0 20px 0; float: right; }
.arl i, .arr i { margin: 3px 10px 0 0; }
.blank.floated { margin-left: 0; margin-right: -30px; }

.dropcap { float: right; padding-right: 0; padding-left: 10px; }

#searchsubmit, .search-btn-widget { float: left; margin: 0 -35px 0 0; }

blockquote { border-right: 3px solid #e8e8e8; border-left: none; padding-right: 20px; padding-left: 0; margin: 5px 15px 20px 0px; }

.container section.date { float: right; }
.entry, .recent-blog h4, .recent-blog p { margin-left: 0; margin-right: 60px; }
.post-content { margin: 0 63px 0 0; }
.medium-image { float: right; margin: 0 0 0 20px; }
.medium-content { float: right; margin-left: 0; margin-right: 60px; }
.testimonials-bg { background: url(images/testimonials-bg-rtl.png) no-repeat; margin-right: 25px; width: 20px; }
.testimonials-author { float: left; }

#sub-menu { float: left; }
#sub-menu ul li:first-child { padding-left: 8px; padding-right: 0; }
#sub-menu ul li:last-child { padding-right: 8px; padding-left: 0; }
#sub-menu ul li { border-left: none; border-right: 1px solid #505050; }

.floated.sidebar.left { padding: 0 20px; width: 260px; }

/* ===== Contact Form ====== */
.container .wpcf7 { display: inline-block; width: 40%; }
.widget .wpcf7 { width: 100%; }
.container .wpcf7 .wpcf7-form { display: inline-block; }
.wpcf7-form div { display: flow-root; width: 100%; }
.wpcf7-form div.wpcf7-display-none { display: none; }
.wpcf7-form > div > label { width: 20%; float: right; margin: 5px 0; }
.wpcf7-form div .wpcf7-form-control-wrap { width: 75%; float: left; margin: 2px 2%; }
.wpcf7-form div .wpcf7-form-control-wrap.checkbox { width: 95%; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="email"] {
	border: 1px solid #e0e0e0;
    padding: 4px 5px;
	margin: 4px 0;
    outline: none;
    font-size: 14px;
    color: #888;
    margin: 0;
    max-width: 100%;
    display: block;
    background: #fff;
    -webkit-box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.03);
    box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.03);
    border-radius: 2px;
}
.wpcf7-form textarea { max-width: 100; min-width: 100%; width: 100%; }
.container .wpcf7-form input[type="text"], .container .wpcf7-form input[type="tel"], .container .wpcf7-form input[type="email"] { width: 300px; }
.widget .wpcf7-form input[type="text"], .widget .wpcf7-form input[type="tel"], .widget .wpcf7-form input[type="email"] { width: 250px; }

/* ===== accordion ===== */
.ui-accordion .ui-accordion-icons { padding-left: 0; padding-right: 50px; }
.ui-accordion .ui-accordion-header .ui-accordion-header-icon { left: auto; right: 20px; }
.ui-accordion-icon, .ui-accordion-icon-active { float: right; margin: 5px 0 0 10px; }
.trigger a { padding: 14px 20px 15px 0; }
.toggle-icon { float: right; margin: 5px 0 0 10px; }

/* ===== skill-bar ===== */
.skill-bar .skill-title { left: auto; right: 15px; }

/* ===== tabs ===== */
.tabs li, .tabs-nav li { float: right; }
.tabs li:first-child a, .tabs-nav li:first-child a { border-left: none; border-right: 1px solid #e0e0e0; }
.tabs li a, .tabs-nav li a { border-left: none; border-right: 1px solid #e0e0e0; }
.tabs li:last-child a, .tabs-nav li:last-child a { border-left: 1px solid #e0e0e0; }

/* ===== table ===== */
table.standard-table th { border: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0; border-left: none; text-align: right; }
table.standard-table th:last-child { border-left: 1px solid #e0e0e0; }
table.standard-table td { border-right: #e0e0e0 1px solid; border-left: none; }
table.standard-table td:last-child { border-left: 1px solid #e0e0e0; }

/* ===== list ===== */
.check-list ul, .sign-list  ul, .star-list ul, .plus-list ul { padding: 0; }
.check-list li { background: url(images/icon-list-check.png) no-repeat right 3px; padding: 0 18px 0 0; }
.sign-list li { background: url(images/icon-list-sign.png) no-repeat right 3px; padding: 0 18px 0 0; }
.star-list li { background: url(images/icon-list-star.png) no-repeat right 3px; padding: 0 18px 0 0; }
.plus-list li { background: url(images/icon-list-plus.png) no-repeat right 3px; padding: 0 18px 0 0; }

.the-icons { padding: 0; list-style: none outside !important; }
.the-icons li i { float: right; margin: 0 0 0 3px; }

.glyphicons { padding: 0; list-style: none outside !important; }
.glyphicons li i { float: right; margin: 0 0 0 5px; }

.filters-dropdown:after { right: auto; left: 12px; }

/* ===== contact ===== */
.contact-details-alt li i { float: right; }
.contact-details-alt li p strong { float: right; margin: 0 0 5px 5px; }
.contact-details-alt p { margin: -2px 22px 0 0; }

/* ===== comments ===== */
.avatar { float: right; }
.comment-des { float: right; margin: -60px 81px 0 0; }
.arrow-comment { float: right; background: url(images/comment-arrow-rtl.png) no-repeat; margin-left: 0; margin-right: -30px; }
.comment-by { float: right; }
.comment-des strong { float: right; padding-right: 0; padding-left: 5px; }
.comment-by span.reply { float: left; }
.comment-des span { float: right; }
.comment-by span.reply a { float: left; margin-left: 0; margin-right: 5px; }
.comment-by span.date { padding-right: 0; padding-left: 7px; float: left; }

div.fileInput { position: relative; cursor: pointer; overflow: hidden; height: 43px; }
#actualFile { position: relative; text-align: right; float: right; -moz-opacity: 0; filter: alpha(opacity = 0); opacity: 0; z-index: 2; height: 42px; cursor: pointer; font-size: 180px; right: 0; }
div.fakeFile { position: absolute; top: 0px; left: 0px; z-index: 1; min-width: 100%; height: 40px; }
#fakeFileName { height: 20px; border-radius: 4px 0px 0px 4px; border-top: 1px solid #d4d4d4; border-left: 1px solid #d4d4d4; border-bottom: 1px solid #d4d4d4; border-right: 1px solid #d4d4d4; box-shadow: 1px 1px 1px 1px #f1f1f1 inset; padding: 10px 15px 10px 15px; font-size: 16px; width: 75%; color: #808083; visibility: hidden; outline-style: none; }
#fakeBrowse { width: 20%; height: 42px; background: #afafaf; border-radius: 0 4px 4px 0; border-top: 1px solid #a4a4a4; border-left: 1px solid #a4a4a4; border-bottom: 1px solid #555; border-right: 1px solid #555; box-shadow: 1px 1px 0 #bebebe inset; color: #fff; font-size: 15px; padding: 8px 20px; text-decoration: none; visibility: hidden; }
#scanButton { float: none; background: #00a6dd; border-radius: 4px 4px 4px 4px; border-top: 1px solid #a4a4a4; border-left: 1px solid #a4a4a4; border-bottom: 1px solid #555; border-right: 1px solid #555; box-shadow: 1px 1px 0 #30b7e3 inset; color: #fff; font-size: 20px; padding: 15px 25px; text-decoration: none; text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.15); cursor: pointer; height: 60px; position: relative; z-index: 2; margin-top: 20px; margin-bottom: 45px; display: block; visibility: hidden; }
#scanButton:hover { background: #009ed2; }
div#engines a img { float: right; margin: 1em 0 0 1em; }

/* div.textwidget { display: inline-block; width: 100%; background-color: #ffffff; }
div .textwidget a { display: block; width: 33%; float: right; }
div.textwidget a img { float: right; margin-top: .5em; margin-left: 3%; max-width: 100% !important; } */
.ls-videopreview { display: none !important; }
.page-content ul, .post-content ul { padding-right: 30px; padding-left: 0px; }



@media only screen and (max-width: 959px) and (min-width: 768px) {
	#logo h2, #logo h1 { width: 185px; }
	#tagline { margin: 0 10px 0 0; padding: 5px 10px 5px 0; }
	.menu > li > a { padding: 15px 10px 16px 10px; }
	.floated.sidebar.left { padding: 0 10px; width: 250px; }
	.container .eleven.columns, .container .eleven.floated { width: 410px; }
	.container .floated { padding: 0 18px; }
	div#engines a img { width: 29%; }
	#footer-bottom .container .eight.columns { width: 360px; }
	.container .five.columns { width: 260px; }
	.container .nine.columns { width: 325px; }
	.container .two.columns { width: 50px; }	
}

@media only screen and (max-width: 767px) /* and (min-width: 480px) */ {
	#logo h2, #logo h1 { float: none; }
	#logo a img { float: none; margin: 0 auto; }
	#navigation { margin: 0 0 10px; }
	.selectnav { padding: 10px; margin: 0 auto; font-size: 12px; float: none; }
	.page-title h1, .page-title h2 { padding: 10px 0; }
	.page-title { padding-bottom: 10px !important; }
	.container .four.floated { width: 380px; }
	.widget { margin: 10px 0 0 0; }
	#outerdiv { margin: 0 auto; }
	.sidebar, .page-content { padding: 20px 0; }
	div .textwidget > a { height: 6.5em; }	
	.container .two.columns { width: 50px; }
	.container .nine.columns { width: 310px }
	.container .nine.columns p { font-size: 14px; }
	.container .five.columns iframe { margin: 0 45px; float: none; width: 270px; }
}

@media only screen and (max-width: 479px) {
	.container .four.floated { width: 280px; }
	div#engines { width: 100%; background-color: #ffffff; }
	div#engines a { width: 33%; float: right; }
	div#engines a img { width: 100%; }
	.container .five.columns iframe { margin: 0 !important; }
	.container .nine.columns { width: 260px !important; }
	.container .nine.columns p { font-size: 12px; }
	.container .two.columns { display: none; visibility: hidden; }
}
