body {font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; }
h2.sub-title {
  font:   32px/1.2em Arial, 'Helvetica Neue', Helvetica, sans-serif;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
	margin-top: 20px;
}
.legend {font-size: 16px;}
#cards {
    width: 894px;
    zoom: 1;
    padding: 30px 0 10px;
    margin: 20px auto;
    color: #000;
    text-align: center
}
#cards:after,
#cards:before {
    content: "";
    display: table
}
#cards:after {
    clear: both
}
#cards h1 {
    font-size: 42px;
    margin-bottom: 20px
}
#cards .summary {
    font-size: 18px;
    width: 550px;
    margin: 0 auto 20px
}
#cards .half-left {
    width: 50%;
    float: left;
    margin-bottom: 70px;
    margin-top: 30px
}
#cards .half-left .author {
    margin: 0;
    font-size: 16px
}
#cards .half-left .author span {
    display: block;
    font-size: 18px
}
#cards .half-right {
    width: 50%;
    float: right;
    margin-bottom: 20px
}
#cards .column-4 {
    width: 31%;
    float: left;
    margin: 0 1% 0
}
#cards .column-4.odd {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc
}
#cards .singleCard {
    height: 350px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
    cursor: default;
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -o-perspective: 800px;
    perspective: 800px;
    padding-left: 1%
}
#cards .card {
    background: #fff;
    color: #000;
    width: 99%;
    -webkit-transition: -webkit-transform .6s;
    -moz-transition: -moz-transform .6s;
    -o-transition: -o-transform .6s;
    transition: transform .6s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    text-align: center!important
}
#cards .card img {
    width: 150px;
    height: auto
}

#cards .card .back img {
	border-radius: 50%;
}

#cards .card:hover {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg)
}
#cards .card .back,
#cards .card .front {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    margin: 0 auto
}
#cards .card .front {
    width: 99%
}
#cards .card .front h1 {
    margin: 5px 0;
    padding: 0;
    font-size: 20px;
    font-style: italic
}
#cards .card .front .overtitle {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1
}
#cards .card .back {
    padding: 0 2%;
    text-align: left;
		width: 96%;
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
    background-color: #fff;
    text-align: center;
}
#cards .card .back p {
    font-size: 13px;
    line-height: 1.3;
    color: #000
}
#cards .card .back h1 {
    margin: 5px 0;
    padding: 0;
    font-size: 16px;
    font-style: italic
}
#cards .card .back .overtitle {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1
}
@media only screen and (max-width: 1000px) {
    #cards {
        width: 100%
    }
    #cards h1 {
        font-size: 26px
    }
    #cards .card img {
        width: 150px
    }
    #cards .singleCard {
        height: 300px
    }
    #cards .card .front h1 {
        font-size: 16px
    }
    #cards .card .front .overtitle {
        font-size: 12px;
        font-weight: bold;
    }
}
@media  (max-device-width: 667px) {

    #cards {
        padding: 20px 0 0;
				width: 100%;
    }
    #cards .half-left,
    #cards .half-right {
        width: 100%;
        float: none;
        margin-bottom: 0;
        margin-top: 20px
    }
    #cards .fake-swipe {
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        margin-top: 20px
    }
		#cards .column-4.odd {
			border: none;
		}
    #cards .fake-swipe .fake-swipe-inner {
        width: 1500px
    }
    #cards .fake-swipe .fake-swipe-inner .column-4 {
        width: 30%;
        float: left;
        margin: 0
    }
    #cards .fake-swipe .fake-swipe-inner .column-4 .singleCard {
        height: 330px;
        width: 50%;
        float: left;
        padding: 0
    }
    #cards .fake-swipe .fake-swipe-inner .column-4 .singleCard .back {
      display: block;
			-webkit-transform: rotateY(0deg);
	    -moz-transform: rotateY(0deg);
	    -o-transform: rotateY(0deg);
	    transform: rotateY(0deg);
    }
		#cards .card:hover {
			-webkit-transform: rotateY(0deg);
			-moz-transform: rotateY(0deg);
			-o-transform: rotateY(0deg);
			transform: rotateY(0deg);
		}
		#cards .card .front { display: none; }

}
