/*
	CSS personalizado para 08 COMPROMISO SOCIAL
*/

/**************************************** GAMA DE COLORES ****************************************/

/*    Rojo Oscuro: DD0000 rgb(221,  0,  0) */
/*           Gris: 999999 rgb(153,153,153) */
/*     Rojo Medio: F3A6A6 rgb(243,166,166) */
/*     Rojo Claro: F9D2D2 rgb(249,210,210) */
/* Rojo Muy Claro: FDEDED rgb(253,237,237) */
/*          Beige: CB9D61 rgb(203,157, 97) */

/************************************ MODIFICADOS DE syle-home ***********************************/

/******************************************* GENERALES *******************************************/

.page-template-page-08-compromiso .entry-content *               { line-height: 120%; }
.page-template-page-08-compromiso .entry-content p               { margin: 10px 0px; text-align: justify; font-size: 16px; }
.page-template-page-08-compromiso .entry-content p:first-of-type { margin-top: 0px; }

.page-template-page-08-compromiso .entry-content img { padding: 4px; background: #FFFFFF; border: solid 1px #999999; }
.page-template-page-08-compromiso .entry-content ul  { margin: 0px; list-style-type: disc; }
.page-template-page-08-compromiso .entry-content li  { margin-left: 0px; }
.page-template-page-08-compromiso .entry-content h1  { font-size: 30px; font-weight: 700; }

.page-template-page-08-compromiso .divHeading    { margin-bottom: 30px; text-align: center; }
.page-template-page-08-compromiso .divHeading h1 { font-family: var(--font-family-narrow); font-size: 40px; font-weight: 700; color: #FFFFFF !important; }
.page-template-page-08-compromiso .divHeading h2 { margin-top: 10px !important; padding: 10px 40px; min-width: 180px; border-top: solid 4px #FFFFFF; display: inline-block; }
.page-template-page-08-compromiso .divHeading h2 { font-size: 24px; font-weight: 600; color: #FFFFFF !important; }

@media (max-width: 980px) { .page-template-page-08-compromiso .divHeading { margin-bottom: 25px 0px; } }
@media (max-width: 580px) { .page-template-page-08-compromiso .divHeading { margin-bottom: 20px 0px; } }

@media (max-width: 780px) { .page-template-page-08-compromiso .divHeading h1 { font-size: 36px; } }
@media (max-width: 580px) { .page-template-page-08-compromiso .divHeading h1 { font-size: 32px; } }
@media (max-width: 780px) { .page-template-page-08-compromiso .divHeading h2 { font-size: 22px; } }
@media (max-width: 580px) { .page-template-page-08-compromiso .divHeading h2 { font-size: 20px; } }
@media (max-width: 480px) { .page-template-page-08-compromiso .divHeading .iDot { font-size: 0px; line-height: 5px; display: block; } }

.page-template-page-08-compromiso .entry-content .ulIdiomas                  { list-style-type: none; }
.page-template-page-08-compromiso .entry-content .ulIdiomas .liIdioma:before { content: ""; float: left; background-size: cover; width: 16px; height: 16px; margin-left: -24px }
.page-template-page-08-compromiso .entry-content .liES:before                { background:url("/wp-content/uploads/es_circle.png"); }
.page-template-page-08-compromiso .entry-content .liEN:before                { background:url("/wp-content/uploads/en_circle.png"); }
.page-template-page-08-compromiso .entry-content .liCN:before                { background:url("/wp-content/uploads/cn_circle.png"); }

/******************************************* #rowIntro *******************************************/

#rowIntro .divIntro                    { display: flex; border-bottom: solid 4px var(--color2-hex); }
#rowIntro .divIntro .divFoto           { flex: 0 0 40%; background-image: url("/wp-content/uploads/foto_compromiso_intro_1.jpg"); }
#rowIntro .divIntro .divFoto           { background-color: #DFD8BC; background-position: right; background-repeat: no-repeat; background-size: contain; }
#rowIntro .divIntro .ulIdiomas         { flex: 0 0 60%; padding: 50px; background: var(--colorBeige-hex); }
#rowIntro .divIntro .ulIdiomas li      { margin-bottom: 30px; max-width: 700px; }
#rowIntro .divIntro .ulIdiomas li.liCN { margin-bottom: 0px; }
#rowIntro .divIntro .ulIdiomas p       { font-size: 16px; color: #FFFFFF; }
#rowIntro .divIntro .ulIdiomas h2      { font-size: 20px; font-weight: 700; color: #FFFFFF; }

@media (max-width: 980px) {
	#rowIntro .divIntro .divFoto   { flex: 0 0 50%; }
	#rowIntro .divIntro .ulIdiomas { flex: 0 0 50%; }
	#rowIntro .divIntro .ulIdiomas { padding: 40px 40px 40px 60px; }
}

@media (max-width: 780px) {
	#rowIntro .divIntro .ulIdiomas    { padding: 30px 30px 30px 50px; }
	#rowIntro .divIntro .ulIdiomas li { margin-bottom: 25px; }
	#rowIntro .divIntro .ulIdiomas p  { font-size: 14px; }
}

@media (max-width: 680px) {
	#rowIntro .divIntro .divFoto      { background-position: top;}
	#rowIntro .divIntro .ulIdiomas    { padding: 20px 20px 20px 40px; }
	#rowIntro .divIntro .ulIdiomas li { margin-bottom: 20px; }
	#rowIntro .divIntro .ulIdiomas p  { font-size: 13px; }
}

@media (max-width: 580px) {
	#rowIntro .divIntro               { flex-wrap: wrap; }
	#rowIntro .divIntro .divFoto      { background-image: url("/wp-content/uploads/foto_compromiso_intro_2.jpg"); }
	#rowIntro .divIntro .divFoto      { flex: 0 0 100%; height: 300px; background-position: center center; }
	#rowIntro .divIntro .ulIdiomas    { flex: 0 0 100%; }
	#rowIntro .divIntro .ulIdiomas li { margin-bottom: 15px; }
}

/******************************************* #rowGallery *****************************************/

#rowGallery .divGallery                      { padding: 0px 20px; }
#rowGallery .divGallery .rl-gallery-item     { margin: 5px; width: calc(12.5% - 10px); }
#rowGallery .divGallery .rl-gallery-item a   { border: none; line-height: 0px; }
#rowGallery .divGallery .rl-gallery-item img { padding: 1px; }

@media (max-width: 980px) { #rowGallery .divGallery .rl-gallery-item { width: calc(25.00% - 10px) !important; } }
@media (max-width: 780px) { #rowGallery .divGallery .rl-gallery-item { width: calc(33.33% - 10px) !important; } }
@media (max-width: 580px) { #rowGallery .divGallery                  { padding: 0px 10px; } }
@media (max-width: 480px) { #rowGallery .divGallery .rl-gallery-item { width: calc(50.00% - 10px) !important; } }
@media (max-width: 380px) { #rowGallery .divGallery .rl-gallery-item { width: calc(90.00% - 10px) !important; margin: auto !important; } }

@media (max-width: 480px) { #rowIntro .divIntro .divFoto { height: 200px; } }
