@charset "UTF-8";

/*
	Модальное окно :: style.css
	----------------------------------------------------------
	Вариант отзывчивого модального окна, на этот раз выводим абсолютно по центру

	Андрей @dobrovoi :: http://dbmast.ru

-------------------------------------------------------------------------------*/

/* Базовые стили демо-страницы
-------------------------------------------------------------------------------*/

*,
*:before,
*:after {
    /*-moz-box-sizing: border-box;*/
    /*box-sizing: border-box;*/
}
html,
body {
    /*margin: 0;*/
    /*padding: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
}
body {
    /*text-overflow: ellipsis;*/
    /*background-color: #f5f8fa;*/
    /*font-weight: 300;*/
    /*font-size: 100%;*/
    /*font-family: 'Roboto', sans-serif;*/
    /*line-height: 1.3;*/
}
h1 {
    /*color: #4d5255;*/
}
h1,
h3,
a {
    /*font-weight: 400;*/
}
img {
    /*display: block;*/
    /*border: none;*/
}
a {
    /*color: #66757f;*/
    /*text-decoration: none;*/
}
a:hover,
a:focus,
a:active {
    /*color: #009999;*/
}
pre,
code {
    background: #eee;
    padding: 1px 7px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #555;
}
/* блок кнопок демо */

.btn-block {
    /*margin: 100px auto;*/
    /*width: 80%;*/
    /*text-align: center;*/
}
/* сами кнопы демо */

.btn {
    /*display: inline-block;*/
    /*margin: 5px;*/
    /*padding: 0.5rem 1rem;*/
    /*outline: 0px none;*/
    /*border: medium none;*/
    /*-webkit-border-radius: 2px;*/
    /*-moz-border-radius: 2px;*/
    /*border-radius: 2px;*/
    /*background-color: #26A69A;*/
    /*background-clip: padding-box;*/
    /*-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);*/
    /*-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);*/
    /*box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);*/
    /*color: #fff;*/
    /*text-align: center;*/
    /*text-decoration: none;*/
    /*text-transform: uppercase;*/
    /*letter-spacing: 0.5px;*/
    /*font-size: .8em;*/
    /*font-weight: 300;*/
    /*cursor: pointer;*/
    /*-webkit-transition: 0.2s ease-out;*/
    /*-moz-transition: 0.2s ease-out;*/
    /*-ms-transition: 0.2s ease-out;*/
    /*-o-transition: 0.2s ease-out;*/
    /*transition: 0.2s ease-out;*/
}
.btn:hover {
    /*background-color: #2bbbad;*/
    /*color: #f5f5f5;*/
}
/* Стили модального окна и содержания
-------------------------------------------------------------------------------*/

/* слой затемнения */

.dm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
/* активируем модальное окно */

.dm-overlay:target {
    display: block;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
/* блочная таблица */

.dm-table {
    display: table;
    width: 100%;
    height: 100%;
}
/* ячейка блочной таблицы */

.dm-cell {
    display: table-cell;
    padding: 0 1em;
    vertical-align: middle;
    text-align: center;
}
/* модальный блок */

.dm-modal {
    display: inline-block;
    padding: 20px;
    /*width: 30%;*/
    width: 450px;
    background: white;
    /*background: snow; !*#607d8b;*!*/
    -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    /*color: #cfd8dc;*/
    text-align: left;
}

.dm-modal-textarea {
    /*height: 300px;*/
}

.dm-modal-textarea textarea {
    /*width: 99%;*/
    height: 100px;
}

.dm-modal-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    margin-top: 20px;
}

.dm-modal-btn {
    display: inline-block;
    /*font-weight: 400;*/
    text-align: center;
    /*vertical-align: middle;*/
    /*-webkit-user-select: none;*/
    /*-moz-user-select: none;*/
    /*-ms-user-select: none;*/
    /*user-select: none;*/
    background-color: #007084;
    border: 1px solid transparent;
    /*padding: 0.375rem 0.75rem;*/
    height: 40px;
    width: 170px;
    color: white;
    /*line-height: 1.5;*/
    border-radius: 0.25rem;
    /*transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;*/
    cursor: pointer;
}

.dm-modal-p {
    margin-top: 20px;
    margin-bottom: 20px;
}



/* изображения в модальном окне */

/*.dm-modal img {*/
/*    width: 100%;*/
/*    height: auto;*/
/*}*/
/* миниатюры изображений */

/*.pl-left,*/
/*.pl-right {*/
/*    width: 25%;*/
/*    height: auto;*/
/*}*/
/* миниатюра справа */

/*.pl-right {*/
/*    float: right;*/
/*    margin: 5px 0 5px 15px;*/
/*}*/
/* миниатюра слева */

/*.pl-left {*/
/*    float: left;*/
/*    margin: 5px 15px 5px 0;*/
/*}*/
/* встраиваемое видео в модальном окне */

/*.video {*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    padding-bottom: 56.25%;*/
/*    height: 0;*/
/*}*/
/*.video iframe,*/
/*.video object,*/
/*.video embed {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*}*/
/* рисуем кнопарь закрытия */

.close-modal {
    /*z-index: 9999;*/
    /*float: right;*/
    /*width: 30px;*/
    /*height: 30px;*/
    /*color: #cfd8dc;*/
    /*text-align: center;*/
    /*text-decoration: none;*/
    /*line-height: 26px;*/
    /*cursor: pointer;*/
}
.close:after {
    /*display: block;*/
    /*border: 2px solid #cfd8dc;*/
    /*-webkit-border-radius: 50%;*/
    /*-moz-border-radius: 50%;*/
    /*border-radius: 50%;*/
    /*content: 'X';*/
    /*-webkit-transition: all 0.6s;*/
    /*-moz-transition: all 0.6s;*/
    /*transition: all 0.6s;*/
    /*-webkit-transform: scale(0.85);*/
    /*-moz-transform: scale(0.85);*/
    /*-ms-transform: scale(0.85);*/
    /*transform: scale(0.85);*/
}
/* кнопка закрытия при наведении */

