@media only screen and (min-width: 1000px) {
    .mgLgnMascot {
    left:50%;
    width:200px;
    margin-left:-100px;
    margin-top:-95px;
    position:absolute;
    cursor:pointer;
}

    .mgLoginError {
    font-size:12pt;
    position:relative;
    clear:both;
    color:#2C2D30;
    top:65px;
    left:0px;
    width:380px;
    height:40px;
    line-height:40px;
    padding-left:20px;
    background-color:#FFFFFF;
    border-radius: 6px;
    border: 1px solid #DBDBDB;
    border-left:5px solid #D72B3F;
}


.loginsep {
    position:absolute;
    top:18px;
    height:50px;
    width:2px;
    background-color:#DBDBDB;
    left:200px;
}


    .loginrowsright {
    position: absolute;
    top: 0px;
    left: 220px;
    list-style-type: none;
    text-align: left;
    padding: 0;
}

    .loginrowsctr {
    position:absolute;
    top:0px;
    left:0px;
    list-style-type: none;
    text-align:left;
    padding: 0;
}

    .bottompane {
    position:relative;
    clear:both;
    top:65px;      /*height of logo height (70) + login pane height (400)*/
    left:0px;
    width:380px;
    height:100px;   
    padding : 10 10 10 10;
    text-align :center;
    color :#5E5E5E;
}
    
.loginpane {
    position:relative;
    clear:both;
    top:70px;
    left:0px;
    width:400px;
    height:380px;   /*height of box (450) minus logo height (70px) */
    background-color:#FFFFFF;
    border-radius: 6px;
    border: 1px solid #DBDBDB;
   /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); */
}

}

@media only screen and (max-width: 999px) {

.mgLoginError {
    font-size:12pt;
    position:relative;
    clear:both;
    color:#2C2D30;
    top:30px;
    left:50%;
    width:calc(90%) - 20px;
    height:40px;
    margin-left:calc(-45%);
    line-height:40px;
    padding-left:20px;
    background-color:#FFFFFF;
    border-radius: 6px;
    border: 1px solid #DBDBDB;
    border-left:5px solid #D72B3F;
}


.mgLgnMascot {
    left:50%;
    width:150px;
    margin-left:-75px;
    margin-top:-95px;
    position:absolute;
    cursor:pointer;
}

.loginsep {
    position:absolute;
    top:18px;
    height:50px;
    width:2px;
    background-color:#DBDBDB;
    left:48%;
}


.loginrowsright {
    position: absolute;
    top: 0px;
    right:10px;
    width:45%;
    list-style-type: none;
    text-align: left;
    padding: 0;
}

.loginrowsctr {
    position:absolute;
    top:0px;
    left:10px;
    width:45%;
    list-style-type: none;
    text-align:left;
    padding: 0;
}

.bottompane {
    position:relative;
    clear:both;
    top:65px;      /*height of logo height (70) + login pane height (400)*/
    left:50%;
    margin-left:-45%;
    width:calc(90% - 20px);
    height:100px;   
    padding : 10px 10px 10px 10px;
    text-align :center;
    color :#5E5E5E;
}

.loginpane {
    position:relative;
    clear:both;
    top:35px;
    margin-left:-45%;
    left:50%;
    width:90%;
    height:380px;   /*height of box (450) minus logo height (70px) */
    background-color:#FFFFFF;
    border-radius: 6px;
    border: 1px solid #DBDBDB;
   /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); */
}

}



.mgLoginErrorIcon {
    color:#D72B3F;
    font-size:16pt;
    padding-right:10px;
}


.mg_Warning {
    color:#FF0000;
    font-family:Lato;
    font-weight:bold;
    font-size:12pt;
    float:left;
    clear:left;
}

.graytext {
    color: #5E5E5E;
}

.mainTM {
    /* background-image:url(../images/bg.png); */
    background-color:#F5F5F5;
    background-position: center; 
    /* background-size:4000px 1000px; */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width:100%;
}

.loginpanearea {
    margin: 25 25 25 25;
    text-align:center;
}

.loginfieldsarea {
    position:relative;
    width:100%;
}

