@charset "UTF-8";
/*
Theme Name: Xfastest HK
Author:  Xfastest HK WordPress team
Author URI: https://hk.xfastest.com/
Description: Xfastest HK theme.
Requires at least: WordPress 4.9.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: xfastest HK

*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

.wp-block-image{
}

.wp-block-image figcaption{
	color: #FFF;
}


html, body{ min-height: 100%; }
body{
line-height: 1.5;
background: url(//cdn.xfast-hosting.com/2017/07/background-wallpaper.jpg) #0a0a0a;
font-family: 'Open Sans', sans-serif;
}

a{
	color: #f2f2f2;
	text-decoration: none;
}

.clear{
clear: both;
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.wrap{
        margin: 0 auto;
}

#header_menu_icon{
display: none;
}
#header_search{
display: none;
}

header .search_icon{
	/* position: relative; */
	width: 48px;
}
#header_search.show{
display: block;
position: absolute;
z-index: 10;
background: #EEE;
padding: 10px;
right: 0;
top: 48px;
}

header,
main{
background: url(//cdn.xfast-hosting.com/2017/07/background-wallpaper.jpg) #0a0a0a;
}

header .wrap{
position: relative;
}

header nav{
	background: #1b1b1b;
	font-size: 16px;
	width: 100%;
}
header nav:before{
	content: "";
}
header nav:after{
	content: "";
}
header nav .wrap:before,
header nav .wrap:after
{
	content: "";
}

@media (max-width: 768px){
/*
	header nav .wrap:before,
	header nav .wrap:after{
		position: absolute;
		top: 0px;
		height: 100%;
		width: 10px;
		z-index: 1;
	}

	header nav .wrap:before{
		left: 0;
		width: 0;
		background: linear-gradient(to right, rgb(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
	}

	header nav .wrap:after{
        	right: 0;
		background: linear-gradient(to left, rgb(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
	}
*/
}

header nav ul .last_li:after{
        content: "";
}
header nav ul{
	white-space: nowrap;
	text-align: center;
	overflow-y: hidden;
	-ms-overflow-style: -ms-autohiding-scrollbar;

}

header .header_button{
	display: none;
	font-size: 12px;
	list-style-position: inside;
	list-style-type: none;
}
header .small_screen_button{
        display: none;
        font-size: 16px;
}
header .header_button .material-icons{
	font-size: 12px;
	color: #FFF;
	margin-right: 5px;
}
header .small_screen_button .material-icons{
        font-size: 16px;
        color: #FFF;
        margin-right: 5px;
}
header .header_button .fb-like{
	margin-top: 10px;
}

@media only screen and (max-width: 767px) {
/*
   #header_menu_icon{
	position: absolute;
	top: 20px;
	left: 20px;
	width: 30px;
	height: 24px;
	color: #FFF;
        display: inline;
        cursor: pointer;
   }
*/
   .site-branding{
        text-align: center;
   }
   h1 {
        font-size: 1em;
   }
   /*
   header nav{
        display: none;
   }
   */

   header.show_nav .site-branding-container{
      position: fixed;
left: 0;
top: 0;
height: 90px;
width: 100%;
z-index: 9999;
background: #000;
   }

   header.show_nav nav{
display: block;
position: fixed;
top: 90px;
left: 0px;
right: 0px;
bottom: 0px;
width: 100%;
height: auto;
overflow-y: auto;
z-index: 9999;
transition: all 0.4s ease-in-out 0s;
opacity: 1;
   }

   header.show_nav nav li{
	width: 31%!important;
	margin: 0 1% 10px 1%!important;
	border: 1px solid #FFF!important;
   }

   header.show_nav nav li a{
width: 100%!important;
padding: 0!important;
line-height: 48px!important;
font-size: 14px;
   }

header.show_nav .small_screen_button{
	display: block;
	margin: 50px auto 0 auto;
	text-align: center;
}

header.show_nav .small_screen_button .item{
	display: inline-block;
	margin: 0 10px;
}

/*
header nav li.search_icon{
	width: 97% !important;
	border: none !important;
}

header .search_icon a,
#header_search form .material-icons{
	display: none;
}
*/

/*
#header_search{
	width: 100% !important;
	display: block;
	position: relative !important;
	background: transparent !important;
	padding: 0 !important;
	top: 0 !important;
}

#header_search form .material-icons{
	display: inline-block;
	color: #FFF;
	font-size: 24px;
	line-height: 36px;
	vertical-align: top;
	margin-right: 5px;
}

#header_search input{
width: 60%;
height: 2.5em;
margin: 0;
padding: 0;
line-height: 2.5em;
border: 3px solid #FFF;
}
*/
}

@media only screen and (max-width: 1200px) {
  header nav {
	font-size: 14px;
  }
}

@media only screen and (max-width: 1023px) {
  header nav {
        font-size: 12px;
	width: 100%;
  }

   header nav ul{
	/*overflow-x: auto;*/
	overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
   }

  header nav li a {
	padding: 12px 10px;
 }
}


header nav ul{
	margin: 0 auto;
	width: 96%;
	padding: 0;
	font-family: 'Oswald', sans-serif;
	list-style-position: outside;
	list-style-type: none;
}

header nav li{
	display: inline-block;
	height: 48px;
	vertical-align: top;
	text-align: center;
}

header nav li a{
display: inline-block;
padding: 12px 15px;
letter-spacing: 2px;
}

header nav .current_nav a,
header nav li a:hover{
        background: #e08f16;
}


@media only screen and (min-width: 481px) {
.wrap {
    width: 100%;
}
}

@media only screen and (min-width: 768px) {
.wrap {
    width: 750px;
}
header .header_button{
position: absolute;
width: 120px;
display: block;
right: 10px;
top: 10px;
}
}

@media only screen and (min-width: 1020px) {
.wrap {
    width: 1000px;
}
}

@media only screen and (min-width: 1200px) {
.wrap {
    width: 1200px;
}
}

#xf_introduction,
#xf_valor_gears{
	position: relative;
}

