.pagetitle {
    font-family: 'source_sans_problack';
    font-size: 1.5em;
}

.bgheight {
    height: 100%;
}

.bgwidth {
    width: 100%;
}

#container {
    margin: 0;
    padding: 0;
    width: 100%; /*width=auto fixes the issue with the horizontal scrollbar, but it also changes the container size for different pages*/
    position: relative;
    border: 1em;
    border-width: 0 1em;
}

.popover-content {
    font-size: 16px;
}

/* Font settings to allow  cross platform uniformity and availability of unusual font */
@font-face {
    font-family: 'ubuntu-titletitle';
    src: url('../fonts/ubuntu-title-webfont.eot');
    src: url('../fonts/ubuntu-title-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu-title-webfont.woff') format('woff'),
        url('../fonts/ubuntu-title-webfont.ttf') format('truetype'),
        url('../fonts/ubuntu-title-webfont.svg#ubuntu-titletitle') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Styling of Generic page: Contact, Careers*/
#general_white {
    background-color: #ffffff;
    color: #303030;
    float: center;
    width: 100%;
    min-height: 250px;
    font-size: 1.25em;
    padding-top: 30px;
    padding-bottom: 30px;
    border: 1em;
    border-width: 0 1em;
    -webkit-box-sizing: border-box; /*Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /*Firefox, other Gecko*/
    box-sizing: border-box; /*Opera/IE 8+*/
}

#general_innercontent {
    float: center;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    line-height: 1.75em;
    text-align: justify;
    -webkit-box-sizing: border-box; /*Safari/Chrome, other WebKit*/
    -moz-box-sizing: border-box; /*Firefox, other Gecko */
    box-sizing: border-box; /*Opera/IE 8+*/
}

#general_innercontent a {
    color: #FF0000;
    text-decoration: none;
}

#general_innercontent a:hover {
    color: #D00000;
    text-decoration: none;
}

#inner_indented {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#homepage {
    background-color: #FFFFFF;
    background-image: url("../images/banners/homepage_bg_2_prog_3.jpg");
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    font-size: 2em;
    border: 1em;
    border-width: 0 1em;
    display: table;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/banners/homepage_bg_2_prog.jpg', sizingMethod=scale);
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/banners/homepage_bg_2_prog.jpg',sizingMethod='scale')";
}

#homepageinfocontainer {
    color: #FFFFFF;
    width: 100%;
    height: 600px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

#homepageinfo {
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

.course-header {
    font-family: 'source_sans_probold';
    font-size: 1.1em;
    color: #555555;
}

#course_label {
    font-family: 'source_sans_probold';
    overflow: hidden;
    width: 100%;
}

.beta-modal {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #888888;
    position: fixed;
    overflow-y: hidden;
    top: 50%;
    left: 50%;
    width: 560px;
    margin: -250px 0 0 -280px;

    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;

    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

.beta-modal h4 {
    line-height: 27px;
    font-size: 18px;
    margin: 0;
    font-weight: bold;
    color: #888888;
    text-rendering: optimizelegibility;
}

.beta-header {
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
}

.beta-btn {
    display: block;
    margin: 1em auto;
}

.beta-body {
    padding: 15px;
}

/*
    https://css-tricks.com/snippets/css/exactly-center-an-imagediv-horizontally-and-vertically/
*/
#loading_ellipsis {
    display: block;
    position: fixed;
    background-image: url(/images/loading_ellipsis.svg);
    background-repeat: no-repeat;
    width: 200px;
    height: 200px;
    left: calc(50% - 60px);
    top: calc(50% - 150px);
    opacity: 1;
    z-index: 9999;
}

#loading_ellipsis2 {
    background-image: url(/images/loading_ellipsis.svg);
    background-repeat: no-repeat;
    margin: 100px auto auto;
    width: 200px;
    height: 200px;
    position: relative;
}

#loading_ellipsis3 {
    background-image: url(/images/loading_ellipsis.svg);
    background-repeat: no-repeat;
    width: 200px;
    height: 200px;
    margin: 100px auto auto;
    position: relative;
}

#course_loading_ellipsis {
    margin: -30px auto auto;
    background-image: url(/images/loading_ellipsis.svg);
    background-repeat: no-repeat;
    width: 50%;
    height: 100px;
    position: relative;
    transform: scale(0.7);
}

