.bg-navy {
    background-color: #001f3f;
}

.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.3em;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}

@media print {
    h2::first-letter {
        margin-top: 0;
    }
}

.google-auth img {
    width: 50%;
}

.google-auth {
    text-align: center;
    margin-bottom: 10px;
}

.login-or-separator {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
}

.recipe-title-holder,
.save-recipe-title-holder,
.edit-recipe-title-holder {
    display: inline-block;
}

#recipe-name-input {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-top: 9px;
}

.image-upload-holder,
.alternate-url-holder {
    display: inline;
    float: right;
}

.view-recipe-page .recipe-image {
    height: 200px;
    width: 200px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.new-recipe-page .recipe-image,
.edit-recipe-page .recipe-image {
    /*if this changes, also change the image-upload-toggle-spacer*/
    height: 200px;
    width: 200px;
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: 3px;
}

.image-upload-toggle-spacer {
    /* if the recipe image in show single recipe mode changes height, this will need to change the same # pixels*/
    min-height: 174px;
}

.image-upload-toggle {
    float: right;
}

.selected-image {
    margin-top: 15px;
    margin-right: 15px;
}

.cropped-image {
    margin-top: 15px;
    margin-bottom: 15px;
    background: #E4E4E4;
}

.recipe-image-row {
    margin-right: -5px;
    margin-left: 10px;
}

.recipe-image-holder {
    padding-right: 15px;
    padding-left: 0px;
}

.recipe.card .recipe-image {
    border-radius: 5px;
    height: 110px;
    width: 110px;
    margin-right: 15px;
}

.recipe-name.card-title {
    color: #555555;
    display: inline-block;
    vertical-align: top;
}

.cropArea {
    border-color: grey;
    background: #E4E4E4;
    overflow: hidden;
    width: 469px;
    height: 350px;
    float: left;
}

.cropped-image-holder {
    float: left;
}

.navbar-section {
    /* background-color: #5EE896; */
    /*margin-bottom: 23px;*/
    padding: 5px 27px;
    color: #595959;
}

@media (max-width: 767px) {
    .user-dropdown-menu {
        width: 300px;
        margin-right: -20px;
    }
}

.navbar-spacer {
    height: 73px;
}

.login-required-alert {
    position: absolute;
    top: 79%;
    left: 33%;
}

.login-required-alert .message {
    margin-right: 18px;
}

.user-dropdown-menu {
    padding-left: 8px;
    padding-right: 8px;
    color: rgba(255, 255, 255, 0.5);
    background-color: #001f3f;
    min-width: 4.5rem;
}

.user-dropdown-menu .login-fields {
    width: 270px;
}

.user-dropdown-menu .logout-section {
    width: 4.5rem;
    margin-right: 0px;
}

.user-dropdown-menu .user-login-message {
    margin-bottom: 5px;
}

.user-dropdown-menu .user-sign-up-message {
    margin-bottom: 5px;
}

/*.navbar-section .navbar-link a{*/
/*transition: all .25s ease;*/
/*}*/
/*.navbar-section .navbar-link  a:hover {*/
/*color: #0275d8 !important;*/
/*!*text-decoration: underline;*!*/
/*!*transition-delay: .15s;*!*/
/*!*-webkit-transition-delay: .15s;*!*/
/*}*/

.form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: lightgray;
}

.form-control::-moz-placeholder { /* Firefox 19+ */
    color: lightgray;
}

.form-control:-ms-input-placeholder { /* IE 10+ */
    color: lightgray;
}

.form-control:-moz-placeholder { /* Firefox 18- */
    color: lightgray;
}

#recipe-editor::before { /* Chrome/Opera/Safari */
    color: lightgray;
}

