*{
	box-sizing: border-box;
}
@font-face {
    font-family: 'Bebas Neue Cyrillic';
    src: url(fonts/BebasNeueCyrillic.ttf);
}
body{
	font-family: 'Open Sans', sans-serif;
	color: #051632;
}
html, body { overflow-x:hidden; }
ul {
   list-style: none;
}
a{
    text-decoration: none;
}
header {
	display: flex;
	justify-content: space-between;
    align-items: center;
	width: 100%;
    padding: 0 40px;

}
header .logo{
  font-size: 64px;
	text-decoration: none;
	font-family: 'Bebas Neue Cyrillic', sans-serif;
  color: #051632;
}
header .logo:first-letter{
	color: #51CB06;
}
header .info {
	font-size: 20px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}
header .info p{
    margin-right: 70px;
    padding: 0;
}
header .info a{
	color: #051632;
    text-decoration: none;
}
header .info a:hover{
	font-weight: Bold;
}
.container{
	width: 100%;
	margin: 0 auto;
	padding: 0 10px;
	height: auto;
}
h1{
    font-family: 'Bebas Neue Cyrillic', sans-serif;
}
.menu{
   background: #DBFF8F;
}

.topmenu a {
   text-decoration: none;
   display: block;
   transition: .4s ease-in-out;
}
.topmenu>li>a {
   padding: 20px 0;
   color: #051632;
   text-transform: uppercase;
    font-size: 17px;
}

.topmenu li a:hover{
   font-weight: bold;
}

.submenu li a {
   border-bottom: 1px solid #efefef;
   font-size: 12px;
   color: #051632;
}

@media(max-width: 599px) {
   .topmenu>li>a {
      padding: 15px 20px;
   }
   .submenu li a {
      padding: 10px 20px;
      margin: 0 20px;
   }
}

