/* 
    Document   : popup.css
    Created on : 27-Nov-2011, 17:20:16
    Author     : Andrei Dumitrache
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

body{
    height:100%;
    width:100%;
}

#ajaxLoader{
    display:block;
    width:200px;
    height:100px;
    text-align:center;
    line-height:100px;
    position:absolute;
    left:45%;
    top: 45%;
    z-index:400;
    border:1px solid #CCC;
    background-color: #FFF;
}

#popupBody{
    position:relative;
}

#popup,#cloudGallery{
    padding: 10px;
    overflow: hidden;
    border: 1px solid black;
    background-color: white;
    -moz-box-shadow: 4px 8px 5px #5b6063;
    -webkit-box-shadow: 4px 8px 5px #5b6063;
    box-shadow: 4px 8px 5px #5b6063;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=8, Direction=135, Color='#707070')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=8, Direction=135, Color='#707070');
    position: absolute;
    z-index:300;
    min-width: 200px;
    left:30%;
    top: 10%;
}

#cloudGallery{
    width: 60%;
  /*  height: 80%;*/
    left:20%;
    height: 500px;
    margin-top: 50px;
    visibility: hidden;
    padding: 0px;
}

#popup .top img{
    height: 30px;
    width: 30px;
    z-index: 999;
        cursor: pointer;
}

#popup .top{
    text-align:right;
    z-index: 900;
    margin:10px;
}

#drape{
    display:block;
    width:100%;
    height:200%;
    position:absolute;
    top:0px;
    left:0px;
    z-index: 299;
    background-color: #5b6063;
    opacity: 0.5;
    filter: alpha(opacity = 50);
}

.cloudGallery-layout{
    border: 0px;
    width: 100%;
    
}

.cloudGallery-layout .col1,.cloudGallery-layout .col3{
    width: 60px;
    vertical-align: middle;
}

.cloudGallery-layout .col1 button,.cloudGallery-layout .col3 button{
    width: 60px;
    height: 150px;
    border: none;
    cursor: pointer;
}

.cloudGallery-layout .col1 button{
    background: url('../images/gallery_prev.png') no-repeat center center;
}

.cloudGallery-layout .col3 button{
    background: url('../images/gallery_next.png') no-repeat center center;
}

.cloudGallery-layout .col3 button:hover{
    background: url('../images/gallery_next_hover.png');
}

.cloudGallery-layout .col1 button:hover{
    background: url('../images/gallery_prev_hover.png');
}


#cloudGallery-view{
    padding: 2px;
    text-align:center;
}
#cloudGallery-sideLeft{
    float:left;
    
}

#cloudGallery-sideRight{
    float:right;
}

#cloudGallery-sideRight:after{
    clear:both;
}


#cloudGallery-band{
    border-bottom: 2px solid #008AC8;
}

#cloudGallery ul{
    list-style:none;
    padding: 0px;
    margin: 0px;
}

#cloudGallery li{
    margin: 0px;
    padding: 2px;
    display:inline-block;
    cursor: pointer;
    
    zoom:1;
    *display:inline;
}


#cloudGallery li.selected{

    background-color: #008AC8;
}

#cloudGallery li img{
    width: 40px;
    height: 40px;
        border: 1px solid #0054a4;
}

#cloudGallery #hwnd{
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(241,241,241,1) 50%, rgba(225,225,225,1) 51%, rgba(246,246,246,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(50%,rgba(241,241,241,1)), color-stop(51%,rgba(225,225,225,1)), color-stop(100%,rgba(246,246,246,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
    height: 25px;
    border-bottom: 1px solid #CCC;
    margin-bottom: 2px;
}


#hwnd-title{
    line-height: 25px;
    font-weight:bold;
    text-align:left;
    padding-left: 5px;
    float:left;
}

#hwnd-controls{
    float:right;
    width: 100px;
    text-align:right;
}

#hwnd-controls:after{
    clear:both;
}

#hwnd-close{
    height: 25px;
    width: 25px;
    display:inline-block;
    border:none;
    background:none;
    color: #000;
    font-weight: bold;
    border-left: 1px solid #CCC;
    cursor: pointer;
}

#hwnd-close:hover{
    background-color: #E2E2E2;
}
