/*
Theme Name: Evolution service
Author email: info@web-molot.ru
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: evo_service
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Evolution service is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/


/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.upcoming-events__info time {
    width: 60%;
}
.video__item-name {
    margin: 0;
}
span.wpcf7-not-valid-tip{
	display:none!important;
}
input.wpcf7-not-valid,textarea.wpcf7-not-valid {
    border-color: red;
}
div.wpcf7-validation-errors {
    display:none!important;
}
@media (max-width: 481px){
	.specialist__item-img, .latest-articles__img, .useful-books__img, .community-item__img {
		margin: 0 auto;
	}
	.latest-articles__img{
		max-width:100%;
	}
}
@media (max-width: 767px){
	.main-section__form input.form-input {
		width: 100%;
		margin: 0;
		margin-top: 9px;
		display: block;
		float: none;
		text-align: center;
	}
	.main-section__form input.btn {
		width: 100%;
		margin: 0;
		margin-top: 9px;
		float: none;
	}
	.page-title.p404{
		    padding: 20px 0;
			font-size: 22px;
	}
	.main-area .text {
		text-align: justify;
		padding-left: 0;
		font-weight: 500;
		line-height: 1.2;
		font-size: 16px;
	}

	.content.page-404.mobile-hidden{
		display: none;
	}
	.content.page-404.mobile-visible {
		display: block;
	}
	/*.content.page-404:nth-of-type(2) {
		background: url(assets/images/header-bg.jpg) center top no-repeat;
		background-size: cover;
		padding: 0 0 27px;
		font-size: 16px;
		color: #000;
	}*/
}
.page-title.p404{
	text-align: left;
}
@media (min-width: 768px){

	.content.page-404.mobile-hidden{
		display: block;
	}
	.content.page-404.mobile-visible {
		display: none;
	}
	.page-404:nth-of-type(3) {
		padding-top: 0;
	}
	

	.main-area {
		max-width: 66%;
	}

	.main-area .text {
		text-align: justify;
		padding-left: 70px;
		font-weight: 400;
		line-height: 1.2;
	}

	.page-title.p404{
		    padding: 50px 0 40px;
			font-size: 35px;
			font-weight: 900;
	}
}
@media (max-width: 798px){
	.main-section__img {
		display: none;
	}
	.main-section__text {
		width: 100%;
	}
	.upcoming-events__info time {
		width: 100%;
	}

}
@media (min-width: 799px) and (max-width:815px){
	.main-section__form input {
		margin: 0 0 0 0.5%;
	}
}


.video-page__left {
    max-height: 218px;
}
.home .video__item-top {
    max-height: 293px;
    overflow: hidden;
    margin-bottom: 20px;
}
.latest-articles__img{
	padding:0;
}
.upcoming-events__img {
    max-height: 293px;
	text-align: center;
}
/*.upcoming-events__img img{
	-webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}*/