
html {
    height: 100%;
}
body {
/*    font-family: "Segoe UI","Segoe UI Web Regular","Segoe UI Symbol","Helvetica Neue","BBAlpha Sans","S60 Sans",Arial,"sans-serif";
    margin: 0px;
    height: 100%;
    font-size: 100%;
    cursor: move;
    overflow-x: hidden;
    background-repeat: repeat;
    background-position: 50% 50%;
    background-color: #000000;
    background-attachment: fixed;*/

}
/* ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.7);
} */
img {
    border: none;
}
textarea, input, select {
    outline: none;
    font-family: Arial,"sans-serif";
}
.hidden {
    display: none;
}
.clear {
    clear: both;
}
.transition_all {
    -webkit-transition: all 0.4s;
       -moz-transition: all 0.4s;
         -o-transition: all 0.4s;
        -ms-transition: all 0.4s;
            transition: all 0.4s;
}
.text_shadow {
    color: #222222;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3);
}
.spacer_20 {
    height: 20px;
    clear: both;
}
#widget_scroll_container {
    overflow: hidden;
    margin: 0px auto;
    position: relative;
    top: 2rem;
    left: 60px;
    margin-left:5%;
    margin-right:5%;
}
#widget_preview {
    top: 50%;
    right: 50%;
    left: 50%;
    bottom: 50%;
    position: fixed;
    overflow: hidden;
    color: #FFFFFF;
    z-index: 200;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    cursor: default;
}
#widget_preview a  {
    color: #FFFFFF;
}
#widget_preview.open {
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}
#widget_preview.loading {
    background: url('../images/page_loader.gif') no-repeat scroll 50% 50%;
}
#widget_preview > div.dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #FFFFFF;
    right: 100%;
}
#widget_preview > div.dot.open {
    right: 0%;
}
#widget_sidebar {
    position: absolute;
    display: table;
    height: 100%;
    top: 0px;
    bottom: 0px;
    right: -66px;
    z-index: 500;
    width: 76px;
    -webkit-transition: all 0.2s linear;
       -moz-transition: all 0.2s linear;
        -ms-transition: all 0.2s linear;
         -0-transition: all 0.2s linear;
            transition: all 0.2s linear;
}
#widget_sidebar.open,
#widget_sidebar:hover {
    right: 0px;
    background-color: #111111;
}
#widget_sidebar > div {
    display: table-cell;
    vertical-align: middle;
}
#widget_sidebar > div > div {
    background-repeat: no-repeat;
    background-position: 50% 10px;
    height: 84px;
    cursor: pointer;
    position: relative;
}
#widget_sidebar > div > div:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
#widget_sidebar > div > div.cancel {
    background-image: url('../images/metro/cancel.png');
}
#widget_sidebar > div > div.download {
    background-image: url('../images/metro/save.png');
}
#widget_sidebar > div > div.back {
    background-image: url('../images/metro/back.png');
}
#widget_sidebar > div > div.next {
    background-image: url('../images/metro/next.png');
}
#widget_sidebar > div > div.refresh {
    background-image: url('../images/metro/refresh.png');
}
#widget_sidebar > div > div > span {
    font-size: 0.7em;
    text-align: center;
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    bottom: 10px;
}
#widget_preview_content {
    overflow: auto;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    font-size: 1.9em;
    -webkit-animation: widget_preview 0.2s linear;
       -moz-animation: widget_preview 0.2s linear;
        -ms-animation: widget_preview 0.2s linear;
         -o-animation: widget_preview 0.2s linear;
            animation: widget_preview 0.2s linear;
    -webkit-overflow-scrolling: touch;
       -moz-overflow-scrolling: touch;
            overflow-scrolling: touch;
}
div.page_content {
    padding: 16px;
}
div.widget_container {
    position: relative;
    margin-right: 50px; /* when this value is changed, make sure its also updated in ui class ($container_margin) */
    float: left;
    padding: 10px;  /* when this value is changed, make sure its also updated in ui class ($container_padding) */
    -webkit-perspective: 1000px;
       -moz-perspective: 1000px;
        -ms-perspective: 1000px;
         -o-perspective: 1000px;
            perspective: 1000px;
}
div.widget_container:last-child {
    margin-right: 0px;
}
div.widget {
    float: left;
    position: relative;
    color: #FFFFFF;
    cursor: pointer;
    margin: 1px; /* when this value is changed, make sure its also updated in ui class ($widget_margin) */
    border-radius: 1px;
    opacity: 1;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
         -o-user-select: none;
            user-select: none;

  
}
div.widget.unloaded {
    opacity: 0;
}

