/*
Theme Name: detectiv
Theme URI: http://detectivservice.md
Author: fantastic-web
Author URI: http://fantastic-web.net
Description: Ultra perfect
Version: 1.0
License: 
Tags: 
*/

@import url("grid.css");
@import url("reset.css");
@import url("slide.css");
@import url("slider.css");

/*Logo*/
.logo { width: 416px; float: left; margin: 35px 0 5px 0; }

/* Menu */
.menu { float: left; margin-bottom: 10px; }
.menu li { float: left; padding: 0 1px 0 0; }
.menu li a { background: url(images/menu.gif) no-repeat 0% 0%; display: block; width: 191px; height: 60px; line-height: 58px; overflow: hidden; line- height: 58px; font-size: 1.333em; font-weight: 400; text-align: center; text-transform: uppercase; text-decoration: none; color: #fff; }
.menu li a:hover { background-position: 0% -60px !important; }
.menu li.current_page_item a { background-position: 0% -60px !important; }

/*Search form*/
.search_mid { float:left; padding:0px 0 0 14px; margin:10px 0px 0 20px; width:220px; height:52px; background:url(images/bar.jpg) no-repeat; }
.search_mid label, .search_mid #searchsubmit { display: none; }
#search_body { float:right; width:340px; margin:6px 0px 0 0px; padding:0px 0 0 0; }
.search_bg { float:left; width:220px; margin:0px 0 0 0; height:45px; padding:0px; }
.search_btn { float:right; width:auto; height:auto; margin:6px 17px 0 0px; padding:0px; }
#s { font-family:Arial; font-size:16px; color: #02A6F1; padding: 0px 0px 0px 0px; width:140px; height:30px; border:none; margin: 9px 0 0 10px; line-height: 30px; font-weight: bold; background:url(images/fing_tile.png) repeat-x; float: left; }

/* Page Template */

/*Single Template */

/* Category */
.category article, .tag article { margin-bottom: 20px; }

article { padding: 0 20px; }
article h2, article h2 a { font-size: 30px/34px; font-weight: bold; color: white; }
article h2 a:hover, article h3 a:hover { text-decoration: none; }
article h3, article h3 a { font-size: 20px/20px; color: white; }
article h4 { margin-bottom: 10px; border-bottom: 1px dashed;}

/* Featuring image */
.featimg {width: 100%; float: left; *float: none; position: relative; clear: both; }
.featimg .img {width: 100%; float: left; position: relative; text-align: center; min-height: 100px;}
.featimg .img img {box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15); background: #fff; padding: 10px; display: block; margin: 0 auto;}
.featimg .img.noborder img {box-shadow: none; background: none; padding: 0; }
.wp-caption-text{ display: block; text-align: center; font-family: "PT Sans Narrow"; margin: 0 auto; padding-bottom: 10px;}

.single .featimg{ margin-bottom: 30px;}
.nsfw .featimg .img{ background-color: #EDEDED;}

/*Widgets general*/
#primary .widget, #footer .widget {float: left;}
#sidebar .widget { margin-bottom: 20px; float: left; width: 100%; clear: both; background: url('images/login.gif') repeat-x top left; padding: 10px; border-radius: 3px; width: 240px; }

.widget-title { width: 100%; margin-bottom: 5px; font: bold 20px/24px 'Trebuchet MS', sans-serif; color: white; }

.widget ul { display: block; padding: 0 10px; }
.widget ul li { width: 100%; margin: 0; background: url(images/marker.gif) no-repeat 0% 4px; padding: 0 0 10px 12px; text-align: left; }
.widget ul li a, ul.related li a { display: block; }
.widget ul li a:hover, ul.related li a:hover { }

.widget_nav_menu li.menu-item a { padding: 5px 0; text-indent: 17px; text-transform: uppercase; }

#footer_sidebar { float: left; width: 100%; background-color: #dbdddc; min-height: 100px; border-radius: 3px; padding: 30px 0 20px 0; color: #5a5959; }
#footer_sidebar article:nth-child(3) a.readmore { display: none; }

#footer article { float: left; width: 280px; min-height: 180px; }
#footer article h2 { text-transform: uppercase; color: #323232; font-size: 20px; }

ul.footermenu { display: block; margin-top: 20px; overflow: hidden; }
ul.footermenu li { float: left; background: url(images/divider.gif) no-repeat 0% 5px; margin: 0 0 0 -1px; padding: 0 8px 0 8px; line-height: 1.5em; font-size: 1em; color: #4f4f4f; }
ul.footermenu li:first-child { background: none; }
ul.footermenu li a { color: #4f4f4f; }
ul.footermenu li a:hover, ul.footermenu li.current_page_item a  { color: #eee; }


/* Copyright */
.copyright { padding-top: 10px; text-align: center; }
.copyright a { color: red; }
.copyright, .notation { color: #979797; }

/*Tag list*/
p.tags{ margin: 0 30px 15px 0; padding: 0; height:26px; width: auto; position: relative; cursor: pointer; background: url(../images/tags.bg.png) no-repeat left 0; float: left; }
p.tags a{ float: left; line-height:26px; margin: 0 -15px 0 0!important; padding: 0 15px; height:100%; border: none; cursor: pointer; color: #555555; background: url(../images/tags.bg.png) no-repeat right -26px; width: auto!important; text-indent: 5px;}

p.tags:hover {background-position: left -52px;}
p.tags a:hover{text-decoration: none; background-position: right -78px;}

/*Other widgets*/
.tagcloud { padding: 20px; }
.widget_archive select, .widget_categories select{margin-bottom: 15px;width: 100%;}

/*Resize images to fit the main content area.*/
img.size-auto, img.size-full, img.size-large, img.size-medium, .attachment img { max-width: 600px; height: auto; }
#fullResImage {max-width: none;}
.alignleft, img.alignleft { display: inline; float: left; margin-right: 20px;}
.alignright, img.alignright { display: inline; float: right; margin-left: 20px;}
.aligncenter, img.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
img.alignleft, img.alignright, img.aligncenter { margin-bottom: 20px; }
.wp-caption { max-width: 610px !important;}
.wp-smiley { margin: 0; }

.gallery { margin: 0 auto 18px; float: left; display: inline-block; }
.gallery .gallery-item { float: left; margin: 10px 5px 10px 0!important; text-align: left; position: relative;}

.gallery.colls-2 .gallery-item:nth-child(2n+0) { margin:10px 0 10px 0!important; }
.gallery.colls-3 .gallery-item:nth-child(3n+0) { margin:10px 0 10px 0!important; }
.gallery.colls-4 .gallery-item:nth-child(4n+0) { margin:10px 0 10px 0!important; }

.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-4 .gallery-item { width: 24%!important; }
.gallery-columns-2 .attachment-medium { max-width: 92%; height: auto; }
.gallery-columns-4 .attachment-thumbnail { max-width: 84%; height: auto; }
.gallery .gallery-caption { text-align: left; font-size: 14px; line-height: 20px; margin-bottom: 15px; font-family: 'PT Sans Narrow', Helvetica, Arial, sans-serif; font-weight: normal }
.gallery dl { margin: 0; }
.gallery img { padding: 5px; background: whiteSmoke; border: none!important;}
.gallery br+br { display: none; }

p.attachment img { display: block; margin: 0 auto; }

/*Pagination*/
.b_pag{ display: inline-block; }
.b_pag.center{ text-align: center; display: block; width: 100%; }
.b_pag li{ display: inline; margin: 0 7px; }
.b_pag li.active,.b_pag li.active a{ color: #000; text-decoration: none; font-weight: bold; }
.b_pag li.next,.b_pag li.previous,.b_pag li.previous a,.b_pag li.next a{ width: 15px; display: inline-block; text-decoration: none; }
.b_pag li.next,.b_pag li.previous{ display: inline !important; }

/* COMMENTS */
#comments h3 { margin-bottom: 10px; }
#commentform input { width: 170px; padding: 2px; margin: 5px 5px 1px 0; }
#commentform { margin: 5px 10px 0 0; }	
#commentform textarea { width: 100%; padding: 2px; }	
#respond:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
	#commentform #submit { margin: 0 0 5px auto; float: right; }
.alt { margin: 0; padding: 10px; }
.commentlist { padding: 0; text-align: justify; }
.commentlist li { margin: 15px 0 10px; padding: 5px 5px 10px 10px; list-style: none; }
	.commentlist li ul li { margin-right: -5px; margin-left: 10px; }
.commentlist p { margin: 10px 5px 10px 0; }
.children { padding: 0; }
#commentform p { margin: 5px 0; }
.nocomments { text-align: center; margin: 0; padding: 0; }
.commentmetadata { margin: 0; display: block; border-bottom: 1px solid #f1f1f1; }
.comment-body { background-color: #fefefe; padding: 20px; position: relative; border: 1px solid #f1f1f1; }
.comment-body .reply { position: absolute; top: 20px; right:20px; }

#sidebar-right { text-align: center; background: url('images/header.box.jpg') no-repeat top left; height: 359px; overflow: hidden; margin-left: 8px; padding-top: 20px; }
#sidebar-right .widget {  }
#sidebar-right .widget-title { margin-bottom: 0; color: white; text-transform: uppercase; }
#sidebar-right ul { padding: 0 20px; float: none !important; }

#sidebar-lang { float: right; width: 140px; margin-top: 55px; }
#sidebar-lang ul { padding: 0; width: 100%; }
#sidebar-lang li { float: right; width: 60px; background-color: white; padding: 5px; }
#sidebar-lang li:last-child { -webkit-border-top-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
-moz-border-radius-topleft: 3px;
-moz-border-radius-bottomleft: 3px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px; }
#sidebar-lang li:first-child {-webkit-border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
-moz-border-radius-topright: 3px;
-moz-border-radius-bottomright: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;}
#sidebar-lang a { color: black; font-size: 15px; }
#sidebar-lang a:hover { color: red; font-size: 15px; }
#sidebar-lang li.current-lang { background: url('images/bg.lang.gif') repeat-x top left; }
#sidebar-lang li.current-lang a { color: white; }
#sidebar-lang li.current-lang a:hover { color: black; }

/* login form */
#login-form {
	width: 240px;
}

	#login-form strong {
		display: block;
		padding: 0 0 20px 0;
		line-height: 1.2em;
		font-size: 1.75em;
		font-weight: 400;
		text-transform: uppercase;
		color: #eeeeee;
	}
	
	#login-form em {
		display: block;
		width: 100%;
		padding: 0 0 4px 0;
		overflow: hidden;
		line-height: 1.5em;
		font-size: 1em;
		font-style: normal;
		color: #eee;
	}
	
		#login-form em a {
			text-decoration: none;
			color: #eee;
		}
		
			#login-form em a:hover {
				text-decoration: underline;
			}
		
		#login-form em i a {
			float: left;
			margin: 2px 8px 0 0;
			word-spacing: -1px;
			text-decoration: none;
			font-style: normal;
			color: #828080;
		}
		
			#login-form em i a:hover {
				text-decoration: underline;
			}
		
		#login-form em big {
			font-size: 1em;
		}
		
			#login-form em big a {
				text-decoration: underline;
				color: #eee;
			}
			
				#login-form em big a:hover {
					text-decoration: none;
				}
	
	#login-form b {
		display: block;
		width: 67px;
		height: 23px;
		overflow: hidden;
		float: left;
		line-height: 22px;
		font-size: 1em;
		font-weight: normal;
		color: #eee;
	}
	
	#login-form label {
		display: block;
		height: 32px;
		overflow: hidden;
	}
	
		#login-form label input {
			background: #fff;
			width: 162px;
			height: 14px;
			padding: 3px 3px 3px 3px;
			float: left;
			font-family: Arial, Helvetica, sans-serif;
			font-size: 1em;
			color: #000;
		}
		
	#login-form input#login-submit {
		background: url(images/login-submit.gif) no-repeat 0% 0%;
		width: 91px;
		height: 30px;
		margin: 4px 0 6px 0;
		padding: 0;
		border: none;
		float: right;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 1em;
		font-weight: bold;
		color: #fff;
		cursor: pointer;
	}
	
		#login-form input#login-submit:hover {
			color: #000;
		}
		
	#login-form input#checkbox {
		float: left;
		width: 12px;
		height: 12px;
		margin: 15px 7px 0 0;
	}
	
	#login-form span {
		float: left;
		margin: 12px 0 0 0;
		line-height: 1.5em;
		font-size: 1em;
		color: #eee;
	}

