@import url('https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap');

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    color: #444444;
    font-size: 13px;
    font-family: 'Vazirmatn', sans-serif;;
    line-height: 1.80857;
    font-weight: normal;
    overflow-x: hidden;
    background-color: #e6e6e6;
    height: 100%;
    line-height: 30px;
    margin: 0px;
    text-size-adjust: auto;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 25px;
}

.separate {
    margin: 10px;
}

.white {
    background-color: white;
}

.question {
    font-size: 20px;
    padding: 8px;
}

.question a {
    color: #444444;
}

.center_image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.header_top {
    width: 100%;
    height: auto;
    background-color: white;
    text-align: center;
    padding: 10px 15px;
}

.header_top img {
    width: 10%;
    height: auto;
}

.header {
    width: 100%;
    height: auto;
    background-color: #5cb3d2;
    text-align: right;
    padding: 10px 15px;
}

nav {
    width: 100%;

}

/* Using descendant combinator to make CSS class and selectors simpler. */
.header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #5cb3d2;
}

.header li {
    float: right;
}

.header li a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 20px;
}

#headerMessage {
    border: 1px solid black;
    padding: 0px 2px;
    margin: 10px 2px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 10px;
    background-color: #aadee6;
    font-family: 'Vazirmatn', sans-serif;
}

.button {
    border: 1px solid black;
    color: white;
    padding: 0px 2px;
    margin: 10px 2px;
    text-align: center;
    text-decoration: solid;
    /*display: inline-block;*/
    font-size: 13px;
    cursor: pointer;
    border-radius: 10px;
    background-color: #5cb3d2;
    font-family: 'Vazirmatn', sans-serif;
}

.button a {
    text-decoration: none;
}

/* This is to have the same height for buttons and button-like hyperlinks. */
a.button {
    padding: 5px 2px;
}

.center {
    text-align: center;
}

input {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
}

input:invalid {
    background-color: lightcoral;
}

input:valid {
    background-color: white;
}

.long {
    width: 100%;
}

.about_us_out {
    width: 100%;
    margin: 0px auto 10px auto;
    background-color:#5cb3d2;
    padding: 15px 15px 20px 15px;
}

.about_us_in {
    width: 100%;
    background-color: white;
    text-align: center;
    box-shadow: 0px 0px 10px 0px #888888;
    padding: 20px;
    direction: rtl;
}

.video_container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video_container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.founder_section {
    width: 95%;
    margin: auto;
    color: #050000;
    text-align: right;
    direction: rtl;
    padding: 10px;
}

.footer {
    background-color: white;
    margin: auto;
    text-align: center;
    color: black;
    font-size: 10px;
}

/* BEGIN internal */
.header_table {
    width: 100%;
    text-align: center;
    border-collapse: separate;
    border-spacing:2px;
}

.segment {
    background-color: #a7def2; /* light blue */
    /*color: #333300;*/
    /*text-align: right;*/
    border: 2px solid #97aeff; /* dark blue*/
    border-radius: 10px;
    padding: 10px;
    margin: 4px;
    display: block;
}

/* The combination of `card` and this is preferred over `segment`. */
.segment_like {
    background-color: #a7def2; /* light blue */
    margin: 4px;
    display: block;
}

.my_container {
    margin: auto;
    max-width: 700px;
    padding: 0px;
}

video {
    height: 270px;
    width: 360px;
}

.invite_table {
    width: 100%;
    cellspacing: 2px;
}

/* Setting desktop specific styles */
@media screen and (min-width: 800px) {
    .my_container {
        max-width: 800px;
    }

    video {
        height: 360px;
        width: 480px;
    }
}

a {
    text-decoration: none;
}

.header_td {
    width: 15%; /* there are 6 items in the header plus a smaller "logout" */
    cursor: unset;
    background-color: #4c9ee6; /* light blue */
    font-size: 13px;
}

.current_header {
    border: 5px solid #1a7063; /* darker greenish blue */
}

.my_invisible {
    display: none;
}

.message {
    color: #123b16; /* dark green */
}

.warning {
    color: #702b39; /* dark red */
    font-weight: bold;
}

button:disabled, button[disabled] {
    color: #c1c1c9; /* light grey */
    background-color: #aedbeb;
    cursor: default;
}

thead {
    font-weight: bold;
}

.header_link {
    color: white;
    padding: 5px;
}

.hover_hl:hover {
    background-color: #c8fcb3; /* light green */
}

.tooltip-inner {
    text-align: right;
}

/* END internal */

/*RESPONSIVE*/

@media only screen and (min-width: 280px) and (max-width: 650px) {

    .header_top img {
        width: 20%;
        height: auto;
    }

    .header li {
        display: inline-block;
        padding-left: 10px;
        font-size: 13px;
    }


    nav {
        width: 95%;
    }

    .header li a {
        padding: 5px 5px;
        font-size: 13px;
    }
}

/* END media */

/* Extras */
a:hover {
    text-decoration: none;
}
