/**
 *
 **/
h1 { margin-bottom: 3rem !important;}
h3 { color:#2bad74; font-size:2rem !important;}

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

ol.post-list, 
ol.comment-list { list-style: none; padding: 0; margin: 0; }

/* General Post Styles */
.post-list li:after { content: ' '; clear: both; display: block; }
.post-list li { /*display: inline-block; width: 48%; vertical-align: top;*/ }
.post-entry { overflow: hidden; margin: 0 0 20px; }
.post-image { margin: 0 0 10px; overflow: hidden; }
.post-image a { display: inline-block; }
.post-list .post-image { max-height: 300px; }
.post-meta { clear: both; margin: 0 0 20px; text-align: left; }
.post-meta .post-meta-item { display: inline-block; margin-right: 10px; }
.post-readmore { margin-top: 10px; }
.post-entry iframe { max-width: 100%; }
.post-entry h2 {
    color: #034599;
}
.post-entry h2, .post-entry h2 a {font-weight: bold; }
.post-list-item h2 { font-weight: bold;}




/* Comments */
.comment-list-item { margin: 0 0 20px; }
.comment-list.children { margin-top: 20px; padding-left: 30px; }
.comment-image { float: left; margin: 0 10px 10px 0; }
.comment-author { font-weight: bold; display: block; }
.comment-entry { clear: both; margin: 0 0 20px; }

/* Widgets */
.wp-sidebar { position: relative; } /* Fixes Porto issue where sidebar links aren't clickable */
.block-blog .block-title { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #c6c6c6; }
.block-blog .block-title > strong { font-size: 18px; font-weight: 300; }
.block-blog ul, .block-blog ol { list-style: none; margin: 0; padding: 0; }
.block-blog-cloud li { display: inline-block; margin: 0; }
.block-blog-categories ul.level1 { margin-top: 1rem; }

.shortcode-product {}
.shortcode-product .products { text-align: left; list-style: none; }
.shortcode-product .products > li { display: inline-block; width: 24%; text-align: center; }

/* Post List Grid */

.post-list.grid {}
.post-list.grid li { display: inline-block; width: 48%; vertical-align: top; margin-right: 1%; }
.post-list .item {margin-bottom: 4rem; border-bottom: 1px solid #ddd; padding-bottom: 3rem;}

.post-list-item .post-image	{    
		border: 1px solid #ddd;
    	margin: 4px 10px 2px 0;
    	padding: 1px;
	float: left;
}
.post-list-item .post-date, .post-list-item .post-user, .post-list-item .post-categories {
	font-size: 1.4rem;
}

.post-content ul, .post-content ol { 
	margin-top: 1.8rem;
}
.post-content ul>li, .post-content ol>li {
    margin-top: 0rem;
    margin-bottom: 1.8rem;
}

#blog-search-form .blog-search button {
	padding: 0 25px;
    height: 45px;
    line-height: 3rem;
	background-image: none;
    background: #1979c3;
    border: 1px solid #1979c3;
    color: #fff;
	margin-top: 10px;
	box-shadow: none;
}

#blog-search-form .blog-search button:hover {
	background: #166caf;
}


/* post page */
/*.post-view .post-entry .post-image {margin-bottom: 20px;}*/
/**** RA 2021-06-23 ***/
.post-view .post-entry .post-image {float:left; margin-right: 2rem; margin-bottom: 2rem;}
    
    
.post-view  .post-meta {
	margin: 5rem 0 20px;
}
.post-view  .post-meta .post-date {
	display:block;
	clear:both;
}


/* pages count */
.pages>.label {
    margin: -1px 0px 0px 10px;
    position: relative;
}
.pages-items .item.current {
	font-size: 1.5rem;
}


/********* RA 2021-06-23 ***********/
/*author bio*/
.author_bio_section{
background-color: #F5F5F5;
padding: 1.5rem 15px 0.5rem;
border: 1px solid #ccc;
	margin-top: 6rem;
}
  
.author_name{
font-size:16px;
font-weight: bold;
}



div.author_bio {display: table-cell;}
.author_details .author-image img {
	border: 1px solid #D8D8D8;
	border-radius: 50%;
	float: left;
	margin: 0 10px 10px 0 !important;
	width: 80px;
    height: 80px;
}

div.date-author { margin-bottom: 2rem;}


.blockgrey-msg-important {
    padding: 7px;
    /*#F2F2F2*/
	background-color: #d3eaff;
    border: 1px solid #B6BCBF;
    vertical-align: middle;
	text-decoration:none;
	/*color: #3B61AA !important;*/
	color: #151515 !important;
	font-weight: bold;
}
.blockgrey-msg-important.medium { font-size: 17px; line-height: 33px;}
.blockgrey-msg-important a {text-decoration: underline !important; color: #3B61AA !important;}


/*fix for old wp content brought in from m1 using grids from ultimp */
.post-content .grid12-12.dispinlineblock.centerelement, .post-content .grid12-12  {
	display: inline-flex;	
}


.products-grid .product-item-info:hover, .products-grid .product-item-info.active {
	/*gets rid of gray line appearing when products are called in to wordpress using a fishpig shortcode*/
	border: 1px solid #fff;
}


.post-content .grid12-1, .post-content .grid12-2, .post-content .grid12-3, .post-content .grid12-4, .post-content .grid12-5, .post-content .grid12-6, .post-content .grid12-7, .post-content .grid12-8, .post-content .grid12-9, .post-content .grid12-10, .post-content .grid12-11, .post-content .grid12-12, .post-content .grid-full, .post-content .grid-col2-sidebar, .post-content .grid-col2-main {
    display: inline;
    float: left;
    margin-left: 1%;
    margin-right: 1%;
}

.post-content .grid12-12, .post-content .grid-full {
    width: 98%;
}
.post-content .grid12-6 {
    width: 48%;
}
  
.post-content .ytwrapper { margin-top: 20px !important;}

	/**** faq **/
#faqEle .question { margin:10px 0px; }
#faqEle .question .block-title { 
	font-weight:bold; 
	padding: 15px 50px 15px 10px; 
	color: #00498D;
	font-size: 1.2em !important;
}
#faqEle .question.collapsible .block-title { border-bottom:0px !important;}
#faqEle .answer {
		font-size: 16px;
    color: #000;
    padding: 0 55px 15px 15px;
}
#faqEle .answer .listdisc { padding-left:20px;}
#faqEle .odd  { background: #eee; }




