.bootstrap-dialog.type-primary .modal-header {background-color:#60743f;}

.overflow-hidden{
    overflow:hidden;
}

#last_item_loader{
    text-align:center; margin:0 0 1em 0; font-weight:bold;
}

.display-none{
    display:none;
}

.page-num{
    display:block; width:100%; margin:1em 0; font-weight:bold;
}

.row{
    padding:0;
    margin:0;
}

.display-none{
    display:none;
}

.see-more{
    cursor:pointer;
    color:#666;
}

.margin-right-1em{
    margin-right:1em;
}

.margin-top-1em{
    margin-top:1em;
}

.width-100-percent{
    width:100%;
}

.photo-thumb {
    width: 100%;
    height: 300px;
    border-top: thin solid #999;
    border-left: thin solid #999;
    border-right: thin solid #999;
}


.company-events .post-with-image{
    position: relative;
    width: 70%;
    height: auto;
    padding-bottom: 80px;
    padding-left: 340px;
}

.company-events .post-with-image .date-month {
    position: absolute;
    left: 20px;
    top: -15px;
}

.company-events .date-month {
    width: 60px;
    height: 90px;
    font-family: 'Roboto', sans-serif;
}

.company-events .date {
    position: relative;
    z-index: 10;
    display: block;
    text-align: center;
    height: 60px;
    width: 90px;
    line-height: 63px;
    font-weight: 800;
    font-size: 29px;
    border-radius: 3px;
    background: #60743f;
	background-color: #60743f;
}



.company-events .month {
    position: relative;
    top: -3px;
    z-index: 20;
    padding-top: 2px;
    text-align: center;
    display: block;
    background: #ccc;
	background-color: #ccc;
    color: #000;
    height: 28px;
	width:90px;
    line-height: 28px;
    font-weight: 700;
    border-radius: 3px;
}

.company-events .post-with-image .post-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 240px;
    border-radius: 3px;
}

.photo-thumb {
    width: 320px;
    height: 240px;
    float: left;
    border: thin solid #d1d1d1;
    margin: 0 1em .5em 0;
    float: left;
}

.company-events h2 {
    margin-bottom: 15px;
    text-transform: uppercase;
	text-align: left;
}

.company-profile h2 {
    text-transform: uppercase;
    margin: 0;
}

h2, .h2 {
    font-size: 30px;
}

.company-events .event-place {
    font-weight: bold;
    display: block;
	text-align: left;
}
p {
    margin: 0 0 20px;
	text-align: left;
}

.company-events .event-place a {
    color: #919191;
    font-size: 13px;
    padding-right: 20px;
}

.company-events .event-place a .fa {
    padding-right: 5px;
    color: #333;
}

.company-events .post {
    font-size: 16px;
    line-height: 24px;
}

.company-events .tag {
    font-weight: bold;
    padding-bottom: 15px;
}

.company-events .post-read-more {
    padding: 10px 15px;
    border: 1px solid #333;
    font-weight: bold;
    border-radius: 3px;
    font-size: 13px;
    text-decoration:none;
}
.company-events .post-read-more .fa {
    padding-right: 5px;
    font-size: 15px;
}

.company-events .post-with-image .post-image img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

.company-events .tag a:hover {
    text-decoration: underline;
    color: #333;
}

.company-events .tag a {
    color: #919191;
    font-size: 13px;
    padding-right: 5px;
}

a:hover, a:focus {
    color: #60743f;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
	cursor:pointer;
	cursor:hand;
}



.date-month a{
    color: #fff;
    text-decoration: none;
}

.company-events .date a{
	background: #444;
	background-color: #444;
	
	}

.post-with-image h2 a{
    color: #60743f;
    text-decoration: none;
}

.event-place span{
    color: #919191;
    margin:0 20px 0 5px;
}

.post-with-image .tag{
    color:#919191;
    margin:0;
}

.post-with-image .tag .fa{
    color:#333;
}

.nav a {
    color:#999999;
}

a:active, a:hover {
    outline: 0;
}

a {
    color: #333;
    text-decoration: none;
}

a {
    background: transparent;
}

.company-events .tag .fa {
    padding-right: 5px;
}







/* removes vertical scrollbar outside modal */
.modal {
    overflow-y: auto;
}

table{
    width:100%;
}

table td{
    width:14%;
    height:5em;
    border:thin solid #999;
}

.calendar-day-head{
    font-weight:bold;
    text-align:center;
}

.month-navigation{
    margin:0 0 1em 0;
    overflow:hidden;
}

.modal-body table tr td{
    vertical-align:top;
    border-top:none;
    height:auto;
    padding:0 0 1em 0;
}

.modal-body .table-responsive{
    border:none;
}

.modal-body{

}

.modal-body table td{
    border:none;
}

.day-number{
    width: 100%;
    height: 5em;
    line-height: 5em;
    text-align: center;
}

.calendar{
    margin:0 0 1em 0;
}

#events-select{
    display:none;
}

#events-tabs{
    display:block;
}

.modal-body .row{
    margin:1em 0;
}
@media (max-width: 1025px) { 
.company-events .post-with-image{
    width: 60%;
}
}

/* small screen */
@media (max-width: 736px) {
	
	.marketing {width:94% !important; padding:3% !important; margin:10px 0 0 0 !important;}

    .company-events .post-with-image .post-image{
        position:inherit;
        width:100%;
        height:300px;
    }

    .photo-thumb {
        width: 100%;
        height: 400px;
    }

    .company-events .post-with-image{
        padding:0;
		width:100%;
		padding-bottom:80px;
    }

    #events-select{
        display:block;
    }

    #events-tabs{
        display:none;
    }

}
