/*
Theme Name: Be The First In Iran
Author: Code and co
Version: 1.3
*/


/**
 * Table of Contents
 *
 * 1.0 - Normalize
 * 2.0 - Genericons
 * 3.0 - Typography
 * 4.0 - Elements
 * 5.0 - Forms
 * 6.0 - Navigation
 *   6.1 - Links
 *   6.2 - Menus
 * 7.0 - Accessibility
 * 8.0 - Alignments
 * 9.0 - Clearings
 * 10.0 - Widgets
 * 11.0 - Content
 *    11.1 - Header
 *    11.2 - Posts and pages
 *    11.3 - Post Formats
 *    11.4 - Comments
 *    11.5 - Sidebar
 *    11.6 - Footer
 * 12.0 - Media
 *    12.1 - Captions
 *    12.2 - Galleries
 * 13.0 - Multisite
 * 14.0 - Media Queries
 *    14.1 - >= 710px
 *    14.2 - >= 783px
 *    14.3 - >= 910px
 *    14.4 - >= 985px
 *    14.5 - >= 1200px
 * 15.0 - Print
 */


/**
 * 1.0 - Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */


body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}
*:focus{
	outline:none
}
audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

code,
kbd,
pre,
samp {
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

select {
	text-transform: none;
}

button {
	overflow: visible;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
	opacity: .5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 0.4375em;
	padding: 0;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button,
input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-outer-spin-button,
input[type="week"]::-webkit-inner-spin-button,
input[type="week"]::-webkit-outer-spin-button,
input[type="month"]::-webkit-inner-spin-button,
input[type="month"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #d1d1d1;
	margin: 0 0 1.75em;
	min-width: inherit;
	padding: 0.875em;
}

fieldset > :last-child {
	margin-bottom: 0;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

optgroup {
	font-weight: bold;
}

.main-navigation{float:left}
.banner-content p{
    font-size: 20px;
    color: #000;
    line-height: 26px;
    font-family: 'FuturaPT-Book';
}
div.wpcf7 img.ajax-loader{display:none}
.newsleter-box span.wpcf7-not-valid-tip{
    position: absolute;
    width: 150px;
    top: 73px;
	display: none;
}
div.wpcf7-validation-errors {
    border: 2px solid #f00;
    float: left;
    width: 100%;
    margin: 7px 0;
}
.banner_innerpage{display:inline-block; vertical-align:top; width:100%; position:relative;    margin-top: 105px;}
.banner_innerpage > img{width:100%;}
.banner_innerpage h2{position:absolute; padding:25px 0 15px;font-family: 'FuturaPT'; font-size:45px; color:#fff; text-transform:uppercase; background:rgba(0,0,0,0.5); display:inline-block; vertical-align:top; bottom:0px; left:0; right:0; margin:0}
.banner_innerpage h2 b{font-size:20px; font-weight:normal}
.line_div{width:100%; text-align:center; margin:0; padding:10px 0; display:inline-block; vertical-align:top; position:relative; margin-bottom:25px;}
.line_div:before, .line_div:after{position:absolute; top:0px; width:33%; height:5px; background:#3c9d58; display:inline-block; vertical-align:top; content:'';}
.line_div:before{left:0;}
.line_div:after{right:0; background:#ea3e3e}
.tabs_iran{list-style:none;margin:0; padding:0; width:100%; display:inline-block; vertical-align:top;    margin-bottom: 50px;}
.tabs_iran li{width:100%; display:inline-block; vertical-align:top; border-bottom:1px solid #ccc;-webkit-transition: all 0.50s ease-in;
	-moz-transition: all 0.50s ease-in;
	-o-transition: all 0.50s ease-in;
	transition: all 0.50s ease-in;}
.tabs_iran li:last-child{border-bottom:none}
.tabs_iran li > h3{padding:0px; margin:0; font-size:20px; font-weight:bold; background:url(images/tabs.png) left 13px no-repeat;font-family: 'FuturaPT-Demi';}
.tabs_iran li > h3 a{display:block; padding:15px 0 15px 38px; position:relative}
.col-lg-tabsli{float:left; width:100%;  overflow:hidden; height:0px; opacity:0; padding:0;}
.tabs_iran li.active_tab > .col-lg-tabsli{height:auto;opacity:1;padding:20px 0 50px;-webkit-transition: all 0.50s ease-in;
	-moz-transition: all 0.50s ease-in;
	-o-transition: all 0.50s ease-in;
	transition: all 0.50s ease-in;}
.tabs_iran li.active_tab > h3{background:url(images/tabs.png) left -110px no-repeat;}
.tabs_iran li.active_tab > h3 a:after, .tabs_iran li > h3:hover a:after{background:url(images/active_tab.png) 20% center no-repeat; width:165px; height:47px; display:inline-block; vertical-align:top; content:''; top:0px; margin-left:-60px; position:absolute}
.tabs_iran li#tabs_32 > h3 a:after{right:-50px; top:10px}
.col-lg-tabsli .col-lg-4{padding-left:0;}
.col-lg-tabsli .col-lg-8{padding-right:0;}
.col-lg-tabsli p, .page_text p{
    font-size: 20px;
    color: #464646;
    line-height: 26px;
    font-family: 'FuturaPT-Book'; margin:0 0 25px;
}
.tabs_iran li ul li {
	border-bottom: none;
	font-family: "FuturaPT-Book";
    font-size: 20px;
    line-height: 26px;
    margin: 0;
	display: list-item;
	list-style:outside circle !important;
}
.tabs_iran li ul { margin-bottom: 25px;}
.col-lg-tabsli p a{color:#ea3e3e}
.button_tabs{margin:15px 0; padding:0; width:100%; display:inline-block; vertical-align:top;}
.button_tabs a{font-family: 'FuturaPT-Demi';font-size:20px; font-weight:bold; padding:10px 25px; border-radius:5px;background: #ea3e3e; color:#fff; margin-right:10px;-webkit-transition: all 0.30s ease-in;
	-moz-transition: all 0.30s ease-in;
	-o-transition: all 0.30s ease-in;
	transition: all 0.30s ease-in;}
.button_tabs a:before{display:inline-block; vertical-align:top; content:''; background:url(images/arrow_btn.png) top left no-repeat; width:10px; height:13px; margin-right:5px; margin-top:8px;}
.button_tabs a:hover{background:#000}
.page-template-page-faqs .tabs_iran li.active_tab > .col-lg-tabsli{height:auto;opacity:1;}
.navbar-inverse .navbar-nav>li.current-menu-item > a, .navbar-inverse .navbar-nav>li>a:hover{
    color: #ea3e3e;
    border-bottom: 1px solid #ea3e3e;
}


.page-template-page-contact_us .page_text input[type="text"], 
.page-template-page-contact_us .page_text input[type="email"], 
.page-template-page-contact_us .page_text input[type="tel"],
.page-template-page-farsi .page_text input[type="text"], 
.page-template-page-farsi .page_text input[type="email"], 
.page-template-page-farsi .page_text input[type="tel"]{
    float: left;
    width: 100%;
    height: 46px; text-indent:15px;
    border-radius: 0;
	border: 1px solid #ccc;
    color: #535353;
    font-size: 18px;
    font-family: 'FuturaPT-Book';
    margin-bottom: 20px;
}
.page-template-page-contact_us .page_text textarea{
    float: left;
    width: 100%;
    height: 100px; text-indent:15px;
    border-radius: 0;
	border: 1px solid #ccc;
    color: #535353;
    font-size: 18px;
    font-family: 'FuturaPT-Book';
    margin-bottom: 20px;
}
.recaptcha_outer, .submit_outer{float:left;}
.submit_outer input[type="submit"]{
    float: left;
    width: 150px;
    background: transparent;
    height: 75px;
    border: 0;
    color: #000;
    font-size: 19px;
    font-family: 'FuturaPT-Demi';
    text-align: center;
    text-transform: uppercase;
    -o-transition: .4s;
    -ms-transition: .4s;
    -moz-transition: .4s;
    -webkit-transition: .4s;
    transition: .4s;
    margin-left: 20px;
    border: 1px solid;
}
.submit_outer input[type="submit"]:hover{
    background: #000;
	color:#fff;
	border: 1px solid #000;
}
.page-template-page-contact_us .page_text .wpcf7-not-valid-tip, .form_services .wpcf7-not-valid-tip{display:none!important}
.page-template-page-contact_us .wpcf7-not-valid, .form_services .wpcf7-not-valid,
input.wpcf7-not-valid{border-bottom:1px solid #F00!important;}
.page-template-page-contact_us .page_text .wpcf7-validation-errors{margin:5px 15px; width:calc(100% - 30px)}
.page-template-page-contact_us .page_text {margin-bottom:50px;}
body,html{display:inline-block; vertical-align:top; width:100%; min-height:100%;}
html{position:relative; padding-bottom:450px}
#footer_main{position:absolute; left:0; right:0; bottom:0px; width:100%; display:inline-block; vertical-align:top;}
.service_img_container{position:relative;}
.service_img_small{
    position: absolute;
    z-index: 1;
    right: 15%;
    height: 120px;
    bottom: -60px;
	box-shadow:0 0 5px #000;
} 

div.wpcf7-mail-sent-ok,
div.wpcf7-spam-blocked{ clear: both;}
div.wpcf7-mail-sent-ok {
    position: relative;
    top: 20px;
}
div.wpcf7-spam-blocked { 
	border-color: #f00;
    position: relative;
    top: 20px;
}
.clearfix { clear: both !important;}
#wpcf7-f9-p43-o1 {
    margin: 0 -15px 20px;
}
div.wpcf7-response-output { margin: 20px 15px 15px !important;}
.newsleter-box div.wpcf7-response-output { margin: 0 0 20px !important;}

.form_services div.wpcf7-response-output { margin: 10px 0 20px !important;}
.red-link { color: #EA3E3E !important;}
.red-link:hover { border-bottom: 1px solid #EA3E3E !important;}

#wpcf7-f59-o2 .wpcf7-response-output { margin-left: 0 !important; margin-right:0 !important;}
.newsleter-box .wpcf7 .wpcf7-form-control-wrap{display:inline-block; vertical-align:top;}
.newsleter-box .wpcf7 p{display:inline-block; vertical-align:top;}