﻿:root{
    --amarelo: #FFC72C;
    --vermelho: #DB1A16;
    --chocolate: #704241;
    --creme: #FFEF70;
    --branco: #FFFFFF;
  }
  

html {
	width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    background: white; /* if needed this will change the background color */
    width: 100%; /* have background fill view */
    height: 100%; /* have background fill view */
    margin: 0 auto; /* make header hit the top of the page */
    font-family: "Segoe UI",WeblySleek UI,Helvetica,Arial,sans-serif;
    font-size: 100%;
    color: #4A4A4A; /* light grey font color */
    line-height: 1.3;
}

#body-wrapper { /* controls the body size */
    width: 1440px; /* Adjust for size of body (width) conent */
    margin: 0 auto; /* horizontally centers the body conent */
}

header { /* Controls header size and positioning */
    padding-top: 30px; /* the padding here and the next two moves the header to a more center position */
    padding-bottom: 30px;
    padding-left: 23px;
    width: auto; /* fills the header to fit the width of the body */
    float: left; 
}

header img { /* Controls the avanade logo style */
    border: 0;
    width: 125px;
    height: auto; /* since its an SVG, this is set to auto if width changes */
    padding-right: 20.5px; /* creates space for border */
    margin-right: 20.5px; /* creates space after border */
    border-right: solid;
    border-width: 1px;
    border-color: #E9EFF2;
    float: left; /* make it so password reset can sit to the right of this */
}

header p { /* Controls the header p, the password reset text */
    font-size: 24px;
    margin: 0; /* removes standard p margins */
    color: #6D7886;
    width: 300px; 
    float: left;
}

.APR-wrapper { /* Controls the center div which contains the big image */
    background-image: url("/Style Library/assets/images/Dark Image - Desktop.png");
    background-size: cover; 
    background-position: center;
    float: left; /* allows other divs to be on top of this div */
    width: inherit; /* makes this div the same width as the body wrapper */
    height: 550px; /* may not be necessary, but can inform of the height design */
}

.APR-body-wrapper { /* Controls the margin for the divs inside the image box */
    margin-left: 120px;
    margin-right: 120px;
}

.APR-text { /* Controls the APR floating text */
    color: white;
    padding-top: 161px; /* Use this to vertically center the text */
    font-size: 26px; 
    float: left; /* Allows the PWreset box and enroll box to be to the right of this */
    margin-right: 110px; /* Not needed after design change */
    width: 619px; /* Possibly not needed after design change */
    height: 79px;
}

.APR-link-wrapper { /* Controls box width of the APR links */
    float: right; /* Makes it so all the divs can float on top of each other and puts these divs to the right */
    width: 416px; /* The width is needed to allow for the expansion of the APR boxes on hover */
    margin-top: -20px;
}

.PWreset { /* Password reset link */
    background: #f4f4f4; /* the box backgrounds */
    /* line-height: 1.2; /* not sure if the line height needs to be adjusted, but easy to change */
    margin-top: 88px;
    height: 115px; /* made height a set value so I could center things easier */
    width: 406px; /* this will expand on hover */
    -webkit-transition: all 600ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition:         all 600ms cubic-bezier(0.445, 0.05, 0.55, 0.95); 
}
.APR-link-wrapper a:hover{
    text-decoration: none;
}

.PWreset:hover { /* Controls APR box expansion on hover */
    width: 416px;
}

.PWreset-text { /* Controls the PWreset textbox */
    padding-top: 15px;
    padding-bottom: 25px;
    padding-right: 51px;
    padding-left: 52px;
}

.PWreset-header { /* Controls header text */
	font-family: "Segoe UI Semibold", "Segoe UI",WeblySleek UI,Helvetica,Arial,sans-serif;
    font-size: 19px;
    color: var(--chocolate);
    width: 100%;
}

.PWreset-text p {
    width: 303px;
}

