﻿.cro237__container {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    color: #000000 !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: 1;
    box-shadow: none;
    height: 100%;
}

.cro237__content {
    font-family: inherit;
}

.cro237__content-title {
    margin: 0 0 20px;
    font-family: inherit;
}
.cro237__content-title h1 {
    font-family: inherit;
}

.cro237__content-desc {
    font-family: inherit;
}

.cro237__content-desc p {
    font-family: inherit;
    padding-bottom: 10px;
}

.cro237__controls a {
    width: 100%;
}

.cro237__close {
    text-align: right;
    font-size: 20px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
    color: gray !important;
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 20px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.5);
}

#cro237Close {
    font-weight: 700;
    cursor: pointer;
    color: #000;
}

.cro237__content {
    padding: 50px 50px 0 50px;
}

.cro237__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 20px 50px;
}

#ng-sb-overlay {
    width: 100vw;
    height: 100vh;
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
}

.ng-sb-container {
    position: fixed;
    top: 0;
    right: -600px;
    z-index: 9999;
    width: 570px;
    height: 100%;
    box-shadow: 0 6px 12px rgba(107, 82, 82, 0.3);
    background-color: white;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: ease 0.4s all;
}

body.ng-sb-open #ng-sb-overlay {
    display: block;
}

body.ng-sb-open .ng-sb-container {
    right: 0;
}

.cro237__image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow-y: hidden;
}

/* TODO  */
.cro237__image.default {
    height: 200px;
    background-position: center -40px;
    background-repeat: repeat;
}

.cta-block {
    flex-grow: 1;
    background-position: center;
    background-size: cover;
}

.cro237__controls a {
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
    text-align: center;
    width: 100%;
}

    .cro237__controls a:hover {
        text-decoration: none;
    }


/*
*****************************************************************************************
Mobile
*****************************************************************************************
*/
@media only screen and (max-width:767px) {
    .ng-sb-container {
        width: auto;
        height: auto;
        margin: 20px 30px 120px;
        max-width: 570px;
    }

    body.ng-sb-open .ng-sb-container {
        bottom: 0;
        right: 0;
        left: 0;
    }

    .cro237__content {
        padding: 20px 30px 0 30px;
    }

    .cro237__image.default {
        background-position: center -10px;
    }

    .cro237__image {
        height: 150px;
    }

    .cro237__content-title {
        margin-top: 20px;
    }

    .cro237__controls {
        padding: 0 30px;
        margin-top: 10px;
    }

    .cro237__controls a {
        margin-top: 25px;
    }

  .cro237__close {
      right: 5px;
      top: 5px;
      padding: 0;
  }
}