/*!
Theme Name: Comfortemp Theme v1
Theme URI: https://rfi.asia
Author: RFI Asia
Author URI: https://rfi.asia
Description: 
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: ct2025
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Custom font: TheSans */
@font-face {
  font-display: swap;
  font-family: TheSans;
  font-style: normal;
  font-weight: 300;
  src: url(./fonts/thesans/TheSansC5-3_Light.woff2) format("woff2"),
    url(./fonts/thesans/TheSansC5-3_Light.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: TheSans;
  font-style: italic;
  font-weight: 300;
  src: url(./fonts/thesans/TheSansC5-3iLightItalic.woff2) format("woff2"),
    url(./fonts/thesans/TheSansC5-3iLightItalic.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: TheSans;
  font-style: normal;
  font-weight: 600;
  src: url(./fonts/thesans/TheSansC5-6_SemiBold.woff2) format("woff2"),
    url(./fonts/thesans/TheSansC5-6_SemiBold.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: TheSans;
  font-style: italic;
  font-weight: 600;
  src: url(./fonts/thesans/TheSansC5-6iSemiBoldIta.woff2) format("woff2"),
    url(./fonts/thesans/TheSansC5-6iSemiBoldIta.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: TheSans;
  font-style: normal;
  font-weight: 700;
  src: url(./fonts/thesans/TheSansC5-7_Bold.woff2) format("woff2"),
    url(./fonts/thesans/TheSansC5-7_Bold.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: TheSans;
  font-style: italic;
  font-weight: 700;
  src: url(./fonts/thesans/TheSansC5-7iBoldItalic.woff2) format("woff2"),
    url(./fonts/thesans/TheSansC5-7iBoldItalic.woff) format("woff");
}
@font-face {
  font-display: swap;
  font-family: TheSans;
  font-style: normal;
  font-weight: 900;
  src: url(./fonts/thesans/TheSansC5-9_Black.woff2) format("woff2"),
    url(./fonts/thesans/TheSansC5-9_Black.woff) format("woff");
}
body {
  font-family: TheSans, sans-serif !important;
}
hr {
	border-color: #99BFDB !important;
	opacity: 1 !important;
}
@media (min-width: 576px) {
	body {
		font-size: 1.125rem !important;
	}
}
section {
	margin-left: 1rem; margin-right: 1rem;
	margin-bottom: 1rem;
}
#main h2 {
	margin: 2rem 0px 0px 0px;
	padding: 0px 0px 1.5rem;
	font-size: 1.75rem;
	font-weight: 900;
	line-height: 2.25rem;
	color: #004388;
	text-align: left;
}
.navbar-nav .nav-link {
	font-weight: 700 !important;
	color: #000 !important;
}
.navbar-nav .nav-link:last-of-type {
  padding-right: 5px !important;
}
@media (min-width: 576px) {
	.navbar-nav .nav-link {
		font-size: 18px;
	}
	section {
		margin-bottom: 3rem;
	}
	#main h2 {
		padding: 0px 0px 4rem 0px;
		font-size: 2.6rem;
		font-weight: 900;
		line-height: 3rem;
		color: #004388;
		text-align: center;
	}
}
@media (min-width: 992px) {
	section {
		margin-bottom: 4rem;
	}
}
@media (min-width: 1200px) {
	section {
		margin-bottom: 6rem;
	}
}
/* Custom style */
#header {
	margin: 1rem !important;
	padding-top: 1.25rem !important; padding-bottom: 1.25rem !important;
	border-radius: 0.5rem !important;
}
.navbar {
	padding: 0px !important;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15) !important;
}
#header .navbar-nav .nav-link {
	color: #000;
}
#header .navbar-nav .nav-link:hover {
	color: #0693c7 !important;
}

/* .navbar-brand {
	padding-top: 15px !important;
	padding-bottom: 15px !important;
} */
.navbar.bg-light {
	background-color: #fff !important;
}
.navbar-brand img {
	height: 36px !important;
}
@media (min-width: 576px) {
	#header {
		margin: 0px !important;
		border-radius: 0px !important;
	}
	.navbar {
		box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1) !important;
	}
	.navbar-brand {
		padding-top: 5px !important;
		padding-bottom: 5px !important;
	}
	.navbar-brand img {
		height: 60px !important;
	}
}

/* Footer */
i.fa-linkedin-in {
	color: #004388 !important;
}
footer {
	padding: 20px 0px;
}
footer .nav-link {
	font-size: 12px;
	font-weight: 600;
	color: #000 !important;
}
footer .nav-link:hover {
	color: #0693c7 !important;
}
@media (min-width: 992px) {
	footer .nav-link {
		padding: 0.5rem 1.5rem !important;
		font-size: 18px;
	}
}
@media (min-width: 1600px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
		max-width: 1440px !important;
	}
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 1rem;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
	vertical-align: middle;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}