#xf_introduction .prev,
#xf_introduction .next,
#xf_valor_gears .prev,
#xf_valor_gears .next{
position: absolute;
display: none;
width: 100px;
top: 0;
z-index: 100;
/*background: #000;*/
height: 100%;
opacity: 0.4;
cursor: pointer;
}

#xf_introduction.hover .prev,
#xf_introduction.hover .next,
#xf_valor_gears.hover .prev,
#xf_valor_gears.hover .next{
display: block;
}

#xf_introduction.hover .prev:hover .material-icons,
#xf_introduction.hover .next:hover .material-icons,
#xf_valor_gears.hover .prev:hover .material-icons,
#xf_valor_gears.hover .next:hover .material-icons{
	color: #e08f16
}

#xf_introduction .prev,
#xf_valor_gears .prev{
	left: 0;
}

#xf_introduction .next,
#xf_valor_gears .next{
	right: 0;
}

#xf_introduction .material-icons,
#xf_valor_gears .material-icons{
font-size: 70px;
top: 50%;
position: relative;
margin-top: -35px;
left: 20px;
color: #FFF;
}

@media only screen and (max-width: 767px) {

#xf_introduction .prev,
#xf_introduction .next,
#xf_valor_gears .prev,
#xf_valor_gears .next{
   width: 60px;
}

   #xf_introduction .material-icons,
   #xf_valor_gears .material-icons{
      font-size: 40px;
      left: 5px;
   }
}

#xf_introduction .article,
#xf_valor_gears .article{
	position: relative;
        max-width: 100%;
	overflow: hidden;
	display: inline-block;
	vertical-align: top;
}

/*
#xf_introduction .article:hover h4,
#xf_valor_gears .article:hover h4{
	background: rgba(100, 100, 100, 0.7) !important;
}
*/
#xf_introduction .article .thumb a{
	vertical-align: top;
}

