/*
Theme Name: Keysolutions
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* general customization */

.html .social-icons {
    font-size: 1.4em;
}

#footer .ux-menu-link__link {
    font-size: .9em;
    color: #e0ceaa;
}

.container {
    padding-left: 24px;
    padding-right: 24px;
}

.button {
    margin-bottom: 0;
}

.lightbox-content {
    border-radius: .4em;
}

.to-front {
    position: relative;
    z-index: 10;
}

.banner .text-box {
    pointer-events: none;
}

/* END - - - general customization */


/* basic customization */

.header-main li.html.custom {
    display: block;
}

.off-canvas-center .mfp-content {
    padding-top: 0;
}

.margin-0, .margin-0 > * {
    margin: 0;
    padding-bottom: 0;
}

.light, .light > * {
    font-weight: 300 !important;
}

.uppercase, .uppercase * {
    line-height: .9;
    letter-spacing: .125em;
}

.has-dropdown .icon-angle-down {
    font-size: .8em;
}

.wp-video {
    margin-bottom: 2em;
}

/* END - - - basic customization */


/* CF7 customization */

form {
    margin: 0;
}

.wpcf7 .wpcf7-not-valid-tip {
    margin-top: 0;
}

.wpcf7 #responsive-form {
    margin: 0 auto;
    width: 100%;
}

.wpcf7 .form-row {
    width: 100%;
    display: flex;
}

.wpcf7 .column-half, .wpcf7 .column-full {
    position: relative;
    padding: 0.25rem;
    width:100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.wpcf7 .clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.wpcf7 .wpcf7-not-valid-tip {
    background-color: transparent;
    color: #e46060;
    font-size: .8em;
}

.wpcf7 .wpcf7-not-valid-tip:after {
    content: none;
}

.wpcf7 input[type=email], .wpcf7 input[type=date], .wpcf7 input[type=search], .wpcf7 input[type=number], .wpcf7 input[type=text], .wpcf7 input[type=tel], .wpcf7 input[type=url], .wpcf7 input[type=password], .wpcf7 textarea, .wpcf7 select, .wpcf7 .select-resize-ghost, .wpcf7 .select2-container .select2-choice, .wpcf7 .select2-container .select2-selection {
    position: relative;
    font-size: 1.2em;
    border: 0;
    border-bottom: 1px solid #e0ceaa;
    background-color: transparent;
    font-weight: normal;
    box-shadow: none;
}

.section.dark .wpcf7 input, .section.dark .wpcf7 textarea {
    color: #fff;
}

.wpcf7 input[type=email]:focus, .wpcf7 input[type=search]:focus, .wpcf7 input[type=number]:focus, .wpcf7 input[type=tel]:focus, .wpcf7 input[type=text]:focus, .wpcf7 input[type=password]:focus, .wpcf7 textarea:focus, .wpcf7 select:focus {
    box-shadow: none;
    border-bottom: 1px solid #e0ceaa;
}

.wpcf7 textarea {
    min-height: 90px;
}

.wpcf7 .wpcf7-not-valid {
    border-color: #e46060;
}

.wpcf7 label {
    position: relative;
    font-weight: normal;
}

.wpcf7 label span.input-label {
    font-size: .8em;
}

.wpcf7-acceptance .wpcf7-list-item > label {
    display: flex;
}

.wpcf7-acceptance .wpcf7-list-item > label a {
    text-decoration: underline;
}

.wpcf7-submit {
    color: #fff !important;
}

.wpcf7 .custom-newsletter input.wpcf7-email {
    color: #fff;
    font-size: .8rem;
    padding: .8rem;
    height: 2.4rem;
    margin-bottom: 0;
}

.wpcf7 .custom-newsletter {
    display: flex;
    width: 100%;
    margin-bottom: .2em !important;
}

.wpcf7 .custom-newsletter ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #e0ceaa;
}

.wpcf7 label {
    font-size: .8em;
}

.wpcf7 .custom-newsletter .wpcf7-form-control-wrap {
    width: 100%;
}

