@charset "UTF-8";
html,body{ margin:0px; padding:0px; font-family: sans-serif;}
div{font-family: sans-serif;}

a{color:#e24356;}
.screen1pages{
	height:160px; 
	width:100%; 
	display:table; 
	overflow: hidden; 
	
	background-size: 100% auto; /* 100% ширина, высота автоматически */
    background-repeat: no-repeat;
	background-image:url('https://omnident.md/userfiles/omnidentmd_wallpapers_pic/max/DSC_4569.jpg') ;
	

}

._screen1pages .bg::before{
	content:""; 
	position: absolute; 
	z-index: 1;
	top:0px; 
	width:100%;
	height: 160px;
	background-color:rgba(0, 0, 0, 0.3); }

.screenpages{display:table; background-color: #fff; margin:auto; width:100%}
.screenpages h1{ font-size: 78px;    font-weight: normal;    text-align: center; color:#000131;}

.nv{ text-align: center; margin-bottom:20px; list-style-type:none}
.nv li:first-child{background:0 0!important}
.nv li:first-child a:before{}.nv li{display:inline;padding-left:5px}
.nv li:first-child:before{margin-right:5px;vertical-align: middle; content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgd2lkdGg9IjFlbSIgaGVpZ2h0PSIxZW0iIHN0eWxlPSItbXMtdHJhbnNmb3JtOiByb3RhdGUoMzYwZGVnKTsgLXdlYmtpdC10cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpOyB0cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpOyIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0IDY0Ij48cGF0aCBkPSJNNTUuNDU1LjMzOUg4LjY3QzQuMDg1LjMzOS4zNTYgNC4wNjkuMzU2IDguNjU1djQ2Ljc4MWMwIDQuNTg3IDMuNzMgOC4zMTYgOC4zMTQgOC4zMTZoNDYuNzg1YzQuNTgzIDAgOC4zMTQtMy43MjkgOC4zMTQtOC4zMTZWOC42NTVjMC00LjU4Ni0zLjczMS04LjMxNi04LjMxNC04LjMxNnpNNDQuNjY3IDMyLjM5NGMtLjM5NyAyLjU2NS40MTEgNS40MzktLjM1MiAxMS4yMTZjLS43OTEgNS44MzUtMi4xNjIgMTAuOTU1LTQuODMgMTAuOTU1Yy0zLjE1NSAwLTIuNzMyLTUuODIzLTIuMzY0LTEwLjU2MWMuMTA4LTEuNDI2LjE4OC0yLjY1OC4xMTItMy41MDJjLS4zMi0zLjUzLTEuODM5LTYuMDE2LTUuMTE0LTYuMDE2Yy0zLjI1NiAwLTQuNzk2IDIuNDg2LTUuMTE1IDYuMDE2Yy0uMDc2Ljg0NS4wMDQgMi4wNzcuMTEyIDMuNTAyYy4zNjggNC43MzguNzg5IDEwLjU2MS0yLjM2NCAxMC41NjFjLTIuNjY4IDAtNC4wMzktNS4xMTktNC44My0xMC45NTVjLS43NjQtNS43NzcuMDQ1LTguNjUxLS4zNTMtMTEuMjE2Yy0uNzYtNC44Ni01LjAwMS05LjIxNy0zLjY5Mi0xNS40MTRjLjcyNy0zLjQzNyAyLjYyLTUuMDU0IDQuNDkzLTUuNzM0YzQuMzIxLTEuNTcyIDcuMTEgMS40NTcgMTEuNzQ3IDEuNDU3YzQuNjM4IDAgNy40MjctMy4wMjkgMTEuNzQ2LTEuNDU3YzEuODc1LjY3OSAzLjc2NyAyLjI5NiA0LjQ5MyA1LjczNGMxLjMxMSA2LjE5Ny0yLjkzMiAxMC41NTQtMy42OTEgMTUuNDE0eiIgZmlsbD0iIzAwMDEzMSIvPjwvc3ZnPg==");}
.nv li:before{margin-right:5px;content:"\2192"}
.nv a{color:#000;_text-shadow:0 0 1px #000;}

.nvonp{ z-index: 55; position:absolute; top:160px; width:100%; text-align: center}
.nvonp .nv a{ color:#fff;}
.nvonp .nv li{color:#fff;}
.nvonp .nv li:first-child:before{margin-right:5px;vertical-align: middle; content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgd2lkdGg9IjFlbSIgaGVpZ2h0PSIxZW0iIHN0eWxlPSItbXMtdHJhbnNmb3JtOiByb3RhdGUoMzYwZGVnKTsgLXdlYmtpdC10cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpOyB0cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpOyIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0IDY0Ij48cGF0aCBkPSJNNTUuNDU1LjMzOUg4LjY3QzQuMDg1LjMzOS4zNTYgNC4wNjkuMzU2IDguNjU1djQ2Ljc4MWMwIDQuNTg3IDMuNzMgOC4zMTYgOC4zMTQgOC4zMTZoNDYuNzg1YzQuNTgzIDAgOC4zMTQtMy43MjkgOC4zMTQtOC4zMTZWOC42NTVjMC00LjU4Ni0zLjczMS04LjMxNi04LjMxNC04LjMxNnpNNDQuNjY3IDMyLjM5NGMtLjM5NyAyLjU2NS40MTEgNS40MzktLjM1MiAxMS4yMTZjLS43OTEgNS44MzUtMi4xNjIgMTAuOTU1LTQuODMgMTAuOTU1Yy0zLjE1NSAwLTIuNzMyLTUuODIzLTIuMzY0LTEwLjU2MWMuMTA4LTEuNDI2LjE4OC0yLjY1OC4xMTItMy41MDJjLS4zMi0zLjUzLTEuODM5LTYuMDE2LTUuMTE0LTYuMDE2Yy0zLjI1NiAwLTQuNzk2IDIuNDg2LTUuMTE1IDYuMDE2Yy0uMDc2Ljg0NS4wMDQgMi4wNzcuMTEyIDMuNTAyYy4zNjggNC43MzguNzg5IDEwLjU2MS0yLjM2NCAxMC41NjFjLTIuNjY4IDAtNC4wMzktNS4xMTktNC44My0xMC45NTVjLS43NjQtNS43NzcuMDQ1LTguNjUxLS4zNTMtMTEuMjE2Yy0uNzYtNC44Ni01LjAwMS05LjIxNy0zLjY5Mi0xNS40MTRjLjcyNy0zLjQzNyAyLjYyLTUuMDU0IDQuNDkzLTUuNzM0YzQuMzIxLTEuNTcyIDcuMTEgMS40NTcgMTEuNzQ3IDEuNDU3YzQuNjM4IDAgNy40MjctMy4wMjkgMTEuNzQ2LTEuNDU3YzEuODc1LjY3OSAzLjc2NyAyLjI5NiA0LjQ5MyA1LjczNGMxLjMxMSA2LjE5Ny0yLjkzMiAxMC41NTQtMy42OTEgMTUuNDE0eiIgZmlsbD0iI2ZmZmZmZiIvPjwvc3ZnPg==");}
.screen1{height:100vh; width:100%; display:table; overflow: hidden; }

.table{ display: table;}
.row{display: table-row;}
.td{ display:table-cell}
.screen1 .bg{
	display:table-row;
	width:100%;
	height:100%;
	position: relative;
}
.screen1 .bg:before{
        content:" "; 
		display: block;
		position: fixed;
		position: absolute;
		left:0;
		top:0;
		width: 100%;
		height: 100%;
		z-index: -10;
		background: #000139; 
		opacity: 0.8;
  		background-repeat: no-repeat;
  		background-attachment: fixed;
		background-position: center;
		-webkit-background-size: cover;
		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover; 
}
.screen1 .bg .imgbg{
		 
		display: block;
		position: fixed;
		left:0;
		top:0;
		width: 100%;
		height: 100%;
		z-index: -10;
        object-fit: cover;
	  	opacity: 0.5;
		background-image:#000  /*url("/i/i/bg1.jpg")*/;
  		background-repeat: no-repeat;
  		background-attachment: fixed;
		background-position: center;
		 -webkit-background-size: cover;
		 -moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover; 
} 
.screen1 .bgalpha{  /* нельзя так как меню уходт position: relative;*/display: table-cell; vertical-align: middle; box-sizing: border-box; padding: 0px 15px 15px 15px; background-color: rgba(0,0,0,0.1);width:100%;height:100%; }

.screen1 .bgalpha::before{  position:absolute; display: table-cell; vertical-align: middle; box-sizing: border-box; padding: 0px 15px 15px 15px; background-color: rgba(0,0,0,0.1);width:100%;height:100%; }
.screencontact{display: table; background: #fff; box-sizing: border-box; height:50vh; width:100%; position: relative  }

.screen1 h1{ font-size:68px; font-weight: normal;font-family: sans-serif; color:#fff; text-align:center; max-width: 1280px; margin: auto; margin-top:100px;  text-shadow: 0px 1px 3px black; } 
.screen1 h2{  font-weight: 100;  font-size:28px; font-family: sans-serif; color:#fff; text-align:center; max-width: 850px; margin:auto}
.screen1 h3{ font-size:78px; font-family: sans-serif; color:#fff; text-align:center;  } 
.screen1 h4{  font-weight: 100;  font-size:28px; font-family: sans-serif; color:#fff; text-align:center;}

.screen3 h1{font-size: 74px; padding:0px 5px 0px 5px; text-align: center;}
.screen3 .con{text-align: justify; font-size: 24px; overflow: hidden; max-width: 850px; margin:auto;}
.screen3 .con strong{ white-space: nowrap}

.screen2personal{ display:table;background:#fff; width:100% }
.screen2personal .con{  max-width: 850px; margin: auto;margin-top:15px; width:100%}
.screencontact #map_canvas{ background: #fff; min-height: 600px;   height:50vh; width:100%;   }
 
.serviceslimit{ display:table;  background: #fff; box-sizing: border-box; height:100vh; width:100%; position: relative  }
.servicesrow{ display: table-row; }
.servicesrow .table{ background:transparent; }
.servicescell{display:table-cell; height: 20%;}


.screen2personal h2,.screendiploms h2,.screenarticles h2,.screenpersonal h2,.screennews h2,.screenreview h2,.screeninvite h2,.serviceslimit h2, .screencontact h2,.screenpreimushestva h2,.screeninvite h2{ font-size:78px; font-weight: normal;text-align:center; }

.screen2personal h3,.screendiploms h3,.screenarticles h3,.screenpersonal h3,.screennews h3,.screenreview h3,.screeninvite h3,.serviceslimit h3, .screencontact h3,.screenpreimushestva h3,.screeninvite h3{font-size:34px; font-weight: normal;text-align:center; margin-right:auto; margin-left:auto; max-width:1280px;}


.serviceslimit .item{
    display: table-cell;
    width:33%;
	vertical-align: middle;
	text-align: center;
	
}


.servicesrow .table .servicesrow:nth-child(odd)  .item:nth-child(even){ background: #ccc; }
.servicesrow .table .servicesrow:nth-child(even) .item:nth-child(odd){  background: #ccc; }
.servicesrow .cell{height:100px; vertical-align: middle;} 

.ltable{display:table;width:100%;}
.lrow{display:table-row;}
.lcell{display:table-cell; vertical-align: middle; height: 100px;text-align: center;}

.imagePersonal{
	-webkit-border-radius: 300px;
	-moz-border-radius: 300px;
	border-radius: 300px;
}

.bookingbtn{ font-size: 28px;}

.cnt img{ vertical-align: middle; margin:10px; box-sizing: border-box;max-width: 150px;   max-height: 150px;}
.cnt a{   vertical-align: middle; text-decoration: none; }

.cnt img{ transition: transform 0.3s ease, box-shadow 0.3s ease;}
.cnt img:hover{ opacity: 0.8; 
	transform: scale(1.1);
    
}
.cnt .h1{  color:#000;  }
.cnt .h2{ }
.serviceslimit .table{ display: table;width:100%; height:100%; max-width: 1980px; margin: auto;}
.screen3{ display:table;  background: #fff; box-sizing: border-box;   width:100%;}
.logo{ cursor: pointer;position: absolute; top: 20px; left:15px;  width:312px; height:92px; background: url('/i/logo.png') no-repeat; background-size: contain;}

.logo::before{
content: '';
background: url('/i/elka.png') no-repeat;
width:78px;
height:100px;
position: absolute;
right:-70px;
}

.social-top{ display: none; position: absolute; top:15px; right:15px;font-size:28px; }

.social-top a{  width:24px;height:24px; display: inline-block; margin-left:15px;      }
.social-top a:hover{ opacity:0.8 }
.social-top a svg{ width:24px !important;height:24px !important;  display: inline;  }
.phone_top *{ text-shadow: 0px 1px 1px #000;}
.phone_top { position:absolute; top:15px;right:15px; }
.phone_top a{font-size: 14px; color:#fff; text-decoration: none;}
.phone_top a span{font-size: 20px;}
.phone_top .adress{ font-size: 14px; color: antiquewhite;}

.lang{ position: absolute; right:0; left:0px; width:250px;  margin:auto; top:15px;}
.lang a{   color:#fff; font-size: 14px; margin-right:15px; text-decoration: none; text-transform: uppercase;  }
.lang a:hover{ opacity:0.8  }
.lang svg{ width:18px; height:auto; max-height:18px; margin-right:10px;}
.menubtnmob{ width:32px; height:32px; position:absolute;right:0px; left:0px; margin: auto; top:20px; z-index:30; background:url(/i/icon-mobile-menu.png) no-repeat} 
.menubtnmob a{ display:block;color:none !important; width:32px; height:32px;background:url(/i/icon-mobile-menu.png) no-repeat} 
 

blockquote{  font-style: italic; font-family: RobotoLight, Helvetica, sans-serif; font-size:12px; line-height: 12px;}
blockquote *{  font-style: italic !important; font-family: RobotoLight, Helvetica, sans-serif !important; font-size:12px !important; line-height: 12px !important;}

em{ color:#444;}

.tabs *{
	word-wrap: break-word;
} 
.tabs{
	max-width: 100vw;
}


.bookingbtn2{
    background-color:rgb(10, 10, 79); 
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    display: inline-block;
    text-align: center;
    color:#fff;
    font-size:14px;
    margin:auto; 
    margin-top: 5px;
    padding:10px;
	text-decoration:none;
	} 
	.bookingbtn2:hover{
		background-color: #1a1b1b;
	}

.bookingbtn{
    background-color:#e24356; 
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    display: block;
    max-width: 280px; 
    text-align: center;
    color:#fff;
    font-size:28px;
    margin:auto; 
    margin-top: 50px;
	margin-bottom:10px;
    padding:15px;
    text-decoration:none;} 

.bookingbtn:hover{
    background-color:lightblue;
	
}

.screen1 .mouse {
    display:none;
    position: absolute;
	margin: auto ;
	bottom: 10px;
	left: 0;
    right:0;
	width: 27px;
	height: 44px;
	border: 2px solid #fff;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-ms-border-radius: 15px;
	border-radius: 15px;
	cursor: pointer
}
.screen1 .mouse .dot {
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 10px;
	left: 11px;
	width: 5px;
	height: 5px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	border-radius: 50%;
	background-color: #fff

} 
.verda14{ max-width:800px; margin: auto;}
.btnblue{ 
	height:25px; 
    vertical-align: middle; 
    background: darkblue; 
    border-radius: 100px;
	-moz-border-radius: 100px;
	-webkit-border-radius: 100px;
    line-height: 24px;
	display: inline-block; 
	color:#fff; 
	text-align: center; 
	padding:10px 20px 10px 20px; 
	min-width:200px;
	font-size: 16px;
	font-weight: 300; 
	margin-bottom:10px; 
	text-decoration: none}
.btnblue svg{ width:32px;  fill: #fff; vertical-align: top; margin-left:15px;}
.btnblue:hover{background:lightblue; }
 
.benefitstable{  display: table; max-width:1280px; margin:auto;    min-height: 300px;     }
.benefitsrow{  display: table-row; }
.benefitscell{ padding:20px;  display: table-cell;  width:50%;vertical-align: top; }
.benefitstable:nth-child(odd) .benefitscell:first-child{ text-align:center; vertical-align: top;}
.benefitstable:nth-child(even) .benefitscell:last-child{ text-align:center; vertical-align: top;}

.screeninvite{height:25vh;padding: 0px 20px 0px 20px; width: 100%; box-sizing: border-box;  display:table;  background: #f2f2f2; background-size: cover;/* #f2f2f2; */}


.screenpreimushestva{height:75vh; width:100%; display:table; background: #fff; }
.screenpreimushestva .table{ border-bottom:1px dotted #ccc;display: table; margin:auto; max-width: 1024px;width:100%;      }
.screenpreimushestva .table:last-child{ border:0px;}
.screenpreimushestva .row{   display: table-row;   }
.screenpreimushestva .cell:first-child{vertical-align:middle; width:30%; text-align: center}
.screenpreimushestva .cell{ padding:3%;  display: table-cell; box-sizing: border-box; padding-left:20px; vertical-align: top; }
.screenpreimushestva  img{ max-height:300px;max-width:300px;}
.screenpreimushestva  h4{ font-size:38px; margin: 0px 0px 10px 0px; text-align: left; font-weight: 600;}

.screenpreimushestva .table h2{ font-size:38px; text-align: left; font-weight: 600;}

.bgf{ background:#fff !important;}

.screennews{height:50vh; width:100%; display:table;/*table*/background: #f2f2f2; }
.screennews h2{font-size:78px; font-weight: normal;text-align:center; line-height: normal}
.newslimit{ max-width: 1980px; margin: auto;}
.newslimit div{ width:20%; display:block; float:left;}
.newslimit div:nth-child(1){ margin-right:5%; margin-left:10%;  }
.newslimit div:nth-child(2){ margin-right:5%; margin-left:5%; }
.newslimit div:nth-child(3){ margin-right:10%; margin-left:5%;}

.newslimit div .name{ margin-top:15px; display:block; color:#000; font-size:20px; text-decoration:none;}
.newslimit div img{width:100%; height:200px; object-fit: cover;  box-sizing: border-box;  border: 6px solid #fff;    border-radius: 5px; }
.newslimit .date{  display: block;  font-size: 11px;} 


.screennews.wh{background: #fff;} 
.newslist div{ overflow: hidden; width:20%; display:block; float:left; margin-bottom:100px; }
.newslist div:nth-child(1),.newslist div:nth-child(3n+4){ margin-right:5%; margin-left:10%;  }
.newslist div:nth-child(3n+2){ margin-right:5%; margin-left:5%; }
.newslist  div:nth-child(3n+3){ margin-right:10%; margin-left:5%;}

.newslist div .name{ margin-top:5px; display:block; color:#000; display:block; height:45px;  overflow: hidden; font-size:20px; text-decoration:none;}
.newslist div img{width:100%; height:200px; object-fit: cover; }
.newslist .date{  display: block;  font-size: 11px;} 

#zayavka,#guestbook,#comment{ max-width:850px; margin:auto;}
#guestbook h2,#comment h2{text-align:center; font-size:34px;}

#zayavka select,#zayavka input,#zayavka textarea ,#guestbook input,#guestbook textarea,#comment input,#comment textarea{
	position: relative;
    display: block;
    font-family: kievit, Verdana, Helvetica, Arial;
    box-sizing: border-box;
    width:100%;
    font-size: 18px;
    line-height: 18px;
    padding: 15px 20px;
    color: #1a1b1b;
    background-color: #fff;
    border-width: 1px;
    border-color: #ccc;
    border-style: solid;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    border-radius: 6px;
    -webkit-transition: border-color .25s ease, background-color .25s ease;
    -moz-transition: border-color .25s ease, background-color .25s ease;
    -ms-transition: border-color .25s ease, background-color .25s ease;
    -o-transition: border-color .25s ease, background-color .25s ease;
    transition: border-color .25s ease, background-color .25s ease;
    outline: 0;
    clear: both;}


#zayavka input[type="button"] , #guestbook input[type="button"],#comment input[type="button"] {
    
    padding: 0 20px 0 20px;
    height: 46px;
    _line-height: 46px;
    color: #fff;
    text-decoration: none;
    border-width: 2px;
    border-color: #e6e6e6;
    border-style: solid;
    border-radius: 25px;
    -webkit-transition: background-color .5s ease, color .5s ease, border-color .5s ease;
    -moz-transition: background-color .5s ease, color .5s ease, border-color .5s ease;
    -ms-transition: background-color .5s ease, color .5s ease, border-color .5s ease;
    -o-transition: background-color .5s ease, color .5s ease, border-color .5s ease;
    transition: background-color .5s ease, color .5s ease, border-color .5s ease;
    cursor: pointer;
    background-color: #e24356;max-width:200px;
}


.screenarticles{height:50vh; width:100%; display:table;background: #f2f2f2; }
.screenarticles.wh{background: #fff;} 
.screenarticles h2{font-size:78px; font-weight: normal;text-align:center;}
 

.articleslist div{ overflow: hidden;width:20%; display:block; float:left; margin-bottom:100px; }
.articleslist div:nth-child(1),.articleslist div:nth-child(3n+4){margin-right:5%; margin-left:10%;}
.articleslist div:nth-child(3n+2){margin-right:5%; margin-left:5%;}
.articleslist div:nth-child(3n+3){margin-right:10%; margin-left:5%;}

 


.articleslimit div{  width:20%; display:block; float:left;}
.articleslimit div:nth-child(1){ margin-right:5%; margin-left:10%;  }
.articleslimit div:nth-child(2){ margin-right:5%; margin-left:5%; }
.articleslimit div:nth-child(3){ margin-right:10%; margin-left:5%;}

.articleslimit div .name, .articleslist div .name{  margin-top:15px; display:block; height:65px; overflow: hidden;color:#000; font-size:20px; text-decoration:none;}
.articleslimit div img,.articleslist div img{width:100%; height:200px; box-sizing: border-box; object-fit: cover; border: 6px solid #fff;    border-radius: 5px;}
.articleslimit div .cat,.articleslist div .cat{ color:deeppink;}

.screenpersonal{text-align: center;height:100vh; width:100%; display:table;background: #fff; }

.personallimit{ margin-top:10px;}

.personallimit img{ transition: transform 0.3s ease, box-shadow 0.3s ease;}
.personallimit img:hover{ 
	transform: scale(1.1);
    
}

.personallimit div{ width:12%; display:block; float:left;margin-right:2%; margin-left:2%;  }

/*
.personallimit div:nth-child(1),.personallimit div:nth-child(5n+4){margin-right:2%; margin-left:5%;}
.personallimit div:nth-child(5n+2){margin-right:2%; margin-left:2%;}
.personallimit div:nth-child(5n+3){margin-right:5%; margin-left:2%;}*/

.personallimit div .name{ font-weight: bold; height:45px; overflow: hidden; margin-top:15px; display:block;  color:#000; font-size:20px; text-decoration:none;}
.personallimit div span{display:block;  color:#000; font-size:14px; height:50px;}
.personallimit div img{ width:100%;max-width:300px; object-fit: cover;-webkit-box-shadow: 0px 0px 6px 2px #ccc;
    box-shadow: 0px 0px 6px 2px #ccc;
	border: 3px solid #fff;
	margin-top:10px;

}
.personallimit div .cat{ color:deeppink;}

#diploms,#conducatorstiintifice,#conducatorstiintificedoctorat,#teze{display:none;}

.screendiploms{text-align: center;height:50vh; width:100%; display:table;background: #fff; }
.screendiploms.bl{background: #f2f2f2 ; height: auto; }

.diplomslimit div{ box-sizing: border-box; padding:15px; vertical-align: top; width:30%;   display:inline-block;  }
.diplomslimit div img{width:100%; margin: auto; height:100%; max-height: 300px;object-fit:contain;      }
.diplomslimit div .cat{ color:deeppink;}
 
.screenfooter{height:100px; width:100%; display:table;background: #f2f2f2;}
.screenfooter .lcell{ width:33%; vertical-align: middle }
.screenfooter .lcell:last-child{text-align: right}
.screenreview{height:50vh; width:100%; display:table;background: #f2f2f2;  }
.screenreview center,.screenpersonal center,.articleslimit center,.newslimit center,.screendiploms center{ display:block;  margin-top:40px; clear:both;  }

.reviewlimit div{  width:20%; display:block; float:left; background:#fff; box-sizing: border-box; padding:20px;    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;}
.reviewlimit div:nth-child(1){ margin-right:5%; margin-left:10%;  }
.reviewlimit div:nth-child(2){ margin-right:5%; margin-left:5%; }
.reviewlimit div:nth-child(3){ margin-right:10%; margin-left:5%;}
.reviewlimit div .name{  margin-top:15px; display:block; color:#000; font-size:20px; text-decoration:none;}
.reviewlimit div img{width:100%; height:200px; object-fit: cover; }
.reviewlimit div .cat{ color:deeppink;}


.clr{clear:both;}

.priceTable{}

.priceTable td:first-child{background-color:#f2f2f2; padding: 0 5px 0 5px; text-align:center}
.priceTable td:nth-child(2){ font-weight: bold;text-align:center}
.priceTable td:nth-child(3){background-color:#f2f2f2; padding: 0 5px 0 5px; text-align:center}

.priceTable td:last-child{ text-align:left; font-weight:bold; }
.priceTable td{ padding: 0 5px 0 5px;}

.priceTable td{   line-height: 11px; border-bottom:1px solid #ccc; font-size:12px !important; }
.priceTable th p{  line-height: 11px; font-weight: normal; font-size:12px !important;  }
.priceTable td p{  line-height: 11px; font-weight: normal; font-size:12px !important;  }
.priceTable .head{ background-color:#cccccc !important; font-size:14px; font-weight:bold;}

#zayavkabutton{
	position: fixed;
	z-index: 10000; 
	bottom:10px; 
	right: 80px; 
	_width:150px; 
	margin:0px !important; 
	display:block;
	
}

#sochialsharebutton{
	position: fixed;
	z-index: 10000; 
	bottom:10px; 
	margin:auto;
	border-radius: 100px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
	padding:10px;
	box-sizing: border-box;
	background: rgba(255, 0, 0, 0.2);
	right: 20px; 
	width:50px; 
	height:50px; 
	display:block;
}

#sochialshare{ position: fixed; z-index: 10000;  bottom:60px;width:50px; right:20px; height:430px; display:block; margin: auto;}
#sochialshare div{ display:block;}
#sochialshare .fa svg{ vertical-align:middle; padding:5px}
#sochialshare .fa {
	border-radius: 100px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
	display: inline-block;
	box-sizing: border-box;
	padding:10px;
	font-size: 20px;
	width: 50px;
	height: 50px;
	margin-bottom:3px;
	vertical-align: middle;
	color:#fff;
	text-align: center;
	text-decoration: none
}
#sochialshare .fa  svf{column-fill: #fff;}

#sochialshare .fa:hover {
     opacity:0.7;
	color: #fff !important
}

.fa-facebook {
	background: #3B5998;
	color: #fff !important
}

.fa-vk {
	background: #3B5998;
	color: #fff !important
}

.fa-odnoklassniki {
	background: #F68634;
	color: #fff !important
}

.fa-google {
	background: #dd4b39;
	color: #fff !important
}

.fa-twitter {
	background: #55ACEE;
	color: #fff !important
}

.fa-at {
	background: #3688C8;
	color: #fff !important
}

.fa-pencil {
	background: #306599;
	color: #fff !important
}

.fa-whatsapp {
	background: #4fce5d;
	color: #fff !important
}

.fa-viber {
	background: #665cac;
	color: #fff !important
}



.content{ max-width:850px; margin:auto; font-size:20px; line-height: 28px}
.content p{ font-size:20px; line-height: 28px}


.nav {
	line-height: 18px;
	white-space: nowrap;
	font-size: 11px;
	font-family: RobotoLight, Helvetica, sans-serif;
	font-weight: 500;
	text-align: center;
    margin:auto;
	margin: 5px auto
}

.nav A {
	font-family: RobotoLight;
	background-color: #fff;
	border: 1px solid #cfd1d4;
	margin-left: 1px;
	margin-right: 1px;
	color: #565656;
	text-decoration: none;
	padding: 8px 16px
}

.nav A:hover {
	text-shadow: 1px 1px 1px #000;
	-moz-box-shadow: inset 1px 1px 3px #666;
	-webkit-box-shadow: inset 1px 1px 3px #666;
	box-shadow: inset 1px 1px 3px #666;
	-ms-filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3,
		Direction=135, Color=#666);
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135,
		Color=#666);
	border: 1px solid #fff;
	color: #fff;
	background-color: darkblue;
	text-decoration: none
}

.nav input[type=text] {
	height: 32px;
	width: 60px;
	font-family: RobotoLight, Helvetica, sans-serif;
	font-weight: 500;
	text-align: center;
	font-size: 11px;
	box-sizing: border-box;
	padding: 4px 8px;
	background: #e24356;
	border: 1px solid #cfd1d4;
	margin-left: 1px;
	margin-right: 1px;
	color: #fff
}

.nav table {
	border-collapse: collapse;
	table-layout: fixed;
	width: 100%
}

.nav table td {
	padding: 0;
	white-space: nowrap;
	text-align: center;
	vertical-align: middle
}

.nav .left {
	text-align: right
}

.nav .right {
	text-align: left
}

.nav .left, .nav .right {
	width: 110px
}

.nav .spaser {
	width: 5px
}

.nav span {
	display: block;
	padding: 3px 0;
	color: #fff
}

.nav span a {
	text-shadow: 1px 1px 1px #ccc;
	-moz-border-radius: 100px;
	-webkit-border-radius: 100px;
	border-radius: 100px;
	background-color: #fff;
	border: 1px solid #cfd1d4;
	margin-left: 1px;
	margin-right: 1px;
	color: #565656;
	text-decoration: none;
	padding: 4px 8px
}

.nav span .cur {
	text-shadow: 1px 1px 1px #000;
	background: #C55451;
	color: #FFF;
	border: #fff 1px solid
}

.nav .scroll_bar {
	width: 100%;
	height: 20px;
	position: relative;
	margin-top: 10px
}

.nav .scroll_trough {
	width: 100%;
	height: 4px;
	background: #ccc;
	overflow: hidden;
	cursor: pointer
}

.nav .scroll_thumb {
	position: absolute;
	z-index: 2;
	width: 8px;
	height: 4px;
	top: 0;
	left: 0;
	font-size: 1px;
	background: #363636
}

.nav .scroll_knob {
	position: absolute;
	top: -3px;
	left: 50%;
	margin-left: -10px;
	width: 20px;
	height: 20px;
	overflow: hidden;
	background: url(/i/slider_knob.gif) no-repeat 50% 50%;
	cursor: move
}

.nav .current_page_mark {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 3px;
	height: 4px;
	overflow: hidden;
	background: #55a6d9;
	cursor: pointer
}

#listaruclarilor li{ margin-bottom:10px;}

hr{color:#FFF; border:0px; border-bottom:#666 dotted 1px; clear:both;}
.productList {
	width: auto;
	margin-right: 5px;
	height: 120px;
	overflow: hidden;
	margin-bottom: 20px;
	float: left;
	text-align: center;
}
.left_sm {
	cursor: pointer;
	position: absolute;
	left: 0px;
	z-index: 20;
	font-size: 34px;
	top:0px;
	box-sizing: border-box;
	padding-top:20px;
	height:75px;
	background-color: #e2e2e2;
}
.left_sm:hover {
 filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* IE 5.5+*/
	-moz-opacity: 0.5; /* Mozilla 1.6 Р С‘ Р Р…Р С‘Р В¶Р Вµ */
	-khtml-opacity: 0.5; /* Konqueror 3.1, Safari 1.1 */
	opacity: 0.5; /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9+ */
}
.right_sm {
	cursor: pointer;
	position: absolute;
	right: 0px;
	box-sizing: border-box;
	padding-top:20px;
	font-size: 34px;
	z-index: 21;
	height:75px;
	background-color: #e2e2e2;
}
.right_sm:hover {
 filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* IE 5.5+*/
	-moz-opacity: 0.5; /* Mozilla 1.6 Р С‘ Р Р…Р С‘Р В¶Р Вµ */
	-khtml-opacity: 0.5; /* Konqueror 3.1, Safari 1.1 */
	opacity: 0.5; /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9+ */
}
#gallery img{   width:30%;  height:300px; object-fit: cover;}

.albums{ width:19%; height:300px; position:relative; float:left;   margin:0.5%; overflow: hidden;  }
.albums img{ position: absolute; width:100%;  height:300px; object-fit: cover;}
.albums .name{ 
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    padding: 20px;
    text-align: center;
    display: table;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box; z-index: 9999; text-decoration: none;}
.albums .name span{display:table-row;}

.albums .name h2{
	word-break: break-all;
	font-weight: bold; 
    color: white;
    font-size: 100%;
    display: table-cell;
	vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0;}


 
@media screen and (max-height: 640px) and (max-width: 2290px)  {
	.screen1 .bgalpha{ padding-top: 0px;}
	
}
@media screen and (max-height: 480px){
		#sochialshare{height:260px;}
	#sochialshare .fa{ width:30px; height:30px; padding: 0px; }
}

 


@media screen and (min-width: 1154px) {
    .menubtnmob{display:none; } 
	 .screeninvite iframe{ height:300px !important;}
    .videolist iframe{ height:300px !important;}
	.logo{ top:20px  }
}


@media screen and (min-width: 769px) {
    .menubtnmob{top:60px; } 
	.cnt .h1{ font-size:24px;}
	.personallimit{ max-width: 1980px; margin: auto;}
	
	
}
/*
@media screen and (min-width: 1920px) {
	.screen1 h3{font-size:78px;  }
  
    
	.screen1 h4{font-size:28px; }
	.bookingbtn{ font-size: 28px;}
}*/

/*@media screen and (min-width: 1024px)  and (max-width: 1919px)  {
	.screen1 h3{font-size:38px; }
	.screen1 h4{font-size:18px; }
	.bookingbtn{ font-size: 18px;}
}*/


@media screen and (max-width: 1440px){
	.screenpages h1,.screen3 h1{font-size:62px; margin-bottom:10px;}
	.screen2personal h2,.screendiploms h2,.screenarticles h2,.screenpersonal h2,.screennews h2,.screenreview h2,.screeninvite h2,.serviceslimit h2, .screencontact h2,.screenpreimushestva h2,.screeninvite h2{ font-size:52px; margin-bottom:10px; }

	.screen2personal h3,.screendiploms h3,.screenarticles h3,.screenpersonal h3,.screennews h3,.screenreview h3,.screeninvite h3,.serviceslimit h3, .screencontact h3,.screenpreimushestva h3,.screeninvite h3{ font-size:24px; margin:20px 10% 20px 10%; }
	
	.screenarticles h3,.screennews h3{font-weight:bold; }

	
	.screen3 .con{ font-size: 20px;padding:0px 50px 0px 50px;}
	.albums{ width:24%;}
	
	.reviewlimit div{  width:30%;  }
	.reviewlimit div:nth-child(1){ margin-right:1%; margin-left:2%;  }
	.reviewlimit div:nth-child(2){ margin-right:1%; margin-left:1%; }
	.reviewlimit div:nth-child(3){ margin-right:2%; margin-left:1%;}
}
 
/*
@media screen and (min-width: 1280px) {
    .screen3 h1{ font-size:72px; }
    .screen3 .con{ font-size:34px; max-width:1280px; margin:auto; text-align: justify; }
      
}
@media screen and (max-width: 1280px )  {
    .screen3 h1{ font-size:56px; }
    .screen3 .con{ font-size:14px; max-width:1004px; box-sizing: border-box; padding:0px 30px 0px 30px;margin:auto;   }
     .screeninvite h2{font-size:38px; }
    .screeninvite h3, .screendiploms h3,.screenpersonal h3{font-size:14px; }
	
	 
}

*/
.videolist strong{ display: block; height:50px; padding:5px; overflow: hidden}
.videolist span{ display: block;  padding:5px; font-size:14px;}
.videolist{ width:31%; margin:1%; float:left; background: #f2f2f2;}
 



@media screen and (max-width: 1154px) {
	.screen1 h3{ font-size:48px; }
     .bookingbtn{ font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 180px;
    }
    .screen1pages{height:120px;  }
	
    .serviceslimit h2,.screennews h2,.screenpersonal h2,.screenpreimushestva h2,.screeninvite h2,.screenarticles h2,.screendiploms h2,.screenreview h2,.screencontact h2{ font-size:28px;}
	.serviceslimit h3,.screenpreimushestva h3,.screeninvite h3,.screenpersonal h3,.screendiploms h3{ font-size:14px;margin-left:10%; margin-right:10%;}
    .reviewlimit div{ font-size: 16px; width:90%; float: none; margin:0 auto 10px auto !important;  }
    .screenreview center,.screenpersonal center,.articleslimit center,.newslimit center,.screendiploms center{ display:block;  margin-top:0px; clear:both;  }
    .diplomslimit div{ padding:5px;}
     .albums{ width:32%;}
    
    .newslist div,.articleslist div{ width:30%;}
    .newslist div:nth-child(1),.newslist div:nth-child(3n+4),
    .articleslist div:nth-child(1),.articleslist div:nth-child(3n+4){ margin-right:1%; margin-left:2%;  }
	.newslist div:nth-child(3n+2),.articleslist div:nth-child(3n+2){ margin-right:1%; margin-left:1%; }
	.newslist  div:nth-child(3n+3),.articleslist  div:nth-child(3n+3){ margin-right:2%; margin-left:1%;}
	.newslimit div .name ,.newslist div .name , .articleslimit div .name, .articleslist div .name{ font-size:18px;  padding: 0 5px 0 5px; margin-top: 5px !important;}
    .first_page, .last_page {
		display: none
	}
	.nav A {
		padding: 6px 10px !important;
        margin:2px;
	}
	.nav input[type=text]{
		width:30px !important;
		height:30px !important;
	}
    .screen1 h2{ font-size: 14px;}
    .nvonp {top: 100px;}
    .con{ padding:0px 20px 0px 20px; box-sizing: border-box;}
}

@media screen and (max-width: 768px) and (max-height: 1024px) and (min-width: 760px){
    .screen1 h3{ font-size:44px;}
    .screen1 h4{ font-size:28px;}
    .phone_top a{ font-size:18px;}
    .phone_top a span{font-size:38px;}
    .logo{ width:200px;height: 50px;}
	.screen1pages{height:100px;  }
    .screen1 h1{ font-size: 24px;}
}

@media screen and (max-width: 768px) and (max-height: 500px){
      .screen1 h1{ font-size: 24px;}
}

@media screen  and  (max-width: 892px) and (max-height: 412px)  and (orientation: landscape) { 
.screen3 .con{ font-size: 14px;     }
    .screen3 h1{ font-size:18px;  }
}

@media screen  and  (max-width: 412px) and (max-height: 892px){ 
.screen3 .con{ font-size: 14px; }
    .screen3 h1{ font-size:18px; }
}

@media screen  and (max-height: 768px){ 
	.screenpages h1, .screen3 h1{font-size: 52px;}
	.screen1 h3{ font-size: 52px;}
	.screen1 h4{ font-size: 18px;}
	.screenpreimushestva h3,.serviceslimit h3,.screendiploms h3,    .screenpreimushestva h3,.screeninvite h3,.screenpersonal h3{ font-size:16px;}
	.cnt img{ max-height:75px; max-width:75px;}
	.screen3 .con{ font-size:18px;}
	.screenpages h1,.screen2personal h2,.screendiploms h2,.screenarticles h2,.screenpersonal h2,.screennews h2,.screenreview h2,.screeninvite h2,.serviceslimit h2, .screencontact h2,.screenpreimushestva h2{ font-size:34px; max-width: 850px; margin: 15px auto 15px auto}
	
	
}

@media screen  and (min-width: 1024px) and (max-height: 768px) and (orientation: landscape){ 
	.screen1 .bgalpha{ padding-top:120px;}
}
@media screen  and (max-width: 892px) and (max-height: 712px) and (orientation: landscape){ 
    .screen1 .bgalpha{ padding:0px;}
    .screen1 h3{ font-size:28px;}
    .screen1 h4{ font-size:14px;}
    .serviceslimit h2{ font-size:28px;}
	.serviceslimit h3{ font-size:14px;}
    .cnt img{ max-width:50px; max-height:50px;}
    .lcell{ height:auto;}
}
@media screen  and  (max-width: 375px) and (max-height: 812px)  and (orientation: landscape){ 
	.screen3 .con{ font-size: 12px;}
}
@media screen  and  (max-width: 812px) and (max-height: 375px){ 
	.screen3 .con{ font-size: 12px;}
}
@media screen  and  (max-width: 360px) and (max-height: 640px)  and (orientation: landscape) { 
	.screen3 .con{ font-size: 10px;}
}
@media screen  and  (max-width: 640px) and (max-height: 360px){ 
	.screen3 .con{ font-size: 10px;}
}
@media screen and (max-width: 480px) {
	 .screen1 h1{box-sizing: border-box; padding:5px;font-size:28px}
	.personallimit div{  overflow: hidden; box-sizing: border-box !important; width:40%; display:block; float:left; margin-bottom:10px; }
	/*.personallimit div:nth-child(odd){margin-right:2% !important; margin-left:8% !important;}
	.personallimit div:nth-child(even){margin-right:8% !important; margin-left:2% !important;}*/
	.personallimit div span{   overflow: hidden; height:50px;}
	.screenpreimushestva .cell{ box-sizing: border-box; padding-right:20px;}
    ._screenpreimushestva .img{display:none} 
    .screenpreimushestva .table h2{ font-size:18px;}
	
	.screenfooter .lrow,.screenfooter .lcell{
		display:block; 
		width:100%; 
		text-align: center !important; 
		height:auto;}
}
@media screen and (max-height: 425px){
	.screen1 .bgalpha{  vertical-align: bottom;}
	.screen1 .mouse{
		bottom:0px;	position:relative;
	}
}
@media screen and (max-width: 425px){
	.videolist{ width:98% !important; margin:1% !important; float:none !important; background: #f2f2f2;}
	.videolist strong{ height:auto !important}
	.cnt img{ max-width:75px; max-height:75px;}
	.screenpages h1, .screen2personal h2, .screendiploms h2, .screenarticles h2, .screenpersonal h2, .screennews h2, .screenreview h2, .screeninvite h2, .serviceslimit h2, .screencontact h2, .screenpreimushestva h2{ font-size:28px !important; }
}
@media screen and (max-height: 768px) {
	.personallimit div{ margin-bottom:10px;}
}
 

@media screen and (max-width: 768px) {
	.personallimit div img{
		max-width:150px;
	}
	.videolist{ width:48%; margin:1%; float:left; background: #f2f2f2;}
	
	.personallimit div span{height: 50px; font-size:14px;}
    .content img{width:100%; height:auto;max-width: fit-content;  }
    .screen3 {
    
    height: auto;
    width: 100%;
}




	
	.screenpages h1,.screen2personal h2,.screendiploms h2,.screenarticles h2,.screenpersonal h2,.screennews h2,.screenreview h2,.screeninvite h2,.serviceslimit h2, .screencontact h2,.screenpreimushestva h2{ font-size:34px; max-width: 850px; margin: 15px auto 15px auto}
	.screenpreimushestva h3, .serviceslimit h3, .screendiploms h3, .screenpreimushestva h3, .screeninvite h3, .screenpersonal h3{ font-size:14px}
	
   .screenpreimushestva  h4{ font-size:18px; }
    .benefitstable{    min-height:auto;     }
    
    
    #zayavka,#guestbook,#comment{ padding:0px 20px;}
    .newslist div .name{ height:auto; margin-bottom:20px;}
    .logo{width:30%;  margin:0px; }  
	
	
	
	.screen1pages{height:auto;min-height:80px;   }
	.screenpages h1{  font-size: 38px;}
    .screen2personal h2{font-size: 24px;}
	.nv{padding-left:20px;padding-right:20px; word-break: break-word;} 
    .nv li:first-child{  white-space: nowrap;} 
	.nv li{ line-height: 30px;  word-break: break-word;} 
    .newslimit div{ width:90%; display:block; float:none;margin:auto auto 20px auto !important;box-sizing: border-box;  }
	.articleslimit{ margin: auto; max-width: 1980px;}
    .articleslimit div{ width:90%; display:block; float:none;margin:0px auto  15px auto !important; box-sizing: border-box; }
    .articleslimit div:nth-child(3),.newslimit div:nth-child(3){ margin:auto !important; } 
	.lang{top:100px; display:none;}  
    .cnt img{ max-width:50px;max-height:50px;  }
    .personallimit div .name{ font-size: 16px;  }
    
    .personallimit div{  font-size:11px; width:47%; }
    .personallimit div:nth-child(1), .personallimit div:nth-child(3n+4){ margin:0px}
    .personallimit div:nth-child(3n+2){margin:0px}
    .personallimit div:nth-child(3n+3){margin:0px}
    
    .personallimit div:nth-child(odd){ margin-right:1%;margin-left:2%; }
    .personallimit div:nth-child(even){ margin-right:2%;margin-left:1%; }
    
    
    .content{ padding:0px 20px;}
    .screen1 h1{box-sizing: border-box; padding:5px;font-size:42px}
    .screen3 h1{ font-size:24px; }
    .screen3 .con{ font-size:14px; max-width:1004px; box-sizing: border-box; padding:0px 30px 0px 30px;}
    .screen1 h3{font-size: clamp(1rem, 7vw, 3rem); }
	.screen1 h4{font-size:14px; }
    .screenpreimushestva img{width:100%; margin: 5px;} 
    .screenpreimushestva .table h2{ font-size:18px;}
	.screenpreimushestva div{ font-size: 11px} 
    .phone_top{ right:10px; top:5px; }
    .phone_top a{font-size: 11px;}
    .phone_top a span{font-size:14px;}
	.phone_top .adress{font-size: 10px;}
    .social-top{ display:none; position: absolute; top:15px; right:5px;font-size:28px; }
    .social-top a{  width:24px;height:24px; display: inline-block; margin-left:15px;      }
    .social-top a svg{ width:24px !important;height:24px !important;  display: inline;  }
	.cnt .h1{ font-size: 11px;}
	.cnt .h2{ font-size: 11px;}
	.screencontact{ height: 90vh;}
	.screencontact h2{ height:10vh; vertical-align: middle}
	.screencontact #map_canvas{ height:80vh;}
    .albums{ width:49%;} 
    .newslist div,.articleslist div{ width:90%; float: none;}
    .newslist div:nth-child(1),.newslist div:nth-child(3n+4),
    .articleslist div:nth-child(1),.articleslist div:nth-child(3n+4){ margin:auto;}
	.newslist div:nth-child(3n+2),.articleslist div:nth-child(3n+2){ margin:auto; }
	.newslist div:nth-child(3n+3),.articleslist  div:nth-child(3n+3){margin:auto;}
    .newslist div{ margin-bottom:20px !important;}
    
    
    .newslist  .name{ height:auto;} 
    .nvonp {top: 90px;}
}




#codeIMG{
	border-style:1px #ccc solid;
    -webkit-border-radius: 0px 16px 16px 0px;
    -moz-border-radius: 0px 16px 16px 0px;
    -ms-border-radius: 0px 16px 16px 0px;
    border-radius: 0px 16px 16px 0px;
	height:55px;
	vertical-align: top;

}


#field_code{


	-webkit-border-radius: 16px 0px 0px 16px !important;
    -moz-border-radius: 16px 0px 0px 16px !important;
    -ms-border-radius: 16px 0px 0px 16px !important;
	border-radius: 16px 0px 0px 16px !important;


}


.alert{
	color:red;

}
/* Doctor profile section navigation */
.personal-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 1120px;
    margin: 24px auto 36px;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #e2e7ef;
    border-radius: 20px;
    background: #f5f7fb;
}
.personal-menu .bookingbtn2 {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 76px;
    margin: 0;
    padding: 14px 16px;
    box-sizing: border-box;
    border: 1px solid #e0e5ee;
    border-radius: 12px;
    background: #fff;
    color: #22294a;
    text-align: left;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(10, 10, 79, .03);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.personal-menu .personal-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef1fa;
    color: #343b79;
}
.personal-menu-icon svg { display: block; width: 24px; height: 24px; }
.personal-menu-label { min-width: 0; overflow-wrap: anywhere; }
.personal-menu .bookingbtn2:hover { background: #edf0f8; border-color: #b6bfdc; }
.personal-menu .bookingbtn2.is-active {
    color: #fff;
    background: #0a0a4f;
    border-color: #0a0a4f;
    box-shadow: 0 5px 14px rgba(10, 10, 79, .16);
}
.personal-menu .is-active .personal-menu-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.personal-menu .bookingbtn2:focus-visible { outline: 3px solid #e24356; outline-offset: 3px; }
.personal-menu:empty { display: none; }
.tabs { scroll-margin-top: 24px; }
@media (max-width: 850px) {
    .personal-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 12px 28px; padding: 14px; }
}
@media (max-width: 520px) {
    .personal-menu { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px; border-radius: 16px; }
    .personal-menu .bookingbtn2 { min-height: 64px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .personal-menu .bookingbtn2 { transition: none; }
}

.student-diplomas-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1120px;margin:24px auto 48px;padding:0 20px;box-sizing:border-box; }
.student-diplomas-gallery figure { margin:0;padding:12px;background:#fff;border:1px solid #e2e7ef;border-radius:14px;min-width:0; }
.student-diplomas-gallery a { display:block;background:#f5f7fb;border-radius:8px;overflow:hidden; }
.student-diplomas-gallery img { display:block;width:100%;height:auto;aspect-ratio:1.414;object-fit:contain;transition:transform .2s; }
.student-diplomas-gallery a:hover img { transform:scale(1.03); }
.student-diplomas-gallery a:focus-visible { outline:3px solid #e24356;outline-offset:3px; }
.student-diplomas-gallery figcaption { padding:12px 4px 4px;font-size:15px;line-height:1.4;color:#22294a; }
@media(max-width:850px){.student-diplomas-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}}
@media(max-width:520px){.student-diplomas-gallery{grid-template-columns:minmax(0,1fr);padding:0 12px;}}

/* Profile document archive, shared by both diploma galleries. */
.certificate-section { background:#f6f7fb; padding:40px 0 56px; width:100%; }
.certificate-header,.certificate-years { max-width:1120px; margin:0 auto; padding:0 24px; box-sizing:border-box; }
.certificate-header { text-align:center; margin-bottom:40px; }
.certificate-eyebrow { display:inline-block; color:#5d6582; text-transform:uppercase; letter-spacing:2px; font-size:12px; margin-bottom:12px; }
.certificate-header h2 { color:#101443; font-size:clamp(25px,3.5vw,42px); line-height:1.2; font-weight:normal; margin:0; }
.certificate-year { margin-bottom:40px; }
.certificate-year:last-child { margin-bottom:0; }
.certificate-year-heading { display:flex; align-items:center; gap:12px; margin:0 0 20px; }
.certificate-year-heading h3 { margin:0; color:#121849; font-size:28px; font-weight:normal; line-height:1.3; }
.certificate-year-heading>span { display:inline-flex; align-items:center; justify-content:center; min-width:30px; height:26px; padding:0 7px; box-sizing:border-box; color:#5b6484; background:#e7eaf4; border-radius:20px; font-size:12px; }
.certificate-year-line { height:1px; flex:1; background:#dce1ed; margin-left:8px; }
.certificate-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.certificate-card { margin:0; padding:12px; border:1px solid #e1e5f0; border-radius:16px; background:#fff; box-shadow:0 3px 14px rgba(16,20,67,.04); min-width:0; transition:box-shadow .2s,border-color .2s; }
.certificate-card>a { display:block; color:#252c4e; text-decoration:none; }
.certificate-preview { position:relative; aspect-ratio:1.414; display:flex; align-items:center; justify-content:center; overflow:hidden; background:#f1f3f8; border-radius:9px; padding:10px; box-sizing:border-box; }
.certificate-preview img { display:block; width:100%; height:100%; object-fit:contain; transition:transform .2s; }
.certificate-enlarge { position:absolute; bottom:10px; right:10px; display:flex; align-items:center; justify-content:center; width:34px; height:34px; background:#fff; color:#191f55; border-radius:50%; box-shadow:0 2px 8px #0002; }
.certificate-enlarge svg { width:20px; height:20px; }
.certificate-card figcaption { font-size:14px; line-height:1.5; padding:14px 5px 4px; overflow-wrap:anywhere; }
.certificate-card:hover { box-shadow:0 9px 24px rgba(16,20,67,.1); border-color:#b8c1dc; }
.certificate-card:hover img { transform:scale(1.025); }
.certificate-card a:focus-visible { outline:3px solid #e24356; outline-offset:4px; border-radius:9px; }
@media(max-width:850px){.certificate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}}
@media(max-width:520px){.certificate-section{padding:28px 0 36px;}.certificate-header,.certificate-years{padding:0 14px;}.certificate-header{margin-bottom:28px;}.certificate-grid{grid-template-columns:minmax(0,1fr);gap:14px;}.certificate-year-heading h3{font-size:24px;}}
@media(prefers-reduced-motion:reduce){.certificate-card,.certificate-preview img{transition:none;}}

/* Scientific publications: presentation only, original editorial HTML retained. */
#listaruclarilor {
    box-sizing:border-box;
    padding:40px 0 56px;
    background:#f5f7fb;
    color:#303953;
}
#listaruclarilor > h2 {
    max-width:900px;
    margin:0 auto 30px;
    padding:0 24px;
    color:#111744;
    font-size:clamp(26px,3.2vw,40px) !important;
    line-height:1.25;
    font-weight:normal;
    text-wrap:balance;
}
#listaruclarilor > .con {
    box-sizing:border-box;
    width:calc(100% - 48px);
    max-width:1020px;
    margin:0 auto;
    padding:36px 44px;
    border:1px solid #e1e6f0;
    border-radius:20px;
    background:#fff;
    box-shadow:0 8px 32px rgba(17,23,68,.045);
    font-size:16px;
    line-height:1.8;
    text-align:left;
    overflow-wrap:anywhere;
}
#listaruclarilor .con > div,
#listaruclarilor .con > p { margin:0; padding:0; line-height:inherit; }
#listaruclarilor .con > div:has(> a) {
    padding:16px 20px;
    border-left:3px solid #d9e0f2;
    border-radius:0 10px 10px 0;
    background:#f7f9fd;
}
#listaruclarilor .con > div:has(> strong:only-child) {
    margin:24px 0 8px;
    padding:0;
    border:0;
    background:transparent;
    color:#141b4b;
    font-size:18px;
    line-height:1.5;
}
#listaruclarilor .con > div:first-child { margin-top:0; }
#listaruclarilor .con h2 {
    margin:36px 0 20px;
    padding:12px 0 12px 18px;
    border-left:4px solid #e24356;
    border-bottom:1px solid #e3e7f0;
    color:#111744;
    font-size:28px !important;
    line-height:1.3;
    font-weight:normal;
    text-align:left;
}
#listaruclarilor .con h3,
#listaruclarilor .con h4 { margin:28px 0 14px; color:#18204d; font-size:21px; line-height:1.4; text-align:left; }
#listaruclarilor .con a {
    color:#334c94;
    text-decoration:underline;
    text-decoration-color:#bdc9e6;
    text-underline-offset:3px;
    text-decoration-thickness:1px;
    overflow-wrap:anywhere;
}
#listaruclarilor .con a:hover { color:#b82e44; text-decoration-color:currentColor; }
#listaruclarilor .con a:focus-visible { outline:2px solid #e24356; outline-offset:3px; border-radius:2px; }
#listaruclarilor .con strong,
#listaruclarilor .con b { color:#20294c; }
#listaruclarilor .con ul,
#listaruclarilor .con ol { padding-left:24px; margin:12px 0 20px; }
#listaruclarilor .con li { padding-left:6px; margin-bottom:12px; }
#listaruclarilor .con li::marker { color:#616fa0; }
#listaruclarilor .con img { max-width:100%; height:auto; }
@media(max-width:650px) {
    #listaruclarilor { padding:28px 0 36px; }
    #listaruclarilor > h2 { margin-bottom:24px; padding:0 18px; }
    #listaruclarilor > .con { width:calc(100% - 24px); padding:24px 20px; border-radius:14px; font-size:15px; line-height:1.75; }
    #listaruclarilor .con > div:has(> a) { padding:12px 14px; }
    #listaruclarilor .con h2 { margin-top:28px; font-size:25px !important; }
}
@media print {
    #listaruclarilor { padding:0; background:#fff; }
    #listaruclarilor > .con { width:100%; max-width:none; padding:0; border:0; box-shadow:none; }
    #listaruclarilor .con > div:has(> a) { background:transparent; }
}

/* One heading style for every section of a doctor's profile. */
#listaruclarilor > h2,
#teze > .con h2:first-of-type,
#conducatorstiintifice > .con h2:first-of-type,
#conducatorstiintificedoctorat > .con h2:first-of-type,
.certificate-header h2 {
    box-sizing:border-box;
    max-width:1120px;
    margin:0 auto 40px;
    padding:0 24px;
    color:#101443;
    font-size:clamp(25px,3.5vw,42px) !important;
    font-weight:normal;
    line-height:1.2;
    text-align:center;
    text-wrap:balance;
}
.certificate-header h2 { margin-bottom:0; padding:0; }
#teze,
#conducatorstiintifice,
#conducatorstiintificedoctorat { box-sizing:border-box; padding:40px 0 56px; }
#teze > .con,
#conducatorstiintifice > .con,
#conducatorstiintificedoctorat > .con { margin-top:0; }
@media(max-width:520px) {
    #listaruclarilor > h2,
    #teze > .con h2:first-of-type,
    #conducatorstiintifice > .con h2:first-of-type,
    #conducatorstiintificedoctorat > .con h2:first-of-type { margin-bottom:28px; padding:0 14px; }
    #teze,#conducatorstiintifice,#conducatorstiintificedoctorat { padding:28px 0 36px; }
}

/* Bachelor thesis supervision: CSS-only list presentation. */
#conducatorstiintifice { background:#f5f7fb; }
#conducatorstiintifice > .con {
    width:calc(100% - 48px);
    max-width:1020px;
    margin:0 auto;
    box-sizing:border-box;
    color:#35405a;
    font-size:16px;
    line-height:1.75;
    overflow-wrap:anywhere;
}
#conducatorstiintifice .con ol {
    margin:0;
    padding:0;
    list-style-position:outside;
}
#conducatorstiintifice .con ol > li {
    position:relative;
    box-sizing:border-box;
    margin:0 0 14px 36px;
    padding:22px 26px;
    border:1px solid #e0e5f0;
    border-radius:14px;
    background:#fff;
    box-shadow:0 3px 12px rgba(16,20,67,.035);
    line-height:1.75;
    text-align:left;
}
#conducatorstiintifice .con ol > li::marker {
    color:#576792;
    font-size:15px;
    font-weight:bold;
    font-variant-numeric:tabular-nums;
}
#conducatorstiintifice .con li > a {
    display:block;
    width:fit-content;
    max-width:100%;
    box-sizing:border-box;
    margin-top:14px;
    padding:10px 14px 10px 38px;
    position:relative;
    border:1px solid #dce3f2;
    border-radius:8px;
    background:#f1f4fa;
    color:#334c94;
    font-size:13px;
    line-height:1.5;
    text-decoration:none;
    overflow-wrap:anywhere;
}
#conducatorstiintifice .con li > a::before {
    content:'';
    position:absolute;
    top:13px;
    left:14px;
    width:11px;
    height:14px;
    border:1.5px solid currentColor;
    border-radius:2px;
    background:linear-gradient(currentColor,currentColor) 2px 5px/6px 1px no-repeat,linear-gradient(currentColor,currentColor) 2px 8px/6px 1px no-repeat;
}
#conducatorstiintifice .con li > a:hover { color:#172554; background:#e8edf8; border-color:#aebcdd; }
#conducatorstiintifice .con li > a:focus-visible { outline:3px solid #e24356; outline-offset:3px; }
#conducatorstiintifice .con li strong,
#conducatorstiintifice .con li b { color:#19234a; }
@media(max-width:650px) {
    #conducatorstiintifice > .con { width:calc(100% - 28px); font-size:15px; }
    #conducatorstiintifice .con ol > li { margin-left:28px; padding:17px 16px; border-radius:12px; }
    #conducatorstiintifice .con li > a { font-size:12px; padding-right:10px; }
}
@media print {
    #conducatorstiintifice { background:#fff; }
    #conducatorstiintifice .con ol > li { box-shadow:none; break-inside:avoid; }
}

/* Dissertation documents: same profile palette and heading, CSS only. */
#teze { background:#f5f7fb; }
#teze > .con {
    box-sizing:border-box;
    width:calc(100% - 48px);
    max-width:1020px;
    margin:0 auto;
    color:#35405a;
    font-size:16px;
    line-height:1.7;
    overflow-wrap:anywhere;
}
#teze .con > div:has(> a) {
    margin:0 0 18px;
    padding:0;
    border:1px solid #e0e5f0;
    border-radius:16px;
    background:#fff;
    box-shadow:0 3px 14px rgba(16,20,67,.04);
    overflow:hidden;
}
#teze .con > div > a {
    position:relative;
    display:block;
    min-height:104px;
    box-sizing:border-box;
    padding:26px 64px 26px 90px;
    color:#263967;
    font-size:17px;
    line-height:1.65;
    text-align:left;
    text-decoration:none;
    overflow-wrap:anywhere;
    transition:background .18s ease,color .18s ease;
}
#teze .con > div > a::before {
    content:'';
    position:absolute;
    left:28px;
    top:28px;
    width:36px;
    height:46px;
    box-sizing:border-box;
    border:2px solid #6b7ba7;
    border-radius:5px;
    background:linear-gradient(#6b7ba7,#6b7ba7) 7px 14px/18px 2px no-repeat,linear-gradient(#6b7ba7,#6b7ba7) 7px 21px/18px 2px no-repeat,linear-gradient(#6b7ba7,#6b7ba7) 7px 28px/12px 2px no-repeat;
}
#teze .con > div > a::after {
    content:'↗';
    position:absolute;
    right:26px;
    top:32px;
    color:#6576a5;
    font-size:26px;
    line-height:1;
}
#teze .con > div > a:hover { background:#edf1fa; color:#111744; }
#teze .con > div > a:focus-visible { outline:3px solid #e24356; outline-offset:-4px; border-radius:15px; }
@media(max-width:650px) {
    #teze > .con { width:calc(100% - 28px); }
    #teze .con > div:has(> a) { margin-bottom:14px; border-radius:12px; }
    #teze .con > div > a { padding:20px 36px 20px 64px; min-height:96px; font-size:15px; }
    #teze .con > div > a::before { left:18px; top:24px; width:28px; height:37px; background-size:14px 2px,14px 2px,9px 2px; background-position:5px 10px,5px 17px,5px 24px; }
    #teze .con > div > a::after { right:14px; top:25px; font-size:20px; }
}
@media(prefers-reduced-motion:reduce){#teze .con > div > a{transition:none;}}
@media print{#teze{background:#fff;}#teze .con > div:has(> a){box-shadow:none;break-inside:avoid;}}

/* Normalized database entries no longer rely on empty spacer paragraphs. */
#listaruclarilor .con > .publication-entry {
    margin:0 0 14px;
    padding:16px 20px;
    border-left:3px solid #d9e0f2;
    border-radius:0 10px 10px 0;
    background:#f7f9fd;
}
#listaruclarilor .publication-entry > a { overflow-wrap:anywhere; }
@media(max-width:650px){#listaruclarilor .con > .publication-entry{padding:12px 14px;}}

/* Doctor name and qualifications in the profile hero. */
.personal-hero h1 {
    position:relative;
    max-width:1050px;
    padding:0 20px 24px;
    margin:100px auto 24px;
    font-size:clamp(34px,5.5vw,72px);
    line-height:1.12;
    font-weight:600;
    letter-spacing:-1px;
    text-wrap:balance;
    text-shadow:0 2px 18px rgba(0,0,0,.4);
}
.personal-hero h1::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    width:64px;
    height:3px;
    border-radius:3px;
    background:#e24356;
    transform:translateX(-50%);
}
.personal-hero h2 {
    box-sizing:border-box;
    width:calc(100% - 32px);
    max-width:850px;
    margin:0 auto 26px;
    padding:22px 30px;
    border:0;
    border-radius:16px;
    background:transparent;
    color:#fff;
    font-size:clamp(16px,1.65vw,21px);
    font-weight:normal;
    line-height:1.75;
    text-wrap:balance;
    text-shadow:0 1px 3px rgba(0,0,0,.25);
}
@media(max-width:650px) {
    .personal-hero h1 { margin-top:110px; margin-bottom:20px; padding-bottom:20px; letter-spacing:-.5px; }
    .personal-hero h2 { padding:18px 16px; border-radius:12px; line-height:1.65; }
}

/* Appointment action. */
.bookingbtn {
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    width:fit-content;
    max-width:calc(100% - 40px);
    min-height:56px;
    margin:32px auto 16px;
    padding:16px 26px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:14px;
    background:linear-gradient(135deg,#e24356,#c92e47);
    color:#fff;
    font-size:17px;
    font-weight:600;
    line-height:1.4;
    text-decoration:none;
    box-shadow:0 7px 20px rgba(201,46,71,.22);
    transition:transform .2s,box-shadow .2s,background .2s;
}
.bookingbtn::after {
    content:'';
    width:20px;
    height:20px;
    flex-shrink:0;
    background:currentColor;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.bookingbtn:hover { background:linear-gradient(135deg,#d9364c,#b9243d); color:#fff; transform:translateY(-2px); box-shadow:0 10px 25px rgba(201,46,71,.3); }
.bookingbtn:active { transform:translateY(0); box-shadow:0 3px 10px rgba(201,46,71,.2); }
.bookingbtn:focus-visible { outline:3px solid #293e79; outline-offset:4px; }
@media(max-width:650px){.bookingbtn{font-size:16px;padding:15px 22px;min-height:52px;}}
@media(prefers-reduced-motion:reduce){.bookingbtn{transition:none;}.bookingbtn:hover{transform:none;}}

/* Appointment form. */
#zayavka.appointment-form { box-sizing:border-box; max-width:850px; margin:36px auto 60px; padding:36px; border:1px solid #e0e5ef; border-radius:22px; background:#fff; box-shadow:0 12px 45px rgba(23,31,78,.08); text-align:left; }
.appointment-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.appointment-wide { grid-column:1/-1; min-width:0; }
.appointment-field { min-width:0; }
.appointment-field label { display:block; margin:0 0 9px; color:#171f4e; font-size:15px; font-weight:600; line-height:1.5; }
.appointment-field label span { color:#cf334c; }
#zayavka.appointment-form .input { width:100%; min-height:54px; padding:14px 16px; border:1px solid #dce2ec; border-radius:12px; background:#f8f9fc; color:#202b46; font-size:16px; line-height:1.5; transition:border-color .2s,box-shadow .2s,background .2s; }
#zayavka.appointment-form .input::placeholder { color:#9099ab; opacity:1; }
#zayavka.appointment-form .input:focus { background:#fff; border-color:#667db2; box-shadow:0 0 0 4px rgba(80,108,170,.12); outline:none; }
#zayavka.appointment-form textarea { min-height:140px; resize:vertical; }
.appointment-verification { padding:22px; border:1px solid #e4e8f0; border-radius:14px; background:#f8f9fc; }
#zayavka .appointment-hint { margin:0 0 12px; color:#727d91; font-size:13px; line-height:1.5; }
.appointment-code { display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
#zayavka .appointment-code .input { width:140px; background:#fff; letter-spacing:4px; }
.appointment-code a { display:flex; padding:5px; border-radius:8px; background:#fff; border:1px solid #dce2ec; }
.appointment-code img { display:block; max-width:100%; }
#zayavka .alert { position:static; margin-top:8px; color:#bb2942; font-size:13px; line-height:1.5; }
.appointment-footer { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:26px; padding-top:24px; border-top:1px solid #e9edf4; }
#zayavka .appointment-footer .anons { margin:0; color:#737e90; font-size:13px; line-height:1.5; }
#zayavka .appointment-footer .bookingbtn { margin:0; min-width:160px; max-width:100%; cursor:pointer; font-family:inherit; }
@media(max-width:650px){#zayavka.appointment-form{width:calc(100% - 28px);margin:22px auto 36px;padding:22px 18px;border-radius:16px;}.appointment-grid{grid-template-columns:minmax(0,1fr);gap:20px;}.appointment-footer{align-items:stretch;flex-direction:column;gap:18px;}.appointment-verification{padding:18px;}#zayavka .appointment-footer .bookingbtn{width:100%;}}
@media(prefers-reduced-motion:reduce){#zayavka.appointment-form .input{transition:none;}}

/* News directory. */
.news-directory { padding:36px 24px 60px; background:#f5f7fb; }
.news-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; max-width:1240px; margin:auto; }
.news-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #e0e5ef; border-radius:18px; background:#fff; box-shadow:0 4px 18px rgba(23,31,78,.04); transition:box-shadow .2s,border-color .2s; }
.news-card-photo { position:static; flex:0 0 280px; width:100%; height:280px; min-height:280px; aspect-ratio:auto; overflow:hidden; background:#edf0f6; border-bottom:1px solid #e0e5ef; }
.news-card-photo .pic { position:static; display:block; float:none; width:100%; height:280px; margin:0; padding:0; }
.news-card-photo .pic img { position:static; display:block; float:none; width:100%; height:280px; max-width:100%; max-height:none; margin:0; padding:0; opacity:1; visibility:visible; object-fit:contain; }
.news-card:hover { border-color:#bbc7de; box-shadow:0 12px 30px rgba(23,31,78,.1); }
.news-card:hover img { transform:none; }
.news-card-content { display:flex; flex-direction:column; flex:1; gap:16px; padding:24px; }
.news-card-date { align-self:flex-start; padding:5px 10px; border-radius:7px; background:#f0f3f9; color:#69768f; font-size:12px; line-height:1.5; }
.news-card-content h2 { margin:0 0 8px; padding:0; font-size:22px; font-weight:600; line-height:1.4; text-align:left; overflow-wrap:anywhere; }
.news-card-content h2 a { color:#171f4e; text-decoration:none; }
.news-card-content h2 a:hover { color:#c92e47; }
.news-card-link { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:auto; padding-top:16px; border-top:1px solid #e9edf4; color:#3c508c; font-size:14px; font-weight:600; text-decoration:none; }
.news-card-link svg { width:20px; height:20px; flex-shrink:0; }
.news-card-link:hover { color:#c92e47; }
.news-card a:focus-visible { outline:3px solid #e24356; outline-offset:-3px; border-radius:4px; }
@media(max-width:1000px){.news-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}}
@media(max-width:600px){.news-directory{padding:24px 16px 36px;}.news-card-grid{grid-template-columns:minmax(0,1fr);gap:22px;max-width:440px;}.news-card-content{padding:22px;}.news-card-content h2{font-size:21px;}}
@media(prefers-reduced-motion:reduce){.news-card,.news-card-photo img{transition:none;}.news-card:hover img{transform:none;}}

/* Staff directory. */
.team-directory { padding:36px 24px 64px; background:#f5f7fb; }
.team-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:stretch; gap:24px; max-width:1280px; margin:0 auto; }
.team-card { display:flex; flex-direction:column; min-width:0; margin:0; border:1px solid #e0e5ef; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 4px 18px rgba(16,20,67,.04); transition:box-shadow .2s,border-color .2s; }
.team-photo { aspect-ratio:4 / 4.6; overflow:hidden; background:#e9edf4; }
.team-photo>a { display:block; height:100%; }
.team-photo .imagePersonal { display:block; width:100%; height:100%; max-width:none; margin:0; border-radius:0; object-fit:cover; object-position:center top; box-shadow:none; transition:transform .3s; }
.team-card:hover { border-color:#bcc7df; box-shadow:0 10px 28px rgba(16,20,67,.1); }
.team-card:hover .imagePersonal { transform:scale(1.025); }
.team-card-content { display:flex; flex-direction:column; flex:1; gap:12px; padding:22px; text-align:left; }
.team-card-content h3 { margin:0; font-size:21px; line-height:1.3; font-weight:600; overflow-wrap:anywhere; }
.team-card-content h3>a { color:#171f4e; text-decoration:none; }
.team-card-content h3>a:hover { color:#b82e44; }
.team-role { display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; color:#646e84; font-size:14px; line-height:1.6; margin-bottom:6px; }
.team-role p { margin:0; font-size:inherit; line-height:inherit; }
.team-card .team-profile-link { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding:13px 0 0; border-top:1px solid #e9ecf3; color:#3c508c; font-size:14px; font-weight:600; text-decoration:none; }
.team-profile-link svg { width:20px; height:20px; flex-shrink:0; }
.team-card .team-profile-link:hover { color:#b82e44; }
.team-card a:focus-visible { outline:3px solid #e24356; outline-offset:-3px; border-radius:4px; }
@media(max-width:1100px){.team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}}
@media(max-width:780px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}.team-directory{padding:24px 18px 40px;}.team-card-content{padding:18px;}.team-card-content h3{font-size:19px;}}
@media(max-width:440px){.team-grid{grid-template-columns:minmax(0,1fr);max-width:360px;}.team-photo{aspect-ratio:4/4.2;}.team-card-content{padding:22px;}.team-card-content h3{font-size:22px;}}
@media(prefers-reduced-motion:reduce){.team-card,.team-photo .imagePersonal{transition:none;}}

/* Homepage: shared presentation for news and staff previews. */
.screennews:has(> .newslimit),
.screenpersonal:has(> .personallimit) {
    box-sizing:border-box;
    display:block;
    height:auto;
    padding:64px 24px;
    background:#f5f7fb;
    text-align:center;
}
.screennews:has(> .newslimit) > h2,
.screenpersonal:has(> .personallimit) > h2 {
    max-width:1240px;
    margin:0 auto 32px;
    color:#171f4e;
    font-size:clamp(30px,3.5vw,46px);
    font-weight:600;
    line-height:1.2;
    letter-spacing:-.6px;
}
.screenpersonal:has(> .personallimit) > h3 {
    max-width:850px;
    margin:-12px auto 36px;
    color:#646e84;
    font-size:18px;
    font-weight:400;
    line-height:1.7;
}
.screennews .newslimit,
.screenpersonal .personallimit {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:stretch;
    gap:24px;
    width:100%;
    max-width:1240px;
    margin:0 auto;
}
.screennews .newslimit > div,
.screenpersonal .personallimit > div {
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    float:none;
    width:auto;
    min-width:0;
    margin:0 !important; /* Override the legacy mobile nth-child margins. */
    overflow:hidden;
    border:1px solid #e0e5ef;
    border-radius:18px;
    background:#fff;
    box-shadow:0 4px 18px rgba(23,31,78,.04);
    text-align:left;
    transition:border-color .2s,box-shadow .2s;
}
.screennews .newslimit > div:hover,
.screenpersonal .personallimit > div:hover {
    border-color:#bbc7de;
    box-shadow:0 12px 30px rgba(23,31,78,.1);
}
.screennews .newslimit > div > .pic,
.screenpersonal .personallimit > div > a:first-child {
    display:block;
    flex-shrink:0;
    width:100%;
    margin:0;
    overflow:hidden;
    background:#edf0f6;
    border-bottom:1px solid #e0e5ef;
}
.screennews .newslimit > div img,
.screenpersonal .personallimit > div img {
    box-sizing:border-box;
    display:block;
    width:100%;
    max-width:100%;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    box-shadow:none;
    opacity:1;
    visibility:visible;
    transform:none;
}
.screennews .newslimit > div img {
    height:260px !important; /* The old resize handler sets an inline height. */
    object-fit:contain;
}
.screenpersonal .personallimit > div img {
    height:320px;
    object-fit:cover;
    object-position:center top;
}
.screennews .newslimit > div > .name,
.screenpersonal .personallimit > div > span > .name {
    position:relative;
    display:block;
    box-sizing:border-box;
    height:auto;
    min-height:108px;
    margin:0 !important;
    padding:24px 52px 24px 24px;
    overflow:visible;
    color:#171f4e;
    font-size:21px;
    font-weight:600;
    line-height:1.45;
    text-decoration:none;
    overflow-wrap:anywhere;
}
.screennews .newslimit > div > .name::after,
.screenpersonal .personallimit > div > span > .name::after {
    content:'↗';
    position:absolute;
    top:24px;
    right:22px;
    color:#e24356;
    font-size:24px;
    font-weight:400;
}
.screennews .newslimit > div > .name:hover,
.screenpersonal .personallimit > div > span > .name:hover { color:#b82e44; }
.screenpersonal .personallimit > div > span {
    display:block;
    height:auto;
    overflow:visible;
}
.screenpersonal .personallimit > div > br,
.screennews .newslimit > br,
.screenpersonal .personallimit > br { display:none; }
.screennews .newslimit > center,
.screenpersonal .personallimit > center {
    grid-column:1/-1;
    margin:12px 0 0;
    clear:none;
}
.screennews .newslimit .btnblue,
.screenpersonal .personallimit .btnblue {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    box-sizing:border-box;
    min-height:52px;
    max-width:100%;
    margin:0;
    padding:14px 24px;
    border:1px solid #ccd4e5;
    border-radius:12px;
    background:#fff;
    color:#263967;
    font-size:16px;
    font-weight:600;
    line-height:1.4;
    text-decoration:none;
    box-shadow:none;
    transition:background .2s,border-color .2s;
}
.screennews .newslimit .btnblue::after,
.screenpersonal .personallimit .btnblue::after { content:'→'; font-size:21px; }
.screennews .newslimit .btnblue:hover,
.screenpersonal .personallimit .btnblue:hover { background:#edf1fa; border-color:#8798bd; }
.screennews .newslimit a:focus-visible,
.screenpersonal .personallimit a:focus-visible { outline:3px solid #e24356; outline-offset:-3px; }
@media(max-width:1000px) {
    .screennews .newslimit,.screenpersonal .personallimit { gap:18px; }
    .screennews .newslimit > div > .name,
    .screenpersonal .personallimit > div > span > .name { font-size:18px; padding:20px 42px 20px 20px; }
    .screennews .newslimit > div > .name::after,
    .screenpersonal .personallimit > div > span > .name::after { top:20px; right:16px; }
    .screennews .newslimit > div img { height:220px !important; }
    .screenpersonal .personallimit > div img { height:260px; }
}
@media(max-width:760px) {
    .screennews:has(> .newslimit),.screenpersonal:has(> .personallimit) { padding:40px 18px; }
    .screennews .newslimit,.screenpersonal .personallimit { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .screennews .newslimit > div:last-of-type { grid-column:1/-1; width:calc(50% - 9px); justify-self:center; }
    .screenpersonal:has(> .personallimit) > h3 { font-size:16px; margin:0 auto 28px; }
}
@media(max-width:500px) {
    .screennews .newslimit,.screenpersonal .personallimit { grid-template-columns:minmax(0,1fr); max-width:420px; gap:20px; }
    .screennews .newslimit > div:last-of-type { width:100%; }
    .screennews .newslimit > div img { height:240px !important; }
    .screenpersonal .personallimit > div img { height:320px; }
    .screennews .newslimit > div > .name,
    .screenpersonal .personallimit > div > span > .name { min-height:0; font-size:20px; padding:22px 48px 22px 22px; }
}
@media(prefers-reduced-motion:reduce) {
    .screennews .newslimit > div,.screenpersonal .personallimit > div,
    .screennews .newslimit .btnblue,.screenpersonal .personallimit .btnblue { transition:none; }
}

/* One heading style for every section on the homepage. */
.screen.homepage h2 {
    box-sizing:border-box;
    width:100%;
    max-width:1240px;
    height:auto;
    margin:40px auto 32px;
    padding:0 20px;
    border:0;
    border-radius:0;
    background:transparent;
    color:#171f4e;
    font-family:inherit;
    font-size:clamp(30px,3.5vw,46px) !important; /* Supersedes legacy mobile !important sizes. */
    font-weight:600;
    line-height:1.2;
    letter-spacing:-.6px;
    text-align:center;
    text-transform:none;
    text-shadow:none;
    text-wrap:balance;
    animation:none;
}
@media(max-width:600px) {
    .screen.homepage h2 { margin:32px auto 24px; padding:0 16px; letter-spacing:-.3px; }
}

/* Homepage refresh. Scoped here to preserve internal page layouts. */
.screen.homepage { --home-ink:#171f4e; --home-muted:#646e84; --home-line:#e0e5ef; color:var(--home-ink); }
.homepage *, .homepage *::before, .homepage *::after { animation:none !important; }
.homepage > :is(.screennews,.screenpersonal,.serviceslimit,.screen3,.screeninvite,.screenpreimushestva,.screenarticles,.screendiploms,.screenreview,.screencontact) {
    box-sizing:border-box; display:block; width:100%; height:auto; min-height:0; padding:64px 24px;
}
.homepage > :is(.serviceslimit,.screen3,.screenpreimushestva,.screendiploms,.screencontact) { background:#fff; }
.homepage > :is(.screennews,.screenpersonal,.screeninvite,.screenarticles,.screenreview) { background:#f5f7fb; }
.screen.homepage h2 { margin:0 auto 32px; }
.homepage :is(.serviceslimit,.screeninvite,.screenpreimushestva,.screenarticles,.screendiploms,.screenpersonal,.screenreview) h3 {
    max-width:850px; margin:0 auto 36px; color:var(--home-muted); font-size:18px; font-weight:400; line-height:1.75; text-align:center;
}
.homepage :is(.serviceslimit,.screeninvite,.screendiploms) h3 br { display:none; }
.homepage .screen1 { display:table; height:auto; min-height:720px; min-height: min(850px,100svh); width:100%; }
.homepage .screen1 .bg { height:100%; }
.homepage .screen1 .bgalpha { padding:180px 24px 80px; background:linear-gradient(135deg,rgba(11,20,49,.72),rgba(11,20,49,.3)); }
.homepage .screen1 h3 { max-width:1050px; margin:52px auto 24px; color:#fff; font-size:clamp(34px,4.8vw,64px); font-weight:600; line-height:1.2; letter-spacing:-1px; text-wrap:balance; text-shadow:0 2px 18px rgba(0,0,0,.25); }
.homepage .screen1 h4 { max-width:740px; margin:0 auto 32px; color:#fff; font-size:clamp(18px,2vw,24px); font-weight:400; line-height:1.65; text-wrap:balance; }
.homepage .screen1 .bookingbtn { margin:0 auto; }
.homepage .screen1 .mouse { display:none; }
.homepage .screen3 h1 { max-width:950px; margin:0 auto 28px; color:var(--home-ink); font-size:clamp(30px,3.8vw,48px); line-height:1.25; font-weight:600; text-wrap:balance; }
.homepage .screen3 .con { box-sizing:border-box; max-width:900px; padding:0; font-size:18px; line-height:1.85; color:var(--home-muted); text-align:left; }
.homepage .screen3 .con strong { white-space:normal; color:var(--home-ink); }
.homepage .screen3 .con p { margin:0 0 20px; }
:is(.homepage,.services-directory) .serviceslimit > .servicesrow { display:block; }
:is(.homepage,.services-directory) .serviceslimit .servicescell { display:block; height:auto; }
:is(.homepage,.services-directory) .serviceslimit .table { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; max-width:1240px; height:auto; }
:is(.homepage,.services-directory) .serviceslimit .table > .servicesrow { display:contents; }
:is(.homepage,.services-directory) .serviceslimit .table .item { box-sizing:border-box; display:block; width:auto; padding:28px 20px; border:1px solid var(--home-line); border-radius:18px; background:#fff; box-shadow:0 4px 18px rgba(23,31,78,.04); transition:border-color .2s,box-shadow .2s; }
:is(.homepage,.services-directory) .serviceslimit .item:hover { border-color:#bbc7de; box-shadow:0 12px 30px rgba(23,31,78,.1); }
:is(.homepage,.services-directory) .serviceslimit :is(.ltable,.lrow,.lcell) { display:block; height:auto; }
:is(.homepage,.services-directory) .serviceslimit .cnt img { width:88px; height:88px; max-height:none; margin:0 auto 20px; padding:12px; border-radius:18px; background:#f0f3f9; object-fit:contain; transform:none; opacity:1; }
:is(.homepage,.services-directory) .serviceslimit .cnt .h1 { display:block; color:var(--home-ink); font-size:21px; line-height:1.4; font-weight:600; }
:is(.homepage,.services-directory) .serviceslimit .cnt .h1:hover { color:#c92e47; }
:is(.homepage,.services-directory) .serviceslimit .cnt .h2 { color:var(--home-muted); line-height:1.65; }
.homepage .screenpreimushestva .table { max-width:1100px; margin:0 auto 24px; border:1px solid var(--home-line); border-radius:18px; background:#f8faff; overflow:hidden; }
.homepage .screenpreimushestva .cell { padding:28px; color:var(--home-muted); font-size:17px; line-height:1.75; }
.homepage .screenpreimushestva h4 { color:var(--home-ink); font-size:26px; line-height:1.35; }
.homepage .screenpreimushestva img { width:100%; max-width:200px; max-height:200px; object-fit:contain; }
.homepage .home-videos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.homepage .home-videos > h2 { grid-column:1/-1; margin-bottom:8px; }
.homepage .home-videos .videolist { box-sizing:border-box; float:none; width:100%; min-width:0; max-width:400px; margin:0 auto; padding:0 0 22px; border:1px solid var(--home-line); border-radius:18px; background:#fff; overflow:hidden; }
.homepage .home-videos iframe { display:block; width:100%; height:auto !important; aspect-ratio:16/9; border:0; background:#10152e; }
.homepage .home-videos .videolist span { display:block; padding:16px 20px 8px; color:var(--home-muted); font-size:12px; }
.homepage .home-videos .videolist strong { display:block; padding:0 20px; color:var(--home-ink); font-size:17px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
.homepage .diplomslimit { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; max-width:1240px; margin:auto; }
.homepage .diplomslimit > div { display:block; width:auto; padding:16px; border:1px solid var(--home-line); border-radius:18px; background:#f8faff; }
.homepage .diplomslimit > div > a { display:block; }
.homepage .diplomslimit img { display:block; width:100%; height:280px; max-height:none; object-fit:contain; }
.homepage .diplomslimit > br { display:none; }
.homepage .diplomslimit > center { grid-column:1/-1; margin:12px 0 0; }
.homepage .home-contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; max-width:1000px; margin:0 auto 32px; }
.homepage .home-contact-card { box-sizing:border-box; min-width:0; padding:28px; border:1px solid var(--home-line); border-radius:18px; background:#f5f7fb; color:var(--home-muted); font-size:17px; line-height:1.9; }
.homepage .home-contact-card p { margin:0; }
.homepage .home-contact-card a { color:var(--home-ink); text-underline-offset:4px; }
.homepage .home-contact-card a[href^="tel:"] { font-size:21px; font-weight:600; text-decoration:none; }
.homepage .screencontact #map_canvas { max-width:1240px; width:100%; height:420px; min-height:0; margin:auto; border-radius:18px; overflow:hidden; background:#eef1f7; }
.homepage .btnblue { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; max-width:100%; min-height:52px; margin:0; padding:14px 24px; border:1px solid #ccd4e5; border-radius:12px; background:#fff; color:#263967; font-size:16px; line-height:1.4; font-weight:600; text-decoration:none; box-shadow:none; transition:background .2s,border-color .2s; }
.homepage .btnblue:hover { background:#edf1fa; border-color:#8798bd; }
.homepage a:focus-visible { outline:3px solid #e24356; outline-offset:3px; }
@media(max-width:850px) {
    :is(.homepage,.services-directory) .serviceslimit .table,.homepage .diplomslimit { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
    .homepage .home-videos { grid-template-columns:minmax(0,1fr); }
    .homepage .home-videos .videolist { max-width:600px; }
}
@media(max-width:600px) {
    .homepage > :is(.screennews,.screenpersonal,.serviceslimit,.screen3,.screeninvite,.screenpreimushestva,.screenarticles,.screendiploms,.screenreview,.screencontact) { padding:40px 18px; }
    .screen.homepage h2 { margin:0 auto 24px; padding:0; }
    .homepage .screen1 { min-height:680px; }
    .homepage .screen1 .bgalpha { padding:170px 20px 52px; }
    .homepage .screen1 h3 { margin-top:36px; letter-spacing:-.5px; }
    .homepage :is(.serviceslimit,.screeninvite,.screenpreimushestva,.screenarticles,.screendiploms,.screenpersonal,.screenreview) h3 { font-size:16px; margin-bottom:28px; }
    .homepage .screen3 .con { font-size:16px; line-height:1.8; }
    :is(.homepage,.services-directory) .serviceslimit .table { gap:12px; }
    :is(.homepage,.services-directory) .serviceslimit .table .item { padding:22px 12px; border-radius:14px; }
    :is(.homepage,.services-directory) .serviceslimit .cnt img { width:72px; height:72px; padding:10px; margin-bottom:14px; }
    :is(.homepage,.services-directory) .serviceslimit .cnt .h1 { font-size:17px; overflow-wrap:anywhere; }
    .homepage .screenpreimushestva :is(.table,.row,.cell) { display:block; width:100%; }
    .homepage .screenpreimushestva .cell { padding:20px; font-size:16px; }
    .homepage .screenpreimushestva .cell:first-child { width:100%; padding-bottom:0; }
    .homepage .screenpreimushestva img { max-height:140px; }
    .homepage .screenpreimushestva h4 { font-size:23px; }
    .homepage .diplomslimit,.homepage .home-contact-grid { grid-template-columns:minmax(0,1fr); }
    .homepage .diplomslimit img { height:300px; }
    .homepage .home-contact-card { padding:22px; font-size:16px; }
    .homepage .screencontact #map_canvas { height:340px; }
}
@media(prefers-reduced-motion:reduce) {
    :is(.homepage,.services-directory) .serviceslimit .item,.homepage .btnblue { transition:none; }
}
:is(.homepage .articleslimit,.screenarticles.wh .articleslist) { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; max-width:1240px; margin:auto; }
:is(.homepage .articleslimit,.screenarticles.wh .articleslist) > div { box-sizing:border-box; float:none; width:auto; min-width:0; margin:0 !important; overflow:hidden; border:1px solid var(--home-line); border-radius:18px; background:#fff; }
:is(.homepage .articleslimit,.screenarticles.wh .articleslist) > div img { display:block; width:100%; height:260px !important; margin:0; border:0; border-radius:0; object-fit:cover; background:#edf0f6; }
:is(.homepage .articleslimit,.screenarticles.wh .articleslist) > div .name { display:block; height:auto; margin:0 !important; padding:24px; color:var(--home-ink); font-size:21px; line-height:1.45; font-weight:600; text-decoration:none; }
:is(.homepage .articleslimit,.screenarticles.wh .articleslist) > br { display:none; }
:is(.homepage .articleslimit,.screenarticles.wh .articleslist) > center { grid-column:1/-1; margin:12px 0 0; }
@media(max-width:760px) { :is(.homepage .articleslimit,.screenarticles.wh .articleslist) { grid-template-columns:minmax(0,1fr); max-width:520px; } }

/* Fill the homepage news image area. */
.screen.homepage .screennews .newslimit > div img {
    object-fit:cover;
    object-position:center;
}

/* Benefits: three clear stages of treatment. */
.homepage .home-benefits-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; max-width:1240px; margin:0 auto; counter-reset:benefit; }
.homepage .home-benefit-card { min-width:0; overflow:hidden; border:1px solid #e0e5ef; border-radius:18px; background:#fff; box-shadow:0 4px 18px rgba(23,31,78,.04); counter-increment:benefit; }
.homepage .home-benefit-image { display:flex; align-items:center; justify-content:center; height:220px; padding:24px; box-sizing:border-box; background:#f5f7fb; border-bottom:1px solid #e0e5ef; }
.homepage .home-benefit-image img { display:block; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; }
.homepage .home-benefit-copy { padding:28px; text-align:left; }
.homepage .home-benefit-copy h4 { margin:0 0 20px; color:#171f4e; font-size:24px; line-height:1.35; font-weight:600; }
.homepage .home-benefit-copy h4::before { content:counter(benefit,decimal-leading-zero); display:block; margin-bottom:12px; color:#d9364c; font-size:15px; line-height:1.2; font-weight:600; letter-spacing:1.5px; }
.homepage .home-benefit-copy ul { list-style:none; margin:0; padding:0; color:#646e84; font-size:16px; line-height:1.75; }
.homepage .home-benefit-copy li { position:relative; margin:0 0 12px; padding-left:18px; }
.homepage .home-benefit-copy li:last-child { margin-bottom:0; }
.homepage .home-benefit-copy li::before { content:''; position:absolute; left:0; top:.75em; width:5px; height:5px; border-radius:50%; background:#d9364c; }
@media(max-width:1000px) { .homepage .home-benefits-grid { gap:18px; }.homepage .home-benefit-copy { padding:22px; }.homepage .home-benefit-copy h4 { font-size:21px; } }
@media(max-width:760px) { .homepage .home-benefits-grid { grid-template-columns:minmax(0,1fr); max-width:540px; gap:22px; }.homepage .home-benefit-image { height:200px; }.homepage .home-benefit-copy { padding:26px; }.homepage .home-benefit-copy h4 { font-size:24px; } }

/* Fill the homepage article image area. */
.screen:is(.homepage .articleslimit,.screenarticles.wh .articleslist) > div img {
    object-fit:cover;
    object-position:center;
}

/* Shared clinic name above both contact addresses. */
.homepage .screencontact .home-contact-heading {
    max-width:1000px;
    margin:-12px auto 32px;
    color:#646e84;
    font-size:22px;
    font-weight:400;
    line-height:1.5;
    text-align:center;
    text-wrap:balance;
}
.homepage .home-contact-heading strong { color:#171f4e; font-weight:600; }
@media(max-width:600px) { .homepage .screencontact .home-contact-heading { margin:-8px auto 24px; font-size:19px; } }

/* Separate the staff section from the articles above it. */
.screen.homepage > .screenpersonal {
    background:#fff;
}

/* The services directory shares the homepage service cards. */
.services-directory { --home-ink:#171f4e; --home-muted:#646e84; --home-line:#e0e5ef; }
.services-directory .serviceslimit { display:block; box-sizing:border-box; height:auto; min-height:0; width:100%; padding:40px 24px 64px; background:#fff; }
:is(.homepage,.services-directory) .serviceslimit .table .servicesrow .item:nth-child(n) { background:#fff; }
.services-directory .serviceslimit a:focus-visible { outline:3px solid #e24356; outline-offset:3px; }
@media(max-width:600px) { .services-directory .serviceslimit { padding:24px 18px 40px; } }
@media(prefers-reduced-motion:reduce) { .services-directory .serviceslimit .item { transition:none; } }

/* Articles directory uses the homepage article cards. */
.screenarticles.wh:has(> .articleslist) { --home-ink:#171f4e; box-sizing:border-box; display:block; width:100%; height:auto; min-height:0; padding:36px 24px 64px; background:#f5f7fb; }
.screenarticles.wh .articleslist > div { display:flex; flex-direction:column; box-shadow:0 4px 18px rgba(23,31,78,.04); transition:border-color .2s,box-shadow .2s; }
.screenarticles.wh .articleslist > div:hover { border-color:#bbc7de; box-shadow:0 12px 30px rgba(23,31,78,.1); }
.screenarticles.wh .articleslist > div > .pic { display:block; width:100%; overflow:hidden; }
.screenarticles.wh .articleslist > div .name { overflow:visible; overflow-wrap:anywhere; }
.screenarticles.wh .articleslist > div .name:hover { color:#c92e47; }
.screenarticles.wh .articleslist a:focus-visible { outline:3px solid #e24356; outline-offset:-3px; }
@media(max-width:600px) { .screenarticles.wh:has(> .articleslist) { padding:24px 18px 40px; } }
@media(prefers-reduced-motion:reduce) { .screenarticles.wh .articleslist > div { transition:none; } }

/* Fill news directory card images, matching the homepage news. */
.news-directory .news-card-photo .pic img {
    object-fit:cover;
    object-position:center;
}

/* Fill article directory card images. */
.screenarticles.wh .articleslist > div img {
    object-fit:cover;
    object-position:center;
}

/* Keep the mobile navigation below the header, outside the hero text flow. */
@media(max-width:1153px) {
    html #menumain {
        position:absolute;
        top:120px;
        left:16px;
        right:16px;
        width:auto;
        margin:0 !important;
        max-height:calc(100vh - 140px);
        max-height:calc(100dvh - 140px);
        overflow-y:auto;
        overscroll-behavior:contain;
        box-sizing:border-box;
        border-radius:14px;
        background:rgba(17,25,56,.98);
        box-shadow:0 12px 32px rgba(0,0,0,.2);
    }
}

/* Mobile navigation lives outside the clipped page header while open. */
.mobile-menu-toolbar { display:none; }
.menubtnmob .mobile-menu-toggle { display:block; width:100%; height:100%; padding:0; border:0; background:transparent; cursor:pointer; }
@media(max-width:1153px) {
    html #menumain { display:none; }
    html #menumain.is-mobile-open {
        position:fixed;
        inset:12px;
        display:block !important;
        width:auto;
        max-width:none;
        height:auto;
        max-height:none;
        margin:0 !important;
        padding:0 18px 24px;
        padding-bottom:max(24px,env(safe-area-inset-bottom));
        overflow-y:auto;
        z-index:10000;
        border:1px solid #dce2ef;
        border-radius:16px;
        background:#171f4e;
        box-shadow:0 12px 50px rgba(0,0,0,.35);
    }
    #menumain .mobile-menu-toolbar { position:sticky; top:0; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; margin-bottom:10px; border-bottom:1px solid rgba(255,255,255,.2); background:#171f4e; }
    .mobile-menu-languages { display:flex; align-items:center; flex-wrap:wrap; gap:8px; text-align:left; }
    .mobile-menu-languages a { display:flex; align-items:center; justify-content:center; gap:5px; min-width:40px; min-height:40px; padding:0 5px; color:#fff; font-size:14px; text-transform:uppercase; text-decoration:none; border:1px solid rgba(255,255,255,.3); border-radius:8px; }
    .mobile-menu-languages svg { width:16px; height:16px; }
    .mobile-menu-close { flex-shrink:0; width:44px; height:44px; border:1px solid rgba(255,255,255,.3); border-radius:10px; background:transparent; color:#fff; font-size:32px; line-height:1; cursor:pointer; }
    #menumain #multi-ddm2 { display:block; }
    #menumain #multi-ddm2 li a { margin:0; padding:12px 4px; font-size:18px; line-height:1.5; border-bottom:1px solid rgba(255,255,255,.14); }
    #menumain #multi-ddm2 li ul { margin:0; padding:0 0 0 16px; }
    #menumain #multi-ddm2 li ul li a { font-size:15px; text-transform:none; }
    #menumain #multi-ddm2 .bull { display:none; }
    html.mobile-navigation-open, html.mobile-navigation-open body { overflow:hidden; }
    #menumain a:focus-visible,#menumain button:focus-visible,.mobile-menu-toggle:focus-visible { outline:3px solid #f27d8a; outline-offset:2px; }
}
@media(max-width:1153px) {
    #menumain #multi-ddm2 ul { display:block !important; position:static !important; width:auto; opacity:1; visibility:visible; }
}

/* Desktop and mobile navigation share one breakpoint. */
@media(min-width:1154px) { html #menumain { display:block; } }
@media(max-width:1153px) { .menubtnmob { display:block; } #menumain #multi-ddm { display:none; } }

/* Plain language links in mobile navigation. */
@media(max-width:1153px) {
    .mobile-menu-languages a {
        border:0;
        border-radius:0;
        background:transparent;
    }
}

/* Selected language: a clear underline without a frame or background. */
.lang a.is-active,
.lang a.is-active:hover,
.mobile-menu-languages a.is-active,
.mobile-menu-languages a.is-active:hover {
    color:#fff;
    opacity:1;
    font-weight:700;
    text-decoration-line:underline;
    text-decoration-color:#f27d8a;
    text-decoration-thickness:2px;
    text-underline-offset:7px;
}

/* Gentle, one-time entrance for homepage headings. */
@media(prefers-reduced-motion:no-preference) {
    .screen.homepage :is(h1,h2,h3,h4).heading-reveal {
        opacity:0;
        transform:translateY(42px) scale(.97);
        transition:opacity 1s ease,transform 1s cubic-bezier(.16,1,.3,1);
    }
    .screen.homepage :is(h1,h2,h3,h4).heading-reveal.is-revealed {
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

@media(prefers-reduced-motion:no-preference) {
    .screen.homepage :is(h3,h4).heading-reveal { transition-delay:.16s; }
}

/* Restore the original entrance for the homepage hero headline. */
@media(prefers-reduced-motion:no-preference) {
    .screen.homepage .screen1 h3.animate__animated {
        animation:1.1s both bounceInDown !important;
    }
}

/* Pagination shared by news, articles and other lists. */
#nav.nav {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    box-sizing:border-box;
    width:100%;
    max-width:1240px;
    margin:36px auto 16px !important;
    padding:12px 0;
    border:0;
    background:transparent;
    font-family:inherit;
    text-align:center;
}
#nav.nav > a,
#nav.nav > input[type=text] {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    width:auto;
    min-width:44px;
    height:44px;
    margin:0;
    padding:0 14px;
    border:1px solid #dce2ed;
    border-radius:10px;
    background:#fff;
    color:#263967;
    font-family:inherit;
    font-size:15px;
    font-weight:600;
    line-height:1;
    text-align:center;
    text-decoration:none;
    text-shadow:none;
    box-shadow:none;
    transition:background .18s,border-color .18s,color .18s;
}
#nav.nav > a:hover { border-color:#9eacc9; background:#edf1fa; color:#171f4e; }
#nav.nav > input[type=text] { width:52px; border-color:#263967; background:#263967; color:#fff; cursor:text; }
#nav.nav > a:focus-visible,
#nav.nav > input[type=text]:focus-visible { outline:3px solid #e24356; outline-offset:3px; }
@media(max-width:600px) {
    #nav.nav { gap:6px; margin-top:26px !important; }
    #nav.nav > a,#nav.nav > input[type=text] { min-width:40px; height:42px; padding:0 10px; font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { #nav.nav > a,#nav.nav > input[type=text] { transition:none; } }

/* Dedicated contacts page, matching the homepage contact cards. */
.contacts-page { box-sizing:border-box; max-width:1288px; margin:0 auto; padding:12px 24px 64px; color:#171f4e; }
.contacts-page .home-contact-heading { margin:0 auto 36px; color:#646e84; font-size:22px; font-weight:400; line-height:1.5; text-align:center; text-wrap:balance; }
.contacts-page .home-contact-heading strong { color:#171f4e; font-weight:600; }
.contacts-page .home-contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; max-width:1000px; margin:0 auto 28px; }
.contacts-page .home-contact-card { box-sizing:border-box; min-width:0; padding:28px; border:1px solid #e0e5ef; border-radius:18px; background:#f5f7fb; color:#646e84; font-size:17px; line-height:1.8; text-align:left; }
.contacts-page .home-contact-card h4 { margin:0 0 20px; color:#171f4e; font-size:21px; font-weight:600; line-height:1.5; }
.contacts-page .contact-phones { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.contacts-page .contact-phones a { color:#171f4e; font-size:21px; line-height:1.6; font-weight:600; text-decoration:none; }
.contacts-page .home-contact-card p { margin:18px 0 0; }
.contacts-page a { color:#263967; overflow-wrap:anywhere; text-underline-offset:4px; }
.contacts-page a:hover { color:#b82e44; }
.contacts-page .contact-hours { padding-top:18px; border-top:1px solid #dfe5ef; }
.contacts-page .contact-professional { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px 20px; margin:0 auto 32px; padding:16px 20px; color:#646e84; font-size:15px; line-height:1.6; text-align:center; }
.contacts-page .contact-professional a { font-weight:600; }
.contacts-page #map_canvas { box-sizing:border-box; width:100% !important; height:420px !important; min-height:0; border:1px solid #e0e5ef !important; border-radius:18px; overflow:hidden; background:#eef1f7; }
.contacts-page a:focus-visible { outline:3px solid #e24356; outline-offset:3px; }
@media(max-width:700px) { .contacts-page { padding:8px 18px 40px; }.contacts-page .home-contact-grid { grid-template-columns:minmax(0,1fr); gap:20px; }.contacts-page .home-contact-card { padding:22px; font-size:16px; }.contacts-page .home-contact-heading { font-size:19px; margin-bottom:28px; }.contacts-page .home-contact-card h4 { font-size:20px; }.contacts-page #map_canvas { height:340px !important; } }

/* Keep the homepage hero exactly one viewport high. */
.homepage .screen1 {
    height:100vh;
    min-height:0;
}

/* News detail: typography and gallery; existing content and lightbox stay intact. */
.screenpages:has(> .screennews.wh > .articles > .content) {
    background:#f5f7fb;
    padding-bottom:64px;
}
.screenpages:has(> .screennews.wh > .articles > .content) > .nv {
    box-sizing:border-box;
    max-width:1120px;
    margin:0 auto;
    padding:24px 24px 0;
    color:#69768f;
    font-size:14px;
    line-height:1.7;
}
.screenpages:has(> .screennews.wh > .articles > .content) > h1 {
    box-sizing:border-box;
    max-width:1040px;
    margin:28px auto 36px;
    padding:0 24px;
    color:#171f4e;
    font-size:clamp(28px,3.2vw,44px) !important;
    font-weight:600;
    line-height:1.25;
    letter-spacing:-.025em;
    text-align:left;
    text-wrap:balance;
    overflow-wrap:break-word;
}
.screennews.wh:has(> .articles > .content) {
    display:block;
    box-sizing:border-box;
    width:calc(100% - 48px);
    max-width:1040px;
    height:auto;
    margin:0 auto;
    padding:40px 44px;
    border:1px solid #e4e9f1;
    border-radius:20px;
    background:#fff;
    box-shadow:0 8px 32px rgba(23,31,78,.04);
}
.screennews.wh > .articles { width:100%; max-width:none; margin:0; padding:0; }
.screennews.wh > .articles > .content {
    box-sizing:border-box;
    max-width:none;
    margin:0;
    padding:0;
    color:#404b60;
    font-size:18px;
    line-height:1.85;
    text-align:left;
    overflow-wrap:break-word;
}
.screennews.wh > .articles > .content :is(p,li) {
    color:inherit;
    font-size:inherit;
    line-height:inherit;
}
.screennews.wh > .articles > .content > :is(p,div:not(#gallery):not(.data)) {
    max-width:820px;
    margin:0 auto 20px;
}
.screennews.wh > .articles > .content :is(h2,h3,h4) {
    margin:32px 0 16px;
    color:#171f4e;
    font-size:clamp(23px,2.4vw,30px);
    line-height:1.35;
    font-weight:600;
    text-align:left;
}
.screennews.wh > .articles > .content :is(ul,ol) { padding-left:26px; margin:18px 0 24px; }
.screennews.wh > .articles > .content li + li { margin-top:8px; }
.screennews.wh > .articles > .content a:not(:has(img)) {
    color:#3c508c;
    text-underline-offset:4px;
    text-decoration-thickness:1px;
}
.screennews.wh > .articles > .content a:focus-visible { outline:3px solid #c92e47; outline-offset:4px; }
.screennews.wh > .articles > .content blockquote {
    margin:28px 0;
    padding:20px 24px;
    border-left:3px solid #c92e47;
    background:#f5f7fb;
    border-radius:0 12px 12px 0;
}
.screennews.wh > .articles > .content img:not(#gallery img) { max-width:100%; height:auto; border-radius:12px; }
.screennews.wh > .articles > .content iframe { max-width:100%; border:0; border-radius:12px; }
.screennews.wh > .articles > .content > .data {
    margin:28px 0 0;
    padding-top:18px;
    border-top:1px solid #e4e9f1;
    color:#69768f;
    font-size:13px;
    line-height:1.6;
    text-align:right;
}
@media(max-width:760px) {
    .screenpages:has(> .screennews.wh > .articles > .content) { padding-bottom:36px; }
    .screenpages:has(> .screennews.wh > .articles > .content) > h1 { margin:22px auto 26px; padding:0 20px; }
    .screennews.wh:has(> .articles > .content) { width:calc(100% - 32px); padding:28px 24px; border-radius:16px; }
    .screennews.wh > .articles > .content { font-size:17px; line-height:1.8; }
}
@media(max-width:420px) {
    .screennews.wh:has(> .articles > .content) { padding:24px 18px; }
}
@media(prefers-reduced-motion:reduce) {
}

/* News photos: gentle decoration of the original gallery layout. */
.screennews.wh > .articles > .content #gallery {
    margin:28px 0 12px;
    font-size:0;
    line-height:0;
}
.screennews.wh > .articles > .content #gallery img {
    box-sizing:border-box;
    width:calc(33.333% - 12px);
    margin:6px;
    padding:0;
    border:1px solid #e2e7ef;
    border-radius:10px;
    box-shadow:0 3px 10px rgba(23,31,78,.08);
    vertical-align:middle;
    transform:none !important;
    transition:none !important;
    animation:none !important;
}
.screennews.wh > .articles > .content #gallery a:focus-visible img {
    outline:3px solid #3c508c;
    outline-offset:2px;
}
@media(max-width:600px) {
    .screennews.wh > .articles > .content #gallery img { width:calc(50% - 10px); margin:5px; border-radius:8px; }
}