#xf_introduction .article img,
#xf_valor_gears .article img{
	max-width: 100%;
	height: auto;
	vertical-align: top;

	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;

	-webkit-user-drag: none;
	user-drag: none;
}
/*
#xf_introduction .article:nth-of-type(n+2) {
	display: none;
}
#xf_valor_gears .article:nth-of-type(n+2) {
        display: none;
}
*/

#xf_introduction .article h4,
#xf_valor_gears .article h4{
display: none;
/*
position: absolute;
left: 0;
bottom: 0;
z-index: 10;
padding: 0;
margin: 0;
width: 100%;
height: auto;
background: rgba(67, 67, 67, 0.4) !important;
text-align: center;
*/
}

.adv{
	position: relative;
	width: 100%;
	padding-bottom: 9.28%;
}
.adv_v2{
        position: relative;
        width: 100%;
        padding-bottom: 12.37%;
        margin-bottom: 10px;
}


.adv-side-wrap{
	max-height:500px;
	overflow: hidden;
	padding: 20px 0;
}
.adv-side{
        position: relative;
        width: 100%;
	max-width: 300px;
        padding-bottom: 83.34%;
	margin: 0 auto;
}

.adv_v2 iframe,
.adv iframe,
.adv-side iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}



#xf_introduction .article h4 a,
#xf_valor_gears .article h4 a{
	display: inline-block;
	padding: 20px 20px;
	width: 100%;
}

#xf_introduction_wrap,
#xf_valor_gears_wrap{
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
}

.xf_section{
	background: #2d2d2d;
	margin-bottom: 20px;
}
.xf_section h3,
.xf_section .header{
	border-bottom: 3px solid #e08f16;
	margin: 0 0 10px 0;
	padding: 15px 20px;
	color: #f2f2f2;
	text-align: center;
	font-size: 22px;
}

.xf_section .article .thumb a{
	display: block;
}

.xf_section .article .thumb img{
        max-width: 100%;
        height: auto;
	vertical-align: top;

	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.xf_section .article h4{
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 1px;
	margin: 10px 20px 10px 20px;
	line-height: 1.5;
}

.xf_section .article h4 a{
        display: box;
        display: -webkit-box;
        height: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
}

.xf_section .article .content{
	color: #b3b3b3;
	padding: 0 20px 0 20px;
	font-size: 16px;
	line-height: 1.5;
}

.xf_section .article .thumb{
        width: 100%;
        text-align: center;
        overflow: hidden;
}


#xf_news .section_content,
#xf_review .section_content,
#xf_new_products .section_content,
#xf_business_solution .section_content{
	display:grid;

	grid-template-columns: calc(33.3333% - 1rem * 2/3) calc(33.3333% - 1rem * 2/3) calc(33.3333% - 1rem * 2/3);
	grid-column-gap: 1rem;
	grid-row-gap: 1rem;

	padding-bottom: 20px;
}

#xf_news .article .content,
#xf_review .article .content,
#xf_new_products .article .content,
#xf_business_solution .article .content{
	display: box;
	display: -webkit-box;
	max-height: 96px;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

@media only screen and (max-width: 767px) {

#xf_news .section_content,
#xf_review .section_content,
#xf_new_products .section_content,
#xf_business_solution .section_content{
    grid-template-columns: 100%;
    grid-column-gap: 0;
}

#xf_news .article:nth-of-type(n+2),
#xf_review .article:nth-of-type(n+2),
#xf_new_products .article:nth-of-type(n+2),
#xf_business_solution .article:nth-of-type(n+2){
    margin-top: 10px;
    padding: 0 20px;
}
#xf_news .article:nth-of-type(n+7),
#xf_review .article:nth-of-type(n+7),
#xf_new_products .article:nth-of-type(n+7),
#xf_business_solution .article:nth-of-type(n+7){
    display: none;
}

#xf_news .article:nth-of-type(n+2) .thumb,
#xf_review .article:nth-of-type(n+2) .thumb,
#xf_new_products .article:nth-of-type(n+2) .thumb,
#xf_business_solution .article:nth-of-type(n+2) .thumb{
    float: left;
    width: 30%;
}

