/* TABLE VIEW STYLES */
.shift-role-preview-table .short-date, .shift-role-preview-table .short-time {
    display: none;
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .shift-role-preview-table .long-date[data-shrinkable="true"], .shift-role-preview-table .long-time[data-shrinkable="true"] {
        display: none;
    }
    .shift-role-preview-table .short-date[data-shrinkable="true"] {
        display: table-cell
    } 
    .shift-role-preview-table .short-time[data-shrinkable="true"] {
        display: inline;
    }
}

@media screen and (min-width: 825px) and (max-width: 991px) {
    .shift-role-preview-table .short-date[data-shrinkable="true"] {
        display: table-cell
    } 
    .shift-role-preview-table .long-time[data-shrinkable="true"] {
        display: inline;
    }
    .shift-role-preview-table .short-date[data-shrinkable="true"], .shift-role-preview-table .short-time[data-shrinkable="true"] {
        display: none;
    }
}

@media screen and (max-width: 824px) {
    .shift-role-preview-table .long-date[data-shrinkable="true"], .shift-role-preview-table .long-time[data-shrinkable="true"] {
        display: none;
    }
    .shift-role-preview-table .short-date[data-shrinkable="true"] {
        display: table-cell
    } 
    .shift-role-preview-table .short-time[data-shrinkable="true"] {
        display: inline;
    }
}

#recruitmentPreview .table-holder, #recruitmentPreview .table-container {
    margin: 0;
    padding: 0;
}

#recruitmentPreview .table-container tbody {
    overflow: auto;
    height: 500px;
}

.table-wrapper-2 .table-striped>tbody>tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.table-wrapper-2 .table-striped>tbody>tr:nth-child(even) {
    background-color: #FFF;
}

.table-container .table-striped>tbody>tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.table-container .table-striped>tbody>tr:nth-child(even) {
    background-color: #FFF;
}

#recruitmentPreview .shift-role-preview-table {
    margin: 0;
}

#previewWindowScrollToTop {
    display: none;
}

#recruitmentPreview #previewWindowScrollToTop {
    display: block;
}

#publicEventScrollToTop {
    position: fixed;
    right: 0; 
    bottom: 20px; 
    background: #999; 
    border: none; 
    color: #FFF; 
    margin-right: 30px; 
    font-size: 16px; 
    padding: 4px 8px; 
    border-radius: 3px;
    z-index: 1004;
    height: 50px;
    width: 50px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

.avoid-cart {
    bottom: 150px !important; 
}

#publicEventScrollToTop:hover {
    background: #666;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

#recruitmentPreview #publicEventScrollToTop {
    display: none;
}

#recruitmentPreview .cardContainer .card-wrapper {
    height: 500px;
    overflow-y: auto;
}

.card-board {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 6px;
}

.card-col {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 10px;
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
}

.card-col .chips-row {
    max-width: 180px; 
    overflow: auto;
}

#template-library .card-col {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 10px;
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
    min-width: 115px;
}

#public-page .card-col {
    -ms-flex: 33.3%; /* IE10 */
    flex: 33.3%;
    max-width: 33.3%;
    padding: 0 10px;
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
}

#manager-preview .card-col {
    -ms-flex: 50%; /* IE10 */
    flex: 50%;
    max-width: 50%;
    padding: 0 10px;
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 1100px) {
    .card-col {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
    }

    #public-page .card-col {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }

    .card-col .chips-row {
        max-width: 100%; 
    }

    #manager-preview .card-col {
        -ms-flex: 100%; /* IE10 */
        flex: 100%;
        max-width: 100%;
        padding: 0 10px;
        display: flex;
        align-items: stretch;
        margin-bottom: 20px;
    }
}
/* Responsive layout - makes a 3 column layout at medium widths */
@media screen and (min-width:1101px) and (max-width: 1400px) {
    .card-col {
      -ms-flex: 33%;
      flex: 33%;
      max-width: 33%;
    }
    
    .card-col .chips-row {
        max-width: 100%; 
    }
}

@media (min-width: 1201px) and (max-width: 1400px) {
    .avoid-cart {
        bottom: 210px !important;
    }
}

@media (min-width: 991px) and (max-width: 1200px) {
    .avoid-cart {
        bottom: 210px !important;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    .avoid-cart {
        bottom: 270px !important;
    }
}

@media (max-width: 767px) {
    .avoid-cart {
        bottom: 220px !important;
    }
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .card-col {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
    }

    #public-page .card-col {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }

    #manager-preview .card-col {
        -ms-flex: 100%; /* IE10 */
        flex: 100%;
        max-width: 100%;
        padding: 0 10px;
        display: flex;
        align-items: stretch;
        margin-bottom: 20px;
    }
}
  
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .card-col {
      -ms-flex: 100%;
      flex: 100%;
      max-width: 100%;
    }

    #public-page .card-col {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }

    #manager-preview .card-col {
        -ms-flex: 100%; /* IE10 */
        flex: 100%;
        max-width: 100%;
        padding: 0 10px;
        display: flex;
        align-items: stretch;
        margin-bottom: 20px;
    }
}