@media(min-width: 768px) {
   .topmenu {
      width: 100%;
      display: flex;
      justify-content: space-around;
   }
   .topmenu>li {
      position: relative;
   }
   .topmenu>li:last-child:after {
      background: none;
      box-shadow: none;
   }
   .submenu {
      position: absolute;
      left: 50%;
      top: 100%;
      width: 210px;
      margin-left: -105px;
      background: #fafafa;
      border: 1px solid #ededed;
      z-index: 5;
      visibility: hidden;
      opacity: 0;
      transform: scale(.8);
      transition: .4s ease-in-out;
   }
   .topmenu>li:hover .submenu {
      visibility: visible;
      opacity: 1;
      transform: scale(1);
   }
   .submenu li a {
      text-align: center;
      padding: 10px 0;
      margin: 0 10px;
   }
}
footer  a{
	color: #fff;
    text-decoration: none;
}
footer  a:hover{
	font-weight: Bold;
}
.footer{
	justify-content: center;
	margin-top: 40px;
	background-color: #051632;
	position: relative;
	width: 100%;
    height: auto;
	display: flex;
	color: #fff;
}
.footer h3{
	font-size: 40px;
	font-family: 'Bebas Neue Cyrillic', sans-serif;
	text-align: center;
    margin-block-end: 0;
}
.footer .info {
	font-size: 20px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.footer .line{
	border-bottom: 1px solid #fff;
	margin-top: 14px;
	opacity: 0.5;
}
 .top-menu1 {
      width: 100%;
      display: flex;
      justify-content: center;
	  font-size: 20px;
   }
      .top-menu1>li {
      position: relative;
   }
.top-menu1 li{
	float: left;
	margin: 10px 60px;
}
.footer nav.top-menu1{
	background-color: #051632;
}
.footer nav.top-menu1 ul li a{
	color: #fff;
	text-decoration: none;
    display: block;
}
.footer nav .top-menu1 ul {
   list-style: none;
}
.footer nav .top-menu1>li>a {
   padding: 20px 60px;
   color: #051632;
   text-transform: uppercase;
}

.footer nav .top-menu1 li a:hover {
   font-weight: bold;
}
.footer .messenger a{
    margin-bottom: 10px;
}
.banner img{
    background-repeat: no-repeat;
	width: 600px;
	height: 100%;
}
.messenger {
    display: flex;
    justify-content: center;
}
.messenger a{
    margin-right: 10px;
}
.messenger img{
    -webkit-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
.messenger a:hover img {
transform: scale(1.1);
text-decoration: none;
}
.banner{
	display: flex;
    max-width: 100%;
    height: 600px;
    background: linear-gradient(60deg, #fff, #A2CCF4);
	flex-wrap: wrap;
}

.banner h1{
	text-indent: -100px;
	margin: -550px 0 0 600px;
    font-weight: 500;
	font-size: 90px;
	color: #051632;
}
.banner  p{
	margin: 66px 30px 0 550px;
    font-weight: 400;
	font-size: 30px;
	color: #051632;
}
.banner button a{
    color: #051632;
}
.banner button{
	margin: 66px 10px 0 600px;
	border-radius: 10px;
	display: block;
    padding: 16px 43px;
    font-size: 20px;
	font-weight: 400;
	text-transform: uppercase;
	color: #051632;
	background: #DBFF8F;
	border-style: none;
}
.banner button:hover{
	background-color:#051632;
}
.banner button a:hover{
	color:#fff;
}
h2{
	text-align: center;
	padding-top: 40px;
	padding-bottom: 20px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 500;
	font-size: 48px;
	color: #051632;
}
.prise {
  display: flex;
  gap: 40px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.card {
	position: relative;
	width: 360px;
	height: 280px;
	float: left;
	background: #000;
}
.card img {
	height: 100%;
	width: 100%;
	opacity: 0.5;
}
.prise button{
	margin: 0 auto;
	border-radius: 10px;
	display: block;
	font-size: 20px;
	font-weight: 400;
	text-transform: uppercase;
	padding: 15px 40px;
	background: #fff;
	border-color: #3F8A05;
	border-style: solid;
}
.prise button a{
    color: #3F8A05;
}
.prise button:hover{
	background: #3F8A05;
    color: #fff;
}
.prise button a:hover{
        color: #fff;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1); /* Настройка цвета и прозрачности для блока с заголовком */
  transition: background 0.5s ease;
}
.card:hover .overlay {
  display: block;
  background: rgba(5, 22, 50, 0.7); /* Настройка цвета и прозрачности для блока с заголовком при наведении */
}
.title {
  position: absolute;
  width: 100%;
  left: 0;
  top: 45%; /* Отступ сверху */
  font-size: 1.900em; /* Размер текста заголовка */
  text-align: center;
 /*  text-transform: uppercase; Заглавные буквы */
  color: white; /* Цвет заголовка */
  z-index: 1;
  transition: top .5s ease;
}
.card:hover .title {
  top: 30%; /* Отступ сверху при наведении */
}
.button {
  position: absolute;
  width: 100%;
  left:0;
  top: 65%; /* Отступ сверху */
  text-align: center;
  opacity: 0;
  transition: opacity .35s ease;
}
.button a {
  padding: 15px 40px; /* Отступ */
  text-align: center;
  background: #DBFF8F; /* Цвет кнопки */
  color: #051632; /* Цвет текста */
  border: 1px solid #051632; /* Ширина, стиль и цвет границы */
  z-index: 1;
}
.card:hover .button {
  opacity: 1;
}
.line{
	border-bottom: 1px solid #DBFF8F;
	margin-top: 40px;
	opacity: 0.5;
}
.advantages{
	display: flex;
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
	flex-wrap: nowrap;
	margin-bottom: 40px;
	justify-content: center
}
.advantages-card img{
	float: left;
}
.advantages-card h4{
	margin: 20px 0 0 170px;
	text-transform: uppercase;
}
.advantages-card p{
	margin: 20px 0 0 170px;
}
.slider-container {
  position: relative;
  width: 90%;
  height: 600px;
  margin: 0 auto 40px;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
    justify-content: center;
}

.slider img {
  width: 1024px;
  height: 600px;
  object-fit: contain;
}
.button1{
	margin: 20px auto;
	border-radius: 10px;
	display: block;
	font-size: 20px;
	font-weight: 400;
	text-transform: uppercase;
	color: #fff;
	background: #051632;
    height: 60px;
    width: 200px;
    text-align: center;
    line-height: 60px;
}
.button1:hover{
	color: #051632;
	background: #DBFF8F;
}
.button2{
	margin: 20px auto;
	border-radius: 10px;
	display: block;
	font-size: 20px;
	font-weight: 400;
	text-transform: uppercase;
	color: #fff;
	background: #051632;
    height: 60px;
    width: 360px;
    text-align: center;
    line-height: 60px;
}
.button2:hover{
	color: #051632;
	background: #DBFF8F;
}
.prev-button,
.next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #051632;
  border: none;
  font-size: 24px;
  color: white;
  padding: 0;
  margin: 0;
}

.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}
.reviews {
	display: flex;
    max-width: 100%;
    height: auto;
	flex-direction: column;
    background: linear-gradient(45deg, #fff, #DBFF8F);
    padding-bottom: 35px;
}
.reviews1{
   width:560px;
   height:800px;
}



.modal {
    position: fixed; /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5); /* цвет фона */
    z-index: 1050;
    opacity: 0; /* по умолчанию модальное окно прозрачно */
    -webkit-transition: opacity 200ms ease-in;
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in; /* анимация перехода */
    pointer-events: none; /* элемент невидим для событий мыши */
    margin: 0;
    padding: 0;
}
/* при отображении модального окно */
.modal:target {
    opacity: 1; /* делаем окно видимым */
	  pointer-events: auto; /* элемент видим для событий мыши */
    overflow-y: auto; /* добавляем прокрутку по y, когда элемент не помещается на страницу */
}
/* ширина модального окна и его отступы от экрана */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}
@media (min-width: 576px) {
  .modal-dialog {
      max-width: 400px;
      margin: 30px auto; /* для отображения модального окна по центру */
  }
}
/* свойства для блока, содержащего контент модального окна */
.modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff, #9aaffd);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}
@media (min-width: 768px) {
  .modal-content {
      -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
      box-shadow: 0 5px 15px rgba(0,0,0,.5);
  }
}
/* свойства для заголовка модального окна */
.modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eceeef;
}
.modal-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 0;
    font-size: 30px;
    font-weight: 500;
}
/* свойства для кнопки "Закрыть" */
.close {
    float: right;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    text-decoration: none;
}
/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus, .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
}
/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 15px;
    overflow: auto;

}
.modal-body p{
    margin: 4px auto;
    font-size: 20px;
}
.modal-body a{
    font-size: 20px;
    margin: 4px auto;
    color: #051632;
}