#xf_news .article:nth-of-type(n+2) h4,
#xf_review .article:nth-of-type(n+2) h4,
#xf_new_products .article:nth-of-type(n+2) h4,
#xf_business_solution .article:nth-of-type(n+2) h4{
    float: right;
    width: 70%;
    padding: 0;
    margin: 0 0 0 0;
}

#xf_news .article:nth-of-type(n+2) h4 a,
#xf_review .article:nth-of-type(n+2) h4 a,
#xf_new_products .article:nth-of-type(n+2) h4 a,
#xf_business_solution .article:nth-of-type(n+2) h4 a{
    display: inline-block;
    padding: 0 0 0 1rem;
}

#xf_news .article:nth-of-type(n+2) .content,
#xf_review .article:nth-of-type(n+2) .content,
#xf_new_products .article:nth-of-type(n+2) .content,
#xf_business_solution .article:nth-of-type(n+2) .content{
    display: none;
}

}


#section_headline_and_promotion .section_content,
#section_info_and_openbox .section_content{
	display:grid;
        grid-template-columns: calc(49.9999% - 1rem * 1/2) calc(49.9999% - 1rem * 1/2);
        grid-column-gap: 1rem;
        grid-row-gap: 1rem;
}

#section_headline_and_promotion .article .content,
#section_info_and_openbox .article .content{
        display: box;
        display: -webkit-box;
        max-height: 96px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
	margin-bottom: 8px;
}

#xf_youtube_channel {
    position: relative;
}

#xf_youtube_channel_wrap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 39.38%;
/*
    padding-bottom: 56.25%;
*/
}

#xf_youtube_channel_wrap #xf_youtube_channel-video-player{
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
}
#xf_youtube_channel .playlist{
    position: absolute;
    top: 67px; 
    right: 0;
    width: 30%;
}
#xf_youtube_channel .playlist .control a{
	display: inline-block;
	width: 50%;
	text-align: center;
}
#xf_youtube_channel .playlist .control a .material-icons{
	vertical-align: middle;
}
#xf_youtube_channel .playlist ul{
	padding: 0 0 10px 10px;
}

#xf_youtube_channel .playlist ul li{
	position: relative;
	padding-left: 90px;
	padding-right: 10px;
	line-height: 30px;
	font-size: 16px;
	height: 60px;
	overflow: hidden;
	margin-bottom: 5px;
}
#xf_youtube_channel .playlist ul li a{
display: -webkit-box;
-webkit-line-clamp: 2;
max-height: 60px;
overflow: hidden;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
}

#xf_youtube_channel .playlist ul li span{
	position: absolute;
	top: 0;
	left: 0;
	width: 80px;
}


@media only screen and (max-width: 1023px) {
#xf_news .section_content,
#xf_review ..section_content,
#xf_new_products .section_content,
#xf_business_solution .section_content{
        grid-template-columns: calc(49.9999% - 1rem * 1/2) calc(49.9999% - 1rem * 1/2);
        grid-column-gap: 1rem;
}
#section_headline_and_promotion .section_content,
#section_info_and_openbox .section_content{
	grid-template-columns: calc(49.9999% - 1rem * 1/2) calc(49.9999% - 1rem * 1/2);
	grid-column-gap: 1rem;
}

#xf_youtube_channel_wrap {
    padding-bottom: 56.25%;
}
#xf_youtube_channel_wrap #xf_youtube_channel-video-player{
   width: 100%;
}

#xf_youtube_channel .playlist{
	position: relative;
	width: 100%;
	top: 0;
}
#xf_youtube_channel .playlist .control{
	margin-top: 10px;
}


}

@media only screen and (max-width: 767px) {
#xf_news .section_content,
#xf_review .section_content,
#xf_new_products .section_content,
#xf_business_solution .section_content{
        grid-template-columns: 100%;
        grid-column-gap: 0;
}
#section_headline_and_promotion .section_content,
#section_info_and_openbox .section_content{
        grid-template-columns: 100%;
        grid-column-gap: 0;
}
}