.custom-newsletter .wpcf7-submit {
    margin-right: 0;
    margin-bottom: 0;
}

.wpcf7 .wpcf7-spinner {
    display: none;
}

.custom-newsletter input.wpcf7-submit {
    height: 2.4rem;
    background-color: #ff0a00;
}

/* END - - - CF7 customization */


/* Documents */
#document-repository {
    background-color: #e0ceaa;
}

.document-list {
    background-color: #fff;
    padding: 1em;
    margin-bottom: 2em;
    border-radius: .4em;
    list-style: none;
}

.document-list li:last-child {
    margin-bottom: 0;
}

.document-list li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
    line-height: 1.2;
    width: 100%;
    padding-right: 3em;
    color: #775c50;
}

.document-list li a small {
    opacity: .6;
}

.document-list li:not(:last-child) a {
    border-bottom: 1px solid rgba(0,0,0,.15);
    padding-bottom: 0.6em;
}

.document-list li a:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    font-size: 2em;
    max-width: 1em;
    width: 100%;
    margin-right: 0.2em;
}

.document-list li a.file-pdf:before {
    content: "\f1c1";
}
.document-list li a.file-image:before {
    content: "\f1c5";
}
.document-list li a.file-powerpoint:before {
    content: "\f1c4";
}
.document-list li a.file-excel:before {
    content: "\f1c3";
}
.document-list li a.file-word:before {
    content: "\f1c2";
}
.document-list li a.file-document:before {
    content: "\f15b";
}
.document-list li a.file-archive:before {
    content: "\f1c6";
}

.document-list li a:after {
    content: "\f178";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    position: absolute;
    right: 10em;
    opacity: 0;
    transition: .4s ease;
}

.document-list li a:hover:after {
    right: 0;
    opacity: 1;
}
/* END - - - Documents */


/* Credits */
.credits {
    font-size: .8em;
    margin-top: .8em;
}

.credits a img {
    max-height: 2em;
    margin: 0 0.2em;
}
/* END - - - Credits */


/* LD Courses customization */

.ld-course-list-items .ribbon {
	display: none;
}

.ld_course_grid .entry-title {
    font-size: 1.2em;
    line-height: 1.2;
}

.ld-course-list-items .ld_course_grid .btn-primary {
    background-color: #775c50;
    font-family: "Judson", sans-serif;
    letter-spacing: .025em;
}
.ld-course-list-items .ld_course_grid .btn-primary:hover {
    background-color: #493931;
}

.ld-course-list-items.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.sfwd-courses .article-inner {
    border-radius: .4em;
    overflow: hidden;
}

.single-sfwd-courses .badge {
    display: none;
}

.single-sfwd-courses .entry-divider, .single-sfwd-lessons .entry-divider {
    display: none;
}

.single-sfwd-courses .entry-title {
    margin-bottom: 0;
    font-weight: 300;
}

.learndash-wrapper .ld-course-status.ld-course-status-enrolled {
    background-color: #775c50;
    color: #fff;
}

.single-sfwd-lessons .ld-video {
    margin-bottom: 1em;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-status-icon {
    margin-top: 0;
}

/* END - - - LD Courses customization */


/* Clean Login */

.cleanlogin-container {
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    border: 0;
}

.cleanlogin-form input[type="text"], .cleanlogin-form input[type="password"], .cleanlogin-form input[type="email"], .cleanlogin-form input[type="submit"] {
    height: 42px;
    padding: 8px 16px;
}

input.cleanlogin-field {
    line-height: 1 !important;
}

.cleanlogin-form label {
    text-align: left;
    text-transform: none;
}

.cleanlogin-field-remember {
   float: none;
   text-align: left;
}
/* END - - - Clean Login */


@media only screen and (min-width: 48em) {
    /*************** ADD DESKTOP ONLY CSS HERE  ***************/

    /* CF7 customization */

    .wpcf7 .column-half {
        width: 50%;
    }

    /* END - - - CF7 customization */

}