@charset "utf-8";
/*
Theme Name: Yazdtennis
Theme URI: http://2tia.com/
Author: Mojtaba Anisi
Author URI: http://2tia.com/
Date: June 8, 2016
Description:
Version: 1.0
Text Domain: yazdtennis
*/

@font-face {
    font-family: 'vazir';
    src: url('font/vazir.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'vazir';
    src: url('font/bvazir.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'shabnam';
    src: url('font/shabnam.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'vazir';
    src: url('font/bshabnam.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

[class^="icon-"].correct:before, [class*=" icon-"].correct:before {
    position: relative;
    top: 4px;
}

body#index main{
    margin-bottom: 15px;
}
a.light {
    color: #ebebeb;
}

a.light:hover, a.light:focus {
    color: #fff;
    text-decoration: none;
}

a:hover, a:focus {
    text-decoration: none;
}

.form-control {
    box-shadow: none;
}

/* Home Page */
#full-width-slider {
    min-height: 550px;
    background-image: url(img/slider/slide1.jpg);
    background-position: center;
    background-size: cover;
}

#home-page #top-nav {
    margin-top: 30px;
}

#top-nav .icon-search {
    position: absolute;
    cursor: pointer;
    z-index: 1
}

.tooltip-inner {
    white-space: nowrap;
    max-width: none;
}

#top-nav i {
    font-size: 1.5em;
    text-shadow: 0px 0px 2px rgba(150, 150, 150, 1);
}

#top-nav li {
    display: table-cell;
    vertical-align: top;
    position: relative;
}

#top-nav input {
    outline: none;
    display: inline-block;
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    z-index: 2;
    position: relative;
    cursor: pointer;
    width: 0;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    opacity: 0;
}

#top-nav input::-webkit-search-decoration, #top-nav input::-webkit-search-cancel-button {
    display: none;
}

#top-nav input:focus {
    width: 300px;
    opacity: 1;
    cursor: text;
}

#home-page header {
    position: relative;
    padding: 40px 0 40px 0;
}

#home-page header #logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#home-page #reservasion .inner {
    position: absolute;
    top: -230px;
    padding: 20px 50px 20px;
    border-radius: 8px;
    background-color: #2995c3;
}

#home-page #reservasion #reservation-logo {
    margin-bottom: 30px;
    width: 70%;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

#home-page #reservasion {
    color: #fff;
    font-weight: bold;
    font-size: 1.2em
}

#home-page #reservasion i {
    font-size: 1.5em;
}

#home-page #menu {
    background: #6eaa0a;
    text-align: center;
}

#home-page #menu .inner {
    background: top center url(img/tennis-yard.svg) no-repeat;
    background-size: contain;
    margin-top: 50px;
    padding-bottom: 129px;
}

#home-page #menu a {
    background-color: #fff;
    color: #6eaa0a;
    font-size: 3.7em;
    text-decoration: none;
}

#home-page #menu ul {
    max-height: 400px;
    padding: 98px 100px 160px;
}

#home-page #menu li {
    margin-bottom: 60px;
}

#home-page #menu li .title {
    font-family: shabnam;
    color: #fff;
    margin-top: 10px;
    display: block;
    font-size: 1.8em;
}

#home-page #about {
    background-color: #2995c3;
    color: #fff;
}

#home-page #about .inner {
    padding: 50px 0;
}

#home-page #about h2 {
    border-bottom: solid 1px #fff;
    border-top: solid 1px #fff;
    padding: 10px 0 10px;
}

#home-page #about #gallery li {
    padding: 0;
    overflow: hidden;
}

#home-page #about #gallery li img {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

#home-page #about #gallery li img:hover {
    transform: scale(1.2);
}

#map {
    height: 300px
}

img.ajax-loader{
	width: auto !important;
}

/* Fresco */
.fr-info {
    text-align: right;
}
.fr-caption{
	font-family: vazir,Tahoma;
}

/* Index */
#header {
    background-color: #dbdbdb;
    padding-top: 15px;
}

body:not(#home-page) #top-nav {
    margin-top: 10px;
}

body:not(#home-page) #top-nav a {
    color: #5a5a5a;
}

body:not(#home-page) #top-nav a:hover, #index #top-nav a:focus {
    color: #6eaa0a;
}

body:not(#home-page) #top-nav ul {
    margin-bottom: 0;
}

body:not(#home-page) #logo img:nth-of-type(2) {
    width: 200px;
}

body:not(#home-page) #logo img:nth-of-type(1) {
    display: block;
    margin-left: 5px;
}

body:not(#home-page) .navbar {
    margin-bottom: 0;
    margin-top: 15px;
}

body:not(#home-page) .navbar .navbar-brand {
    color: rgba(255, 255, 255, 1);
}

body:not(#home-page) .navbar {
    font-size: 14px;
    background-color: rgba(110, 170, 10, 1);
    border-width: 0px;
    border-radius: 0px;
}

body:not(#home-page) .navbar .navbar-nav > li > a {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(110, 170, 10, 1);
}

body:not(#home-page) .navbar .navbar-nav > li > a:hover, body:not(#home-page) .navbar .navbar-nav > li > a:focus {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(136, 196, 37, 1);
}

body:not(#home-page) .navbar .navbar-nav > .active > a, body:not(#home-page) .navbar .navbar-nav > .active > a:hover, body:not(#home-page) .navbar .navbar-nav > .active > a:focus {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(136, 196, 37, 1);
}

