/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Sep 17, 2016, 11:54:06 PM
    Author     : BGB
*/

.messagecontainer {
    z-index: 1000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    min-height: 100%;
    width: 100%;        
    background-color: rgba(128, 128, 128, 0.5);
}

.closemessagebutton {
    z-index: 1002; 
    position: absolute;
    right: 10px;
    top: 10px;
    min-width: 32px;
    min-height: 32px;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background-color: white;    
    background-image: url(./close-32.png);
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

.closemessagebutton:hover {
    background-image: url(./close-32-hover.png);
}

.messagetext {    
    position: relative;   
    box-sizing: border-box;
    padding: 2em;    
    height: auto;
}

.messageform {
    z-index: 1001;
    position: relative;
    top: 30%;    
    margin: auto;
    /*margin-top: -4em;*/
    box-sizing: border-box;    
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;        
    height: 8em;    
    min-height: 8em;
    max-height: 8em;    
    background-color: rgba(256, 256, 256, 1);     
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);            
    /*content*/
    overflow: hidden;
    overflow-y: auto;    
    word-wrap: break-word;        
}


/* For mobile phones: */
@media only screen and (min-device-width: 0px) and (max-device-width: 767px) {
    .messageform {
        width: 90%;
    }
}

/* For tablets: */
@media only screen and (min-device-width: 768px) and (max-device-width: 1199px) {
    
    .messageform {
        width: 50%;
    }
    
}

/* For laptops: */
@media only screen and (min-device-width: 1200px) {
    .messageform {
        width: 33%;
    }      
}
        