/* The site layout below adapts only to narrow screens. */
@media (max-width: 959px) {
  #body { display: flex; flex-direction: column; }
  #header { display: contents; }
  #body .w_page { width: 100%; max-width: 100%; padding-inline: 12px; box-sizing: border-box; }
  #header > .w_page:first-child { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding-block: 12px; }
  #header > .w_page:first-child::before, #header > .w_page:first-child::after { display: none; }
  #header .logo { margin: 0; float: none; max-width: 100%; }
  #header .logo img { display: block; max-width: 100%; height: auto; }
  #header #sidebar-lang { margin: 0; float: none; width: auto; }
  #header .menu { float: none; width: 100%; }
  #header .menu > ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; }
  #header .menu li { width: auto; min-width: 0; float: none; box-sizing: border-box; }
  #header .menu a { display: flex; align-items: center; justify-content: center; text-align: center; height: auto; min-height: 44px; padding: 6px; box-sizing: border-box; line-height: 1.2; font-size: 13px; overflow-wrap: anywhere; }
  #body > #content { order: 1; }
  #header > .w_page:has(> .w_690) { order: 2; padding-bottom: 12px; }
  #body > #footer, #body > .w_page, #body > .rating, #body > .copyright { order: 3; }
  #body .w_690, #body .w_260, #body .w_250, #body #footer_sidebar { float: none; width: 100%; max-width: 100%; box-sizing: border-box; }
  #body #sidebar, #body #sidebar-right { margin-inline: 0; }
  #body #sidebar .widget, #body #sidebar-right .widget { max-width: 100%; box-sizing: border-box; }
  #body #footer_sidebar article { float: none; width: 100%; box-sizing: border-box; padding-inline: 0; margin-bottom: 16px; }
  #body .footermenu { width: 100%; height: auto; display: flex; flex-wrap: wrap; justify-content: center; }
  #body .rating { width: auto; max-width: 100%; margin-inline: auto; }
  #body .copyright { padding-inline: 12px; box-sizing: border-box; }
  #body #primary { overflow-wrap: anywhere; }
  #body #primary img { max-width: 100%; height: auto; }
  #body #primary a[href^="tel:"], #body #primary a[href^="https://wa.me/"] { display: inline-block; padding-block: 8px; }
  #body .easingslider-container { max-width: 100%; margin-inline: auto; }
}
	
