﻿body {
    font: 14px Arial, sans-serif;
    background-color: #e8e8e8;
    color: #333333;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

.HeaderBox {
    background-color: #692b01;
    border-bottom: solid 3px #2a2c38;
    height: 60px;
    width: auto;
    padding: 5px 5px 5px 20px;
    margin-bottom: 20px;
}

#content {
    padding-left: 20px;
}

.InformationBox {
    vertical-align: top;
    background-color: #fff;
    border-bottom: solid 2px #dcdcdc;
    position: relative;
    padding: 0 5px 7px 10px;
    width: 400px;
    height: 180px;
    margin: 1% 0 1% 0;
    display: inline-block;
    border-radius: 10px;
}

.UsersBox {
    vertical-align: top;
    background-color: #fff;
    border-bottom: solid 2px #dcdcdc;
    padding: 0 5px 7px 10px;
    width: 500px;
    margin: 1% 0 1% 1%;
    height: 180px;
    display: inline-block;
    border-radius: 10px;
}

.SettingsBox {
    background-color: #fff;
    border-bottom: solid 2px #dcdcdc;
    padding: 0 5px 7px 10px;
    width: 300px;
    z-index: 60;
    position: fixed;
    top: 80;
    right: 80;
    height: 250px;
    border-radius: 10px;
    display: none;
    -webkit-box-shadow: 0px 0px 41px -2px rgba(0,0,0,0.66);
    -moz-box-shadow: 0px 0px 41px -2px rgba(0,0,0,0.66);
    box-shadow: 0px 0px 41px -2px rgba(0,0,0,0.66);
}

.OverlayInformation {
    background-color: #fff;
    border-bottom: solid 2px #dcdcdc;
    padding: 0 5px 7px 10px;
    width: 400px;
    z-index: 50;
    position: fixed;
    top: 80px;
    bottom: 0;
    right: 25px;
    height: 450px;
    border-radius: 10px;
    display: none;
    -webkit-box-shadow: 0px 0px 41px -2px rgba(0,0,0,0.66);
    -moz-box-shadow: 0px 0px 41px -2px rgba(0,0,0,0.66);
    box-shadow: 0px 0px 41px -2px rgba(0,0,0,0.66);
}

video {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin: 0;
    position: relative;
    text-align: left;
    z-index: 2;
}

canvas {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin: 0;
    position: relative;
    text-align: left;
}

.SubmitButton {
    background-color: #208fcc;
    color: #fff;
    width: 20%;
    min-width: 20%;
    float: right;
    padding: 1%;
    margin: 1% 1% 1% 0;
    border: 0;
    border-bottom: solid #186a96 2px;
    border-radius: 5%;
    bottom: 0;
    right: 0;
    position: absolute;
}

.SubmitButton:hover {
    cursor: pointer;
}

#myidentity, #myroom {
    background-color: #fff;
    border: solid 1px #dcdcdc;
    float: right;
    position: relative;
    padding: 1%;
    width: 50%;
    min-width: 10%;
}

.CallOptions {
    margin-right: 1%;
    float: left;
}

#chatfield {
    text-align: left;
    height: 400px;
    width: 95%;
    overflow: scroll;
    visibility: hidden;
    background-color: #fff;
    padding: 7px 5px 0;
    display: inline-block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    max-width: 100%;
    overflow-x: hidden;
}

#chatinput {
    background-color: #fff;
    border-bottom: solid 2px #dcdcdc;
    visibility: hidden;
    position: relative;
    height: 25px;
    width: 87%;
}

.SendChatButton {
    background-color: #208fcc;
    color: #fff;
    width: 8%;
    height: 25px;
    border: 0;
    border-bottom: solid #186a96 2px;
    border-radius: 5%;
    position: absolute;
}

h3 {
    margin: 5px 0 10px 0;
    font-weight: 200;
}

h2 {
    margin: 0 0 10px 0;
    font-size: 23px;
    font-weight: 300;
}

span {
    padding-left: 0;
    margin-top: 5%;
}

#transform-20 {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
    position: relative;
    z-index: 3;
}

#transform-40 {
    -webkit-transform: translateY(-0px);
    transform: translateY(-0px);
    position: relative;
    z-index: 7;
}

#custom-message-0 {
    color: #242424;
    font-size: 16px;
    font-weight: 100;
    top: 0;
    text-align: left;
}

#custom-message-1 {
    color: #eb7e07;
    top: 0;
    text-align: left;
}

#custom-message-2 {
    color: #eb7e07;
    top: 0;
    text-align: left;
}

#custom-message-3 {
    color: #eb7e07;
    top: 0;
    text-align: left;
}

#custom-message-4 {
    color: #eb7e07;
    top: 0;
    text-align: left;
}

#custom-message-5 {
    color: #eb7e07;
    top: 0;
    text-align: left;
}

#custom-message-6 {
    color: #eb7e07;
    top: 0;
    text-align: left;
}

.material-icons {
    float: right;
    color: white;
    font-size: 30px;
    top: 50px;
    display: block;
    margin: 15px;
    cursor: pointer;
}

#OverFlowMenu {
    display: none;
    position: absolute;
    background-color: #fff;
    border-bottom: solid 3px #e5e5e5;
    width: 150px;
    height: 60px;
    right: 20px;
    top: 60px;
}

ul, li, li a {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

    li a {
        padding: 5px;
        color: #888;
        text-decoration: none;
        transition: all .2s;
    }

        li a:hover,
        li a:focus {
            background: #f2f2f2;
            color: #000;
        }



/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    /* Styles */
    .HeaderBox {
        height: 8em;
    }

    .material-icons {    
        padding: 0.1em;
        font-size: 5em;
    }

    .SettingsBox, #AboutUs {
        display: block;
        width: 50em;
        height: 70%;
    }

    .spanClass {
        font-size: 3em;
    }

    .InformationBox, .UsersBox {
        display: inherit;
        height: 30em;
        width: auto;
        margin: 1em;
    }

    .SubmitButton {
        font-size: 3em;
    }

    h3 {
        font-size: 4em;
    }

    #myidentity {
        font-size: 3em;
    }

    #myroom {
        font-size: 3em;
        width: 50%;
    }

    span {
        font-size: 3em;
    }

    #audiomute {
        width: 4em;
    }

    .CallOptions {
        font-size: 2em;
        width: 40%;
    }

    #chatButtons {
       width: 40% !important;
    }

}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
    /* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
    /* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    /* Styles */
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    /* Styles */
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    /* Styles */
}
/**********
iPad 3
**********/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
    /* Styles */
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
    /* Styles */
}

/* iPhone 4 ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
    /* Styles */
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
    /* Styles */
}

/* iPhone 5 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
}

/* iPhone 6 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
}

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
}

/* iPhone 6+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
}

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
}

/* Samsung Galaxy S3 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
}

/* Samsung Galaxy S4 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3) {
    /* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3) {
    /* Styles */
}

/* Samsung Galaxy S5 ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3) {
    /* Styles */
}

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3) {
    /* Styles */
}
