/* Post List widget */
.s-post-list-block {
	display: flow-root;
}
.s-post-entry-thumbnail {
    width: calc(33.333% - 15px);
    height: 170px;
    border-radius: 6px;
    margin-right: 30px;
	background-size: cover;
	float: left;
}
.s-post-entry-content h3{
    margin-top: 0;

}
.content-full {
    display: none;
}

/* Gallery */
.s-post-gallery {
    
}
.s-post-gallery-image {
    width: 100%;
    height: 170px;
    border-radius: 6px;
    background-size: cover;
	margin-bottom: 20px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}
.s-post-gallery .owl-nav {
    position: absolute;
    top: -40px;
    width: 100%;

}
.s-post-gallery .owl-nav .owl-next {
    float: right;
}
.s-post-gallery.owl-carousel .owl-nav button.owl-next, 
.s-post-gallery.owl-carousel .owl-nav button.owl-prev, 
.s-post-gallery.owl-carousel button.owl-dot {
    font-size: 20px;
	padding: 8px!important;
	position: absolute;
    top: 107px;
}
.s-post-gallery.owl-carousel .owl-nav button.owl-next {
	right: 0;
}
.s-post-gallery.owl-carousel .owl-nav button.owl-next:focus, 
.s-post-gallery.owl-carousel .owl-nav button.owl-prev:focus, 
.s-post-gallery.owl-carousel button.owl-dot:focus {
    outline: none;
    border: none;
}
.s-post-gallery-wrapper.show {
    overflow: hidden;
/*     max-height: 1000px; */
    transition: max-height 0.25s ease-in;
	clear: both;
	padding-top: 30px;
}
.s-post-gallery-wrapper.hide {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.15s ease-out;
}
.s-button-wrapper {
    text-align: center;
	margin: 25px 0 60px;
	display: none;
}
.s-post-info-overlay {
	background: rgba(26, 62, 112, 0.7);
	opacity: 0;
	visibility: hidden;
	color:#fff;
	position: absolute;
    width: 100%;
    height: 100%;
	padding: 15px 40px;
	font-size: 14px;
	transition: opacity 0.5s ease-in-out;
}
.s-post-info-overlay p {
	margin: 0;
	height: 100%;
	overflow: hidden;
	letter-spacing: 0.5px;
	font-weight: 200;
	line-height: 1.4;
}
.s-post-gallery-image:hover .s-post-info-overlay {
	visibility: visible;
	opacity: 1;
}
.s-post-meta-wrapper {
	text-align: right;
}
.s-post-entry-content p {
	line-height: 1.4;
}

/* Calculator */
.multiselect {
	width: 200px;
}

.selectBox {
	position: relative;
}
.selectBox select {
	width: 100%;
	font-weight: bold;
}
.overSelect {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
#checkboxes {
	display: none;
	border: 1px #dadada solid;
    position: absolute;
    width: auto;
    background: #fff;
	padding: 10px 0;
	z-index: 3;
}
#checkboxes label {
	display: block;
	font-size: 17px;
	padding: 5px 40px 5px 15px;
	text-transform: initial;
	position: relative;
	white-space: nowrap;
}
#checkboxes label::before{
	width: 18px;
    height: 18px;
    border: 1px solid #8C9EB7;
    content: ' ';
    float: left;
    margin: 5px 10px 0 0;
    vertical-align: middle;
    cursor: pointer;
}
#checkboxes label::after{
	display: none;
    top: 6px;
    left: 18px;
    content: "\f00c";
    font-family: 'FontAwesome';
    color: #008FD5;
    font-weight: 200;
    position: absolute;
    font-size: 12px;
    cursor: pointer;
}
#checkboxes input[type=checkbox]:checked + label::after{
	display: block;
}
#checkboxes input[type=checkbox]:checked + label::before{
	border: 1px solid #008FD5;
}
#checkboxes input[type=checkbox]{display:none;}
#checkboxes label:hover {
	background-color: rgba(26, 62, 112, 0.1);
}
.product-counter {
	display: flex;
}
.number-input {
	border: none;
	max-width: 36px;
	text-align: center;
	font-style: normal;
	font-weight: bold;
	font-size: 18px;
	color: #0C3464;
}
.number-input:disabled {
	background: none;
}
.sp-btn {
	cursor: pointer;
	padding: 6px;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle;
    line-height: 15px;
	border: 1px solid #000000;
}
.pr-remove {
	width: 18px;
    height: 18px;
    border: 2px solid #0C3464;
    color: #0C3464;
    font-size: 8px;
    display: inline-block;
    font-weight: bold;
    line-height: 12px;
    border-radius: 15px;
    margin: -5px 5px 0;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
	transition: all 0.3s ease-in-out;
	opacity: 0.2;
}
.pr-remove:hover {
	opacity: 1;
}
.calculator-selected-item {
	font-size: 18px;
	text-transform: initial;
	font-weight: bold;
}

