/**
 * @version     CVS: 2.0.0
 * @package     com_onlinezapis
 * @copyright   2023 ruyurik
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @author      ruyurik <ruyurik2@mail.ru>
 */
#captcha {
	margin: 30px 0 30px 1px;
}
.outtext {
	padding-left: 5px;
	font-size: 14px;
}

div.oz-control.row {
	background-color: #fff;
	margin: 1em auto;
	padding: 1em;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}

.listrecord {
	height: 30px;
	display:block;
}
.listrecord:hover {
    background: #D4F9F7 !important; 
}
#sp-subscribe-box {
	height: 80px;
}
.item-page {
	margin-left: 10px;
	margin-right: 10px;
	padding: 0px 20px 20px 20px;
	border: 2px solid #eee;
	border-radius: 10px;
	/*min-width: 600px;*/
}
.item-page2 {
	margin: 0 20px;
}
#zapis-string {
	color: #337AB7;
	font-weight: bold;
	font-size: 20px;
}
#zapis-string .daystring {
	display: contents;
	color: #000;
}
.item-page h3, .h3blue h3 {
	font-size: 1.25em;
	font-weight: bold;
	color: #4E88E0;
}
hr {
	padding: 0;
}
input[type=button], input[type=text], input[type=date], input[type=submit], select {
	width: 220px !important;
}
textarea {
	/*max-width: 340px !important;*/
	max-width: 100%;
}
textarea {
/*	height: auto !important;*/
}
.daychange {
	display: block;
}
div.dataPText, div.dataPTime {
	width: 100%;
    display: block;
    text-align: center;
}
.col-12, .col-4, .col-8 {
	padding-left: 5px !important; 
}
.col-4 {
	min-width: 252px;
	margin-right: 15px;
}
div.oz-control {
	background-color: #fff;
	/*margin: 1em auto;*/
	/*padding: 1em;*/
	/*box-shadow: 0 2px 4px rgba(0, 0, 0, .2);*/
}
.label-inline {
	display: inline-block;
	color: #333 !important;
	padding-left: 30px; 
	width: 250px !important;
}
.control-inline {
	display: inline-block;
	padding-left: 10px; 
	width: 250px !important;
}
/* Цвет обычных ячеек выбора времени записи*/
.td1.active {
	text-align: center;
	width: 100px; /* Ширина таблицы */
	height: 30px;
	display: inline-block;
	padding: 3px; /* Поля вокруг содержимого таблицы */
	border: 1px solid #CCCCCC; /* Параметры рамки */
	background: #21267C; /* Цвет фона */
	color: #FFFFFF;  /* Цвет текста */
}
.td1 {
	text-align: center;
	width: 100px; /* Ширина таблицы */
	height: 30px;
	display: inline-block;
	padding: 3px; /* Поля вокруг содержимого таблицы */
	border: 1px solid #CCCCCC; /* Параметры рамки */
	background: #ADFFCB; /* Цвет фона */
	color: #000000;  /* Цвет текста */
	cursor: default;	
}
/* Цвет недоступных ячеек выбора времени записи*/
.td2 {
	text-align: center;
	width: 100px; /* Ширина таблицы */
	height: 30px;
	display: inline-block;
	padding: 3px; /* Поля вокруг содержимого таблицы */
	border: 1px solid #CCCCCC; /* Параметры рамки */
	background: #E84E4E; /* Цвет фона */
	color: #FFFFFF;  /* Цвет текста */
	cursor: default;	
}
.td1:hover {
	background: #C9FFFF; /* Цвет фона при наведении */
	color: #115687; /* Цвет текста при наведении */
}
.td1.active:hover {
	background: #21267C; /* Цвет фона */
	color: #FFFFFF;  /* Цвет текста */
}
/* ----------------- Слайдер для checkbox -------------------*/
/* checkbox */
.ykcheckbox input {
  margin: 0 0.5em 0 0;
  vertical-align: middle;
}

