/*=======================*/
/*     GENERAL RULES     */
/*=======================*/
html {
    font-family: Calibri;
}

body {
    margin: 0;
    font-size: 3vh;
}

h1 {
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    margin-left: 0;
    margin-right: 0;
    margin-top: 1vh;
    margin-bottom: 1vh;
}

a {
    color: black;
}

a:visited {
    color: black;
}

.div-main {
    background-color: white;
    padding-left: 10vw;
    padding-right: 10vw;
    margin: 0;
    min-height: 100%;
}

input, textarea {
    display: block;
    margin-bottom: 2vh;
    font-family: Calibri;
    width: 100%; /*  DEFAULT  */
}

/* GENERAL DIV FOR FORMS */
.form-div {
    width: 70%;
    margin: auto;
}

input:focus {
    outline: none;
}

input[type=text], input[type=password], input[type=email], textarea, input[type=number], input[type=date], input[type=time] {
    padding: 1vh 1vw;
    font-size: 2.5vh;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, textarea:focus, input[type=number]:focus, input[type=date]:focus, input[type=time]:focus {
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    border: 1px solid rgb(81, 203, 238);
    outline: none;
}

input[type=file] {
    height: 5vh;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    background-color: #0099FF;
    font-size: 2.25vh;
}

textarea {
    min-height: 25vh;
    font-size: 3vh;
    font-family: Calibri;
    resize: none;
}

input[type=submit] {
    height: 5vh;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    background-color: #0099FF;
    font-size: 2.25vh;
}

label {
    font-size: 3vh;
}

.column-container {
    width: 100%;
}

.column {
    display: inline-block;
}

.form-alert-error, .form-alert-success {
    padding-left: 1vw;
    padding-right: 1vw;
    padding-top: 0.5vh;
    padding-bottom: 0.5vh;
    border-radius: 5px;
}

.form-alert-error {
    background-color: #f44336;
    color: white;
}

.form-alert-success {
    background-color: #4CAF50;
    color: white;
}

button {
    cursor: pointer;
}

/*==============*/
/*     TABS     */
/*==============*/
.tabs {
    float: left;
    min-width: 100%;
    min-height: 50%;
}

.tab-bar {
    border: 0.5px solid #ccc;
    background-color: #f1f1f1;
    width: 15%;
    height: 100%;
    float: left;
    box-sizing: border-box;
}

.tab-button {
    background-color: white;
    display: block;
    color: black;
    padding: 5% 10%;
    width: 100%;
    border: none;
    outline: none;
    text-align: center;
    cursor: pointer;
    border-bottom: 0.5px solid #ccc;
    box-sizing: border-box;
    font-size: 85%;
    border-radius: 0;
}

.tab-content {
    width: 85%;
    float: left;
    padding: 2.5% 5%;
    padding-top: 0;
    display: none;
    box-sizing: border-box;
}

/*=================*/
/*     BUTTONS     */
/*=================*/
button {
    border-radius: 5px;
    border: none;
    padding: 1vh 1vw;
}

.red-button {
    background-color: #ec2620;
    color: white;
    border: none;
    
}

/*====================*/
/*     NAVIGATION     */
/*====================*/
.nav-div {
    background-color: black;
    height: 6vh;
    line-height: 6vh;
}

.nav-ul {
    list-style-type: none;
    margin-top: 0;
}

.nav-li-link {
    display: inline;
    padding-left: 1vw;
    padding-right: 1vw;
}

.nav-link, .nav-link:visited {
    color: white;
    text-decoration: none;
}

.nav-link:hover {
    color: Gainsboro;
}

.nav-title, .nav-title:visited {
    font-family: "Russo One";
    display: inline;
    color: white;
    text-decoration: none;
    text-decoration: bold;
    font-size: 3vh;
}

/*
.nav-div {
    margin-top: 0;
    margin-bottom: 3vh;
    width: 100vw;
    background-color: black;
    height: 6vh;
    line-height: 6vh;
    max-width: 100%;
}

.nav-ul {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 3vw;
    padding-right: 3vw;
    box-sizing: border-box;
    list-style-type: none;
    height: 100%;
    vertical-align: middle;
}

.nav-ul > li{
    display: inline;
    color: white;
    vertical-align: middle;
}

.nav-title, .nav-title:visited {
    font-size: 3vh;
    text-decoration: none;
    color: white;
    display: inline-block;
    vertical-align: middle;
    margin-left: 3vw;
    font-family: "Russo One";
}

.nav-link, .nav-link:visited {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 2.5vh;
    padding-left: 1vw;
    padding-right: 1vw;
}

.nav-link:hover {
    background-color: white;
    color: black;
}
*/

/*===============*/
/*     LOGIN     */
/*===============*/
.div-login {
    width: 60%;
    margin: auto;
}

.login-input {
    width: 100%
}

/*=================*/
/*     SIGN UP     */
/*=================*/
.div-signup {
    width: 75%;
    margin: auto;
}

.signup-input {
    width: 100%
}

/*=================*/
/*     CONTACT     */
/*=================*/
.div-contact {
    width: 75%;
    margin: auto;
}

.contact-input, .contact-textarea {
    width: 100%;
}

/*==================*/
/*     PROJECTS     */
/*==================*/
.project-title {
    margin: 0;
}

/*===================*/
/*     WAR GAMES     */
/*===================*/
/* Create */
.div-contribute-new-problem {
    width: 75%;
}

.contribute-new-problem-input {
    width: 100%;
}

/*========================*/
/*     WYSIWYG EDITOR     */
/*========================*/
.settingbar {
    border: 1px solid black;
    border-radius: 5px;
    box-sizing: border-box;
    display: inline-block;
}

.toolbar:active {
    background-color: rgba(0, 255, 255, 0.3);
    cursor: pointer;
}

.tool-left {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.tool-right {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.tool, .tool-left, .tool-right {
    padding: 1vh 1vw;
    display: inline-block;
    text-decoration: none;
}

.tool-block, .tool-block-left, .tool-block-right {
    display: inline-block;
    padding: 0 0.5vw;
}

.tool-block-left {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.tool-block-right {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.tool:hover, .tool-left:hover, .tool-right:hover {
    background-color: rgba(135, 206, 250, 0.3);
    cursor: pointer;
}

.editor-box {
    border: none;
    margin: 2vh 0;
}

.editor-box:hover {
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    border: 1px solid rgb(81, 203, 238);
    outline: none;
}

.editor-box:focus {
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    border: 1px solid rgb(81, 203, 238);
    outline: none;
}

#foptions, #code-editor, #editor, #font-type, #image-url, #link-url, #fontColor, #highlight, #block, #blog-info {
    border: 1px solid black;
    display: none;
    border-radius: 5px;
    z-index: 1;
    position: fixed;
    background-color: white;
    opacity: 100%;
    resize: both;
}

#codebox {
    font-family: "Courier New";
    padding: 1vh;
    min-width: 100%;
    min-height: 50vh;
    font-size: 2vh;
    border: 1px solid black;
    display: none;
    margin-top: 2vh;
}

#codebox:focus {
    outline: none;
    box-shadow: none;
}

.wrapper-full {
    width: 100%;
}

.editor-input {
    display: inline-block;
    margin: 0;
    width: 15vw;
}







