/*
Theme Name:  thefactnews
Author URI: https://www.thegeminigeeks.com/
Version: 1.1
Author: The Gemini Geeks
Description: A theme by The Gemini Geeks
*/
:root {
  /* Color Variables: */
--primarycolor:#000;
--secondarycolor:#D41E28;
--tertiarycolor:#D41E28;
  /* Font Variables: */
--primaryfont:'Roboto', sans-serif;
--secondaryfont:'Roboto', sans-serif;
}
*{margin: 0;padding: 0;}
body {margin: 0;padding: 0;background: #fff;font-family: var(--secondaryfont);-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;color:var(--primarycolor);font-weight: 400;font-size: 1rem;line-height: 1.8;text-rendering: optimizeLegibility;}
a img {border: none;}
a {color:var(--primarycolor);text-decoration: none !important;transition:0.8s;transition: all 0.8s ease;-moz-transition: all 0.8s ease;-ms-transition: all 0.6s ease;-webkit-transition: all 0.8s ease;-o-transition: all 0.8s ease;}
a:hover {transition:0.8s;text-decoration: none;color: var(--secondarycolor);}
.clear {clear: both;}
.divider {clear: both;border-bottom: 1px solid #ddd;margin: 0 0 1.2rem 0;padding: 20px 0 0 0;}
.alignleft{float:left;margin:0 10px 0 0;}
.alignright{float:right;margin:0 0 0 10px;}
.aligncenter{display:block;margin:0 auto;}

#scroll {position: fixed;right: 10px;bottom: 10px;cursor: pointer;width: 40px;height: 40px;background-color: var(--secondarycolor);text-indent: -9999px;display: none;-webkit-border-radius: 60px;-moz-border-radius: 60px;border-radius: 60px;z-index: 999;}
#scroll span {position: absolute;top: 50%;left: 50%;margin-left: -8px;margin-top: -12px;height: 0;width: 0;border: 8px solid transparent;border-bottom-color: #ffffff;}
#scroll:hover {background-color:var(--tertiarycolor);opacity: 1;filter: "alpha(opacity=100)";-ms-filter: "alpha(opacity=100)";}

.inner {width: 1170px;margin: 0 auto;max-width: 100%;}
.overlay {position: absolute;left: 0;right: 0;top: 0;bottom: 0;background-color: #5C2AB5CF;}

.header_area {position:relative;top: 0;left: 0;width: 100%;z-index: 999;transition: background 0.4s, all 0.3s linear;}
.header_area .row{align-items:center;padding: 2rem 0;}

.searchbox{position: relative;float:right;width: 60%;}
.searchbox input{width:100%;height: 50px;padding:5px 15px;border-radius:0rem;border:1px solid var(--primarycolor);background:#fff;font-size:1rem;font-weight: 400;outline: 0;}
.searchbox button{border: 0;height:50px;position: absolute;right:0;width:60px;background:transparent}
.searchbox img{width: 24px;margin:0 auto}
.searchbox input:focus{border:1px solid var(--secondarycolor)}

#top-bar{background:var(--secondarycolor);width:100%;padding:0.5rem 0;color: #fff;}
#top-bar .row{justify-content:space-between;align-items: center;}
#top-bar a{margin:0px 10px;color: #fff;display: inline-block;}
#top-bar a i{margin-right:5px;}
#top-bar .fa-phone-alt{transform: rotate(90deg)}
#top-bar a:hover{opacity: 0.8;}
#top-bar .pull-right,#top-bar .social{text-align: right;}
.nextsite{background:#fff;color:var(--primarycolor) !important;padding: 0px 20px;border-radius: 5px;font-size:15px;}
.nextsite:hover{background:var(--primarycolor);color:#fff !important;}

.topnav{background:var(--primarycolor)}

#logo .site-title {float:left;}
#logo .site-title a{color:var(--primarycolorcolor);font-size: 1.5rem;}
#logo img{width:370px;}
.site-menu-toggle{display: none;}

h1,h2,h3,h4,h5,h6 {margin: 0 0 0.6rem 0;color: #000;line-height: 1.2;font-family: var(--primaryfont);}

h1 {font-size: 36px;text-transform: uppercase;}
h2 {font-size: 28px;}
h3 {font-size:20px;}
h4 {font-size: 20px;}
h5 {font-size: 18px;}
h6 {font-size: 16px;}
.menu-bar {text-align: left;width: 30px;}
.menu-bar span {height:2px;background:var(--secondarycolor);display:block;margin-bottom:6px}
.menu-bar span:nth-child(1) {width:17px}
.menu-bar span:nth-child(2) {width:30px}
.menu-bar span:nth-child(3) {width:15px;margin-left:auto;margin-bottom:0}
.call-now-button {animation: animationFramesTwo 1.5s infinite linear alternate;}
.call-now-button {
	animation: animationFramesTwo 1.5s infinite linear alternate;
}
@keyframes animationFramesTwo {
 0% {
  transform:scale(1)
 }
 50% {
  transform:scale(1.1)
 }
 100% {
  transform:scale(1)
 }
}

#scrolleffect {padding-top: 6.25rem; margin-top: -6.25rem;}
.smalltext{text-transform: uppercase;letter-spacing: 5px;display: block;text-align: center}

.btn-primary{background:var(--tertiarycolor);padding: 0.5rem 2rem;margin: 2rem 0;display: table;color:#fff;transition: .6s ease-in-out;}
.btn-primary:hover{background:var(--secondarycolor);color:#fff;}

.more-btn{padding: 10px 35px;border: 1px solid var(--secondarycolor);margin:1rem 0;display:inline-block}
.more-btn:hover{background:var(--secondarycolor);color:#fff !important; }

#breakingnews{background:#f5f5f5;position:relative;}
#breakingnews .row{ }
#breakingnews .col-md-2{background:var(--secondarycolor);padding:10px;text-align: center}
#breakingnews h2{font-weight:500;color:#fff;text-transform: uppercase;font-size:22px;margin: 0}
#marquee{display:flex;gap:2rem;margin:0;padding:8px 0}
#marquee a{font-weight:400}

#hollowsection1{padding:3rem 0}
.w-box{gap: 0.5rem;display: flex;flex-direction:column;}
.newsbox{position: relative}
.newsbox:before{content:"";position:absolute;left:0;bottom:0;right:0;height: 40%;background-image: linear-gradient(to top, #000,#fff0);}
.blog-thumbnail{/*! height:240px; */}
.blog-thumbnail img{width:100%;height: 100%;object-fit:fill;aspect-ratio: 300/240;}
#hollowsection1 .newscontent{position: absolute;bottom:0.5rem;padding:0 10px}
.post-title{line-height:1.4;display: table;font-size:1rem;font-weight: 500;}
.newsbox .post-title{color:#fff;}
.pdate{color:var(--secondarycolor);font-size:15px}
#hollowsection1 .largebox{padding:0}
#hollowsection1 .largebox .blog-thumbnail{height:488px;}

.greybox{background:#F5F5F5;position: relative}
.p-2{padding: 2.5rem 2rem !important;}
.heading{position: absolute;top:1.8rem;left:0;display: flex;align-items: center;justify-content: space-between;width:97%}
.heading h2{background:var(--secondarycolor);color:#fff;font-weight: 400;padding: 3px 3rem 3px 2rem;font-size: 22px;text-transform: uppercase;letter-spacing: 1px;}
.heading a{}
.greybox .row{justify-content:space-between}
.greybox .newsbox1{width:49%}
.greybox .blog-thumbnail{/*! height: 300px */}
.newscontent{padding:10px 0}

.smallnewscontent{display: flex;flex-wrap: wrap;gap:0.8rem;justify-content:space-between}
.smallnewscontent .smallbox{width:49%;display: flex;border-bottom:1px solid #ccc;padding-bottom:0.8rem}
.sidebar .smallnewscontent .smallbox{border-bottom:1px solid #ccc !important}
.smallbox .thumbnail{min-width:100px;height: 80px;width: 100px;overflow: hidden}
.thumbnail img{width:100%;height: 100%;object-fit: fill;transition:0.6s ease-in-out}
.smallbox .post-title{font-weight: 400}
.smallboxtxt{padding-left:1rem}
.smallboxtxt .post-title{font-size:1rem}
.smallnewscontent .smallbox:nth-child(3n),.smallnewscontent .smallbox:nth-child(4n){border:0}
.smallbox:hover .thumbnail img{transform: scale(1.1)}

.mb-3{margin-bottom:3.5rem;}

#factnews{position: relative;padding-top:2.5rem;}
#factnews .heading{top:0;}
.factrow{justify-content: space-between;gap: 0.7rem;margin-top:2rem;}
.factbox{flex:1 0 250px;max-width: 270px;}
.factbox .post-title{font-weight:500}
.factbox .blog-thumbnail{/*! height: 180px */}

.world{background:var(--primarycolor);position: relative;}
.world .post-title{color:#fff}
.world .heading a{color:#fff}
.pt-3{margin-top:3.5rem;}

.twobox .smallbox,.newsbox1{width:100%}
.twobox .newscontent .post-title{min-height: 45px}

#threebox{background:#f5f5f5;padding: 3rem 0}
#threebox .smallbox{width:100%}

.sidebar{padding:0 1.5rem}
.sidebar .heading{top:0;left: 0rem;width: 100%;position: relative;margin-bottom:1rem}
.sidebar h2{font-size:20px}
.sidebar .smallnewscontent .smallbox{width:100%}
.sidebar img{margin-bottom:1.5rem}
.sidebox{position:relative;margin-bottom:1.5rem}

.more-link{background: var(--primarycolor);color:#fff;padding:2px 10px;margin-top:0.5rem;display: table;font-size:13px}
.more-link:hover{background:var(--secondarycolor);color:#fff}

.column{column-count: 2;}
.column3{column-count: 3;}

#cta{background: var(--secondarycolor);padding:4rem 0}
#cta p{color:#fff;text-transform: uppercase;font-size:1.4rem;letter-spacing: 1px;margin-bottom: 1rem;}
#cta ul{display: flex}
#cta li{display:inline;margin: 0 5px}
#cta ul li:first-child{margin-left:0}
#cta .socialmedia img{width:80px}
#cta .app li{margin:0 10px}
#cta li a:hover{opacity: 0.7}

#blog{width:100%;padding:4rem 0;}
.innerrow{gap: 1rem;justify-content:center}
.innerrow .newsbox1{flex:1 0 240px;max-width: 310px;border: 1px solid #000;}
.innerrow .newsbox1 .newscontent{padding:5px}

#single-post {padding:4rem 0;}
#single-post .col-md-8 img{max-width: 100%;height: auto;margin-bottom:25px;}
#single-post .col-md-8 p{margin-bottom:10px}
.author-name{margin-bottom:10px}
.tags{font-weight: 500;margin:1rem 0}
.tags a{font-weight: 400;color:var(--secondarycolor)}
.tags a:hover{color:var(--primarycolor)}
.sposts{margin:1.5rem 0}
.sposts img{margin: 0 !important;}
.sposts h2{margin-bottom:10px;position: relative;font-weight:500}
.sposts h2:before{content:"";position: absolute;bottom:0;width:200px;background:var(--secondarycolor);height: 2px;left:0}

#contactform .wpcf7-spinner{display: none}
.formbg{background:#f1f1f1;padding: 1rem;border-radius: 1rem}
.contact_detail{margin-top:2rem !important}
.contact_detail li{display: flex; align-items: center; gap: 0.5rem; margin-bottom:1.4rem; border-bottom: 1px dashed #ccc; padding-bottom: 0.7rem;}
.contact_detail li h3{margin-bottom: 0.1rem !important; font-size:18px; font-weight:650;}
.contact_detail li {color:  #454545 !important;}
.contact_detail li p{margin-bottom:0 !important; }
#main .contact_detail li a{color: #454545;font-weight: 400;}
.contact_detail .icon{width: 60px; height: 60px;background: var(--secondarycolor); padding: 0.9rem;border-radius: 8px; margin-right: 0.8rem}

#contactform{}
#contactform *{font-size: 15px;color:#595966;font-family: var(--secondaryfont)}
#contactform input, #contactform select{width: 100%;background: #FFF;border: 1px solid #ccc;padding: 10px 20px;
	margin: 6px 0;color:#595966;-webkit-border-radius:0px;height: 45px}
#contactform textarea{width: 100%;height: 125px;background: rgba(255,255,255,0.2);border: 1px solid #ccc;padding: 20px;margin: 10px 0;}
#contactform input:focus, #contactform textarea:focus, #contactform select:focus{outline:none;
	background: rgba(255,255,255,0.5);border: 1px solid var(--tertiarycolor);color:var(--primarycolor)}


::-webkit-input-placeholder { /* WebKit browsers */color:#595966 !important;opacity: 1;}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */color:#595966 !important;opacity: 1;}
::-moz-placeholder { /* Mozilla Firefox 19+ */color:#595966 !important;opacity: 1;}
:-ms-input-placeholder { /* Internet Explorer 10+ */color:#595966 !important;opacity: 1;}

#contactform input.wpcf7-submit, #submit{background: var(--primarycolor);color: #fff;text-transform: uppercase;cursor: pointer;border: none;margin: 15px auto 0;display: table;width:160px;transition: 0.6s ease-in-out;height: 45px;-webkit-border-radius: 0rem;}
#contactform input.wpcf7-submit:hover, #submit:hover{background: var(--secondarycolor);color:#fff;}

 #contactform #commentform input.wpcf7-submit{width:170px;margin:15px 0 0}

textarea, iframe{max-width: 100%;}
.wpcf7-response-output{color:#595959 !important;background:tranparent !important;border:0px !important}
#contactform .wpcf7-not-valid-tip {background: var(--secondarycolor) !important;}

#babyseat p,#returnjourney p{width: 100%;display: flex;align-items:center}
#contactform .wpcf7-radio{display: flex;}
#contactform .wpcf7-list-item{display: flex}
#contactform .wpcf7-list-item label{width: 100%;}
#contactform .wpcf7-radio input{width:unset}

.post {padding: 10px;margin: 0 0 10px 0;}
.post p {margin-bottom:1rem}
.post p a {font-weight: bold;}
.post a {color: #000;}


#pagetitle {padding:2rem 0;text-align: center;background:#f1f1f1;color:#fff;background-size:cover;position: relative;width: 100%;}
#pagetitle h1 {color:var(--primarycolor);text-align: center;text-transform:capitalize;font-weight:500;font-size:2rem}
#pagetitle p {color:#fff;text-align: center;font-size: 20px;}
.breadcrumb {list-style: none;border-radius: 4px;max-width: 100%;float: none;font-size: 14px;text-transform: uppercase;color: var(--primarycolor);font-weight: 300;}
.breadcrumb a:hover{color:var(--tertiarycolor);}
.breadcrumb>li {display: inline-block;}
.breadcrumb>li+li:before {content: "\f101";padding: 0 5px;color: #fff;font-family:'Font Awesome 5 Free';font-weight:900}
/* #pagetitle .breadcrumb> a {color: #fff} */

#main{padding: 3rem 0;}
#main p{color:var(--primarycolor);}
#main a{color:var(--secondarycolor)}
#main a:hover{color:var(--primarycolor);}
#main h3{font-size: ;}
#main li{list-style: none;line-height: 30px;color: var(--primarycolor);}

.widget {padding: 0 1rem;margin-top: 1.5rem;}
.widget h3 {border-bottom: 2px solid var(--primarycolor);text-transform: uppercase;}
.widget ul li {display:flex;list-style-type:none;border-bottom: 1px dashed var(--primarycolor);margin: 0 0 1rem 0;}

.paginate{text-align: center;margin:0 auto;}
.wp-pagenavi {clear: both;padding: 1.5rem 0;}
.wp-pagenavi a {display:inline-block;padding: 0.1rem 1.2rem !important;margin: 2px;border: 1px solid #ccc;color: var(--primarycolor);background: #fff;border-radius: 3px;}
.wp-pagenavi a:hover {color: #fff !important;background: var(--secondarycolor);}
.wp-pagenavi span.pages {padding: 0.3rem 1.2rem !important;margin: 3px;border-radius: 3px;border: 1px solid #ccc;}
.wp-pagenavi span.current {padding: 0.7rem 1rem;margin: 3px;font-weight: 700;border: 1px solid #ccc;background: var(--secondarycolor);border-radius: 3px;color: #fff;}
.wp-pagenavi span.extend {padding: 15px;margin: 3px;border: 1px solid #000;color: #fff;background: #000;}
.wp-pagenavi .next-comment-page,.wp-pagenavi .previous-comment-page {padding: 12px 14px;border: 1px solid #aaa;}
.wp-pagenavi a.nextpostslink {font-weight: 500;padding: 0.2rem 1rem !important;color: var(--secondarycolor);}

#commentlist{padding:5px;}
#commentlist .comment{padding:5px;margin:0 0 10px 0;border:1px solid #eee;border-radius:5px;}
#commentlist .fn{font-weight:bold;font-style:normal;}
#commentlist .commentmetadata {font-size:11px;margin:0 0 5px 0;}
#commentlist .commentmetadata a{color:#888;font-size:11px;}

#respond {padding:10px;background:#fafafa;border:1px solid #ddd;border-radius:5px;margin:5px;}
#respond h4{margin:0 0 10px 0;}
#respond h3{color:var(--tertiarycolor)}
#respond p{margin:0 0 10px 0;border:none !important;}
#respond input, #respond textarea {padding: 1rem 2rem;background: #f5f5f5;border: 1px solid #ccc;color: var(--tertiarycolor);}
#respond input:focus, #respond textarea:focus {background:#fff;}
#respond textarea{width:500px;max-width:90%;}
#respond textarea:focus{outline:none;}
#respond input#author{width:200px;margin:0 5px 0 0;}
#respond input#email{width:200px;margin:0 5px 0 0;}
#respond .copy{display: none}

#bottom {background: #ffff;color:var(--primarycolor);font-size: 15px;padding: 3.5rem 0 1rem;}
.flogo{display: table;margin-top:3.5rem}
#bottom a {}
#bottom a:hover {color:var(--secondarycolor);}
#bottom i {color: #fff;margin-right: 0px;}
#bottom .widget h3 {border: none;text-align: left;font-weight: 500;color: var(--primarycolor);font-size: 1.3rem;letter-spacing: 1px;margin-bottom: 1.3rem;}
#bottom .widget li {border: none;text-decoration: none;list-style: none;}


.info li{line-height:30px;display:flex;font-weight:300;}
.info .address:before {content: "\f3c5"; margin-right: 10px;font-size: 24px;color:var(--secondarycolor)}
.info .phone:before {content: "\f095"; margin-right: 10px;font-size: 24px;color:var(--secondarycolor)}
.info .email:before {content: "\f0e0"; margin-right: 10px;font-size: 24px;color:var(--secondarycolor)}


#footer {clear: both;margin-top:2rem;text-align: center;font-size:13px;}
.fleft {float: left;}
.fright {float: right;}

.phone-call {width: 50px;height: 50px;left: 20px;bottom: 20px;background:var(--secondarycolor);position: fixed;text-align: center;color: #ffffff;cursor: pointer;border-radius: 50%;z-index: 99;display: inline-block;line-height: 65px;font-size: 1.6rem;line-height: 50px;animation: shake 1.8s linear infinite alternate;}
.phone-call i{color:#000;}
.phone-call:before {position: absolute;content: " ";z-index: -1;top: -15px;left: -15px;background-color:var(--secondarycolor);width: 80px;height: 80px;border-radius: 100%;animation-fill-mode: both;-webkit-animation-fill-mode: both;opacity: 0.6;-webkit-animation: pulse 1s ease-out;animation: pulse 1.8s ease-out;-webkit-animation-iteration-count: infinite;animation-iteration-count: infinite;}
.fa-phone-alt::before {content: "\f879";}
@-webkit-keyframes pulse {
    0% {-webkit-transform: scale(0);opacity: 0;}
    25% { -webkit-transform: scale(0.3); opacity: 1; }
    50% {-webkit-transform: scale(0.6);opacity: .6;}
    75% {-webkit-transform: scale(0.9);opacity: .3;}
    100% {-webkit-transform: scale(1);opacity: 0;}
}

@keyframes shake{
    50%{transform:scale(1.1)rotate(90deg)}
}

@keyframes pulse {
    0% {transform: scale(0);opacity: 0;}
    25% {transform: scale(0.3);opacity: 1;}
    50% {transform: scale(0.6);opacity: .6;}
    75% {transform: scale(0.9);opacity: .3;}
    100% {transform: scale(1);opacity: 0;}
}


@media screen and (max-width: 981px) {
body {min-width: 230px;}
.desktoponly {display: none;}
.inner {width: 100%;padding: 0%;}
img.alignleft,
img.alignright {float: none;display: block;margin: 10px auto;}
.site-menu-toggle{display: block;color: var(--secondarycolor);}
.site-navbar{display: none;}

#logo{display:flex;align-items:center;justify-content:space-between}
#logo .site-title{margin: 10px 0;}
#logo img{width: 250px;height: auto;float:left;}
	#top-bar{text-align:center}
    .header_area .row{padding: 1rem 0}
    #top-bar .col-md-5,#top-bar .pull-right a{display: none}
    #top-bar .pull-right,#top-bar .pull-right .nextsite{display: table;margin: 0 auto}
    .searchbox{float:none;margin: 20px auto 0;width: 90%;}
    #marquee{gap: 2rem}
    #marquee li{flex:1 0 auto;}
    .w-box{flex-direction:row;}
    .w-box .newsbox{width: 50%;}
    #hollowsection1 .largebox{padding: 0 10px;margin:1rem 0}
     .largebox .w-box .newsbox{width: 100%;}
	.twobox .p-2{padding:2rem 0 !important}
    .flogo{margin-top:0}
	.sidebar{padding:0 0}
#bottom {width: 100%;display: block;}
.fleft, .fright {float: none;}
}


@media screen and (min-width: 981px) {
.mobileonly {display: none;}
.lefthalf {float: left;width: 48%;}
.righthalf {float: right;width: 48%;}
.site-menu-toggle{display:none;}
}


@media screen and (max-width: 800px) {
	 #hollowsection1 .largebox .blog-thumbnail{height: auto}
    .w-box{flex-wrap: wrap}
    .w-box .newsbox,.greybox .newsbox1,.smallnewscontent .smallbox,.factbox,#blog .newsbox1{max-width:100%;width:100%}
}
@media screen and (max-width: 600px) {
   
.wp-pagenavi span.pages, .wp-pagenavi a , .wp-pagenavi a.nextpostslink  {padding: 0.3rem 0.6rem !important;}
.wp-pagenavi span.current{padding:0.8rem}
.column, .column3, .column4{column-count:1}
	#cta .socialmedia img{width:50px}
	#cta .app li a{width:135px;display:table;}
}

@media screen and (min-width: 220px) and (max-width: 420px) {
}

@media screen and (min-width: 421px) and (max-width: 500px) {
#bottom .col-md-3{/*! width: 49%; */float: left;word-wrap: anywhere}
}


@media screen and (min-width: 501px) and (max-width: 768px) {
#bottom .col-md-3{width: 47%;float: left;}
}


@media screen and (min-width: 769px) and (max-width: 980px) {

}

@media screen and (min-width: 769px) and (max-width: 1120px) {
#bottom .col-md-3{width: 47%;float: left;}
#slider .btn-primary{padding:10px 35px;margin:10px 0;}
}


@media (min-width: 576px) {
.container-fluid {
max-width: 540px;
    padding: 0 2rem
}
}
@media (min-width: 768px) {
.container-fluid {
max-width: 720px;
}
}
@media (min-width: 992px) {
.container-fluid {
max-width: 1040px;
}
}
@media (min-width: 1200px) {
.container-fluid {
max-width: 1350px;
}
}
