@media all {
  .mdc-text-field__input::placeholder {
    opacity: 1 !important;
  }
}


/* ==================================

UConn NetID Login

by Brian Dunnigan

January 2025

================================== */


/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block; }
body {
    line-height: 1; }
ol, ul {
    list-style: none; }
blockquote, q {
    quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none; }
table {
    border-collapse: collapse;
    border-spacing: 0; }
		




/* #Fonts
================================================== */
/*
 * Web Fonts from fontspring.com
 *
 * All OpenType features and all extended glyphs have been removed.
 * Fully installable fonts can be purchased at http://www.fontspring.com
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Fontspring. The fonts are protected under domestic and international trademark and 
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2010-2012 Fontspring
 *
 *
 *
 *
 * The fonts included are copyrighted by the vendor listed below.
 *
 * Vendor:      Mark Simonson Studio
 * License URL: http://www.fontspring.com/fflicense/mark-simonson-studio
 *
 *
 */
 
 @font-face {
	font-family: 'Proxima Nova';
	src: url('../fonts/proximanova_regular/ProximaNova-Reg-webfont.eot');
	src: url('../fonts/proximanova_regular/ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/proximanova_regular/ProximaNova-Reg-webfont.svg#proxima_nova_rgregular') format('svg'),
		 url('../fonts/proximanova_regular/ProximaNova-Reg-webfont.woff') format('woff'),
		 url('../fonts/proximanova_regular/ProximaNova-Reg-webfont.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	}		 


@font-face {
	font-family: 'Proxima Nova';
	src: url('../fonts/proximanova_semibold/ProximaNova-Sbold-webfont.eot');
	src: url('../fonts/proximanova_semibold/ProximaNova-Sbold-webfont.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/proximanova_semibold/ProximaNova-Sbold-webfont.svg#proxima_nova_ltsemibold') format('svg'),
		 url('../fonts/proximanova_semibold/ProximaNova-Sbold-webfont.woff') format('woff'),
		 url('../fonts/proximanova_semibold/ProximaNova-Sbold-webfont.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	}


@font-face {
	font-family: 'Proxima Nova';
	src: url('../fonts/proximanova_bold/ProximaNova-Bold-webfont.eot');
	src: url('../fonts/proximanova_bold/ProximaNova-Bold-webfont.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/proximanova_bold/ProximaNova-Bold-webfont.svg#proxima_nova_ltsemibold') format('svg'),
		 url('../fonts/proximanova_bold/ProximaNova-Bold-webfont.woff') format('woff'),
		 url('../fonts/proximanova_bold/ProximaNova-Bold-webfont.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
	}
	
	
	

/* Utilities */

.accessibility {
	visibility:hidden;
	position:absolute;
	height:0;
	width:0;
}
	

/* ================================================== */

html {
height: 100%;
  min-height: 100%;
}


body {
	font-family:'Proxima Nova', Helevtica, Arial, sans-serif;
	background: rgb(1,62,205);
    background: linear-gradient(135deg, rgba(1,62,205,1) 0%, rgba(0,14,47,1) 100%);
	background-size: cover !important;
    background-repeat:no-repeat;
    height: 100%!important;
    min-height: 100%;
	}

@media (max-width:600px) {
    body {
        background-image:none !important;
			background: rgb(1,62,205) !important;;
    background: linear-gradient(135deg, rgba(1,62,205,1) 0%, rgba(0,14,47,1) 100%) !important;;
    }
}

#wrap {
	width:470px;
	margin:auto;
	padding:50px 0 40px;
	}
	.lte8 #wrap {
		position:relative;
		left:50%;
		margin-left:-180px;	
		}

@media (max-width:600px) {
	#wrap {
		width:90%;
		padding-top:10px;
	}
}
				
	 h2 {
		margin: 0;
		font-size:24px;
		text-align:center;
		color:#000e2f;
		font-weight:500;
		}
	 #message,
	 #slogan {
		color:#616161;
		text-align:center;
		margin: 30px 0px 0px;
		font-size:14px;
		line-height:18px;
		display: block;
		}
			#destination {
				display:block;
				width:100%;
				text-overflow:ellipsis;
				overflow:hidden;
				font-family: 'Proxima Nova', sans-serif;
				font-weight:bold;
				text-align: center;
				}

