﻿/* Three columns side by side */
/*.column {
  float: left;
  width: 33.3%;
  margin-bottom: 16px;
  padding: 0 8px;
}
*/
/* Display the columns below each other instead of side by side on small screens */



/* Add some shadows to create a card effect */


/* Some left and right padding inside the container */
.container {
    padding: 0 16px;
}

    /* Clear floats */
    .container::after, .row::after {
        content: "";
        clear: both;
        display: table;
    }

.title {
    color: grey;
}

.button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
}

    .button:hover {
        background-color: #555;
    }

section.teacherSection .card {
    border: 0;
    display: block;
    box-shadow: none;
    margin-bottom: 30px;
    text-align: left;
    background: #e9e9e9;
    border-radius: 10px;
    position: relative;
    border-bottom: 1px solid #2d8e84;
    border-width: 3px;
}

section.teacherSection {
    padding: 50px 0;
}

    section.teacherSection .card .cardImage img {
        border-radius: 50%;
        box-shadow: 3px 5px 6px grey;
    }

.teacherSection .card .cardImage {
    padding: 15px 0 15px 15px;
}

.teacherSection .card .cardText {
    padding: 15px;
    padding-left: 0;
}

section.teacherSection .card .topText {
    padding: 10px;
    text-align: center;
    background: #2d8e84;
    color: #fff;
}

    section.teacherSection .card .topText h2 {
        margin: 0;
        font-size: 26px;
    }

section.teacherSection .card::before {
    content: '';
    border-top: 0px solid transparent;
    border-right: 15px solid #2d8e84;
    border-bottom: 15px solid transparent;
    position: absolute;
    left: -14px;
}

section.teacherSection .card .cardText button.button {
    background: #2d8e84;
    width: auto;
    padding: 7px 20px;
    font-size: 18px;
    border-radius: 5px;
}
