/*
	Theme Name: KämpeAB
	Theme URI: ""
	Author: Daniel Levén
	Version: 1.0
*/

.content-box p,.content-box h1, .content-box h2, .content-box h3, .content-box h4, .content-box h5, .content-box h6, .ans-contact-box, .ans-contact-box-ub, .press-box .wp-block-image, .line-break, .jobb-dropdown-button, .jobb-drop, .jobb-box-intro, .oo-undermenu .menu-om-oss-container, .ub-box-3 p, .kontakt-box, .oo-box-1, .oo-box-3, .oo-jobb-box-1, .fh-info, .ub-info {
    padding: 0 8% !important;
}
@media only screen and (min-width: 769px) {
    .content-box p,.content-box h1, .content-box h2, .content-box h3, .content-box h4, .content-box h5, .content-box h6, .ans-contact-box, .ans-contact-box-ub, .press-box .wp-block-image, .line-break, .jobb-dropdown-button, .jobb-drop, .jobb-box-intro, .oo-undermenu .menu-om-oss-container, .ub-box-3 p, .kontakt-box, .oo-box-1, .oo-box-3, .oo-jobb-box-1, .fh-info, .ub-info {
        padding: 0 16% !important;
    }
}
@media only screen and (min-width: 972px) {
    .content-box p,.content-box h1, .content-box h2, .content-box h3, .content-box h4, .content-box h5, .content-box h6, .ans-contact-box, .ans-contact-box-ub, .press-box .wp-block-image, .line-break, .jobb-dropdown-button, .jobb-drop, .jobb-box-intro, .oo-undermenu .menu-om-oss-container, .ub-box-3 p, .kontakt-box, .oo-box-1, .oo-box-3, .oo-jobb-box-1, .fh-info, .ub-info {
        padding: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 800px !important;
    }
}

/* HOME PAGE */
.home-start {
  position: relative;
  background-image: url("http://media.dev.kampeab.se/2019/05/kämpe-header-start.png");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  padding: 0 12% !important;
  margin: 0;
  margin-top: -190px;
  z-index: 1;
}

.start-rubrik {
  text-align: center;
  color: #FFF;
  margin: 32px 0 22px 0;
  padding-top: 204px;
}

.start-text {
  text-align: center;
  font-size: 16px;
  line-height: 30px;
  color: #FFF;
  margin: 0 auto;
  max-width: 800px;
}

.wp-block-columns .wp-block-column {
  margin: 0;
}
.wp-block-columns .wp-block-image {
  margin: 0;
}
.wp-block-columns figure {
  margin: 0;
}

.home-box-2 .wp-block-column {
    flex-basis: 100%;
}
.home-box-2 .wp-block-button{
  margin-bottom: 128px;
}
.box-ungdom {
  background-color: #fff;
  text-align: center;
}
.box-ungdom h2 {
  color: #FFB900;
  margin: 158px 10% 64px;
}
.box-familj {
  background-color: #006881;
  text-align: center;
}
.box-familj h2 {
  color: #FFF;
  margin: 158px 10% 64px;
}
.box-familj .button-familj .wp-block-button__link, .box-team .wp-block-button__link {
  background-color: #FFF;
  color: #000;
}

.box-team {
  background-image: url("http://media.dev.kampeab.se/2019/05/möt-teamet.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 262px 8% 120px !important;
  margin: 0;
  text-align: center;
}
.box-team h2, .box-team p {
  color: #fff;
}
.box-team h2 {
  margin-bottom: 24px;
}
.box-team p {
  font-size: 20px;
  line-height: 36px;
  max-width: 800px;
  margin: auto;
}
.box-team .wp-block-button {
  margin: 64px auto 120px;
}

.box-instagram {
  margin: 80px 0 !important;
}
.box-instagram h3 {
    font-family: 'Staatliches';
    text-align: center;
    margin-bottom: 48px;
}
.box-instagram .sbi {
  padding-bottom: 0px !important;
}
.box-instagram #sbi_images {
  padding-top: 0 !important;
  padding-bottom: 24px !important;
}

