@import url("../css/fonts.css");

:root {
  --main-text-color: #7E8996;
  --title-text-color: #121C40; 
  --main-font: "Proxima Nova", sans-serif;
  --green-color: #6aad60;
  --red-color: #EF3C62;
  --yellow-color: #FFB84A;
  --border-color: #E8E9EA;
  --gray-color: #F3F4F5;
}

body{
  margin: 0px;
  padding: 0;
  width: 300px;
  color: var(--main-text-color);
  border-radius: 5px;
  font-size: 14px;
  font-family: var(--main-font);
  background-color: #fff;
}
.frame{
  position:absolute;
  overflow: hidden;
  height: 100%;
}
a {
  color: inherit;
  text-decoration: inherit;
}

/*=============================================
=            Section Nav            =
=============================================*/
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height:40px;
}
.nav-gray {
  background-color: var(--gray-color);
}
.nav_box {
  display: flex;
  align-items: center;
  height:100%;
}
.nav_logo{
  height: 20px;
  margin: 10px;
}
.nav_close-button {
  background: transparent;
  border: none;
}
.nav_close-image{
  width: 14px;
  cursor: pointer;
}
.nav .nav_box_button {
  margin-right: 8px;
  padding: 3px 10px;
}


/*=====  End of Nav  ======*/


/*=============================================
=            Section Splash            =
=============================================*/

.splash {
  text-align: center;
  padding: 60px 0;
}
.splash_img {
  width: 150px;
}
.splash_title {
  color: var(--title-text-color);
}

/*=====  End of Section Splash  ======*/


/*=============================================
=            Footer            =
=============================================*/
.footer {
  position: absolute;
  height: 40px;
  bottom: 0;
  
  width: 100%;
  display: flex;
  justify-content: space-between;

  background-color: #fff;

  box-sizing: border-box;
}
.footer_button{
  position:absolute;
  bottom: 15px;
  right: 10px;
}

/*=====  End of Footer  ======*/



/*=============================================
=            Elements            =
=============================================*/

.button {
  padding: 8px 12px;
  border-radius: 3px;
  background-color: var(--green-color);
  color: #fff;
  text-decoration: none;
  min-width: 75px;
  cursor: pointer;
  font-family: var(--main-font);
  border: 0px;
  transition: background-color 0.2s;
}

.button.prompt{
  margin: 0px 15px;
}

.button:hover{
  background-color: #77b56e;
}

.button_line {
  color: var(--green-color);
  background-color: #fff;
  border: 1px var(--green-color) solid;
}

.button-wrapper{
  display: flex;
  width: 50%;
  justify-content: center;
  flex-direction: column;
  padding:10px;
}
.prompt-button-wrapper{
  display: flex;
  justify-content: center;
}

.button_line:hover{
  background-color:var(--gray-color); 
}

.ui-input {
  border-radius: 3px;
  border: solid 1px var(--border-color);
  color: #484848;
  font-family: var(--main-font);
}

.ui-input:focus{
  border-color: var(--green-color);
  outline: none;
}

.button.button-loading {
  opacity: .6;
  cursor: default;
}
.button.sign-in{
  padding: 10px 20px;
  margin-top: 20px;
}

.nav_bar_button{
  width:50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid var(--border-color);
  cursor:pointer;
}
.nav_bar_button.full{
  width:100%
}
.nav_bar_button.selected{
  color: var(--green-color);
  border-top-color: var(--green-color);
  cursor:default;
}
/*=====  End of Elements  ======*/


/*=============================================
=            Toast            =
=============================================*/
.toast {
  position: fixed;
  top: 5px;

  width: 100%;

  text-align: center;
  z-index: 2;
}
.toast_box {
  display: inline-flex;
  justify-content: space-between;
  min-width: 80%;
  padding: 8px 10px;
  border-radius: 3px;

  align-items: center;

  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.toast p {
  color: #fff;
  font-weight: bold;
  margin: 0;
}
.toast_box.success{
  background-color: var(--green-color);
}
.toast_box.warning{
  background-color: var(--yellow-color);
}
.toast_box.fail{
  background-color: var(--red-color);
}

.toast-close{
  color: #fff;
  opacity: .8;
  cursor: pointer;
}
.toast-close:hover{
  opacity: 1;
}

/*=====  End of Toast  ======*/



/*=============================================
=            Saved            =
=============================================*/
.list-selector {
  display: flex;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  width:50%;
}
.list-selector_box {
  width: 100%;
  text-align: center;
  padding-right: 5px;
}
.list-selector_label{
  margin-left:10px;
  margin-right:5px;
}

.list-selector_input {
  width: 100%;
  padding-top: 6px;
  padding-bottom: 6px;
}



/*=====  End of Saved  ======*/

.content{
  height: calc(100% - 80px);
  position:relative
}
.export-content{
  position: absolute;
  display: flex;
  bottom: 5px;
  width: 100%;
  align-content: center;
}
.top-info{
  align-self: center;
  width: fit-content;
  max-width: 60%;
}

input{
  width: 50%
}

#close-button{
  position: relative;
  float:right;
  padding:10px;
}


.centeredSection{
  max-height: 300px;
  overflow-y:auto;
  text-align: center;
  display:flex;
  justify-content: center;
}
.centeredSection span{
  padding:5px;
  white-space: pre-wrap;
}
.centeredSection button{
  margin:5px;
}

.inputDesc{
  width: 50%;
  text-align: left;
}

.userInput{
  width:100%;
  display:flex;
  margin:5px;
}

.navbar li{
  float:left;
  display:inline;
}

.flex{
  display:flex;
  flex-wrap: wrap;
  max-width:200px;
}

.link{
  color: var(--green-color);
  cursor:pointer
}
.navbar li *{
  display: block;
  margin:10px;
}
.navbar{
  list-style-type:none;
  overflow:hidden;
}

.info{
  white-space: pre-wrap;
  display: inline-flex;
  align-items: center;
}
.info-name{
  color: #646464;
  font-weight: bold;
  font-size: 1.1rem;
  cursor:pointer;
}
.info-name:hover{
  text-decoration: underline;
}
.info-job{
  color: #76777A;
}

.info-company{
  color: #77B461;
}

.profile{
  display: flex;
  align-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.profile-sum{
  background-color: #FFFFFF;
  padding: 10px 0;
}

.profile__list{
  padding: 10px;
}

.headshot{
  height:20vw;
  width:20vw;
  border-radius: 49.9%;
  margin:10px;
  float: left;
}
.headshot.center{
  height:25vw;
  width:25vw;
}
.company-logo{
  height:25vw;
  width:25vw;
  border-radius:4px;
  margin:10px;
  float: left;
}
.section-cards{
  overflow-y: auto;
  padding-left:5px;
  height: calc(100% - 60px);
  background-color: var(--gray-color);
  padding: 0px 10px;
}
.profile-card {
  padding: 5px;
  background: #fff;
  border-radius: 3px;
  border: 1px solid var(--border-color);
  margin-bottom: 5px;
}

.loader-section{
  display: flex;
  justify-content: center; 
}
.loader {
  border: 16px solid var(--gray-color);
  border-top: 16px solid var(--green-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1.5s linear infinite;
}
.loader.closed{
  animation:none;
}
.overlay{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 40px;
  left: 0px;
  background: white;
  z-index: 1;
  opacity: 1;
}
.popup{
  position:absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  z-index: 2;
  background: white;
  border-radius: 4px;
  padding:10px;
}
.closed{
  width:0px;
  padding:0px;
}
.popup-status{
  text-align: center;
  display: inline-block;
  width: max-content;
}
.popup-status.top{
  padding-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}