figure > img {
    margin: auto;
}

.gallery-block {
    border-bottom: 1px solid #262626;
    margin: 0 0 13px;
}

.gallery-block .aside {
    width: 22.9%;
    float: right;
    padding: 23px 20px 20px 30px;
    background: #fff;
}


.gallery-block .aside h2 {
    font-size: 1.5em;
    line-height: 1.2083em;
    color: #1b1b1b;
    margin: 0 0 19px;
    font-weight: bold;
}

.gallery-block .aside .content-slide .content h2{
    font-size: 1.1428571429em;
    line-height: 1.125em;
    font-weight: 700;
    color: #252525;
    margin: 0 90px 17px 0;
}

.gallery-block .text-slideshow {
    margin: 0 0 30px;
}

.gallery-block .text-slideshow h2 {
    font-size: 1.1428571429em;
    line-height: 20px;
    margin: 0 90px 16px 0;
}

.gallery-block .text-slideshow .credits {
    display: inline-block;
    vertical-align: top;
    margin: 0 0 8px;
}

.gallery-block .read-more {
    font-size: 1.1428571429em;
    line-height: 1.25em;
    font-weight: 700;
    color: #008817;
    padding: 0 14px 0 0;
    position: relative;
    text-decoration: none;
}

.gallery-block .read-more:after {
    position: absolute;
    right: 0;
    top: 2px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    color: #008817;
    font-family: "fontello";
    content: "\e808";
}

.gallery-block .read-more:hover {
    opacity: .8;
}

.gallery-block .gallery {
    float: left;
    margin: 0;
    width: 77.1%;
}

.gallery-block .gallery .gallery-holder {
    padding: 20px 52px 11px 58px;
    margin: 0;
}

.gallery-block .gallery .btn-next,
.gallery-block .gallery .btn-prev {
    background: none;
    padding: 0;
    margin: -17px 0 0;
    width: 17px;
    height: 34px;
    left: 20px;
}

.gallery-block .gallery .btn-next i,
.gallery-block .gallery .btn-prev i {
    color: #404040;
}

.gallery-block .gallery .btn-next:hover i,
.gallery-block .gallery .btn-prev:hover i {
    color: #fff;
}

.gallery-block .gallery .btn-next {
    left: auto;
    right: 20px;
}

.gallery-block .swither {
    padding: 0 52px 10px 58px;
}

.gallery-block .swither .swither-mask .swither-list {
    margin: 0;
    padding: 0 0 0 151px;
    width: 100%;
}

.gallery-block .swither .swither-mask .swither-list li {
    width: 8.333%;
    padding: 0 0 0 9px;
}

.gallery-block .start {
    color: #adacac;
    font-size: 20px;
    line-height: 20px;
    font-weight: 400;
    text-transform: uppercase;
    position: absolute;
    left: 11px;
    top: 13px;
}

.gallery-block .start span {
    font-size: 32px;
    line-height: 32px;
    display: block;
    padding: 0 12px 0 0;
    position: relative;
}

.gallery-block .start span:after {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 34px;
    line-height: 28px;
    font-weight: 400;
    color: #008817;
    font-family: "fontello";
    content: "\e808";
}

.gallery-block .widget {
    margin: 0;
}

.gallery-block .widget .socials {
    margin: 0 0 18px;
}

.gallery-block .gallery {
    width: 70%;
}

.gallery-block .aside {
    width: 30%;
    padding: 15px;
}

.ibinject-container>div {
    margin: 0 auto;
    width: 300px;
    height: 250px
}

.ibinject-container iframe {
    height: 250px
}

.popup-lightbox.lightbox{height: 100%}
.popup-lightbox .gallery-block { height: calc(100% - 113px);}
.popup-lightbox .gallery-lightbox { height: 100%; overflow: hidden;  }

.popup-lightbox.lightbox aside {height: 100%; overflow: hidden; overflow-y:auto;}

.popup-lightbox .gallery-extend {height: 100%}

