@charset "utf-8";

/* Global styles */
* {
    margin: 0px;
    padding: 0px;
    font-family: 'Lato', sans-serif;
}

body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.header-wrap {
    position: fixed;
    width: 96%;
    height: 45px;
    background-color: white;
    font-size: 55px;
    display: inline-block;
    text-align: center;
    padding: 2% 2% 2.5%;
    box-shadow: 1px 1px 1px lightgrey;
    z-index: 2;
}

.header {
    float: center;
    width: 100%;
    z-index: 2;
}

.header-top {
    width: 37%;
    text-decoration: none;
    font-size: 10px;
    float: right;
    display: inline-block;
    z-index: 2;
}

.header-top strong {
    font-size: 16px;
}

.header-top input {
    z-index: 2;
}

.header-top a:hover {
    text-decoration: none;
}

.c-lft,
.c-ryt {
    width: 100%;
    float: none;
    padding: 2% 5%;
    color: white;
    display: inline-block;
}

.c-lftp {
    float: left;
    color: white;
    display: inline-block;
    padding: 2% 1%;
}

.c-lft label {
    display: block;
    width: 80%;
    margin: 0 0 10px 0;
    color: black;
    font-size: 15px;
    font-style: bold;
}

.c-lft input:not([type="checkbox"]) {
    display: block;
    width: 80%;
    padding: 8px 8px;
    margin-bottom: 20px;
    color: black;
    font-size: 15px;
    font-weight: bold;
    border: grey solid 1px;
}

.c-lft select {
    display: block;
    padding: 8px 8px;
    width: 80%;
    margin-bottom: 20px;
    color: black;
    font-weight: bold;
    border: grey solid 1px;
}

.c-lft button {
    display: inline-block;
    padding: 2px 4px;
    width: 20%;
    background: darkred;
    color: white;
    font-size: 15px;
    font-style: bold;
    border: none;
    height: 30px;
}

.c-lft button:hover {}

.c-ryt {
    width: 30%;
    float: right;
    padding: 2% 5%;
    display: inline-block;
    overflow: auto;
}

.c-ryt label {
    display: block;
    width: 80%;
    margin: 0 0 10px 0;
    color: maroon;
}

.c-right input {
    width: 0%;
    padding: 2px 5px;
    margin-bottom: 20px;
    color: grey;
    border: solid 1px #840c0c;
}

.c-ryt select {
    padding: 8px 8px;
    width: 60%;
    margin-bottom: 20px;
    color: grey;
    border: maroon solid 1px;
}

.c-ryt button {
    display: inline-block;
    padding: 2px 2px;
    width: 7%;
    color: white;
    border: none;
    height: 35px;
}

.c-ryt button:hover {
    background: grey;
}

.content {
    display: inline-block;
    float: center;
    text-align: center;
    width: 100%;
}

.item {
    width: 40%;
    float: left;
    margin-bottom: 1.5%;
    margin-left: 2%;
    min-height: 300px;
    border: 1px solid lightgrey;
    border-radius: 5px;
}

.item .thumbnail-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
}

.item .thumbnail-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.item img {
    width: 100%;
    height: 200px;
}

.item a {
    width: 100%;
    margin-bottom: 2%;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 10%;
    height: 20%;
    border-radius: 50%;
}

.container {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    height: auto;
    width: 80%;
    left: 50%;
    top: 50%;
    overflow: auto;
}

input[type=text],
input[type=tel] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border-radius: 5px; /* Add border-radius for rounded corners */
    font-family: 'Lato', sans-serif; /* Use the specified font family */
    font-size: 15px; /* Adjust font size */
    color: black; /* Set text color */
    border: 1px solid lightgrey;
    outline: none;
}

/* Style for when the input field is in focus */
input[type=tel]:focus {
    outline: none; /* Remove the default outline */
    border-color: dodgerblue; /* Change border color when in focus */
    box-shadow: 0 0 5px dodgerblue; /* Add box shadow for visual feedback */
}

/* Media query for smaller screens */
@media only screen and (max-width: 768px) {
    /* Adjustments for smaller screens */

    .header-wrap {
        height: auto;
        padding: 2% 2% 2.5%;
    }

    .header-top {
        float: none;
        width: 100%;
        margin-bottom: 10px;
    }

    .header-top input {
        width: 80%;
    }

    .c-lft,
    .c-ryt {
        width: 100%;
        padding: 2% 2%;
        float: none;
    }

    .c-lft input:not([type="checkbox"]),
    .c-ryt input:not([type="checkbox"]),
    .c-lft select,
    .c-ryt select {
        width: 100%;
    }

    .c-lft button,
    .c-ryt button {
        width: 100%;
    }

    .item {
        width: 100%;
    }

    /* Adjustments for modal */
    .modal-content {
        width: 80%;
        left: 10%;
        top: 10%;
        
    }
}

/* Media query for landscape orientation */
@media only screen and (orientation: landscape) {
    /* Increase font size and padding for better readability and interaction */
    input[type=text],
    input[type=tel],
    select,
    button {
        padding: 14px 24px;
        font-size: 18px;
    }

    /* Increase width of input fields to utilize wider screen space */
    input[type=text],
    input[type=tel],
    select {
        width: 90%;
    }

    /* Adjust layout and spacing for better alignment */
    .header-wrap {
        padding: 1% 2% 1.5%;
    }

    .header-top input {
        width: 90%;
    }

    .c-lft,
    .c-ryt {
        padding: 2% 5%;
    }

    .c-lft button,
    .c-ryt button {
        width: 30%;
    }

    .item {
        width: 48%;
        margin-left: 1%;
    }

    /* Hide unnecessary elements or reduce their prominence */
    .header-top {
        display: none;
    }

    /* Adjust modal layout for landscape orientation */
    .modal-content {
        width: 60%;
        left: 20%;
        top: 20%;
    }
}
