/*
 *	APY Calculator
 *	
 *	Author:	Jason Daniel
 *	Date:	2/26/2023
 *
 */
html,
body {
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
    -webkit-backface-visibility: hidden;
}

@media print {

    .noprint {
        display: none !important;
    }

    @page {
        background-color: white;
        margin-top: 0;
        margin-bottom: 0;
    }

    .share-container {
        padding-left: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background-color: transparent !important;
        color: #0071ab !important;
    }

    .share-container a {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .share-container span {
        opacity: 1 !important;
    }

    .logo {
        display: block !important;
        margin-bottom: 20px;
    }

    .projection-container {
        max-width: 100% !important;
    }
  
    .dnd-section {
        padding-top: 20px !important;    
    }
  
    #hs_cos_wrapper_header_logo img {
        margin-top: 20px !important;
        width: 300px !important;    
    }
  
    .cst-footer {
        display: none !important;  
    }     
}

@media (max-width: 500px) {
    .share-contaner {
        padding: 10px !important;  
    }
}

#principal {
    max-width: 240px; 
}

.calc-wrapper {
    /*font-family: 'Roboto', sans-serif;*/
	  font-family: "Gotham Rounded A", "Gotham Rounded B";
    color: #555;
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    background-color: #FECF44;
}

.wrap  {
    display: flex;
    width: 100% !important; 
    padding: 20px;
    background-color: #FECF44;
}

.calc-container {
    max-width: 360px;
    min-width: 250px;
    background-color: #fff;
    border: 1px solid #fecf44;
    padding: 10px 0 20px 0;
    border-radius: .5rem;
}

@media (max-width: 500px) {
    .calc-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

#calculator {
    max-width: 290px;
    margin-right: 40px;
    margin-bottom: 20px;
}

.calc-group {
    padding: 8px 20px;
}

.calc-container > .calc-group.active {
    /*background-color: #FFFFE5;*/
    background-color: rgba(255, 255, 255, 0.9);
}

.container-optional {
    margin-top: 10px;
    background-color: #FEF6E0;
}

.calc-wrapper label,
.calc-wrapper input {
    display: block;
    width: 100%;
    margin-bottom: 4px;
}

.calc-container label {
    color: #101010;
    font-size: 14px;
}

.calc-container .optional {
    opacity: 0.5;
    font-size: 10pt;
}

.calc-container #apy {
    font-size: 13pt;
    padding-top: 10px;
    opacity: 0.3;
}

.calc-container input {
    padding: 7px 6px 6px 10px;
    font-size: 22px;
	  z-index: 0;
}

.calc-container select {
    font-size: 14px;
    height: 40px;
    padding: 6px 10px;
    color: #555;
    background-image: linear-gradient(transparent, #FECF44);
    /*background-image: linear-gradient(transparent, #e7e7e7); */
    /*background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(transparent),to(#e7e7e7));*/
}

.calc-wrapper input:focus,
.calc-wrapper select:focus {
    outline: 1px solid #FAD97F;
}

.calc-wrapper input,
.calc-wrapper select,
.calc-wrapper button,
.custom-toggle ul {
    box-shadow: 0 1px 0 1px rgba(0,0,0,0.05);
}

.calc-wrapper input,
.calc-wrapper select {
    border-radius: .5rem;;/*.5rem;*/
    border: 1px solid #ffc782;
}

.col-max-120 {
    max-width: 120px !important;
}

.col-max-110 {
    max-width: 110px !important;
}

#deposits {
    margin-right: 40px !important;
}

.calc-container .input-icons {
    position: relative;
}