.popup-lightbox .gallery-extend .slide-show {height: calc(100% - 95px);}
.popup-lightbox .gallery-extend .slide-show .mask {height: 94%;}

.popup-lightbox .gallery-extend .slide-show .slideset {height: 100%}
.popup-lightbox .gallery-extend .slide-show .slide {height: 100%; margin: 0 auto; display: none !important;}
.popup-lightbox .gallery-extend .slide-show .slide.current {height: 100%; margin: 0 auto; display: block !important;left: 0 !important;}


dt.gallery-icon{
    width:100%;
    height:105px;
    overflow: hidden;
}
dt.gallery-icon img{
    min-width:105px;
    min-height:105px;
}

.single.post-content p:first-of-type {
    margin-bottom: 0!important;
    margin-top: 0!important
}

.single.post-content iframe {
    max-width: 100%!important
}

.maincontent.single .right {
    margin-top: 20px;
    max-width: 300px
}

.maincontent.single .right-wrapp {
    position: absolute;
    right: 0;
    max-width: 340px
}

.maincontent.single .right-wrapp>.right {
    max-width: 100%;
    width: 100%;
    padding-bottom: 20px;
}

.maincontent.single .right.nicescroll-height {
    height: 640px
}

.maincontent.single .right.scrolled {
    position: fixed!important;
    top: 0;
    width: 340px;
    margin-top: 59px;
    z-index: 1
}

.maincontent.single .right-inner.scrolled {
  position: sticky;
  top: 69px;
  width: 340px;
  z-index: 1;
}

.maincontent.single .right.fixed_down {
    bottom: 0
}

.maincontent.single .right.fixed_down,.maincontent.single .right.fixed_top {
    position: fixed!important;
    width: 300px;
    z-index: 1
}

#sticky{
  width: 340px;
}

.maincontent.single .right.normal_position {
    position: relative!important;
    width: 300px;
    z-index: 1
}

.maincontent.single .right.scrolled.wpbar {
    margin-top: 88px
}

.maincontent.single .right.transition {
    transition: margin-top .5s linear 0s
}

.maincontent.single .right.with-postheader {
    margin-top: 128px
}

.maincontent.single .right.with-postheader.wpbar {
    margin-top: 148px
}

.maincontent.single .right.no-postheader {
    margin-top: 59px
}

.maincontent.single .right.no-postheader.wpbar {
    margin-top: 69px
}

.single .single-lead-image {
    text-align: center;
    width: 100%;
    display: block;
    overflow-y: hidden
}

.single.post #single-post-title {
    color: #000;
    margin-top: 20px
}

.maincontent.single section.author-info {
    min-height: 57px;
    margin-bottom: 20px
}

.single .author-info .author-name,section.single .share ul li {
    float: left;
    color: #6a6a6a;
    font-size: 15px
}

section.single .share ul li a {
    color: #6a6a6a;
    font-size: 13px;
    line-height: 12px
}

section.single .share ul li.comm {
    padding: 0 10px;
    margin: 6px 0 0
}

section.single .share ul li.fblike {
    padding: 6px 0 0 7px
}

section.single .share ul li.time {
    padding: 0;
    margin: 4px 0 0!important
}

section.single .share ul li.cats {
    margin: 4px 8px 0 0
}

section.single .share ul li.author {
    padding: 0 7px;
    margin: 6px 0 0;
    display: none
}

.post img {
    max-width: 100%;
}

.post img.lazyloaded {
    height: auto !important;
}

/**-- section:widgets:comments
4.6 Comments
**/

.comment-show-more {
    margin-top:40px;
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
}

.comment-show-more span.comment-but-text {
    color: #fff;
    background-color: #008817;
    cursor: pointer;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: .85em;
    font-weight: 800;
    line-height: 100%;
    opacity: 1.0;
    padding: 15px 0;
    text-transform: uppercase;
    width: 70%;
}

.comment-show-more span.comment-but-text:hover {
    opacity: 0.7;
}

