/*   
Theme Name: Alexey Pashkov Guide Site 2017
Theme URI: домашняя-страница-темы
Description: Тема для персонального гида по Санкт-Петербругу Алексея Пашкова
Author: Vladimir Popkov
Author URI: https://vk.com/velldesign
Template: 
Version: 1.2
.
Адаптивная тема, теплый, светлый, классика, гранж, старинный/Предоставляется только для сайтов Алексея Пашкова.
.
*/
/* ==========================================================================
   Base Styles and Bootstrap Modifications
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}
iframe {border: none;}
body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #f2c2c9;
    color: #a4003a;
    text-shadow: none;
}

::selection {
    background: #16a085;
    color: #a4003a;
    text-shadow: none;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

 img {
    vertical-align: middle;
}

/*
 * Allow only vertical resizing of textareas.
 */

 textarea {
    resize: vertical;
}

/* ==========================================================================
   Embedded fonts
   ========================================================================== */


/* ==========================================================================
   General styles
   ========================================================================== */

html,
body {
    height: 100%;
}

body {
    font-family: "Myriad Pro", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #555;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

.col-md-4 {
	padding-bottom: 20px;
}

.row {
margin-right: 0px;
margin-left: -15px;
}

.modal-header {
	background: #3498db;
}

.modal-header h4 {
	color: white;
}

.modal-footer {
	background: #2b2b2b;
}


.navbar-default {
border-color: transparent;
background-color: #fff;
}


.navbar-toggle {
border-color: transparent;
border: 0px solid transparent;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	background-color: #16a085;
	color: white;
}

a {
	text-decoration:none;
}
a img {
    background: none;
}

.odd a img {
    background: #f5f5f5;
}

/* Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway";
    font-weight: 300;
    color: #333;
}


/* Paragraph & Typographic */
p {
    line-height: 28px;
    margin-bottom: 25px;
}

.centered {
    text-align: center;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}
.justify {
    text-align: justify;
}

.paragraph-lead {
    font-size: 20px;
    color: #3498db;
}

strong {
    font-weight: 700;
}

em {
    font-weight: 300;
}

pre {
    background: #ebebeb;
    border: none;
    font-family: "Monaco";
    font-size: 16px;
    color: #666;
    padding: 20px;
    line-height: 28px;
}

small {
    font-size: 12px;
}

blockquote,
blockquote p {
    line-height: 28px;
    color: #999;
    font-weight: 300;
    font-style: italic;
}

blockquote {
    position: relative;
    margin: 0 0 40px -30px;
    padding-left: 30px;
    border-left: 5px solid #3498db;
}

blockquote cite {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 12px;
    font-style: italic;
    color: #333;
    font-weight: 300;
}

blockquote cite:before {
    content: "-- "
}

/* Images */
.overflow-image {
    margin-top: -65px;
}
/* Links */
a {
    color: #bf0000;
    word-wrap: break-word;

    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #760000;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

#footerwrap {
	background:url(images/bg5.jpg) fixed;
	padding-top: 40px;
	padding-bottom: 20px;
	border-bottom: 4px solid #342105;
;
}
#footerwrap .container{
	padding: 30px;
	background-color: rgba(0,0,0,.5);
	border-radius: 10px;
}
#footerwrap h4 {
	font-size: 1.5em;
	color: #ddd;
}
#footerwrap p {
	color: #ddd;
}
#footerwrap a {
	color: #fff;
	font-size: 1em;
	font-weight: 500;
}
#footerwrap a:hover {
	color: #ccc;
}
#copylink {
	padding-top: 20px;
	background: url(images/bordur.jpg) repeat-x top;
}
#copylink a {
	font-size: 1em;
}

.booking:hover{
 	-webkit-transform: scale(1.1, 1.1);
	-moz-transform: scale(1.1, 1.1);
	-ms-transform: scale(1.1, 1.1);
	transform: scale(1.1, 1.1);
}
.subline {
	margin-bottom: 30px;
}
#products h4{
	line-height: normal;
}
#expo {
	padding-top: 40px;
}
#expo iframe {
       height: calc(100vh - 358px);
}
#production {
	padding: 40px 0;
}
#workers {
	padding: 40px 0;
}
#how-to-buy {
	padding: 40px 0;
}
#zakaz {
padding: 30px 0;
background: url(images/ornament4.png) repeat-x #342105 top;
	border-bottom:4px solid #d4c5a9;
-webkit-box-shadow: 0px 10px 20px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px 10px 20px 0px rgba(50, 50, 50, 0.75);
box-shadow:         0px 10px 20px 0px rgba(50, 50, 50, 0.75);
}
#zakaz h3 {
	margin: 20px 0;
	color: #fff;
}
#zakaz p {
	margin-top: 20px;
	font-size: 18px;
	color: #fff;
	font-weight: 500;
}
.review p {
	color: #fff;
}
.review {
	background:#777;
	margin:0;
	border-top:4px solid #4e4e4e;
	*height:432px;
	box-shadow: inset 0 125px 125px  -125px #222 , inset 0 -15px 15px  -15px #333;
}
.review p {
	font-style: italic;
	font-size:24px;
	text-align: left;
}
.review h1 {
	font-family:"Myriad Pro", Helvetica, Arial, sans-serif;
	font-size:28px;
}
.review h4 {
	font-size:20px;
	color: #fff;
}
.review h5 {
	font-size:14px;
	color: #fff;
}

