﻿﻿ /******** Shared ***********/
body {
    overflow: hidden;
	background:red;
}

.main {
    line-height: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    display:flex;
    align-items:center
}

.main-wrapper {
    display: inline-block;
    vertical-align: middle;
    margin: auto;
    justify-content: space-between;
    flex-wrap:wrap;
    padding:40px 0;
    align-items:center
}

.home-image {
    margin-bottom: 2em;
    max-width:100%;
    height:auto
}

.site-name {
    font-size: 48pt;
    color: #369;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 1.5em;
}

.site-type {
    font-size: 18pt;
    color: #369;
    margin-bottom: 1em;
}

.home-background {
    opacity: 0.4;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    position: absolute;
    left: 0;
    right: 0;
}

.home-background-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 20px;
    font-size: 18pt;
    font-weight: bold;
    opacity: 0.5;
    font-style: italic;
    color: #666;
}

/******** Unauthenticated ***********/
.main-wrapper .site-type, .main-wrapper .login-buttons{
    width: 100%
}
.main-wrapper .login-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 817px;
    margin: 0 auto 2em auto;
    width:100%
}
.login-buttons input[type=button] {
    display: inline-block;
    font-weight: 500;
    margin-bottom: 10px;
    background: #fff;
    border: solid 1px #d4dee8;
    color: #5e6b77;
    font-size: 14px;
    padding: 6px 25px;
    width: 100%;
    max-width: 200px;
    border-radius: 20px !important;
    line-height:20px
}
    
.sigma-image {
    max-width: 150px !important;
    width: 100%;
    margin-top: 4px;
}
@media(min-width:992px) {
    .main-wrapper {
        width: 100%
    }

    .login-buttons + div {
        position: absolute;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%)
    }
    .site-type {
        text-decoration:underline
    }
}

@media (max-width:991px) {
    .main-wrapper {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

        .main-wrapper .login-buttons {
            margin-bottom: 2em;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            max-width:430px;
        }

    .sigma-image {
        max-width: 100px !important;
    }
    .home-image {
        max-width: 250px;
    }
    .site-type {
        font-size: 25pt;
        line-height: 39px;
        font-weight: 900;
    }

/******** Authenticated ***********/
#dToolbar {
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 0 0 70px;
    overflow: hidden;
    border-right: solid 1px #ccc;
}

.preview-background {
    z-index: 10000;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background-color: #000;
    vertical-align: middle;
    text-align: center;
}

.preview-overlay {
    padding-top: 50px;
    z-index: 10001;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

    .preview-overlay h1 {
        color: #fff;
        background-color: #000;
        font-size: 40px;
        padding: 10px;
        opacity: 0.6;
    }

    /* Without this class/container, the scaled iframes maintain
           their massive (pre-scaled) dimensions */
    .preview-overlay .preview {
        width: 204px;
        height: 152px;
        overflow: hidden;
        display: inline-block;
        position: relative;
        margin: 15px;
        cursor: pointer;
    }

    .preview-overlay .selected {
        border: solid 2px red;
    }

/* iframes are initially set large enough to get a good view
           of the contained page. They are then scaled down to one-
           tenth their original size */
.preview iframe {
    width: 1020px;
    height: 768px;
    -webkit-transform: scale(.2);
    -webkit-transform-origin: 0 0;
    -moz-transform: scale(.2);
    -moz-transform-origin: 0 0;
    -ms-transform: scale(.2);
    -ms-transform-origin: 0 0;
    -o-transform: scale(.2);
    -o-transform-origin: 0 0;
    transform: scale(.2);
    transform-origin: 0 0;
    opacity: 1;
    margin: 3px;
}

/* Prevents the user from interacting with the iframe page */
.preview:after,
.preview::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#dHome {
    display: inline-block;
    float: left;
    border-right: solid 1px #fff;
    width: 70px;
    text-align: center;
}

#imgHome {
    cursor: pointer;
    width: 45px;
    height: 45px;
    border: solid 1px #fff;
    padding: 5px;
}

#ulToolbar li {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

    #ulToolbar li.selected {
        border-left: solid 3px #369;
        padding-left: -3px;
        background-color: #f5f5f5;
        border-right: solid 1px #ccc;
        padding-right: -1px;
    }

#ulToolbar img {
    width: 45px;
    height: 45px;
    border: solid 1px #ccc;
    padding: 5px;
    cursor: pointer;
    background-color: #fff;
}

.circle {
    margin: auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    line-height: 50px;
    text-align: center;
    background: #666;
    padding: 12px;
    border: solid 2px #ccc;
}

/* COMMON CSS */

/* ======= Padding ======= */
.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.px-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.px-20 {
    padding-left: 20px;
    padding-right: 20px;
}

.px-30 {
    padding-left: 30px;
    padding-right: 30px;
}

.px-40 {
    padding-left: 40px;
    padding-right: 40px;
}

.px-50 {
    padding-left: 50px;
    padding-right: 50px;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.py-10 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.py-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.py-30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.py-40 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.py-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.pl-0 {
    padding-left: 0;
}

.pl-10 {
    padding-left: 10px;
}

.pl-20 {
    padding-left: 20px;
}

.pl-30 {
    padding-left: 30px;
}

.pl-40 {
    padding-left: 40px;
}

.pl-50 {
    padding-left: 50px;
}

.pr-0 {
    padding-right: 0;
}

.pr-10 {
    padding-right: 10px;
}

.pr-20 {
    padding-right: 20px;
}

.pr-30 {
    padding-right: 30px;
}

.pr-40 {
    padding-right: 40px;
}

.pr-50 {
    padding-right: 50px;
}

.pt-0 {
    padding-top: 0;
}

.pt-10 {
    padding-top: 10px;
}

.pt-20 {
    padding-top: 20px;
}

.pt-30 {
    padding-top: 30px;
}

.pt-40 {
    padding-top: 40px;
}

.pt-50 {
    padding-top: 50px;
}

.pb-0 {
    padding-bottom: 0;
}

.pb-10 {
    padding-bottom: 10px;
}

.pb-20 {
    padding-bottom: 20px;
}

.pb-30 {
    padding-bottom: 30px;
}

.pb-40 {
    padding-bottom: 40px;
}

.pb-50 {
    padding-bottom: 50px;
}

.full-width {
    width: 100%
}

.float-left {
    float: left
}

.float-right {
    float: right
}
.dialogtitle {
    display: none;
}
