﻿@media screen and (orientation:portrait) and (max-height: 1280px) {
    /*body{
        -ms-transform: rotate(90deg) !important; 
        -webkit-transform: rotate(90deg) !important; 
        transform: rotate(90deg) !important;
    }*/

    /*.canvas-container,*/ 
   /*#mainCanvas .canvas-container{
        -ms-transform: rotate(-90deg) !important; 
        -webkit-transform: rotate(-90deg) !important; 
        transform: rotate(-90deg) !important;
   }*/
}

body {
    overflow:hidden;
}

#mainApp{
    position: relative;
    overflow:hidden;
}

#toolsContainer{
    width:550px;
    height:450px;
    background-color:black;
    float:right;
    position:relative;
    -ms-transform: translate(55%,-55%) rotate(45deg);
    -webkit-transform: translate(55%,-55%) rotate(45deg);
    transform: translate(55%,-55%) rotate(45deg);
    z-index:99;
}

#toolbar{
    width:700px;
    height:70px;
    bottom:0px;
    background: linear-gradient(lightgray 5%, white);
    left:50%;
    position:absolute;
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform:translateX(-50%);
}

#brashesDiv, #colorsDiv{
    width:700px;
    height:70px;
    bottom:-70px;
    background: linear-gradient(lightgray 5%, white);
    left:50%;
    position:absolute;
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform:translateX(-50%);
}

#sendButtonDiv{
    width:500px;
    height:260px;
    -ms-transform: translate(-55%,55%) rotate(45deg);
    -webkit-transform: translate(-55%,55%) rotate(45deg);
    transform:translate(-55%,55%) rotate(45deg);
    background-color:white;
    position:absolute;
    bottom:0;
    left:0;
    z-index:99;
}

#saveBtn{
    cursor:pointer;
    position: absolute;
    left: 210px;
    top: 10px;
    transform: rotate(-45deg);
}

/*#logoImg{
    position: absolute;
    top: 320px;
    left: 235px;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}*/

#logoContainer{
    width:76px;height:76px;transform: rotate(-45deg);bottom:86px;left:235px;position:absolute;
}

#selectColorBtn{
    background-color:cyan;border:1px solid black;border-radius:50%;height:45px;width:45px;position:absolute;left:210px;top:12px;
}

#eraseBtn{
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position:absolute;left:350px;top:10px;
}

#eraseAllBtn{
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position:absolute;left:420px;top:10px;
}

#changeBrashBtn{
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position:absolute;left:280px;top:10px;
}

.colorsBtn{
    border-radius:50%;
    width:35px;
    height:35px;
    border:1px solid black;
    float:left;
    margin:5px;
}

.sizeBtn{
    border-radius:50%;
    float:left;
    margin-left:15px;
    margin-right:15px;
    background-color:black;
}

.btn{
    max-height:55px;
    /*max-width:48px;*/
}

.brashSelected{
    border: 3px solid white;
    box-shadow: 2px 7px 9px rgba(0, 0, 0, 0.2);
}

.centerElement{
    position:absolute;
    left:50%;
    top:50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}


#wait{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    right:0;
    background-color: gray;
    opacity: 0.8;
    z-index: 1000;
    background-image: url(images/wait.gif);
    background-position: center;
    background-repeat: no-repeat;
}

#mainCanvas{
    border-bottom: 1px solid white;
    border-right: 1px solid white;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
