/*
* Telegram Media Grupa CSS Framework
* by TG Studio
*/

/* CSS Reset */

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
code,
del,
dfn,
em,
img,
q,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
dialog,
figure,
footer,
header,
hgroup,
nav,
section {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
  list-style: none;
}

.main-container {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Basics */

body {
  -webkit-font-smoothing: antialiased;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

:focus {
  outline: none;
}

/* Typography */

b,
strong,
.bold {
  font-weight: 700;
}

.superbold {
  font-weight: 900;
}

i,
em,
.italic {
  font-style: italic;
}

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

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

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

.float-right {
  float: right;
}

.white-text {
  color: white;
}

.white-bg {
  background-color: white;
}
.brown-bg {
  background-color: #f1e3d7;
}

.strikethrough {
  text-decoration: line-through;
}

.all-caps {
  text-transform: uppercase;
}

.all-small {
  text-transform: lowercase;
}

/* Media */

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.yt-embed {
  width: 100%;
  max-width: 710px;
  height: 400px;
}

.vertical-yt-embed {
  width: 100%;
  max-width: 50.625vh;
  height: 90vh;
}

/* Layout */

.relative {
  position: relative;
}

.flex {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
}

.wrap {
  flex-wrap: wrap;
}

.stretch {
  align-items: stretch;
}

.stretchtwo {
  align-content: stretch;
}

.no-wrap {
  flex-wrap: nowrap;
}

.flex-wrap {
  flex-wrap: wrap;
}

.half {
  width: 49.99%;
}

.fourth {
  width: 24.99%;
}

.fifth {
  width: 19.99%;
}

.eighty {
  width: 79.99%;
}

.ninety {
  width: 89.99%;
}

.third {
  width: 33.33%;
}

.two-thirds {
  width: 66.66%;
}

.full {
  width: 100%;
}

.five-sixths {
  width: 83.33%;
}

.sixth {
  width: 16.66%;
}

.eighth {
  width: 12.49%;
}

.seventy {
  width: 69.99%;
}

.three-fourths {
  width: 74.99%;
}

.forty {
  width: 39.99%;
}

.sixty {
  width: 59.99%;
}

.thirty {
  width: 29.99%;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.vertical-center {
  align-content: center;
}

.alt-vertical-center {
  align-items: center;
}

.hide {
  display: none !important;
}

.mobile-only {
  display: none;
}

.align-children-end {
  justify-content: flex-end;
}

.align-children-bottom {
  align-content: flex-end;
}

.align-end {
  align-self: flex-end;
}

.reset-flex-order > * {
  order: initial !important;
}

.stretch-height {
  min-height: 90vh;
}

span.ib {
  display: inline-block;
}

/* Style */

.img-as-bg {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faded-50,
.faded {
  opacity: 0.5;
}

.faded-70 {
  opacity: 0.7;
}

.clickable {
  cursor: pointer;
}

.animate,
svg {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Media Queries */
@media screen and (max-width: 1240px) {
  .tablet-full {
    width: 100%;
  }

  .tablet-half {
    width: 49.99%;
  }
}

@media screen and (max-width: 767px) {
  .mobile-only {
    display: inherit;
  }

  .desktop-only {
    display: none;
  }

  .flex-responsive {
    width: 100%;
  }

  .mobile-half {
    width: 49.99%;
  }

  .mobile-third {
    width: 33.33%;
  }

  .mobile-two-thirds {
    width: 66.66%;
  }

  .mobile-fourth {
    width: 24.99%;
  }

  .mobile-thirty {
    width: 29.99%;
  }

  .mobile-forty {
    width: 39.99%;
  }

  .mobile-three-fourths {
    width: 74.99%;
  }

  .yt-embed {
    height: 51.5vw;
  }

  .vertical-yt-embed {
    height: 163.5vw;
  }
}
