/*
    School Voice Feature Style
*/

section.testimonials {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 50px calc((100% - 1100px)/ 2);
}

section.testimonials div.action {
    top: 0px;
}

section.testimonials h2 {
    display: block;
    font-size: 40px;
    font-weight: 600;
    color: #32b4a6;
    line-height: 1.2;
    text-align: center;
}

section.testimonials div.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0em;
    margin-bottom: 6em;
    position: relative;
}

section.testimonials div.wrapper div.testimonial {
    border-radius: 8px;
    margin: 0em;
    padding: 1em 0.5em;
    min-height: 250px;
}

section.testimonials div.wrapper div.testimonial > h3 {
    display: block;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: rgb(50, 180, 166);
    line-height: 1.2;
    width: 95%;
    margin: 0 auto;
    margin-bottom: 1em;
}

section.testimonials div.wrapper div.testimonial div.content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: 2px solid rgb(236, 236, 236);
    padding: 1.5em;
}

section.testimonials div.wrapper div.testimonial div.content div.image {
    width: 175px;
}

section.testimonials div.wrapper div.testimonial div.content div.text {
    width: 100%;
    padding: 0em 1em;
}

section.testimonials div.wrapper div.testimonial div.content div.text p {
    font-size: 20px;
    color: #0f0f0f;
    line-height: 1.3;
    font-weight: 300;
    display: inline;
}

section.testimonials div.wrapper div.testimonial div.content div.text p:first-of-type:after {
    content: '"...';
    display: inline-block;
    vertical-align: bottom;
}

section.testimonials div.wrapper div.testimonial div.content div.text p.show:first-of-type:after,
section.testimonials div.wrapper div.testimonial div.content div.text p:nth-of-type(2) {
    display: none;
}

section.testimonials div.wrapper div.testimonial div.content div.text p.show {
    display: inline;
}

section.testimonials div.wrapper div.testimonial div.content div.text p a {
    color: #848484;
    text-decoration: underline;
    display: inline-block;
    outline: 0;
}

section.testimonials div.wrapper div.testimonial div.content div.text span.name {
    font-style: italic;
    font-size: 16px;
    color: rgb(15, 15, 15);
    line-height: 1.3;
    font-weight: 700;
    margin-top: 1em;
    display: block;
}

.slick-initialized .slick-slide {
    margin: 0em 150px !important;
}

section.testimonials .slick-next,
section.testimonials .slick-prev {
    top: 150px !important;
}

ul.slick-dots {
    margin: 0;
    padding: 10px 0;
    bottom: -50px !important;
    left: 50%;
    -webkit-transform: translateX(-50%) !important;
    transform: translateX(-50%) !important;
}

.slick-dots li button:before {
    font-size: 30px !important;
    display: none;
}

.slick-dots li {
    background-color: rgb(191, 191, 191);
    border-radius: 50%;
    width: 12px !important;
    height: 12px !important;
}

.slick-dots li.slick-active {
    background-color: rgb(50, 180, 166);
}

.slick-next,
.slick-prev {
    width: 30px !important;
    height: 30px !important;
    background-color: transparent !important;
    z-index: 100000 !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% auto !important;
    outline: 0 !important;
    z-index: 0 !important;
}

.slick-next {
    background-image: url("/wp-content/themes/angelsense/images/home-page/next-reg.png") !important;
    width: 45px !important;
    height: 45px !important;
    right: -45px !important;
}

.slick-next:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("/wp-content/themes/angelsense/images/home-page/next-hover.png");
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
}

.slick-prev {
    background-image: url("/wp-content/themes/angelsense/images/home-page/prev-reg.png") !important;
    width: 45px !important;
    height: 45px !important;
    left: -45px !important;
}

.slick-prev:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("/wp-content/themes/angelsense/images/home-page/prev-hover.png");
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
}

.slick-prev:hover:after,
.slick-next:hover:after {
    opacity: 1;
}

.slick-next:before,
.slick-prev:before {
    display: none !important;
}

.slick-dots li.slick-active button:before {
    color: rgb(50, 180, 166) !important;
}

section#about {
    padding: 50px calc((100% - 850px)/ 2);
    padding-bottom: 100px;
    text-align: center;
    position: relative;
    background-color: rgb(247, 247, 247);
}

section#about p {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.3;
    margin: 1em 0em;
    color: #292929;
}

section#about p strong {
    color: black;
}

section#about div.box {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    padding: 0.5em 1em;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    border: 2px solid rgba(134, 160, 174, 0.2);
}

