@font-face {
  font-family: 'MetaBook';
  font-weight: 400;
  font-style: normal;
  src: url('/fonts/MetaBookLFC.otf') format('truetype');
}

@font-face {
  font-family: 'MetaBook';
  font-weight: 400;
  font-style: italic;
  src: url('/fonts/MetaBookLFC-Italic.otf') format('truetype');
}

html,
body {
  min-height: 100vh;
}

body {
  background-color: #FFFFFF;
  color: #000000;
  font-family: MetaBook, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  margin: 0;
}

img {
  border: none;
  max-width: 100%;
}

table img {
  max-width: initial;
}

h1, .h1 {
  font-size: 26px;
  text-transform: uppercase;
}

h2, .h2 {
  font-size: 22px;
  text-transform: uppercase;
}

h3, .h3 {
  font-size: 22px;
}

p {
  text-align: justify;
  font-size: 16px;
}

td p {
  margin: 0;
}

td, th {
  vertical-align: middle;
}

.table-responsive{
margin-bottom: 4em;
}

a {
  color: #ff6600;
}

table {
  font-size: 14px;
}

@media (max-width: 575px) {
  body {
    font-size: 14px;
  }

  h1, .h1 {
    font-size: 18px;
    text-transform: uppercase;
  }

  h2, .h2 {
    font-size: 16px;
    text-transform: uppercase;
  }

  h3, .h3 {
    font-size: 16px;
  }
}

.bg-danger {
    background-color: #9f0602!important;
}

.bg-secondary {
    background-color: #464343!important;
}


.btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 1rem;
  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;
  text-decoration: none;
}

.btn:hover {
  color: #212529;
  text-decoration: none;
}

.btn-primary {
  color: #212529;
  background-color: #ff6600;
  border-color: #ff6600;
}

.btn-primary:hover {
  color: #212529;
  background-color: #e0a800;
  border-color: #c3141b;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
  color: #212529;
  background-color: #c3141b;
  border-color: #c69500;
}

.btn-primary {
  color: #fff;
  background-color: #fa4c00;
  border-color: #fa4c00;
}

.btn-primary:hover {
  color: #fff;
  background-color: #fa4c00;
  border-color: #fa4c00;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: none;
}

.btn-primary.focus,
.btn-primary:focus {
  color: #fff;
  background-color: #fa4c00;
  border-color: #fa4c00;
  box-shadow: none;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #bc0603;
  border-color: #bc0603;
}


.btn-danger {
    color: #fff;
    background-color: #9f0602;
    border-color: #9f0602;
}

.btn-check:active+.btn-danger, .btn-check:checked+.btn-danger, .btn-danger.active, .btn-danger:active, .show>.btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #b02a37;
    border-color: #a52834;
}
.btn-danger:hover {
    color: #fff;
    background-color: #bb2d3b;
    border-color: #b02a37;
}

.card-text a {
  text-decoration: none;
}

.card-text a:hover {
  text-decoration: underline;
}

.card-text p, p.card-text {
  text-align: left;
}

.container-fluid > p {
  max-width: 1320px;
  margin: 0 auto 1em;
}

.site-logo {
  display: block;
  height: 91px;
  padding: 6px 0;
  margin: 0 1.5em;
  flex-shrink: 0 !important;
}

@media (max-width: 575px) {
  .site-logo {
    margin-left: 0;
  }
}


#pageHeader, #pageFooter {
  background: #ff4c00;
}

#pageHeader:before {
  content: '';
  display: block;
  height: 18px;
  margin-top: 0px;
  background: #9f0602;
}

#pageHeader .navbar-toggler {
  color: #FFFFFF;
  outline: none !important;
  box-shadow: none !important;
}

#pageHeader .nav-link {
  color: #ffffff;
}

#pageHeader .nav-link.dropdown-toggle.show,
#pageHeader .nav-link.active {
  color: #000000;
}

#pageHeader .nav-link {
  cursor: pointer;
}

#pageHeader .dropdown-item {
  color: #ff4c00;
  padding: .5em 1em;
  line-height: 1.1em;
  white-space: normal;
}

#pageHeader .dropdown-item:hover {
  background-color: #ff4c00;
  color: #ffffff;
}

#pageHeader .navbar-nav .dropdown-menu li > .submenu{
list-style-type: none;
}

@media (min-width: 1200px) and (max-width: 1649px) {
  #pageHeader .navbar-nav,
  #pageHeader .dropdown-item {
    font-size: 12px;
  }
}
@media (max-width: 1399px) {
  #pageHeader .navbar-nav,
  #pageHeader .dropdown-item {
    font-size: 12px;
  }
}

