/* CSS Document */
body {
    --bs-gutter-x: 20px;
}
a {
    color: #333;
    text-decoration: none;
}
ol,ul {
    list-style: none;
    padding-left: 0;
}
.header { 
	position:relative;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 80px;
}
.header .bi {
    font-size: 2rem;
    color: #ffffff;
}
.logo{
	width: 80px;
}
.login-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header-user {
    display: flex;
    align-items: center;
} 
.lrm-register {
    display: inline-block;
    margin-left: 10px; 
}
header .menu {
	display: flex;
    margin-bottom: 0;
    margin-right: 40px;
}
.menu-item {
	margin-left:20px;
}
.menu-item > a{ 
	display:inline-block;
	line-height:40px;
	padding:0 15px; 
	color:#fff;
	border-radius:20px; 
}
.menu-item:first-child > a{
	background-color:#ee5871;
}
.menu-item:nth-child(2) > a{
	background-color:#2cbeae;
}
.menu-item:nth-child(3) > a{
	background-color:#4e4ca4;
}
.menu-blog {
	margin-right:30px;
}
.second-menu {
	display: flex;
    align-items: center;
}
#menu-trg{
	display:none;
}
.menu-trg-i,
.menu-trg-i:before,
.menu-trg-i:after{
	position:absolute;
	height:1px;
	width:16px;
	top:50%;
	background-color:currentcolor;
}
.menu-trg-i:before,
.menu-trg-i:after{
	content:''; 
	top:-5px;
	transition:transform .3s;
}
.menu-trg-i:after{
	top:5px;
}
.open .menu-trg-i {
	background:none;
}
.open .menu-trg-i:before,
.open .menu-trg-i:after {
	top:0;
	transform: rotate(45deg);
}
.open .menu-trg-i:after {
	transform: rotate(-45deg);
}
.logout,
.comments-area {
    display: none;
}
body.logged-in .comments-area {
    display: block;
}
body.logged-in .logout {
    display: inline-block;
}
.main{
    min-height: calc(100vh - 290px);
}
.class-feature {
    border: 1px dashed #666;
    height: 200px;
}
.class-lists {
    font-size: 0.8rem;
}
.class-lists h6 {
    margin-bottom: 0.2rem;
}
.class-lists a {
    color: #212529; 
}
.class-lists .text-white a {
    color: #fff;
}
.class-lists .class-item {
}
.subject-lists .card-text {
    font-size: 1em;
}
.subject-lists .card-text > a {
    color: #212529; 
}
.imgWrap {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
}
.imgWrap > img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.gird-tit {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    min-height: 78px;
} 
.btn-print {
    font-size: 0.7rem;
}
.card {
    border: none;
}
h1 {
    font-size: 1.5em;
    margin-bottom: .6em;
}
.subject-lists {
    position: relative;
}
.puzzles-tags { 
    font-size: .8em;
    font-style: italic;
}
.puzzles-tag {
    margin-right: 10px;
}
.card .inside,
.single .card-body {
    border: 2px solid #333;
}
.single .card-body {
    padding: 40px;
}
.card-text.puzzle-excerpt {
    font-size: 1.25em;
}
.puzzle-detail {
    margin-top: 20px;
}
.page-numbers {
    display: block;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    text-align: center; 
    background-color: #eee;
    color: #333;
}
a.page-numbers:hover,
.page-numbers.current{
    color: #eee;
    background-color: #333;
}
.page-numbers.dots {
    background-color: transparent;
}
/*body.logged-in */.subject-item-card-answer-btns {
    display: flex;
    flex-direction: column;
}
.subject-item-choose { 
    line-height: 40px;
    border: 2px solid #ccc;
    border-radius: 20px; 
}
.alert-success,
.alert-danger {
    font-size: 2vw;
    border-radius: 30px;
    border-color: transparent;
    color: #fff;
}
.alert-success {
    background-color: #ffd716;
}
.alert-danger { 
    background-color: #c5c5c5;
}
.show-answer {
    margin-tOP: 30px;
    text-align: center;
    color: #999;
}
#solution {
    margin-top: 40px;
    text-align: center;
}
#check-solution {
    display: inline-block;
    line-height: 40px;
    margin-bottom: 20px;
    border-radius: 20px;
    padding: 0 20px;
    cursor: pointer;
    font-size: 14px;
    color: #919191;
    background-color: #eee;
}
#check-solution:hover {
    background-color: #ffd716;
    color: #fff;
}
#solutoin-res {
    text-align: left;
    padding: 0 20px;
}
.btn-light:hover { 
    border-color: inherit;
}
.answer-area-login {
    display: flex;
    align-items: center;
    height: 60vh;
    min-height: 300px;
    padding: 20px;
    border: 3px dotted #ccc;
    border-radius: 20px;
}
.answer-area-login p {
    text-align: center;
    font-size: 1.5em;
}
.answer-area-login p a {
    text-decoration: underline;
}
footer {
    padding: 60px 0;
}
.comments-show {
    display: none;
}
.is-admin-user .comments-show {
    display: block;
}
.comments-inside {
    border: 3px solid #333;
    padding: 40px;
    border-radius: 20px;
}
.comments-hide {
    text-align: center;
    font-size: 24px;
}
.form-floating > textarea.form-control  {
    width: 100%;
    height: 100px;
}
.form-submit input[type=submit]{
    padding: 10px 20px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    background-color: #f7cf03;
}
.form-submit {
    margin-bottom: 0;
}