.PWchange { /* PWchange link */
    background: #f4f4f4;
    margin-top: 19px; /* controls space between two link boxes */
    height: 93px; /* same as above, made height fixed so I could center stuff easier */
    width: 406px;
    -webkit-transition: all 600ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition: all 600ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.PWchange-header {
    font-family: "Segoe UI Semibold", "Segoe UI",WeblySleek UI,Helvetica,Arial,sans-serif;
    font-size: 19px;
	color: black;
    width: 100%;
}

.PWchange:hover {
    width: 416px;
}

.enroll { /* Enroll link */
    background: #f4f4f4;
    margin-top: 19px; /* controls space between two link boxes */
    margin-bottom: 85px; /* controls space between enroll box and bottom of picture */
    height: 93px; /* same as above, made height fixed centering was easier */
    width: 406px;
    -webkit-transition: all 600ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition: all 600ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.enroll:hover { /* Controls enroll box expansion on hover */
    width: 416px;
}


.enroll-header { /* controls enroll header text */
	font-family: "Segoe UI Semibold", "Segoe UI",WeblySleek UI,Helvetica,Arial,sans-serif;
    font-size: 22px;
	color: black;
    width: 200px;
}

.enroll-text { /* controls enroll text box */
	padding-top: 11px;
	padding-right: 50px;
    padding-left: 52px;
    padding-bottom: 17px;
}

.enroll-text p { /* controls enroll p element */
    width: 303px;
}

.APRlogo-reset { /* controls positioning and size of the APR reset box logo */
    width: 54px; /* used fixed width and heights to vertically center image */
    height: 54px;
    float: left; /* allows textbox to be on the right */
    margin-left: -20px; /* allows image to float outside of div */
    margin-top: 32px; /* vertically center */
    background: var(--amarelo);
}

.APRlogo-enroll { /* controls positioning and size of APR enroll box logo */
    width: 54px; /* used fixed width and heights to vertically center image */
    height: 54px;
    float: left; /* allows textbox to be on the right */
    margin-left: -20px; /* allows image to float outside of div */
    margin-top: 20px; /* vertically center */
    background: #ed1c24;
}

.APRlogo-reset img, .APRlogo-enroll img { /* controls the white svg on the inside of APRlogo-reset and enroll */
    border: 0; /* this was added to remove borders of SVGs in older IE versions*/
    width: 31px;
    height: 31px;
    margin: 12px;
}

.help-wrapper { /* controls help box */
    margin-right: 15%; 
    width: 34%;
    float: right;
    height: 525px; /* dictates height distance between privacy wrapper */
}

.help-wrapper h3 { /* this and .faq-wrapper h3 could be combined into a class */
    font-size: 26px; 
	padding-bottom: 12px;
    margin-top: 32px; /* this is to try and rectify a border problem in different pixel ratio devices */
	background: white;
    border-style: solid;
    border-width: 0 0 1px 0;
    border-image: linear-gradient(to right, #FB5800, #FFB414) 1;
    border-image: -webkit-linear-gradient(left, #FB5800, #FFB414) 1;
    border-image: -moz-linear-gradient(left, #FB5800, #FFB414) 1;
}

.help-header-wrapper { /* controls help header */
    background: white;
    margin-top: 32px; /* distance from image box above */
}

.help-textbox { /* controls help text box */
	margin-bottom: 2.5%;
}

.help-inner-wrapper { /* controls both the help-textbox and the tables position */
	margin-top: 2.5%;
	margin-right: 5%;
}

.FAQ-wrapper { /* controls faq box */
    margin-left: 15%; 
    float: left;
    width: 34%; 
}

.FAQ-wrapper h3 { /* dicates FAQ header text size */
    font-size: 26px; /* change to a percentage probably */
	padding-bottom: 12px;
	background: white;
    border-style: solid;
    border-width: 0 0 1px 0;
    border-image: linear-gradient(to right, #FB5800, #FFB414) 1;
    border-image: -webkit-linear-gradient(left, #FB5800, #FFB414) 1;
    border-image: -moz-linear-gradient(left, #FB5800, #FFB414) 1;
}

.FAQ-header-wrapper { /* FAQ header positioning */
    margin-top: 32px; /* controls distance from image above */
}

.FAQ-wrapper ol { /* controls FAQ ordered list */
    margin-top: 0; /* make the help and this padding more consistent */
    padding-left: 1%; 
	padding-top: 2.5%; /* make padding consistent with help */
    margin-right: 10%;
}

.FAQ-wrapper li { /* controls list positioning */
    margin: 5%; /* make list elements fall into FAQ container */
	margin-right: 0%; /* let the lists fill to the right */
    padding-left: 2%;
}

.FAQ-wrapper li:first-child { /* controls li first child */
    margin-top: 0%; 
}

.privacy-wrapper { /* controls privacy text box */
    clear: both; /* remove floats */
    font-size: 11px; /* real small text */
	margin-right: 30px;
	margin-left: 30px;
	color: #9b9b9b;
    line-height: 15px;
}

.privacy-button { /* this controls styling for the fading text dropdown button in mobile screensize*/
	display: none;
	width: 90%;
	height: 33px;
	margin-left: 5%;
	cursor: pointer;
	padding: 0;
	border: none;
	background: none;
}

.copyright-wrapper { /* controls copyright wrapper box */
    border-bottom: solid;
    border-width: 1px;
    border-color: #e5e5e5;
	margin-top: 13px;
	height: 80px;
}

.copyright-img { /* controls div around copyright image */
	width: 50%;
	float: left;
	padding-top: 15px;
}

.copyright-wrapper img { /* controls avanade image size */
    border: 0;
    width: 195px;
	height: auto;
	margin-left: 20px;
}

.copyright-text { /* controls copyright text div */
	width: 50%;
	float: right;
	margin-top: 15px;
	color: #888888;
}

.copyright-text p { /* controls copyright text */
	float:right; 
	margin-right: 30px; 
	margin-top:15px
}

.terms-link-wrapper { /* controls term link box */
	float: left; /* allows feedback to be on the right of this box */
}

.terms-of-use { /* mainly for the border styling by the terms box */
    border-right: solid;
    border-left: solid;
    border-color: #e5e5e5;
    border-width: 1px;
    padding-right: 20px; /* set width to control border distance */
    padding-left: 20px;
}

.feedback-link-wrapper { /* controls feedback text box */
	float: left; /* puts box next to terms box */
	padding-left: 18px; /* controls distance from border */
}

.feedback { /* controls border to the right of feedback text */
    border-right: solid;
    border-color: #e5e5e5;
    border-width: 1px;
    padding-right: 20px;
}

/*----------Button and Table styling------*/

.dropbtn {
    background: white;
    color: black;
    border: none;
    cursor: pointer;
    font-family: "Segoe UI",WeblySleek UI,Helvetica,Arial,sans-serif;
    width: 100%;
    text-align: left;
    padding: 0;
    margin: 0;
    font-size: 100%; /* I think buttons have a smaller font automatically, so this */
    font-family: "Segoe UI Semibold", "Segoe UI",WeblySleek UI,Helvetica,Arial,sans-serif;
}

.dropdown { /* styling for dropdown button */
    width: 100%; /* makes it so the button list stacks */
    padding-left: 0%; 
    position: relative; /* Check if this is needed  */
    display: inline-block; 
    border-bottom: solid;
    border-width: 1px;
    border-color: #e5e5e5;
	margin-top: 12px;
	margin-left: 2.5%;
	padding-bottom: 12px; /* distance for border below */
	font-size: 17px;
}

.dropdown-content { /* controls the functionality of the dropdowns */
    display: none; /* hides dropdowns when not active */
    min-width: 100%; 
	margin-top: 1% /* distance between table and header of table */
}

.show { /* to be used for tables on click function to show the table */
    display: block;
}

button:focus {  /* Removes gnarly button outline */
    outline: 0;
}

.orange-button { /* is used in tandem with a script to help make the buttons orange on closing a dropdown */
	color: #ed1c24;
    font-family: "Segoe UI",WeblySleek UI,Helvetica,Arial,sans-serif;
}

/*----------div-table styling--------*/

.table-num-left { /* controls the left number table cell */
    text-align: right;
    padding-right: 23px;
    width: 128px;
    float: left;
    margin-top: 5px;
}

.table-num { /* controls right table num cell */
    text-align: right;
    float: right;
    margin-top: 5px;
	margin-right: 15px;
	width: 135px;
}

.table-country { /* controls all table country cells */
    font-family: "Segoe UI Semibold", "Segoe UI",WeblySleek UI,Helvetica,Arial,sans-serif;
    margin-top: 5px;
}

.table-country-right { /* controls right table country cell */
    float: left;
    margin-top: 5px;
	width: 85px;
}

.table-country-left { /* controls left table country cell */
    float: left;
    width: 78px;
    margin-top: 5px;
}

/*----------CSS Styling Classes-----------*/

.unbold { /* Was meant to be a bold class, but they actually use the font semi-bold, so now it removes the h3 class automatic font-weight */
    font-weight: normal;
}

.underline { /* creates an orange underline border */
    border-bottom: solid;
    border-color: #FF8300;
    border-width: 1.15px;
}

.smaller-font-APR { /* controls APR font size */
	font-size: 14px;
}

.smaller-font { /* this and below were intended to quickly resize fonts, design changes have made these less useful. May remove and just place them directly in the class */
    font-size: 14px;
}

.small-font { /* the normal text on the site is this size */
    font-size: 16px;
}

a { /* remove all standard text decorations from anchors */
    text-decoration: none; /* makes hyperlinks not purple and underlined */
	outline: none;
}

.orange { /* turn stuff orange class */
    color: #777;
}

.orange-hyperlink:hover { /* class to change hyperlinks */
    color: #ed1c24;
}

.main-font-color { /* the font used by the majority of text on the page */
    color: #4A4A4A;
}

.both-margin { /* both margin class, this is another one that may not be needed due to so few things on the page having consistent margins */
    margin-right: 20px;
    margin-left: 20px;
}

.no-margin { /* a no margin class */
	margin: 0;
}

.hidden-table-rows { /* going to use this to simplify the javascript on the tables so I don't have to target every single div */
	display: none;
}

.clear { /* a class to clear floats */
	clear: both;
}

h3 { /* remove typical h3 styling */
    margin: 0;
    padding: 0;
}

.orange-arrow-right { /* controls chevron styling */
	background-image: url("/Style Library/assets/images/right.svg");
	float: right;
	height: 20px;
	width: 20px;
}

.orange-arrow-right-reset { /* controls chevron styling positioning for reset box */
	margin-right: 15px;
	margin-top: 48px;
}

.orange-arrow-right-enroll { /* controls chevron styling positioning for enroll box and the password change box */
	margin-top: 38px;
	margin-right: 15px;
}

.orange-arrow-down { /* controls arrow down styling */
    background-image: url("Images/Icons/OrangeArrow/Up-Down.svg");
    float: right;
    height: 20px;
    width: 20px;
    pointer-events: none; /* this is needed to make the div not conflict with click events on the button */
}

.orange-arrow-up { /* controls arrow up styling */
    background-image: url("Images/Icons/OrangeArrow/Up-Down.svg");
    height: 20px;
    width: 20px;
    float: right;
    pointer-events: none;
    -webkit-transform: rotate(180deg); /* Chrome and other webkit browsers */
    -moz-transform: rotate(180deg); /* FF */
    -o-transform: rotate(180deg); /* Opera */
    -ms-transform: rotate(180deg); /* IE9 */
    transform: rotate(180deg); /* W3C compliant browsers */
}

.grey-arrow-down { /* controls grey arrow down styling */
    background-image: url("Images/Icons/GreyArrow/grey.svg");
    height: 20px;
    width: 20px;
    float: none;
    margin: 0 auto;
    pointer-events: none;
}

.grey-arrow-up { /* controls grey arrow up styling */
    background-image: url("Images/Icons/GreyArrow/grey.svg");
    height: 20px;
    width: 20px;
    float: none;
    margin: 0 auto;
    pointer-events: none;
    -webkit-transform: rotate(180deg); /* Chrome and other webkit browsers */
    -moz-transform: rotate(180deg); /* FF */
    -o-transform: rotate(180deg); /* Opera */
    -ms-transform: rotate(180deg); /* IE9 */
    transform: rotate(180deg); /* W3C compliant browsers */
}

.semibold { /* semibold font class if wanted/needed */
	font-family: "Segoe UI Semibold", "Segoe UI",WeblySleek UI,Helvetica,Arial,sans-serif;
}

/*----------------Media Queries----------*/

@media only screen and (min-width: 1440px) { /* big monitors and up if wanted */

}

 @media only screen and (min-width: 1120px) and (max-width: 1439px) { /* intermediate and laptop monitors */
    #body-wrapper {
        width: 1120px; 
    }

    .APR-body-wrapper {
        margin-left: 60px;
        margin-right: 60px;
    }

    .APR-text {
        width: 40%;
		margin-right: 0;
    }
    
    .APR-text .space {
        display: block;
        margin-top: 1em;
    }

    .help-wrapper {
        margin-right: 5%;
        width: 44%;
    }

    .FAQ-wrapper {
        margin-left: 5%;
        width: 44%;
    }
}

@media only screen and (min-width: 651px) and (max-width: 1119px) { /* tablet */
	#body-wrapper {
		width: 100%;
	}
	
	.APR-body-wrapper {
		margin: 0 auto;
	}

    .APR-text {
        width: 620px;
		margin: 0 auto;
		padding-top: 31px;
		float: none;
		text-align: center;
		height:65px;
		font-size: 1.25em;
    }
	
	.APR-link-wrapper {
		margin: 0 auto;
		float: none;
	}
	
	.PWreset {
		margin-top: 18px;
	}
	
	.help-wrapper {
		height: auto;
		width: 90%;
		margin-left: 5%;
        float: left;
	}
	
	.FAQ-wrapper {
		float: left;
		width: 90%;
		margin-left: 5%;
        padding-right: 0%;
	}
	
	.privacy-wrapper {
		margin-top: 2%;
	}
	
	.help-inner-wrapper {
		margin-right: 0%;
	}
	
	.dropdown {
		width: 100%;
		margin-left: 0%;
		margin-right: 0%;
	}
	
	.table-country {
		width: 20%;
		margin-left: 5%;
	}
	
	.table-num-left {
		padding-right: 0;
		width: 22%;
	}
	
	.table-num {
		margin-right: 5%;
		width: 22%;
	}
}

@media only screen and (max-width: 650px) { /* Mobile */
    html, body {
        overflow-x: hidden; /* to avoid having white space */
    }

    #body-wrapper {
        width: 100%;
    }
	
	header {
		margin: 0 auto;
		width: 100%;
		float: none;
		padding-top: 0;
		padding-left: 0;
        height: auto;
        padding-bottom: 0;
	}
	
	header img {
		width: 103px;
		height: 26px;
		padding-right: 14px;
		margin-right: 12px;
		margin-bottom: 0;
		margin-left: 0;
	}
	
	header p {
		font-size: 16px;
		width: auto;
		padding-top: 4px;
        padding-left: 0;
        margin-left: 0;
	}

    .header-div {
        margin: 0 auto;
        width: 250px;
        height: 26px;
        margin-top: 15px;
        margin-bottom: 9px;
    }
	
	.APR-wrapper { /* controls the center div which contains the big image */
		background-image: url("https://password.avanade.com/Images/Dark Image - Mobile.png");
		height: auto;
	}
	
    .APR-body-wrapper {
        margin-left: 0;
        margin-right: 0%;
        float: none;
    }
	
	.APR-text {
		font-size: 1em;
		padding-top: 37px;
		padding-bottom: 16px;
		float: none;
		margin: 0 auto;
		width: 251px;
		height: 110px;
	}
	
	.APR-text .space {
		display: block;
		margin-top: .75em;
	}
	
	.APR-link-wrapper {
		margin: 0 auto;
		width: 100%;
		float: none;
	}
	
	.PWreset {
		margin: 0 auto;
		float: none;
		width: 276px;
		height: 100px;
	}
	
	.PWreset:hover { 
		width: 276px;
	}

    .PWchange {
        margin: 0 auto;
        margin-top: 5px;
        height: 100px;
        width: 276px;
    }

    .PWchange:hover {
        width: 276px;
    }

    .PWchange-header {
        font-size: 16px;
        width: 169px;
    }
	
	.orange-arrow-right-reset { /*im going to need to make specefic ones for each right arrow */
		margin-right: 10px;
		margin-top: 37px;
	}
	
	.orange-arrow-right-enroll {
		margin-right: 10px;
		margin-top: 30px;
	}
	
	.APRlogo-reset {
		width: 35.2px;
		height: 35.2px;
		float: left;
		margin-left: -12.8px;
		margin-top: 26px;
	}
	
	.APRlogo-reset img {
		width: 20px;
		height: 20px;
		margin: 7.6px;
	}
	
	.PWreset-text {
		padding-top: 10px;
		padding-left: 34px;
	}
	
	.PWreset-header {
		font-size: 16px;
		width: 169px;
	}
	
	.PWreset-text p {
		width: 197px;
	}
	
	.enroll {
		margin: 0 auto;
		margin-top: 5px;
		height: 100px;
		width: 276px;
		margin-bottom: 80px;
	}
	
	.enroll:hover {
		width: 276px;
	}
	
	.APRlogo-enroll {
		width: 35.2px;
		height: 35.2px;
		float: left;
		margin-left: -12.8px;
		margin-top: 19px;
	}
	
	.APRlogo-enroll img {
		width: 20px;
		height: 20px;
		margin: 7.6px;
	}
	
	.enroll-text {
		padding-top: 10px;
		padding-right: 50px;
		padding-left: 33.7px;
		padding-bottom: 17px;
	}
	
	.enroll-header {
		font-size: 16px;
		width: 150px;
	}
	
	.enroll-text p {
		width: 197px;
	}

    .help-wrapper {
        height: auto;
        width: 90%;
        margin-left: 5%;
        float: left;
    }
	
	.help-inner-wrapper {
		margin-right: 0;
	}

    .FAQ-wrapper {
        float: left;
        width: 90%;
        margin-left: 5%;
    }

    .privacy-wrapper {
        margin-top: 3%;
		margin-left: 5%;
    }
	
	.copyright-wrapper {
		height: 80px; 
		width: 100%; 
		border-top: solid;
		border-width: 1px;
		border-color: #e5e5e5;
	}
	
	.copyright-img {
		width: 195px;
		float: none; 
		margin: 0 auto;
	}
	
	.copyright-wrapper img {
		margin-left: 0;
	}
	
	.copyright-text {
		width: 247px;
		float: none;
		margin: 0 auto;
		margin-top: 34px;
		margin-bottom: 15px;
	}
	
	.copyright-text p {
		font-size: 14px;
		float: none;
		margin: 0 auto;
	}

	.table-country-left {
		width: 35%;
		margin-left: 4%;
	}
	
	.table-country-right {
		width: 35%;
		margin-left: 4%;
	}
	
	.table-num-left {
		width: 57%;
		float: right;
		margin-right: 4%;
		padding-right: 0;
	}
	
	.table-num {
		margin-right: 4%;
		width: 57%;
	}

    .dropdown {
        width: 100%;
        margin-left: 0%;
        margin-right: 0%;
    }

    .footer {
        display: none;
    }
	
	.smaller-font-APR { /* This only applies to the orange font in the PWReset and Enroll link, can be combined into that class if needed */
		font-size: 12px; 
	} 
	
	.privacy-wrapper {
		/*max-height: 120px;*/
		position: relative;
		overflow: hidden;
		line-height: 1.6em;
	}
	
	.privacy-button {
		display: block;
	}
	
	.fadeout {
	  position: relative;
	  max-height: 109px; 
	}
	
	.fadeout:after {
		content: '';
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background-image: linear-gradient( rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 100% );
	} 
}

@media /* having weird issues with the borderbackground showing up when device pixel ratio is higher than normal and webpage being scrollable right on mobile */
only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
        html, body{
    width:100%;
    overflow-x:hidden;
  }
}