#focus {
	/*! background-color:white; */
	/*! padding:30px 50px 30px; */
		/*! -moz-box-shadow:0px 2px 2px 0px #b2b2b2; */
		/*! -webkit-box-shadow:0px 2px 2px 0px #b2b2b2; */
	/*! box-shadow:0px 2px 2px 0px #b2b2b2; */
	}



#focus {
  background-color:transparent;
  padding:80px 44px;
  position:relative;
  z-index:1;
  overflow:hidden;
  color:white;
  margin-top:20px;
  margin-bottom:50px;
  line-height:1.6em;
  font-size:16px;
  margin-left:auto;
  margin-right:auto;
  font-family:"proxima nova", sans-serif;
  width: 386px;
}

@media (max-width:600px) {
	#focus {
	   padding:70px 35px;
	}
}

#focus::before {
  border-radius: 100%;
  position: absolute;
  background: white;
  right: -50%;
  left: -50%;
  top:0px;
  bottom:0;
  content: '';
}

#focus * {
  position:relative;
  z-index:2;
}



	
	legend {
		color:#989898;
		margin-bottom:20px;
		}
		legend #destination {
			color:#434343;
			}
	
	label {
		padding-bottom:5px;
		display:block;
		color:#535353;
		visibility:hidden;
		position:absolute !important;
		top: 6px;
		left: 16px;
		}
		.no-supports-placeholder label,
		.lte9 label {
			visibility:visible;
			height:auto;
			position:relative;
			}
			
			
	.row_check {
		margin-top:1.5em;
		font-size:.75em;
		}
		.row_check label {
			visibility:visible!important;
			height:auto!important;
			position:relative!important;
			display:inline!important;
			}
	
	.textfield {
		font-size:16px;
		padding:16px 15px 14px;

		transition: all 200ms;
		}
		.textfield {
			margin-bottom:0;
			}
			#login {
				}
			#password {
				position:relative;
				top:-1px;
				}
		.no-supports-placeholder .textfield,
		.lte9 .textfield {
			margin-bottom:20px;
				-webkit-border-radius:3px !important;
				-moz-border-radius:3px !important;
			border-radius:3px !important;
				-moz-box-shadow:    inset 0px 1px 2px 0px #e5e5e5 !important;
				-webkit-box-shadow: inset 0px 1px 2px 0px #e5e5e5 !important;
			box-shadow:         inset 0px 1px 2px 0px #e5e5e5 !important;
			}
			
			
		
	#submitBtn {
		width:100%;
		padding:30px 0px 28px;
		border:0;
		margin-bottom: 10px;
		color: #fff;
		font-size: 14px;
		font-weight: 500;
		line-height: 36px;
		text-align: center;
		background: #000e2f;
		text-transform: uppercase;
		letter-spacing:0.15em;
		border-radius:0px;
		box-shadow:none;
		font-family: "proxima nova", sans-serif;
		}
		#submitBtn:hover,
	#submitBtn:active,
	#submitBtn:focus{
			background: #013ECD;
			cursor:pointer;
			}		
	
	#help {
		margin:3px 0px 25px;	
		}
		#help a {
			font-size:14px;
			color:#013ECD;
			}

#description {
	padding:40px 0;
	font-size:11px;
	font-family:Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	}
	#description p {
		padding-bottom:.4em;
		border-bottom:1px solid #ccc;
		margin-bottom:1em;
		}
	#description li {
		margin:.5em 0;
		text-align:center;
			}


 /* Prelaunch tweaks, June 2015 */
 
 .error-message {
	padding:22px;
	background-color:#f8d7da;
	border:1px solid #f1aeb5;
	margin-bottom:18px;
	color:#2b2b2b;
	}
	.error-headline {
		font-size:16px;
		line-height:16px;
		font-weight:500;
		margin-bottom:14px;
		color: #dc3545;
		}
		.error-flag {
			display:none;
			height:0;
			width:0;
			border: 1px solid transparent;
			border-left-color:#dc3545;
			border-width:6px 11px 6px 11px;
			}
	.error-details {
		font-size:14px;
		line-height:1.4em;
		}
	.error-details a {
		color:#013ECD;
		}
