/* Metro UI CSS fixes */

html{
	/*font-size: 39px !important;*/
	word-wrap: break-word;
}

.logo{
	width: 100%;
}

.listview .list {
    min-height: 50px;
}
.listview-outlook .list .list-content .list-remark, .listview-outlook .list .list-content .list-subtitle, .listview-outlook .list .list-content .list-title {
    overflow: hidden;
    white-space: normal;
}

.checkbox, .radio {
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
    position: relative;
}

.panel > .heading, .listview .list {
    height: auto;
}

.panel > .heading > .title {
    display: inline-block;
}

.mif-ani-onetime {
  animation-iteration-count: 2 !important;  
}

.dialog-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.panel > .heading {
    background-color: transparent;
    color: #000;
    box-shadow: none;
    border-bottom: 1px solid black;
}

.panel > .heading > .icon, .panel > .content {
    background-color: transparent;
}

.image-container .frame {
    background-color: transparent;
}

.dropdown-toggle::before {
    border-color: snow;
}

/*.metro input, .metro select, .metro *[type=button], .metro button, .metro *[type=submit]{
    border-color: #666;
}*/

body > .container-fluid {
    padding-top: 80px;
}

.tiacicon {
    font-family: tiacsymbolregular !important;
    font-size: 500%;
}

.hyphenate {
    /*text-align: justify;*/
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

div.progress > div.bar {
    transition: width 1.5s cubic-bezier(0.42, 0, 0, 1);
}

.login-form {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transition: all .5s ease-in-out;
    transform: scale(.7);
}

#me{
    display:inline-block;
    height:60%;
    background-size: cover;
    border-radius:50%;
    margin-top: 35%;
}

#me img{
    display:block;
    height:100%;
    width:auto;
}

.dashboard .panel {
    margin-bottom: 20px;
}

.fliptile {
    padding: 0;
    border: none;
    box-shadow: none;
}

.fliptile:hover {
    z-index: 10;
    outline: none;
}

.fliptile .tile {
    margin: 0;
}

/* entire container, keeps perspective */
.flip-container {
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;

    -webkit-transform: perspective(1000px);
    -ms-transform: perspective(1000px);
    -moz-transform: perspective(1000px);
    transform: perspective(1000px);

    -webkit-transform-style: preserve-3d; 
    -moz-transform-style: preserve-3d; 
    -ms-transform-style: preserve-3d; 
    transform-style: preserve-3d;
}
/*  UPDATED! flip the pane when hovered */
.flip-container:hover .back {
    transform: rotateY(0deg);
}
.flip-container:hover .front {
    transform: rotateY(180deg);
}

.flip-container {
    /*width: 150px;
    height: 150px;*/
}

/* flip speed goes here */
.flipper {
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;

    -webkit-transform: perspective(1000px);
    -ms-transform: perspective(1000px);
    -moz-transform: perspective(1000px);
    transform: perspective(1000px);

    -webkit-transform-style: preserve-3d; 
    -moz-transform-style: preserve-3d; 
    -ms-transform-style: preserve-3d; 
    transform-style: preserve-3d;

    transition: 0.6s;
    position: relative;
}

/* hide back of pane during swap */
.front, .back {
    backface-visibility: hidden;
    transition: 0.6s;
    transform-style: preserve-3d;

    position: absolute;
    top: 0;
    left: 0;
}


/*  UPDATED! front pane, placed above back */
.front {
    z-index: 2;
    transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
    transform: rotateY(-180deg);
}

#lwcharm {
    width: 340px;
    max-width: 100%;
}

footer.app-bar {
    position: fixed;
    bottom: 0;
}

.hidden {
    display: none !important;
}

/*
        Settings
*/
.checkbox .switch input:checked ~ .check{
    background-color: green;
}

.checkbox .switch .check{
    background-color: red;
}

.tooltip {
    position: relative;
    display: inline-block;
	/* If you want dots under the hoverable text: */
    /*border-bottom: 1px dotted black;*/ 
}

.tooltip .tooltiptext, .tooltip .tooltiptext-foto {
    visibility: hidden;
    width: 360px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 60px;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 22%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
/* Show Tooltip on Hover*/
.tooltip .tooltiptext-foto::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 20px;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext, .tooltip:hover .tooltiptext-foto {
    visibility: visible;
    opacity: 0.6;
}

/* Croppie Foto CSS Begin*/
    #foto-container{
        width:auto;
        height:300px;
        position: relative;
    }

    .foto-container{
        width:auto;
        /*height:300px;*/
        padding-top: 5%;
    }

    .button-container{
        /*margin-top: 60px;*/
    }

    #overlay, #overlay-photo{
        position: fixed; /* Sit on top of the page content */
        display: none; /* Hidden by default */
        width: 100%; /* Full width (cover the whole page) */
        height: 100%; /* Full height (cover the whole page) */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.5); /* Black background with opacity */
        z-index: 2; /* Specify a stack order in case you're using a different order for */
        padding:10% 38.5%;
    }


    #overlay > div.overlay-content{
        width:350px;
        height:300px;
        padding:45px;
        padding-top:25px;
        overflow:hidden;
        opacity: 1;
        background-color: white;
        color:black;
    }
    
    #overlay-photo> div.overlay-content{
        
        padding:45px;
        padding-top:25px;
        overflow:hidden;
        opacity: 1;
        background-color: white;
        color:black;
    }    

    #img-preview{
        padding-left:15%;
    }

    .foto-control-panel{
        padding-left:5%;
    }
    
    #overlay .foto-control-panel{
        padding-left:0;
    }
    
    #get-result:disabled{
        /*background-color:#b0cee8;*/
        cursor: not-allowed; 
    }
    
    /*.input-control.foto-upload-input{
        width:55%;
    }*/
            
/* Croppie Foto CSS End*/

@media screen and (max-width: 640px) {
    body > .container-fluid {
        padding-top: 40px;
        letter-spacing: 0.05rem;
    }
}

@media screen and (min-width: 640px) {
    .container-fluid {
        padding-left: 2.12765%;
        padding-right: 2.12765%;
    }
}

.notice{
    position: relative;
    margin-top: 1.25rem;
    padding-bottom: 0.9rem;
    /*padding: 1.5rem;*/
    text-align: left;
}
.notice p {
    margin-top: 0;
    margin-bottom: 0;
}
.notice p:last-child {
    margin-top: 1em;
}

.info-symbol{
    position: absolute;
    padding: 0.1em 0.5em 0.4em;
    left: -0.5rem;
    top: -0.76rem;
    background-color: inherit;
    border-radius: 0.2rem;
    box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
    border: 1px solid;
}
.info-symbol .mif-warning::after{
    content: " Warning";
    font-variant: small-caps;
}
.info-symbol .mif-info::after{
    content: " Info";
    font-variant: small-caps;
}

svg{
    height: 75px;
    width: 330px;
}

            #frmOptPwd .custom{
                width: 100% !important;
                border: 1px solid #333;
                height: 2.125rem;
                overflow: auto;
                padding: 0.125rem 0.375rem;
            }
            #frmOptPwd .custom-label{
                display: block;
                margin-top: 0.5rem;
                margin-bottom: 0.25rem;
            }
            #frmOptPwd input[type=reset], #frmOptPwd input[type=submit]{
                margin-top: 1rem;
            }