/*
 Theme Name:   wally-wp.se
 Theme URI:    http://wally-wp.se
 Description:  Officiell webbplats för Wally-temat
 Author:       Raket Webbyrå
 Author URI:   http://raketwebbyra.se
 Template:     wally-theme-master
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, responsive-layout, accessibility-ready
 Text Domain:  wally-theme-master
*/

/*******************************************************************************************
 * Grundtema
 *******************************************************************************************/
body .fw_form_fw_form [type=submit], body .mejs-container.mejs-video .mejs-controls .mejs-time-current, body .off-canvas__navigation__header {
    background-color: #5564d7; }
body [class*="fw-btn"]:hover, body .button--secondary, body .button--s, body [class*="fw-btn"], body .survey__submit, body button[type="submit"], body a.button, body a.button.button--primary, body button.button--primary, body .button--primary, body .is-highlighted {
    background-color: #5564d7; }
body a, body .site-header .navigation a, body .site-header .navigation button:not([type=submit]), body .site-header .navigation .navigation__subitem a, body .off-canvas__navigation__item a, body .pills__link, body .pills__link:before, body .pills__link:hover, body .pills__link:focus, body .pills__link:active, body .pills__link:hover:before, body .pills__link:focus:before, body .pills__link:active:before, body .article-box__footer__col--meta a, body .button.pagination__button, body a.edit-btn, body a.edit-btn:hover, body a.edit-btn:hover span, body a.edit-btn:focus body a.edit-btn:focus span, body .site-footer a, body .tabs__title a, body .tabs__title.is-active a, body .related-posts__post-title {
    color: #5564d7; }
body .site-header p, body .site-header a, body .site-header .navigation button[type="submit"], body button[type="submit"], body [class*="fw-btn"] {
    color: #FFF; }
body *:focus, body a:hover, body .navigation__item a:hover span, body .navigation__item.is-current span, body .navigation__item a:focus span, body .navigation__item a:active span, body .subpages__item button:hover, body .list-group__item.is-current > a, body .list-group__item.is-current > a:hover, body .list-group__subitem.is-current > a, body .list-group__subitem.is-current > a:hover, body .list-group__item button:hover, body a.button:hover span, body a.button:focus span, body a.button:active span, body a.button.button--primary:hover span, body a.button.button--primary:focus span, body a.button.button--primary:active span, body button.button--primary:hover span, body button.button--primary:focus span, body button.button--primary:active span, body .button--primary:hover span, body .button--primary:focus span, body .button--primary:active span, body .off-canvas__navigation__item.is-current > a, body .off-canvas__navigation__subitem.is-current > a, body .recent__item a:hover, body .recent__item a:focus, body .pills__link, body .pills__link:before, body .pills__link:hover, body .pills__link:focus, body .pills__link:active, body .pills__link:hover:before, body .pills__link:focus:before, body .pills__link:active:before, body .pills__link:hover span, body .article-box__footer__col--meta a:hover, body .article-box__footer__col--meta a:focus, body .article-box__header--above-figure:hover span, body .article-box__header--above-figure:focus span, body .article-box__header--below-figure:hover span, body .article-box__header--below-figure:focus span, body .pagination a:hover, body .pagination a:focus, body .pagination__button:hover span, body button.button.search__submit, body a.edit-btn, body a.edit-btn:hover, body a.edit-btn:hover span, body a.edit-btn:focus body a.edit-btn:focus span, body .site-footer a:hover, body .site-footer a:focus, body .tabs__title.is-active a span, body .tabs__title a:hover span, body .related-posts__post:hover span, body .related-posts__post:focus span {
    border-color: #5564d7; }
body *:focus, body .site-header .navigation a:hover, body .site-navigation *:focus, body .navigation__item.is-current, body .navigation__item.current-page-ancestor, body .navigation__item a:focus, body .navigation__item a:active, body a.edit-btn, body a.edit-btn:hover, body a.edit-btn:hover span, body a.edit-btn:focus body a.edit-btn:focus span, body .breadcrumbs a:focus, .search__input:focus {
    outline-color: #5564d7; }

body .list-group__item.is-current > a, body .list-group__item.is-current > a:hover,
body .list-group__subitem.is-current > a,
body .list-group__subitem.is-current > a:hover {
    background-color: #FFFFFF; }

body .list-group__item a:hover,
body .list-group__item a:focus,
body .list-group__subitem a:hover,
body .list-group__subitem a:focus {
    border-color: rgba(0, 0, 0, 0.1); }
body .list-group__item a:hover span,
body .list-group__item a:focus span,
body .list-group__subitem a:hover span,
body .list-group__subitem a:focus span {
    border-color: rgba(0, 0, 0, 0.1); }

body .button.pagination__button {
    background: #FFFFFF; }

/*******************************************************************************************
 * Startsida
 *******************************************************************************************/
.home .alert-wrapper,
.home .breadcrumbs-wrapper,
.home .main {
    background: #5564d7;
    color: #fff;
}

.home .main {
    text-align: center;
}

/*******************************************************************************************
 * Navigation
 *******************************************************************************************/
.site-header {
    padding: 0;
    background: #fff;
}

.site-header__row {
    display: table;
    width: 100%;
}

.site-header__logo {
    padding: .5rem 1rem;
}

.site-header__row > * {
    display: table-cell;
    vertical-align: middle;
}

.navigation__item,
.navigation__item:first-child {
    border-left: none;
    border-right: none;
}

.navigation__item a span {
    border-color: rgba(0,0,0,0.2);
    border-width: 1px;
}

.navigation__item a:hover span {
    border-width: 2px;
}

.search-form {
    float: none;
    width: auto;
}

.search__form {
    border-left: none;
    border-right: none;
}

.search-form .search__input {
    background: rgba(85, 100, 215, 0.07);
}

.site-intro__text {
    max-width: 40rem;
    margin: 4rem auto;
    display: block;
}

.site-intro__title,
.site-intro__subtitle {
    width: 100%;
    display: inline-block;
    max-width: none;
}

.site-intro__title {
    font-size: 1rem;
}

.site-intro__subtitle {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 0;
}

body.page-template-full .mejs-overlay,
body.page-template-ladda-ner .mejs-overlay {
    background-color: rgba(85, 100, 215, 0.5);
}

/*******************************************************************************************
 * Video
 *******************************************************************************************/

.wp-video[data-title] {
    padding-top: 0;
}
.wp-video[data-title]:after {
    content: none;
}

.wp-video {
    color: #5564d7;
}

/*******************************************************************************************
 * Signup
 *******************************************************************************************/

.signup {
    background: rgba(0,0,0,0.2);
    padding: 2rem 0;
    margin: 2rem 0;
}

.signup .site-intro__text {
    margin: 0 auto;
}

.signup form,
.signup .wrap-forms,
.signup .fw-row {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}

.signup .wrap-forms .field-text {
    margin-bottom: 0;
}

.signup .field-text label {
    display: none;
}

.signup .field-text input[type=text] {
    padding: 1.5rem;
    color: #FFF;
    background: rgba(0, 0, 0, 0.2);
    border: solid 2px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
}

.signup .field-text input::-webkit-input-placeholder {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    font-style: normal;
}

.signup .field-text input:-moz-placeholder { /* Firefox 18- */
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    font-style: normal;
}

.signup .field-text input::-moz-placeholder {  /* Firefox 19+ */
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    font-style: normal;
}

.signup .field-text input:-ms-input-placeholder {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    font-style: normal;
}

.signup .fw_form_fw_form [type=submit] {
    display: block;
    max-width: 10rem;
    margin: 2rem auto 0;
    padding: 1rem 3rem;
    font-size: 1rem;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 0px 0px 3px rgba(0, 0, 0, 0.2);
    color: #5564d7;
    float: none;
}

.off-canvas__open {
    color: #5564d7;
}

@media screen and (max-width: 768px) {

    /*******************************************************************************************
     * Mobilmeny
     *******************************************************************************************/
    .off-canvas__open {
        color: #5564d7;
        display: none;
    }
}

@media screen and (max-width: 768px) {

    .off-canvas__open {
        display: table-cell;
    }


    .search-form,
    .site-navigation {
        display: none;
    }

}

.article-box figure {
    background-repeat: no-repeat;
}

.image {
    min-height: 8rem;
}