.maps{
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.maps1{
	display: flex;
	position: relative;
	margin: 0 auto;
}
.content{
	width: 400px;
	height: 480px;
	background-color: #DBFF8F;
	position:absolute;
	margin: 68px 0 68px 60px;
}
.content p{
	font-size: 20px;
	margin: 36px;
}
.content a{
	color: #051632;
	text-decoration: none;
}
.content a:hover{
	font-weight: Bold;
}
#contact{
	font-weight: 500;
	font-size: 75px;
    font-family: 'Bebas Neue Cyrillic';
	text-align: center;
	margin-top: 15px;
}
.banner-phone{
	width: 100%;
    height: auto;
	text-align: center;
	flex-wrap: wrap;
	vertical-align: center;
}
.banner-phone img{
	width: 100%;
    height: 600px;
}
.banner-phone h1 {
    font-weight: 500;
    font-size: 90px;
    color: #fff;
    font-family: 'Bebas Neue Cyrillic';
    margin-top: -350px;
    margin-bottom: 300px;
}
.table-fill {
  background: white;
  border-radius:3px;
  border-collapse: collapse;
  height: 320px;
  margin: auto;
  max-width: 1160px;
  padding:5px;
  width: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  animation: float 5s infinite;
}

th {
  color:#051632;
  background:white;
  font-size:23px;
  font-weight: 100;
  padding:24px;
  text-align:left;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  vertical-align:middle;
}

th:first-child {
  border-top-left-radius:3px;
}

th:last-child {
  border-top-right-radius:3px;
  border-right:none;
}

tr {
  color:#051632;
  font-size:16px;
  font-weight:normal;
  text-shadow: 0 1px 1px rgba(256, 256, 256, 0.1);
}

tr:hover td {
  background:#051632;
  color:#FFF;

}

tr:first-child {
  border-top:none;
}

tr:last-child {
  border-bottom:none;
}

tr:nth-child(odd) td {
  background:#EBEBEB;
}

tr:nth-child(odd):hover td {
  background:#051632;
}

tr:last-child td:first-child {
  border-bottom-left-radius:3px;
}

tr:last-child td:last-child {
  border-bottom-right-radius:3px;
}

