﻿@charset "utf-8";
@font-face {
  font-family: Caveat;
  src: url('../fonts/Caveat-Regular.ttf');
}
@font-face {
  font-family: Pacifico;
  src: url('../fonts/Pacifico-Regular.ttf');
}
@font-face {
  font-family: "Open Sans Condensed";
  src: url('../fonts/OpenSansCondensed-Light.ttf');
}

/* Сброс стилей браузеров */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var, u, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

li {
    padding-bottom: 5%;
}

body {
    background-color: #fff;
    background-image: url(../img/back2.png);
    background-repeat:no-repeat;
    background-position:top center;
    background-size: 100%;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 1.5em;
    line-height:normal;
    color: #000000;
    text-shadow:1px 1px 1px #CCCC99;
    }

/* Ссылки */
a:link, a:visited {
    color: #5e5e63;
    text-decoration: none;
    text-shadow:1px 1px 1px #CCCC99;
    }
a:hover {
    color: #5e5e63;
    text-decoration: underline;
    text-shadow:1px 1px 1px #CCCC99;
    }

/* Заголовок */
h1 {
    border-radius:12px;
    font-size: 1.8em;
    line-height:1.3em;
    font-weight: normal;
    font-family: 'Pacifico', sans-serif;
    background: #999;
    color: #000;
    text-shadow:1px 1px 1px #CCCC99;
    text-align:center;
    padding-bottom:5px;
    margin-bottom:10px;
    margin-top:18px;
    border-bottom: #5F4B33 solid 1px;
    -moz-box-shadow:0px 6px 0px rgba(0,0,0,0.2);
    -webkit-box-shadow:0px 6px 0px rgba(0,0,0,0.2);
    box-shadow:0px 6px 0px rgba(0,0,0,0.2);
    clear:both;
    }

/* Подзаголовок */
h2 {
    font-size: 1.5em;
    font-family: 'Pacifico', sans-serif;
    font-weight:normal;
    color: #000;
    text-shadow:1px 1px 1px #CCCC99;
    text-indent:20px;
    line-height:2em;
    clear:both;
    }

/* Текст */
p {
    text-indent:20px;
    color:000;
    text-align:justify;
    padding:10px 0 10px 0;
    }

/* Картинки */
img {
    border: #000 solid 1px;
    padding:5px;
    background: #999;
    }

/* Линия */
hr {
    border:#402A17 solid 1px;
    margin:10px 0 10px 0;
    }

/* Блок содержимого страницы */
.cont {
    max-width: 800px;
    clear:both;
    overflow:hidden;
    }

/* Блок с текстом */
.block_text {
    clear:both;
    max-width: 960px;
    padding: 0px 10px 15px 10px;
    border-bottom: #5F4B33 solid 1px;
    overflow:hidden;
    margin-bottom:10px;
    text-align:justify;
    }

/* Таблицы без стиля */
table {
    font-size: .9em;
    text-align: left;
    border-collapse: collapse;
}
th {
    font-size: .9em;
    font-weight: normal;
    padding: 2px;
}
td {
    padding: 4px;
    vertical-align:middle;
}
/* Таблицы со стилем*/
#table_border
{
    font-size: .9em;
    text-align: left;
    border-collapse: collapse;
}
#table_border th
{
    font-size: .9em;
    font-weight: normal;
    padding: 5px;
    background: #CCCC99;
    border-top: 1px solid #9E915A;
    border: 1px solid #EEEEEE;
    color: #000;
}
#table_border td
{
    padding: 5px;
    background: #CCCC99;
    border: 1px solid #9E915A;
    color: #000;
    vertical-align:top;
}
#table_border tr:hover td
{
    background: #EAEAD5;
    color: #000;
}

/* Формы*/
input {
    border: #9E915A solid 1px;
    -moz-border-radius: 6px;
    -khtml-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background: #CCCC99;
    padding:6px;
    color:#000;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size:.9em;
    width:260px;
    margin:0px 0px 0px 0px;
    }
button {
    border: #565656 solid 2px;
    -moz-border-radius: 6px;
    -khtml-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background: #999;
    padding:6px 12px 6px 12px;
    font-family: 'Open Sans Condensed', sans-serif;
    color: #fff;
    font-size:1em;
    cursor: pointer;
    }
