/*
Theme Name: TheGem Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/


td, th {
   border: 1px solid #999999;
   color: #333333;
}
/*таблица уменьшается*/
@media (max-width: 720px) {
	td p {
	font-size: 0.8em;
   }
   td {
	font-size: 0.8em;
   }
}

.block-content {
    padding: 20px 0 20px;
}

.block-content:last-of-type {
    padding-bottom: 10px !important;
}
article:not(.type-page) > .entry-content.post-content {
    margin-bottom: 0px !important;
}

h1:first-child {
    margin-top: 10px !important;
    margin-bottom: 20px!important;
    font-size: 40px;
    text-transform: none;
    line-height: 150%;
    text-align: center;
    font-family: Open Sans;
}

h1 {
	text-align: center;
	text-transform: none!important;
	color: #555 !important;
	margin: 20px!important;
	font-family: Open Sans;
}

h2 {
	text-align: center;
	text-transform: none!important;
	color: #555 !important;
	font-family: Open Sans !important;
	margin: 20px!important;
}
h3 {
	text-transform: none!important;
	text-align: center;
	color: #555 !important;
	font-family: Open Sans !important;
}
h4 {
	text-transform: none!important;
	font-family: Open Sans !important;
}
h5 {
	text-transform: none!important;
}
h6 {
	font-size: 16px;
}

@media (max-width: 1000px) {
	h1, .title-h1 {
	font-size: 24px!important;
	line-height: 110%!important;
   }
   h2 {
	font-size: 22px!important;
	line-height: 110%!important;
   }
   h3 {
	font-size: 20px!important;
	line-height: 110%!important;
   }
}

p {
	color: #333333;
}

ol {
	color: #333333;
}
ul {
	color: #333333;
}

#colophon {
    padding: 0px;
}

/* белая полоса над слайдером*/
@media (max-width: 1199px) {
    .wpb_row > * {
    margin-top: 0 !important;
     }
}

#top-area {
    /*border-bottom: 1px!important;*/
    background: rgba(43, 125, 224, 1);
    padding: 0 !important;
}

.top-area {
    /*border-bottom: 1px solid #F3B007 !important;*/
    border-top: 0px solid #DDDDDD !important;
}

.transparent-header-background custom-broun {
   background: transparent !important;
}

#site-header {
  background-color: rgba(255, 255, 255, 1)!important;
  border-bottom: 1px solid #2b7de0 !important;
  border-top: 0px solid #DDDDDD !important;
}

#site-header.fixed.shrink {
  background-color: rgba(255, 255, 255, 1)!important;
  border-bottom: 1px solid #2b7de0 !important;
  border-top: 0px solid #DDDDDD !important;
}

#site-header.fixed.shrink .header-style-3 #primary-menu.no-responsive > li, #site-header.fixed.shrink .header-style-4 #primary-menu.no-responsive > li
{
  padding-top: 6px!important;
  padding-bottom: 6px!important;
}

#site-header:not(.shrink) .header-colors-light:not(.header-layout-fullwidth_hamburger) #primary-menu.no-responsive > li:hover > a
{
  color: #E32636 !important;
}

#site-header:not(.shrink) .transparent-header-background .header-style-1 #primary-menu.no-responsive > li.menu-item-current > a,
#site-header:not(.shrink) .transparent-header-background .header-style-1 #primary-menu.no-responsive > li.menu-item-active > a {
	border-bottom-color: transparent !important;
	background-color: transparent !important;
}

#primary-menu.no-responsive {
   margin: 0;
   margin-right: 50px;
}

.minisearch .sf-input {
	color: #302E2E!important;
}

/* мобильное меню*/

.primary-navigation.responsive ul > li.menu-item-current > a, .primary-navigation.responsive ul > li.menu-item.menu-item-active a {
    border-left: 4px solid #E32636 !important;
}
/* END мобильное меню*/

.pt-cv-title a {
    font-weight: normal;
    color: #333333;
}

.pt-cv-title a:hover {
    color: #E32636;
}

h2.pt-cv-title, h3.pt-cv-title {
    font-size: 20px !important;
    font-family: Open Sans !important;
    text-align: center;
}
.leftovo h2.pt-cv-title {
    text-align: left;
}
h4.pt-cv-title {
    font-size: 16px !important;
    font-family: Open Sans !important;
    text-align: center;
}
.widget h4.pt-cv-title {
    text-align: left;
}

.widget-area h4 a
{
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 15px;
}

