/*********************************************************************************
 * This file is part of Myddleware.

 * @package Myddleware
 * @copyright Copyright (C) 2013 - 2015  St�phane Faure - CRMconsult EURL
 * @copyright Copyright (C) 2015 - 2016  St�phane Faure - Myddleware ltd - contact@myddleware.com
 * @link http://www.myddleware.com	
 
 This file is part of Myddleware.
 
 Myddleware is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 Myddleware is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with Myddleware.  If not, see <http://www.gnu.org/licenses/>.
*********************************************************************************/

#panel .onoffswitch {
    position: relative; width: 170px;
    -webkit-user-select:none;
    -moz-user-select:none; 
    -ms-user-select: none;
    top: 5px; right: 5px;
}
#panel .onoffswitch-checkbox {
    display: none;
}
#panel .onoffswitch-label {
    display: block; 
    overflow: hidden; 
    cursor: pointer;
    border: 2px solid #999999; 
    border-radius: 0px;
}
#panel .onoffswitch-inner {
    display: block; 
    width: 200%; 
    margin-left: -100%;
    -moz-transition: margin 0.3s ease-in 0s;
    -webkit-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s; 
    transition: margin 0.3s ease-in 0s;
}
#panel .onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; 
    float: left;
    width: 50%; height: 30px; 
    padding: 0; 
    line-height: 26px;
    font-size: 14px; 
    color: white; 
    font-family: Trebuchet, Arial, sans-serif; 
    font-weight: bold;
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
    border: 2px solid transparent;
    background-clip: padding-box;
}
#panel .onoffswitch-inner:before {
    padding-left: 10px;
    background-color: #0069B4; color: #FFFFFF;
}
#panel .onoffswitch-inner:after {
    padding-right: 10px;
    background-color: #CCCCCC; color: #333333;
    text-align: right;
}
#panel .onoffswitch-switch {
    display: block; 
    width: 25px; 
    height: 34px; 
    margin: 0px;
    background: #444446;
    position: absolute; 
    top: 0; 
    bottom: 0; 
    right: 145px;
    -moz-transition: all 0.3s ease-in 0s; 
    -webkit-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s; 
    transition: all 0.3s ease-in 0s; 
}
#panel .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
#panel .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}

#panel #listing-solutions-container {
	height: 75px;
}
#panel #listing-solutions-container > div, #panel #listing-solutions-container > button {
	display: inline-block;
}
#panel #listing-solutions-container button {
	width: 50px;
	height: 75px;
	vertical-align: top;
}
#panel .scroll-img {
	border: 1px solid #ccc;
	border-radius: 4px;
	width: 697px;
	height: 75px;
	overflow: hidden;
	font-size: 0;
}
#panel .scroll-img ul {
	width: 2500px;
	height: 600px;
	margin: 0;
	padding-left: 0;
	text-align: left;
}
#panel .scroll-img ul li {
	width: 64px;
	height: 64px;
	display: inline-block;
	margin: 5px 0 5px 5px;
}
#panel .scroll-img img{
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}
#panel .scroll-img img:hover{
    filter: none;
    -webkit-filter: none;
    -moz-filter: none;
    -ms-filter: none;
    -o-filter: none;
	cursor: pointer;
}
#panel .scroll-img a{
	width: 64px;
	height: 64px;
}
.banner{
    font-size: 0.9em;
    border-radius: 6px;
    padding-left: 10px;
    padding-right: 50px;    
    top: 69px;
    left: -209px;
    color: #d40015;
    border: solid 0.5px #DC3545;
    background-color: rgb(249, 155, 155);
}

/* NEW HOME */

#myd_title:has(.homepage_welcome) {
    height: 553px !important;
    background: linear-gradient(135deg, #2c2c54, #03c4eb) !important;
    color: white !important;
}

.homepage_welcome {
    text-align: center;
}
 

.homepage_welcome_text{
    font-size: large;
    color: #ffffff;
}