.chbxlabel {
  display: inline-block;
  line-height: 1.2em;
}
.ykchkbx {
    display: inline-block;
    width: 62%;
}
/* qf_checkbox */
.yk_checkbox {
  margin-bottom: 1em;
}

.yk_checkbox .yklabel {
  margin: 1.8em 0 0 0;
}

.yk_checkbox .ykempty {
  margin: 0;
}

.yk_checkbox input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.yk_checkbox .chbxlabel {
  position: relative;
  padding: 0 0 0 4.5em;
  cursor: pointer;
}

.yk_checkbox .chbxlabel:before {
  content: '';
  position: absolute;
  top: -0.6em;
  left: 0;
  width: 3.7em;
  height: 1.8em;
  border: 0;
  border-radius: 1em;
  background: #CDD1DA;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .2);
  transition: .2s;
}

.yk_checkbox .chbxlabel:after {
  content: '';
  position: absolute;
  top: -0.5em;
  left: 0.1em;
  width: 1.6em;
  height: 1.5em;
  border: 0;
  border-radius: 1em;
  background: #FFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  transition: .2s;
}

.yk_checkbox input:checked+.chbxlabel:before {
  background: #dfffd1;
}

.yk_checkbox input:checked+.chbxlabel:after {
  left: 2em;
}
/* ----------------- END Слайдер для checkbox -------------------*/

.datapicker-lockedbyuser {
	background-color: #ffd6d6;
	/*color: white;*/
}
.datapicker-presentrecords {
	background-color: #bef0c6;
	/*color: white;*/
}
/* ------------------- Rows for specialist (administration ---------*/
.spec_tr {
	border-bottom: 1px solid #37B5A5;
}
/* ------------------- END Rows for specialist (administration ---------*/

.imgadm {
	cursor: pointer;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
}
.modal {
	margin-top: 150px;
}
.inp-modal, #fio-text, #fionew-text, #time-text, 
#timenew-text, #fiosop-text, #fioblock-text {
	width: 400px !important;
}
.modal-body.scroll1 {
    max-height: calc(100vh - 400px);
    overflow-y: auto;
}
.notsop {
	color: #999;
}
.noaccess {
	display: none; 
}
html {
    width:100vw;
    overflow-x:hidden;
}
.form-group {
	margin-bottom: 15px;
}
.modal-title {
  font-weight: bold;
}
.col-form-label {
	width: 200px;
	font-weight: bold;
}
select[disabled], select[readonly], fieldset[disabled] select, textarea[disabled], textarea[readonly], fieldset[disabled] textarea, input[type="text"][disabled], input[type="text"][readonly], fieldset[disabled] input[type="text"], input[type="password"][disabled], input[type="password"][readonly], fieldset[disabled] input[type="password"], input[type="datetime"][disabled], input[type="datetime"][readonly], fieldset[disabled] input[type="datetime"], input[type="datetime-local"][disabled], input[type="datetime-local"][readonly], fieldset[disabled] input[type="datetime-local"], input[type="date"][disabled], input[type="date"][readonly], fieldset[disabled] input[type="date"], input[type="month"][disabled], input[type="month"][readonly], fieldset[disabled] input[type="month"], input[type="time"][disabled], input[type="time"][readonly], fieldset[disabled] input[type="time"], input[type="week"][disabled], input[type="week"][readonly], fieldset[disabled] input[type="week"], input[type="number"][disabled], input[type="number"][readonly], fieldset[disabled] input[type="number"], input[type="email"][disabled], input[type="email"][readonly], fieldset[disabled] input[type="email"], input[type="url"][disabled], input[type="url"][readonly], fieldset[disabled] input[type="url"], input[type="search"][disabled], input[type="search"][readonly], fieldset[disabled] input[type="search"], input[type="tel"][disabled], input[type="tel"][readonly], fieldset[disabled] input[type="tel"], input[type="color"][disabled], input[type="color"][readonly], fieldset[disabled] input[type="color"], .uneditable-input[disabled], .uneditable-input[readonly], fieldset[disabled] .uneditable-input {
  cursor: not-allowed;
  background-color: #eeeeee !important;
  /*opacity: 1;*/
}
div.accordion-body {
	background-color:#fafafa;
}
div.accordion-item {
	border: 1px solid #337AB7;
}
a.oz-href {
	text-decoration: none;
}
.lbl-form {
	display:inline-flex;
}
.usertext-form {
	display:inline-flex;
	width:80%;
}
.prim-form {
	display:inline-flex;
	width:70%;
}