td {
  background:#FFF;
  padding:20px;
  text-align:left;
  vertical-align:middle;
  font-weight:300;
  font-size:18px;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);

}

td:last-child {
  border-right: 0px;
}

th.text-left {
  text-align: left;
}

th.text-center {
  text-align: center;
}

th.text-right {
  text-align: right;
}

td.text-left {
  text-align: left;
}

td.text-center {
  text-align: center;
}

td.text-right {
  text-align: right;
}
.categories_apple{
	border-radius: 10px;
	display: block;
	font-size: 17px;
	font-weight: 400;
	text-transform: none;
	background: #fff;
    height: 50px;
    width: 170px;
    text-align: center;
    line-height: 50px;
    border: #051632 solid 1px;
    color: #051632;
}
.categories_apple:hover{
    background: #051632;
    color: #fff;
}
.active{
    border-radius: 10px;
	display: block;
	font-size: 17px;
	font-weight: 400;
	text-transform: none;
	background: #051632;
    height: 50px;
    width: 170px;
    text-align: center;
    line-height: 50px;
    border: #051632 solid 1px;
    color: #fff;
}
.apple{
    margin: 10px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}







@media (max-width: 1024px) {
    header {
        padding: 0 20px
    }

    header .info p {
        margin: 0 10px
    }

    .topmenu > li > a {
        font-size: 15px
    }

    .footer .info {
        font-size: 17px;
    }
    .top-menu1 li{
	margin: 10px 40px;
    }
    .top-menu1 {
	  font-size: 17px;
   }
.banner{
    height: 500px;
}
.banner img{
	width: 500px;
}
.banner h1{
	margin: -450px 0 0 500px;
	font-size: 70px;
}
h2{
    font-size: 40px;
}
.banner  p{
	margin: 36px 40px 0 500px;
	font-size: 25px;
}
.modal-body p{
    margin: 4px auto;
    font-size: 20px;
}
.banner .button1{
	margin: 46px 10px 0 550px;
    font-size: 16px;
}
.button2{
    font-size: 16px;
}
.prise{
    gap: 15px;
}
.prise button{
     font-size: 16px;
    padding: 12px 32px;
}
}

@media (max-width: 991.98px) {
        header{padding: 0 10px}
    header .logo {
    font-size: 50px;}
    header .info{font-size: 17px}
    header .info p{
    margin-right: 15px}
    .messenger a{
    margin-right: 5px}
    .messenger a img{
        height: 30px; width: 30px;
    }
    .topmenu>li>a {font-size: 13px}
        header {
        padding: 0 20px
    }
    .footer .info {
        font-size: 15px;
    }
    .top-menu1 li{
	margin: 10px 20px;
    }
    .top-menu1 {
	  font-size: 15px;
   }
.banner{
    height: 450px;
}
.banner img{
	width: 450px;
}
.banner h1{
	margin: -400px 0 0 500px;
	font-size: 60px;
}
.banner  p{
	margin: 36px 40px 0 500px;
	font-size: 22px;
}
.modal-body p{
    margin: 4px auto;
    font-size: 20px;
}
.banner .button1{
	margin: 46px 10px 0 550px;
    font-size: 16px;
}
.button2{
    font-size: 16px;
}
.advantages-card img {
    height: 100px;
}
.advantages-card h4 {
    margin: 10px 0 0 110px;
}
.advantages {
    gap: 20px;
    margin-bottom: 20px;
}
.advantages-card p {
    margin: 10px 0 0 110px;
}
.content{
	width: 350px;
	height: 380px;
	margin: 50px 0 50px 50px;
}
.content p{
	font-size: 17px;
	margin: 30px;
}
#contact{
	font-size: 60px;
}
}

@media (max-width: 865px){
    .banner{
    height: 420px;
}
.banner img{
	width: 420px;
}
    .banner h1{
	margin: -400px 0 0 400px;
	font-size: 50px;
}
.banner  p{
	margin: 36px 40px 0 400px;
	font-size: 20px;
}
.modal-body p{
    margin: 4px auto;
    font-size: 20px;
}
.banner .button1{
	margin: 46px 10px 0 400px;
}
.reviews1{
    width:95%;
    height:600px;
}
}