input[type=button], input[type=submit], input[type=reset] {
    border: #9E915A solid 2px;
    -moz-border-radius: 6px;
    -khtml-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background: #584630;
    padding:6px 12px 6px 12px;
    font-family: 'Open Sans Condensed', sans-serif;
    color: #CCCC99;
    font-size:1em;
    cursor: pointer;
}

textarea {
    border: #9E915A solid 1px;
    -moz-border-radius: 6px;
    -khtml-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background: #CCCC99;
    padding:6px;
    color:#000;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size:.9em;
    width:400px;
    height:100px;
    margin:0px 0px 0px 0px;
    }

/* Списки */
ul {
    padding: 0;
    margin-left: 25px;
    text-align:left;
    display: flex;
    align-items: left;
    justify-content: center;
    flex-direction: column;
   }
ol {
    padding: 0;
    margin-left: 25px;
    text-align:left;
    margin-bottom: 50px;
    height:100%;
    width:100%;
    font-size:2em;
    font-family: 'Caveat';
   }

/* Выделение*/
::selection {
    background: #6198ca;
    color: #fff;
    text-shadow:1px 1px 1px #000;
    }
::-moz-selection {
    background: #6198ca;
    color: #fff;
    text-shadow:1px 1px 1px #000;
    }

/* Модальное окно (фон) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    /*padding-top: 100px;  Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Контейнер контента модального окна */
.modal-content {
    border-radius: 12px;
    position: relative;
    background-color: #fefefe;
    margin: auto;
    margin: 30px;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Кнопка закрытия модального окна */
.close {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Заголовок модального окна */
.modal-header {
    border-radius: 12px 12px 0 0;
    padding: 2px 16px;
    background-color: #999;
    color: white;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

/* Тело модального окна */
.modal-body {
    padding: 20px;
}

/* Футер модального окна*/
.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* Анимация появления */
@-webkit-keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/*Кнопка "Наверх"*/
/*
#scrollup{
    position: fixed; padding: 5px 5px 5px 5px;
    border-radius: 5px;
    -webkit-border-radius:
    5px; -moz-border-radius:
    5px; right: 10px; bottom:
    10px; display: none;
    cursor:pointer;
    z-index: +2;
}*/

/*Прелоадер страниц*/
#page-preloader {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 100500;
background-color: #ffffff;
background-repeat: no-repeat;
background-position: top center;
background-size: contain;
font-family: 'Open Sans Condensed', sans-serif;
font-size: 1.05em;
line-height: 1.4em;
color: #000000;
text-shadow: 1px 1px 1px #CCCC99;
}

/*Крутяшка в прелодере*/
#page-preloader .spinner {
width: 20%;
height: 20%;
top: 50%;
left: 50%;
position: fixed;
background: url('../img/spinner.gif') no-repeat;
background-size: contain;
transform: translate(-50%, -50%);
background-position-x: center;
}

/*Предзагрузчик первой страницы*/
#first-page-preloader {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 100500;
background-color: #ffffff;
background-repeat: no-repeat;
background-position: top center;
background-size: contain;
font-family: 'Open Sans Condensed', sans-serif;
font-size: 1.05em;
line-height: 1.4em;
color: #000000;
text-shadow: 1px 1px 1px #CCCC99;
}

/*Контейнер стартового текста в предзагрузке*/
.start_text_cont {
top: 50%;
left: 50%;
position: fixed;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
}

/*Общее оформление текста в предзагрузке*/
.starttext {
display:none;
text-align:center;
font-size:3em;
line-height: normal;
}

/*Контейнер изображения и оверлея на главной*/
.img-main-wrap{
    position: relative;
    width:100%;
    height: 630px;
    display:block;
    border:#999 solid 5px;
}

/*Оверлей изображения на главной*/
.overlay{
    position:absolute;
    opacity:0;
    top:0;
    left:0;
    padding:0;
    width:100%;
    height:100%;
    background:#000000;
    transition:opacity .5s;
    display:table;
}