section#about div.box p {
    margin: 0.5em;
}

section#about div.learn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: rgb(229, 231, 230);
}

section#about div.learn p {
    color: black;
    font-weight: 400;
}

section#about div.learn a {
    color: rgb(50, 180, 166);
    text-decoration: underline;
}

section#bottom {
    display: block;
    padding: 100px calc((100% - 1200px)/ 2);
    background-image: url("/wp-content/themes/angelsense/images/schools/ForSchools_Voice_Feature-V3_04-min.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1920px 457px;
}

section#bottom article {
    display: block;
    width: 46%;
}

section#bottom article p {
    font-weight: 300;
    font-size: 20px;
    line-height: 1.3;
    color: #292929;
    margin-bottom: 1em;
}

/*Contact form*/
body.remove div.overlay,
div.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s;
}

div.overlay.show {
    visibility: visible;
    opacity: 1;
}

#contact.show {
    top: 100px;
}

#contact a.remove {
    position: absolute;
    top: 1em;
    right: 1em;
    width: 1.5em;
    height: 1.5em;
    background-image: url(/wp-content/themes/angelsense/images/b2b-HP/close2.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    padding: 0.5em;
    z-index: 0;
}

#contact div.form_title {
    display: block;
    margin-bottom: 0.5em;
}

#contact div.form_title h2 {
    text-align: center;
    color: rgb(18, 45, 56);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;
}

#case-signup {
    position: relative;
}

#case-signup .success {
    display: block;
    padding: 1em;
    background-color: white;
    color: rgb(240, 66, 32);
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
}

#case-signup label,
#sign label {
    display: block;
    vertical-align: top;
    margin-bottom: 1em;
    width: 100%;
    position: relative;
}

#sign label:last-of-type {
    margin-bottom: 0em;
}

#case-signup textarea,
#case-signup select,
#case-signup input,
#sign textarea,
#sign label select,
#sign label input {
    background-color: white;
    border-radius: 4px;
    border: 1px solid rgb(222, 222, 222);
    padding: 13px 10px;
    font-size: 16px;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#sign textarea,
#sign label select,
#sign label input {
    padding: 10px;
}

select::-ms-expand {
    display: none;
}

#case-signup textarea {
    height: 112px;
    resize: none;
}

#case-signup label.custom:after,
#sign label.custom:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.5em;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background-image: url(/wp-content/themes/angelsense/images/b2b/arrow.gif);
    background-repeat: no-repeat;
    background-position: center center;
    width: 10px;
    height: 10px;
}

#case-signup label input[type="submit"],
#sign label input[type="submit"] {
    background-color: rgb(240, 66, 32);
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1.4rem;
    padding: 0.5em 1em;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 400;
    -webkit-appearance: none;
}

#case-signup label input[type="submit"] {
    width: 30%;
    margin-left: auto;
    margin-right: 1.35em;
    display: block;
    font-size: 1.4rem;
}

.success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(18, 45, 56);
    visibility: hidden;
    opacity: 0;
    color: white;
    padding: 50% 1em 50% 1em;
    font-size: 1.2rem;
}

.success.show {
    visibility: visible;
    opacity: 1;
}

#case-signup {
    display: block;
    margin-top: 1em;
}

#case-signup div.section {
    display: inline-block;
    vertical-align: top;
    width: 49%;
    box-sizing: border-box;
    padding: 0em 1em;
}

#case-signup div.section label {
    display: block;
    width: 100%;
}

/*Tablet Version Landscape*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1367px) and (orientation: landscape){
    section,
    section#bottom,
    section.testimonials {
        padding: 30px calc((100% - 900px)/ 2);
    }

    section.testimonials div.wrapper {
        margin-bottom: 2em;
    }

    section.testimonials div.wrapper div.testimonial > h3 {
        font-size: 34px;
    }

    section#features ul {
        display: block;
        margin-top: 2em;
        width: 60%;
    }

    section#about p {
        font-size: 20px;
    }
}

/* Portrait */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    section,
    section#bottom,
    section.testimonials {
        padding: 30px calc((100% - 700px)/ 2);
    }

    section.testimonials div.wrapper {
        margin-bottom: 2em;
    }

    section.testimonials div.wrapper div.testimonial > h3 {
        font-size: 34px;
    }

    section#features ul {
        display: block;
        margin-top: 2em;
        width: 60%;
    }

    section#about p {
        font-size: 18px;
    }
}