/*
Theme Name: Phantom
Text Domain: phantom
Version: 1.0
Requires at leat: 4.7
Requires PHP: 7.0.0
Description: made for phantoms 
Author: Saeed Mirshekari
Author URI: https://SaeedMirshekari.ir
Theme URI: https://SaeedMirshekari.ir
License: MIT license
License URI: https://MITlicense.com
*/
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'iransans';
    src: url('font/iransans.ttf') format('trutype'),url('font/iransans.woff') format('woff');
}

a{
    transition: all .2s ease-in-out;
}

body{
    direction: rtl;
    text-align: right;
    color: #303030;
    line-height: 30px;
    font-family: 'iransans';
}

.top-menu{
    width: 100%;
    float: right;
    background: #163a5c;
    font-size: 13px;
}
.container{
    max-width: 1366px;
    margin: auto;
}
.topbar-right{
    float: right;
    width: 50%;
    color:#fff;
}

.topbar-right ul li{
    list-style: none;
    float: right;
    margin-left: 15px;
    
}
.topbar-right ul li i{
    
    margin-left: 7px;
}

.topbar-left{
    float: left;
    width: 50%;
    color:#fff;
}
.topbar-left ul li {
    margin-right: 15px;
    padding:0 10px;
    list-style: none;
    float: left;
}

/********* headers ************/
.header{
 width: 100%;
 float: right;
 box-shadow: 0 1px 6px #e6e6e6;
}
.header .logo{
float: right;
padding: 14px 0;
width:15%;

}
.header .logo img{
width:100%;
}
.main-menu{
float: right;
margin:20px;
}
.main-menu > .menu > li{ 
list-style: none;
float: right;
position: relative;
}
.main-menu > .menu > li{ 
list-style: none;
float: right;
display: inline-block;
}
.main-menu .menu li a { 
    list-style: none;
    padding: 24px 25px;
    display: inline-block;
    text-decoration: none;
    color: #454647;
    font-weight: bold;
    }
    .main-menu ul li a i{ 
list-style: none;
margin-right: 5px;
}
.main-menu ul li ul{ 
    position: absolute;
    top: 115px;
    right: 0;
    width: 250px;
    z-index: 999;
    /* background-color: #ddd; */
    box-shadow: 0 1px 6px #e6e6e6;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in-out;
}
.main-menu ul li ul li{ 
        list-style: none;
        display: block;
        background:#fff;
}
.main-menu ul li ul li a{ 
padding: 8px 10px;
display: block;
font-weight: normal;
}
.main-menu ul li ul li a:hover{ 
    background: #5caf21;
    color: #fff;
    }
.main-menu > ul > li:hover ul{ 
    opacity: 1;
    visibility:visible;
    top: 75px;
    }

.sign{
    float: left;
    padding: 15px 0px;
    margin-top: 15px;
}
.sign a{
    text-decoration: none;
    background: #5caf21;
    color: #fff;
    padding: 9px 15px;
    display: inline-block;
    border-radius: 5px;
}
.sign a i{
    margin-left: 5px;}
.sign a:hover{
        background: #7f8c8d;
        
        
}
.box-slider{
   float:right;
   width: 100%;
   direction: ltr; 
   margin-top: 5px;
   height:60%;
}
.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 33%;
    font-size: 60px !important;
    padding: 15px !important;
    background: #000;
}
.owl-carousel .owl-nav .owl-next{
    right: 15px;
}
.owl-carousel .owl-nav .owl-prev{

left: 15px;
}

.line{
    height:1px;
    background: #ddd;
    max-width: 100%;
    float: right;
    margin: 10px 0;
    display: flex;
}