.calc-container .icon-left {
    color: #000;
    min-width: 35px;
    text-align: center;
    background-color: #FFC884;
    background-image: linear-gradient(transparent, #FECF44);
    border-right: 1px solid #ffc782;
    top: 1px;
    left: 1px;
    bottom: 1px;
    padding-top: 11px;
    border-radius: .5rem 0 0 .5rem;
}

.calc-container .icon-right {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    min-width: 25px;
    text-align: center;
    /*	background: #eee;
	border-left: 1px solid #ccc;*/
    font-style: normal;
    padding-top: 9px;
    top: 1px;
    right: 3px;
    bottom: 1px;
    /*border-radius: 0px 9px 9px 0px;*/
}

.calc-container .input-icons i,
.calc-container .input-icons svg {
    position: absolute;
}

.icon-input-left {
    padding-left: 45px !important;
}

.icon-input-right {
    padding-right: 25px !important;
}

.calc-row {
    display: flex;
    flex: auto;
}

.calc-col {
    width: 50%;
}

.col-mr-30 {
    width: 80%;
    margin-right: 10px;
}

.calc-col-left {
    margin-right: 10px;
}

.calc-footer {
    margin-top: 10px;
    padding-left: 20px;
    text-align: left;
}

::placeholder {
    color: #BEB7B7;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #BEB7B7;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #BEB7B7;
}


.grid-row {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.grid-col {
    margin-right: 10px;
}

.logo {
    display: none;
    height: 80px;
}

.projection-container {
    max-width: 100%;
    overflow: hidden;
}

.projection-header {
    display: flex;
    justify-content: space-between;
}

.projection-header i,
.projection-header svg {
    padding-top: 10px;
    margin-left: auto;
    font-size: 14pt;
    color: #0071ab;
}

.projection-header i:hover,
.projection-header svg:hover {
    text-decoration: underline;
    text-underline-offset: 8px;
    cursor: pointer;
}

.projection-container label {
    font-size: 10pt;
}

.projection-container h3,
.projection-container h2 {
    line-height: 1;
    margin: 4px 0;
}

.projection-container .projection-header h3 {
    color: #000;
    font-size: 20pt;
}

.projection-container h2 {
	  font-family: "Gotham Rounded A", "Gotham Rounded B" !important;
    color: #000;
    font-size: 20pt;
}

.projection-container h2 {
    font-size: 32pt;
}

.projection-container hr {
    opacity: 0.3;
}

.projection-container label {
    white-space: nowrap;
}

.projection-container .calc-group {
    padding-left: 0;
}

.message-container {
    display: flex;
    font-size: 11pt !important;
}

.message-container i,
.message-container svg {
    color: #000;
    opacity: 0.8;
    padding-left: 1px;
    margin-right: 7px;
    margin-top: 1px;
}

#yearsText,
#monthsText,
#depositText {
    color: #000;
    font-weight: 600 !important;
}

.calc-wrapper .text-primary {
    color: #000;
}

.calc-wrapper .text-secondary {
    color: rgba(0,0,0,0.4);
}

.share-wrapper,
.calc-footer {
    width: 100%;
}

.share-container {
    position: relative;
    min-width: 200px;
    padding: 10px 40px;
    margin-top: 10px;
    background-color: #eee;
    color: #555;
}

@media (max-width: 500px) {
    .share-container {
        padding-left: 20px;
    }
}

.share-container p {
    font-size: 12pt;
}

.share-container span {
    opacity: 0.5;
}

.share-footer {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

button i,
button svg {
    margin-right: 0.5em;
}

.calc-wrapper button {
    border-color: #dbdbdb;
    border-width: 2px;
    /*color: #363636;*/
    cursor: pointer;
    justify-content: center;
    padding-bottom: calc(.7em - 1px);
    padding-left: 1em;
    padding-right: 1em;
    padding-top: calc(0.7em - 1px);
    text-align: center;
    white-space: nowrap;
    font-size: 1rem;
    line-height: 1;
    border-radius: .5rem;
}

/*
.share-btn {
    color: #fff;
    background-color: #4496bf;
    border: 2px solid #4496bf !important;
}

.share-btn:active,
.share-btn:hover {
    background-color: #3C88AF;
}

.calc-btn {
    /*color: #fff;
    background-color: #cd6c00;
    border: 2px solid #cd6c00 !important*/;
}

.calc-btn:active,
.calc-btn:hover {
    /*background-color: rgba(205,108,0, 0.9)*/;
}
*/

#shareLink {
    padding-right: 4px;
    margin-right: 4px;
}

#copySuccess {
    position: absolute;
    top: 11px;
    right: 8px;
    color: #28a745;
}

.custom-toggle-wrapper {
    position: relative;
    width: 100%;
    border-radius: .5rem;
    white-space: nowrap;
}

.custom-toggle {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.custom-toggle li {
    display: inline-flex;
}

.custom-toggle label,
.custom-toggle input {
    text-align: left;
    height: 39px !important;
}

.custom-toggle input[type="radio"] {
    margin: 0;
    padding: 0;
    width: 0;
    height: 0;
    opacity: 0.01;
    outline: none;
}

.custom-toggle input[type='radio']:before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin: 0;
}

.custom-toggle label {
    cursor: pointer;
    height: 38px;
    padding: 11px 5px;
    overflow: hidden;
    text-align: center;
    width: 80px;
    background-color: #FEF6E0;
    border: 1px solid #ffc782;
    box-shadow: inset 0 1px 0 1px rgba(0,0,0,0.1);
}

.custom-toggle input[type="radio"]:checked + label {
    color: #fff !important;
    /*box-shadow: 0 1px 0 1px rgba(0,0,0,0.05);*/
    box-shadow: 0 1px 0 1px rgba(250,237,193,0.05);
}

.custom-toggle input[type="radio"]:checked + label,
.btn-override:focus {
    background: #ff7200;/*#ffc782;*/  
}

.custom-toggle .right {
    border-radius: 0 .5rem .5rem 0;
}

.custom-toggle .left {
    border-radius: .5rem 0 0 .5rem;
}

.custom {
    display: flex;
}

.info-icon {
    height: 38px;
    padding: 8px;
    opacity: 0.5;
    cursor: pointer;
    border: 1px solid #ccc;
    margin-top: 2px;
    margin-left: 10px;
    border-radius: .5rem;
}

.info-box {
    font-size: 11pt;
    opacity: 0;
    height: 0;
    padding: 0 10px;
    overflow: hidden;
    transition: margin 0.3s ease-in, all 0.1s ease-out;
}

.info-box.active {
    padding: 10px;
    margin-top: 10px;
    opacity: 1;
    height: auto;
    transition: margin-top 0.3s ease-in, all 0.1s ease-in;
}

.projection-container.hidden {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.5s ease-out;
}

.projection-container {
    opacity: 1;
    height: auto;
    transition: all 0.15s ease-in;
}


.effective-apy {
    display: flex;
}

#info2 {
    margin-top: 7px;
}

.info-box2 {
    font-size: 9pt;
    width: 220px;
    background-color: #fff;
    transition: opacity 1s ease-out;
    opacity: 0;
    height: 0;
    padding: 0px 10px;
    overflow: hidden;
    transition: margin 0.3s ease-in, all 0.1s ease-out;
}

.info-box2.active {
    margin-top: -10px;
    margin-bottom: 10px;
    padding: 5px 10px;
    opacity: 1;
    height: auto;
    transition: margin-top 0.3s ease-in, all 0.1s ease-in;
}

.bold {
    font-weight: 600;
}

.info-box > .text-info:first-child {
    margin-bottom: 15px;
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#results {
    max-width: 600px;
}

#messageLine2 {
    padding-top: 20px; 
}

.disclaimer {
    padding-top: 10px;
    font-size: 10pt;
}

.hide {
    display: none !important;
}

.round {
    border-radius: .5rem !important;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #000;
  margin: 1em 0;
  padding: 0
}

