/*-------------------------------------*/
/*                                    */
/*------------------------------------*/

.evt-smsection{
    padding: 0px 40px 0px;
}

.evt-section{
    margin: 70px 40px 120px;
}

body label{
    color: #5b6284;
}
.p-color{
    color:#5b6284
}
.tittle {
    color:  #5b6284;
}
body input{
  border: solid 1px #5b6284;
  border-radius: 3px;
  color: #5b6284;
  padding: 5px 10px;
}
#program{
    border: solid 1px #5b6284;
    border-radius: 3px;
    color: #5b6284;
    padding: 5px 10px;
  }

body button{
    border: solid 1px #5b6284;
    border-radius: 3px;
    color: #5b6284;
    padding: 5px 10px;
  }
body textarea{
    border: solid 1px #5b6284;
    border-radius: 3px;
    color: #5b6284;
    padding: 5px 10px;
  }
#file-upload-button {
    display: none;
}

/*-------------------------------------*/
/*             All  Event             */
/*------------------------------------*/

.u-repeater-event{
    display: grid;
    grid-template-columns:25% 25% 25% 25%;
    height: 100%;
    justify-items: center;
    }
.layout-event{
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    width:90%;
}
.layout-img{
    align-content: end;
}
.img-1{
width: 100%;
height: 200px;
object-fit: cover;

}

.text-1{
    margin: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    display: -webkit-box;       
    -webkit-line-clamp: 1;     
    -webkit-box-orient: vertical;
    overflow: hidden;          
    text-overflow: ellipsis;   
    margin-bottom: 0;
}

.text-comment{
    margin: 10px;
    text-align: center;
    font-size: 16px;
    display: -webkit-box;       
    -webkit-line-clamp: 1;     
    -webkit-box-orient: vertical;
    overflow: hidden;          
    text-overflow: ellipsis;   
    margin-top: 0;
}

.text-2{
    display: -webkit-box;       
    -webkit-line-clamp: 3;      /* contorl to 3 row only */
    -webkit-box-orient: vertical; 
    overflow: hidden;       
    text-overflow: ellipsis;     
    margin: 10px;
    line-height: 1.5em;         
    height: 4.5em; 
    font-size: 16px;
}

.date{
    margin: 10px;
    font-weight: bold;
    margin-bottom: 5px;
    z-index: 10;
}

.event-button{
    width:33.33333%;
    text-align: center;
    align-content: center;
    text-decoration: none !important;
    height: 40px;
    border: 1px solid #5b6284;
    background-color: white;
    transition: background-color 0.6s ease;
    color:#5b6284 !important;
}   
.event-button:hover{
background-color: #eaeaea;
}

.event-button-delete{
    background-color: rgb(210, 30, 30);
    color:#ffffff !important;
}
.event-button-delete:hover{
    background-color: rgb(193, 3, 3);
    }
.event-button-text{
    margin: 0;
}

.add-new-btn:hover{
    background-color: #59a2e7;
    border: #59a2e7 1px solid ;
}
.add-new-btn{
    background-color: #72b0ea;
    border: #72b0ea 1px solid ;
    color: #ffffff;
    margin-left: 1.2%;
}

#success_message {
    text-align: center;
    padding: 20px;
    border: 2px solid #5b6284;
    background-color: #ffffff;
    position: fixed;
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%); 
    display: flex; 
    justify-content: center; 
    align-items: center;
    display: none;
    z-index:1;
   
  }

  .delete-text-1{
    font-size: 30px;
  }
  #go_home{
    margin: 0 10px;
  }
  .btn-delete{
    background-color: rgb(210, 30, 30);
    color:#ffffff !important;
  }
/*-------------------------------------*/
/*           Preview Event            */
/*------------------------------------*/
.u-repeater-display{
    display: grid;
    grid-template-columns:62.6666% 37.3333%;
    height: 100%;
    }
.display-layout-2{
    margin-left: 40px;
    align-content: center;
}

.display-title{
   text-align:center; 
   margin:42px; 
   font-family:Oswald, sans-serif; 
   font-size:60px;  
   color: #5b6284;
}
.display-comment{
    font-family:'Open Sans',sans-serif ; 
    font-size:30px;  
    color: #5b6284;
    margin-bottom: 30px;
 }
.display-img{
    width: 100%;
}
.display-text-1{
    font-weight: bold;
    font-family:'Open Sans',sans-serif ; 
    font-size:40px;  
    color: #5b6284;
}
.display-date{
    margin: 0;
    margin-left:2px;
    font-size: 25px;
}
.display-text-2{
    margin: 20px 0px;
    font-size: 20px;
}
.first-td{
    width:50px
}
/*-------------------------------------*/
/*              Add Event             */
/*------------------------------------*/
.butn{
    width:90px;
    height: 44px;
}
.cancel-btn{
    background-color: #6c757d;
    border: #6c757d 1px solid ;
    color:white;
}

.cancel-btn:hover{
    background-color: #5c636a;

}
.add-btn{
    background-color: #72b0ea;
    border: #adcce9 1px solid ;
    color: #ffffff;
}
.add-btn:hover{
    background-color: #59a2e7;
}
.evt-form-layout{
    display:flex; 
    gap:20px;
}
.error-message{
    color: #ff0000;
   position: absolute;
   font-size: 15px;
  }
.input-error {
    border: 1px solid #ff0000;
  }
/*-------------------------------------*/
/*             Index.html             */
/*------------------------------------*/

.home-evt-title{
    margin-bottom: 80px;
}




/*-------------------------------------*/
/*          Responsive Layout         */
/*------------------------------------*/




@media(max-width:1300px){/* Laptop VERSION*/
    .u-repeater-event{
        grid-template-columns:33.333333% 33.333333% 33.333333%;  
        }
    .add-new-btn{
        margin-left: 1.5%;
        }
  }

  @media(max-width:992px){
    .u-repeater-event{
        grid-template-columns:50% 50%;  
        }
    .add-new-btn{
        margin-left: 2.5%;
        }
    .u-repeater-display{
        grid-template-columns:100%;
        }
    .display-layout-2{
        margin-left: 0;
        }
    .evt-form-layout{
        display:block; 
        }
    .layout-addevt-content{
        margin-top: 20px;
    }
  }
  
  @media(max-width:700px){/* Tablet VERSION*/
    .u-repeater-event{
        grid-template-columns:100%;  
        }
        .layout-event{
            width:80%;
            height: auto;
        }
        .img-1{
            height: 100%;
        }
        .add-new-btn{
            margin-left: 10%;
        }
       
  }
  
  @media(max-width:426px){/* MOBILE VERSION*/
    .evt-smsection{
        padding: 0px 10px 0px;
    }
    .evt-section{
        margin: 70px 10px 90px;
    }
    .home-evt-title{
        margin: 0 14px 80px;
    }
    .add-new-btn{
        margin-left: 0;
    }
    .layout-event{
        width:100%;
        height: auto;
    }
    .display-title{
        font-size:45px;  
     }
     .display-text-1{
        font-size:30px;  
    }
    .display-comment{
        font-size:27px;  
     }
    .display-date{
        font-size:20px;  
    }
  }
  
  
  
  
  @media(width:820px)/*Ipad Air*/{
    .u-repeater-header{
      grid-template-columns:7% 68% 23%
    }
  }
  