﻿body {
    background-color: #e3e3e3;    
}

/* Large desktops and laptops */
@media (min-width: 1200px) {

}

@media (max-width: 1199px) {
   
}

@media (max-width: 991px) and (min-width: 769px) {
    
}

/* Landscape phones and portrait tablets (max 768px) */
@media (max-width: 768px) {
    .box {
       padding-bottom: 20px !important;
       padding-top: 15px;
   }

    .row {
        padding-top: 10px !important;
    }

    h1 {
        font-size: 21px !important;
        font-weight: bold;
    }
}

@media (max-width: 767px) and (min-width: 541px) {
    
}

@media (max-width: 540px) and (min-width: 481px) {
   
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
	#content, #social {
		/*padding: 20px 40px 20px 40px !important;*/
		padding: 20px 30px 20px 30px !important;
	}

}

/* ----------- iPhone 5 and 5S ----------- */
/* Portrait and Landscape */
@media only screen and (max-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    
}

.row {
    padding-top: 20px;
}

.newsflash {
    padding-bottom: 20px;
}

.box {
    padding-bottom: 20px;
}

h1 {
    font-size: 25px !important;
    font-weight: bold;
}

#news {
    background-color: white;
    height: auto;
    width: 100%;
    display: block;
    border: 1px solid #e3e3e3;
}

#caption {
    border: 1px solid #e3e3e3;
    background-color: white;
}

.tags {
    display: block;
    padding-bottom: 10px;
    background-color: white;
    border: 1px solid #e3e3e3;
}

#cat {
    vertical-align: middle;
    padding: 10px;
}

#categories, #share, #favourite {
    display: inline-block;
}

#categories {
    padding-top: 5px;
}

#share, #favourite {
    float: right;
}

.favouritebtn, .sharebtn {
    background-color: white;
    border-radius: 0px;
    border-left: 1px solid #e3e3e3 !important;
}

.favouritebtn:hover, .favouritebtn:focus, .sharebtn:hover, .sharebtn:focus {
    background-color: white;
}    

#category {
    color: #45b878;
    font-size: 80%;
}

.newscaption, .categories {
    padding: 10px;
    background-color: white;
}

.btn-default {
    border-color: transparent;
}

#date {
    color: #808080;
    font-size: 80%;
}

.title {
    display: block;
    position: relative;
    text-align: center;
    bottom: 128px;
    color: white;
    opacity: 0.7;
}

@keyframes fadein {
    from { opacity: 0.7; }
    to   { opacity: 1; }
}


.browse:hover div.title {
    display: block;
    opacity: 1;
    -webkit-animation: fadein 1s; 
       -moz-animation: fadein 1s; 
         -o-animation: fadein 1s; 
            animation: fadein 1s;
}

#detail {
    background-color: white;
    color: black;
    padding-bottom: 40px;
}

#image, #content {
    display: block;
}

#content, #social {
    padding: 20px 100px 40px 80px;
    /*text-align: justify;*/
}

.social {
    color: #adb0b6;
}

#stapp {
    /*height: 381px;
    width: 830px;*/
}

.facebook:hover, .twitter:hover, .linkedin:hover, .envelope:hover {
    color: #45b878;
    cursor: pointer;
}

#articleimg {
    width: 100%;
}
.selectable {
    color: inherit;
    cursor: pointer;
}

.selectable:hover {
    color: #45b878;
    text-decoration: none;
}