@media (max-width: 768px) {
    header{padding: 0 15px}
    header .logo {
    font-size: 44px;}
    header .info{font-size: 15px}
    header .info p{
    margin-right: 15px}
    .messenger a{
    margin-right: 5px}
    .messenger a img{
        height: 30px; width: 30px;
    }
.content{
	width: 300px;
	height: 330px;
	margin: 25px 0 25px 25px;
}
.content p{
	font-size: 17px;
	margin: 20px;
}
#contact{
	font-size: 50px;
}
.banner-phone img{
    height: 500px;
    margin-bottom: 50px;
}
.banner-phone h1{
    margin-bottom: 250px;
    font-size: 80px;
}
}
@media (max-width: 767px){
    .burger-checkbox {
  position: absolute;
  visibility: hidden;
}
.burger {
  position: relative;
  z-index: 2;
  cursor: pointer;
  display: block;
  position: relative;
  border: none;
  background: transparent;
  width: 40px;
  height: 26px;
  left: 10px;
}
.burger::before,
.burger::after {
  content: '';
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #000;
}
.burger::before {
  top: 0;
  box-shadow: 0 11px 0 #000;
  transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}
.burger::after {
  bottom: 0;
  transition: bottom .3s .15s, transform .3s;
}
.burger-checkbox:checked + .burger::before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0,0,0,0);
  transition: box-shadow .15s, top .3s, transform .3s .15s;
}
.burger-checkbox:checked + .burger::after {
  bottom: 11px;
  transform: rotate(-45deg);
  transition: bottom .3s, transform .3s .15s;
}
.topmenu {
    background-color: #DBFF8F;
    z-index: 1;
    position: absolute;
  display: grid;
  list-style-type: none;
  transform: translateX(-100%);
  transition: .3s;
 }
li {
  display: block;
  padding: 8px;
  color: white;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
}
li:hover {
  background: rgba(255,255,255,.2)
}
.burger-checkbox:checked ~ .topmenu {
  transform: translateX(0);
}
    .banner{
    height: 400px;
}
.banner img{
	width: 400px;
}
    .banner h1{
	margin: -350px 0 0 390px;
	font-size: 45px;
}
.banner  p{
	margin: 36px 40px 0 390px;
	font-size: 18px;
}
.modal-body p{
    margin: 4px auto;
    font-size: 20px;
}
.banner .button1{
	margin: 46px 10px 0 390px;
    font-size: 14px;
}
.button2{
    font-size: 14px;
}
}

@media (max-width: 575.98px) {
    header{flex-direction: column; padding: 0}
    header .info{flex-direction: column;
    align-items: flex-start;}
    header .info p{    padding: 0;
    margin: 5px 0;}
    .messenger{margin-top: 10px;}
    .footer .info{
        font-size: 15px;
            flex-direction: column;
    align-items: flex-start;
    }
    .footer .info p{
        margin-bottom: 10px;
    }
    .footer h3{
        font-size: 35px;
    }
    .top-menu1{
        justify-content: flex-start;
    }
    .top-menu1 li{
	float: none;
        font-size: 15px;
    margin: 10px 0;
    }
    li{
            padding: 0;
            text-align: left;
    }
    .sub-menu
{
   display: none;
}
.main-item:focus ~ .sub-menu,
.main-item:active ~ .sub-menu,
.sub-menu:hover
{
   display: block;
}
    .banner{
    height: 350px;
}
.banner img{
	width: 0;
    height: 0;
}
.banner h1{
	margin: 20px auto;
	font-size: 45px;
    text-indent: 0;
    text-align: center;
}
.banner  p{
	margin: 30px auto;
	font-size: 18px;
    text-align: center;
}
.modal-body p{
    margin: 4px auto;
    font-size: 20px;
}
.banner .button1{
	margin: 30px auto;
    font-size: 14px;
}
.button2{
    font-size: 14px;
    width: 250px;
}
.prise button {
     font-size: 14px;
    padding: 10px 30px;
}
.advantages{
    flex-direction: column;
    flex-wrap: wrap;
	justify-content: space-around;
}
.content{
	width: 100%;
	height: auto;
	margin: 0;
    position: relative;
}
.maps1{
    display: block;
}
.footer{
    margin-top: 15px;
}
.banner-phone img{
    height: 400px;
}
.banner-phone h1{
    font-size: 65px;
    margin-bottom: 200px;
    margin-top: -300px;
}
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

