@import url('https://fonts.googleapis.com/css?family=Ubuntu:300,300i,400,400i,500,500i,700,700i&subset=cyrillic,cyrillic-ext,latin-ext');
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,400i,700,700i&subset=cyrillic,cyrillic-ext,latin-ext');
*,
*:after,
*::before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Ubuntu', sans-serif;
}

a {
	text-decoration: none;
}

li {
	text-decoration: none;
	list-style: none;
}

.logo {
	font-family: 'Ubuntu Mono', monospace;
	background: #000000;
	width: 100%;
	display: flex;
	-webkit-justify-content: center;
	        justify-content: center;
}

.graficlogo {
	padding: 5px;
	max-width: 100%;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

/* animation logo */

.graficlogo h1 {
	color: #FFFFFF;
	font: bold 300% Consolas, Monaco, monospace;
	border-right: .1em solid white;
	width: 16.5em;
	width: 23ch;
	margin: 2em 1em;
	white-space: nowrap;
	overflow: hidden;
	-webkit-animation: typing 2s steps(21, end),
	blink-caret .5s step-end infinite alternate;
}

@-webkit-keyframes typing { from { width: 0; } }
@-webkit-keyframes blink-caret { 50% { border-color: transparent; } }

/* animation logo */

.graficlogo_footer {
	padding: 5px;
	max-width: 30%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.graficlogo_footer h1 {
	color: #FFFFFF;
	font: bold 120% Consolas, Monaco, monospace;
	border-right: .1em solid white;
	width: 16.5em;
	width: 23ch;
	margin: 2em 1em;
	white-space: nowrap;
	overflow: hidden;
	-webkit-animation: typing 2s steps(21, end),
	blink-caret .5s step-end infinite alternate;
}
/* animation logo */

/* nav */

nav {
	margin: auto;
	width: 800px;
	height: 50px;
}

.topnav {
	border-color: #999999;
	font-size: 16px;
	margin-top: 30px;
    text-align: center;
}

.topnav nav a {
	position: relative;
	display: inline-block;
	margin: 5px 5px;
	outline: none;
	color: black;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 400;
	text-shadow: 0 0 1px rgba(255,255,255,0.3);
	font-size: 1em;
}

.topnav nav a:hover,
.topnav nav a:focus {
	outline: none;
}

.cl-effect-2 a {
	line-height: 44px;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	perspective: 1000px;
}

.cl-effect-2 a span {
	position: relative;
	display: inline-block;
	padding: 0 14px;
	background: #fff;
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
	-webkit-transform-origin: 50% 0;
	-moz-transform-origin: 50% 0;
	transform-origin: 50% 0;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.csstransforms3d .cl-effect-2 a span::before {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 100%;
	background: grey;
	content: attr(data-hover);
	-webkit-transition: background 0.3s;
	-moz-transition: background 0.3s;
	transition: background 0.3s;
	-webkit-transform: rotateX(-90deg);
	-moz-transform: rotateX(-90deg);
	transform: rotateX(-90deg);
	-webkit-transform-origin: 50% 0;
	-moz-transform-origin: 50% 0;
	transform-origin: 50% 0;
}

.cl-effect-2 a:hover span,
.cl-effect-2 a:focus span {
	-webkit-transform: rotateX(90deg) translateY(-22px);
	-moz-transform: rotateX(90deg) translateY(-22px);
	transform: rotateX(90deg) translateY(-22px);
}

.csstransforms3d .cl-effect-2 a:hover span::before,
.csstransforms3d .cl-effect-2 a:focus span::before {
	background: #fff;
}

/* end nav */

.bottom_nav a {
	color: #000;
	text-align: center;
	padding: 14px 16px;
	font-size: 15px;
}
/* Действие при наведении на ссылку */
.bottom_nav a:hover {
	border-bottom: 2px solid #000;
    text-shadow: 2px 2px 4px #000000;
	text-decoration: none;
}

.topnav .icon {
	display: none;
}

.mw-100 {
	max-width: 100%;
}

.advantages__container {
	display: flex;
	-webkit-justify-content: center;
	        justify-content: center;
}

.advantages {
	padding-top: 40px;
	padding-bottom: 40px;
	width: 70%;
	display: flex;
	-webkit-justify-content: space-between;
	        justify-content: space-between;
	text-align: center;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
}

.advantages__item {
	width: 30%;
}

footer {
	width: 100%;
	height: 100%;
	background: #000;
	margin: 0 auto;
	text-align: center;
	padding-top: 25px;
}

footer a {
	color: #FFF;
	font-size: 14px;
	margin-left: 10px;
}

footer nav a:hover {
	border-bottom: 1px solid #fff;
}

footer p {
	color: #FFF;
}

.social a i {
    background: white;
	margin-left: 10px;
	margin-bottom: 10px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 50px;
    height: 50px;

}

.social a i{
    border: 1px solid black;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    color: black;
    padding-top: 10px;

}

/* social */
.email-img i:hover {
    color: #999999;
}

.fcb-img i:hover {
    color: #4060B8;
}

.google-img i:hover {
    color: #EB2E1A;
}

.inst-img i:hover {
    color: #D3009B;
}

.pnit-img i:hover {
    color: #CC0000;
}

.skype-img i:hover {
    color: #00AAF1;
}

.github-img i:hover{
    color: #4e555b;
}

.linkedin-img i:hover{
    color: #0074BB;
}

/* end social */


.gallery {
	width: 80%;
	margin: auto;
	display: flex;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	margin-bottom: 50px;
}

.blog-container {
	background: #fafafa;
	-webkit-border-radius: 15px;
	        border-radius: 15px;
	/*-webkit-box-shadow: rgba(0,0,0,0.3) 4px 4px 4px -2px;*/
	        /*box-shadow: rgba(0,0,0,0.3) 4px 4px 4px -2px;*/
	-webkit-box-shadow: 10px 10px 31px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 10px 10px 31px 0px rgba(0,0,0,0.5);
	box-shadow: 10px 10px 31px 0px rgba(0,0,0,0.5);
	font-weight: 100;
	margin: 48px auto;
	width: 50rem;
}

.blog-container a:hover {
	border-color: #ff4d4d;
	color: #ff4d4d;
}

.article_category {
	color: #767676;
}

/*.blog-cover {*/
	/*background: url("../img/wine-bottle-cork-covers-blog-header.jpg");*/
	/*-webkit-background-size: cover;*/
	     /*-o-background-size: cover;*/
	        /*background-size: cover;*/
	/*-webkit-border-radius: 5px 5px 0 0;*/
	        /*border-radius: 5px 5px 0 0;*/
	/*height: 15rem;*/
	/*-webkit-box-shadow: inset rgba(0,0,0,0.2) 0 64px 64px 16px;*/
	        /*box-shadow: inset rgba(0,0,0,0.2) 0 64px 64px 16px;	*/
/*}*/

.blog-body {
	margin: 0 auto;
	width: 80%;
}

.blog-title {
    padding-top: 10px;
	margin-bottom: 10px;
}

.blog-title h1 a {
	color: #000000;
	text-shadow: 2px 2px 5px grey;
}

.blog-title h1 a:hover {
    color: #00A4BC;
}

.blog-text p {
	color: #4d4d4d;
}

.blog-text a {
    margin-left: 84%;
    border-style: none;
	color: #ffffff;
    -webkit-box-shadow: 15px 15px 25px 0px rgba(0,0,0,0.4);
    -moz-box-shadow: 15px 15px 25px 0px rgba(0,0,0,0.4);
    box-shadow: 5px 5px 25px 0px rgba(0,0,0,0.4);

}

.blog-text a:hover {
    border-style: none;
    background-color: white;
    color: #00A4BC;
}

.blog-tags ul {
	display: flex;
	-webkit-flex-direction: row;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	list-style: none;
	padding-left: 0;
}

.blog-tags span {
	border-bottom: 1px solid #999999;
	color: #999999;
	font-size: 0.75rem;
	height: 1.5rem;
	line-height: 1.5rem;
	letter-spacing: 1px;
	padding: 0 0.5rem;
	text-align: center;
	white-space: nowrap;
	width: 5rem;
}
/* Что бы теги не отходили с левой стороны + */
.blog-tags li + li {
	margin-left: 0.5rem;
}

.blog-footer {
	border-top: 1px solid #e6e6e6;
	margin: 0 auto;
	padding-bottom: 0.125rem;
	margin-top: 10px;
	width: 80%;
}

.blog-footer ul {
	list-style: none;
	display: flex;
	-webkit-flex: row wrap;
	    -ms-flex: row wrap;
	        flex: row wrap;
	-webkit-justify-content: flex-end;
	        justify-content: flex-end;
	padding-left: 0;
	margin-top: 5px;
	margin-bottom: 5px;
}

.blog-footer li {
	color:#999999;
	font-size: 0.75rem;
	height: 1.5rem;
	text-align: center;
	position: relative;
	white-space: nowrap;
	padding-top: 6px;
}

.published-date b{

	border: 1px solid #999999;
	-webkit-border-radius: 3px;
	        border-radius: 3px;
	margin-bottom: 2px;
	padding: 0 0.5rem;
}

#map {
	width: 100%;
	height: 400px;
}

.form {
	width: 50%;
	margin: 50px auto;
}

.feedback-input {
	color: #000;
	font-weight: 300;
	font-size: 14px;
	line-height: 22px;
	background-color: #FFF;
	padding: 13px;
	margin-bottom: 10px;
	width: 100%;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	border: 0px solid transparent;
	border-bottom: 1px solid #000;
}

textarea {
	width: 100%;
	height: 150px;
	resize: vertical;
}

.button-submit {
	float: left;
	width: 100%;
	border: 0px solid transparent;
	cursor: pointer;
	background-color: #000;
	color: #FFF;
	font-size: 18px;
	padding-top: 22px;
	padding-bottom: 22px;
	-webkit-transition: all 0.3s;
	   -moz-transition: all 0.3s;
	    -ms-transition: all 0.3s;
	     -o-transition: all 0.3s;
	        transition: all 0.3s;
	margin-top: -4px;
	font-weight: 300;
}

.button-submit:hover {
	background-color: #FFF;
	color: #000;
	border: 1px solid #000;
}

.ease {
	width: 0;
	height: 74px;
	background-color: #fbfbfb;
	-webkit-transition: 0.3s ease;
	   -moz-transition: 0.3s ease;
	    -ms-transition: 0.3s ease;
	     -o-transition: 0.3s ease;
	        transition: 0.3s ease;
}

.about__container {
	width: 80%;
	margin: 20px auto;
	text-align: center;
}

.about__container img {
	max-width: 50%;

}

.about__container p {
	margin-top: 50px;
}

.about__container h1 {
	margin-top: 40px;
}

.enjoy-css {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	border: none;
	font: normal normal 900 70px/normal "Aldrich", Helvetica, sans-serif;
	color: rgb(32, 44, 45);
	text-align: center;
	-o-text-overflow: clip;
	text-overflow: clip;
	text-shadow: 0 1px 0 rgb(128,141,147) , -1px 0 0 rgb(205,210,213) , -1px 2px 0 rgb(128,141,147) , -2px 1px 0 rgb(205,210,213) , -2px 3px 0 rgb(128,141,147) , -3px 2px 0 rgb(205,210,213) , -3px 4px 0 rgb(128,141,147) , -4px 3px 0 rgb(205,210,213) , -4px 5px 0 rgb(128,141,147) , -5px 4px 0 rgb(205,210,213) , -5px 6px 0 rgb(128,141,147) , -6px 5px 0 rgb(205,210,213) , -6px 7px 0 rgb(128,141,147) , -7px 6px 0 rgb(205,210,213) , -7px 8px 0 rgb(128,141,147) , -8px 7px 0 rgb(205,210,213) ;
	-webkit-transform: rotateX(-7.448451336700702deg) rotateY(-3.437746770784939deg)   ;
	transform: rotateX(-7.448451336700702deg) rotateY(-3.437746770784939deg)   ;
}

.article__container {
	width: 80%;
	margin: 20px auto;
}

.article__container p {
	margin-top: 20px;
	padding-bottom: 20px;
	text-align: justify;
}

.article__container h1 {
	margin-top: 40px;
	text-align: center;
	color: black;
	text-shadow: 2px 2px 5px grey;
}

.article__comment {
	width: 80%;
	margin: 10px auto;
}

.captcha_img {
	border-radius: 5%;
}

button.btn.btn-link {
	text-decoration: none;
	font-weight: bolder;
	color: #00A4BC;
}

button.btn.btn-link:hover {
	color: #00C900;
}

.comments_show {
	margin-bottom: 7px;
}

.services {
	width: 80%;
	margin: 20px auto;
	text-align: center;
}

.services img {
	max-width: 100%;
}

.services__container {
	margin-top: 50px;
	display: grid; /* Создание блока с колонками */
	grid-template-columns: auto auto; /* Делает автомутическую сетку (колонки) */
	grid-gap: 50px 100px; /* Расстрояние между столбцами */
}

#back-to-top {
	position: fixed;
	bottom: 40px;
	right: 40px;
	z-index: 9999;
	width: 32px;
	height: 32px;
	text-align: center;
	line-height: 30px;
	background: #444;
	color: #fff;
	cursor: pointer;
	border: 0;
	border-radius: 2px;
	text-decoration: none;
	transition: opacity 0.2s ease-out;
	opacity: 0;
}
#back-to-top:hover {
	background: #cacaca;
}
#back-to-top.show {
	opacity: 1;
}
#content {
	height: 2000px;
}

