/* Moved from inline <style> blocks in includes/itg.cfm. */

.itg-logo {
    width: 100%;
    text-align: center;
    margin: 64px auto 48px auto;
}
.itg-logo img {
    margin: 0 auto;
}

.itg-container {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  grid-template-rows: max-content;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas: "Photo Text";
  background-color: #0c6fc7 !important;
  background-image: url(../images/ITG/flag.bg.jpg);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  /*justify-items: center;
  align-items: center;*/
	}

.itg-container.equal {
  grid-template-columns: 1fr 1fr; }

.itg-container.bigphoto {
  grid-template-columns: 1.5fr 0.5fr; }

.itg-container.alt {
  grid-template-columns: 1.5fr 0.5fr;
  grid-template-areas: "Text Photo"; }

.itg-container.alt.equal {
  grid-template-columns: 1fr 1fr; }

.itg-container.alt.bigphoto {
  grid-template-columns: 0.5fr 1.5fr;
  grid-template-areas: "Text Photo"; }

.Photo {
  grid-area: Photo;
  background-size: cover; }

.Text {
  grid-area: Text;
  padding: 5rem;
  color: #fff;
  font-family: Montserrat, sans-serif !important;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: .02em;
  align-content: center;
}

.Text h3 {
  font-family: Montserrat, sans-serif !important;
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 1.6rem; }

.Text p {
  /*font-family: "museo", serif;
  font-weight: 500;
  font-style: normal;*/ }
	
	.Text a {
		display: inline-block;
		padding: 15px 20px;
		margin-top: 20px;
		text-decoration: none;
		color: #000;
		background: #fff;
		font-weight: 700;
	}

@media only screen and (max-width: 1024px) {
  .itg-container, .itg-container.equal {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: max-content max-content;
    grid-template-areas: "Photo" "Text"; }

  .Photo {
    padding-top: 0;
    padding-bottom: 0; }
  .Text {
	 padding: 2.5rem; 
	}
}

.video-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}
select.inmenu {
    -moz-appearance: auto;
    -webkit-appearance: auto;
    border-style: solid;
    background-color: #fff;
    padding: 8px;
    font-size: large;
}

#variants table {
    width: 100%;
    border-collapse: collapse;
    max-width: 960px;
    margin: 0 auto;
}
            .flex-container {
                  display: flex;
                  flex-wrap: wrap;
                  gap: 20px;
                }

                .flex-item {
                  flex: 1 0 calc(25% - 20px);
                  background: white;
                  padding: 20px;
                  border: 1px solid #ddd;
                  border-radius: 8px;
                  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
                  display: flex;
                  flex-direction: column;
                  justify-content: space-between;
                  min-height: 400px; /* adjust as needed */
                }
                .flex-item a {
                    text-decoration: none;
                }
                .flex-item a .row-text {
                    text-decoration: none;
                    color: #000;
                }

                .row-image {
                  /*height: 100px;*/
                  background: #fff;
                  margin-bottom: 10px;
                }
                
                .img-contain {
                  width: 100%;
                  height: 100%;
                  object-fit: contain;
                  display: block;
                }

                .row-text {
                  flex-grow: 1;
                  margin-top: 24px;
                  margin-bottom: 10px;
                  text-align: center;
                }

                .row-button {
                  text-align: center;
                  margin: 24px auto;
                }

                /* Tablet: 3 columns */
                @media (max-width: 1024px) {
                  .flex-item {
                    flex: 1 0 calc(33.333% - 20px);
                  }
                }

                /* Mobile: 2 columns */
                @media (max-width: 900px) {
                  .flex-item {
                    flex: 1 0 calc(50% - 20px);
                  }
                }

                /* Very small devices */
                @media (max-width: 800px) {
                  .flex-item {
                    flex: 1 0 100%;
                  }
                }
