/* ******************************************** */
/*        Main        */
/* ******************************************** */
html,body {
    margin:0;
    padding:0;
}

.main_view {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    zoom: 1;
    padding: 0 10px;
}
@media (min-width: 992px) {
    .main_view {
        width: 992px;
    }
}
/* ******************************************** */
/*        Common        */
/* ******************************************** */

.banner_title {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 24px;
    font-weight: bolder;
    color: #c30407;
}
.banner_sub {
    display: none;
    padding: 15px 20px;
    background-color: #fff;
    margin: 30px;
    border-radius: 15px;
}
.banner ol li {
    padding-top: 10px;
    color: #f55;
}
/* ******************************************** */
/*        Header        */
/* ******************************************** */
#header_wrap {
    width: 100%;
    background-color: #333;
    color: #f0f0f0;
}
#header_wrap #header_inner {
    display: table;
    width: 100%;
    max-width: 768px;
    height: 58px;
    min-height: 58px;
    margin: 0 auto;
    position: relative;
    text-align: left;;
    padding: 0 10px;
}
@media (min-width: 768px) {
    #header_wrap #header_inner {
        width: 768px;
    }
}
#header_wrap #logo {
    font-size: 26px;
    padding: 10px 10px;
    height: 58px;
    min-height: 58px;
    float: left;
    color: #ffe8c8;
}

#header_wrap #user_info {
    height: 58px;
    min-height: 58px;
    line-height: 58px;
    font-size: 14px;
    float: right;
}

/* ******************************************** */
/*        Header Menu        */
/* ******************************************** */
#header_wrap #user_info button {
    background-color: transparent;
    height: 58px;
}
#header_wrap #user_info button:hover,
#header_wrap #user_info button:focus {
    color: #f0dc73;
}
#header_wrap #user_info a {
    text-decoration: none;
    color: #f0f0f0;
    vertical-align: middle;
}
#header_wrap #user_info #user_info_menu a {
    text-decoration: none;
    color: #333;
}
#menu_warp {
    margin-left: 150px;
}
@media (max-width: 768px) {
    #menu_warp {
        margin-left: 100px;
    }
}

#menu_warp .menu {
    height: 58px;
    min-height: 58px;
    line-height: 58px;
    font-size: 14px;
    float: left;
    padding-left: 5px;
}
#menu_warp .menu:not(:last-child) {
    margin-right: 15px;
}
#menu_warp .menu a {
    float: left;
    text-decoration: none;
    color: #f0f0f0;
    vertical-align: middle;
}
#menu_warp .menu a:hover,
#menu_warp .menu a:focus {
    color: #f0dc73;
}


/* ******************************************** */
/*        Login         */
/* ******************************************** */
#login_form {
    padding: 0px auto;;
}
#login_form form {
    padding: 5px 15px;
}
#login_form input,
#login_form button {
    line-height: 30px;
    margin: 5px 0;
}


/* ******************************************** */
/*        Sign up         */
/* ******************************************** */
#signup_form {
    padding: 0px auto;;
}
#signup_form form {
    padding: 5px 15px;
}
#signup_form input,
#signup_form button {
    line-height: 30px;
    margin: 5px 0;
}

/* ******************************************** */
/*        Car Search        */
/* ******************************************** */
#car_list_wrapper #car_list_filter {
    float: left;
}
#car_list_wrapper #car_list_length {
    float: right;
}
#car_list_wrapper #car_list_info {
    float: left;
}
#car_list_wrapper #car_list_paginate {
    float: right;
}
#car_list_wrapper #car_list_filter input {

    padding-right: 25px;
}
#car_list_wrapper #filter_clear {
    position: relative;
    right: 28px;
    z-index: 2;
    top: 0px;
    color: #333;
    cursor: pointer;
 }
#car_top_section {
    margin-top: 15px;
    margin-bottom: 15px;
}
#car_data_import {
    margin-left: 20px;
}


/* ******************************************** */
/*        Loading Modal        */
/* ******************************************** */
body .loading-modal-overlay {
    background-color: rgba(0, 0, 0, .4);
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1200;
}
body .loading-modal-overlay .spinner-wrapper {
    height: 80%;
    display: -webkit-flex;
    display:         flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}