.tv{
    width: 100%;
    margin-top: 30px;
    float: right;
}
.tv .tv-head{
    float: right;
    width: 100%;
    
 }
 .tv .tv-head .tv-title{
    float: right;
 
 }
 .tv .tv-head .tv-title h2{
    font-size: 26px;
 
 }
 .tv .tv-head .tv-title h2{
    font-size: 15px;
    color: #5d5d5d78;
 
 }
 .tv .tv-head .tv-link{
    float: left;
    margin-top: 5px;
 
 }
 .tv .tv-head .tv-link a{
    border: 2px solid #5caf21;
    color :#5caf21;
    text-decoration: none;
    padding: 5px 15px;
    display:inline-block;
    border-radius: 5px;

 
 } 
 .tv .tv-box{

  }
  .tv .tv-box{
    float: right;
    width: 100%;
    margin-top: 45px;
}
.tv .tv-box .tv-right{
    float: right;
    width: 60%;
    
}
.tv .tv-box .tv-right .first-post{
    
}
.tv .tv-box .tv-right .first-post figure {
    position: relative;
    width: 100%;
}
.tv .tv-box .tv-right .first-post figure img {
    width: 100%;
   
    height:auto;

}
.tv .tv-box .tv-right .first-post figure span {
    position:absolute;
    left:0;
    top:0;
    background:rgba(0,0,0,.5);
    color:#ddd;
    padding:5px 15px;

}
.tv .tv-box .tv-right .first-post figure > i {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 55px;
    color: #fff;
    opacity: 0.8;
    transition: all .2s ease-in-out;

}
.tv .tv-box .tv-right .first-post figure:hover > i {
    
    font-size: 65px;
    

}
.tv .tv-box .tv-left{
    float: left;
    width: 39%;
    display:flex;
    flex-wrap: wrap;
    direction:ltr;
}
.tv .tv-box .tv-left .other-post{
    float: right;
    width: 47%;
    position: relative;
    background: #ecf0f1;
    margin: 0 5px;
    margin-bottom:10px;
}
.tv .tv-box .tv-left .other-post a{
   text-decoration: none;
   background: #ecf0f1;
   
}
.tv .tv-box .tv-left .other-post a figure{
 line-height: 25px; 
}
.tv .tv-box .tv-left .other-post figure span {
    position:absolute;
    left:0;
    top:0;
    background:rgba(0,0,0,.5);
    color:#ddd;
    padding:5px 15px;

}
.tv .tv-box .tv-left .other-post a img{
    width: 100%;
    height:auto;
}
.tv .tv-box .tv-left .other-post a > figure > i{
    position: absolute;
    left: 40%;
    top: 30%;
    font-size: 45px;
    color: #fff;
    opacity: 0.8;
    transition: all .2s ease-in-out;
}
.tv .tv-box .tv-left .other-post figure:hover > i {
    
    font-size: 55px;
    left: 38%;
    color: #f12711;

}
.tv .tv-box .tv-left .other-post a h2{
   font-size: 15px;
   text-align: center;
   color:#444;
   padding: 0 9px 7px;
}
.tv .tv-box .tv-left .video-more{
    float: left;
    width: 100%;
    margin-top:15px;

}
.tv .tv-box .tv-left .video-more a{ 
    background: #5caf21;
    color: #fff;
    display: block;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;

} 
.tv .tv-box .tv-left .video-more a:hover{ 
    background: #7f8c8d;
    

} 
/* article */
.article{
    width: 100%;
    margin-top: 30px;
    float: right;
}
.article .article-head{
    float: right;
    width: 100%;
    
 }
 .article .article-head .article-title{
    float: right;
 
 }
 .article .article-head .article-title h2{
    font-size: 26px;
 
 }
 .article .article-head .article-title h2{
    font-size: 15px;
    color: #5d5d5d78;
 
 }
 .article .article-head .article-link{
    float: left;
    margin-top: 5px;
 
 }
 .article .article-head .article-link a{
    border: 2px solid #5caf21;
    color :#5caf21;
    text-decoration: none;
    padding: 5px 15px;
    display:inline-block;
    border-radius: 5px;

 
 } 
 .article .article-head .article-link a:hover{
    background :#5caf21;
    color: #fff;

 } 
 .article-slider{
    direction: ltr;
    width: 100%;
    float: right;
    margin-top: 25px;
 }
 .article-slider img{
    width:100%;
    height:auto;
 }
 .box-article{
    border: 1px solid #ccc; 
    margin-bottom: 50px;
 }
 .box-article h2 {
   font-size: 16px;
   text-align: center;
   padding: 15px 2px;
 }
 .box-article a{
    text-decoration: none; 
    color:#414141;
    font-weight: bolder;
    display: block;
 } 
 .box-article p{
color: #777;
padding: 1px 15px;    
} 
.btn-more a{
    background: #ecf0f1;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #8b8b8b;
    margin-top: 10px;
    padding: 5px;
}
.box-article:hover .btn-more a {
    background: #5caf21;
    color: #fff;
    
}
.article-slider .owl-carousel .owl-nav .owl-next,.article-slider .owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 33%;
    font-size: 50px !important;
    padding: 11px 18px !important;
    color: #afafaf;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    box-shadow: 0px 0px 6px #ddd;
    visibility: hidden;
    transition: all .2s ease-in-out;
}
#related_slider:hover .owl-nav button.owl-next , #related_slider:hover .owl-nav button.owl-prev {
    visibility: visible;
    opacity:1;
}
.article-slider .owl-carousel .owl-nav .owl-next{
    right: -25px;
}
.article-slider .owl-carousel .owl-nav .owl-prev{

left: -25px;
}
#article-slider:hover .owl-nav .owl-next, #article-slider:hover .owl-nav .owl-prev{
    visibility: visible;
    opacity: 1;
}
.owl-theme .owl-dots .owl-dot.active span {
    background: #5caf21;
    width:20px;
    transition: all .2s ease-in-out;
}
.adv{
width: 100%;
float: right;
background:linear-gradient(to right,#00d2ff, #3a7bd5) ;
margin-top: 25px;
}
.adv .adv-right{
    width: 50%;
    padding: 40px;
    color: #fff;
    float: right;
} 
.adv .adv-right h2 {
    font-size: 24px;;
} 
.adv .adv-right p {
    padding-top: 25px;
    line-height: 39px;
    font-size: 16px;
    color: #d0ebff;
} 
.adv .adv-right a {
    text-decoration: none;
    background: linear-gradient(to right,#f12711,#f5af19);
    padding: 10px 25px;
    display: inline-block;
    font-size: 17px;
    color:#fff;
    margin-top: 40px;
    border-radius: 5px;
    font-weight: bold;
} 
.adv .adv-left{
    float: left;
    width: 40%;
    padding: 10px;
}

.adv .adv-left img{
    max-width: 50%;
    float:left;
}
.adv .adv-right a:hover {
    background: linear-gradient(to left,#f12711,#f5af19);
   
}
/*******footer***********/
footer{
background: #f5f6fa;
float: right;
width: 100%;
padding-top: 50px;
margin-bottom: 45px;
}
footer .about{
   float: right;
   width: 33%;
   margin-left: 55px;

} 
footer .about h3{
    font-size: 20px;
} 
footer .about p{
    margin-bottom: 20px;
    color: #4a4a4a;
    text-align: justify;
} 
footer .about h2{
    margin-bottom:22px ;
    border-bottom:2px solid #5caf21 ;
    padding-bottom: 15px;
   
}
footer .f-menu{
    float: right;
    width: 25%;
    margin-left: 25px;
    line-height: 35px;
} 

footer .f-menu h2{
    margin-bottom:22px ;
    border-bottom:2px solid #5caf21 ;
    padding-bottom: 15px;
   
}
footer .f-menu ul {
    line-height: 35px;
}
footer .f-menu ul li{
    list-style: none;
}
footer .f-menu ul li a{
    text-decoration: none;
    color: #4a4a4a;
    font-size: 16px;
}
footer .f-menu ul p{
    
}
 .copyright{
    float: right;
    width: 100%;
    background: #163a5c;
    color: #d8d8d8;
    padding: 15px;
}
.copyright .social {
    float: left;
}
.copyright p {
    display: inline;
}
.copyright .social a i {
    color: #547a9e;
    padding: 0 8px;
    font-size: 20px;
    line-height: 30px;
}
.copyright .social a i:hover {
    color: #fff;
}
/***********************single page?***************/
.single-page {
    width: 100%;
    background: #f8f9fa;
    float: right;
}
.main-single {
    float: right;
    width: 71%;
    margin: 30px 0;
}
.post-single {
    float: right;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
}
.post-single header {
    margin-bottom: 20px;
    float: right;
    width: 100%;
}
.post-single header h1 {
    border-bottom: 2px solid #f3f3f3;
    padding: 10px 10px 20px;
    font-size: 24px;
    margin-bottom: 10px;
}
.post-single .post-meta {
    float: right;
    margin-left: 25px;
    font-size: 13.5px;
    color: #8f8f8f;
}
.post-single .post-meta i {
    margin-left: 5px;
}
.post-single .post-meta a {
    color: #8f8f8f;
    text-decoration: none;
}
.post-single .post-thumbnail {
    margin-bottom: 30px;
}
.post-single .post-thumbnail img {
    
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}
.post-single .content-single {
    font-size: 18px;
    line-height: 35px;
    padding: 10px;
    text-align: justify;
    overflow: hidden;
}
.post-single .content-single img {
    max-width: 100%;
}
.related-post {
    float: right;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 0px 15px 15px;
    margin: 30px 0;
}
.related-post .related-head {
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    padding: 15px;
}
.related-post .related-head h4{

}
.related-post .box-article {
    margin: 0px 5px;
    border: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 0px 13px #eef0f1;
}

.sidebar {
    float: left;
    width: 27%;
    margin: 30px 0;
}
.single-widget {
    float: right;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 25px;
}
.single-widget input[type="text"]{
    float: right;
    width: 100%;
    outline:0;
    padding:11px 10px;
    border: 1px solid #dcdcdc;
    -webkit-box-shadow:0 0 7px #e9efe9 inset;
    box-shadow:0 0 7px #e9efe9 inset ;
    border-radius:2px;
    -webkit-appearance:none;
    -webkit-transition:all 0.2s;
    font-family:'iransans';
    
}

.single-widget input[type="submit"]{
    background-color:#5caf21;
    border-radius:5px;
    padding:5px 17px;
    line-height:27px;
    display:inline-block;
    transition:all 0.2s ease-in-out;
    color:#fff;
    font-family:'iransans';
    font-size:15px;
    margin-top:8px;
    

    
}

.single-widget h4 {
    border-bottom: 1px solid #5caf21;
    padding-bottom: 10px;
    font-size: 16px;
    margin-bottom: 10px;
}
.single-widget ul li {
    list-style: none;
    padding: 7px 0;
    border-bottom: 1px solid #eee;
}
.single-widget ul li:last-child {
    border-bottom:none;
}
.single-widget ul li a {
    text-decoration: none;
    color: #464749;
}
.single-widget ul li a:hover {
    padding-right: 10px;
    color: #5caf21;
}
.category-post  {
    float: right;
    direction: ltr;
    
}

.full-width{
    width:100%;
}

#hamberger{
    float:left;
    cursor:pointer;
    display:none;
}

#hamberger i{
    font-size:26px;
    padding:20px;
    
}
.navigation{
  background:#232822;  
  width:230px;
  position:fixed;
  right:0;
  bottom:0;
  height:100%;
  z-index:999;
  padding:60px 20px ;
  display:none;
}
.navigation ul {
    
}
.navigation ul li{
    position:relative;
    margin:15px 0;
    dispaly:block;
}
.navigation ul li a{
    color:#fff;
    text-decoration:none;
    
}
.navigation ul li ul{
    background:#42464a;
    padding: 3px 0;
    margin-top:10px;
    display:none;
}
.navigation ul li ul li{
    margin:5px;

}
.navigation ul li ul li a{
    color:#ddd;
    padding: 0 12px;
    display:block;
    font-size:14px;

}
.category-post .box-article {
    float: right;
    width: 31%;
    margin-left: 15px;
    margin-bottom: 20px;
}
.category-post .category-head {
    font-size: 18px;
    margin-bottom: 30px;
}
.category-post img{
    max-width: 100%;
}
.pagination{
    float:right;
    width:100%;
    text-align:center;
    margin-top:30px;
}
.pagination a{
    background:#ecf0f1;
    color:#333;
    text-decoration:none;
    padding:8px 15px;
    border-radius:5px;
    margin:0 3px;
}
.pagination a:hover {
    background:#5caf21;
    color:#fff;
}
.pagination span.current{
    background:#5caf21;
    color:#fff;
    text-decoration:none;
    padding:8px 15px;
    border-radius:5px;
    margin:0 3px;
}
.sub-menu-left-arrow{
    color:#fff;
    padding:5px;
    float:left;
    font-size:18px;
    cursor:pointer;
}
.relative{
    position:relative;
}
.search-box{
    width:100%;
    position:absolute;
    top:0;
    left:0;
    z-index:999;
    display:none;
}
.search-icon{
    cursor:pointer;
}
.search-box input[type="text"]{
    width:100%;
    background:#ecef0f1;
    height:97px;
    font-size:22px;
    padding-right:25px;
    font-family:"iransans";
}
.search-box button{
    position:absolute;
    left:25px;
    top:25px;
    font-size:35px;
    color:#bdc3c7;
    cursor:pointer;
}

/*//////////////////////////responsive code//////////////////*/
@media screen and (max-width:1400px){
    .container{
        padding:0 15px;
        
    }
}

@media screen and (max-width:992px){
    .top-menu .topbar-left{
        width:41%;
    }
    .top-menu .topbar-right{
        width:59%;
    }
    .tv .tv-box .tv-right{
    width:100%;
    margin-bottom:15px;
   }
   .tv .tv-box .tv-left{
    
    width: 100%;
}
#hamberger{
    display:block;
}
footer .about{
   float: right;
   width: 100%;
   padding:10px 15px;

} 
footer .f-menu{
    float: right;
    width: 100%;
} 
.main-menu{
display:none;
}
.sign{
    display:none;
}
.main-single , .sidebar {
    
    width: 100%;
   
}
}
@media screen and (max-width:768px){
    .top-menu .topbar-left{
        width:41%;
    }
    .top-menu .topbar-right{
        width:59%;
    }
    .tv .tv-box .tv-right{
    width:100%;
    margin-bottom:15px;
   }
   .tv .tv-box .tv-left{
    
    width: 100%;
}
footer .about{
   float: right;
   width: 100%;
   padding:10px 15px;

} 
.navigation .sign{
    display:block;
    float:right;
    width:100%;
}
footer .f-menu{
    float: right;
    width: 100%;
} 
.tv .tv-box .tv-left .other-post{
    width: 100%;
}
.adv .adv-right{
    
    width: 100%;
    
}
.adv .adv-left{
    display:none
}
.top-menu .topbar-left{
        width:100%;
        float:none;
        text-align:center;
    }
    .top-menu .topbar-right{
        width:100%;
        float:none;
        text-align:center;
    }
    .header .logo{


width:40%;

}
}