.mapsection {
	width:100%;
	height:450px;
}
/* ==========================================================================
   Collective Section
   ========================================================================== */

/* ==========================================================================
   Go Down
   ========================================================================== */
.godown {
	height: 250px;
	padding: 0;
}
.godown h1, h2, h3, h4, p {
	text-align: center;
}
.godown h1, h2 {
	text-transform: uppercase;
}
.godown h3 {
	font-weight: normal;
	padding-bottom: 0px;
}
/* ==========================================================================
   Services Section
   ========================================================================== */

.service-trigger {
    display: block;
	position: relative;
    margin-bottom: 15px;
    color: white;
    font-size: 20px;
    text-align: center;
    height: 168px;
    cursor: pointer;
	padding: 90px 20px 50px 20px;
    border: none;
    background: #333;
}

.service-trigger:before {
    width: 100%;
    top: 50px;
    color: #3498db;
    font-size: 36px;
    text-align: center;
	position: absolute;
	left: 0;
}

.service-active .service-trigger {
    background: #222;
}

.service-active p {
	font-family: 'Lato', sans-serif;
	padding-top: 10px;
}

.service-content {
    padding: 15px 20px;
    background: #e6eaed;
    display: block;
    height: auto
}

.service-content p:last-child {
    margin: 0;
}


/* ==========================================================================
   Image Mask
   ========================================================================== */

.grid figure {
	margin: 0;
	position: relative;
}

.grid figure img {
	width: 100%;
	display: block;
	position: relative;
}

.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	color: #fff;
	background: rgba(0,0,0,0.85);
	opacity:0.5;
}
.grid figcaption h5 {
	margin: 0;
	padding-top: 0px;
	padding-left: 10px;
	padding-bottom: 5px;
	color: #fff;
	text-align: left;
	font-family:"Myriad Pro", Helvetica, Arial, sans-serif;
	font-size:16px;	
}

.grid figcaption a {
	text-align: left;
	padding: 5px 10px;
	margin-left: 20px;
	display: inline-block;
	background:none;
	color: #fff;
	font-size: 18px;
	border:1px solid #888;
}

/* Caption Style */
.mask figure {
	overflow: hidden;
}

.mask figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .mask figure:hover img,
.mask figure.cs-hover img {
	-webkit-transform: scale(1.3, 1.3);
	-moz-transform: scale(1.3, 1.3);
	-ms-transform: scale(1.3, 1.3);
	transform: scale(1.3, 1.3);
}