@media (min-width: 1400px) {
  #pageHeader .navbar-nav > .nav-item > .nav-link {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (min-width: 1200px) {
  #pageHeader .navbar-collapse {
    width: initial;
  }

  #pageHeader .navbar-nav .dropdown-menu {
    border-radius: 0;
    padding: 0 0 1em 0;
    margin: -1px 0 0 -185px;
    min-width: 370px;
    left: 50%;
  }

#pageHeader .navbar-nav .dropdown-menu li {
position: relative;
}

#pageHeader .navbar-nav .dropdown-menu li > .submenu{
position: absolute;
left: 100%;
top: 0;
margin: 0;
padding: 0;
background-color: #fff;
display: none;
list-style-type: none;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
max-width: 300px;
}

#pageHeader .navbar-nav .dropdown-menu li:hover > .submenu{
display: block;
}
#pageHeader .navbar-nav .dropdown-menu li > .submenu > li{
padding: 0;
}
#pageHeader .navbar-nav .dropdown-menu li > .submenu > li > a{
padding: .5em 1em;
white-space: nowrap;
overflow: clip;
text-overflow: ellipsis;
}

  #pageHeader .navbar-nav .dropdown-menu:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -8px;
    border: 8px solid transparent;
    border-bottom-color: #FFFFFF;
  }

  #pageHeader .nav-item {
    display: flex;
    align-items: center;
  }

  #pageHeader .dropdown-item {
    text-align: center;
  }
}

@media (max-width: 1199px) {
  #topNavMenu {
    padding: 0 1.5em;
  }

  #pageHeader .navbar-nav .dropdown-menu {
    margin: 0 calc(-.75rem - 1.5em);
    padding: 0 calc(.75rem + 1.5em);
    border-radius: 0;
    border: 0;
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  #pageHeader .nav-link.dropdown-toggle {
    white-space: normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #topNavMenu {
    padding: 0;
  }

  #pageHeader .navbar-nav .dropdown-menu {
    margin: 0 -.75rem;
    padding: 0;
    border-radius: 0;
    border: 0;
    font-size: 14px;
  }
}

#pageFooter {
  padding: 32px 1.5em;
}

#pageFooter p {
  margin-bottom: 0;
}

#pageFooter p + p {
  margin-top: 1em;
}

#pageFooter, #pageFooter a {
  color: #FFFFFF;
}

#pageFooter .socials a {
  display: inline-block;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #ff4c00;
  font-size: 20px;
}

#pageFooter .socials a + a {
  margin-left: 22px;
}

@media (max-width: 1199px) {
  #pageFooter .d-flex {
    flex-direction: column;
    align-items: center;
  }

  #pageFooter .d-flex > div {
    text-align: center;
  }

  #pageFooter .d-flex > div + div {
    margin-top: 1em;
  }
}

@media (max-width: 575px) {
  #pageFooter {
    padding: 32px 0;
  }
}

/** <-- Для внутренних */
.page-header {
  display: flex;
  align-items: flex-end;
  margin: 0 auto 60px;
  min-height: 109px;
  border-right: 13px solid #000;
  padding-right: 1em;
  text-align: right;
  text-transform: uppercase;
  max-width: 1320px;
}

.page-header h1,
.page-header .h1 {
  margin-left: auto;
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .page-header {
    min-height: 79px;
  }
}

.betony {
  font-size: 300px;
  text-align: center;
  border-bottom: 2px solid #000;
  line-height: 325px;
  padding: 0;
  display: inline-block;
}

/** Для внутренних --> */

/** <-- Для главной */
.index-page {
    display: flex;
    flex-direction: column;
height: initial !important;
  flex-grow: 1;
  background: url(/images/rostov/index-bg.jpg) no-repeat 50% 50%;
  background-size: cover;
}

.index-items {
  padding: 1.5em;
  list-style-type: none;
}

.index-items li + li {
  margin-left: 100px;
}

.index-items .number {
  color: #fff;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
}

.index-items .number:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 5px;
  background: #fff;
}

.index-items .name {
  color: #fff;
  font-size: 36px;
}

.index-items .name a {
  color: #fff;
  text-decoration: none;
}

@media (min-width: 992px) {
  .index-page,
  .index-page > .container-fluid,
  .index-items {
    height: 100%;
  }
}

@media (max-width: 991px) {
  .index-items {
    flex-direction: column;
    padding: 100px 0;
  }

  .index-items li {
    max-width: 320px;
    width: 100%;
  }

  .index-items li + li {
    margin: 100px 0 0 0;
  }
}

@media (max-width: 575px) {
  .index-items {
    padding: 2em 0;
  }

  .index-items .name {
    font-size: 24px;
  }

  .index-items li + li {
    margin-top: 2em;
  }
}

/** Для главной --> */


.contacts-page .ico {
  height: 30px;
  line-height: 30px;
  width: 30px;
  text-align: center;
  border: 1px solid #464344;
  border-radius: 50%;
}

.pagination {
  text-align: right;
  justify-content: flex-end;
}

