/*
====================================================
* 	[Master Stylesheet]
	Theme Name :ivari  
	Version    :V1
	Author     :Karky Research Foundation
	Author URI :karky.in
====================================================
/* ---------------------------------
1. PRIMARY STYLES
--------------------------------- */

html{ font-size: 100%; height: 100%;  overflow-x: hidden; touch-action: manipulation; }

body{ font-size: 15px; font-family: 'Roboto', sans-serif; width: 100%; height: 100%; margin: 0; font-weight: 300;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; word-wrap: break-word; 
	background: #EDF3F3; color: #000; }

h1, h2, h3, h4, h5, h6, p, a, ul, span, li, img{ margin: 0; padding: 0; font-weight: 300; }

h1,h2,h3,h4,h5,h6{ line-height: 1.5; }

p{ line-height: 1.6; font-family: 'Maven Pro', sans-serif; font-weight: 400; color: #444; }

h1{ font-size: 4em; line-height: 1; }
h2{ font-size: 2.8em; line-height: 1.1; }
h3{ font-size: 2em; }
h4{ font-size: 1.0em; }
h5{ font-size: 1.1em; }
h6{ font-size: .9em; letter-spacing: 1px; }

a, button{ display: inline-block; text-decoration: none; color: inherit; transition: all .3s; }

a:focus, a:active, a:hover,
button:focus, button:active, button:hover{ text-decoration: none; color: #b8ee00;}

b{ font-weight: 500; }

img{ width: 100%; }

li{ list-style: none; display: inline-block; }

span{ display: inline-block; }

header{ font-weight: 400; }



/* ---------------------------------
2. COMMONS FOR PAGE DESIGN
--------------------------------- */

.section{ padding: 20px 0 40px; }

.section .heading{ padding-bottom: 70px; }

.center-text{ text-align: center; } 

.color-white{ color: #fff; }

.display-table{ display: table; height: 100%; width: 100%; }

.display-table-cell{ display: table-cell; vertical-align: middle; }

.card{ background: transparent; border: 0; }

.no-side-padding{ padding-right: 0px; padding-left: 0px; }

.no-left-padding{ padding-left: 0px; }

.no-right-padding{ padding-right: 0px; }

.icon{ font-size: 2em; }


::-webkit-input-placeholder { font-size: .9em; letter-spacing: 1px; }

::-moz-placeholder { font-size: .9em; letter-spacing: 1px; }

:-ms-input-placeholder { font-size: .9em; letter-spacing: 1px;  }

:-moz-placeholder { font-size: .9em; letter-spacing: 1px;  }



/* ---------------------------------
3. MENU
--------------------------------- */

header{ overflow: hidden; background: #fff; box-shadow: 0px 2px 10px rgba(0,0,0, .3); }

header .logo{ float: left; height: 20px; margin: 20px 30px; }

@media (max-width: 476px) {
	header .logo{ float: left; height: 15px; margin: 20px 20px; }	
}

header .logo img{ height: 150%; width: auto; }

header .main-menu{ display: inline-block; float: left; }

header .main-menu > li{ float: left; }

header .main-menu > li > a{ height: 60px; line-height: 60px; padding: 0 25px; border-right: 1px solid #eee; }

header .main-menu > li > a:hover{  background: #eee; }

header .main-menu > li:first-child > a{ border-left: 1px solid #eee; }


header .visible.main-menu{ display: block; }



/* SEARCH AREA */

header .src-area{ position: relative; height: 60px; width: 50%; float: right; display: inline-block; background: #F5F7F6; }

header .src-area .src-input{ position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%;
	padding: 0 20px 0 70px; background: transparent; border: 0; outline: 0; }

header .src-area .src-input:focus{ box-shadow: 0px 0px 1px #aaa; }

header .src-area .src-btn{ position: absolute; top: 0; bottom: 0; left: 0; width: 40px; background: none; border: 0; 
	font-size: 1.2em; outline: 0; margin-left: 20px; opacity: .6; cursor: pointer; z-index: 10; }


/* NAV ICON */

.menu-nav-icon{ display: none; height: 60px; width: 50px; text-align: center; line-height: 60px; cursor: pointer; 
	position: absolute; right: 0; font-size: 1.8em; }




/* ---------------------------------
4. SLIDER
--------------------------------- */

.slider{ height: 300px; width: 100%; background-image: url(../../images/slider-1.jpg); background-size: cover; }  
 
.slider .title{ color: #fff; text-shadow: 2px 2px 10px rgba(0,0,0,.3); }

 
/* ---------------------------------
5. SINGLE POST
--------------------------------- */

.blog-area .row div[class^="col"] { margin-bottom: 30px; }

.blog-area{ text-align: center; background: #EDF3F3; }

.blog-area .single-post{ height: 100%; position: relative; padding-bottom: 45px;
	overflow: hidden; box-shadow: 0px 0px 5px rgba(0,0,0,.1); border: 1px solid #ddd; background: #fff; }

.blog-area .single-post .title{ padding: 20px 30px 30px; }

.single-post .ivari{ margin: 0 auto; margin-top: -40px; width: 60px; height: 60px; overflow: hidden; z-index: 0;
	border-radius: 100px; position: relative; border: 7px solid #fff; box-shadow: 0px 0px 10px rgba(0,0,0,.2); }
.single-post .ivarinew{ margin: 0 auto; margin-top: -40px; width: 50px; height: 50px; overflow: hidden; z-index: 0;
	border-radius: 100px; position: relative; border: 7px solid #fff; box-shadow: 0px 0px 10px rgba(0,0,0,.2);float: right; }

.single-post .comment{ margin: 0 auto; margin-top: -40px; width: 40px; height: 40px; overflow: hidden; z-index: 10;
	border-radius: 100px; position: relative; border: 7px solid #fff; box-shadow: 0px 0px 5px rgba(0,0,0,.2); }

.single-post .post-footer{ position: absolute; bottom: 0; left: 0; right: 0; text-align: center; }

.single-post .post-footer > li{ width: 33.33%; display: inline-block; border-right: 1px solid #fff; background: #EDF3F3; }

.single-post .post-footer > li:first-child{ float: left; }

.single-post .post-footer > li:last-child{ border: 0px; float: right; }

.single-post .post-footer > li > a{ line-height: 45px; width: 100%; } 

.like{ line-height: 45px; cursor: pointer; }

.single-post .post-footer i{ display: inline-block; margin-right: 10px; opacity: .6; font-size: 1.1em; }


/* ---------------------------------
6. NORMAL BLOG
--------------------------------- */

.post-style-1 .blog-image{ max-height: 200px; overflow: hidden; }



/* ---------------------------------
7. EXTRA BIG BLOG
--------------------------------- */

.blog-area .post-style-2{ padding-bottom: 0; text-align: left; }

.blog-area .post-style-2 .title{ padding: 15px 0px 20px; }

.post-style-2 .ivari-area{ padding: 20px 0 20px; position: relative;}
@media (max-width: 476px) {
.post-style-2 .ivari-area{ padding: 20px 0 20px; position: relative;font-size: 1.5em; }	
}	
.post-style-2 .ivarinew-area{ padding: 20px 0 20px; position: relative; }
.post-style-2 .comment-area{ padding: 30px 0 0px; position: relative; }

.post-style-2 .ivari{ margin: 0px; }
	
.post-style-2 .ivari-area .right-area{ margin-left: 80px; position: absolute; top: 45%; transform: translateY(-50%); }
.post-style-2 .ivarinew-area .right-area{ margin-right: 10px; position: absolute; top: 15%; transform: translateY(-50%); }
.post-style-2 .comment-area .right-area{ margin-left: 50px; position: absolute; top: 50%; transform: translateY(-50%); }

.post-style-2 .blog-image{ width: 50%; float: left; height: 100%; }

.post-style-2 .blog-image img{ height: 100%; width: 100%; }

.post-style-2 .ivari-old{ width: 100%; float: left; height: 100; position: relative; padding: 25px; padding-bottom: 30px;font-size:1.3em;}

@media (max-width: 476px) {
.post-style-2 .ivari-old{ width: 100%; float: left; height: 100; position: relative; padding: 30px; padding-bottom: 30px;font-size: 0.6em;}
}

.post-style-2 .ivari-new{ width: 100%; float: left; height: 450px; position: relative; padding: 5px; padding-bottom: 30px; }
.post-style-2 .ivari-chat{ width: 100%; float: left; height: 450px; position: relative; padding: 10px; padding-bottom: 30px;overflow: auto;}


/* ---------------------------------
8. EXTRA MEDIUM BLOG
--------------------------------- */

.post-style-2.post-style-3 .ivari-new{ width: 100%; float: none; }



/* ---------------------------------
9. EXTRA SMALL BLOG
--------------------------------- */

.blog-area .post-style-4{ margin-bottom: 30px; }

.display-table .display-table-cell.title{ padding: 30px; }

.load-more-btn{ padding: 15px 40px; margin: 30px 0 0; transition: all .3s; box-shadow: 0px 0px 2px rgba(0,0,0,.4);
	background: #C3D8F5; }

.load-more-btn:hover{ transform: translateY(-2px); box-shadow: 5px 10px 20px rgba(0,0,0,.3); } 



/* ---------------------------------
10. INFO AREA
--------------------------------- */

.blog-area .info-area{ height: 770px; text-align: left; padding: 15px 5px; }

.blog-area .info-area .title{ padding: 0; margin-bottom: 10px; }



/* ABOUT AREA */

.blog-area .info-area .about-area{ padding: 0 30px 20px; margin: 0 0 0px; border-bottom: 1px solid #eee; }



/* SUBSCRIBE AREA */

.info-area .subscribe-area{ padding: 0 30px 30px; margin: 0 0 30px; border-bottom: 1px solid #eee; }

.info-area .input-area{ position: relative; height: 50px; width: 100%; box-shadow: 0px 0px 1px #bbb; background: #F5F7F6; }

.info-area .input-area .email-input{ position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%;
	padding: 0 70px 0 20px; background: transparent; border: 0; outline: 0; }

.info-area .input-area .email-input:focus{ box-shadow: 0px 0px 1px #aaa; }

.info-area .input-area .submit-btn{ position: absolute; top: 0; bottom: 0; right: 0; width: 50px; background: none; 
	border: 0; outline: 0; font-size: 1.7em; margin-right: 10px; opacity: .8; cursor: pointer; }



/* TAG AREA */

.info-area .tag-area{ padding: 0 30px; }

.tag-area > ul > li > a{ padding: 5px 5px; float: left; margin: 0px 0px 0px 0px; border: 0px solid #fff; background: #F5F6F8;letter-spacing: 1px; }

.tag-area > ul > li > a:hover{ background: none; }

[type="checkbox"]
{
    vertical-align:middle;
}



/* ---------------------------------
11. FOOTER
--------------------------------- */

footer{ padding: 70px 0 30px; text-align: center; background: #fff; }

footer .footer-section{ margin-bottom: 40px; }

footer .footer-section .title{ margin-bottom: 20px; }

footer .footer-section ul > li{ margin: 0 5px; }

footer .copyright{ margin: 10px 0 20px; }

footer .icons > li > a{ height: 40px; width: 40px; border-radius: 40px; line-height: 40px; text-align: center; 
	transition: all .3s; box-shadow: 0px 0px 2px rgba(0,0,0,1); background: #498BF9; color: #fff; }

footer .icons > li > a:hover{ transform: translateY(-2px); box-shadow: 5px 10px 20px rgba(0,0,0,.3); }

.textbox-css {
	border: 0;
  	outline: 0;
  	background: transparent;
  	/* border-bottom: 1px solid black; */
  	border-bottom: solid; 
  	border-bottom-color: #1f6a9a;
  	width:100%;
  	height:30px;
	font: normal 20px/1 "Times New Roman", Times, serif;
  	color: black;
}

.td-css {
	border: 0;
  	outline: 0;
  	background: transparent;
  	/* border-bottom: 1px solid black; */
  	border-bottom: solid; 
  	border-bottom-color: #1f6a9a;
  	width:100%;
  	height:30px;
	font: normal 20px/1 "Times New Roman", Times, serif;
  	color: black;
}

lable:focus {
    outline:none;
}

textbox:focus {
    outline:none;
}
.richtextbox-css {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  width:100%;
  height:200px;
  box-sizing: content-box;
  position: relative;
  border: none;
  font: normal 17px/1 "Times New Roman", Times, serif;
  color: black;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  -webkit-box-shadow: 4px 5px 8px 2px rgba(0,0,0,0.4) ;
  box-shadow: 4px 5px 8px 2px rgba(0,0,0,0.4) ;
}

.ivarichat {
	border: 2px solid #dedede;
    background-color: #f1f1f1;
    border-radius: 2px;
    padding: 5px;
    margin: 5px 0;
}


.ivarichat::after {
    content: "";
    clear: both;
    display: table;
}
.ivarichat img {
    float: left;
    max-width: 50px;
    width: 100%;
    margin-right: 20px;
    border-radius: 50%;
    display: inline-block;
}

.ivarichat img.right {
    float: right;
    margin-left: 20px;
    margin-right:0;
}

.time-right {
    float: right;
    color: #aaa;
}

.time-left {
    float: left;
    color: #999;
}

.classname {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-color:transparent;
	-webkit-border-top-left-radius:42px;
	-moz-border-radius-topleft:42px;
	border-top-left-radius:42px;
	-webkit-border-top-right-radius:42px;
	-moz-border-radius-topright:42px;
	border-top-right-radius:42px;
	-webkit-border-bottom-right-radius:42px;
	-moz-border-radius-bottomright:42px;
	border-bottom-right-radius:42px;
	-webkit-border-bottom-left-radius:42px;
	-moz-border-radius-bottomleft:42px;
	border-bottom-left-radius:42px;
	text-indent:0px;
	border:1px solid #8acc44;
	display:inline-block;
	color:#77b050;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	height:40px;
	line-height:35px;
	width:125px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #ffffff;
	letter-spacing: .1em;
	cursor: pointer;
}.classname:active {
	position:relative;
	top:1px;
	background: #f2f2f2;
}

.classname:disabled,
.classname[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

@media (max-width: 476px) {
.classname {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-color:transparent;
	-webkit-border-top-left-radius:42px;
	-moz-border-radius-topleft:42px;
	border-top-left-radius:42px;
	-webkit-border-top-right-radius:42px;
	-moz-border-radius-topright:42px;
	border-top-right-radius:42px;
	-webkit-border-bottom-right-radius:42px;
	-moz-border-radius-bottomright:42px;
	border-bottom-right-radius:42px;
	-webkit-border-bottom-left-radius:42px;
	-moz-border-radius-bottomleft:42px;
	border-bottom-left-radius:42px;
	text-indent:0px;
	border:1px solid #8acc44;
	display:inline-block;
	color:#77b050;
	font-family:Arial;
	font-size:12px;
	font-weight:bold;
	font-style:normal;
	height:30px;
	line-height:25px;
	width:125px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #ffffff;
	letter-spacing: .1em;
	cursor: pointer;
}.classname:active {
	position:relative;
	top:1px;
	background: #f2f2f2;
}

.classname:disabled,
.classname[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
}

.newcomment{
	width: 100%;
    padding: 10px 20px;
    margin: 1px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-sizing: border-box;	
}


#chatbar {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#chatbar {
    visibility: hidden;
    min-width: 25%;
    margin-left: -14%;
    background-color: #333;
    color: #fff;
    text-align: justify;
    border-radius: 2%;
    padding: 1%;
    position: fixed;
    z-index: 1;
    left: 80%;
    bottom: 20%;
    font-size: 16px;
}

#chatbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 20%; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 20%; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 20%; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 20%; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@media (max-width: 476px) {
#chatbar {
    visibility: hidden;
    min-width: 80%;
    margin-left: -10%;
    background-color: #333;
    color: #fff;
    text-align: justify;
    border-radius: 1%;
    padding: 1%;
    position: fixed;
    z-index: 1;
    left: 20%;
    bottom: 10%;
    font-size: 14px;
}

#chatbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 10%; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 10%; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 10%; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 10%; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}
}


/* New Chat test */

.main-section{
  width: 300px;
  position: fixed;
  right:16px;
  bottom:-300px;
}
.first-section:hover{
  cursor: pointer;
}
.open-more{
  bottom:0px;
  transition:2s;
}
.border-chat{
  border:1px solid #5E8D25;
  margin: 0px;
}
.first-section{
  background-color:#5E8D25;
}
.first-section p{
  color:#fff;
  margin:0px;
  padding: 10px 0px;
}
.first-section p:hover{
  color:#fff;
  cursor: pointer;
}
.right-first-section{
   text-align: right;
}
.right-first-section i{
  color:#fff;
  font-size: 15px;
  padding: 12px 3px;
}
.right-first-section i:hover{
  color:#fff;
}
.chat-section ul li{
  list-style: none;
  margin-top:10px;
  position: relative;
}
.chat-section{
  overflow-y:scroll;
  height:300px;
}
.chat-section ul{
  padding: 0px;
}
.left-chat img,.right-chat img{
  width:50px;
  height:50px;
  float:left;
  margin:0px 10px;
}
.right-chat img{
  float:right;
}
.second-section{
  padding: 0px;
  margin: 0px;
  background-color: #F3F3F3;
  height: 300px;
}
.left-chat,.right-chat{
  overflow: hidden;
}
.left-chat p,.right-chat p{
  background-color:#d3d7cf;
  padding: 10px;
  color:#000;
  border-radius: 5px; 
  float:left;
  width:60%;
  margin-bottom:20px;
}
.left-chat span,.right-chat span{
  position: absolute;
  left:5px;
  top:50px;
  color:#B7BCC5;
}
.right-chat span{
  left:45px;
}
.right-chat p{
  float:right;
  background-color: #FFFFFF;
  color:#FD8468;
}
.third-section{
  border-top: 1px solid #EEEEEE;
}
.text-bar input{
  width:90%;
  margin-left:-15px;
  padding:10px 10px;
  border:1px solid #fff;
}
.text-bar a i{
  background-color:#5E8D25;
  color:#fff;
  width:30px;
  height:30px;
  padding:7px 0px;
  border-radius: 50%;
  text-align: center;
}
.left-chat:before{
  content: " ";
  position:absolute;
  top:0px;
  left:55px;
  bottom:150px;
  border:15px solid transparent;
  border-top-color:#d3d7cf; 
}
.right-chat:before{
  content: " ";
  position:absolute;
  top:0px;
  right:55px;
  bottom:150px;
  border:15px solid transparent;
  border-top-color:#fff; 
}

/* Popup Css */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    height: 500px;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
/* Popup box BEGIN */


/*Alert Popup container - can be anything you want */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* The actual popup */
.popup .popuptext {
    visibility: hidden;
    width: 250px;
    background-color: #fff;
    color: #666;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}