#slogan {
	text-align:left;
	}
	#slogan strong {
		color:#000;
		font-weight:bold;
		}
		
#system {
	margin-bottom:1em;
}



/* Duo and 5.2.4 tweaks */

#uc-footer {
height:30px;
}

#content {
min-height: calc(100vh - 120px);
width: 600px;
margin-left: auto;
margin-right: auto;
margin-top:29px;
z-index: 999;
position: relative;
}

@media (max-width:600px) {
#content {
width: 100%;
}
}

#duo_form {
overflow: hidden;
margin-bottom: 30px;
margin-top: 0px;
-moz-box-shadow: 0px 1px 3px 0px #b2b2b2;
-webkit-box-shadow: 0px 1px 3px 0px #b2b2b2;
box-shadow: 0px 1px 3px 0px #b2b2b2;
}

#login {
overflow: hidden;
margin-top: -1px;
width: 602px;
margin-left: -1px;
}

#login.unauthorized {
width:auto;
}

#login.cas-generic-view {
width:auto;
}


@media (max-width:600px) {
#login {
width:362px;
}
}

#duo_iframe {
margin-bottom:-5px;
height: 500px;
width: inherit; 
}

.textfield {
  /*! width: 100%; */
  line-height: 1.5em;
font-family:"proxima nova", sans-serif;
}

body.login #login {
width:auto !important;
overflow: visible !important; 
}

body.login #content {
margin-top:0px;
}
#iam_wrap {
  width: 100%;
  height: 300px;
  text-align: center;
  margin:auto;
  padding:30px 0 40px;

}

#scaled-frame {
  width: 100%;
  height: 300px;
  margin-top: -1px;
  position:relative;
}


#Blue {
width: 230px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 40px;
}


input::-moz-placeholder {
  color:#5F666D;
  opacity:1
}
input::placeholder {
  color:#5F666D;
  opacity:1;
font-family: "proxima nova", sans-serif;
}

#iam_wrap {
    display:none;
}

input:focus, input:not(:placeholder-shown) {
	padding-top:25px;
	padding-bottom:5px;
}


input:focus + label, input:not(:placeholder-shown) + label {
	visibility: visible;
	font-size: 14px;
}

input:focus::-moz-placeholder{
 color: transparent
}


input:focus::-webkit-input-placeholder {
	 color: transparent;
}

.mdc-card {
	background-color:transparent;
	box-shadow:none;
}

.input-wrap {
	width:100%;
	overflow: hidden;
	border:1px solid #e1e1e1;
	background: #E6E9F1;
}


.fa-shield-alt {
  margin-right:6px
}

#main-content {
padding-top:0px !important;
}
 


@media (max-width:767px) {
  #main-content {
   
  /*! width: 90%; */
  position: relative;
  padding-left: 0;
  padding-right: 0;
  margin-left: 20px;
  margin-right: 20px;
padding-top:20px !important;
  /*! display: flex; */
  }
  
  #content {
    padding-top:0px;
    display: block !important;
    width:100%;
    position: relative;
  }
  
  .mdc-top-app-bar--fixed-adjust {
    padding-top: 0px;
    position: relative;
  }
  
  .mdc-card {
    display:block !important;
  }
  
  #focus {
    width:auto;
    margin-left:auto !important;
    margin-right:auto !important;
    padding: 70px 35px;
    position: relative;
    max-width:386px;
  }
}


.fa-shield-alt {
font-size:19px !important;
}

#usernameSection.cas-field {
  margin-bottom:10px !important;
}

#passwordSection.cas-field {
  margin-top:0px !important;;
  margin-bottom:30px !important;
}

.unauthorized-access #focus::before {
  background:#f8d7da;
}


.unauthorized-access * {
  color:#842029;
}

.unauthorized-access h1 {
  font-weight:bold;
  margin-bottom:15px;
  font-size:26px;
  color:#842029;
}

.unauthorized-access #focus {
padding:80px 41px;
}





.cas-generic-view-access #focus::before {
  background: #d4edda; /* Light green */
}

.cas-generic-view-access * {
  color: #155724; /* Dark green for contrast */
}

.cas-generic-view-access h1 {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 26px;
  color: #155724;
}