div.widget_link {
    cursor: pointer;
}

div.widget a {
    color: #FFFFFF;
}
div.widget div.main {
    overflow: hidden;
    position: absolute;
    left: 0px;
    right: 0px;
    height: 100%;
    top: 100%;
    -webkit-transition: top 0.4s;
       -moz-transition: top 0.4s;
        -ms-transition: top 0.4s;
         -0-transition: top 0.4s;
            transition: top 0.4s;
}
div.widget div.main {
    height: 100%;
    top: 0px;
    background-repeat: no-repeat;
    background-position: 95% 90%;
	
    opacity: 1;
}



div.widget div.widget_content {
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    overflow: hidden;
    font-weight: normal;
}
div.widget div.main > span {
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    font-size: 0.9em;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
       -moz-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
        -ms-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
         -o-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
            text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

/*
touch
*/
body.touch {
    overflow: auto;
}
body.touch div.widget:hover {
    border: none;
    -webkit-transform: scale(1);
       -moz-transform: scale(1);
        -ms-transform: scale(1);
         -o-transform: scale(1);
            transform: scale(1);
}
body{
    height: 100vh;
}

/*
Page Content
*/

.widget4x2 h1,.widget2x2 h1  {
    position: relative;
    margin: 0px 0px 20px 0px;
    padding: 0px;
    font-size: 1.5em;
    color: #ffffff;
    padding: 30px;
    line-height: 24px;
    font-weight: normal;
}

.widget_content img {
    opacity: 0.7;
    position: absolute;
    max-height:70px;
    max-width:100px;
    bottom: 1em;
    right: 1em;
    filter: brightness(0) invert(1);

}
@media (max-width: 871px){
.widget_content img {
    max-height: 50px;
    }  
}

.widget_content h2 {
    font-size: 1.4em;
    margin-left: 20px;
}

.widget_content p {
    padding: 20px;
    margin: 0px 20px 20px 20px;
    color: #000000;
    background-color: #FFFFFF;
    -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
       -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
        -ms-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
         -o-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
            box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
#widget_preview p.dark {
    background-color: #111111;
    color: #FFFFFF;
}
#widget_preview div.grid4 {
    float: left;
    width: 22.75%;
    margin: 0px 1.5%;
}
#widget_preview div.grid4:first-child {
    margin-left: 0px;
}
#widget_preview div.grid4:last-child {
    margin-right: 0px;
}
#widget_preview p input[type="text"],
#widget_preview p input[type="email"],
#widget_preview p input[type="password"],
#widget_preview p textarea {
    border: none;
    padding: 8px 10px;
    margin-bottom: 20px;
    background-color: #F9F9F9;
    resize: none;
    -webkit-box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.3);
       -moz-box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.3);
        -ms-box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.3);
         -o-box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.3);
            box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}