@media (max-width: 959px) {
  #header .menu a { width: 100%; min-width: 0; }
}


/* Page text and contact buttons */
#body :is(#primary article, #footer_sidebar article) { text-align: justify; hyphens: auto; }
#body :is(#primary article, #footer_sidebar article) p { text-align: justify; }
#body :is(#primary article, #footer_sidebar article) :is(h1,h2,h3,h4,h5,h6),
#body #primary article p.ds-contact-actions,
#body #primary article:is(#post-1, #post-21) p:has(a[href^="tel:"]) { text-align: start; }
#body #primary article { padding-inline: 12px; }
@media (max-width: 959px) {
  #body #primary article, #body #footer_sidebar article { padding-inline: 4px; }
}
#body #primary :is(#post-1, #post-21, #post-2, #post-660) a[href^="tel:"],
#body #primary :is(#post-1, #post-21, #post-2, #post-660) a[href^="https://wa.me/"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  margin: 3px 0;
  padding: 8px 12px;
  border-radius: 7px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
#primary :is(#post-1, #post-21, #post-2, #post-660) a[href^="tel:"] { background: #245c96; }
#primary :is(#post-1, #post-21, #post-2, #post-660) a[href^="https://wa.me/"] { background: #087647; }
#primary :is(#post-1, #post-21, #post-2, #post-660) a[href^="tel:"]::before,
#primary :is(#post-1, #post-21, #post-2, #post-660) a[href^="https://wa.me/"]::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  background: center / contain no-repeat;
}
#primary :is(#post-1, #post-21, #post-2, #post-660) a[href^="tel:"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M6.6%202.9%204.2%202.4c-.9-.2-1.8.4-1.9%201.3C1.4%2013%2011%2022.6%2020.3%2021.7c.9-.1%201.5-1%201.3-1.9l-.5-2.4c-.1-.5-.5-.9-1-1l-4-1c-.5-.1-1%20.1-1.3.5l-1.1%201.3a15.1%2015.1%200%200%201-6.9-6.9l1.3-1.1c.4-.3.6-.8.5-1.3l-1-4c-.1-.5-.5-.9-1-1Z%22%2F%3E%3C%2Fsvg%3E"); }
#primary :is(#post-1, #post-21, #post-2, #post-660) a[href^="https://wa.me/"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%202.5a9.4%209.4%200%200%200-8.2%2014L2.6%2021.4l4.9-1.2A9.4%209.4%200%201%200%2012%202.5Z%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20fill%3D%22white%22%20transform%3D%22translate(5.1%204.9)%20scale(.57)%22%20d%3D%22M6.6%202.9%204.2%202.4c-.9-.2-1.8.4-1.9%201.3C1.4%2013%2011%2022.6%2020.3%2021.7c.9-.1%201.5-1%201.3-1.9l-.5-2.4c-.1-.5-.5-.9-1-1l-4-1c-.5-.1-1%20.1-1.3.5l-1.1%201.3a15.1%2015.1%200%200%201-6.9-6.9l1.3-1.1c.4-.3.6-.8.5-1.3l-1-4c-.1-.5-.5-.9-1-1Z%22%2F%3E%3C%2Fsvg%3E"); }
#primary :is(#post-1, #post-21, #post-2, #post-660) a[href^="tel:"]:hover,
#primary :is(#post-1, #post-21, #post-2, #post-660) a[href^="https://wa.me/"]:hover { text-decoration: underline; }

/* Keep the slider viewport within the mobile content column. */
@media (max-width: 959px) {
  #body .easingslider-wrapper-outer { max-width: 100%; }
}