#bnt_welcome{
    font-size: 1.15em;
    border-radius: 30px !important;
}

#bnt_welcome:hover{
    background-color: white;
    color: #03c4eb;
    border: solid #03c4eb;
}

.solution-home-section{
    min-height: 265px !important;
    margin-top: 50px !important;
    background-color: #f8f9f9 !important;
}

.inline-images {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.inline-images li {
    margin-right: 15px;
}

.inline-images img {
    max-width: 100px;
    height: auto;
}

.title_section_homepage{
    font-weight: bold !important;
}
.title-solution-home{
    margin-top: 25px;
}

.contact-panel {
    margin: 0em 10em 0em 10em;
    display: flex;
    flex-direction: column;
}

/* .contact-panel-1{
    border-right: 1px solid #444446;
} */

.contact-panel h4 {
    margin-bottom: 10px;
}

.contact-panel p {
    margin-bottom: 5px;
}

.icon_small_homepage{
    width: 50px;
    height: 60px;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#countNbDocuments {
    font-size: xx-large;
    font-weight: bold;
}

.title_countNbDocuments{
    color :#777777;
}

.error_rule_homepage{
    text-decoration: none;
    color: #777777;
}

.error_rule_homepage:hover{
    color: #03c4eb;
    font-weight: bold;
}

.home_fa_info_circle {
    width: 25px !important;
    height: 25px !important;
    position: relative;
}

.extra-text {
    background-color: white;
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    padding: 5px;
    border-radius: 16px;
    color: #000000;
}

.toggle-btn-homepage {
    position: relative;
    transition: height 0.3s ease;
    overflow: hidden;
    display: flex !important;
    flex-wrap: wrap;
    background-color: #444446 !important;
    border-color: #444446 !important;
}

.toggle-btn-homepage:hover {
    background-color: #444446 !important;
    border-color: #444446 !important;
} 
.toggle-btn-homepage p {
    width: 100%;
    margin-bottom: 0;
}

.toggle-btn-homepage span {
    width: 100%;
}

.toggle-btn-homepage div {
    position: absolute;
}

.solution-home-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.solution-home-scroll-container {
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
}

.solution-home-scroll {
    display: flex;
}

.solution-home-item {
    flex: none;
    margin: 0 10px;
    padding: 5px;
    background-color: white;
    border: 0.5px solid #7777;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.solution-home-item img {
    max-height: 100px;
}

.scroll-right .solution-home-scroll {
    animation: scrollRightAnimation 50s linear infinite;
    white-space: nowrap;
}

.scroll-left .solution-home-scroll {
    animation: scrollLeftAnimation 50s linear infinite;
    white-space: nowrap;
}

@keyframes scrollRightAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%));
    }
}

@keyframes scrollLeftAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(50%));
    }
}

.home-contact{
    color: #03c4eb;
    font-weight: bold;
    text-decoration: none;
}

.icon_history_nav_bar{
    left:200px;
}
.social-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
}

.social-bar .line {
    flex-grow: 1;
    height: 1px;
    background-color: #777777;
    padding: 1px 300px;
}

.social-bar .icons {
    display: flex;
    gap: 30px;
}

.social-bar .icon {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-bar .icon:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.social-bar .facebook {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/5/51/Facebook_f_logo_%282019%29.svg');
}

.social-bar .youtube {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/4/42/YouTube_icon_%282013-2017%29.png');
}

.social-bar .linkedin {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/c/ca/LinkedIn_logo_initials.png');
}

.social-bar .twitter {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/c/cc/X_icon.svg');
}

@media (min-width: 2000px) {
	.icon_navbar{
		margin-left: 220px;
	}

	.icon_history_nav_bar {
		left: 305px;
	}
    .logo-nav {
        margin-right: 265px;
    }
}

@media (min-width: 2440px) {
	.icon_navbar{
		margin-left: 580px;
	}

	.icon_history_nav_bar {
		left: 680px;
	}
    .logo-nav {
        margin-right: 557px;
        margin-left: 70px;
    }
}