.cas-generic-view-access #focus {
  padding: 80px 41px;
}

.cas-generic-view-access ul {
  margin-top:15px;
}

.cas-generic-view-access ul li {
  margin-bottom:5px;
}

.cas-generic-view-access ul li a {
  text-decoration: underline;
}

.cas-generic-view-access ul li a:hover,
.cas-generic-view-access ul li a:active,
.cas-generic-view-access ul li a:focus{
  color:black;
}

.cas-generic-view-access ul li span {
vertical-align: top;
font-size: 19px;
  margin-top: 3px;
  margin-right: 6px;
}



/* Interrupt Page Specific Styling */
#cas-interrupt {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Main Container */
#cas-interrupt .container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

/* Card Styling */
#cas-interrupt .mdc-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Header Styling */
#cas-interrupt h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* Paragraph Text */
#cas-interrupt p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* Information Alert */
#cas-interrupt .alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border: 1px solid #bee5eb;
    border-radius: 5px;
    text-align: left;
}

/* Table Styling */
#cas-interrupt .mdc-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#cas-interrupt .mdc-data-table th {
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-align: left;
}

#cas-interrupt .mdc-data-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

#cas-interrupt .mdc-data-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Buttons */
#cas-interrupt .mdc-button {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    width: 200px; /* Ensures both buttons are the same width */
    height: 60px; /* Ensures both buttons are the same height */
    font-size: 20px; /* Ensures same text size */
    font-weight: bold;
    padding: 16px 0; /* Centering text inside */
    border: none;
}

/* Proceed Button */
#cas-interrupt .proceed-btn {
    background-color: #007bff;
    color: white;
}

#cas-interrupt .proceed-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Login Again Button */
#cas-interrupt .login-again-btn {
    background-color: #6c757d;
    color: white;
}

#cas-interrupt .login-again-btn:hover {
    background-color: #5a6268;
    transform: scale(1.05);
}

/* Link Styling */
#cas-interrupt a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

#cas-interrupt a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Form Actions */
#cas-interrupt .form-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Ensures buttons don't overflow on small screens */
}

#cas-interrupt .form-actions input[type="submit"] {
    width: 200px; /* Matches button width */
    height: 60px; /* Matches button height */
    font-size: 20px;
    font-weight: bold;
}

/* Alert Box - Ensure it has correct structure */
#cas-interrupt #interrupt-alert {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    border: 1px solid #bee5eb;
    background-color: #d1ecf1;
    border-radius: 5px;
}

/* Ensure Button is Positioned Correctly */
#cas-interrupt #sspr-button-container {
    display: flex;
    justify-content: flex-end; /* Moves button to the right */
    width: 100%;
    margin-top: 10px;
}

/* SSPR Options Button */
#cas-interrupt #updatenetidaccount {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 50px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    background-color: #007bff;
    color: white;
    border: 2px solid #007bff;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Hover Effect */
#cas-interrupt #updatenetidaccount:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: scale(1.05);
    color: white;
}


/* Cancel Button Container */
#cancel-container {
    display: flex;
    justify-content: center;  /* Centers the button horizontally */
    margin-top: 20px;
}

/* Cancel Button Styling */
#cancel {
    width: 200px; /* Ensures a consistent button width */
    height: 55px; /* Adjusted height for uniformity */
    font-size: 18px; /* Adjusts font size for better readability */
    font-weight: 600;
    text-align: center;
    background-color: #6c757d;
    color: white;
    border: 2px solid #6c757d;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Hover Effect */
#cancel:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: scale(1.05);
    color: white;
}

#interrupt-image img {
    max-width: 50%; /* Reduces the size to 50% of its original width */
    height: auto; /* Keeps aspect ratio */
    display: block;
    margin: 20px auto; /* Centers the image and adds spacing */
    border: none; /* Removes any border */
    border-radius: 0; /* Ensures no rounded corners */
    box-shadow: none; /* Removes any shadow effect */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    #interrupt-image img {
        max-width: 70%; /* Slightly larger on smaller screens */
    }
}

@media (max-width: 480px) {
    #interrupt-image img {
        max-width: 80%; /* Adjust size for mobile devices */
    }
}