.mask figcaption {
	height: 50px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .mask figure:hover figcaption,
.mask figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.mask figcaption a {
	position: absolute;
	top:10px;
	bottom: 10px;
	right: 30px;
}


/* ==========================================================================
   Blog Section
   ========================================================================== */

.blog-bg {
	background: #2b2b2b;
	padding-right: 0px;
	padding-left: 0px;
	
}

.blog-bg h4 {
	color: #dadada;
	padding-top: 0px;
}

.blog-bg h5 {
	color: #dadada;
	font-size: 11px;
}

.blog-content {
	padding-top: 10px;
	background: #f2f2f2;
}


/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */


@media screen and (max-width:1050px), screen and (max-device-width:1050px){
	body .header{background-attachment: scroll;}
}


/*ipad portrait*/
@media only screen and (min-device-width:768px) and (max-device-width : 1024px) and (orientation : portrait){
	.header{background-attachment: scroll;}
}

@media screen and (max-width:769px) {
	#headerwrap h1 {
		font-size: 80px;
	}
	#headerwrap p {
		font-size: 30px;
		line-height: 38px;
	}
}
#navbar-main {
	background: url(images/head.jpg);
	background-position: center top;
	background-attachment: fixed;
	*background-size: contain;
	background-repeat: no-repeat;
}
.topinfoinner{
		height: 200px;
}
.topinfo {
	height: 380px;
}
.topinfotext{
	padding: 10px 0;
	background-color: rgba(235,226,222,0.80)  ;
	border-radius: 0 0 20px 20px;
}
.topinfo h1 {
	text-align: center;
	font-size: 2.5em;
	font-weight: 600;
}
.topinfo h2 {
	text-align: center;
	font-size: 1.5em;
	font-weight: 600;
}
.topinfo h3 {
	color: #222;
	text-align: center;
	font-size: 1.5em;
	font-weight: 600;
}
.topinfoinner h1 {
	text-align: center;
	font-size: 2.5em;
	font-weight: 600;
}
.topinfoinner h2 {
	text-align: center;
	font-size: 1.5em;
	font-weight: 600;
}
.topinfoinner h3 {
	color: #222;
	text-align: center;
	font-size: 1.5em;
	font-weight: 600;
}
.topinfo h4 a{
	color:#fff;
	width:20%;
	display: block;
	background: rgba(0,0,0,0.30);
	margin: 35px auto;
	padding: 15px;
	border: 1px solid #a89063;
	border-radius: 10px;
}
.topinfo h4 a:hover{
	background: rgba(0,0,0,0.50);
}
.content-header-block {
	margin-top: 0px;
	padding: 30px 0;
	background: url(images/map1.jpg) fixed no-repeat;
	background-size: cover;
	border-bottom:  4px solid #a89063;
-webkit-box-shadow: inset 0px 0px 15px 0px rgba(50, 50, 50, 0.5);
-moz-box-shadow:    inset 0px 0px 15px 0px rgba(50, 50, 50, 0.5);
box-shadow:         inset 0px 0px 15px 0px rgba(50, 50, 50, 0.5);
}
.content-header-block .container {
	background-color: rgba(235,226,222,1.00)  ;
	padding: 30px 40px;
	border: 10px solid #d4c5a9;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.5);
-moz-box-shadow:    0px 0px 15px 0px rgba(50, 50, 50, 0.5);
box-shadow:         0px 0px 15px 0px rgba(50, 50, 50, 0.5);
}
.content-header-block h4 {
	text-align: center;
	color: #4b3006;
    font-size: 30px;
	font-weight: 500;
	margin-bottom: 30px;
}
.content-header-block p {
	text-align: left;
	line-height: 22px;
	color: #222;
    font-size: 14px;
	font-weight: 500;
	margin-bottom: 30px;
}
.content-block {
	margin: 25px 0;
	padding: 30px 0;
}
.content-block .container {
	background: #ebe2de;
	padding: 30px 30px 40px 40px;
	border: 10px solid #6b4407;
 	border-radius: 10px;
}
.content-block h4 {
	text-align: center;
	color: #4b3006;
    font-size: 30px;
	font-weight: 500;
	margin: 0 auto 30px;
    /* Чтобы спрятать часть линий, которые 
    ** будут вылазить за пределы блока */
    overflow: hidden;
    /* Выравнивание заголовка по центру, 
    ** можно использовать left, right */
}
.content-block h5 {
	text-align: center;
	color: #4b3006;
    font-size: 24px;
	font-weight: 400;
	margin: 0 auto 30px;
}
@media (min-width: 768px) {
  .content-block h4 {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .content-block h4 {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .content-block h4 {
    width: 1170px;
  }
}
.content-block h4:before,
.content-block h4:after {
    /* Обязательно указываем пустое свойство content, 
    ** иначе псевдоэлементы не появятся на сайте */
    content: "";
    /* Указываем что наши линии будут строчно-блочные и 
    ** выравнивание по высоте - по центру */
    display: inline-block;
    vertical-align: middle;
    /* Задаем ширину 100% и выбираем высоту линии, 
    ** в нашем примере она равна 4 пикселям */
    width: 100%;
    height: 3px;
    /* Добавляем цвет для линии */
    background-color: #4b3006;
    /* Добавляем пседоэлемантам возможность изменить 
    ** позицию линии, для создания отступов от текста */
    position: relative;
}
.content-block h4:before {
    /* Смещаем левую линию на 100% влево, чтобы линия 
    ** встала рядом с текстом слева */
    margin-left: -100%;
    /* Указываем в пикселях отступ линии от текста заголовка */
    left: -14px;
}
.content-block h4:after {
    /* Смещаем правую линию на 100% вправо, чтобы 
    ** линия встала рядом с текстом справа */
    margin-right: -100%;
    /* Указываем в пикселях отступ линии от текста заголовка */
    right: -14px;
}

.content-block p {
	text-align: left;
	line-height: 22px;
	color: #222;
    font-size: 14px;
	font-weight: 500;
	margin-bottom: 30px;
}
.contact-block p {
    font-size: 20px;
		line-height: 32px;

		font-weight: 300;

}
.contact-block label {
		width: 100%;
    	font-size: 16px;
		line-height: 32px;
		font-weight: 500;
}
.contact-block input {
	width: 100%;
}
.contact-block textarea {
	width: 100%;
}
.scroll-to-top {
  background: #6b4407;
background: rgba(107,68,7,.7);
  color: #FFF;
  bottom: 20px;
  cursor: pointer;
  display: none;
  position: fixed;
  right: 20px;
  z-index: 999;
  font-size: 16px;
font-weight: 400;
  text-align: center;
  line-height: 40px;
  width: 120px;
  border-radius: 4px;
  -webkit-transition: background-color 0.3s linear;
     -moz-transition: background-color 0.3s linear;
       -o-transition: background-color 0.3s linear;
          transition: background-color 0.3s linear;
}
.scroll-to-top:hover {
background: rgba(107,68,7,1);
}