.pagination a + a,
.pagination a + span,
.pagination span + a,
.pagination span + span {
  margin-left: 5px;
}

.gallery-grid-item {
  width: 300px;
  padding: 3px;
  box-sizing: border-box;
}


.psy-tests .item {
  position: relative;
  margin: 1rem 0 0;
  border: .2rem solid #f8f9fa;
  padding: 1.5rem;
}

.psy-tests .h5, .psy-tests h5 {
  margin-bottom: .5rem;
  font-weight: 600;
  line-height: 1.2;
  font-size: 1.25rem;
}

.media {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
}

.media img {
  width: 300px;
}

.media-body {
  -ms-flex: 1;
  flex: 1;
}

.mt-0, .my-0 {
  margin-top: 0 !important;
}

.mr-3, .mx-3 {
  margin-right: 1rem !important;
}

.mr-5, .mx-5 {
  margin-right: 3rem !important;
}

.mt-5, .my-5 {
  margin-top: 3rem !important;
}

.mb-5, .my-5 {
  margin-bottom: 3rem !important;
}


@media (min-width: 768px) {
  .mb-md-0, .my-md-0 {
    margin-bottom: 0 !important;
  }

  .mr-md-5, .mx-md-5 {
    margin-right: 3em !important;
  }
}

@media (max-width: 767px) {
  .psy-tests .media {
    flex-direction: column;
  }
}

.psy-tests * {
  box-sizing: border-box;
}

