/**

Mini Profile Template

https://templatemo.com/tm-530-mini-profile


Color Codes
------------
brown: #986665;
green: #98cb00;
orange: #cc6733;
blue: #3398cc;
dark-gray: #676767;
light-gray: #999999;
text-gray: #6b6b6b;

*/

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #6b6b6b;
  overflow-x: hidden;
}

a,
button {
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none;
}

.container-fluid {
  max-width: 1200px;
}

.tm-bg-black-transparent {
  /*background-color: rgba(0, 0, 0, 0.5);*/
}

.tm-bg-white-transparent {
  background-color: rgba(255, 255, 255, 0.6); /* было прозрачность 0,8*/
}

.tm-bg-green {
  background-color: #98cb00;
}

.tm-bg-orange {
  background-color: #cc6733;
}

.tm-bg-blue {
  background-color: #3398cc;
}

.tm-bg-dark-gray {
  background-color: #676767;
}

/*
  Welcome section
*/
#tmWelcome {
  position: relative;
  display: flex;
  align-items: center;
}

.tm-brand-container-outer {
  margin-top: -600px;
}

.tm-brand-container-inner {
  max-width: 620px;
  width: 100%;
}

.tm-brand-container {
  padding: 75px 40px;
}

.tm-brand-name {
  font-size: 12rem;
  color:#cfa322;
}

.tm-brand-description {
  font-size: 1.7rem;
  text-align: left;
}

.parallax-window {
  min-height: 1100px;
  background: transparent;
}

#tmContact {
  min-height: 1197px;
}

.tm-welcome-container {
  min-height: 400px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: stretch;
}

.tm-welcome-title {
  margin-bottom: 40px;
  color:#3d3f4d;
}

.tm-welcome-left {
  padding-right: 30px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.tm-welcome-left-col {
  display: flex;
  align-items: center;
  /*color:#1a1919;*/
}

.tm-welcome-right {
  color: white;
  /*background-color: #986665;*/
  padding: 20px 43px 20px;
  height: 100%;
}

.tm-welcome-icon {
  margin-bottom: 50px;
  display: block;
  text-align: center;  
}

/*
  Portfolio section
*/

#tmPortfolio {
  padding-top: 80px;
}
.work {
  background: url(../img/backimg1a.png) no-repeat 100% 0;
  background-size: 100%;
  /*opacity: 0.5;*/
}

.tm-img {
	margin: 20px 40px;
}


.tm-portfolio-item {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  border: 5px solid #c58932a1;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);  
}

.tm-portfolio-name {
  width: 330px;
  height: 220px;
  font-size: 2rem;
  padding: 70px 95px;
  display: flex;
  align-items: center;
  text-align: center;
}

.tm-portfolio-description {
  width: calc(100% - 330px);
  padding: 20px 45px;
}

.tm-portfolio-description h3 {
  margin-bottom: 20px;
}

.tm-text-green {
  color: #98cb00;
}

.tm-text-orange {
  color: #cc6733;
}

.tm-text-blue {
  color: #025287;
}

.tm-text-dark-gray {
  color: #676767;
}

.tm-title-small {
  font-size: 1.3rem;
}

p {
  line-height: 1.8;
  text-align: justify;
}

li{
  /*line-height: 1.8;*/
  text-align: justify;
}

.cons {
	padding: 60px 20px;
	background: black;
}

.borderC {
	padding: 20px 40px;
	border: 3px solid #0056b3;
	border-radius: 10px;
	color: white;
}


/*
  Contact section
*/

#tmContact {
  padding-top: 95px;
}

.tm-contact-item {
  width: 33.3334%;
  max-width: 365px;
  height: auto;
  min-height: 420px;
  margin-right: 35px;
  background-color: white;
  padding: 20px 20px 30px;
  border-radius: 20px;
}

.tm-contact-itemF {
  width: 99.3334%;
  /*max-width: 365px;*/
  height: auto;
  min-height: 420px;
  /*margin-right: 35px;*/
  background-color: white;
  padding: 40px 50px;
}




.tm-contact-item:last-child {
  margin-right: 0;
}

.tm-contact-items-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 130px;
  /*background-color: rgba(255, 255, 255, 0.6);*/
}

