/* ORIGINAL CODE MADE BY TEPPY MODIFIED BY ISSA DON'T REMOVE CREDIT */
/* teppyslayouts.neocities.org */

/* Use a media query to add a breakpoint at 800px: */
@media screen and (max-width: 800px) {
  .header, .main, .footer {
    width: 100%; /* The width is 100%, when the viewport is 800px or smaller */ }
#flex { flex-wrap: wrap; display: flex;}
}

/* order */

            * .header {
                order: 1;
            }
            .menu {
                order: 2;
            }
            .side {
                order: 3;
                max-width: 25%;
}
            .content {
                order: 4;
                flex: 1;
}
            .footer {
                order: 5;
}


body, html {
    padding: 0;
    margin: auto;
    font-size: 12px;
    font-family: Verdana, sans-serif;
}

body:not(.page) {
    background-image: url(img/brightcheck.png);
    background-size: 46px;
    background-attachment: fixed;
    background-color: black;
}

.page {
    background-color: white;
    padding: 12px;
    text-align: justify;
}

img {
    max-width: 100%;
}
iframe.content {
    border: 0;
    width: 100%;
    height: 100%;
}

.wrapper {
    border: 6px ridge;
    width: 1000px;
    max-width: 100%;
    margin-left: 20px;
    margin: auto;
    margin-top: 13px;
    box-sizing: border-box;
}

.header {
    border-bottom: 6px ridge;
    height: 100px;
    box-sizing: border-box;
    background-image: url('img/palms.png');
    position: relative;
}

.footer {
    border-top: 6px ridge;
    height: 60px;
    box-sizing: border-box;
    background-image: url('img/sea.png');
    position: relative;
    text-align: right;
    color: #004F70;
}

.footer a:link, 
.footer a:visited, 
.footer a:active {
    color: #004F70
}

.footer a:hover {
    color: darkblue
    
}

.main {
    display: flex;
}

.side {
    border-right: 6px ridge;
    width: 200px;
    padding: 12px;
    box-sizing: border-box;
    background: #172872;
    color: white;
    min-height: 590px;
    overflow: auto;
}

.content {
    flex-grow: 1;
    background: #FFF;

}

.button {
    display: block;
    line-height: 42px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 1.3vw;
    background-image: url('img/buttob.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    color: BLUE;
    text-decoration: none;
    letter-spacing: 2px;
    font-family: 'Times New Roman', serif;
    max-height: 100%;
}

.button:hover {
    background-image: url('img/buttob2.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    font-style: normal;
    font-size: 1.2vw;
}

.button2 {
    display: block;
    line-height: 42px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 1vw;
    background-image: url('img/buttob.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    color: BLUE;
    text-decoration: none;
    letter-spacing: 2px;
    font-family: 'Times New Roman', serif;
}

.button2:hover {
    background-image: url('img/buttob2.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    font-style: normal;
    font-size: 0.9vw;
}


.title {
    padding-top: 20px;
    padding-right: 5px;
}

strong {
  color: darkblue;
}

h1 {
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    color: darkblue;
}

h2 {
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
    color: Darkblue;
}

h2:before {
    content: "\0021B3";
    color: blue;
    padding-right: 6px;
}

a {
    color: blue;
}

a:hover {
    color: darkred;
    font-style: oblique;
}

ul {
  list-style-type: square;
}

table {
    border-collapse: collapse;
}

th, td {
    padding: 6px 12px;
    vertical-align: top;
    border: 1px solid #000;
}

th {
    background: cyan;
    color: #ff0097;
}

.width-50 {
    width: 50%;
}


  /*   SCROLLBAR   */

    /* width */
::-webkit-scrollbar {
    width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: #e2e2e2;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    border: 2px solid;
    border-color: #fff  #000 #000 #fff ;
    background-color: #bfbfbf;
}

/* hovers */
::-webkit-scrollbar-thumb:hover {
  background: #d1d1d1;
}
::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
  background: #d1d1d1;
}
::-webkit-scrollbar-button:single-button:vertical:increment:hover {
  background: #d1d1d1;
}

/* buttons */
::-webkit-scrollbar-button:single-button:vertical {
    height: 15px;
    width: 15px;
    background-position: center;
    background-color: #bfbfbf;
    background-size: 10px;
    background-repeat: no-repeat;
    display: block;
    border: 2px solid;
}

::-webkit-scrollbar-button:single-button:vertical:decrement {
    border-color: #fff #000 #000 #fff ;
    background-image: url("img/UP.png");
}
::-webkit-scrollbar-button:single-button:vertical:increment {
    border-color: #fff #000 #000 #fff ;
    background-image: url("img/DOWN.png");
}