/************************************** БЛОК для главной формы FORMSITE  **********************************************/
.radio-active {
	background-color: #cdf3ff;
}
    /* для элемента input c type="radio" */
  .custom-radio {
    position: absolute;
    z-index: -1;
    opacity: 0;
  }

  /* для элемента label связанного с .custom-radio */
  .custom-radio+label {
    /*display: inline-flex;*/
    align-items: center;
    user-select: none;
  }

  /* создание в label псевдоэлемента  before со следующими стилями */
  .custom-radio+label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #adb5bd;
    border-radius: 50%;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
  }

  /* стили при наведении курсора на радио */
  .custom-radio:not(:disabled):not(:checked)+label:hover::before {
    border-color: #b3d7ff;
  }

  /* стили для активной радиокнопки (при нажатии на неё) */
  .custom-radio:not(:disabled):active+label::before {
    background-color: #b3d7ff;
    border-color: #b3d7ff;
  }

  /* стили для радиокнопки, находящейся в фокусе */
  .custom-radio:focus+label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }

  /* стили для радиокнопки, находящейся в фокусе и не находящейся в состоянии checked */
  .custom-radio:focus:not(:checked)+label::before {
    border-color: #80bdff;
  }

  /* стили для радиокнопки, находящейся в состоянии checked */
  .custom-radio:checked+label::before {
    border-color: #0b76ef;
    background-color: #0b76ef;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
  }

  /* стили для радиокнопки, находящейся в состоянии disabled */
  .custom-radio:disabled+label::before {
    background-color: #e9ecef;
  }
