/*
Theme Name: toc-genius
Theme URI: https://toc-genius.ir/
Author:  matin saber
Author URI: https://sabernezhad.ir/
Description: قالب اختصاصی toc-genius
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.19
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: on-speed
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
html{
    margin-top: 0 !important;
}
@font-face{font-family:'PeydaWeb';
    src:url('fonts/PeydaWeb-Bold.woff2') format('woff2') ;
    font-weight: bold;
}
@font-face {
    font-family: 'PeydaWeb';
    src: url('fonts/PeydaWeb-Regular.ttf') format('truetype'),
    url('fonts/PeydaWeb-Regular.woff2') format('woff2');
    font-weight: normal;
}
body{
    margin: 0;
    direction: rtl;
    font-family: 'PeydaWeb', 'sans-serif';
}
section{
    max-width: 1400px;
    margin: 15px auto;
    display: flex;
}
a{
    text-decoration: none;
}

h1,h2,h3,h4,h5,h6,p{
    margin: 0;
}
button{
    font-family: 'PeydaWeb';
    background-color: #0693e3;
    color: #fff;
    border-radius: 5px;
    border: none;
    position: relative;
    transition-duration: 0.3s;
    cursor: pointer;
}
select{
    font-family: 'PeydaWeb';
    border: none;
    outline: none;
}
hr.solid{
    border-top: 1px solid rgba(255,255,255,.2);
    margin:0;
}
li{
    list-style: none;
}
header > .container{
    display: flex;
    justify-content: space-between;
}
blockquote{
    border: dotted;
    border-radius: 5px;
    text-align: center;
    padding: 15px;
    line-height: 5px;
}
.table-of-contents ul{
	margin: 0;
}
.logo{
    align-self: center;
}
.logo img{
    width: 217px;
    height: auto;
    padding-top:7px;
}
.container{
    display: flex;
    justify-content: space-between;
}
.hamburger-panel{
    display: none;
}
.hamburger-panel i{
    font-size: 25px;
    padding-top: 5px;
}
.hamburger-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    background-color: #fff;
    color: #000;
    transition: right 0.3s ease;
    z-index: 99;
    padding: 20px;
    box-shadow: 0 0 20px -3px #9e9e9ec7;
}
.hamburger-menu.active {
    right: 0;
}
.hamburger-menu-ul{
    flex-direction: column;
    gap: 15px ;
}
.hamburger-menu-ul a{
    color: #fff;
}

.hamburger-menu .sub-menu{
    position: inherit  !important;
    box-shadow: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    margin-right: 20px !important;
    height: 0 !important;
    padding: 0 !important;
    transition: 0.2s ease-in-out !important;
}
.hamburger-menu .sub-menu.active{
    visibility: visible !important;
    opacity: 1 !important;
    height: fit-content !important;
    padding: 10px 15px !important;
}
.main-header{
    padding: 10px 20px;
}
.main-header .container{
    padding-top:8px;
}
.main-header .container .languages{
    margin: auto 0 auto 10px;
    height: 16px;
    border-left: solid 1px #777;
}
.main-header .container .languages img{
    width: 20px;
    border-radius: 4px;
    height: fit-content;
    margin: 0 5px;
}
.main-header .container ul{
    display: flex;
    gap: 130px;
    margin-right: 20px;
    padding: 0 15px;
}
.main-header .container a{
    color: #000;
}
.main-header .container ul li{
    position: relative;
    font-weight:600;
}
.main-header .container ul li ul{
    flex-direction: column;
    gap: 5px;
    background: #fff;
    position: absolute;
    width: max-content;
    padding: 12px;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
    margin-right: 10px;
    box-shadow: 0px 6px 27px rgb(32 32 32 / 10%);
    border-radius: 10px;
}
.main-header .container ul li:hover  ul{
    visibility: visible;
    margin-right: 20px;
    opacity: 1;
    z-index: 99;
}
.main-header .container ul li ul li{
    color: #000;
    padding: 5px;
}
.header-top{
    background-color:#0693e3;
    color: #fff;
    padding: 0 20px;
    font-size: 12px;
    line-height: 10px;
}
.header-top a{
    color: #fff;
}
.header-top ul{
    display: flex;
    gap: 20px;
    padding: 0;
}
.header-top .container div{
    margin: auto 0;
}
.front-page-banner{
    display: flex;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    justify-content: center;
    margin-top:63px;
}
.front-page-banner button{
    padding-top:20px !important;
    padding-bottom:20px !important;
}
.front-page-banner button a{
    font-size:19px;
    font-weight:600;
    line-height:0;
}

.front-page-banner div{
    flex: 0 0 45%;
}
.front-page-banner .lottie-container{
    height: 500px;
}
.front-page-banner .lottie-container .lottieAnimation{
    width: 80%;
    margin: 0 210px 0 0;
    overflow:hidden;
}
.front-page-banner > .content-list-box{
    align-content: center;
    align-items: center;
    display: flex;
    position: relative;
    flex-wrap: wrap;
}
.front-page-banner > .content-list-box button:hover {
    background-color: #618f7f;
}
.benefits h3{
    margin-top: 5px;
}
.front-page-banner > .content-list-box button a{
    color: #fff;
}
.front-page-banner > .content-list-box > *{
    width: 100%;
}
.front-page-banner > .content-list-box ul{
    padding: 0;
    margin: 0;
}
.front-page-banner > .content-list-box ul li{
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}
.front-page-banner > .content-list-box ul li img{
    width: 30px;
}
.front-page-banner > .content-list-box .bottom-arrow{
    height: 30px;
    width: 30px;
    margin: 10px auto 25px auto;
}
.front-page-banner > .content-list-box button {
    margin: 0 35%;
    padding: 10px;
    background-color:#82c0ab;
}

.single-post-section{
    width: 1260px;
}
.single-post-heading{
    position: relative;
}
.single-post-heading img{
    width: 100%;
    height: 500px;
    border-radius: 10px;
}
.single-post-heading .content-box{
    position: absolute;
    padding: 15px;
    width: fit-content;
    right: 0;
    bottom: 0;
    background-color: #fff;
    color: #000;
    border-top-left-radius: 10px;
}
.single-post-heading .content-box ul{
    padding: 0;
    display: flex;
    gap: 25px;
    margin: 10px 0 0 0;
}
.single-post-heading .content-box ul li {
    color: #666;
    background-color: #fff;
    border-radius: 10px;
    font-size: 12px;
}
.single-post-heading .content-box ul li i{
    margin-left: 5px;
}

.widget-telegram{
    text-align: center;
    background-color: #8ED457;
    border-right: 5px;
    font-weight: bold;
    border-radius: 10px;
    margin-bottom: 15px;
}
.widget-telegram a{
    color: #fff;
}
.sidebar{
    flex: 0 0 30%;
}
.sidebar h4{
    padding-bottom: 5px;
    border-bottom: solid 2px #8ED457;
    margin-bottom: 5px;
}
.sidebar ul{
    padding: 0;
    margin: 0;
}
.sidebar li{
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    line-height: 23px;
}
.sidebar li a{
    color: #000000;
    transition: 0.2s ease-in-out;
}
.sidebar li a:hover{
    color: #8ED457;
}
.main-content div{
    padding: 15px;
}
.main-content .share-social{
    display: flex;
    justify-content: space-between;
    padding: 0;
}
.main-content .share-social .share-twitter i{
    color: #00acee;
}
.main-content .share-social .share-telegram i{
    color: #0077b5;
}
.main-content .share-social .share-pinterest i{
    color: #E60023;
}
.main-content .share-social .share-linkedin i{
    color: #3b5998;
}
.main-content .share-social .share-facebook i{
    color: #08C;
}
.main-content .share-social a{
    text-align: center;
    padding: 11px 0 5px;
    color: #999;
    font-size: 13px;
}
.main-content .share-social i{
    width: 100%;
}
.main-content .post-content-col{
    padding: 15px 0 14px 15px;
}
.main-content .post-content{
    padding: 0;
    line-height: 30px;
}
.main-content .post-content img{
    width: 100%;
}
.main-content .post-content div{
    padding: 0 15px;

}
.main-content .post-content li{
    list-style: revert;

}
.main-content .post-content h2,h3,h4,h5{
    margin: 15px auto;
}
.post-archive-header{
    background-image: url('img/archive-header-background.jpg');
    margin: 0 0;
    height: 300px;
    max-width: 100%;
    flex-direction: column;
}
.post-archive-header div{
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.post-archive-header div a{
    color: #000;
}
.post-archive-header h4{
    font-size: 35px;
}
.post-archive-header form{
    background: #9996;
    padding: 5px;
    border-radius: 10px;
    min-width: 300px;
}
.post-archive-header form div{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}
.post-archive-header form div button{
    background-color: transparent;
}.post-archive-header form div button i{
     margin: 5px;
 }.post-archive-header form div input{
      background: transparent;
      border: none;
      font-family: 'PeydaWeb', sans-serif;
      width: 100%;
  }
.post-archive-repeater{
    justify-content: space-between;
    flex-wrap: wrap;
}
.post-archive-repeater .container{
    flex: 0 0 30%;
    background-color: #fff;
    box-shadow: 0 0 10px 0 #dbdbdb96;
    border-radius: 10px;
    margin-bottom: 20px;
}
.post-archive-repeater .container div{
    padding: 15px;
}
.post-archive-repeater .container img{
    width: 100%;
    border-radius: 10px;
}
.post-archive-repeater h2{
    font-size: 17px;
    margin-bottom: 10px;
}
.post-archive-repeater h2 a{
    color: #000;
}
.post-archive-repeater ul{
    padding: 0;
    margin: 0 0 10px 0;
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #a5b7d2;
}
.post-archive-repeater .container .content-box{
    padding: 5px;
}
.post-archive-repeater .container .content-box .btn-more{
    text-align: end;
}
.post-archive-repeater .container .content-box .btn-more a{
    color: #00aae3;
}
.benefits {
    padding: 98px 0 0 0;
    margin: 0 auto;
}
.benefits div{
    flex: 0 0 50%;
    position: relative;
}
.benefits img{
    width: 100%;
    height: auto;
}
.benefits .col-1{
    display: flex;
    flex-direction: column;
    align-self: center;
}
.benefits .col-1 .heading{
    display: flex;
    flex: 0 0 100%;
    height: fit-content;
    line-height: 2;
    font-size: 24px;
    font-weight: bold;
}
.benefits .col-1 ul{
    line-height:30px;
    text-align:justify;
}
.benefits .col-1 div h1{
    font-size: 24px;
    margin: 0 5px;
}
.benefits .col-1 ul li{
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
}
.benefits .col-1 ul li div{
    flex: 0 1 100%;
}
.benefits .col-1 ul li div h3{
    margin-bottom: 5px;
}
.benefits .col-1 ul li i{
    padding: 15px;
    background: #eff3fa;
    border-radius: 10px;
    color: #82c0ab;
}

footer{
    background-color:#82c0ab;
}
footer section{
    display: flex;
    padding: 42px 0 15px 0;
    margin: 15px auto 0 auto;
    transform:translatex(0px) translatey(0px);
}
footer section .footer-logo-container{
    margin-left: 10%;
}
footer section div{
    flex: 0 0 24%;
    color:#ffffff;
    transform:translatex(0px) translatey(0px);
}
footer div strong{
    color:#ffffff;
}
footer section div li{
    margin-bottom: 5px;
    font-size: 14px;
    list-style: disc;
    line-height:30px;
}
footer section div li a{
    color: #fff;
}
footer section div img {
    width: 60%;
    height:auto;
    display:inline-block;
    transform:translatex(0px) translatey(0px);
    background-color:#ffffff;
    padding: 5px 10px;
    border-radius: 10px;
}
footer section div p {
    line-height:30px;
    font-size:14px;
    text-align:justify;
}
footer .newsletter{
    flex: 0 1 30%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}
footer .newsletter p{
    margin-top: 10px;
}
.copyright-section{
    font-size: 12px;
    padding-top:15px;
}
.admin-panel{
	margin: 0 auto 100px auto;
}
.admin-panel .container{
	flex-direction: column;
  margin: 0 auto;
}
.admin-panel h3{
	font-size: 30px;
  border-bottom: solid 3px #82c0ab;
  padding-bottom: 10px;
}
.admin-panel .admin-panel-image{
	position: relative;
  width: 70%;
  margin: 0 auto;
  border: solid #82c0ab 3px;
  border-radius: 10px;
  padding: 15px;
}
.admin-panel img{
	width: 100%;
}
.admin-panel p{
	padding-bottom: 20px;
  margin: 0 auto;
  width: 65%;
  text-align: center;
}
@media (max-width:1380px){
.front-page-banner > .content-list-box button {
        margin: 0 27%;
    }
    .front-page-banner svg{
        display:inline-block;
        transform: translatex(49px) translatey(91px) !important;
    }
    .front-page-banner button a{
        line-height:33.6px;
    }
    .front-page-banner button{
        padding-top:10px !important;
        padding-bottom:10px !important;
        margin-right:70px !important;
        margin-left:70px !important;
    }
}
@media (max-width:950px){
	.front-page-banner .lottie-container .lottieAnimation {
  width: 80%;
  margin: 0 100px 0 0;
  overflow: hidden;
}
	@media(max-width: 750px){
		.front-page-banner{
			flex-direction: column;
		}
		.front-page-banner .lottie-container{
			display: none;
		}
		.benefits{
			position: relative;
		}
		.benefits .col-1{
			flex: 0 1 100%;
  margin: 0 10%;
		}
		.benefits .heading{
			justify-content: center;
		}
		.benefits .col-1 ul{
			padding: 0;
  margin: 0;
  width: 100%;
		}
		.benefits .col-1 ul li{
			flex-direction: column;
  text-align: center;
  margin: 20px 0;
		}
		.benefits .col-2{
			display: none;
		}
		.copyright-section{
			margin: 0;
			display: block;
		}
		.copyright-section div{
			flex: 0 0 100%;
  padding: 10px;
		}
		
    .single-post-heading{
        width: 80%;
        flex-direction: column;
        margin: 10px auto;
    }
    .single-post-heading .content-box{
        position: static;
        padding: 15px 0 0 0;
    }
    .single-post-heading h1{
        color: #000;
        font-size: 15px;
    }
    .single-post-heading .content-box ul li{
        gap: 15px;
    }
    .single-post-heading .content-box ul li{
        background-color: #8ed557;
        color: #fff;
        padding: 2px 10px;
    }
    .single-post-heading .content-box ul li a{
        color: #fff;
    }
    .single-post-heading img{
        height: auto;
    }
    .main-content{
        width: 80%;
        flex-direction: column;
        margin: 0 auto;
    }
    .main-content .post-content-col{
        padding: 0;
    }
}