#xf_press,
#xf_headline,
#xf_promotion{
	padding-bottom: 20px;
}

#xf_news .article,
#xf_review .article,
#xf_press .article,
#xf_headline .article,
#xf_new_products .article,
#xf_info .article,
#xf_openbox .article,
#xf_business_solution{
	position: relative;
}

#xf_press .article:nth-of-type(n+2),
#xf_headline .article:nth-of-type(n+2),
#xf_promotion .article:nth-of-type(n+2),
#xf_info .article:nth-of-type(n+2),
#xf_openbox .article:nth-of-type(n+2),
#xf_business_solution .article:nth-of-type(n+2){
	margin-top: 10px;
	padding: 0 20px;
}

#xf_press .article:nth-of-type(n+2) h4,
#xf_headline .article:nth-of-type(n+2) h4,
#xf_promotion .article:nth-of-type(n+2) h4,
#xf_info .article:nth-of-type(n+2) h4,
#xf_openbox .article:nth-of-type(n+2) h4{
	float: right;
	width: 70%;
	padding: 0;
	margin: 0 0 0 0;
}

#xf_press .article:nth-of-type(n+2) h4 a,
#xf_headline .article:nth-of-type(n+2) h4 a,
#xf_promotion .article:nth-of-type(n+2) h4 a,
#xf_info .article:nth-of-type(n+2) h4 a,
#xf_openbox .article:nth-of-type(n+2) h4 a{
	display: inline-block;
        padding: 0 0 0 1rem;
}

#xf_press .article:nth-of-type(n+2) .thumb,
#xf_headline .article:nth-of-type(n+2) .thumb,
#xf_promotion .article:nth-of-type(n+2) .thumb,
#xf_info .article:nth-of-type(n+2) .thumb,
#xf_openbox .article:nth-of-type(n+2) .thumb{
	float: left;
	width: 30%;
}

#xf_introduction .article_active{
        z-index: 900;
}

#xf_introduction .article_active_next{
        z-index: 999;
}

.category_header,
.page_header{
        border-bottom: 3px solid #e08f16;
        margin-bottom: 10px;
        padding: 15px 20px;
        color: #f2f2f2;
        text-align: center;
}

.category_posts .subcat{
	white-space: nowrap;
	margin: 0 25px 15px 20px;
	padding-bottom: 10px;
	overflow-y: hidden;
	text-align: center;
	-ms-overflow-style: -ms-autohiding-scrollbar;
}
.category_posts .subcat a{
	display: inline-block;
	padding: 6px 10px;
	font-weight: bold;
	margin: 2px 5px;
}

.category_posts .subcat a.current{
	border-bottom: 2px solid #e08f16;
}

main .wrap{
	background: rgba(203, 205, 205, 0.5) !important
}
.index_body main .wrap{
        background: #2d2d2d !important
}

.category_posts .postlist,
#single_page .post_wrap,
#pricing .post_wrap{
	float: left;
	width: 67%;
	margin-left: 3%;
        color: #f2f2f2;
	padding-bottom: 20px;
	font-size: 18px;
}

.category_posts .postlist .article{
	position: relative;
	/* background: #2d2d2d; */
	background: #1d1d1d;
	color: #f2f2f2;
	margin: 0 0 20px 0;
}
.category_posts .postlist .article .main{
	padding: 0 20px 0 340px;
}

.category_posts .postlist .article .main .thumb{
	position: absolute;
	top: 20px;
	left: 20px;
	width: 300px;
	overflow: hidden;
}
.category_posts .postlist .article .main .thumb img{
	max-width: 100%;
}

.category_posts .postlist .article .main .title{
	font-size: 20px;
	margin: 0;
	padding: 20px 0 10px 0;
}

.category_posts .postlist .article .main .title a{
        display: box;
        display: -webkit-box;
        height: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
}