#clarity_loading_ellipsis {
    margin: -30px auto auto;
    background-image: url(/images/loading_ellipsis.svg);
    background-repeat: no-repeat;
    width: 50%;
    height: 100px;
    position: absolute;
    transform: scale(0.7);
    top: 50%;
    left: 25%;
    background-position: center;
}

@media (max-width: 480px) {
    #loading_ellipsis {
        top: calc(50% - 100px);
    }

    #loading_ellipsis2 {
        top: calc(50% - 100px);
    }

    #loading_ellipsis3 {
        top: calc(50% - 100px);
    }
}

ul#itemA, ul#itemB {
    margin: auto;
    text-align: left;
    width: fit-content;
    padding-left: 0;
}

.display_options {
    display: none;
}

.display_question_options {
    display: none;
}

.avatar_options {
    display: none;
}

.devices_options {
    display: none;
}

.pricing_options {
    display: none;
}

.currency_options {
    display: block;
}

.trial_options {
    display: none;
}

.display_options_button {
    float: left;
    padding-left: 15px;
}

/* CSS for Credit Card Payment form */
.credit-card-box .panel-title {
    display: inline;
    font-weight: bold;
}

.credit-card-box .form-control.error {
    border-color: red;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6);
}

.credit-card-box label.error {
    font-weight: bold;
    color: red;
    padding: 2px 8px;
    margin-top: 2px;
}

.credit-card-box .payment-errors {
    font-weight: bold;
    color: red;
    padding: 2px 8px;
    margin-top: 2px;
}

.credit-card-box label {
    display: block;
}

/* The old "center div vertically" hack */
.credit-card-box .display-table {
    display: table;
}

.credit-card-box .display-tr {
    display: table-row;
}

.credit-card-box .display-td {
    display: table-cell;
    vertical-align: middle;
    width: 50%;
}

/* Just looks nicer */
.credit-card-box .panel-heading img {
    min-width: 180px;
}

#stripe_modal-dialog {
    width: 440px;
    position: absolute;
    left: 0;
    right: 0;
    top: 100px;
    bottom: 0;
    margin: auto;
    /*overflow-y: hidden;*/
}

#course_name_on_payment, #purchase_name_on_payment, #bundle_name_on_payment {
    color: steelblue;
    font-size: 1.2em;
    font-weight: 200;
    margin-left: 5px;
    margin-right: -5px;
    margin-top: 5px;
    width: fit-content;
    float: left;
}

#course_price_on_payment, #purchase_price_on_payment, #bundle_price_on_payment {
    color: mediumblue;
    font-size: 1.1em;
    font-weight: 200;
    margin-top: 5px;
    padding-left: 15px;
    padding-right: 15px;
    width: fit-content;
    float: right;
}

#payment_result_message {
    color: steelblue;
    font-size: 21px;
    font-weight: 200;
    text-align: center;
}

#costAmount {
    padding: 1px;
    border: none;
    margin-top: 5px;
    padding-left: 5px;
    float: right;
}

.payment-header {
    background-color: #DCDCDC;
}

#course_name_and_price, #purchase_name_and_price {
    border-top: 1px solid lightgrey;
    margin-top: 5px;
    padding-top: 5px;
}

#payment-title {
    margin-top: 5px;
    vertical-align: center;
    font-size: 1.5em;
    font-weight: 200;
}

.learn_no_courses {
    text-align: center;
    position: relative;
    top: 3%;
    transform: translateY(33%);
    font-size: 26px;
    font-family: source_sans_prolight;
    font-weight: bolder;
    -webkit-font-smoothing: antialiased;
    color: black;
    min-height: 268px;
}

.hide_tex {
    visibility: hidden;
}

.dropdown-menu > li > a {
    padding: 3px 10px;
}

.course_label_tooltip > .tooltip-inner {
    font-size: 14px;
    padding: 3px 8px;
}

.item_placeholder .course_label_tooltip > .tooltip-inner {
    font-size: 14px;
    padding: 3px 8px;
}

/* Settings Menu Bar Styles */
.settings-menu-title {
    width: 100%;
    font-family: source_sans_prolight;
    color: #004170;
    font-weight: 500;
    font-size: 1.25em;
    text-align: center;
    margin-top: 35px;
    margin-bottom: 15px;
}

