/* This is a SYMLINKED file - This CSS file is used for both oklahoman.com and newsok.com */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.pg-wrapper{ margin-top :0 !important; }
body {
    background:#FFF !important;
    font: 12px/20px "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    color: #333;
    text-align: left;
}

ul, ol {
    margin:0;
    padding:0;
}

/* padding/margin */
.padding-all-none {
    padding:0;
}
.margin-bottom-lg {
    margin-bottom:20px;
}
.margin-all-none {
    margin:0;
}
.margin-top-lg {
    margin-top: 20px;
}

.text-black, a.text-black, a.text-black:visited {
    color: #000;
    opacity:0.5;
}
.font-serif {
    font-family: Georgia, Times, "Times New Roman", serif;
}
.font-size-med {
    font-size: medium;
}
.bg-very-light-grey {
	background:#F4F4F4;
}
.bg-light-grey {
	background:#E0E0E0;
}
.relative {
    position: relative;
}
a, a:visited, a:focus, a:active, button, button:focus {
    outline: none !important;
}
img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
    height: auto;
}
#header-branding {
    background: url(//s3.amazonaws.com/content.newsok.com/newsok/images/oklahoman.com/theoklahoman-header-bg.png) left 0 repeat-x #000;
    height: 48px;
    padding: 17px 0 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
#logo-wrapper {
    margin-top: 7px;
}
.visibility-hidden {
  visibility:hidden;
}
.visibility-visible {
  visibility:visible;
}
img, embed, object, video {
    max-width: 100%;
    outline: none;
}
.nowrap {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.relative {
    position: relative;
}
img.main-img {
    max-height:100%;
    height:100%;
    object-fit: contain;
}
.heading {
    background:#FFF;
    border-bottom:1px solid #DDD;
    padding:15px;
}
    .heading h1, h1.heading {
        font:200 18px/32px Georgia, "Times", serif;
        letter-spacing: -.4px;
        margin: 0;
    }
    .current {
        display: inline-block;
        margin-left: 5px;
        font-size: 60%;
        vertical-align: super;
        }
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border:none;
    padding:0;
    vertical-align:middle;
    text-align:center
}
.photo-holder {
    background:url(//s3.amazonaws.com/content.newsok.com/newsok/images/loadingimg.gif) no-repeat center;
    height:400px;
    overflow:hidden;
}
    .prev-next {
        height: 100%;
        position: absolute;
        top: 0;
        width: 50%;
        z-index: 10;
    }
        .prev-next.prev {
            left:0;
        }
        .prev-next.next {
            right:0;
        }
    .prev-next .fa-stack {
        position:absolute;
        top:40%;
        font-size:40px;
    }
        .prev-next.prev .fa-stack {
            left:-40px;
        }
            .prev-next.prev .fa-stack .fa-inverse {
                padding-left:20px;
            }
        .prev-next.next .fa-stack {
            right:-40px;
        }
            .prev-next.next .fa-stack .fa-inverse {
                padding-right:20px;
            }
    .main-img {
        opacity:0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter:alpha(opacity=0);
        -webkit-transition: opacity .075s linear;
        -moz-transition: opacity .075s linear;
        transition: opacity .075s linear;
    }
    .main-img.shown {
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter:alpha(opacity=100);
        opacity:1;
        }
    .main-img.too-tall {
        height: 100%;
        width: auto;
    }
    .scroll-y{ overflow-y:auto; height:90px; margin-bottom:10px; }

    .border-top {
        border-top:1px solid #BDBDBD;
    }
    .border-bottom {
        border-bottom:1px solid #BDBDBD;
    }
    	.border-bottom-light-grey {
    		border-bottom:1px solid #A0A0A0;
    	}
    .border-left {
        border-left:1px solid #BDBDBD;
    }
    .border-right {
        border-right:1px solid #BDBDBD;
    }


/* social bar */
ul.social-bar, ul.social-bar li {
    list-style:none;
}
    .social-bar {
    	color: #777;
    	overflow: hidden;
    }
    	.social-bar li {
    		float: left;
    		height: 45px;
    		width: 20%;
    	}
    	.social-bar li a {
    		color:#777;
    		font-size:22px;
    		line-height:45px;
    	}
    		.social-bar li a.fb:hover {
    			color:#3B5998;
    		}
    		.social-bar li a.twitter:hover {
    			color:#4099FF;
    		}
    		.social-bar li a.gplus:hover {
    			color:#DB4A37;
    		}
    .total-shares {
    	font-weight: bold;
    	line-height: 1;
    }
    	.shares-count {
    		font-size:20px;
    		padding-top:7px;
    	}
    	.count-label {
    		font-size:10px;
    	}

/* Overrides for gallery social bar */
#photo-gallery-responsive .social-bar{
    margin-left: -15px;
    margin-right: -15px;
    margin-top:-1px !important;
}