.category_posts .postlist .article .main .thumb img{
	width: 100%;
	max-height: 158px;
}

.category_posts .postlist .article .main .content{
        display: box;
        display: -webkit-box;
        height: 108px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;

}

.category_posts .postlist .article .footer{
	border-top: 1px dotted #CCC;
	margin: 10px 20px;
	padding: 10px 0;
        overflow: hidden;
	white-space: nowrap;
        text-overflow: ellipsis;
	text-align: right;
}

.category_posts .postlist .article .footer a{
        display: inline-block;
        padding: 6px 10px;
        background: #AAA;
	color: #000;
        font-size: 12px;
	margin: 0 5px;
}

.category_posts .pagination .current,
.category_posts .pagination a{
	display: inline-block;
	background: #CCC;
	color: #000;
	padding: 3px 8px;
	margin: 3px;
}

.category_posts .pagination .current{
	color: #FFF;
	background: #2d2d2d;
}

@media only screen and (max-width: 1200px) {

}

@media only screen and (max-width: 1023px) {
   .category_posts .postlist .article .main{
        padding-left: 220px;
   }
   
   .category_posts .postlist .article .main .thumb{
        top: 35px;
        left: 10px;
        max-width: 200px;
   }    
   
   .category_posts .postlist .article .footer a{
        padding: 3px 5px;
   }
}

@media only screen and (max-width: 480px) {
   .category_posts .postlist .article .main {
	padding: 0 20px;
   }

   .category_posts .postlist .article .main .title {
	font-size: 16px;
   }

   .category_posts .postlist .article .main .thumb{
	position: relative;
	top: 0;
	left: 0;
	max-width: 100%;
   }
   .category_posts .postlist .article .main .content{
	display: none;
   }

   .category_posts .postlist .article .footer{
	display: none;
   }
}


#single_page .entry-header{
	position: relative;
	width: 100%;
}
#single_page .entry-header h1,
#single_page .single_content h1{
	font-size: 24px;
	margin: 0;
}

#single_page .entry-header .info{
/*
	position: absolute;
*/
	color: #f2f2f2;
	width: 100%;
/*
	bottom: 0;
	background: rgba(67, 67, 67, 0.4) !important;
	z-index: 10;
*/
}
#single_page .entry-header .info .info-wrap{
	padding: 0;
        margin: 0 3%;
}

.gallery dl img{
    max-width: 100% !important;
    border: none !important;
}
.gallery dl dd.gallery-caption {
    background: #333 !important;
    color: #f7f7f7 !important;
    padding: 8px 10px;
}

.single_content h2,
.single_content h2.pageHead{
	padding-left: 45px;
	background: url(https://cdn.xfast-hosting.com/2017/07/small_icon_40x25.png) no-repeat left center;
}

.single_content .pagelist .current a{
	color: #e08f16;
}

.wp-caption{
    max-width: 100%;
    overflow: hidden;
    background: #333;
    margin: 5px 0 30px 0;
}
.wp-caption img{
    max-width: 100% !important;
}
.wp-caption .wp-caption-text{
	background: #333;
	padding: 5px 10px 8px 10px;
	text-align: center;
	color: #f7f7f7;
	margin: 0 !important;
}

#single_page .post_content p{
	margin-bottom: 10px;
}

#single_page .post_content a{
    color:rgb(5, 255, 176);
    color: blue;
}

#single_page .post_wrap .entry-footer .author{
	position: relative;
	height: 200px;
}

#single_page .post_wrap .entry-footer .author .thumb{
	position: absolute;
	width: 120px;
}
#single_page .post_wrap .entry-footer h4{
	border-bottom: 3px solid #e08f16;
	color: #f2f2f2;
	font-size: 18px;
	padding: 10px 0;
}

#single_page .post_wrap .entry-footer .author_img{
	border-radius: 50% 50%;
}

#single_page .post_wrap .entry-footer .author .info{
	padding-left: 140px;
}

#single_page .post_wrap .yt_wrap{
width: 100%;
height: 0;
position: relative;
}