.collapsible {
    position: relative;
}

.collapsible .block-title {
    padding-top: 8px;
    padding-right: 35px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f2f2f2;
    border-color: rgba(0, 0, 0, 0.05);
    margin-bottom: 0.625em;
    font-size: 1.3333em;
    line-height: 1.25em;
    font-weight: normal;
}

.collapsible .block-content,
.collapsible .block-content>* {
    margin-top: 0;
}

.collapsible .opener {
    position: absolute;
    right: 0;
    top: 2px;
    display: none; /*change to block later*/
    cursor: pointer;
    width: 30px;
    height: 30px;
    background-color: #f2f2f2;
    background-color: rgba(0, 0, 0, 0.05);
    background-image: url(https://www.cctvcameraworld.com/media/oldskin/frontend/ultimo/cctvcw/images/infortis/ultra-megamenu/opener.png);
    background-position: center center;
    background-repeat: no-repeat;

}

.collapsible .opener:hover {
    background-color: #e5e5e5;
    background-color: rgba(0, 0, 0, 0.1);
    background-image: url(https://www.cctvcameraworld.com/media/oldskin/frontend/ultimo/cctvcw/images/infortis/ultra-megamenu/opener-w.png);
}

.collapsible.active .opener {
    background-image: url(https://www.cctvcameraworld.com/media/oldskin/frontend/ultimo/cctvcw/images/infortis/ultra-megamenu/opener-active.png);
}

.collapsible.active .opener:hover {
    background-image: url(https://www.cctvcameraworld.com/media/oldskin/frontend/ultimo/cctvcw/images/infortis/ultra-megamenu/opener-active-w.png);
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wp-block-table thead {
  background-color: #f7f7f7;
  border-bottom: 2px solid #dcdcdc;
}

.wp-block-table thead th {
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  color: #333333;
  border-right: 1px solid #e0e0e0;
}

.wp-block-table tbody td {
  padding: 12px 15px;
  border-top: 1px solid #eaeaea;
  border-right: 1px solid #f1f1f1;
  color: #444444;
}

.wp-block-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.wp-block-table tbody tr:hover {
  background-color: #f1faff;
}

.wp-block-table td:last-child,
.wp-block-table th:last-child {
  border-right: none;
}

/*2025-03-26 RA added to make blogs look better*/
/* Optional: Make table horizontally scrollable on mobile */
.wp-block-table {
  overflow-x: auto;
}

@media screen and (max-width: 768px) {
  .wp-block-table table {
    font-size: 14px;
  }
}
.wp-block-table table {
  border-radius: 8px;
  overflow: hidden;
}
/* 2025-03-28 */
.thought-bubble {
  position: relative;
  background: #f0f8ff;
  border-radius: 25px;
  padding: 1em 1.2em;
  margin: 1.5em 0;
  font-style: italic;
  border: 2px dashed #87ceeb;
  color: #333;
  font-family: sans-serif;
}

.thought-bubble::before {
  content: "\1F4AD";
  font-size: 1.4em;
  margin-right: 0.4em;
}

.thought-bubble::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 30px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #f0f8ff;
}

/* Base Styling for Best Camera Table */
.best-camera-table {
  padding: 10px 0;
  width: 60%;
  margin: auto;
}

.best-camera-table h2 {
  font-weight: bold;

}

.best-camera-table .camera-item {
  display: flex;
  flex-direction: column;
  border-top: 1px dashed #ccc;
  padding: 16px 0;
}

.best-camera-table .camera-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.best-camera-table .camera-details {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.best-camera-table img {
  width: 90px;
  height: auto;
  margin-right: 16px !important;
}

.best-camera-table .camera-text {
  display: flex;
  flex-direction: column;
}

.best-camera-table .price-container {
  text-align: right;
}

.best-camera-table .price-link {
  display: inline-block;
  background-color: #b2ff99;
  padding: 6px 12px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  margin-bottom: 4px;
}

.best-camera-table .jump-link {
  font-size: 14px;
  text-decoration: underline;
  color: #000;
}

.best-camera-table .features {
  margin-top: 10px;
  background-color: #f8f8f8;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .best-camera-table {
    width: 100%;
  }

  .best-camera-table .camera-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .best-camera-table .price-container {
    text-align: right;
  }
}



/* 2025-06-28 product cross link */
.prod-crosslink {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 1px 14px rgba(0, 0, 0, 0.16);
  padding: 20px;
  margin: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.prod-crosslink img {
  width: 180px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

.prod-crosslink .content {
  flex: 1;
  min-width: 200px;
}

.prod-crosslink .title {
  margin: 0;
  color: #007cba;
  font-weight: bold;
  font-size: 18px;
}

.prod-crosslink .subtitle {
  margin: 5px 0 15px;
  font-weight: bold;
}

.prod-crosslink .description {
  margin: 0;
}

.prod-crosslink .btn,
.prod-crosslink .btn-alt {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: bold;
}

.prod-crosslink .btn {
  background-color: #00aaff;
  color: #ffffff;
  border: 1px solid transparent;
}

.prod-crosslink .btn:hover {
  background-color: #ECFAFD;
  color: #00ade5;
  border: 1px solid #00ade5;
}

.prod-crosslink .btn-alt {
  background-color: #ffffff;
  color: #00AAFF;
  border: 1px solid #00AAFF;
}

.prod-crosslink .btn-alt:hover {
  background-color: #ECFAFD;
}




/* 2025-10-19 table of contents */
/*TOC box (drop this in your global CSS) - begin */
.toc-box {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 16px;
  background: #fafafa;
  margin: 18px 0;
}

/* Title inside the box */
.toc-box .toc-title {
  font-weight: 600;
  margin: 0 0 8px;
}

/* Lists inside the box (no special classes needed) */
.toc-box ol,
.toc-box ul {
  margin: 0;
  padding-left: 18px;
}

/* List items inside the box */
.toc-box li {
  margin: 6px 0;
}

/* Nested ordered lists use lower-alpha by default */
.toc-box ol ol {
  list-style-type: lower-alpha;
  margin-top: 4px;
}

/* Optional: nested deeper can be lower-roman */
.toc-box ol ol ol {
  list-style-type: lower-roman;
}

/* Optional: nicer bullets for unordered lists */
.toc-box ul { list-style: disc; }
.toc-box ul ul { list-style: circle; }
.toc-box ul ul ul { list-style: square; }

/* Optional: keep mixed nesting tidy */
.toc-box ol ul,
.toc-box ul ol { margin-top: 4px; }

/* Optional link styling */
.toc-box a {
  text-decoration: none;
}
.toc-box a:hover {
  text-decoration: underline;
}

/* Mobile padding tweak */
@media (max-width: 640px) {
  .toc-box { padding: 12px; }
}

/*TOC box (drop this in your global CSS) - end */