.pt-cv-thumbnail.pull-left {
   width: 50px !important;
	height: 35px !important;
}
.pt-cv-thumbnail {
	box-shadow: 1px 2px 2px 2px #999999; /*тень картинки*/
	border-radius:1%; 
	object-fit:cover;
}

.pt-cv-thumbnail:hover {
	opacity:0.7;
	transition: opacity 0.6s;
}

.pt-cv-ifield {
	padding-bottom: 10px;
	text-align: center;
}

.widget a {
	color: #E32636 !important;
}

#site-header .container {
	margin:0 auto;
	padding: 0px;
}

#site-header .site-title {
    padding: 0;
    vertical-align: middle;
}

/* top header blocks*/
.headderr {
	
}

.head1 {
	white-space: nowrap;
	color: #FFFFFF;
	font-family: Open Sans;
	font-weight: 500;
	font-size: 22px;
	float: left;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
	text-align: center;
	line-height: 100%;
}
.head1 a {
	color: #FFFFFF !important;
}
.head2 {
	white-space: nowrap;
	color: #FFFFFF;
	font-family: Open Sans;
	font-weight: 500;
	font-size: 22px;
	float: left;
	padding-left: 5px;
	padding-right: 20px;
	padding-top: 3px;
	padding-bottom: 3px;
	text-align: center;
	line-height: 100%;
}
.head3 {
	/*white-space: nowrap;*/
	color: #FFFFFF;
	font-family: Open Sans;
	font-weight: 500;
	font-size: 14px;
	float: left;
	padding-left: 10px;
	padding-right: 20px;
	padding-top: 8px;
	padding-bottom: 2px;
	text-align: center;
	line-height: 110%;
}
.head4 {
	/*white-space: nowrap;*/
	color: #FFFFFF;
	font-family: Open Sans;
	font-weight: 500;
	font-size: 20px;
	float: left;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 4px;
	padding-bottom: 4px;
	text-align: center;
	line-height: 100%;
}
.head4 a {
	color: #FFFFFF !important;
}
.head5 {
   float: right;
   padding-left: 10px;
	padding-right:10px;
	padding-top: 3px;
	padding-bottom: 3px;
}
@media (max-width: 768px) {
   .head1 img {
 /*  width: 60px;
   height: 60px;*/
   }
  .head1 {
  	font-size: 20px;
  	padding-top: 5px;
	margin-bottom: 3px;
	padding-left: 5px;
	padding-right:5px;
  }
  .head2 {
   font-size: 14px;
  	padding-top: 5px;
	margin-bottom: 3px;
	padding-left: 5px;
	padding-right:5px;
  }
  .head3 {
   font-size: 14px;
  	padding-top: 5px;
	margin-bottom: 3px;
	padding-left: 5px;
	padding-right:5px;
  }
   .head4 {
  	font-size: 20px;
  	padding-top: 5px;
	margin-bottom: 3px;
	padding-left: 5px;
	padding-right:5px;
  }
  .head5 {
  	padding-right:10px;
  	padding-left: 0px;
  	font-size: 20px;
  	padding-top: 5px;
	margin-bottom: 3px;
  }
}
.headderrmoby {
   white-space: normal;
	color: #FFFFFF;
	font-family: Open Sans;
	font-weight: 500;
	font-size: 18px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
	text-align: center;
   line-height: 130%;
   float: none;
}
.headderrmoby a {
	color: #FFFFFF !important;
}

/* end top header blocks*/

.post-meta-conteiner {
	display: none;
}


/* новая форма связи */
.wpforms-form button[type=submit] {
	background-color: #E32636 !important;
	color: #FFFFFF !important;
	width: auto!important;
}
.wpforms-form button[type=submit]:hover {
	background-color: #555555 !important;
}
.wpforms-form input {
	background-color: #eee !important;
}
.wpforms-form textarea {
	background-color: #eee !important;
}
div.wpforms-container-full .wpforms-form .wpforms-field {
	padding: 3px 0 !important;
}
div.wpforms-container-full .wpforms-form .wpforms-recaptcha-container {
    padding: 3px 0 3px 0 !important;
}
div.wpforms-container-full a {
	/*color: #1560BD !important;*/
}
.wpforms-confirmation-container-full {
    background: #dddddd !important;
    border: 1px solid #666666 !important;
    padding: 50px 50px !important;
}    
#wow-modal-close-1.mw-close-btn.image::before, #wow-modal-close-2.mw-close-btn.image::before, #wow-modal-close-3.mw-close-btn.image::before {
	background: #E32636!important;
}  
/* END новая форма связи */