/* Search form */
.search-form {
	margin-left: 57%;
	margin-top: 15px;
}
/* End Search form */

.pagination li a {
	color: #000000;
	margin-left: 50px;
	margin-right: 50px;
	-webkit-box-shadow: 10px 10px 32px -3px rgba(0,0,0,0.75);
	-moz-box-shadow: 10px 10px 32px -3px rgba(0,0,0,0.75);
	box-shadow: 10px 10px 32px -3px rgba(0,0,0,0.75);
	text-decoration: none;
}

.pagination li a:hover {
	color: #00B8E6;
	-webkit-box-shadow: 10px 10px 32px -3px rgba(0,0,0,0.3);
	-moz-box-shadow: 10px 10px 32px -3px rgba(0,0,0,0.3);
	box-shadow: 10px 10px 32px -3px rgba(0,0,0,0.3);
}


/* projects */

.project {
	margin-top: 20px;
}

#projects li {
	width: 200px;
	height: 200px;
	float: left;
	margin-right: 20px;
	overflow: hidden;
}

/*.flex-center p {*/
	/*margin: 0;*/
	/*padding: 20px;*/
/*}*/

#projects li a img {
 	justify-content: center;
	flex-direction: column;
	height: 50%;
	display: block;
	overflow: hidden;
	margin: 0 auto;
	margin-top: 25%;

}