.tm-contact-item-icon {
  margin-bottom: 45px;
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tmContactForm {
  width: 100%;
  max-width: 680px;
  padding: 45px 45px 30px;
  margin-bottom: 95px;
}

.form-group {
  max-width: 355px;
}

.form-control {
  background: transparent;
  border-color: #999999;
  padding: 15px 10px;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.tm-btn-submit {
  background-color: #999999;
  padding: 12px 30px;
  font-size: 1.2rem;
}

.tm-btn-submit:focus,
.tm-btn-submit:hover {
  background-color: #676767;
}

.tm-copyright-text {
  margin-bottom: 30px;
}

.tm-link {
  color: #676767;
}


@font-face {
font-family: 'Stylo Bold';
src: url('../fonts/Stylo_Bold.ttf');
}

@font-face {
font-family: 'Alexandra_Zeferino_Two';
src: url('../fonts/Alexandra_Zeferino_Two.ttf');
}


.font1 {
	font-family: 'Alexandra_Zeferino_Two';
	/*font-size: 2.5em;	
	color:#09367d;*/
	text-align: justify;
	line-height: 110%;
	font-weight: 600;
}
.font1_atr1 {
	font-size: 2.5em;	
	color:#09367d;
}
.font1_atr2 {
	font-size: 3.5em;	
	color:#09367d;
}


.font2 {
	/*font-size: 1.5em;*/
	font-family: 'Stylo Bold';
}


/*

@media (max-width: 1054px) {
  .tm-contact-item-icon {
    margin-bottom: 15px;
  }
}

@media (max-width: 991px) {
  .tm-contact-items-container {
    flex-direction: column;
  }

  .tm-contact-item {
    width: auto;
    max-width: 680px;
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  .tm-contact-item:last-child {
    margin-right: auto;
    margin-bottom: 0;
  }

  #tmContactForm {
    margin-left: auto;
    margin-right: auto;
  }
}*/

/* другие страницы */

  .infocont{
	background-color: rgba(255, 255, 255, 0.6);
  }
  .bar_sec {
	background-image: url(../img/bar_sec1.jpg);
	height: 300px;
  }

  .bar_sec h1{
	  padding-left: 8em;
	  padding-top: 3em;
	  font-family: Georgia, serif;
	  font-size: 3.5rem;;
	  
	  font-style: italic;
	  font-weight: bold;
	  color: #ffffff;
	  /* тут делаем шрифт */
  }

/**
	 * Компоненты аккордеона.
	 */
	.accordion {
	  margin: 0;
	  margin-bottom: 1.5rem;
	  padding: 0;
	  list-style: none;
	}

	.accordion_item {
	  border-bottom: 1px solid #5a95fd;
	}
	.accordion_item:last-of-type {
	  border-bottom: none;
	}

	/* Элемент label который запускает открыть/закрыть.	 */
	.accordion_trigger {
	  display: block;
	  background-color: #007ccf;
	  color: #ddd;
	  font-weight: bold;
	  cursor: pointer;
	  padding: 1.5rem;
	}

	/* эти элементы radio/checkbox всегда должны быть скрыты. */
	.accordion_toggle {
	  border: 0;
	  clip: rect(0 0 0 0);
	  height: 1px;
	  margin: -1px;
	  overflow: hidden;
	  padding: 0;
	  position: absolute;
	  width: 1px;
	}

/*	 скрытое содержание аккордеона.	 */
	.accordion_target {
	  border: 0;
	  clip: rect(0 0 0 0);
	  height: 1px;
	  margin: -1px;
	  overflow: hidden;
	  padding: 0;
	  position: absolute;
	  width: 1px;
	  background-color: #ddd;
	  color: #444;
	  /* когда переключатель checked на radio/checkbox, показать содержимое аккордеона.  */
	}
	.accordion_toggle:checked + .accordion_target {
	  position: static;
	  overflow: visible;
	  width: auto;
	  height: auto;
	  /*margin: auto;*/
	  margin: -7px 0px 20px 20px;
	  border-radius: 0 0 20px 20px;
	  clip: auto;
	  padding: 1.5rem;
	}



@media (max-width: 1054px) {
  .tm-contact-item-icon {
    margin-bottom: 15px;
  }
}

@media (max-width: 991px) {
  .tm-contact-items-container {
    flex-direction: column;
  }

  .tm-contact-item {
    width: auto;
    max-width: 680px;
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  .tm-contact-item:last-child {
    margin-right: auto;
    margin-bottom: 0;
  }

  #tmContactForm {
    margin-left: auto;
    margin-right: auto;
  }
}


@media (max-width: 730px) {
  .tm-portfolio-item {
    flex-direction: column;
  }

  .tm-portfolio-name {
    justify-content: center;
  }

  .tm-portfolio-name,
  .tm-portfolio-description {
    width: 100%;
  }

  .tm-portfolio-description {
    padding: 20px 30px;
  }
}

@media (max-width: 572px) {
  .tm-brand-container {
    padding: 45px;
  }
}

@media (max-width: 443px) {
  .tm-brand-name {
    font-size: 3rem;
  }

  .tm-brand-container {
    padding: 25px;
  }
}
