﻿/*
Theme Name: c4 
Theme URI:  http://c4game.ir
Description: سی 4 گیم
Author: سی 4 گیم | c4game
Author URI: http://c4game.ir
Version: 1.0
*/

@font-face {
  font-family: 'b yekan';
  src: url(font/Yekan.eot);
  src: url(font/Yekan.eot?#iefix) format("embedded-opentype"), url(font/Yekan.woff) format("woff"), url(font/Yekan.ttf) format("truetype"), url(font/Yekan.svg#BYekan) format("svg");
  font-weight: normal;
  font-style: normal
}
* {
margin:0;
padding:0;
border:0;
background-color: none;
-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-ms-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
transition: all .3s ease-out;
font-weight: normal;
font-style: normal;
font-variant: normal;
}
body {
  direction: rtl;
  font-family: 'b yekan',tahoma,arial;
  font-size: 12px;
  background-image: url(img/bg.jpg);
}
#wrapper {
  display: block;
  width: 100%;
  margin: 0 auto;
}
nav {
  background-color: #1c1c1c;
  width: 100%;
  position: relative;
  padding-top: 35px;
  border-bottom: 6px solid rgba(0,0,0,.4);
}
nav ul {
  list-style-type: none;
}
nav ul li {
  display: inline-block;
}
nav ul li a {
  text-decoration: none;
  color: #ddd;
  padding: 15px 32px;
  display: block;
}
nav ul li a  img {
  opacity: .9;
  display: block;
  width: 24px;
  padding-left: 5px;
  margin: 0 auto;
}
nav ul li a:hover {
  background-color: #363333;
  box-shadow: inset 0 -2px 0 #c43333;
}
.sub ul {
  position: absolute;
  display: none;
  float: none;
  width: 250px;
  border: none;
  background-color: #1c1c1c;
  z-index: 1000;
  padding: 5px;
  height: auto;
}
.sub ul li {
  display: block;
}
.sub ul li a {
  padding: 10px 20px;
}
.sub ul li a:hover {
  box-shadow: inset -2px 0 0 #c43333;
  padding-right: 35px;
}
#title_site {
  display: block;
  padding: 0px 35px;
  float: left;
  margin-top: 5px;
}
#title_site img {
  width: 160px;
}
#title_site p {
  margin-top: -10px;
  color: #fff;
}
#slider {
  clear: both;
  background-color: rgba(0,0,0,.9);
  display: block;
}
#slider img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.slider_black_layers {
  width: 100%;
  height: 500px;
  display: block;
  margin: 0 auto;
  background-color: rgba(0,0,0,.5);
  position: absolute;
  text-align: center;
  display: none;
}
.txt_slider {
  width: 100%;
  height: 500px;
  text-align: center;
  display: block;
  margin: 150px auto;
  position: absolute;
  color: #fff;
  font-size: 24px;
}
.txt_slider span {
  color: #e23d3d;
}
.txt_slider a {
  display: inline-block;
  text-decoration: none;
  background-color: #2c3e50;
  color: #fff;
  padding: 5px 15px;
  font-size: 12px;
  margin-top: 18px;
}
.txt_slider a:hover {
  background-color: #8e44ad;
}
.contacts {
  width: 960px;
  height: auto;
  display: block;
  margin: 15px auto;
}
.persian_mizban #title {
  font-size: 15px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 5px;
}
.persian_mizban #title img {
  width: 16px;
  display: block;
  float: right;
  margin-top: 10px;
  padding-left: 4px;
}
.persian_mizban span {
  color: #e23d3d;
}
.plan {
  margin-top: 35px;
}
.plan div {
  background-color: #f39c12;
  width: 200px;
  display: inline-block;
  margin-left: 8px;
  border-radius: 7px 2px 0 0 ;
}
.plan .plan_2 {
  background-color: #2c3e50;
}
.plan .plan_2 p {
  color: #fff;
}
.plan .plan_3 p {
  color: #fff;
}
.plan .plan_4 p {
  color: #fff;
}
.plan .plan_3 {
  background-color: #2c3e50;
}
.plan .plan_4 {
  background-color: #2c3e50;
}
.plan div .title_plan {
  color: #fff;
  display: block;
  text-align: center;
  padding-top: 8px;
}
.plan div:hover {
  box-shadow: inset 0 -3px 0 #000;
}
.plan div p{
  text-align: justify;
  margin-right: 10px;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding: 3px 6px;
  width: 200px;
  color: #323131;
}
.plan div a {
  text-decoration: none;
  color: #fff;
  background-color: rgba(0,0,0,.3);
  padding: 5px 10px;
  display: inline-block;
  margin: 0 auto;
  margin-right: 45px;
  margin-top: -35px;
  margin-bottom: 8px;
}
.plan div a:hover {
  background-color: rgba(0,0,0,.6);
}
.plan div p img {
  width: 16px;
  float: right;
  padding-left: 6px;
  margin-top: 4px;
  opacity: .7;
}
.plan div p:hover img{
  -moz-transform:rotate(360deg);-moz-transition:200ms ease-in;
  -ms-transform:rotate(360deg);-ms-transition:200ms ease-in;
  -webkit-transform:rotate(360deg);-webkit-transition:200ms ease-in;
  -o-transform:rotate(360deg);-o-transition:200ms ease-in;
  opacity: .2;
}
.plan_name {
  display: block;
  width: 200px;
  height: 40px;
  margin-top: 12px;
  margin-bottom: 10px;
  border-bottom: 2px solid #ccc;
  border-top: 2px solid #ccc;
  overflow: hidden;
}
.plan_name .p_plan_name {
  position: relative;
  margin-top: -45px;
  margin-right: 40px;
  color: #fff;
  font-style: bold;
  font-size: 16px;
  border: none;
  padding: none;
}
.plan_name .p_plan_name img {
  width: 22px;
  opacity: 1;
}
.plan_name img {
  opacity: 1;
}
.title_plan img {
  position: absolute;
  margin-right: -98px;
  margin-top: -20px;
}
#footer {
  width: 100%;
  height: 250px;
  background-color: #1c1c1c;
  margin-top: 0px;
  display: block;
}
#inset_footer {
  width: 83%;
  height: 200px;
  display: block;
  background-color: rgba(255,255,255,.2);
  margin: 10px;
  float: right;
  padding: 10px;
}
#inset_footer div {
  float: right;
  width: 230px;
  margin-left: 15px;
}
#inset_footer div span {
  border-bottom: 1px solid #eee;
  display: block;
  padding-right: 8px;
  padding-bottom: 5px;
  color: #fff;
}
#inset_footer div ul {
  list-style-type: none;
  padding: 5px;
}
#inset_footer div ul li a {
  color: #101010;
  text-decoration: none;
  background-color: rgba(255,255,255,.3);
  padding: 2px 5px;
  margin-bottom: 5px;
  display: block;
}
#inset_footer div ul li a:hover {
  background-color: #e74c3c;
  color: #fff;
  padding-right: 20px;
}
.copy_footer {
  display: block;
  width: 100%;
  float: right;
  margin-top: 35px;
}
#footer .design a {
  text-decoration: none;
  margin-left: 30px;
  float: left;
  margin-top: -135px;
  background-color: rgba(255,255,255,.3);
  color: #000;
  padding: 2px 2px;
  font-size: 10px;
}
#footer .design a:hover {
  background-color: #e74c3c;
  color: #fff;
}
.footer_logo {
  background-color: #1c1c1c;
  margin-top: 40px;
  clear: both;
}
.footer_logo img {
  width: 1000px;
  display: block;
  margin: 0 auto;
}
.seach_domain {
  background-color: #1c1c1c;
  color: #fff;
  width: 97%;
  position: relative;
  border-bottom: 5px solid #ccc;
  padding: 20px 20px;
}
.ul_form_domain {
  list-style-type: none;
  color: #fff;
}
.domain_search_bar {
  background-color: rgba(255,255,255,.1);
  color: #ccc;
  font-family: tahoma;
  padding: 15px 150px;
  text-align: right;
  box-shadow: inset 10px 0px 0 rgba(0,0,0,.5);
}
.domain_search_bar:focus {
  box-shadow: inset 800px 0px 0 rgba(0,0,0,.3);
}
.searchbtn {
  background-color: #c0392b;
  color: #fff;
  font-family: 'b yekan';
  padding: 2px 15px;
  display: inline-block;
  margin: 0 auto;
  margin-top: 8px;
  width: 100px;
  display: block;
}
.searchbtn:hover {
  cursor: pointer;
  background-color: #2c3e50;
}
.domain_search_form {
  width: 560px;
  display: block;
  margin: 0 auto;
}
.domain_store {
  float: right;
  padding: 14px 5px;
  background-color: #e74c3c;
  color: #fff;
  font-family: tahoma;
  text-align: right;
}
#example-one {
    
}
#example-one .nav {
    overflow: hidden;
    float: right;
    margin-left: 40px;
    display: block;
    margin-top: 35px;
    border: 5px solid #c1c1c1;
}
#example-one .nav li {
    width: 70px;
}
#example-one .nav li a {
    display: block;
    padding: 13px 0;
    background: #959290;
    color: #fff;
    font-size: 10px;
    text-align: center;
    border: 0;
    text-decoration: none;
}
#example-one .nav li a img {
  width: 28px;
  display: block;
  margin: 0 auto;
}
#example-one .nav li a:hover {
    background-color: #c0392b;
}
#example-one ul {
    list-style: none;
    height: auto;
}
#example-one ul li a:hover, #example-one ul li a:focus {
    background: #0575f4;
    color: white;
}
#example-one ul li:last-child a {
    border: none;
}
#example-one li.nav-one a.current, ul.featured li a:hover {
    background-color:  #0575f4;
    color: white;
}
#example-one li.nav-two a.current, ul.core li a:hover {
    background-color: #d30000;
    color: white;
}
#example-one li.nav-three a.current, ul.jquerytuts li a:hover {
    background-color: #8d01b0;
    color: white;
}
#example-one li.nav-four a.current, ul.classics li a:hover {
    background-color: #FE4902;
    color: white;
}
#featured {
  display: inline-block;
}
#core {
  display: inline-block;
}
#jquerytuts {
  display: inline-block;
}
#classics {
  display: inline-block;
}
#example-one li.nav-one a:focus {
  background-color: #27a;
}
#example-one li.nav-two a:focus {
  background-color: #c0392b;
}
#example-one li.nav-four a:focus {
  background-color: #2c3e50;
}
#nav-top {
  width: 100%;
  height: 25px;
  background-color: rgba(0,0,0,.8);
  padding-right: 35px;
  padding-left: 105px;
  padding-top: 5px;
  padding-bottom: 5px;
  display: block;
  position: fixed;
  z-index: 1000;
}
#nav-top p {
  color: #fff;
  float: left;
  margin-left: 50px;
  background-color: rgba(255,255,255,.1);
  padding: 1px 5px;
}
#nav-top span {
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 1px;
  display: inline-block;
}
#nav-top img {
  width: 14px;
  padding-right: 2px;
  opacity: .9;
  float: left;
  margin-right: 2px;
  margin-top: 4px;
}
#nav-top p img {
  width: 14px;
  padding-right: 2px;
  opacity: .9;
  float: left;
  margin-right: 2px;
  margin-top: 3px;
  background-color: rgba(255,255,255,.1);
  padding: 3px 10px;
}
#nav-top ul {
  list-style-type: none;
  position: absolute;
}
#nav-top ul li {
  display: inline-block;
}
#nav-top ul li a {
  text-decoration: none;
  color: #ddd;
  position: relative;
}
#nav-top ul li a:hover,#nav-top ul li a:hover img {
  opacity: 1;
  color: #fff;
}
#nav-top ul li img {
  float: right;
  opacity: .5;
  display: inline-block;
  margin-top: 5px;
  padding-left: 5px;
}
#tools-icon {
  padding-top: 20px;
  padding-bottom: 15px;
}
#tools-icon p {
  width: 475px;
  display: inline-block;
  padding-bottom: 18px;
  font-size: 13px;
}
#tools-icon p img {
  float: right;
  display: block;
  width: 90px;
  padding-left: 5px;
}
#tools-icon p span {
  font-size: 16px;
  color: #353535;
}
@media screen and (max-width: 650px) {
 #slider {
  visibility: hidden;
 }
 nav ul li {
  display: block;
 }
 .sub {
  position: absolute;
  right: 200px;
 }
 .contacts {
  width: 100%;
 }
 .plan div {
  float: none;
  display: block;
  margin-bottom: 20px;
 }
 .footer_logo img {
  width: 100%;
 }
 #footer {
  height: 500px;
 }
 #inset_footer {
  height: 400px;
 }
}
@media screen and (min-width: 1026px) {
  #inset_footer {
    padding-right: 100px;
   }
}
@media screen and (min-width: 1280px) {
   #inset_footer {
    padding-right: 200px;
   }
   #title_site {
    padding-right: 100px;
   }
}