.box-partners {
  margin: 72px 0;
  text-align: center;
}
.box-partners h3 {
    font-family: 'Staatliches';
  text-align: center;
  margin-bottom: 47px;
}
.box-partners .wp-block-column {
  margin: 10px 20px;
}
.partners-gallery {
  padding: 0 10% !important;
}
.partners-gallery .caption {
    display: none !important;
}

#foogallery-gallery-606 {
    padding: 0 10% !important;
}
#foogallery-gallery-606 .fg-item {
    margin: 0 40px 40px 0 !important;
}
@media only screen and (min-width: 321px) {
    .box-team {
      padding: 262px 12% 120px !important;
    }
}
@media only screen and (min-width: 426px) {
    .start-text {
      font-size: 20px;
      line-height: 36px;
    }
}
@media only screen and (min-width: 769px) {
    .home-box-2 .wp-block-column {
        flex-basis: 50%;
    }
    .box-team {
      padding: 262px 0 120px !important;
    }
    #foogallery-gallery-606 {
        padding: 0 10% !important;
    }

}
@media only screen and (min-width: 972px) {
    .home-start {
      padding: 0 !important;
    }
}

/* Familjehem */
.familj-block {
    text-align: center;
}

.fh-box {
    background-image: url("http://media.dev.kampeab.se/2019/05/familjehem.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -134px;
    z-index: 1;
    color: #fff;
}
.fh-rubrik {
    padding-top: 161px;
}
.fh-info {
    color: #fff;
    font-size: 20px;
    line-height: 36px;
    margin: 24px 0 50px;
}
.fh-rubrik-2 {
    color: #006881;
    margin: 104px 21.5%;
}

.fh-erb-image {
    object-fit: cover;
    width: 100%;
    /* max-height: 455px; */
}

.fh-erb-box {
    display: inline-block;
    color: #003D4B;
    text-align: left;
    margin-bottom: 140px;
}
.fh-erb-box h2 {
    margin: 80px 0 40px 0;
}
.fh-erb-box h4 {
    margin-bottom: 16px;
}
.fh-erb-box p {
    margin-top: 16px;
    margin-bottom: 64px;
    font-size: 18px;
    line-height: 30px;
}

.fh-box-2 {
    background-color: #F9F9F9;
    padding: 64px 0 !important  ;
}
.fh-box2-rubrik{
    font-size: 24px;
    font-weight: bold;
    line-height: 35px;
    margin-bottom: 16px;
}
.fh-box2-info {
    font-size: 16px;
    font-weight: 300;
    line-height: 32px;
}

@media only screen and (min-width: 769px) {
    .fh-erb-box p {
        margin-bottom: 64px;
        font-size: 20px;
        line-height: 40px;
    }
}

/* Ungdomsboende */

.ungdom-block {
    text-align: center;
}

.ub-box {
    color: #fff;
    background-color: #42DA82;
    padding: 31px 0 104px 0 !important;
}
.ub-rubrik {

}
.ub-info {
    color: #fff;
    margin: 24px 0 40px;
    font-size: 20px;
    line-height: 36px;
}

.ub-bg-image {
    font-size: 0;
    height: 562px;
    background-image: url("http://media.dev.kampeab.se/2019/05/HejFoto_Kämpe_30_WEBB.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.ub-box-2 {
    padding: 164px 8% !important;
    background-color: #FFB900;
    color: #fff;
    text-align: center;
}
.ub-box-2 h1 {
    font-family: 'Lato' !important;
    max-width: 1112px;
    margin: auto;
}
.ub-box-2 p {
    color: #fff;
    margin-top: 32px;
    font-size: 24px;
    line-height: 29px;
}


.ub-box-3 {
    padding: 80px 0 !important;
    background-color: #FFF7EF;
    color: #000;
}
.ub-box3-rubrik {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 35px;
    font-weight: bold;
}
.ub-box3-info {
    margin-bottom: 32px;
}

.ub-vh-box1 {
    padding: 80px 0 !important;
    text-align: left;
    color: #003D4B;
}
.ub-vh-box1-rubrik {
    margin-bottom: 45px;
	font-weight: bold;
}
.ub-vh-box1-info {
    margin: 30px 0;
}

.ub-vh-galleri {
    padding: 0 4%;
    max-width: 1150px;
    margin: auto;
    margin-bottom: 223px;
}
.ub-vh-galleri .blocks-gallery-item {
    width: 100%;
    margin: 0 0 40px;
}

.ten-year-spin {
    position: relative;
}
.ten-year-image {
    position: fixed;
    right: 50px;
    bottom: 50px;
    height: 140px;
    width: 140px;
    z-index: 10;
    animation: spin 8s linear infinite;
    -webkit-animation: spin 8s linear infinite;
    -moz-animation: spin 8s linear infinite;
}

@keyframes spin { 100% { -webkit-transform: rotate(-360deg); transform:rotate(-360deg); } }
@-moz-keyframes spin { 100% { -moz-transform: rotate(-360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(-360deg); } }

@media only screen and (min-width: 769px) {
    .ten-year-image {
        right: 50px;
        bottom: 50px;
        height: 240px;
        width: 240px;
    }
    .ub-vh-galleri .blocks-gallery-item {
        width: calc((100% - 40px)/2);
        margin: 0 40px 40px 0;
    }
    .ub-vh-galleri .blocks-gallery-item:nth-of-type(2n) {
        margin-right: 0;
    }
}
@media only screen and (min-width: 1250px) {
    .ub-vh-galleri {
        padding: 0 0%;
    }
}

/* Kontakt */

.kontakt-box {
    margin: 80px 0;
    color: #003D4B;
}
.kontakt-rubrik {
    font-size: 32px;
    font-weight: bold;
    line-height: 38px;
}
.kontakt-info {
    margin: 45px 0;
}
.kontakt-box h5 {
    margin: 32px 0 16px 0;
}
.kontakt-ub-2 {
    margin: 30px 0;
}

/* Karta för Ungdomsboende sida och Kontakt sida*/
.map-box iframe {
    height: 400px !important;
}

/* Om Kämpe Ungdomsboende*/

.ou-block {
    padding: 80px 0;
}
.ou-block h4 {
    margin-bottom: 45px;
}
.ou-block p {
    margin: 16px 0 64px 0;
}

/* Press */

.press-block {
    margin: 80px 0;
    color: #003D4B;
}
.press-box {
    color: #003D4B;
}

.press-link {
    margin-top: 21px;
}
.press-item-box a {
    text-decoration: none;
    color: #003D4B;
}
.press-box p {
    margin-top: 32px;
}
.press-date {
    color: #000;
    margin: 21px 0;
    text-transform: uppercase;
    font-weight: bold;
}
.line-break {
    margin: 76px 0 30px 0;
    border: solid 1px #979797;
    background-color: #979797;
}
.press-item-box:last-of-type .line-break {
    background-color: #fff;
    border: none;
}

.press-box .wp-block-image {
    margin: 32px 0;
}

/* Våra tillstånd */

.vt-block {
    text-align: center;
}

.vt-box1 {
    padding: 50px 0 110px !important;
    background-color: #F4F4F4;
}
.vt-box1 p {
    font-size: 20px;
    line-height: 36px;
    max-width: 800px;
    margin: auto;
}

.vt-gridbox > .uagb-section__inner-wrap {
    display: grid;
    grid-template-columns: 1fr;
    margin: 56px 0px !important;
}
.vt-show-box {
    display: block;
    width: 100%;
    max-width: 555px !important;
    color: #fff;
    margin: 0px !important;
    padding: 64px 1% 54px !important;
}
.vt-show-box h4 {
    color: #fff;
}
.vt-show-box p {
    color: #fff;
    margin: 24px 0 54px;
}
.vt-show-box1 {
    background-color: #FFB900;
    justify-self: center;
}
.vt-show-box2 {
    background-color: #003D4B;
    justify-self: center;
}

.vt-box3 {
    margin: 49px 0 104px 0;
}
.vt-box3-underrubrik {
    font-size: 24px;
    font-weight: bold;
    line-height: 35px;
}
.vt-box3-info {
    margin: 16px auto 32px;
}

@media only screen and (min-width: 769px) {
    .vt-gridbox > .uagb-section__inner-wrap {
        grid-template-columns: 1fr 1fr;
    }
    .vt-show-box {
        width: 80%;
        margin: 56px 20px !important;
        padding: 64px 3% 54px !important;
    }
    .vt-show-box1 {
        justify-self: end;
    }
    .vt-show-box2 {
        justify-self: start;
    }
}

/* Ansökan */

.ans-box1 {
    padding: 50px 0 146px !important;
    background-color: #F4F4F4;
}
.ans-box1 h4 {

}
.ans-box1 p {
    font-size: 20px;
    line-height: 36px;
}

.ans-gridbox > .uagb-section__inner-wrap {
    display: grid;
    grid-template-columns: 1fr;
    margin: 56px 0px !important;
}
.ans-show-box {
    display: block;
    width: 100%;
    max-width: 555px !important;
    color: #fff;
    margin: 0px !important;
    padding: 114px 0 130px !important;
}
.ans-show-box .wp-block-button {
    margin: 30px 0px 24px 0px;
}
.ans-show-box a {
    color: #fff;

}
.ans-show-box h4 {
    color: #fff;
}
.ans-show-box1 {
    background-color: #FFB900;
    justify-self: center;
}
.ans-show-box2 {
    background-color: #006881;
    justify-self: center;
}

@media only screen and (min-width: 769px) {
    .ans-gridbox > .uagb-section__inner-wrap {
        grid-template-columns: 1fr 1fr;
    }
    .ans-show-box {
        width: 80% !important;
        margin: 56px 20px !important;
    }
    .ans-show-box1 {
        justify-self: end;
    }
    .ans-show-box2 {
        justify-self: start;
    }
}

/* Jobba med oss */

.jobb-box-intro {
    padding-top: 80px !important;
    padding-bottom: 52px !important;
    color: #003D4B;
    text-align: left;
}
.jobb-box-intro h4 {
    margin-bottom: 32px;
}
.jobb-dropdown-button .uagb-section__inner-wrap {
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
}
.jobb-dropdown-button {
    height: 64px;
    color: #fff;
    background-color: #006881;
    margin: 50px 0;
    /* cursor: pointer; */
}
.jobb-rubrik {
    justify-self: start;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 64px;
    margin-left: 12px !important;
}
.jobb-mer {
    justify-self: end;
    font-size: 14px;
    font-weight: bold;
    line-height: 64px;
    margin-right: 32px;
}

.jobb-drop {
    text-align: left;
    color: #003D4B;
    margin: auto !important;
    padding: 0px 3.3% !important;
    /* display: none; */
}

.jobb-drop li {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 32px;
}
.jobb-drop li:last-child {
    margin-bottom: 40px;
}
.jobb-info-rubrik {
    font-size: 24px;
    font-weight: bold;
    line-height: 33px;
    margin-bottom: 8px;
}
.jobb-info-underrubrik {
    font-weight: bold;
    margin: 32px 0 16px 0;
}
.jobb-kontakt-link {
    margin: 40px 0 80px 0;
}
.jobb-kontakt-link a {
    color: #003D4B;
}

@media only screen and (min-width: 426px) {
    .jobb-rubrik {
        font-size: 20px;
        margin-left: 40px;
    }
}

/* Om oss */

.oo-undermenu{
    display: none !important;
}
.oo-undermenu .menu {
}
.oo-undermenu ul {
    display: inline-block;
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}
.oo-undermenu ul li {
    display: inline-block;
    margin-right: 54px;
}
.oo-undermenu a {
    color: #000;
    text-decoration: none;
}
.oo-undermenu .current-menu-item a {
	padding-bottom: 6px;
	border-bottom: solid 2px #006881;
}

.oo-block {
    display: block;
    color: #003D4B;
}

.oo-box-1 {
    margin: 80px auto !important;
}
.oo-box-1 h4 {
    margin-bottom: 32px;
}
.oo-box-1 p {
    margin-bottom: 32px;
}

.oo-box-2 {
    color: #fff;
    background-color: #FFE4CD;
    opacity: 0.8;
    padding: 96px 40px !important;
    text-align: center;
}
.oo-box-2 p {
}
.oo-box-2 h4 {
    margin-bottom: 16px;
}
.oo-box-2 .wp-block-columns {
    max-width: 1272px !important;
    margin: auto !important;
}
.oo-box-2 .wp-block-column {
    margin: 0 auto 16px;
    max-width: 360px;
}

.oo-box-3 {
    margin: 80px 0;
}
.oo-box-3 p:first-of-type {
    margin: 16px 0 40px 0 !important;
}
.oo-box-3 p:last-child {
    margin-top: 64px !important;
    font-weight: bold;
    color: #006881;
}
.oo-box-3 li {
    margin-bottom: 32px;
    font-size: 18px;
	line-height: 32px;
}
.oo-gallery {
    padding: 0 10%  !important;
    margin-bottom: 128px;
}

@media only screen and (max-width: 768px) {

#envira-gallery-402 .envira-gallery-item {
    width: 100% !important;
}

}

.oo-jobb-block {
    color: #003D4B;
}

.oo-jobb-box-1 {
  color: #003D4B;
}
.oo-jobb-box-1 h4{
  margin: 80px 0 32px 0;
}
.oo-jobb-box-1 p{
  margin-bottom: 68px;
}

.oo-jobb-box-2 {
  display: grid;
  grid-template-columns: 1fr;
  padding: 96px 2% !important;
  background-color: #F8F8F8;
}
.oo-worker-box {
    margin: 0 16px 56px;
    background-color: #fff;
}
.oo-worker-box .wp-post-image {
  margin: 0 0 24px 0;
  width: 100%;
  height: 225px;
  object-fit: cover;

}
.oo-worker-box h5 {
    margin: 0 0 8px 24px;
    color: #003D4B;
}
.oo-worker-box p {
    margin: 0 24px 8px;
    color: #006881;
}
.oo-worker-box p:first-of-type {
  font-weight: bold;
}
.oo-worker-box p:nth-child(3) {
  margin-top: 16px;
  color: #003D4B;
}
.cv-link {
    margin-top: 64px !important;
}
.cv-link a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.oo-kvalitet-block {
    display: block;
    color: #003D4B;
}
.kb-box {
    margin: 80px 0 210px 0 !important;
    padding: 0 !important;
}
.kb-box p {
  margin-top: 32px;
}

@media only screen and (min-width: 630px) {
    .oo-jobb-box-2 {
      grid-template-columns: 1fr 1fr;
      padding: 96px 0% !important;
    }
}

@media only screen and (min-width: 769px) {

    .oo-undermenu{
        display: block !important;
        padding-top: 80px;
        border-bottom: 1px solid #006881;
    }

    .oo-box-2 .wp-block-column {
        margin: 0 48px;
    }

    .oo-jobb-box-2 {
      grid-template-columns: 1fr 1fr 1fr;
      max-width: 1440px;
      margin: auto;
    }
    .oo-worker-box {
        margin: 0 28px 56px;
    }
    .oo-worker-box .wp-post-image {
      height: 225px;

    }

}
@media only screen and (min-width: 1025px) {
    .oo-jobb-box-2 {
      padding: 96px 10% !important;
    }
}

/* Ansökan Familjehem */

.ans-fh-block {
    color: #003D4B;
    padding: 0;
}

.ans-fh-box-1 {
    margin: 32px 0 80px;
}
.ans-fh-box-1 a {
    color: #003D4B;
}
.ans-fh-box-1 h4 {
    margin: 40px 0;
}
.ans-fh-box-1 p:nth-of-type(2){
    margin: 16px 0 56px;
}
.ans-fh-box-1 p:nth-of-type(3){
    margin-bottom: 8px;
    font-weight: bold;
}

.ans-contact-box {
    text-align: center;
    background-color: #006881;
    color: #fff;
    padding: 56px 10% !important;
    margin-bottom: 104px;
}
.ans-contact-box h4 {
    margin-bottom: 32px;
    color: #fff;
}
.ans-contact-box .wpcf7-form p:nth-child(5) {
    color: #fff;
}
.ans-contact-box p:last-of-type {
    color: #fff;
}

.ans-contact-box-ub {
    text-align: center;
    background-color: #FFB900;
    color: #fff;
    padding: 56px 10% !important;
    margin-bottom: 104px;
}
.ans-contact-box-ub h4 {
    margin-bottom: 32px;
}

.wpcf7-form p {
    margin-top: 32px;
}
.wpcf7 input.wpcf7-text {
    width: 100%;
}
.wpcf7 textarea.wpcf7-textarea {
    width: 100%;
    font-family: 'Lato';
}
.wpcf7-validation-errors {
    border: none !important;
    color: #FF5B5B;
    text-align: center;
}
.wpcf7 input[type="text"], input[type="email"], input[type="textarea"] {
    font-family: 'Lato';
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus, select:focus {
    outline: none;
}

@media only screen and (min-width: 426px) {

}

/* BUTTONS */
.wp-block-button {
  height: 48px;
  margin: 0;
}
.wp-block-button__link {
  width: 255px;
  border-radius: 24px;
  padding: 12px 0px;
  font-size: 16px;
  font-weight: 900;
  line-height: 22px;
}

.head-button {
  height: 48px;
  text-align: center;
  background-color: #ffb900;
  color: #fff;
  border-radius: 24px;
  padding: 12px 0px;
  font-size: 16px;
  font-weight: 900;
  line-height: 22px;
  text-decoration: none;
  margin: 32px 38px 0 0;
}

.button-ungdom .wp-block-button__link {
  background-color: #ffb900;
}
.button-familj .wp-block-button__link {
  background-color: #006881;
}

.button-yellow .wp-block-button__link {
  background-color: #ffb900;
}
.button-blue .wp-block-button__link {
  background-color: #006881;
}
.button-white .wp-block-button__link {
    color: #000;
    background-color: #fff;
}

.om-oss-button {
  text-align: center;
  padding: 38px 0 109px 0;
}
.om-oss-button .wp-block-button__link {
  background-color: #fff;
  color: #000;
}

.fh-contact-button {
    padding-bottom: 100px;
}
.fh-box2-button {
    margin-top: 32px;
}
.fh-box2-button .wp-block-button__link {
    background-color: #006881;
}

.instagram-button {
  text-align: center;
  margin-top: 56px;
}
.instagram-button .wp-block-button__link {
  background-color: #ffb900;
}
.button-tillstand {
    height: 48px;
    margin: 0!important;
    padding-top: 8px !important;
}
.button-tillstand a {
    text-decoration: none;
    background-color: #fff;
    color: #000;
    width: 255px;
    border-radius: 24px;
    padding: 12px 42px;
    font-size: 16px;
    font-weight: 900;
    line-height: 22px;
}

.vt-show-box .wp-block-button__link {
    color: #000;
    background-color: #fff;
}

@media only screen and (max-width: 768px) {

}