#widget_preview p input[type="text"],
#widget_preview p input[type="email"],
#widget_preview p input[type="password"] {
    width: 50%;
}
#widget_preview p textarea {
    width: 100%;
    height: 150px;
}
#widget_preview p input[type="text"]:focus,
#widget_preview p input[type="email"]:focus,
#widget_preview p input[type="password"]:focus,
#widget_preview p textarea:focus {
    -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.4);
       -moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.4);
        -ms-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.4);
         -o-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.4);
            box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.4);
}
#widget_preview p input.invalid,
#widget_preview p textarea.invalid {
    background-color: #FFEDED;
}
#widget_preview p input[type="button"],
#widget_preview p input[type="submit"] {
    border: none;
    color: #FFFFFF;
    background-repeat: no-repeat;
    background-color: #222222;
    padding: 8px 20px 8px 20px;
    font-size: 0.8em;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-box-shadow: 1px 1px 6px #999999;
       -moz-box-shadow: 1px 1px 6px #999999;
        -ms-box-shadow: 1px 1px 6px #999999;
         -o-box-shadow: 1px 1px 6px #999999;
            box-shadow: 1px 1px 6px #999999;
}
#widget_preview p input[type="button"]:hover,
#widget_preview p input[type="submit"]:hover {
    background-color: #333333;
}
#widget_preview p input[type="button"]:active,
#widget_preview p input[type="submit"]:active {
    -webkit-box-shadow: 2px 2px 6px #000000 inset;
       -moz-box-shadow: 2px 2px 6px #000000 inset;
        -ms-box-shadow: 2px 2px 6px #000000 inset;
         -o-box-shadow: 2px 2px 6px #000000 inset;
            box-shadow: 2px 2px 6px #000000 inset;
}
#widget_preview ul {
    padding: 0px 10px;
    margin: 0px;
    list-style: none;
    padding: 20px;
    margin: 0px 20px 20px 20px;
    color: #000000;
    background-color: #FFFFFF;
    -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
       -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
        -ms-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
         -o-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
            box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
#widget_preview li {
    background: url('../images/bullet.png') no-repeat 10px 50%;
    padding: 10px 10px 10px 45px;
    background-color: #EEEEEE;
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #DDDDDD;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-transition: all 0.2s linear;
       -moz-transition: all 0.2s linear;
        -ms-transition: all 0.2s linear;
         -o-transition: all 0.2s linear;
            transition: all 0.2s linear;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
        -ms-border-radius: 4px;
         -o-border-radius: 4px;
            border-radius: 4px;
}
#widget_preview li:first-child {
    border-top: none;
}
#widget_preview li:last-child {
    border-bottom: none;
}
#widget_preview li:hover {
    background-color: #DDDDDD;
    background-position: 20px 50%;
    padding-left: 55px;
}


/*
Compact Mode
*/
@media screen and (max-height: 680px) and (min-width: 768px){
    /* when this value is changed, make sure its also updated in ui class ($widget_width_small) */
    div.widget1x1 {
        width: 65px;
        height: 65px;
    }
    div.widget2x2 {
        width: 140px;
        height: 140px;
        
    }
    div.widget4x2 {
        width: 290px;
        height: 140px;
    }
    
    div.widget2x2 h1 {
    position: relative;
    margin: 0px 0px 20px 0px;
   
    font-size: 1.3em !important;
    color: #ffffff;
    /* text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3); */
    padding: 20px;
    line-height: 20px;
    font-weight: normal;
    }
   /* text-transform: uppercase;*/
   
   div.widget4x2 h1 {
    position: relative;
    margin: 0px 0px 20px 0px;
    padding: 0px;
    font-size: 1.5em;
    color: #ffffff;
    /* text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3); */
    padding: 30px;
    line-height: 24px;
    font-weight: normal;
 
   /* text-transform: uppercase;*/
    
	}


}


@-webkit-keyframes widget_preview {
    from {opacity: 0; -webkit-transform: translateY(-20px);}
    to {opacity: 1; -webkit-transform: translateY(0px)}
}
@-moz-keyframes widget_preview {
    from {opacity: 0; -moz-transform: translateY(-20px);}
    to {opacity: 1; -moz-transform: translateY(0px)}
}
@-ms-keyframes widget_preview {
    from {opacity: 0; -ms-transform: translateY(-20px);}
    to {opacity: 1; -ms-transform: translateY(0px)}
}
@-o-keyframes widget_preview {
    from {opacity: 0; -o-transform: translateY(-20px);}
    to {opacity: 1; -o-transform: translateY(0px)}
}
@keyframes widget_preview {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0px)}
}