.radio {
    margin-bottom: 0.4em;
}
.sp-raion-address {
	font-style:italic;
	padding-left:15px;	
}
.form-oz {
	margin: 0px;
	padding: 10px;
	border: 1px solid #eee;
}
.form-oz-label {
	/*display:flex;*/
	margin-left: 30px !important;
}
.form-oz-input {
	display:flex;
	margin-left: 5px !important;
}
.form-oz.radio {
    text-decoration: none;
    cursor: pointer;
}
.tabs * {
    box-sizing: border-box;
}        
.tabs {
    position: relative;
    margin: 20px 10px;
}
.tabs:after{
    display:table;
    content:"";
    clear:both;
}
.tabs .tab .tab-toggle {
    display: flex;
    border: 2px solid #BFE2FF;
    padding: 4px 40px 4px 0;
    border-radius: 16px;
    margin-bottom: 8px;
    position: relative;
    outline: none;
    width: 100%;
    background: #FFF;
    line-height: 1.2;
    margin-left: 10px;
    align-items: center;    
    cursor: pointer;
}
.tabs .tab .tab-toggle .tab-nums  {
    padding: 0 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 0 0 16px;
}
.tabs .tab .tab-toggle .tab-nums .tab-num  {
    color: #337AB7;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
    background: #FFF;
    border: 3px solid #337AB7;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -20px;
    position: relative;
    z-index: 1;
}
.tabs .tab .tab-toggle .tab-nums .tab-tab  {
    padding: 0 12px 0 24px;
    margin-left: -20px;
    font-size: 13px;
    font-weight: bold;    
    border: 2px solid #BFE2FF;
    background: #BFE2FF;
    color: #337AB7;
    border-radius: 0 22px 22px 0;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tabs .tab .tab-toggle .tab-nums .tab-check {
    padding: 0 12px 0 24px;
    margin-left: -20px;
    font-size: 13px;
    font-weight: bold;    
    border: 2px solid #BFE2FF;
    background: #77E18C;
    color: #337AB7;
    border-radius: 0 22px 22px 0;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tabs .tab .tab-toggle .tab-name {
    padding: 6px 0;
    text-align: left;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;    
}
.tabs .tab .tab-toggle:after {
    content: "";
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3e%3cpath fill='%23000000' d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    width: 20px;
    height: 20px;
    display: block;
    right: 10px;
    top: 50%;
    transform: rotate(0deg) translateY(-50%);
}
.tabs .tab .tab-toggle.active {
    color: #000;
    background-color: white;
    cursor: default;
}
.tabs .tab .tab-toggle.active .tab-nums .tab-num  {
    color: #FFF;
    background: #337AB7;
}
.tabs .tab .tab-toggle.active .tab-nums .tab-tab  {
    border: 2px solid #337AB7;
    background: #337AB7;
    color: #FFF;
}
.tabs .tab .tab-toggle.active .tab-name  {
    color: #337AB7;
}
.tabs .tab .tab-toggle.active:after {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3e%3cpath fill='%23337AB7' d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z'/%3e%3c/svg%3e");
}
.tabs .tab .tab-toggle.active:after {
    color: #8099c2;
    transform: rotate(180deg) translateY(50%);
}
.tabs .content {
    overflow: hidden;
    padding: 0;
    transition: opacity 0.4s;
    visibility: hidden;
    opacity: 0;
    padding: 0 0 10px 0;
    max-height: 0;
}
.tabs .content.active {
    max-height: 5000px;
    visibility: visible;
    opacity: 1;
}
@media screen and (min-width: 992px) {
    .tabs {
        position: relative;
        transition: all 0.5s;
    }
    .tabs .tab {
        float: left;
        clear: left;
        width: 30%;
    }
    .tabs .tab .tab-toggle {
        text-align: left;
    }
    .tabs .tab .tab-toggle:after {
        transform: rotate(-90deg) translateX(50%);
    }
    .tabs .tab .tab-toggle.active:after {
        transform: rotate(-90deg) translateX(50%) translateY(0);
    }
    .tabs .content {
        position: absolute;
        right: 0;
        top: 0;
        width: 70%;
        opacity: 0;
        padding: 0 0 30px 40px;
        transition: opacity 0.4s;
    }
    .tabs .content.active {
        opacity: 1;
        padding: 0 0 10px 40px;
    }
}
/************************************** КОНЕЦ БЛОКА для главной формы FORMSITE  **********************************************/
.modal-content {
	margin: 0 20px;
}
#saveoz {
	margin: 1em auto;
}
#saveoz:disabled {
	background-color: #aaa;
	border-color: #aaa;
}
.form-check {
    padding-left: 0 !important;
    background-color: #fff;
}
::-webkit-input-placeholder {font-size: 16px;}
::-moz-placeholder {font-size: 16px;}
:-moz-placeholder {font-size: 16px;}
:-ms-input-placeholder {font-size: 16px;}
:focus::-webkit-input-placeholder {opacity: 0;}
:focus::-moz-placeholder {opacity: 0;}
:focus:-moz-placeholder {opacity: 0;}
:focus:-ms-input-placeholder {opacity: 0;}
.form-at {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    font-size: 0;
    letter-spacing: 0;
    background: #f9f9f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 10px 18px rgba(0,0,0,0.2);
}
.form-at * {
    box-sizing: border-box;
    font-family: Verdana, sans-serif;
}
.validate-input-at,
.no-validate-input-at {
    width: 100%;
    position: relative;
    background-color: #fff;
    border: 2px solid #BFE2FF;
    border-radius: 2px;
    margin-bottom: 20px;
}
.validate-input-at.w-50,
.no-validate-input-at.w-50 {
    /*width: calc(50% - 10px) !important;*/
    width: 100% !important;*/
display: inline-block;
}
.validate-input-at.w-50:first-child,
.no-validate-input-at.w-50:first-child {
    margin-right: 20px;
}
.validate-input-at.w-50,
.no-validate-input-at.w-50 {
    margin-right: 20px;
}
.input-at {
    display: block;
    width: 100%;
    background: transparent;
    color: #000;
}
input.input-at {
    width: 100% !important;
    height: 50px;
    padding: 0 20px 0 20px;
    font-size: 16px;
    outline: none;
    border: none;
}
textarea.input-at {
    min-height: 170px;
    padding: 18px 20px;
    font-size: 16px;
    line-height: 22px;
    outline: none;
    border: none;
    resize: none;
}
textarea.input-at:focus,
input.input-at:focus {
    border-color: transparent;
}
.focus-input-at {
    position: absolute;
    display: block;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    top: -1px;
    left: -1px;
    pointer-events: none;
    border: 2px solid #337AB7;
    border-radius: 2px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s;
    transform: scaleX(1.1) scaleY(1.3);
}
.input-at:focus + .focus-input-at {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}
.form-at-btn {
    position: relative;
    display: block;
    padding: 0 40px;
    height: 50px;
    background-color: #337AB7;
    border-radius: 2px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    transition: all 0.4s;
    margin: 0 auto;
    outline: none;
    border: none;
    cursor: pointer;
}
.form-at-btn:hover {
    background-color: #333333;
}
.form-at-btn[disabled] {
    opacity: .6;
    cursor: not-allowed;
}
.alert-validate::before {
    content: attr(data-validate);
    position: absolute;
    max-width: 70%;
    background-color: #fff;
    border: 1px solid #c80000;
    border-radius: 2px;
    padding: 4px 25px 4px 10px;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    pointer-events: none;
    color: #c80000;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s;
}
.alert-validate::after {
    content: "\2716";
    display: block;
    position: absolute;
    color: #c80000;
    font-size: 18px;
    font-weight: bold;
    top: 50%;
    transform: translateY(-50%);
    right: 22px;
}
.alert-validate:hover:before {
    visibility: visible;
    opacity: 1;
}
.error-at {
    color: red;
    padding: 10px 0;
}
.success-at {
    color: green;
    font-size: 28px;
    padding: 20px 0;
    text-align: center;
}
.form-at input[type=checkbox] {
    display:none;
}
.form-at input[type=checkbox] + label {
    display: block;
    position: relative;
    margin: 0 0 20px 34px;
    font-size: 13px;
    line-height: 24px;
    color: #333333;
}
.form-at input[type=checkbox] + label:before {
    box-sizing: border-box;
    position: absolute;
    content: '';
    width: 26px;
    height: 26px;
    line-height: 22px;
    left: -34px;
    border: 2px solid #BFE2FF;
    border-radius: 2px;
}
.form-at input[type=checkbox]:checked + label:before{
    content: '\2714';
    color:#337AB7;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    border: 2px solid #337AB7;
}
@media (max-width: 768px) {
    .validate-input-at.w-50 {
        width: 100%;
    }
    .validate-input-at.w-50:first-child {
        margin-right: 0;
    }
    .alert-validate::before {
        visibility: visible;
        opacity: 1;
    }
}
#socselector1, #temaselector1 {
    height: 54px;
}
#socstatus-text, #temavoprosa {
    height: 50px;
    width: 100% !important;
}
#shapka {
    font-size: 14px;
    text-align: justify;
}
input#checkbox-at + label {
    font-size: 16px;
}
.label-at {
    position: absolute;
    top: 0px;
    font-size: 12px;
    font-weight: bold;
    left: 8px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
.mtext1 {
    font-size: 14px;
    text-align: justify;
}
.mtext2 {
    font-size: 14px;
}
#back-at, #submit2-at, #saveedit {
    display: inline-block;
}
.card-footer {
    text-align: center;
}
#statusbox.input-at {
    width: 100% !important;
    height: calc(2.5rem + 2px);
    padding: 1rem 0.5rem !important;
}
.form-at-btn.imgadm {
    display: unset;
}
div.card-header {
	text-align: center;
}
.spinner01 {
  height: 10em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-ot {
	padding: 0 !important;
}
.td-word-break {
	word-break: break-all;
}