.close:hover:after {
    /*border-color: #fff;*/
    /*color: #fff;*/
    /*-webkit-transform: scale(1);*/
    /*-moz-transform: scale(1);*/
    /*-ms-transform: scale(1);*/
    /*transform: scale(1);*/
}
/* варианты фонвой заливки модального блока */

.green {
    background: #388e3c!important;
}
.cyan {
    background: #0097a7!important;
}
.teal {
    background: #00796b!important;
}
/* движуха при появлении блоков с содержанием */

@-moz-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@-webkit-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}








/*.modal-container {*/
/*    !*position: fixed;*!*/
/*    !*left: 0;*!*/
/*    !*top: 0;*!*/
/*    !*display: flex;*!*/
/*    !*width: 100vw;*!*/
/*    !*height: 100vh;*!*/
/*    !*padding: 30px;*!*/
/*    !*background-color: rgba(0, 0, 0, 0.5);*!*/

/*    pointer-events: none;*/
/*    opacity: 0;*/
/*    position: fixed;*/
/*    z-index: 99;*/
/*    left: 0;*/
/*    top: 0;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    width: 100vw;*/
/*    height: 100vh;*/
/*    padding: 30px;*/
/*    background-color: rgba(0, 0, 0, 0);*/
/*    transition: opacity .3s, background-color .5s;*/
/*}*/

/*.modal-content {*/
/*    !*overflow: scroll;*!*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    max-width: 500px;*/
/*    max-height: 400px;*/
/*    background-color: #fff;*/
/*    margin: 0 auto;*/
/*    border-radius: 2%;*/
/*    !*border: 1px solid red;*!*/
/*}*/

/*.modal-header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/

/*    !*justify-content: center;*!*/
/*    !*justify-content: space-between;*!*/
/*    !*align-content: center;*!*/
/*    !*align-items: start;*!*/

/*    !*height: 100px;*!*/
/*    !*padding: 3px;*!*/
/*    border: 3px solid brown;*/
/*}*/

/*.modal-header > p {*/
/*    margin-top: 3px;*/
/*}*/

/*.modal-body {*/
/*    !*height: 100vh;*!*/
/*    padding: 3px;*/
/*    border: 1px solid green;*/
/*}*/

/*.close {*/
/*    position: absolute;*/
/*    right: 0;*/
/*    top: 0;*/
/*    width: 30px;*/
/*    height: 30px;*/
/*}*/












/*.modal__backdrop {*/
    /*position: fixed;*/
    /*top: 0;*/
    /*right: 0;*/
    /*bottom: 0;*/
    /*left: 0;*/
    /*background: rgba(0, 0, 0, 0.5);*/
    /*opacity: 0;*/
    /*z-index: -1;*/
    /*pointer-events: none;*/
    /*transition: opacity0 .2s ease-in;*/
/*}*/

/*.modal__content {*/
    /*position: relative;*/
    /*width: auto;*/
    /*margin: 10px;*/
    /*transition: opacity 0.3s ease-in;*/
    /*display: flex;*/
    /*flex-direction: column;*/
    /*background-color: #fff;*/
    /*background-clip: padding-box;*/
    /*border: 1px solid rgba(0, 0, 0, 0.2);*/
    /*border-radius: 0.3rem;*/
    /*box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);*/
/*}*/

/*@media (min-width: 576px) {*/
    /*.modal__content {*/
        /*max-width: 500px;*/
        /*margin: 50px auto;*/
    /*}*/
/*}*/

/*.modal__show .modal__backdrop,*/
/*.modal__show .modal__content {*/
    /*opacity: 1;*/
    /*z-index: 1050;*/
    /*pointer-events: auto;*/
    /*overflow-y: auto;*/
/*}*/

/*.modal__header {*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: space-between;*/
    /*padding: 15px;*/
    /*border-bottom: 1px solid #eceeef;*/
/*}*/

/*.modal__title {*/
    /*margin-top: 0;*/
    /*margin-bottom: 0;*/
    /*line-height: 1.5;*/
    /*font-size: 1.25rem;*/
    /*font-weight: 500;*/
/*}*/

/*.modal__btn-close {*/
    /*float: right;*/
    /*font-family: sans-serif;*/
    /*font-size: 24px;*/
    /*font-weight: 700;*/
    /*line-height: 1;*/
    /*color: #000;*/
    /*text-shadow: 0 1px 0 #fff;*/
    /*opacity: 0.5;*/
    /*text-decoration: none;*/
/*}*/

/*.modal__btn-close:focus,*/
/*.modal__btn-close:hover {*/
    /*color: #000;*/
    /*text-decoration: none;*/
    /*cursor: pointer;*/
    /*opacity: 0.75;*/
/*}*/

/*.modal__body {*/
    /*position: relative;*/
    /*flex: 1 1 auto;*/
    /*padding: 15px;*/
    /*overflow: auto;*/
/*}*/

/*.modal__footer {*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: flex-end;*/
    /*padding: 1rem;*/
    /*border-top: 1px solid #e9ecef;*/
    /*border-bottom-right-radius: 0.3rem;*/
    /*border-bottom-left-radius: 0.3rem;*/
/*}*/

/*.modal {*/
    /*height: 100px;*/
    /*background-color: #00accc;*/
/*}*/

/*.modal__hiding {*/
    /*display: none !important;*/
/*}*/