input[type="text"], input[type="password"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="number"], input[type="range"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="month"], input[type="week"], textarea, .chosen-container, .select2-container, .checkbox-sign, .radio-sign {
    background-color: #eee !important;
}

.header-style-3 #primary-menu.no-responsive > li.menu-item-current > a, .header-style-3 #primary-menu.no-responsive > li.menu-item-active > a, .header-style-4 #primary-menu.no-responsive > li.menu-item-current > a, .header-style-4 #primary-menu.no-responsive > li.menu-item-active > a, .header-style-3.header-layout-fullwidth_hamburger #primary-menu.no-responsive > li.menu-item-current > a, .header-style-3.header-layout-fullwidth_hamburger #primary-menu.no-responsive > li.menu-item-active > a, .header-style-4.header-layout-fullwidth_hamburger #primary-menu.no-responsive > li.menu-item-current > a, .header-style-4.header-layout-fullwidth_hamburger #primary-menu.no-responsive > li.menu-item-active > a {
    border: 0px solid #ffffff!important;
    color: #555555 !important;
    text-transform: uppercase!important;
    font-family: Open Sans !important;
    text-decoration: underline;
}

.header-style-3 #primary-menu.no-responsive > li > a, .header-style-4 #primary-menu.no-responsive > li > a {
    padding: 10px!important;
    font-size: 15px!important;
    font-weight: 600!important;
    letter-spacing: 1px!important;
    text-transform: uppercase!important;
    color: #555555;
    font-family: Open Sans !important;
}

.header-style-3 #primary-menu.no-responsive > li > a:hover, .header-style-4 #primary-menu.no-responsive > li > a:hover {
    color: #2b7de0 !important;
    text-decoration: underline;
}

#site-header.fixed.shrink .header-style-3 #primary-menu.no-responsive > li > a, #site-header.fixed.shrink .header-style-4 #primary-menu.no-responsive > li > a {
    font-size: 15px!important;
    font-weight: 600!important;
    letter-spacing: 1px!important;
}

.header-style-3 #primary-menu.no-responsive > li.menu-item-current, .header-style-3 #primary-menu.no-responsive > li.menu-item-active, .header-style-4 #primary-menu.no-responsive > li.menu-item-current, .header-style-4 #primary-menu.no-responsive > li.menu-item-active {
    padding: 8px 3px !important;
}

.header-style-3 #primary-menu.no-responsive > li, .header-style-4 #primary-menu.no-responsive > li {
    padding: 8px 3px;
}
/* mobyle*/
#site-header .primary-navigation.responsive {
	padding: 5px !important;
}
#primary-navigation .menu-toggle .menu-line-1, #primary-navigation .menu-toggle .menu-line-2, #primary-navigation .menu-toggle .menu-line-3 {
	background: #555 !important;
}

/*footer */
#footer-nav {
	background-color: #292D37 !important;
	border-top: 0px!important;
	padding: 10px;
}
#footer-nav .su-row {
	margin-bottom: 5px;
}
.footer-site-info {
	color: #FFFFFF;
}
.site-footer {
	color: #FFFFFF;
}
.site-footer p {
	color: #FFFFFF;
}
/* END footer */
/*.su-button-style-default:hover {
    opacity: 1!important;
    background-color: #09C620 !important;
}
.su-button-style-soft:hover {
    opacity: 1!important;
    background-color: #09C620 !important;
}*/

.widget-area .widget + .widget {
    margin-top: 20px!important;
}

.su-note {
	font-family: "Open Sans";
	font-weight: 300;
	letter-spacing: 1px;
}

.su-button {
	font-family: "Open Sans";
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: none;
}
.su-row .su-column {
   text-align: center;
}

.socials-item-icon {
    font: 40px/1 "thegem-socials";
}

.post-meta {
	display: none;
}


/*главная композер дата поста*/
.vc_gitem-post-data-source-post_date {
	display: none;
}
/* блок отзывы на главной*/
.gem-testimonials.style2 .gem-testimonial-wrapper p::after {
	display: none!important;
}

/* END блоки на главной*/


/*стр поиск*/
.blog-style-masonry .post-meta-author {
	display: none;
}

body.search .page-title-block .page-title-title {
	padding-bottom:10px!important;
}
body.search .page-title-block {
	background-color: #CCCCCC!important;
}
body.search .page-title-block:before {
	background-color: #CCCCCC!important;
}
body.search .post-text {
	display: none;
}
body.search .post-footer-sharing {
	display: none;
}
body.search .page-title-block .highlight {
	color: #333333;
}
/*END стр поиск*/