@media (max-width: 600px) {
    .recipe-card-holder {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 601px) {
    .recipe-card-holder {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

.user-nav-section {
    white-space: nowrap;
}

.mobile-menu-toggle {
    margin-left: -20px;
}

.user-nav-section-container {
    margin-right: 0;
    position: fixed;
    right: 13px;
    max-width: 280px;
    text-align: right;
    top: 5px;
}

.btn-outline-secondary {
    border-color: #ccc;
}
.btn-outline-secondary:hover {
    background-color: #ccc;
    border-color: #ccc;
}
.btn-secondary {
    color: #292b2c;
    background-color: #fff;
    border-color: #ccc;
}
.btn-secondary:hover {
    color: #292b2c;
    background-color: #e6e6e6;
    border-color: #adadad;
}

h1,h2,h3,h4,h5 {
    line-height: 1.1;
}

.home-nav-button-holder {
    /*column-count: 3;*/
    margin-top: 3.5rem;
    margin-bottom: 5rem;
}
@media (max-width: 600px) {
    .home-nav-button-holder {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    .home-nav-button.card {
        margin-bottom: 20px;
    }
}

@media (min-width: 601px) {
    .home-nav-button-holder {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

.recipe-card-holder .recipe {
    display: inline-block;
    -webkit-transform: scale(.95);
    -moz-transform: scale(.95);
    -o-transform: scale(.95);
    -ms-transform: scale(.95);
    width: 100%;
}

.recipe-card-holder .recipe:hover {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 15px 0 rgba(0, 0, 0, 0.19);
    -webkit-transform: scale(.97);
    -moz-transform: scale(.97);
    -o-transform: scale(.97);
    -ms-transform: scale(.97);

    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
}

.recipe-error-message {
    margin-top: 15px;
}

.result-info-message {
    color: #999999;
    font-size: smaller;
}

.show-line-breaks {
    white-space: pre-line;
}

.recipe-table-body {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.alternate-url-copy-button {
    padding-right: 8px;
    padding-top: 5px;
    padding-bottom: 3px;
    padding-left: 8px;
}
.copy-button {
    position: relative;
}
.copy-button span {
    position: absolute;
    left: -0.5em;
    z-index: 99;
    font-family: Calibri, Tahoma, Geneva, sans-serif;

    opacity: 0;
    top: -2em;
    transition-property: opacity, top;
    transition-duration: 1.25s, 1.25s;
}
.copy-button:active span {
    opacity: 1;
    top: -1em;
    transition-property: opacity, top;
    transition-duration: 0s, 0s;
}


/** FOOTER SECTION **/
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom must match the footer height and floating-bottom-button bottom margin */
    margin-bottom: 30px;
}

.floating-bottom-button {
    /* Margin bottom must match the footer height and body bottom margin */
    margin-bottom: 30px;
}

.footer {
    /* Set the fixed height of the footer here */
    height: 30px;

    position: absolute;
    bottom: 0;
    width: 100%;

    text-align: center;
    color: lightgray;
    font-size: xx-small;
}

.footer a {
    color: lightgray;
    font-size: xx-small;
}

/** END OF THE FOOTER SECTION **/

/** TEXT EDITOR SECTION **/
trix-editor {
    background-color: white;
}

trix-toolbar {
    background-color: white;
}

trix-toolbar .dialogs .dialog {
    border: 1px solid #d6d6d6;
    border-radius: 2px;
}

trix-toolbar .trix-button-row {
    border-color: transparent #d6d6d6 #d6d6d6;
    border-image: none;
    border-radius: 0 0 4px 4px;
    border-style: solid;
    border-width: 1px;
    padding-left: 5px;
    justify-content: normal;
}

trix-toolbar .trix-button-group {
    border-color: #d6d6d6;
    border-radius: 2px;
    box-shadow: none;
    margin-bottom: 0;
    margin-right: 2px;
    margin-top: 5px;
    margin-bottom: 5px;

    border: 0;
    border-right: 1px solid #bbb;
    padding-right: 5px;
}

trix-editor {
    border-color: #d6d6d6;
    border-radius: 4px 4px 0 0;
    word-wrap: break-word;
    color: #333;
    min-height: 350px;
}

trix-toolbar .trix-button-group button {
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s ease 0s;
    border: 0 none;
}

trix-toolbar .trix-button-group button.active,
trix-toolbar .trix-button-group button.active:hover {
    background-color: rgba(0, 0, 0, 0.03);
    box-shadow: 0 0 4px -1px rgba(0, 0, 0, 0.2) inset !important;
    opacity: 1;
}

trix-toolbar .trix-button-group button:hover {
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1) inset !important;
    opacity: 1;
}

trix-toolbar .trix-button-group button:not(:first-child), trix-toolbar .trix-button-group input[type=button]:not(:first-child) {
    border-left: 0 none;
}

trix-toolbar .trix-button-group:not(:first-child) {
    margin-left: .5vw;
}

trix-editor:empty:not(:focus)::before {
    content: attr(placeholder);
    color: #999;
}

trix-toolbar .trix-button-group-spacer {
    display: none;
}

/** END TEXT EDITOR **/