/*** VARS ***/
/*** GENERAL STYLES ***/
.card-one * {
        box-sizing: border-box;
}

.clear {
        clear: both;
}

/*** CARD STLES ***/
.cards-container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
}

.card {
        float: left;
        margin: 1rem;
}

.card-pad
{
        width: 200px;
}

.card-one {
        position: relative;
        width: 200px;
        background: #fff;
        box-shadow: 0 10px 7px -5px rgba(0, 0, 0, 0.4);
        font-family: "Dosis", sans-serif;
        display: flex;
        flex-direction: column;
}
.card-one header {
        position: relative;
        width: 100%;
        height: 30px;
        background-color: var(--krm_col_2);
}
.card-one header::before, .card-one header::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: inherit;
}
.card-one header::before {
        transform: skewY(-8deg);
        transform-origin: 100% 100%;
}
.card-one header::after {
        transform: skewY(8deg);
        transform-origin: 0 100%;
}
.card-one header .avatar {
        position: absolute;
        left: 50%;
        top: 10px;
        margin-left: -33px;
        z-index: 5;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        overflow: hidden;
        background: #ccc;
        border: 3px solid #fff;
        display: flex;
        justify-content: center;
        align-items: center;
}
/*.card-one header .avatar img {*/
/*        position: absolute;*/
/*        top: 50%;*/
/*        left: 50%;*/
/*        transform: translate(-50%, -50%);*/
/*        width: 80px;*/
/*        height: auto;*/
/*}*/

.card-one h3 {
        position: relative;
        margin: 65px 0 0px;
        text-align: center;
}
/*.card-one h3::after {*/
/*        content: "";*/
/*        position: absolute;*/
/*        bottom: -15px;*/
/*        left: 50%;*/
/*        margin-left: -15px;*/
/*        width: 30px;*/
/*        height: 1px;*/
/*        background: #000;*/
/*}*/

.card-one .desc {
        position: relative;
        padding: 0 1rem 10px;
        text-align: center;
        line-height: 1.5;
        color: #777;
        flex: 1;
}

.card-one .desc::after
{
        content: "";
        position: absolute;
        top: 25px;
        left: 50%;
        margin-left: -15px;
        width: 30px;
        height: 1px;
        background: #000;
}

.card-one .contacts {
        min-width: 100px;
        max-width: 100%;
        /*margin: 0 auto;*/
        padding-bottom:5px;
        line-height: 18px;
}
.card-one .contacts span {
        display: block;
        /*width: 33.333333%;*/
        /*float: left;*/
        text-align: center;
        color: var(--krm_col_2);
}
.card-one .contacts a:hover {
        color: #333;
}
.card-one .contacts a:hover .fa::before {
        color: #fff;
}
.card-one .contacts a:hover .fa::after {
        width: 100%;
        height: 100%;
}
.card-one .contacts a .fa {
        position: relative;
        width: 40px;
        height: 40px;
        line-height: 39px;
        overflow: hidden;
        text-align: center;
        font-size: 1.3em;
}
.card-one .contacts a .fa:before {
        position: relative;
        z-index: 1;
}
.card-one .contacts a .fa::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        transform: translate(-50%, -50%);
        /*background: var(--krm_col_2);*/
        transition: width 0.3s, height 0.3s;
}
.card-one .contacts a:last-of-type .fa {
        line-height: 36px;
}

.card-one .contacts table
{
        color: var(--krm_col_2);
}

.card-one .contacts td:first-child
{
}

.card-one .contacts td:nth-child(2)
{
}

.card-one .contacts td .scSelect
{
        font-weight: normal;
        color: #39423d;
        /*white-space: nowrap;*/
}

.card-one footer {
        position: relative;
        padding: 1rem;
        background-color: var(--krm_col_2);
        text-align: center;
        justify-content: space-between;
        display: flex;
}
.card-one footer a {
        padding: 0 1rem;
        color: #dbdbdb;
        transition: color 0.4s;
}
.card-one footer a:hover {
        color: white;
}


/* Little upwards arrow */
/*.card-one footer::before {*/
/*        content: "";*/
/*        position: absolute;*/
/*        top: -27px;*/
/*        left: 50%;*/
/*        margin-left: -15px;*/
/*        border: 15px solid transparent;*/
/*        border-bottom-color: var(--krm_col_2);*/
/*}*/

.card-two {
        position: relative;
        width: 300px;
        background: #fff;
        box-shadow: 0 10px 7px -5px rgba(0, 0, 0, 0.4);
}
.card-two header {
        position: relative;
        width: 100%;
        height: 60px;
        background-color: #c8c;
}
.card-two header::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: inherit;
        transform: skewY(8deg);
        transform-origin: 0 100%;
}
.card-two header .avatar {
        position: absolute;
        left: 50%;
        top: 30px;
        margin-left: -50px;
        z-index: 5;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        overflow: hidden;
        background: #ccc;
        border: 3px solid #fff;
}
.card-two header .avatar img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100px;
        height: auto;
}
.card-two h3 {
        position: relative;
        margin: 80px 0 30px;
        text-align: center;
}
.card-two h3::after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 50%;
        margin-left: -15px;
        width: 30px;
        height: 1px;
        background: #000;
}
.card-two .desc {
        padding: 0 1rem 2rem;
        text-align: center;
        line-height: 1.5;
        color: #777;
}
.card-two .contacts {
        width: 200px;
        max-width: 100%;
        margin: 0 auto 3.5rem;
}
.card-two .contacts a {
        display: block;
        width: 33.333333%;
        float: left;
        text-align: center;
        color: #c8c;
}
.card-two .contacts a:hover {
        color: #333;
}
.card-two .contacts a:hover .fa::before {
        color: #fff;
}
.card-two .contacts a:hover .fa::after {
        top: 0;
}
.card-two .contacts a .fa {
        position: relative;
        width: 40px;
        height: 40px;
        line-height: 39px;
        overflow: hidden;
        text-align: center;
        border: 2px solid #c8c;
        border-radius: 50%;
}
.card-two .contacts a .fa:before {
        position: relative;
        z-index: 1;
}
.card-two .contacts a .fa::after {
        content: "";
        position: absolute;
        top: -50px;
        left: 0;
        width: 100%;
        height: 100%;
        transition: top 0.3s;
        background: #c8c;
}
.card-two .contacts a:last-of-type .fa {
        line-height: 36px;
}
.card-two footer {
        position: relative;
        height: 45px;
        background-color: #6573d0;
        text-align: center;
}
.card-two footer p {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1;
}
.card-two footer p a {
        padding: 0 1rem;
        color: #e2e2e2;
        transition: color 0.4s;
}
.card-two footer p a:hover {
        color: #c8c;
}
.card-two footer::before {
        z-index: 0;
        content: "";
        position: absolute;
        top: 0px;
        bottom: 0;
        left: 0;
        right: 0;
        background: inherit;
        transform: skewY(8deg);
        transform-origin: 100%;
}

/*** RESPONSIVE ***/
@media only screen and (max-width: 810px) {
        .card {
                float: none;
                margin-left: auto;
                margin-right: auto;
        }
}