body .loading-modal-overlay .spinner-box {
    background-color: rgba(255, 255, 255, .7);
    text-align: center;
    border-radius: 10px;
}
body .loading-modal-overlay .spinner-box > .spinner {
    font-size: 2em;
    margin: 20px 20px 0 20px;
}
body .loading-modal-overlay .spinner-box > .spinner-text {
    font-size: 2em;
    margin: 10px 20px 20px 20px;
}


/* ******************************************** */
/*        Sermon        */
/* ******************************************** */
#sermon a {
    text-decoration: none;
}
#sermon .toolbar {
    margin-bottom: 10px;
}
#sermon #sermon_list.listing .list-item:first-child {
    border-top: 1px solid #ccc;
}
#sermon #sermon_list.listing .list-item {
    border-bottom: 1px solid #ccc;
}
#sermon #sermon_list.listing .thumbnail {
    margin-bottom: 0;
    border: none;
    box-shadow: none;
    position: relative;
}
#sermon #sermon_list.listing .thumbnail img {
    float: left;
    margin: 10px 20px;
}
@media (max-width: 768px) {
    #sermon #sermon_list.listing .thumbnail img {
        margin: 10px 10px 10px 10px;
    }
}
#sermon #sermon_list.listing .thumbnail .caption .title {
    color: #337ab7;
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 0.6rem;
    font-weight: bolder;
}
#sermon #sermon_list.card {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;

    display: -webkit-flex;
    display:         flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    flex-flow: row wrap;
}
#sermon #sermon_list.card .list-item {
    margin: 10px 10px;
}
#sermon #sermon_list.card .thumbnail {
    margin-bottom: 0;
    width: 290px;
}
#sermon #sermon_list.card .thumbnail img {
    margin: 0;
}
#sermon #sermon_list.card .thumbnail img.for_card {
    display: block;
}
#sermon #sermon_list.card .thumbnail img.for_listing {
    display: none;
}
#sermon #sermon_list.listing .thumbnail img.for_card {
    display: none;
}
#sermon #sermon_list.listing .thumbnail img.for_listing {
    display: block;
}
#sermon #sermon_list.card .thumbnail .caption .title {
    color: #337ab7;
    font-size: 1.7rem;
    font-weight: bolder;
}
#sermon #sermon_list.card .thumbnail .caption .date {
    float: right;
}
#sermon #sermon_list.card .thumbnail .caption .desc {
    float: left;
}
#sermon #player_wrap {
    /*border: 2px solid red;*/
    /*position: relative;*/
    /*top: 0;*/
}
#sermon .list-item.view_youtube {
    cursor: pointer;
}
#sermon .list-item.view_youtube.viewing {
    background-color: #ccc;
}
#sermon .list-item.view_youtube.viewing .thumbnail {
    /*box-shadow: 0 1px 2px rgba(0,0,0,.075);*/
    background-color: #ccc;
}

/* for tools */
#sermon #sermon_list .list-item:hover div.tools {
    visibility: visible;
    opacity: 0.8;
}
#sermon #sermon_list .list-item.viewing div.tools {
	visibility: visible;
	opacity: 0.8;
}
#sermon #sermon_list .list-item div.tools {
    /*visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s linear;*/
 }
#sermon #sermon_list div.tools {
    position: absolute;
    right: 5px;
    top: 5px;
    /*transition: all .2s ease-in-out;*/
}
#sermon #sermon_list div.tool {
    margin: 4px;
}
#sermon #sermon_list.card div.tool a.btn {
    width: 35px;
    padding: 6px 4px;
    overflow: hidden;
}
#sermon #sermon_list.listing div.tool a.btn {
    /*width: 140px;
    padding: 6px 12px;*/
    width: 35px;
    padding: 6px 4px;
    overflow: hidden;
}
#sermon #sermon_list .thumbnail {
    position: relative;
}
#sermon #sermon_list.listing view_listing {
    display: block;
}
#sermon #sermon_list.card .view_listing {
    display: none;
}