/*Текст в оверлее*/
.img-main-wrap .overlay p {
    color: #fff;
    line-height: 150px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

/*Изображение на главной*/
.img-main {
    padding:0;
    margin:0;
    border:0;
    width: 100%;
    display: flex;
    display: -webkit-box;
}

/*Наведение на контейнер картинки делает прозрачным оверлей*/
.img-main-wrap:hover .overlay {
      opacity: .7;
      transition: opacity .5s;
}

/* Блоки страниц */
.block_1 {
    width: 800px;
    }
.block_2 {
    width: 800px;
    display:none;
    }
.block_3 {
    clear:both;
    padding-top:10px;
    padding-bottom: 20px;
    text-align:center;
    font-weight:bold;
    font-size:.96em;
        }
.block_4 {
    clear:both;
    text-align:center;
    /*background: url(../img/fon_center_1920.jpg) #CCCC99;*/
    background-repeat:no-repeat;
    background-position: center center;
    padding-top:10px;
    padding-bottom:10px;
    }

/* Футер */
.footer_block {
    font-family: 'Open Sans Condensed', sans-serif;
    clear:both;
    padding-top:5%;
    padding-bottom:20px;
    font-size: 0.7em;
    line-height:1.2em;
    }
.footer_block_main {
    display:none;
    clear:both;
    padding-top:20px;
    padding-bottom:20px;
    font-size: .9em;
    line-height:1.2em;
    }
.footer a:link {
    color: #6198ca;
    text-decoration: underline;
    }
.footer a:visited {
    color: #6198ca;
    text-decoration: underline;
    }
.footer a:hover {
    color: #B84717;
    text-decoration: underline;
    }

/* Логотип */
.logo_main {
    display:none;
    height:7.5rem; 
    background: url(../img/logo_960.png);
    background-repeat:no-repeat;
    background-position:top center;
    margin:20% 20% 4%;
    background-size: contain;
    font-family: 'Pacifico', cursive;
    }

/*Лого на всех страницах*/
.logo {
    width: 70%;
    height: 100px;
    background: url(../img/logo_960.png);
    background-repeat:no-repeat;
    background-position:top center;
    margin-top:5px;
    margin-bottom: 40px;
    background-size: contain;
    }

/*Контейнер разделов*/
.flex-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/*Раздел*/
.razdel {
    display:flex;
    height: 200px;
    flex: 0 0 400px;
    cursor: pointer;
    padding-bottom: 10px;
}

/*Заголовок раздела*/
.razdel-text {
    display:flex;
    height: 200px;
    font-size:1.5em;
    font-family: 'Caveat';
    align-items: center;
    justify-content: center;
    padding:2px;
}

/*Картинка раздела*/
.razdel-img {
    height: 200px;
    flex: 0 0 210px;
    transition: 1s ease;
    -webkit-transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    background: url("../img/png/vinyl.png") center center / contain no-repeat;
}

/*Заголовок подраздела*/
.podrazdel-text {
    height: 100px;
    font-size:2.7rem;
    font-family: 'Caveat';
    padding:2px;
}

/*Контейнер фото*/
.photo_cont {
    display:flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 350px;
    flex: 0 0 231px;
    margin: 15px;
/*
    background: #cc0930;
*/
}

/*Описание фото*/
.photo_desc {
    display:flex;
    height: 100px;
    padding:10px;
/*
    background: #cc09cc;
*/
    font-size: 0.65rem;
    overflow:hidden;
}

/*Контейнер изображения фото*/
.photo_img {
    display:flex;
    height: 250px;
    align-items: center;
    justify-content: center;
/*
    background: #cccc09;
*/
}

/*Изображение в фото*/
.photo_img img{
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
    transition: filter .5s ease-in-out;
    -webkit-filter: grayscale(100%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
    filter: grayscale(100%); /* FF 35+ */
}

.photo_img img:hover {
  -webkit-filter: grayscale(0%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
  filter: grayscale(0%); /* FF 35+ */
}

img{
    transition: filter .5s ease-in-out;
    -webkit-filter: grayscale(100%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
    filter: grayscale(100%); /* FF 35+ */
}

img:hover {
  -webkit-filter: grayscale(0%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
  filter: grayscale(0%); /* FF 35+ */
}

/*О выставке*/
.about {
    clear:both;
    padding-top:10px;
    padding-bottom: 20px;
    text-align:center;
    font-weight:bold;
    font-size:.96em;
    display:flex;
}

/*Изображения в Lightbox*/
.lb-image {
    padding: 0;
    background: 0;
    transition: unset;
    -webkit-filter: none;
    filter: none;
}