#single_page .post_wrap .yt_wrap iframe{
width: 100%;
height: 100%;
position: absolute;
}

#single_page .post_wrap .tags a{
	display: inline-block;
	padding: 6px 10px;
	color: orange;
	font-size: 18px;
	background: #2d2d2d;
	margin-bottom: 10px;
}

#single_page .post_wrap .table_wrap{
	max-width: 100%;
	overflow: auto;
}

#single_page .post_wrap table td{
	border: 1px dotted #EEE;
	padding: 2px 3px;
}

#single_page .post_wrap .wp-embedded-content{
	max-width: 100% !important;
}

#single_page .post_wrap .page-navigation{
	border-bottom: 3px solid #CCC;
	margin: 50px 0 10px 0;
	padding-bottom: 10px;
}
#single_page .post_wrap .page-navigation .read-more{
	color: greenyellow;
	text-shadow: 1px 1px 2px black;
	padding: 8px 0;
}
#single_page .post_wrap .page-navigation .left-block{
	float: left;
	width: 49%;
}
#single_page .post_wrap .page-navigation .right-block{
        float: right;
        width: 49%;
	text-align: right;
}
#single_page .post_wrap .page-navigation .title{
	display: inline-block;
        background: #2d2d2d;
        margin-bottom: 5px;
        padding: 3px 5px;
	text-align: left;
}
#single_page .post_wrap .page-navigation a.prev,
#single_page .post_wrap .page-navigation a.next{
	display: inline-block;
	position: relative;
	padding: 10px;
	background: #2d2d2d;
	color: #e08f16;
	height: 48px;
	z-index: 1;
	padding: 0 10px;
	line-height: 48px;
}
#single_page .post_wrap .page-navigation a.prev{
	border-radius: 0 .4em .4em 0;
	margin-left: 24px;
}
#single_page .post_wrap .page-navigation a.prev::before{
	content: "";
	position: absolute;
	height: 34px;
	width: 34px;
	left: 0;
	top: 50%;
	z-index: -1;
	margin: -17px 0 0  -17px;
	transform: rotate(45deg);
	background: #2d2d2d;
}
#single_page .post_wrap .page-navigation a.next{
	border-radius: .4em 0 0 .4em;
	margin-right: 24px;
	clear: right;
}
#single_page .post_wrap .page-navigation a.next::after{
	content: "";
	position: absolute;
	height: 34px;
	width: 34px;
	right: 0;
	top: 50%;
	z-index: -1;
	margin: -17px -17px 0 0;
	transform: rotate(45deg);
	background: #2d2d2d;
}

#single_page .post_wrap .pagelist{
	list-style: none;
	padding: 0;
}

#single_page .pagelist-side{
        position: absolute;
        padding: 8px 0;
        background: #333;
        font-size: 16px;
        border-radius: 6px;
}


#single_page .pagelist-fixed{
	position: fixed!important;
	padding: 8px 0;
	bottom: 100px;
	background: #333;
	z-index: 10;
	font-size: 16px;
	border-radius: 6px;
}

#single_page .pagelist-side li,
#single_page .pagelist-fixed li{
	padding: 0 8px;
}


#single_page .post_wrap .post-navigation{
	margin-top: 10px;
}
#single_page .post_wrap .post-navigation .nav-previous,
#single_page .post_wrap .post-navigation .nav-next{
	float: left;
	width: 50%;
	height: 100px;
	background: #2d2d2d;

	overflow: hidden;
}
#single_page .post_wrap .post-navigation .nav-previous a{
	border-right: 1px solid #AAA;
}
#single_page .post_wrap .post-navigation .nav-next a{
        border-left: 1px solid #AAA;
}
#single_page .post_wrap .post-navigation .nav-previous{
}

#single_page .post_wrap .post-navigation a{
	display: block;
	padding: 10px;
	text-align: center;
}
#single_page .post_wrap .post-navigation a .post-title{
text-overflow: ellipsis;
overflow: hidden;
max-height: 54px;
display: box;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}

