/******************************************
*
* IMPORTANT: This stylesheet may only apply to general,
* style objects, like html tag styling and global containers
*
*****************************************/

/**
 * Main style file for TV2 Nord
 */
html,
body {
	margin: 0 0 40px 0;
	padding: 0;
	background: #FFFFFF none;
	font-size: 16px;
	font-family: Arial, Helvetica, Tahoma, 'Trebuchet MS', Verdana, Georgia, sans-serif;
}

input:not([type]),
input[type="text"],
input[type="password"] {
	font-family: Arial, Helvetica, Tahoma, 'Trebuchet MS', Verdana, Georgia, sans-serif;
}

img {
	margin: 0px;
	padding: 0px;
	border: none;
}

iframe {
	border: 0;
}

#main {
	width: 1000px;
	margin: 0px auto;
	padding: 0;
}

#content {

}

.flexblock_insert {
        position: relative;
}

.flexblock_insert .edit {
        position: absolute;
        top: 2px;
        right: 2px;
        border: 1px solid #CCCCCC;
        cursor: pointer;
        background-color: #EEEEEE;
        padding: 1px;
        font-size: 10px;
        z-index: 1000;
        visibility: hidden;
        width: 66px;
        height: 16px;
        background-repeat: no-repeat;
}

.flexblock_insert .flexblock {
        background-image: url(../images/edit_flexblock.png);
}

.flexblock_insert .e-splitblock {
        background-image: url(../images/edit_splitblock.png);
        right: 70px;
}

.flexblock_insert .container {
        background-image: url(../images/edit_container.png);
        right: 138px;
}

/**
 *   VIDEO PREVIEW STYLES
 **/

.tv2region-thumb {
	position: relative;
	cursor: pointer;
	display: inline-block;

	top: 0;
	left: 0;
}

.tv2region-play {
	cursor: pointer;
	z-index: 100;
	position: absolute;
	top: 0;
	left: 0;
}

.tv2region-thumb-175x103 .tv2region-play {
	background: top right no-repeat url(/themes/tv2oj_theme/images/play_40.png);
	height: 40px;
	width: 107px; /* 175/2 + 40/2 << centering */
	margin-top: 31px; /* 103/2 - 40/2 << centering */
}

.tv2region-thumb-175x103 .tv2region-thumb-img {
	width: 175px;
	height: 103px;
}

.tv2region-thumb-212x119 span.tv2region-play {
	background: top right no-repeat url(/themes/tv2oj_theme/images/play_40.png);
	height: 40px;
	width: 126px; /* 212/2 + 40/2 << centering */
	margin-top: 39px; /* 119/2 - 40/2 << centering */
}

.tv2region-thumb-212x119 .tv2region-thumb-img {
	width: 212px;
	height: 119px;
}

.tv2region-thumb-100x56 span.tv2region-play {
	background: top right no-repeat url(/themes/tv2oj_theme/images/play_20.png);
	height: 20px;
	width: 60px; /* 100/2 + 20/2 << centering */
	margin-top: 18px; /* 100/2 - 20/2 << centering */
}

.tv2region-thumb-100x56 .tv2region-thumb-img {
	width: 100px;
	height: 56px;
}

/**
 *   VIDEO PREVIEW STYLES FOR FLEX
 **/

.tv2region-flex-thumb {
	position: relative;
	cursor: pointer;
	display: inline-block;
	width: 0;
	height: 0;
	top: 0;
	left: 0;
	float: left;
}

.tv2region-flex-thumb .tv2region-flex-play {
	cursor: pointer;
	z-index: 100;
	position: absolute;
	top: 0;
	left: 0;
}

.tv2region-flex-thumb-495 .tv2region-flex-play, .tv2region-flex-thumb-492 .tv2region-flex-play {
	background: top right no-repeat url(/themes/tv2oj_theme/images/play_80.png);
	height: 80px;
	width: 287px; /* 495/2 + 80/2 << centering */
	margin-top: 99px; /* 278/2 - 80/2 << centering */
}

.tv2region-flex-thumb-475 .tv2region-flex-play, .tv2region-flex-thumb-472 .tv2region-flex-play {
	background: top right no-repeat url(/themes/tv2oj_theme/images/play_80.png);
	height: 80px;
	width: 278px; /* 475/2 + 80/2 << centering */
	margin-top: 94px; /* 267/2 - 80/2 << centering */
}

.tv2region-flex-thumb-305 .tv2region-flex-play, .tv2region-flex-thumb-303 .tv2region-flex-play, .tv2region-flex-thumb-302 .tv2region-flex-play {
	background: top right no-repeat url(/themes/tv2oj_theme/images/play_80.png);
	height: 80px;
	width: 202px; /* 305/2 + 80/2 << centering */
	margin-top: 58px; /* 267/2 - 80/2 << centering */
}

.tv2region-flex-thumb-242 .tv2region-flex-play, .tv2region-flex-thumb-241 .tv2region-flex-play {
	background: top right no-repeat url(/themes/tv2oj_theme/images/play_40.png);
	height: 80px;
	width: 141px; /* 242/2 + 40/2 << centering */
	margin-top: 48px; /* 278/2 - 40/2 << centering */
}

.tv2region-flex-thumb-221 .tv2region-flex-play, .tv2region-flex-thumb-222 .tv2region-flex-play {
	background: top right no-repeat url(/themes/tv2oj_theme/images/play_40.png);
	height: 80px;
	width: 131px; /* 221/2 + 40/2 << centering */
	margin-top: 42px; /* 124/2 - 40/2 << centering */
}