.bg-box_blue.bg-box_tst {
  position: relative;
  text-align: center;
  background: -webkit-linear-gradient(to right, #2d6896 5%, #20ade1, #2d6896 92%);
  background: -webkit-gradient(linear, left center, right center, color-stop(5%, #2d6896), color-stop(50%, #20ade1), color-stop(92%, #2d6896));
  background: -o-linear-gradient(to right, #2d6896 5%, #20ade1, #2d6896 92%);
  background: -moz-linear-gradient(to right, #2d6896 5%, #20ade1, #2d6896 92%);
  background: linear-gradient(to right, #2d6896 5%, #20ade1, #2d6896 92%);
}

.bg-box_blue.bg-box_tst * {
  color: #fff;
}

.bg-box_blue__inner {
  z-index: 2;
  position: relative;
  padding: 50px 20px 0;
}

.bg-box_tst .bg-box__h {
  display: block;
  text-align: center;
}

.bg-box_blue .bg-box__h {
  margin-top: 20px;
}

.bg-box__h {
  font: 30px/35px Roboto, Arial, sans-serif;
  margin: 0;
}

.bg-box_blue .bg-box__h + p {
  font-size: 16px;
  line-height: 20px;
  margin: 30px auto 0;
}

.bg-box_blue img {
  display: block;
  margin: 30px auto 20px;
}

.psy-tests button, .psy-tests input[type="button"], .psy-tests .button {
  display: inline-block;
  vertical-align: top;
  background-color: #fff;
  border-radius: 8px;
  font-size: 16px;
  /* font-family: RobotoSlab, Arial, sans-serif; */
  width: calc(20% - 45px);;
  border: 1px solid #E6E6E6;
  cursor: pointer;
  height: 200px;
  padding: 20px;
  margin: 0 20px 20px;
}

.psy-tests button, .psy-tests input[type="button"], .psy-tests .button.max-w-50 {
  width: calc(50% - 45px);
  min-height: 250px;
  height: initial;
}

.psy-tests button, .psy-tests .button:hover {
  border: 1px solid #f25822;
}

.psy-tests button img, .psy-tests input[type="button"] img, .psy-tests .button img {
  max-width: 100%;
  max-height: 100%;
}

.psy-tests p, .psy-tests li {
  font-size: 1em;
}

.text-center {
  text-align: center;
}

.psy-tests button span, .psy-tests input[type="button"] span, .psy-tests .button span {
  display: inline-block;
  height: 130px;
  padding: 10px 20px 0;
}

.psy-tests .h3 {
  font: 24px/30px Roboto, Arial, sans-serif;
}

.psy-tests h3, .psy-tests .h3 {
  margin: 0 0 15px;
  text-align: center;
}

.psy-tests .small {
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 30px;
  text-align: center;
}

@media (max-width: 991px) {
  .psy-tests button, .psy-tests input[type="button"], .psy-tests .button {
    width: calc(33% - 45px);
  }
}

@media (max-width: 575px) {
  .psy-tests button, .psy-tests input[type="button"], .psy-tests .button {
    width: calc(100% - 45px) !important;
  }
}


.bvi-open{
position: fixed;
    top: 50%;
    right: -109px;
    z-index: 1;
    color: #ffffff;
    text-align: center;
    transform: rotate(-90deg);
    display: block;
    background: #9f0602;
border-radius: 10px 10px 0 0 ;
padding: 5px 15px 10px;
text-decoration: none;
    box-shadow: 0px -0.5px 2px rgba(255, 255, 255, .5);
}
.bvi-open:hover{
    color: #ffffff;
text-decoration: underline;
}
.bvi-panel-close{
position: fixed;
    top: 50%;
    right: -80px;
    z-index: 1;
    color: #ffffff;
    text-align: center;
    transform: rotate(-90deg);
    display: block;
border: 1px solid #000000;
border-radius: 10px 10px 0 0;
padding: 5px 15px 10px;
text-decoration: none;
}

@media (max-width: 575px){
body{
padding-bottom: 36px;
}

.bvi-open, .bvi-panel-close{
top: auto;
right: 0;
left: 0;
bottom: 0;
transform: none;
border-radius: 0;
}
}

@media (min-width: 992px){
#auth-form{
position: absolute;
left: 15px;
    width: 400px;
}
}

@media (min-width: 1200px){
#auth-form{
position: absolute;
left: 15px;
    width: 490px;
}
}

@media (min-width: 1400px){
#auth-form{
position: absolute;
left: 15px;
    width: 580px;
}
}


.bg-dark-content{
  background-color: #303030 !important;
  color: #fff;
}
.bg-dark-content a{
  color: #fff;
text-decoration: none;
}
.bg-dark-content a:hover{
text-decoration: underline;
}
.bg-dark-content .name {
  text-transform: uppercase;
}
.bg-dark-content .number {
  position: relative;
  padding-top: 20px;
}
.bg-dark-content .number:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 9px;
  height: 2px;
  background-color: #fff;
  width: 20px;
}
.bg-dark-content .big-item {
  font-size: 24px;
}



ul.thumbs li {
display:block;
float:left;
list-style-image:none !important;
list-style-position:outside;
list-style-type:none;
margin:5px 5px 0 !important;
}
ul.thumbs {
clear:both;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0;
padding:0;
}
ul.thumbs li img {
border:medium none;
margin:0 !important;
}
ul.thumbs li a {
-moz-background-clip:border !important;
-moz-background-inline-policy:continuous !important;
-moz-background-origin:padding !important;
background:transparent none repeat scroll 0 0 !important;
border:0 none;
text-decoration:none;
}
ul.thumbs li p {
overflow:hidden;
}
.thumbs .clearboth {
clear:both;
}
.childscontainer {
float:left;
margin-bottom:20px;
}
.thumbscontainer {
float:left;
margin-bottom:20px;
}
.pagenumbers {
margin-bottom:20px;
}
.picturecontainer {
text-align:center;
}
.picturecontainer .title {
font-weight:bold;
margin-top:20px;
}
.picturecontainer .picture img {
border:medium none;
margin:0 !important;
}
.picturecontainer .picture a {
-moz-background-clip:border !important;
-moz-background-inline-policy:continuous !important;
-moz-background-origin:padding !important;
background:transparent none repeat scroll 0 0 !important;
border:0 none;
text-decoration:none;
}
.managecontainer {
float:left;
}
.managecontainer textarea {
width:395px;
}
.managecontainer hr {
margin:20px auto 20px 0;
text-align:left;
width:400px;
}
.pictureform .managepicture {
clear:left;
float:left;
}
.pictureform .shortfields {
float:left;
margin-left:20px;
}
.pictureform .clearboth {
clear:both;
}
.uploadcounter {
clear:left;
float:left;
margin-bottom:10px;
width:20px;
}
.uploadfile {
float:none;
margin-bottom:10px;
}
.uploadfile input {
width:385px;
}
.uploadform {
clear:both;
margin-bottom:-10px;
margin-top:20px;
}
.uploadform .clearboth {
clear:both;
}
.slideshowwrapper {
text-align:center;
}
.deleteform {
float:left;
}
.synchform {
float:left;
}


.index-page .collapse-toggle{
color: #ffffff;
text-transform: uppercase;
font-size: 18px;
text-decoration: none;
}

.index-page .collapse-toggle.collapsed .fa-chevron-up, 
.index-page .collapse-toggle .fa-chevron-down{
display: none;
}

.index-page .collapse-toggle .fa-chevron-up, 
.index-page .collapse-toggle.collapsed .fa-chevron-down{
display: inline-block;
margin-left: 1em;
}

.urgi-photogallery { 
margin: 15px 0;
}



	#cookies{
opacity: 0.9;
		background-color:#ff4c00;
display: flex;
    padding: 10px 20px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 20rem;
    position: fixed;
    left: auto;
    bottom: 0;
    z-index: 100;
		}

@media (max-width: 767px) {
  #cookies{
    flex-direction: column;
  }
}

#cookies > div{
color: white;
    display: inline-block;
    padding: 10px;
    line-height: 1.2;
    font-size: 1rem;
}
	