.category_posts .postlist_sidebar,
#single_page .single_sidebar,
#pricing .single_sidebar{
	float: left;
	width: 26%;
	margin-left: 3%;
}

.sidebar .sidebar_block{
	background: #2d2d2d;
}

.sidebar .sidebar_block h4{
	border-bottom: 3px solid #e08f16;
	margin: 0 0 10px 0;
	padding: 15px 20px;
	color: #f2f2f2;
	text-align: center;
}

#sidebar_default .row{
	position: relative;
	padding: 5px 10px;
}

#sidebar_default .row .thumb{
	position: absolute;
	left: 10px;
	top: 11px;
	width: 100px;
	overflow: hidden;
	height: 52px;
}

#sidebar_default .row .title{
	padding-left: 110px;
	font-size: 14px;
}

#sidebar_default .row .title{
        display: box;
        display: -webkit-box;
        height: 63px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
}

.site-footer .copyright{
	float: left;
}

.site-footer .row-2 .nav{
        float: right;
	list-style-position: inside;
	list-style-type: none;
	font-size: 12px;
}

.site-footer .row-2 .nav li{
	float: left;
	margin-right: 15px;
}

@media only screen and (max-width: 767px) {
   .category_posts .postlist,
   #single_page .post_wrap,
   #pricing .post_wrap{
	float: none;
        width: 100%;
   }
   .category_posts .postlist_sidebar,
   #single_page .single_sidebar,
   #pricing .single_sidebar{
	float: none;
        width: 100%;
   }

   .category_posts .postlist,
   #single_page .post_wrap,
   #pricing .post_wrap{
	margin-left: 0;
   }

   .category_posts .postlist_sidebar,
   #single_page .single_sidebar,
   #pricing .single_sidebar{
	margin-left: 0;
   }

   #single_page .single_content{
	padding: 0 15px;
   }

}

@media only screen and (max-width: 479px){
   #single_page .entry-header h1{
        font-size: 18px;
   }
   #single_page .entry-header .info{
        position: relative;
        width: 100%;
        bottom: 0;
        background: none;
        z-index: 10;
   }

   #single_page .entry-header .info .meta{
	text-align: right;
   }

   #single_page .entry-header .info .info-wrap{
        padding: 0;
   }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
   #single_page .entry-header h1{
        font-size: 18px;
   }
   #single_page .entry-header .info .info-wrap{
        padding: 10px;
   }
}


@media only screen and (min-width: 768px) and (max-width: 1023px) {
   #sidebar_default .row .thumb{
        display: none;
   }
   #sidebar_default .row .title{
        padding-left: 0;
	border-bottom: 1px dotted #CCC;
   }
}

.single_content .post_wrap{
	
}

.single_content .post_wrap .s-lb{
display: inline-block;
width: 100%;
text-align: center;
}

.single_content .post_wrap img{
	max-width: 98%;
	height: auto;
	text-align: center;
	vertical-align: top;
}

.site-footer .row-1 .nav{
	list-style: none;
}
.site-footer .row-1 .nav li{
	float: left;
	padding: 10px;
	width: 30%;
}

.site-footer .row-2{
	background: #272727;
	color: gray;
}
.site-footer .copyright{
	padding: 30px 0 30px 10px;
	font-size: 12px;
}

.site-footer .back_to_top{
color: #CCC;
background: rgba(224, 143, 22, 0.5);
width: 40px;
text-align: center;
position: fixed;
right: 10px;
bottom: 20px;
z-index: 20;
cursor: pointer;
}

.site-footer .back_to_top .material-icons{
vertical-align: top;
font-size: 40px;
}

.hide{
	display: none;
}

.error404 h1{
	color: #CCC;
	text-align: center;
}

.error404 .page-content{
        color: #CCC;
        text-align: center;
}


@media only screen and (max-width: 639px){
	.sl-wrapper .sl-navigation button.sl-prev,
	.sl-wrapper .sl-navigation button.sl-next{
		display: none;
	}
}