.settings-header {
    height: 20px;
    padding-left: 10px;
    text-align: left;
    font-family: 'source_sans_prolight';
    font-weight: bold;
    font-size: 17px;
    margin-top: 5px;
    margin-bottom: 15px;
    color: #004170;
}

.settings-div {
    position: relative;
    height: 30px;
    width: 100%;
    /* float: left; */
}

.settings-slider-div {
    margin-top: 5px;
}

.settings-div-primary {
    height: 100%;
    width: 100%;
    text-align: left;
    font-family: 'source_sans_prolight';
    font-size: 14px;
    font-weight: 600;
    padding-left: 10px;
}

.settings-div-secondary {
    height: 100%;
    width: 100%;
    text-align: left;
    font-family: 'source_sans_prolight';
    font-size: 16px;
    font-weight: bold;
    padding-left: 30px;
}

.settings-select {
    position: absolute;
    top: 0;
    right: 10px;
    z-index: 1;
    font-family: 'source_sans_prolight';
    font-size: 14px;
}

.settings-div-disabled {
    opacity: 0.5;
    pointer-events: none;
}

#segmentation_boundaries_style_option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    margin-top: 8px;
    margin-bottom: 8px;
}

#segmentation_boundaries_style_option .settings-div-primary {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    padding-right: 12px;
    white-space: nowrap;
}

#segmentation_boundaries_style_option .settings-select {
    position: static;
    flex: 0 0 190px;
    width: 190px;
}

.settings-hr {
    margin: 0;
    border-color: #B3B3B3;
}

.settings-toggle {
    position: absolute;
    top: 0;
    right: 10px;
}

.settings-slider-parent {
    float: left;
}

.settings-slider-text {
    position: absolute;
    top: -12px;
    right: 10px;
    width: 100px;
    border: 0;
    text-align: right;
    color: #333;
    font-size: 15px;
}

.settings-text-lighter {
    font-weight: lighter;
    color: gray;
}

.settings-slider {
    position: absolute;
    top: 15px;
    height: 2px;
    width: calc(50% - 20px);
    margin: 0 10px;
    background: none;
    background-color: #B3B3B3;
    margin-left: 50%;
}

.ui-slider .ui-slider-handle {
    top: -8px;
    height: 15px;
    width: 15px;
    background: none;
    background-color: #0065AB;
    border: none;
    border-radius: 25px;
    margin: 1px 0 0 -8px;
}

.settings-disabled {
    background-color: rgba(187, 187, 187, 0.7);
    padding-top: 10px;
}

/* New Radio Button Styling */
.settings-div > [type="radio"]:not(:checked) + label {
    font-weight: normal;
}

.settings-div > [type="radio"]:checked + label {
    font-family: 'source_sans_probold';
}

.settings-div > [type="radio"]:checked, .settings-div > [type="radio"]:not(:checked) {
    position: absolute;
    right: 10px;
}

.settings-div > [type="radio"]:checked + label, .settings-div > [type="radio"]:not(:checked) + label {
    position: relative;
    cursor: pointer;
    display: inline-block;
    color: #666;
}

.settings-div > [type="radio"]:checked + label:before, .settings-div > [type="radio"]:not(:checked) + label:before {
    position: absolute;
    right: 10px;
    top: 0px;
    width: 18px;
    height: 18px;
    content: '';
    border: 1px solid black;
    border-radius: 100%;
    background: #fff;
}

.settings-div > [type="radio"]:checked + label:before {
    border-color: #0065AB;
}

.settings-div > [type="radio"]:checked + label:after, .settings-div > [type="radio"]:not(:checked) + label:after {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 3px;
    right: 13px;
    content: '';
    border-radius: 100%;
    background-color: #0065AB;
}

.settings-div > [type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.settings-div > [type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

/* New Checbox Styling */
.settings-toggle-label {
    display: block;
    height: 16px;
    width: 34px;
    background: #898989;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-toggle-label:after {
    position: absolute;
    left: -2px;
    top: -2px;
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 100px;
    background: #CCCCCC;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);
    content: '';
    transition: all 0.3s ease;
}

.settings-toggle-label:active:after {
    transform: scale(1.15, 0.85);
}

.settings-toggle-checkbox:checked ~ label {
    background: #0064ab6f;
}

.settings-toggle-checkbox:checked ~ label:after {
    left: 15px;
    background: #0065AB;
}
