/* history, general, contacts ============================= */
.about-container {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.cont-tab {
  /*border: 2px solid black;*/
  border-collapse: collapse;
  text-align: left;
}
.cont-tab > tbody > tr > td {
  padding: 5px;
  border-bottom: 1px dashed black;
}
.td3 {
  text-align: center;
  width: 20%;
}
.td1 {
  width: 40%;
}
.block {
  text-align: center;
  padding-left: 50px;
  padding-right: 50px;
  margin-bottom: 20px;
}

.pic {
  width: 500px;
  margin: 0 auto;
}
.proj-pic {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 0 5px white;
  margin-bottom: 5px;
}
.pro-component {
  width: 200px;
}
.about-text > ul > li {
  margin-bottom: 1em;
}

.pic1 {
  width: 300px;
  margin: 0 auto;
}

.pic-left {
  float: left;
  margin: 4px 10px 2px 0px;
  border: 1px solid #CCC;
  padding: 6px;
}

.pic-right {
  float: right;
  margin: 4px 10px 2px 10px;
  border: 1px solid #CCC;
  padding: 6px;
}

/* structure ============================= */
.l-str {
  position: relative;
  padding: 10px;
  color: black;
  font-weight: 700;
  height: 220px;
  width: 270px;
  border-radius: 10px;
  box-sizing: border-box;
  margin-bottom: 5px;
  background-color: #FFFAF4;
  box-shadow: 0px 14px 20px rgba(0,0,0,0.75);
  background-repeat: no-repeat; 
  background-size: cover;
}
.l-str-1 {
  color: green;
  font-size: 18px;
  box-sizing: border-box;
  padding-top: 3px;
  height: 30px;
}
.l-str-2 {
  text-align: center;
  color: #336699;
  font-size: 15px;
  box-sizing: border-box;
  margin-bottom: 5px;
}

.l-str-3 {
  color: #336699;
  box-sizing: border-box;
  font-style: italic;
  font-size: 12px;
}


.tpl-str-wo-backgr {
  margin-bottom: 50px;
}

.str-group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
  align-items: top;
  flex-wrap: wrap;
}

.l-str-1-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /*border: dashed 1px blue;*/
}

.L2 {
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding-left: 5px;
  height: 148px;
  /*border: solid 1px blue;*/
}

.l-str-2 > a {
  text-decoration: none;
  color: #336699;
}

.l-str-2-text {
  text-align: center;
  color: #336699;
  /*margin-top: 130px;*/
}

.fontup {
  font-size: 18px;
}

.l-str-3-text {
  text-align: left;
}
.str_photo {
  height: 150px;
  width: 250px;
}


/* department */
.ab-row1 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  /*height: 250px;*/
  /*border: solid 1px blue;*/
}
.ab-photo {
  width: 350px;
}

.ab-block-photo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 400px;
  /*border: solid 2px orange;*/
}
.ab-block-menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.ab-zav {
  text-align: left;
  /*border: solid 1px green;*/
}

.ab-row2 {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: start;
  /*height: 500px;*/
  /*border: solid 1px blue;*/
}  

.ab-sections {
  text-align: left;
  width: 250px;
  flex-shrink: 0;
  /*border: solid 1px green;*/
}
.ab-block-text {
  text-indent: 20px;
  min-width: 330px;
  /*border: solid 1px green;*/
}

.ab-block-text > ul {
  text-indent: 0px;
}

.ab-text {
  text-indent: 20px;
  text-align: left;
}

.ab-text-wint {
  text-align: left;
}

.ab-clause-head {
  text-align: center;
  font-weight: bold;
}

.zavname {
  font-weight: bold;
  color: #33998d;
}
.ab-p1 {
  text-align: left;
  font-weight: bold;
  /*margin-left: 0px;*/
}

.ab-p2 {
  text-align: left;
}

.ab-dep-link > a {
  margin: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  color: #33998d;
}

.ab-und-text {
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size .3s;
  font-style: normal;
}

.ab-und-text:hover {
  background-image: linear-gradient(rgb(51, 153, 141), rgb(51, 153, 141));
  background-size: 100% 2px;
}

/* dept_vist, dept_events */

.ab-dept-tab {
  width: 100%;
  border: 2px solid black;
  border-collapse: collapse;
  text-align: left;
}

.ab-dept-tab > tbody > tr > td {
  padding: 5px;
}

.column1 {
  width: 20%;
}

/* flex-блок - картинки рядом */
.ab-cont {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: top;
}

/* opchstaff, rcstaff */
.fsname {
  margin-top: 20px;
  margin-bottom: 20px;
  font-style: italic;
  font-weight: bold;
}

.fio-sign {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;  
  text-align: center;
  color: #33998d;
}

/* rcprojects */
.conv-p > a {
  cursor: pointer;
  text-decoration: none;
  font-weight: normal;
  color: blue;
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size .3s;
  font-style: normal;
  margin-left: 10px;
}

.conv-p > a:hover {
  background-image: linear-gradient(rgb(0, 162, 255), rgb(0, 162, 255));
  background-size: 100% 2px;
}

.hdm {
  text-align: center;
  margin: 0;
  font-weight: bold;
  font-family: 'Arial';
  font-size: 20px;
}
.st-img {
  width: 624px;
  /*height: 284px;*/
}
.conv-p {
  margin: 0 auto;
  padding: 0;
  font-family: 'Arial';
  font-size: 17px;
  width: 800px;
}
.p-img {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}
/* =========================================================== */
.ev-box {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: top;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-style: italic;
}

.ev-box-link {
  text-decoration: none;
  color: black;
}

.ev-box-menu {
  text-align: center;
  font-size: 15px;
  height: 60px;
  cursor: pointer;
  border: 2px solid #336699;
  width: 155px;
}

.ev-box-text {
  display: inline-block;
  color: #336699;
  vertical-align: middle;
}

.ev-box-menu:hover {
  background-color: #336699;
}

.ev-box-menu:hover .ev-box-text {
  color: white;
}

.ev-box-menu:before {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    content: "";
}
/* ======================================== */
.ev-events {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  align-items: top;
  flex-wrap: wrap;
}

.ev-event {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 5px 5px 5px 5px;
  border: 2px solid #336699;
  margin-bottom: 10px;
}
.ev-pic {
  height: 300px;
}
.ev-picture {
  height: 300px;
  width: 200px;
}