.comments-area ol ol {
    padding-left: 20px;
}
.comment-body {
    display: flex;
}
.comment-main {
    position: relative;
    padding-bottom: 40px;
}
.comment .avatar {
    width: 50px;
    height: 50px;
    margin: 5px 20px 0 0;
    border-radius: 50%;
}
.comment-metadata {
    font-size: .7em; 
}
.comment-metadata a {
    color: #ccc;
}
.comment-reply-link {
    display: inline-block;
    position: absolute;
    bottom: 20px; 
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    background-color: #eee;
    
}
.comment-reply-link:hover{
    background-color: #ccc;
    color: #000;
}
li.comment .says {
    display: none;
}
.lrm-grecaptcha {
    transform: scale(0.5);
}
.pagenums {
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.infiniti-scroll {
    display: none;
    width: 60px;
    height: 60px;
    margin: 20px auto;
    border-radius: 50%;
    border-top: 1px solid;
    border-color: #333 transparent;
    animation: spin .6s linear infinite;
}
.loading-more.infiniti-scroll {
    display: block;
}
@keyframes spin {
  0% { transform: rotate(0deg) }
  100% { transform: rotate(359deg) }
}
/*blogs*/
.blogs .imgWrap {
    padding-top: 60%;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
}
.blogs .imgWrap > img {
    object-fit: cover;
}
.blog-tit {
    margin-top: 15px;
    font-size: 20px;
}
/*single blog*/
.single-blog-row {
    justify-content: center;
}
.single-blog-tit { 
    font-size: 2.5em;
    margin-bottom: 90px;
}
.entry {
    margin-bottom: 60px;
    font-size: 18px;
} 
.entry img,
.entry video,
.entry svg {
    max-width: 100%;
    height: auto;
}
.wp-video {
    max-width: 100%;
}
.entry ul {
    list-style: disc inside;
}
.entry ul ul {
    list-style: circle inside;
    padding-left: 2rem;
}
.entry ol {
    list-style: decimal inside;
}
.social-tit {
    margin-bottom: 20px;
    font-size: 20px;
}
.post_social {
    display: flex;
}
.post-meta-social-li {
    margin-right: 25px;
}
.share {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: 100%;
    background-repeat: no-repeat;
}
.facebook-a {
    background-image: url(../img/facebook.png);
}
.twitter-a {
    background-image: url(../img/twitter.png);
}
.pinterest-a {
    background-image: url(../img/pinterest.png);
}
body.category-blog {
	background-color:#EEF1F8;
}
body.category-blog .header {
	background-color:#fff;
}
.blogs {
	min-height: calc(100vh - 280px);
	margin-right:calc(0px - var(--bs-gutter-x));
	margin-left:calc(0px - var(--bs-gutter-x));
}
body.category-blog .sub-menu {
	background:none;
}
@media (min-width: 1200px){
 .entry h3 {
    font-size: 21px;
 }
}
@media screen and (min-width: 768px) {
    .lrm-register { 
        line-height: 50px;
        margin-left: 30px;
        padding: 0 15px;
        border-radius: 25px; 
        color: #fff;
        background-color: #1ccf11;
    }
    .lrm-register:hover{
        color: #fff;
    }
}
@media screen and (max-width: 767px){
    .header {
        margin-bottom: 40px;
    }
    .header .col-3 {
        width: 32%;
    }
    .header .col-9 {
        width: 68%;
    }
	#menu-trg{
		display:block;
		width: 16px;
		height: 20px;  
	}
	.second-menu {
		display:none;
		position: absolute; 
		top: 100%;
		text-align: right;
		padding-top: 10px;
		padding-right: 20px;
		right: 0;
		left: 0;
		font-size: 14px;
	}
	.open .second-menu {
		display: inline-block;
	}
	.menu-blog {
    	margin-right: 10px;
	}
	header .menu {
		margin-right:20px;
	}
    .page-numbers {
        background-color: transparent;
    }
    section.card {
        width: 50%;
    }
    section.card .inside { 
        padding: 10px;
    }
    section .card-body {
        padding: 0;
    }
	.blog-item.col-4 {
		width:100%
	}
    .single .card-body {
        padding: 30px 10px;
    }
    .single article,
    .answer-area {
        width: 100%;
    }
    .answer-area {
        margin-top: 30px;
    }
    .alert-success, .alert-danger {
        font-size: 20px;
    }
    body.logged-in .subject-item-card-answer-btns { 
        flex-direction: row;
        justify-content: space-between;
    }
    .subject-item-choose { 
        padding: 0 20px;
        border-radius: 10px;
    }
    .card .inside, 
    .single .card-body,
    .comments-inside {
        border-radius: 10px;
    }
    .subject-lists h2.gird-tit {
        min-height: 60px;
        font-size: 12px;
		line-height:1.25;
    }
    .puzzles-tags {
        font-size: 10px;
    }
    .comments-area {
        width: 100%;
    }
    .comments-inside {
        padding: 20px;
    }
    footer {
        padding: 30px 0;
    }
}
@media screen and (max-width: 1000px){
	.menu-item>a { 
		line-height: 2;
		padding: 0 10px; 
		font-size: 12px;
		border-radius:15px;
	}
    .page-numbers:not(:last-child){
        display: none;
    }
	.logo {
    	width: 70px;
	}
}
@media screen and (min-width:768px) and (max-width:989px){
	header .col-3 { 
    	width: 20%;
	}
	header .col-9 { 
    	width: 80%;
	}
	.lrm-register {
		line-height: 2;
		margin-left: 10px;
		padding: 0 8px;
		border-radius: 25px;
		text-align: center;
	}
	.menu-blog {
    	margin-right: 10px;
	}
	header .menu {
		margin-right:20px
	}
	.menu-item {
    	margin-left: 10px;
	}
	.second-menu {
		font-size:12px;
	}
}
@media screen and (max-width:480px){
	.logo {
    	width: 60px;
	}
	.menu-item {
    	margin-left: 10px;
	}
	.menu-item>a {
		line-height: 1.5;
    	padding: 2px 6px; 
    	border-radius: 10px;
    	text-align: center;
	}
}
.lrm-form a.button, 
.lrm-form button, 
.lrm-form button[type=submit], 
.lrm-form #buddypress input[type=submit], 
.lrm-form .gform_wrapper input.gform_button[type=submit], 
.lrm-form input[type=submit] {
    background-color: #31cf10!important;
}