.comments {
    margin-bottom: 40px;
    margin-top: 40px;
    padding-bottom: 22px;
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
}

.comment-form {
    font-size: .875em;
    line-height: 1.2857em;
    color: #3d3d3d;
    padding: 31px 0 0;
}

.comment-form ::-webkit-input-placeholder {
    color: #797979;
}

.comment-form ::-moz-placeholder {
    opacity: 1;
    color: #797979;
}

.comment-form :-moz-placeholder {
    color: #797979;
}

.comment-form :-ms-input-placeholder {
    color: #797979;
}

.comment-form .placeholder {
    color: #797979;
}

.comment-form .form-content {
    margin: 0 0 15px;
}

.comment-form a {display: inline-block;}

.comment-form h2 {
    font-size: 1.5em;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    margin: 0 0 7px;
}

.comment-form p {
    margin: 0 0 10px;
}

.comment-form p a {
    color: #008817;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.comment-form p a:hover {
    opacity: .8;
}

.comment-form #reg_author, .comment-form #log_author, .comment-form #reg_email, .comment-form #log_pass{
    width: 100% !important;
    border: 1px solid #c7c2c2 !important;
    margin: 0 !important;
}

.comment-form #reg_author, .comment-form #log_author, .comment-form #reg_email, .comment-form #log_pass,
.comment-form input[type="text"] {
    width: 100%;
    border: 1px solid #c7c2c2;
    color: #797979;
    font-size: 14px;
    line-height: 17px;
    padding: 7px 11px;
    height: 31px;
    margin: 0 0 14px;
}

.comment-form textarea {
    width: 100%;
    border: 1px solid #c7c2c2;
    color: #797979;
    font-size: 14px;
    line-height: 17px;
    padding: 7px 11px;
    height: 33px;
    margin: 0 0 14px;
}

.comment-form input[type="submit"],
.comment-form input.comment-button {
    float: right;
    height: 31px;
    padding: 7px 12px;
    font-size: 15px;
    line-height: 17px;
    font-weight: 700;
    color: #fff;
    border: 0;
    border-radius: 3px;
    background: #008817;
}

.comment-form input[type="submit"]:hover,
.comment-form input.comment-button:hover {
    opacity: .8;
}

.comment-form .login-box {
    float: left;
    width: 78%;

    border-collapse: collapse;
    /*display: none;*/
}

.comment-form .login-box.opened {
    display: table;
}

.comment-form .login-box .login-row{
    display: table;
    width: 100%;
}

.comment-form .login-box .comment-signup,
.comment-form .login-box .comment-login,
.comment-form .login-box .separator{
    display: table-cell;
}

.comment-form  #math-verification-image #mv-question{
    width: 75%;
}

.comment-form  #math-verification-image #mv-guess {
    float: left;
    width: 25%;
}

.comment-form  #math-verification-image #mv-guess input{
    width: 100%;
    margin: 0;
}

.comment-form  #math-verification-image #mv-question img {
    width: 100%;
}

.comment-form .login-box .comment-login {

    width: 40%;
}

.comment-form .login-box .separator{
    vertical-align: middle;
    width: 10%;
    text-align: center;
}

.comment-form .login-box .separator span {
    font-size: 16px;
    color: #666666;
    display: block;
    font-weight: bold;
    position: relative;
    top: -80px;
}

.comment-form .privacy-disclaimers-container{
    margin-top: 15px;
}

.comments-list {
    font-size: 1.0714285714em;
    line-height: 1.2em;
}

.comments-list li {
    padding: 12px 0;
    border-top: 1px dotted #c7c2c2;
}

.comments-list .photo {
    float: left;
    border: 1px solid #c7c2c2;
}

.comments-list .photo img {
    display: block;
}

.comments-list .detail {
    overflow: hidden;
    padding: 0 19px;
}

.comments-list .detail .head {
    margin: 0 0 12px;
}

.comments-list .detail .head time {
    padding: 0 8px;
    font-size: 15px;
}