.card-col .shift-role-card {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

.shift-role-card {
    background: #FFF;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 40%;
    border-radius: 5px;
    height: 100%;
}

.shift-role-card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.5);
}

.shift-role-card-top {
    display: block;
    /* background: #cccccc; */
    color: white;
    padding: 15px 10px;
    line-height: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-decoration: none;
    text-align: right;
}

.shift-role-card-body {
    padding: 15px 20px 2px;
}

.shift-role-card-bottom {
    padding: 15px 20px;
    line-height: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.shift-role-card .shift-role-card-bottom .shift-role-card-bottom-buttons {
    visibility: hidden;
}

.shift-role-card:hover  .shift-role-card-bottom .shift-role-card-bottom-buttons{
    visibility: visible;
}

/* Text */
.shift-role-card-body * {
    font-size: 13px;
}

.card-col .shift-role-card h3 {
    font-size: 16px;
    margin-bottom: 20px;
}

.card-col .shift-role-card .shift-role-card-body .desc-text h5 {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.card-col .shift-role-card .shift-role-card-body .desc-text h5.one-line {
    display: inline;
    vertical-align: top;
}

.card-col .shift-role-card .shift-role-card-body .desc-text i {
    font-size: 12px;
}

.card-col .shift-role-card .shift-role-card-body h4 {
    font-size: 12px;
    font-weight: 700;
    word-break:break-word;
}

.card-col .shift-role-card .shift-role-card-body p.desc-text {
    font-size: 11px;
    word-break: break-all;
}

.card-col .shift-role-card .shift-role-card-body p.desc-text a {
    font-size: 11px;
    display: contents;
}

.card-col .shift-role-card .shift-role-card-top span {
    font-size: 12px;
    text-transform: uppercase;
}

/* Icons */
.card-col .shift-role-card .shift-role-card-body .desc-text span.icon {
    margin: 0;
    height: 5px;
}

.card-col .shift-role-card .shift-role-card-body .desc-text span.icon i.fa {
    font-size: 14px;
    line-height: 0.2vw;
    text-align: center;
    vertical-align: top;
    margin-top: 4px;
    color: #cccccc;
}

.card-col .shift-role-card .shift-role-card-body .desc-text span.icon.speical-case i.fa {
    margin-left: 2px;
}

/* Holders */
.card-col .shift-role-card .shift-role-card-body .desc-text {
    display: flex;
    align-items: stretch;
    padding-bottom: 10px;
}

.card-col .shift-role-card .shift-role-card-body div.desc-text.speical-case {
    padding-bottom: 5px;
}

.card-col .shift-role-card .shift-role-card-body .desc-text span.icon {
    flex-grow: 0;
    min-width: 15px;
}

.card-col .shift-role-card .shift-role-card-body .desc-text span.details {
    flex-grow: 9;
}

/* LARGER SCREEN */
@media screen and (min-width: 1201px) and (max-width: 1450px) {
    /* Text */
    .card-col .shift-role-card h3 {
        /* font-size: 0.9vw; */
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text h5 {
        /* font-size: 0.75vw; */
        width: 100%;
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text i {
        /* font-size: 0.75vw; */
    }

    .card-col .shift-role-card .shift-role-card-body h4 {
        /* font-size: 0.7vw; */
    }

    .card-col .shift-role-card .shift-role-card-body p.desc-text {
        /* font-size: .6vw; */
    }

    .card-col .shift-role-card .shift-role-card-top span {
        /* font-size: 0.6vw; */
    }

    /* Icons */
    .card-col .shift-role-card .shift-role-card-body .desc-text span.icon i.fa {
        /* font-size: 0.75vw; */
    }
}

/* LARGE */
@media screen and (min-width: 1101px) and (max-width: 1200px) {
    /* Text */
    .card-col .shift-role-card h3 {
        /* font-size: 1.1vw; */
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text h5 {
        /* font-size: 0.9vw; */
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text i {
        /* font-size: 0.9vw; */
    }

    .card-col .shift-role-card .shift-role-card-body h4 {
        /* font-size: 1vw; */
    }

    .card-col .shift-role-card .shift-role-card-body p.desc-text {
        /* font-size: 0.75vw; */
    }

    .card-col .shift-role-card .shift-role-card-top span {
        /* font-size: 0.75vw; */
    }

    /* Icons */
    .card-col .shift-role-card .shift-role-card-body .desc-text span.icon i.fa {
        /* font-size: 0.9vw; */
    }
}

/* MEDIUM */
@media screen and (min-width: 992px) and (max-width: 1100px) {
    /* Text */
    .card-col .shift-role-card h3 {
        /* font-size: 1.1vw; */
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text h5 {
        /* font-size: 0.9vw; */
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text i {
        /* font-size: 0.9vw; */
    }

    .card-col .shift-role-card .shift-role-card-body h4 {
        /* font-size: 1vw; */
    }

    .card-col .shift-role-card .shift-role-card-body p.desc-text {
        /* font-size: 0.8vw; */
    }

    .card-col .shift-role-card .shift-role-card-top span {
        /* font-size: 0.75vw; */
    }

    /* Icons */
    .card-col .shift-role-card .shift-role-card-body .desc-text span.icon i.fa {
        /* font-size: 0.9vw; */
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    /* Text */
    .card-col .shift-role-card h3 {
        /* font-size: 1.5vw; */
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text h5 {
        /* font-size: 1.2vw; */
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text i {
        /* font-size: 1.2vw; */
    }

    .card-col .shift-role-card .shift-role-card-body h4 {
        /* font-size: 1.3vw; */
    }

    .card-col .shift-role-card .shift-role-card-body p.desc-text {
        /* font-size: 1vw; */
    }

    .card-col .shift-role-card .shift-role-card-top span {
        /* font-size: 0.9vw; */
    }
}

@media screen and (min-width: 601px) and (max-width: 767px) {
    /* Text */
    .card-col .shift-role-card h3 {
        /* font-size: 2vw; */
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text h5 {
        /* font-size: 1.5vw; */
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text i {
        /* font-size: 1.5vw; */
    }

    .card-col .shift-role-card .shift-role-card-body h4 {
        /* font-size: 1.75vw; */
    }

    .card-col .shift-role-card .shift-role-card-body p.desc-text {
        /* font-size: 1.5vw; */
    }

    .card-col .shift-role-card .shift-role-card-top span {
        /* font-size: 1.25vw; */
    }

    /* Icons */
    .card-col .shift-role-card .shift-role-card-body .desc-text span.icon i.fa {
        /* font-size: 1.5vw; */
    }
}

@media screen and (max-width: 600px) {
    .card-board {
        padding-left: 30px;
    }

    /* Text */
    .card-col .shift-role-card h3 {
        /* font-size: 2.5vw; */
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text h5 {
        /* font-size: 2vw; */
    }

    .card-col .shift-role-card .shift-role-card-body .desc-text i {
        /* font-size: 2vw; */
    }

    .card-col .shift-role-card .shift-role-card-body h4 {
        /* font-size: 2.25vw; */
    }

    .card-col .shift-role-card .shift-role-card-body p.desc-text {
        /* font-size: 2vw; */
    }

    .card-col .shift-role-card .shift-role-card-top span {
        /* font-size: 1.75vw; */
    }

    /* Icons */
    .card-col .shift-role-card .shift-role-card-body .desc-text span.icon i.fa {
        /* font-size: 2vw; */
    }
}

.preview-shifts-search-container input.searchPP[type=text] {
    height: 43px;
}

.preview-shifts-search-container .searchPPX {
    margin-top: 3px;
}

.preview-shifts-search-container .searchPPS {
    margin-top: 3px;
}

.preview-margin-card {
    margin: 0 -15px;
    padding: 0;
    width: auto;
}

@media screen and (max-width: 991px) {
    .preview-shift-filtering-container.sticky {
        position: fixed;
        top: 0;
        width: 103%;
        margin: 0;
        background: #FFF;
        z-index: 1049;
        padding: 15px;
        border-bottom: 1px solid #dfdfdf;
    }
    .preview-shift-filtering-container .preview-shifts-search-container .col-md-12 {
        display: block !important;
    }

    .preview-shift-filtering-container .preview-shifts-search-container .btn-group {
        width: 100%;
    }

    .preview-shift-filtering-container .col-md-4, .preview-shift-filtering-container .preview-shifts-search-container {
        margin: 0 !important;
    }
}

@media screen and (max-width: 1024px) {
    .shift-role-card  .shift-role-card-bottom .shift-role-card-bottom-buttons{
        visibility: visible;
    }
}

#shiftListPopupScrollToTop {
    background: #999; 
    border: none; 
    color: #FFF; 
    margin-right: 30px; 
    font-size: 16px; 
    padding: 4px 8px; 
    border-radius: 3px;
    z-index: 1037;
    height: 50px;
    width: 50px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

#shiftListPopupScrollToTop:hover {
    background: #666;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}