.gallery-thumbs {
    background: #FFF;
    background: -moz-linear-gradient(0% 0% 270deg,#EDEDED, #FFFFFF);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EDEDED), to(#FFF));
    padding:10px 10px 0;
    border-top: 1px solid #ddd;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width:100%;
    }
    .gallery-tablet .gallery-thumbs {
        width:620px;
        }
    .gallery-thumbs ul {
        font-size: 0;
        text-align: center;
        white-space: nowrap;
        }
    .gallery-thumbs li {
        display: inline-block;
        margin-right: 10px;
        height: 72px;
        width: 72px;
        *display: inline;
        zoom: 1;
        vertical-align:middle;
        }
    .gallery-thumbs li:last-child {
        margin-right: 0;
        }
    .gallery-thumbs li a {
        display: block;
        padding: 5px;
        border: 1px solid #DDD;
        background: #FFF;
        }
    .gallery-thumbs li a img {
        display: block;
        width: 60px;
        height: 60px;
        }
    .gallery-thumbs li.active a {
        background: #0099E6;
        border: none;
        padding: 6px;
        }
    .gallery-thumbs li:focus {
        outline: none;
        }
     .zoom-icon{
         position:absolute;
         bottom:10px;
         right:20px;
         z-index:20;
         }

    a.grid-icon{
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        height: 44px;
        width: 44px;
        overflow: hidden;
        padding: 10px;
        }
    a.grid-icon span{
        background: #fff;
        float: left;
        height: 6px;
        width: 6px;
        margin: 0 2px 2px 0;
        box-shadow: 1px 1px 1px rgba(0, 0, 0, .7);
        }

#thumb_last a span {
    display:inline-block;
    background: #ccc;
    color: #fff;
    height: 60px;
    width: 60px;
    line-height: 50px;
    font-size: 50px;
    text-align: center;
    font-weight: bold;
    vertical-align:middle;
    }

#recommendations .gallery-link {
    display: inline-block;
    /*margin-bottom: 5px;*/
    width: 32.8%;
    padding: 10px;
    box-sizing: border-box;
    vertical-align: top;
    text-align:center;
    }
#recommendations .gallery-link p {
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.2;
    }
#recommendations .back {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 10;
    color: #0099E6;
    line-height: 60px;
    padding: 0 10px;
    font-size:16px;
    font-family: Georgia, serif;
}
#recommendations .gallery-link img {
    box-sizing: border-box;
    margin-bottom: 5px;
    width: 100%;
    border: 1px solid #ddd;
    padding: 5px;
}
/*
------------------------------------------------------------------------
MEDIA QUERIES
------------------------------------------------------------------------
*/

/* Phones, up to 480px */
@media(max-width:480px) {
    .heading h1 {
        font-size:22px;
    }
    .prev-next .fa-stack {
        position:absolute;
        top:40%;
        font-size:35px;
    }
    .prev-next.prev .fa-stack {
        left:-35px;
    }
    .prev-next.next .fa-stack {
        right:-35px;
    }
    .text-black, a.text-black, a.text-black:visited {
        color: #000;
        opacity:1.0;
    }
    .zoom-icon{
        width:30px;
        height:30px;
        }

    .photo-holder{
        width:100%;
        height:250px;
        overflow:hidden;
        }
    .photo-holder img{
        /*width:100%;*/
        height:250px;
        max-height: 100%;
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
    }
    .gallery-thumbs{ width:inherit; }

}

/* retina stuff here */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi) {

}

/* Tablets, 768px and up */
@media(min-width:768px) and (max-width:991px) {

    .heading h1, h1.heading {
        font-size:22px;
    }
    .scroll-y{ height:80px !important; margin-right: -15px; }
    #relatedArticles .scroll-y{ height:60px !important; margin-right: -15px; }
    #article .closeit {
        right: -320px !important;
        top: -40px;
    }
    .gallery-thumbs{ width:inherit; }
}

/* Desktops, 992px and up */
@media(min-width:992px) and (max-width:1199px) {

    .heading h1, h1.heading {
        font-size:28px;
    }
    .border-r {
        border-right:1px solid #BDBDBD;
    }
    .photo-holder {
        /* vh = "viewport height" value - its a percentage of the viewport */
        height:77vh;
        max-height:100%;
    }
    .scroll-y{ height:140px !important; margin-right: -15px; }
    #relatedArticles .scroll-y{ height:100px !important; margin-right: -15px; }
    #article .closeit {
        right: -260px !important;
        top: -40px;
    }
    .gallery-thumbs{ width:inherit; }

}

/* Large desktops, 1200px and up */
@media(min-width:1200px) {

    .heading h1, h1.heading {
        font-size:28px;
    }
    .border-r {
        border-right:1px solid #BDBDBD;
    }
    .photo-holder {
    /* vh = "viewport height" value - its a percentage of the viewport */
        height:77vh;
        max-height:100%;
    }
    .scroll-y{ height:200px; !important; margin-right: -15px; }
    #relatedArticles .scroll-y{ height:100px !important; margin-right: -15px; }
    #article .closeit {
        right: -260px !important;
        top: -40px;
    }
    .gallery-thumbs{ width:inherit; }

}
/* Oklahoman specific styles */
.hr-white, .hr-grey{display:none;}
nav#navigation{display:none;}
