form {
    margin: 20px auto;
    width: 800px;
    padding: 20px;
    background: #e8e8e8;
    border-radius: 10px;
    border-color: #cf5303;
    font-family: 'Montserrat', sans-serif;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    text-shadow: #cf5303;
    text-transform: uppercase;
}

h2 {
    text-align: center;
}

h5 {
    font-weight: 200;
    display: inline;
    margin-left: 10px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 15px;
}

input[type=text],
input[type=email],
input[type=password],
input[type=tel],
select,
input[type=date],
input[type=checkbox] {
    width: 97%; /* Adjust the width as needed */
    padding: 10px;
    margin-bottom: 20px; /* Adjust the margin as needed */
    border: 2px solid #ccc;
    border-radius: 3px;
    display: block;
    margin: 0 auto; /* Center the input fields */
}

input[type=tel]{
    width: 100%;
    padding: 11px;
    margin-bottom: 50px;
    border: 2px solid #ccc;
    border-radius: 3px;
    margin: 0 auto; /* Center the input fields */
    vertical-align: middle;



}

.phone_input_container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjust the spacing between select and input */
    width: calc(100% );; /* Set the total width for better adjustment */
    align-items: left;
    margin: 0 auto; /* Center the input fields */

}

.phone_label_prefix {
    width: 35%; /* Adjust the width for the select element */
    margin-right: 10px; /* Add some spacing between select and input */
}

.phone_label {
    width: 200px;
}



select {
    width: 60px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 3px;
    vertical-align: center;
    /* margin-left: -10px; */
    align-items: middle;
}

input[type=button] {
    background: #cf5303;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.button1:hover {
    background: #cf5303;
    font-size: 17pt;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    color: #cf5303;
}

input[type="date"] {
    padding: 5px;
    border-radius: 5px;
    border: 3px solid #cf5303;
    color: black;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: -10px;
    font-family: 'Montserrat', sans-serif;
}

/* Styling for error messages */
.error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

.button1 {
    background: #cf5303;
    color: #fff;
    border: none;
    padding: 15px 25px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: larger;
    margin: 0 auto;
    display: block;
    margin-top: 30px;
}


.slider {
    height: 10px;
    width: 10px;
}

.button2 {
    position: relative;
    background: #cf5303;
    color: #fff;
    border: none;
    padding: 15px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    /* top: 20px; */
    left: 20px;
}

hr {
    line-height: 10px;
    color: #cf5303;
    font-weight: 700;
    border: none;
    height: 4px;
    background-color: #cf5303;
    border-radius: 5px;
    width: 80%;
    margin-top: 20px;
}

html {
     
     background-color: rgb(128, 127, 127); 
    background-size: cover;
    backdrop-filter: black;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    /* backdrop-filter: blur(10px); */
}

input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    border: 2px solid #cf5303;
    background-color: #fff;
    display: inline-block;
    vertical-align: middle;
    margin: auto;
}

input[type="checkbox"]:checked {
    background-color: #cf5303;
}

.school_logo {
    align-items: right;
    justify-content: right;
    display: flex;
    text-align: right;
    width: 85%;
    margin:  0 auto 0;
}



/* .school_logo img {
    display: block;
    margin: 0 auto;
} */
.label_experiences {
    display: block;
    font-weight: bold;
    margin: 20px auto;
    width: 25px;
    padding: 20px;
}

.switch {
    size: 8px;
}

.conditional {
    display: none;
}

.show {
    display: block;
}


.pswrdcheck {
    border: solid 1px black;
    border-radius: 5px;
    font-family: Montserrat, sans-serif;
}

#error-message {
    display: none;
    color: red;
}

.link {
    color: #cf5303;
    text-decoration: underline;
}

.required {
    color: red;
    margin-left: 5px;
}



@media only screen and (max-width: 600px) {
    /* Add your mobile-specific styles here */
    body {
        font-size: 14px;
        overflow-x: hidden; /* Hide horizontal overflow */
        
    }
    form {
        max-width: 100%; /* Adjust the percentage to your preference */
        margin: 0 auto; /* Center the form horizontally */
        overflow: hidden; /* Hide any content overflowing the form */
        border-radius: 0;
        
        padding: 20px; /* Add padding to the form for better visual appearance */
    }

    #button1{
        display: none;
    }
}

table 
{
    border-collapse: collapse; 
    margin: 20px auto;  
    font-family: Montserrat, sans-serif;  
    border: 3px solid black;  
    border-radius: 10px;
    
    
}

th, td {  
    padding: 10px;    
    text-align: center;    
    border: 1px solid black;   
}   
thead th {

    background-color: #cf5303;   
    color: white;  
    border-top: 3px solid black;  
    border-bottom: 3px solid black;
    border-left: 3px solid black;
    border-right: 3px solid black;
    font-weight: 700;
}

/* tbody tr:nth-child(even) 
{
    background-color: #f2f2f2;
} */

.href-table 
{
     color: #000000;
     font-weight: 700;
}

.tr-red {

    color: red;    
    }
    
    .tr-green {
    
    color: green;    
    }
    
    .tr-orange {
    
    color: orange;    
    }
    
    .tr-black {
    
    color: black;    
    }

/* .href-table 
{
     color: #cf5303;
     font-weight: 700;
} */

.href-head-table 
{
     color: #ffffff;
     font-weight: 700;
}


.btn-update 
{
    background-color: #4CAF50;
    color: white;

}
a.btn-update
{
    color: white;
}


.btn-delete 
{
    background-color: #f44336;
    color: white !important;
}
.btn-grey {
    background-color: #5a5a5a;
    color: white !important;
    opacity: 0.5; /* Adjust the opacity as needed */
    pointer-events: none; /* Disable pointer events to make it unclickable */
}
.btn-addnew 
{
    background-color: #cf5303;
    color: white;
    float: left;
    padding: 6px 10px;
    margin: 2px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    margin-left: 15px;
}

.btn-update, .btn-delete, .btn-grey {

    padding: 6px 10px;
    margin: 2px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;

}

a{
    color: white;
    text-decoration: none;
    
    }