/*!
Theme Name: Hi Speed
Author: Mr. Minh
Description: Giao diện mặc định trang web Trung tâm GDNN - GDTX huyện Tuy Đức
Version: 1.0.0
Text Domain: mrminhtt
*/

*,
 ::after,
 ::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent
}

body {
    font-family: sans-serif, Arial, Helvetica;
    line-height: 1.15;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    text-align: left;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem
}

p {
    margin-top: 0;
    margin-bottom: 0.5rem
}

dl,
ol,
ul {
    margin-top: 0;
    margin-bottom: 0.5rem
}

b,
strong {
    font-weight: bolder;
}

img {
    vertical-align: middle;
    border-style: none;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 3px;
}

button {
    border-radius: 0;
    font-family: sans-serif;
}

button:focus {
    outline: 1px dotted;
    outline: 5px auto -webkit-focus-ring-color
}

select {
    word-wrap: normal;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.h1,
h1 {
    font-size: 2.5rem;
}

.h2,
h2 {
    font-size: 2rem;
}

.h3,
h3 {
    font-size: 1.75rem;
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

a {
    text-decoration: none;
    color: #002147;
}

a:hover {
    color: #005670;
}

.wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #095a55;
}

.wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #ebe7c6;
}

.container {
    position: relative;
    min-width: 90%;
    min-height: 500px;
    display: flex;
    z-index: 1000;
    display: flex;
}

.contact-info {
    position: absolute;
    top: 40px;
    width: 350px;
    height: calc(100% - 80px);
    background: #095a55;
    z-index: 1;
    padding: 40px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    color: #fff;
    border-radius: 10px;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    color: #d0d3d6;
}

.contact-info h2 {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.contact-list {
    margin-top: 20px;
    list-style: none;
}

.contact-item {
    padding-bottom: 5px;
}

.contact-item i {
    margin-right: 5px;
}

.contact-sosial-list {
    margin-top: 20px;
    display: flex;
    list-style: none;
    justify-content: center;
}

.contact-sosial-item {
    margin-right: 10px;
    cursor: pointer;
}

.contact-sosial-item a {
    color: #fff;
}

.contact-sosial-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background-color: #8c959c;
    font-weight: 700;
    transition: 0.25s ease;
}

.contact-sosial-item i:hover {
    background-color: #dee2e6;
    color: #095a55;
}

.contact-form {
    position: absolute;
    padding: 50px 30px;
    padding-left: 250px;
    margin-left: 150px;
    width: calc(100% - 150px);
    height: 100%;
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 70%, rgba(203, 230, 228, 1) 100%);
    box-shadow: 0 50px 50px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.contact-form h1 {
    color: #0f3959;
    font-size: 22px;
    font-weight: 700;
}

.contact-form .form-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-form .form-box .input-box {
    position: relative;
    margin-bottom: 50px;
}

.contact-form .form-box .input-box:last-child {
    margin-bottom: 0;
}

.contact-form .form-box input,
.contact-form .form-box select {
    width: 100%;
    resize: none;
    padding: 5px 0;
    font-size: 18px;
    font-weight: 300;
    border: none;
    outline: none;
    border-bottom: 1px solid #8c959c;
    background: transparent;
    font-weight: 700;
}

.contact-form .form-box select {
    padding: 5px 0;
}

.contact-form .form-box .w50 {
    width: 47%;
}

.contact-form .form-box .w100 {
    width: 100%;
}

.contact-form .form-box .input-box span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    pointer-events: none;
    font-size: 18px;
    font-weight: 300;
    transition: 0.3s;
}

.contact-form .form-box .input-box.choose span,
.contact-form .form-box .input-box input:focus~span,
.contact-form .form-box .input-box input:valid~span {
    transform: translateY(-25px);
    font-size: 13px;
    letter-spacing: 1;
    color: #1c1f20;
}

.contact-form .form-box .input-box input[type='submit'] {
    position: relative;
    cursor: pointer;
    background-color: #095a55;
    color: #fff;
    border: none;
    outline: none;
    min-width: 150px;
    padding: 12px;
    transition: 0.15s ease;
}

.contact-form .form-box .input-box input[type='submit']:hover {
    background-color: #0d948b;
}

body {
    position: relative;
}


/* scroll bar */

::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
    background: transparent;
    border: 0;
}

::-webkit-scrollbar-track-piece {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

::-webkit-scrollbar-thumb:active {
    background: #ddd;
}

@media (max-width: 767px) {
    .contact-form .form-box .w50 {
        width: 100%;
    }
    .container {
        display: flex;
        flex-direction: column-reverse;
    }
    .wrap::before {
        display: none;
    }
    .contact-form,
    .contact-info {
        position: relative;
        width: 100%;
        padding: 30px 10px;
        margin: 0;
        border-radius: 0;
        min-height: auto;
        top: 0;
    }
    .contact-form h1 {
        text-align: center;
    }
    .contact-form .form-box .input-box span {
        font-size: 15px;
    }
    .contact-form .form-box input,
    .contact-form .form-box select {
        padding: 5px 0 10px 0;
        font-size: 15px;
    }
    .contact-form .form-box .input-box:last-child {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .contact-form .form-box .input-box input[type='submit'] {
        position: relative;
        cursor: pointer;
        background-color: #095a55;
        color: #fff;
        border: none;
        outline: none;
        max-width: 150px;
        padding: 12px;
        transition: 0.15s ease;
    }
    .contact-form .form-box .input-box {
        margin-bottom: 40px;
    }
    .contact-item {
        text-align: center;
    }
}