/*
Theme Name: ortho
Theme URI: http://www.tehranortopedy.com/
Author: Mohammad Cheraghi
Author URI: http://www.mohammadcheraghi.ir/
Description: A Dedicated Theme for tehranortopedy
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ortho
*/
/* --------------------------------

Wordpress Style

-------------------------------- */

.alignnone {
    margin: 5px 20px 20px 0
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px
}

a img.alignnone {
    margin: 5px 20px 20px 0
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}

a,
ul.search-ul li {
    transition: .2s all ease-in-out
}

.box-shadow,
body {
    position: relative
}

.wp-block-cover{
    height: auto;
}

/* --------------------------------

Primary style

-------------------------------- */
@font-face {
    font-family: 'iranyekanwebmediumfanum';
    src: url(assets/fonts/iranyekanwebmediumfanum.eot);
    src: url(assets/fonts/iranyekanwebmediumfanum.eot?#iefix) format('embedded-opentype'),
         url(assets/fonts/iranyekanwebmediumfanum.woff) format('woff'),
         url(assets/fonts/iranyekanwebmediumfanum.ttf) format('truetype')
}

body {
    direction: rtl;
    text-align: right;
    font-family: iranyekanwebmediumfanum;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin: 0;
    line-height: 30px;
    vertical-align: baseline;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

p {
    margin: 0;
    color: #8c8c8c;
}

a {
    transition: .2s all ease-in-out;
    -o-transition: .2s all ease-in-out;
    -ms-transition: .2s all ease-in-out;
    -moz-transition: .2s all ease-in-out;
    -webkit-transition: .2s all ease-in-out;
}

a:hover {
    text-decoration: none;
    transition: .2s all ease-in-out;
    -o-transition: .2s all ease-in-out;
    -ms-transition: .2s all ease-in-out;
    -moz-transition: .2s all ease-in-out;
    -webkit-transition: .2s all ease-in-out;
}

h1 {
    font-size: 46px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 17px;
}

h6 {
    font-size: 14px;
}

img {
    max-width: 100%;
    height: auto;
}

.container-fluid {
    padding-right: 85px;
    padding-left: 85px;
}

.caption{
    display: block;
    background-color: #0059ad;
    color: #fff;
    text-align: center;
    font-size: 16px;
    border-radius: 5px!important;
    margin: 2em 0;
	padding:1em 0;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.8);
}
.caption a{
    color: #fff;
    display: inline;
	text-decoration:underline;
}

.share-button{
	display: inline-block;
    border: 1px solid #9a9a9a;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #9a9a9a;
    margin-left: 10px;
}

.caption-border{
    display: block;
    color: #9a9a9a;
    text-align: center;
    font-size: 16px;
    margin: 2em 0;
	padding:1em 0;
	border-top:1px solid #0059ad;
	border-bottom:1px solid #0059ad;
}
.caption-border a{
    color: #9a9a9a;
    display: inline;
	text-decoration:underline;
}
/*
#d1029 #mylink2,
.postid-1029 #mylink2,
#d1028 #mylink2,
.postid-1028 #mylink2,
#d1935 #mylink2,
.postid-1935 #mylink2,
#d1026 #mylink2,
.postid-1026 #mylink2,
#d2197 #mylink2,
.postid-2197 #mylink2{
	display:none!important;
}

.doctors-links{
	display:none!important;
}

#d1027 .doctors-links,
#d1030 .doctors-links,
#d2736 .doctors-links,
.postid-1030 .doctors-links,
.postid-1027 .doctors-links,
.postid-2736 .doctors-links{
	display:block!important;
}
*/
.gform_wrapper input,
.gform_wrapper select{
	padding: 5px!important;
    height: auto!important;
    border: none!important;
    border-bottom: 1px solid #00b0ff!important;
    background: #00b0ff08!important;
}

#gform_submit_button_1{
	display: block!important;
    width: 98%!important;
    background-color: #4fb748!important;
    text-align: center!important;
    color: #fff;
}

.gform_confirmation_wrapper {
	background-color: #d5ffd2;
    padding: 10px;
}

.gform_confirmation_wrapper p{
	color:#000;
}