.loginrows {
    list-style-type: none;
    text-align:left;
    padding: 0;
}








.mgLgnMascot2 {
    left:50%;
    width:300px;
    margin-left:-150px;
    margin-top:-110px;
    position:absolute;
    cursor:pointer;
}

.mgLgnLogo {
    left:50%;
    width:280px;
    margin-left:-85px;
    position:absolute;
    cursor:pointer;
}

.mgLgnLogo2 {
    left:10px;
    width:150px;
    margin-top: -45px;
    position:absolute;
}

.logintextbox {
    width:100%;
    padding: 6px;
    color: #5E5E5E;
    border:1px solid #8B8B8D;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-radius: 4px;
}

/*Buttons*/

.tm_butt {
	/*-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;*/



     border:none;
	text-indent:0;
    text-decoration:none;
	text-align:center;
    z-index: 110;
    display:inline-block;
    background-color: #FF4040;
    line-height:30px;
    vertical-align:middle;
    color:#FFFFFF;
   font-family:arial;
	font-size:18px;
	font-weight:bold;
	font-style:normal;
    padding:12px;
    text-align :center;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-radius: 4px;
    cursor:pointer;

}

.tm_butt:hover {
	background-color:#FF8D8D;
}

.tm_buttsignin {
	/*-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;*/
    border:none;
	text-indent:0;
    text-decoration:none;
	text-align:center;
    z-index: 110;
    display:inline-block;
    background-color: #358EB7;
    line-height:50px;
    vertical-align:middle;
    color:#FFFFFF;
   font-family:arial;
	font-size:18px;
	font-weight:bold;
	font-style:normal;
    text-align :center;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-radius: 4px;
    cursor:pointer;



}

.tm_buttsignin:hover {
	background-color:#1C80C6;
}


.tm_butt2 {
	/*-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;*/
    border:none;
	text-indent:0;
    text-decoration:none;
	text-align:center;
    z-index: 110;
    display:inline-block;
    background-color: #358EB7;
    line-height:30px;
    vertical-align:middle;
    color:#FFFFFF;
   font-family:arial;
	font-size:18px;
	font-weight:bold;
	font-style:normal;
    padding:12px;
    text-align :center;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-radius: 4px;
    cursor:pointer;



}

.tm_butt2:hover {
	background-color:#1C80C6;
}



.middlepane {
    position:absolute;
    top:50%;
    left:50%;
    width:400px;
    height:550px;
    margin-left:-200px;
    margin-top:-225px;
}

.loadingpane {
    z-index:998;
    position:absolute;
    top:50%;
    left:50%;
    width:490px;
    height:490px;
    margin-left:-245px;
    margin-top:-245px;
}


.tm_middle {
    text-align :center;
    margin-bottom:15px;
}

.tm_logbuttattr {
    position: relative;
    width:100%;
    height:50px;
    margin-top:5px;
    margin-bottom:5px;
}

.tm_logbuttattr2 {
    position: relative;
    width:100%;
    height:40px;
    margin-bottom:5px;
}

.tm_logbuttSignin {
    background-color: #45A1E0;
}

.tm_logbuttSignin:hover {
    background-color: #1C80C6;
}


.tm_logbuttblue {
    background:url(../images/tmFacebook.png) no-repeat;
    background-position: 10px 8px;
    background-color: #A166AB;
}

.tm_logbuttblue:hover {
    background-color: #6881B4;
}

.tm_logbuttred {
    background:url(../images/tmGoogle.png) no-repeat left center;
    background-position: 10px 8px;
    background-color:#4B6CAB;
}

.tm_logbuttred:hover {
    background-color:#E77D65;
}

.tm_ForgotPassword {
    position: absolute;
    bottom:20px;
    left:0px;
    width:400px;
    text-align:center;
    color: #555459;
}

/*.tm_logbuttattr:active {
	position:relative;
    margin:1px;
}*/

.tm_cloud {
    background-image:url(../images/mg_cld.png);
    position:absolute;
    left:-150px;
    top:0px;
    width: 120px;
    height: 81px;
    z-index:5000;

}