.comments-list .detail .user-name {
    text-decoration: none;
    font-weight: 700;
    color: #008817;
    display: inline-block;
}

.comments-list .detail p {
    margin: 0 0 5px;
    font-size: 15px;
}

h2.comments-title{ padding-top: 15px; border-top: 1px dotted #c7c2c2;}


#respond h3{display:none;}

h3.sidebar-header span{
	width: 195px;
	height: 19px;
	float: left;
	font-family: 'proxima_nova_rgregular';
	font-size: 16px;
	font-weight: bold;
	font-style: normal;
	line-height: normal;
	text-align: left;
	letter-spacing: normal;
	color: #555555;
	padding: 10px 5.88235294118%;
}

.left2, .alignleft{
	float: left;
}

.relative{
	position: relative;
}

#sidebar-widget-in{
	outline: none;
	padding-bottom: 34px;
	width: 100%;
}

.mvp_sidecat_widget.sidebar-widget, .mvp_sidecat_widget.sidebar-widget ul.sidebar-list, .mvp_sidecat_widget.sidebar-widget ul.sidebar-list li, .mvp_sidecat_widget.sidebar-widget .sidebar-widget-content{
	width: 100%;
	padding: 0;
	margin: 0;
	clear: both;
}

.sidebar-widget{
	border-bottom: 1px solid #ccc;
	float: left;
	overflow: hidden;
}

.sidebar-widget-content{
	padding: 20px 5.88235294118%;
	width: 88.2352941176%;
}

/*.mvp_sidecat_widget.sidebar-widget ul.sidebar-list{
	background: #000;
}*/

.sidebar-widget ul.sidebar-list{
	margin: -20px 0 -20px -6.6666666666%;
	width: 113.3333333333%;
}

.mvp_sidecat_widget.sidebar-widget ul.sidebar-list li{
	position: relative;
	overflow: hidden;
}

.mvp_sidecat_widget.sidebar-widget, .mvp_sidecat_widget.sidebar-widget ul.sidebar-list, .mvp_sidecat_widget.sidebar-widget ul.sidebar-list li, .mvp_sidecat_widget.sidebar-widget .sidebar-widget-content{
	width: 100%;
	padding: 0;
	margin: 0;
	clear: both;
}

ul.sidebar-list li, ul.sidebar-list-tabs li{
	border-top: 1px solid #ccc;
	display: block;
	float: left;
	padding: 15px 5.88235294118%;
	width: 88.2352941176%;
}

h3.sidebar-header{
	/*background: #1f4773;*/
	margin-top: -1px;
	width: 100%;
}

ul.sidebar-list li{
	position: relative;
	overflow: hidden;
	width: 300px !important;
	padding: 0;
	margin: 5px 0 !important;
	clear: both;
	height: 100px;
	background-color: rgba(31,36,39,1);

	border-top: 1px solid #ccc;
	display: block;
	float: left;
	left: 20px;

	box-sizing: initial !important;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;

}

.sidebar-post{
	width: 300px;
	height: 100px;
	/*background-color: rgba(31,36,39.0.64);*/
}

li.sidebar-post:hover .sidebar-bg{
	opacity: 0.3;

}

.sidebar-stripe{
	width: auto;
	max-width: 300px;
	height: 16px;
	background-color: #a1a107;
	margin-top: 10px;
	position: relative;
	z-index: 1;
}
.stripe-tots{
	background-color: rgb(0, 133, 186) !important;
}
.stripe-ecout{
	background-color: #cb6e2f !important;
}

.sidebar-cat{
	width: auto;
	max-width: 300px;
	height: 20px;
	font-family: 'proxima_nova_rgregular';
	font-size: 11px;
	font-weight: bold;
	font-style: normal;
	font-stretch: normal;
	line-height: 1.82;
	letter-spacing: normal;
	text-align: left;
	color: #ffffff;
	display: inline-block;
	float: left;
	position: relative;
	margin-top: -1px;
	margin-left: 5px;
	z-index: 2;
	overflow: hidden;
	background-color: transparent !important;
}