/*виджет каталог сбоку*/
.widget_categories > ul > li, .widget_product_categories > ul > li, .widget_pages > ul > li {
  padding-bottom: 5px!important;
  padding-left: 5px!important;
  padding-right: 5px!important;
  padding-top: 5px!important;
}

/*gallery 4 columns */
.gallery-columns-4 .gallery-icon img {
	max-width: 200px;
	height: auto;
	box-shadow: 0px 4px 5px 3px #999999; /*тень картинки*/
}
@media (max-width: 900px) {
	.gallery-columns-4 .gallery-icon img {
	max-width: 180px;
	height: auto;
   }
}
@media (max-width: 768px) {
	.gallery-columns-4 .gallery-icon img {
	max-width: 120px;
	height: auto;
   }
}
@media (max-width: 480px) {
	.gallery-columns-4 .gallery-icon img {
	max-width: 70px;
	height: auto;
   }
}

/*gallery 3 columns */
.gallery-columns-3 .gallery-icon img {
	max-width: 240px;
	height: auto;
	box-shadow: 0px 4px 5px 3px #999999; /*тень картинки*/
}
@media (max-width: 900px) {
	.gallery-columns-3 .gallery-icon img {
	max-width: 220px;
	height: auto;
   }
}
@media (max-width: 768px) {
	.gallery-columns-3 .gallery-icon img {
	max-width: 150px;
	height: auto;
   }
}
@media (max-width: 480px) {
	.gallery-columns-3 .gallery-icon img {
	max-width: 100px;
	height: auto;
   }
}
/*gallery 2 columns */
.gallery-columns-2 .gallery-icon img {
	max-width: 400px;
	height: auto;
	box-shadow: 0px 4px 5px 3px #999999; /*тень картинки*/
}
@media (max-width: 900px) {
	.gallery-columns-2 .gallery-icon img {
	max-width: 300px;
	height: auto;
   }
}
@media (max-width: 768px) {
	.gallery-columns-2 .gallery-icon img {
	max-width: 200px;
	height: auto;
   }
}
@media (max-width: 480px) {
	.gallery-columns-2 .gallery-icon img {
	max-width: 150px;
	height: auto;
   }
}
/* end gallery*/

/*точки списка - счетчик страниц и т.п.*/
#contcont .wpb_text_column ul li:before {
    left: 0!important;
    height: 0px!important;
    width: 0px!important;
}
	
.podlogka3, .podlogka3 p {
	color: #ffffff !important; 
	/*text-shadow: -1px 0 #444444, 0 1px #444444, 1px 0 #444444, 0 -1px #444444;*/
}
.podlogka3 h1, .podlogka3 h2, .podlogka3 h3, .podlogka3 li {
	color: #ffffff !important; 
 	/*text-shadow: -1px 0 #444444, 0 1px #444444, 1px 0 #444444, 0 -1px #444444;*/
}
.podlogka3 a {
	color: #ffffff !important; 
}
.podlogka3 a:hover {
	color: #999999 !important; 
}	
.podlogka5, .podlogka5 p {
	color: #ffffff !important; 
	text-shadow: -1px 0 #FF6108, 0 1px #FF6108, 1px 0 #FF6108, 0 -1px #FF6108;
}
.voprosslova {
	font-size: 20px;
	color:#FFFFFF;
	line-height: 130%;
}	
.voproscifra {
	font-size: 30px;
	color:#FFFFFF;
	line-height: 130%;
}
@media (max-width: 768px) {
  .voprosslova {
	font-size: 16px;
	color:#FFFFFF;
  }	
  .voproscifra {
	font-size: 22px;
	color:#FFFFFF;
  }
}
@media (max-width: 480px) {
  .voprosslova {
	font-size: 16px;
	color:#FFFFFF;
  }	
  .voproscifra {
	font-size: 18px;
	color:#FFFFFF;
  }
}	

.gem-button.gem-button-style-outline {
    border-color:  #999999 !important; 
    color: #999999 !important; 
}
.widget-area .widget-title {
    margin-bottom: 5px!important;
}

.head4 img.alignleft {
	margin:3px;
}

.mainzagolovok H1 {
	color:#333333!important;
	font-size: 2.2em!important;
	line-height: 120%!important;
    margin: 0px !important;
	padding-bottom:10px !important;
} 
.mainzagolovok H2 {
	color:#333333!important;
	font-size: 1.3em!important;
	line-height: 120%!important;
    margin: 0px !important;
	padding-bottom:10px !important;
}