body:not(#home-page) .navbar .navbar-toggle {
    border-color: #88c425;
}

body:not(#home-page) .navbar .navbar-toggle:hover, body:not(#home-page) .navbar .navbar-toggle:focus {
    background-color: #88c425;
}

body:not(#home-page) .navbar .navbar-toggle .icon-bar {
    background-color: #88c425;
}

body:not(#home-page) .navbar .navbar-toggle:hover .icon-bar, body:not(#home-page) .navbar .navbar-toggle:focus .icon-bar {
    background-color: #6eaa0a;
}

#index article img {
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

#index article {
    margin-top: 20px;
}

#index article p {
    min-height: 87px;
}

article footer {
    border-bottom: 1px solid #cecece;
    border-top: 1px solid #cecece;
}

article footer ul {
    margin: 7px 0
}

article footer .share-buttons {
    font-size: 1.5em;
    margin: 0;
    margin-top: 4px;
}

article footer .share-buttons i::before {
    margin: 0;
}

article footer .share-buttons a {
    color: #c4c4c4;
}

article footer .share-buttons a:hover .icon-gplus-circled, article footer .share-buttons a:focus .icon-gplus-circled {
    color: #dc4a38;
}

article footer .share-buttons a:hover .icon-facebook-circled, article footer .share-buttons a:focus .icon-facebook-circled {
    color: #3b5998;
}

article footer .share-buttons a:hover .icon-twitter-circled, article footer .share-buttons a:focus .icon-twitter-circled {
    color: #5ea9dd;
}

article footer .share-buttons a:hover .icon-linkedin-circled, article footer .share-buttons a:focus .icon-linkedin-circled {
    color: #007bb6;
}

article header h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

/* Post */
#post article header h2, #gallery  header.post-title h2{
    color: #2995c3
}
#post article img {
    width: 100%;
}

#post article {
    margin-bottom: 20px;
}

#post main, #staff main, #gallery aside {
    margin: 20px 0;
}

#post article .post-content {
    margin-top: 15px;
}

#reservation-banner {
    display: block;
    background-color: #2995c3;
    border-radius: 6px;
    padding: 20px 30px;
    margin-bottom: 20px;
}

#reservation-banner img {
    display: block;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}

/* Sidebar */
.widget .content {
    padding: 15px;
    background-color: #e4e4e4;
}

.widget .title h2 {
    font-size: 1.6em;
    color: #1c6584;
    margin: 0;
}

.widget .title {
    margin-bottom: 10px;
}

.widget:not(:nth-of-type(1)) .title {
    margin-top: 10px;
}

.widget ul {
    margin: 0;
}

.widget:not(#related-posts) ul li:not(:first-of-type) {
    padding-top: 8px;
}

.widget ul li:not(:last-of-type) {
    padding-bottom: 8px;
    border-bottom: dashed 1px #dadada;
}

.widget article {
    margin-bottom: 0 !important;
}

.widget article h1 {
    font-size: 1.2em;
    margin-top: 0;
line-height: 1.5em;
}

.widget img {
    border: 1px solid #6b6b6b;
}
/* Staff */
#staff article.staff{
	background-color: #2995c3;
	padding: 15px;
	color: #fff;
	margin-bottom: 15px;
}
#staff article.staff .media-left{
	text-align: center;	
}
#staff article.staff p{
	background-color: #88c425;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	font-size: 5em;
	font-weight: bold;
	padding: 0.16em 0.41em;
	margin: 10px 0 5px;
}
#staff article.staff ul{
	margin-bottom: 0;
	padding-left: 25px;
}
#staff article.staff ul > li{
	padding-top: 4px;
	padding-bottom: 4px;
}
#staff article.staff ul > li:not(:last-child):not(:nth-of-type(5)){
	border-bottom: 1px solid #71bdde;
}
#staff article.staff ul > li > span{
	display: inline-block;
	width: 150px;
}
#staff article.staff img{
	border: 6px solid #71bdde;
}
/* Gallery */
body#gallery .galleries .group .inner{
    border: 1px solid #b7b7b7;
    padding: 10px;
    background-color: #e0e0e0;
}
body#gallery .galleries:first-of-type
{
    margin-top: 15px;
}
body#gallery .galleries:nth-of-type(2)
{
    margin: 15px 0;
}
body#gallery .group{
    margin-bottom: 15px;
}
body#gallery .group h1{
    margin: 0;
    font-size: 1.4em;
}
body#gallery .group h1 i
{
    color: #2995c3;
}
body#gallery article{
    border: 1px solid #b7b7b7;
}
body#gallery .gallery{
    position: relative;
margin-bottom: 20px;
}
body#gallery .gallery img{
    width: 100%;
}
body#gallery .gallery header{
    position: absolute;
    padding: 5px;
    bottom: 1px;
    right: 16px;
    left: 16px;
    background-color: #e0e0e0;
    width: auto;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}
body#gallery .gallery:hover header
{
    padding: 20px 0;
    background-color: rgba(224, 224, 224, 0.8);
}
body#gallery .gallery header h2{
    color: #5a5a5a;
    text-align: center;
    font-size: 1.1em;
    font-family: vazir;
    margin: 0;
}
/* Footer */
#footer {
    background-color: #404d59;
    color: #fff;
}

#footer .inner {
    padding: 50px 0;
}

#footer address {
    text-align: justify;
}

#footer li {
    padding: 0;
}