#projects li:hover {
	-webkit-box-shadow: 10px 10px 32px -3px rgba(0,0,0,0.75);
	-moz-box-shadow: 10px 10px 32px -3px rgba(0,0,0,0.75);
	box-shadow: 10px 10px 32px -3px rgba(0,0,0,0.75);
	border-radius: 20%;
}



/* end project */
/**********************  RWD ****************************/

/* RDW для экранов меньше 768 пикселей */
@media screen and (max-width: 768px) {
	/* animation header */
	.graficlogo h1 {
		font: bold 150% Consolas, Monaco, monospace;

	}
	.graficlogo_footer h1 {
		font: bold 80% Consolas, Monaco, monospace;

	}
	/* animation header */
	.topnav a:not(:first-child) {
		display: none; /* оставляем видимой кнопку HOME рядом с сворачиваемой кнопкой */
	}
	.topnav a.icon {
		float: right;
		margin-top: -17px;
		display: block;
		color: black;
	}
	nav {
		width: 100%;
	}
	.topnav.responsive {
		position: relative;
	}
	.topnav.responsive a.icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	.topnav.responsive a {
		float: none;
		display: block;
		text-align: left;
		background: rgba(255, 255, 255, 0.9);
	}
	.advantages__item {
		width: 45%;
	}

	.blog-container {
		width: 28rem;
	}

    .blog-text a {
        margin-left: 72%;
    }
	/* Search form */
	.search-form input {
		max-width: 80%;
	}
	/* End Search form */
}
/* Если расширение меньше чем 420 пикселей, элементы идут один за другим */
@media screen and (max-width: 420px) {
	/* animation header */
	.graficlogo h1 {
		font: bold 150% Consolas, Monaco, monospace;
	}
	.graficlogo_footer h1 {
		font: bold 80% Consolas, Monaco, monospace;

	}
	/* animation header */
	.advantages {
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	.advantages__item {
		width: 100%;
	}
	.project {
		display: flex;
		-webkit-justify-content: center;
		        justify-content: center;
		-webkit-align-items: center;
		        align-items: center;
	}
	.gallery {
		width: auto;
		margin: auto;
	}

	.blog-container {
		width: 20rem;
	}

    .blog-text a {
        margin-left: 60%;
    }

	.services__container {
		grid-template-columns: auto; /* Делает автомутическую сетку (колонки) */

	}
	/* Search form */
	.search-form input {
		max-width: 80%;
	}
	/* End Search form */
}