.sidebar-title{
	width: 268px;
	height: 57px;
	font-family: 'proxima_nova_rgregular';
	font-size: 19px;
	font-weight: normal;
	font-style: normal;
	font-stretch: normal;
	line-height: 1;
	letter-spacing: normal;
	text-align: left;
	color: #ffffff;
	display: inline-block;
	position: relative;
	margin: 5px 16px 0 16px;
	z-index: 2;
	overflow-y: hidden;
}

.Line-2{
	width: 300px;
	height: 2px;
	border: solid 1px #979797;
	float: left;
	margin-bottom: 10px;
	margin-top: -6px;
	position: relative;
	left: 20px;
}

/*.sidebar-post h1{
	z-index: 3;
	text-align: center;
	color: #fff;
}*/

.sidebar-bg{
	width: 100%;
	height: 100%;
	position: absolute;
	opacity: 0.6;
	z-index: 0;
	/*background-image: url(wp-content/themes/inhabitatresponsive/images/green.jpg); */

	transition: all 0.6s ease-out;
	-webkit-transition: all .6s ease-out;
	-moz-transition: all .6s ease-out;
	-o-transition: all .6s ease-out;
}

.sidebar-list{
	width: 340px;
	background-color: #ffffff;
	/*border: solid 1px #9c9c9c;*/
	overflow-y: scroll;
	overflow-x: hidden;
}

/*.sidebar-outline{
	border: solid 1px #9c9c9c;
}*/

li.sidebar-post{
	transition: all linear 0.7s;
	top: 0;
}

li.sidebar-post{
	/*transition: all linear 0.9s;*/
	top: -115px;
}

.right-video {
    margin-bottom: 15px;
}

.casl-checkbox a {
    color: #008817;
    font-weight: 600;
}

.casl-checkbox a:hover {
    opacity: .8;
    color: #008817;
}

.primis-custom {
    background-color: #f5f5f5;
    max-height: 500px;
}

@media screen and (min-width: 300px) {
    .primis-custom {
        background-color: #f5f5f5;
    }

    #single_fullwidth_lead, #single_fullwidth_lead_2 {
        min-height: 300px;
    }

    .mn-wrapper {
        min-height: 182px;
    }
}

@media screen and (min-width: 768px) {
    .primis-custom {
        min-height: 325px;
    }
}

@media screen and (min-width: 1024px) {
    .primis-custom {
        min-height: 376px;
    }

    #single_fullwidth_lead, #single_fullwidth_lead_2 {
        min-height: 318px;
    }
}

@media screen and (min-width: 1400px) {
    .primis-custom {
        min-height: 415px;
    }

    #single_fullwidth_lead, #single_fullwidth_lead_2 {
        min-height: 437px;
    }
}

@media screen and (min-width: 1920px) {
    .primis-custom {
        min-height: 500px;
    }

    #single_fullwidth_lead, #single_fullwidth_lead_2 {
        min-height: 437px;
    }
}

div[id^='google_ads_iframe_/2922/InhabitatMobile/article/320x50_image']{
    display: block;
    margin: 0 auto;
    max-width: 320px;
}


@media screen and (min-width: 1920px) {
    .primis-custom {
        height: 500px;
        margin-bottom: 14vw;
    }

    #single_fullwidth_lead, #single_fullwidth_lead_2 {
        min-height: 549px;
    }

    .wp-block-image{
        display: flex;
        justify-content: center;
    }

    .single.post-content p, div.single.post-content>img{
        margin: 1em auto;
    }

    /*div[id^='google_ads_iframe_/2922/InhabitatMobile/article/320x50_image']{
        display: flex;
        justify-content: center;
    }*/
}

div[id^='google_ads_iframe_/2922/InhabitatMobile/article/320x50_top']{
    display: flex;
    justify-content: center;
}

div[id^='google_ads_iframe_/2922/InhabitatMobile/article/300x250_bottom']{
    display: flex;
    justify-content: center;
}