.elementor-calculator-row {
	padding: 100px 0 85px;
	background-image: url(../img/point-wave.svg), url(../img/point-wave.svg);
	background-position: 0 0, 0 bottom;
	background-repeat: no-repeat, no-repeat;
	background-size: contain, contain;
}
.table{
	display: table;         
	width: 100%;                       
	border-spacing: 5px;/*cellspacing:poor IE support for  this*/
}
.table-row{
	width:100%;
	clear:both;
}
.table-col{
	float:left;/*fix for  buggy browsers*/       
	width:200px;        
}
.table-col.table-col-50{
	width: 50%;

}
.calculator-settings .table-col{
	padding: 10px 0;
}
.calculator-settings small {
	text-transform: lowercase;
}
.calculator-settings-value {
	font-weight: 700;
	font-size: 18px;
	line-height: 27px;
	text-transform: initial;
}
.calculator-column-wrap {
	width: 100%;
}
.calculator-settings {
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	line-height: 27px;
	text-transform: uppercase;
	color: #1A3E70;
	padding: 10px 0;
}
.calculator-settings select {
	font-family: 'Oswald', sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	line-height: 27px;
	text-transform: uppercase;
	color: #1A3E70;
}
.select-wrapper {
	position: relative;
}
.select-wrapper select {
	background-color: transparent;
	padding: 12px;
	border: none;
	font-size: 20px;
	-webkit-appearance: button;
	appearance: button;
	outline: none;
	padding: 0;
	cursor: pointer;
}
.select-wrapper::before {
	content: "\f078";
    font-family: FontAwesome;
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 60%;
    text-align: center;
    font-size: 15px;
    line-height: 2;
    color: #1A3E70;
    pointer-events: none;
}
.calculator-settings .select-wrapper {
	width: 140px;
}
.select-wrapper select option {
	padding: 30px;
}
.calculator-result {
	height: 100%;
	display: flex;
	align-items: center;
}
.calculator-result-wrapper {
	font-size: 30px;
	text-transform: uppercase;
	font-weight: 600;
}
.result-title {
	margin-bottom: 15px;
}
.result-value {
	color: #167EE1;
}
.button {
	font-family: 'Oswald', sans-serif;
	border: none;
	cursor: pointer;
}
.button-blue {
	background: #167EE1;
	color: #fff;
}
.button-result {
	text-transform: uppercase;
	font-size: 24px;
	padding: 10px 60px;
	margin-right: 50px;
}
.button-result:focus {
	outline: none;
}
.button-bordered {
	border-radius: 40px;
}
.button-result[disabled="disabled"] {
	background: #dee6f4;
}

.number-input::-webkit-outer-spin-button,
.number-input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.number-input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}