.tv2region-flex-thumb-227 .tv2region-flex-play {
	background: top right no-repeat url(/themes/tv2oj_theme/images/play_40.png);
	height: 80px;
	width: 137px; /* 227/2 + 40/2 << centering */
	margin-top: 44px; /* 127/2 - 40/2 << centering */
}

/**
 * Forum
 */

#forum_post_div {
	background-color: #E5E5E5;
	padding: 5px;
	margin-top: 15px;
}

#forum_post_div h1 {
	margin: 0;
}

#forum_post_div p {
	margin: 0;
}

#forum_post_div .forum_input {
	width: 600px;
}

#forum_post_div textarea {
	height: 100px;
}

div.debatcitat {
	background-color: #E5E5E5;
	padding: 5px;
	margin-top: 15px;
}

/**
 * Top
 */
 
.dagens_program {
	background-color:#000000;
	height:28px;
	padding-top:8px;
	padding-left:25px;
}

.dagens_program a {
	color:#FFFFFF;
	text-decoration: none;
	font-weight:bold;
}

.tip_os {
	background-color:#000000;
	height:34px;
	padding-top:2px;
	padding-left:10px;
}

.tip_os a {
	text-decoration: none;
	font-weight:bold;
	font-size: 175%;
}

/**
 * fmGallery
 */

.fm-gallery {
	background-color: #404040;
}

.fm-gallery img#fm-gallery-image {
}

.fm-gallery .fm-gallery-info {
	font-size: 13px;
	overflow: auto;
}

.fm-gallery #fm-gallery-description {
	color: #FFFFFF;
	padding: 5px;
	float: left;
}

.fm-gallery #fm-gallery-photographer {
	float: right;
	color: #FF7010;
	padding: 5px;
}

.fm-gallery ul.fm-gallery-thumbs {
	padding: 0;
	margin: 0;
	white-space: nowrap;
	position: relative;
}

.fm-gallery div.fm-gallery-carousel-container {
	overflow: auto;
}

.fm-gallery div.fm-gallery-carousel-prev {
	float: left;
	opacity: 0.5;
	cursor: pointer;
}

.fm-gallery div.fm-gallery-carousel-prev:hover {
	opacity: 1;
}

.fm-gallery div.fm-gallery-carousel-clip {
	overflow: hidden;
	float: left;
	width: 600px;
	cursor: pointer;
}

.fm-gallery div.fm-gallery-carousel-next {
	float: right;
	opacity: 0.5;
	cursor: pointer;
}

.fm-gallery div.fm-gallery-carousel-next:hover {
	opacity: 1;
}

.fm-gallery ul.fm-gallery-thumbs li {
	display: inline;	
}

.fm-gallery ul.fm-gallery-thumbs li img {
	border: 1px solid #FFFFFF;
	margin-right: 5px;
	opacity: 0.5;
	float: none !important;
}

.fm-gallery ul.fm-gallery-thumbs li img:hover {
	opacity: 1 !important;
	border: 1px solid #FF7010 !important;
}

.block-xphotofbPicture {
	background-color: transparent !important;
}

#countdownlink {
	text-decoration: none;
	color: black;
}

#countdownlink:hover {
	text-decoration: none;
	color: black;
}

div.xphoto_text a {
	text-decoration: none;
	color: #000000;
	font-weight: bold;
}

/*Cookie Info Bar*/

div#cookieInfo {
    hasLayout: True;
    position: relative;
    position: fixed;
    width: 100%;
    left: 0px;
    bottom: 0px;
    min-height: 120px;
    z-index: 100000;
    background: rgb(249, 249, 249);
    background: rgba(249, 249, 249, 0.89);
    box-shadow: 0px 0px 15px 3px #333;
    border-bottom: 1px solid #666;
    overflow: hidden;
    *box-shadow: 3px 3px 4px #000;

}

#cookieInfo h3 {
    font-family: arial;
    font-size: 14px;
}

#cookieInfo > div:before {
    content: '';
    background-image: url('/modules/util/images/cookie.png');
    width: 14px;
    height: 13px;
    position: absolute;
    left: 0px;
    top: 3px;
}

#cookieInfo > div {
    position: relative;
    max-width: 920px;
    padding-left: 20px;
    padding-bottom: 30px;
    margin: 25px auto 10px auto;
}

#cookieInfo * {
    font-family: arial;
    font-size: 14px;
    line-height: 18px;
}

#cookieInfo > div > button {
    position: absolute;
    right: 0px;
    bottom: 0px;
    /*top: 45px;*/
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    display: inline-block;
    color: rgba(0,0,0,1);
    height: 2em;
    background-repeat: repeat-x;

}

#cookieInfo > div > a {
    color:blue;
    text-decoration: underline;
}
div#cookieInfo{
    bottom: 0px !important;
}
/*div#cookieInfo #close{*/
/*float: right;*/
/*}*/

@media only screen
and (min-device-width : 768px) and (max-device-width: 1024px) and (orientation : portrait) {
    /* STYLES GO HERE */
    #cookieInfo > div > button{
        height: 3em;
        width: 10em;
    }
    div#cookieInfo{
        min-height: 134px;
    }
}

@media only screen
and (min-device-width : 320px) and (max-device-width: 568px) {
    /* STYLES GO HERE */
    #cookieInfo > div > button{
        height: 2.3em;
        width: 10em;
        font-size: 20px;
        font-weight: 200;
        float: right;
        margin-top: 45px;
        background-color: #B8B8B8;
        position: absolute;
        top: 45px;


    }
    div#cookieInfo{
        height: 172px;
        font-size: 16px;
    }

    #cookieInfo > div {
        margin-top: 3px;
    }
}
