:root{
    --color-default: rgb(206 20 44);
    --color-grey: #F3F1F1;
}
body{
    font-size: 17px;
}

.mt10{
    margin-top: 10px;
}

.mt20{
    margin-top: 20px;
}

.mt30{
    margin-top: 30px;
}

.mt40{
    margin-top: 40px;
}

.mt50{
    margin-top: 50px;
}

.mt60{
    margin-top: 60px;
}

.mt70{
    margin-top: 70px;
}

.mt80{
    margin-top: 80px;
}

.mt90{
    margin-top: 90px;
}

.mt100{
    margin-top: 100px;
}

.font-10{
    font-size: 10px !important;
}

.font-12{
    font-size: 12px !important;
}

.font-14{
    font-size: 14px !important;
}

.font-16{
    font-size: 16px !important;
}

.font-18{
    font-size: 18px !important;
}

.font-20{
    font-size: 20px !important;
}

.font-22{
    font-size: 22px !important;
}

.font-24{
    font-size: 24px !important;
}

.font-26{
    font-size: 26px !important;
}

.font-28{
    font-size: 28px !important;
}

.font-30{
    font-size: 30px !important;
}

.bold{
    font-weight: bold !important;
}

.text-center{
    text-align: center;
}

.text-left{
    text-align: left;
}

.text-right{
    text-align: right;
}

.text-justify{
    text-align: justify;
}

.popup{
    position: fixed;
    background: rgba(0,0,0,0.40);
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    z-index: 10;
    display: none;
}

.popup-info .popup-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0.5rem;
    width: 70%;
    height: 80%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    height: 30px;
    border-bottom: 1px solid #d7d7d7;
}

.popup-header .title{
    font-size: 24px;
    color: var(--color-default);
}

.close-popup{
    cursor: pointer;
}

.popup-info .popup-body{
    background: transparent;
    display: flex;
    /*flex-direction: column;*/
    height: calc(100% - 90px);
    justify-content: center;
}

.popup-info .popup-body .content{
    width: 50%;
    height: 100%;
    padding: 0 20px;
    margin: 20px 0;
    color: #000000;
    line-height: 1.5;
    overflow-x: hidden;
}

/*.popup-body .content_info{*/
/*    overflow-x: hidden;*/
/*    overflow-y: auto;*/
/*}*/

.content_info img{
    max-width: 100%;
    max-height: max-content;
}

.content_info p:first-child{
    margin-top: 0;
}

.content_info p:last-child{
    margin-bottom: 0;
}

.content_video/*, .content_image*/{
    overflow: hidden !important;
}

.content_image{
    overflow: hidden !important;
}

.popup-body div.active{
    display: block;
}

.popup-footer{
    height: 60px;
    box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.btn_action{
    width: 40px;
    height: 40px;
    cursor: pointer;
}

#btn_video{
    background-image: url("../../external/images/video.svg");
}

#btn_image{
    background-image: url("../../external/images/image.svg");
}

#btn_info{
    background-image: url("../../external/images/info.svg");
}

#btn_video.active{
    background-image: url("../../external/images/video_active.svg");
}

#btn_image.active{
    background-image: url("../../external/images/image_active.svg");
}

#btn_info.active{
    background-image: url("../../external/images/info_active.svg");
}

.btn_action:hover{
    scale: 1.2;
}

.hidden{
    display: none !important;
}

.slick-prev:before{
    content: url("../../external/images/prev.svg");
}

.slick-next:before{
    content: url("../../external/images/next.svg");
    opacity: 1;
}

.slick-slider{
    margin-bottom: 0;
}

.g_slider_img {
    width:100%;
    height: 100%;
    margin:0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.g_slider_img .slider-for, .g_slider_img .slick-list, .g_slider_img .slick-track{
    height: 100%;
}

.g_slider_img .slider-for{
    height: 80%;
    background: #9e9e9e2e;
}

.g_slider_img .slider-for img{
    height: 100%;
    object-fit: contain;
}

.g_slider_img .slider-nav{
    height: calc(100% - (80% + 20px));
    width: 90%;
    margin-left: 5%;
}

.g_slider_img .slider-nav img{
    /*height: 80px;*/
    object-fit: contain;
    background: #9E9E9E;
}



.popup-contact .popup-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0.5rem;
    max-width: 90%;
    width: 500px;
    height: 500px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.popup-contact .popup-body{
    padding: 20px;
    height: calc(100% - 51px);
    overflow-x: hidden;
    overflow-y: auto;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 1rem;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 700;
}

label {
    user-select: none;
    display: inline-block;
    margin-bottom: .5rem;
    color: #000000;
}

.form-control {
    width: calc(100% - 20px);
    padding: 10px;
    font-size: 1rem;
    font-weight: 400;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s
    ease-in-out, box-shadow .15s
    ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: inset 0 0 0 transparent;
}

textarea{
    min-width: calc(100% - 20px);
    max-width: calc(100% - 20px);
}

.required::after{
    content: ' *';
    color: red;
}

#btn-submit{
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: none;
    outline: none;
    border: none;
    float: right;
    padding: 13px 30px;
    border-radius: 5px;
    margin-top: 5px;
    cursor: pointer;
}

small.error.text-danger {
    color: red;
    font-style: italic;
}




#notify-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notify {
    min-width: 250px;
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    position: relative;
}

.notify.show {
    opacity: 1;
    transform: translateX(0);
}

.notify.success { background: #28a745; }
.notify.error   { background: #dc3545; }
.notify.warning { background: #ffc107; color: #000; }
.notify.info    { background: #17a2b8; }