@media screen and (min-width: 1500px) {
	.s-post-gallery.owl-carousel .owl-nav button.owl-next, 
	.s-post-gallery.owl-carousel .owl-nav button.owl-prev, 
	.s-post-gallery.owl-carousel button.owl-dot {
		top: 132px;
	}
    .s-post-entry-thumbnail,
    .s-post-gallery-image{
        height: 220px;
    }
    .s-post-gallery .owl-nav {
        position: absolute;
        top: -40px;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  {
	.s-post-entry-thumbnail{
		width: calc(45% - 15px);
		margin: 11px 30px 0 20px;
		/* height: 144px; */
	}
	.s-post-gallery-image {
		height: 120px;
	}

	/* .s-post-list-block .s-post-entry-content {
		width: calc(55% + 15px);
	} */
	.s-post-gallery.owl-carousel .owl-nav button.owl-next, 
	.s-post-gallery.owl-carousel .owl-nav button.owl-prev, 
	.s-post-gallery.owl-carousel button.owl-dot {
		top: 85px;
	}

	.calculator-result {
		flex-direction: column;
		align-items: center;
	}
	.button-result {
		margin-right: 0;
		margin: 25px 0;
	}
}

@media screen and (max-width: 767px) {
	.s-post-entry-thumbnail {
		width: 100%;
		height: 350px;
		margin-right: 0;
		margin-bottom: 15px;
	}
	.s-post-gallery-image {
		height: 230px;
	}
	.owl-carousel{
		width: 80%;
		margin: 0 auto;
	}
	.s-post-gallery.owl-carousel .owl-nav button.owl-next {
		right: -35px;
	}
	.s-post-gallery.owl-carousel .owl-nav button.owl-prev {
		left: -35px;
	}
	

	/* calculator */
	.elementor-calculator-row {
		padding: 50px 0 50px;
	}
	.calculator-result {
		flex-direction: column;
	}
	.button-result {
		padding: 10px 70px;
		margin-right: 0;
		margin-top: 20px;
	}
	.calculator-result-wrapper {
		width: 100%;
		margin-top: 40px;
		display: flex;
		justify-content: space-between;
		font-size: 40px;
	}
	.quan-col {
		text-align: right;
	}
	.product-counter {
		justify-content: flex-end;
	}
	.number-input {
		text-align: center;
	}

}
@media screen and (max-width: 560px) {
	.s-post-list-block {
		flex-direction: column;
	}
	.s-post-entry-thumbnail {
		width: 100%;
		height: 200px;
	}
	.s-post-list-block .s-post-entry-content {
		width: 100%;
	}
	.s-button-wrapper {
		text-align: center;
		margin: 0px 0 60px;
	}
	.s-post-gallery.owl-carousel .owl-nav button.owl-next {
		right: 0;
	}
	.s-post-gallery.owl-carousel .owl-nav button.owl-prev {
		left: 0;
	}
	.s-post-gallery.owl-carousel .owl-nav button.owl-next, .s-post-gallery.owl-carousel .owl-nav button.owl-prev{
		top: 130px;
	}
	
	
}


/* Entry Links */

.home .site-content {
	padding-bottom: 0;
	min-height: 100vh;
	height: 100%;
	overflow: hidden;
}
.entry-page {
	height: 100vh;
}
.entry-links-area {
	background-image: url(img/menu-background.png);
	background-size: cover;
	height: 100%;
}
.image-map-source {
	position: absolute;
	top: 0;
	left: 15px;
	width: 100%;
	height: 100%;
}
.links-group {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 15px;
}
.links-group .entry-image-1 {
	height: 100%;
	width: 53.5%;
}
.entry-image-a {
	position: absolute;
	top: 0;
	height: 100%;
}
.links-group .entry-image-2{
	left: 35.5%;
	width: 39%;
}
.links-group .entry-image-3{
	right: 0;
	width: 34.5%;
}
.entry-image {
	position: absolute;
}
.entry-image img {
	height: 100%!important;
	width: 100%;
}
.image-overlay {
	position: absolute;
	top: 0;
	background-size: cover;
	width: 100%;
	height: 100%;
}
.entry-link-title {
	width: auto;
	font-weight: 200;
	font-size: 25px;
	line-height: 44px;
	text-transform: uppercase;
	color: #fff;
	position: absolute;
    top: 0;
    left: 45%;
}
.entry-image-2 .entry-link-title {
	left: 52%;
}
.entry-image-3 .entry-link-title {
	left: 45%;
}

@media screen and (min-width: 1500px) {
	.entry-link-title {
		left: 53%;
	}
	.entry-image-2 .entry-link-title {
		left: 58%;
	}
	.entry-image-3 .entry-link-title {
		left: 55%;
	}

}