/*
Theme Name: ICACCI Online
Theme URI: http://icacci.org
Author: ICACCI Team
Author URI: http://icacci.org
Description: WordPress theme converted from static ICACCI website with Polylang support
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: icacci-online
*/

body {
	background-color: #130802;
	background-image: url(images/screen.png);
	background-repeat: repeat;
	background-size: cover;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	color: white;
	font: lighter normal 14px/normal Arial, Helvetica, sans-serif;
	text-transform: none;
	color: #FFFFFF;
	text-decoration: none;
	text-align: justify;
}

a {
	font: normal 14px/normal Arial, Helvetica, sans-serif;
	text-transform: none;
	color: #DDBA81;
	text-decoration: none;
}

p {
	text-indent: 20px;
}

li {
	padding-bottom: 10px;
}

.langlink {
	font: normal 16px/normal Arial, Helvetica, sans-serif
}

#response_email {
	display: none; color : red;
	padding: 20px 0px;
	font-size: 15px;
	color: red;
}

.main {
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	width: 100%;
	max-width: 1000px;
	background-image: url(images/background.jpg);
	background-repeat: no-repeat;
	background-color: #130802;
	box-shadow: 0px 0px 10px 7px rgba(8, 8, 8, 0.3);
	-webkit-box-shadow: 0px 0px 10px 7px rgba(8, 8, 8, 0.3);
	-moz-box-shadow: 0px 0px 10px 7px rgba(8, 8, 8, 0.3);
	filter: progid:DXImageTransform.Microsoft.Shadow(color=#ababab, direction=90, strength=10) progid:DXImageTransform.Microsoft.Shadow(color=#ababab, direction=180, strength=10) progid:DXImageTransform.Microsoft.Shadow(color=#ababab, direction=270, strength=10);
}

.subheader {
	font: normal 21px Arial, Helvetica, sans-serif;
	color: #000000;
	text-align: center;
	padding-top: 120px;
}

.main-text {
	margin-top: 40px;
	margin-left: 50px;
	margin-right: 50px;
	padding: 50px;
	background-image: url(images/text-transparent.png);
	margin-bottom: 20px;
}

.paragraphs {
	color: #FFFFFF;
	text-align: justify;
	-moz-column-width: 375px;
	-moz-column-gap: 3.5em;
	-webkit-column-width: 375px;
	-webkit-column-gap: 3.5em;
	column-width: 375px;
	column-gap: 3.5em;
}

h1 {
	font: normal 20px Arial, Helvetica, sans-serif;
	color: #CCCCCC;
	margin-top: 0px;
	margin-bottom: 40px;
}

h2 {
	font: bolder normal 15px Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-indent: 0px;
	margin: 0;
}

.center {
	text-align: center;
}

#contact label.msg {
	display: block
}

#contact .input_valid {
	width: 100%;
}

.copyright {
	font: 10px Arial, Helvetica, sans-serif;
	color: #999999;
	text-align: right;
	padding: 30px;
}

/* Media Queries */
@media (max-width: 768px) {
	.main {
		max-width: 95%;
	}
	.main-text {
		margin-left: 20px;
		margin-right: 20px;
		padding: 20px;
	}
	.message-box {
		column-count: 1;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 16px;
	}
	.main-text {
		margin-left: 10px;
		margin-right: 10px;
		padding: 10px;
	}
	.paragraphs {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}
}

/* Language switcher horizontal list */
.language-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    direction: ltr;
}

.language-switcher ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.language-switcher ul li {
    display: inline-block;
    margin: 0 15px;
    position: relative;
}

.language-switcher ul li:after {
    content: "|";
    position: absolute;
    right: -15px;
    top: 0;
}

.language-switcher ul li:last-child:after {
    content: none;
}

/* Article title */
.article-title {
    color: #DDBA81;
    font-size: 18px;
    margin: 20px 50px 10px;
    text-align: center;
}

/* Summary and message boxes */
.summary-box, .message-box {
    border: 1px solid #DDBA81;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin: 20px 20px;
    border-radius: 5px;
}

.summary-box {
    font-weight: bold;
    font-size: 16px;
}

.message-box {
    font-size: 15px;
    column-count: 2;
    column-gap: 40px;
    text-align: justify;
}

/* Contact form styles */
#contact-form-section {
    border-top: 2px solid #DDBA81;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
}

#contact .contenu {
    max-width: 600px;
    margin: 0 auto;
}

#contact label.msg {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #DDBA81;
    font-weight: bold;
}

#contact .input_valid {
    width: 100%;
    padding: 8px;
    border: 1px solid #DDBA81;
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    border-radius: 3px;
    font-size: 14px;
}

#contact .input_valid:focus {
    outline: none;
    border-color: #DDBA81;
    box-shadow: 0 0 5px rgba(221, 186, 129, 0.5);
}

#contact textarea.input_valid {
    resize: vertical;
    min-height: 120px;
}

#contact input[type="submit"] {
    background-color: #DDBA81;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

#contact input[type="submit"]:hover {
    background-color: #c9a66b;
}

.form-message {
    text-align: center;
    font-weight: bold;
}

.form-message.success {
    background-color: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb !important;
}

.form-message.error {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb !important;
}

/* Styles pour le formulaire de contact intégré dans les colonnes */
.contact-form-inline {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-top: 20px;
    padding: 20px;
    background-color: #000000;
    border: 2px solid #333333;
    border-radius: 8px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Titre du formulaire */
.contact-form-inline h3 {
    color: #ffffff;
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 20px;
    margin-top: 0;
    line-height: 1.4;
}

.contact-inline .contact-field {
    margin-bottom: 15px;
}

.contact-inline label.msg {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    text-align: left;
}

.contact-inline .input_valid {
    width: 100%;
    padding: 10px;
    border: 1px solid #666666;
    background-color: #ffffff;
    color: #000000;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-inline .input_valid:focus {
    outline: none;
    border-color: #999999;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.contact-inline textarea.input_valid {
    resize: vertical;
    min-height: 120px;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-submit {
    text-align: center;
    margin-top: 20px;
}

.contact-inline input[type="submit"] {
    background-color: #f0f0f0;
    color: #000000;
    border: 1px solid #cccccc;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-inline input[type="submit"]:hover {
    background-color: #e0e0e0;
    border-color: #999999;
}

/* Assurer que le formulaire reste dans une colonne */
@media (min-width: 769px) {
    .contact-form-inline {
        column-span: none;
        display: inline-block;
        width: 100%;
        vertical-align: top;
    }
}
