html {margin:0px; padding:0px;}
body {padding:0px; margin:3px; text-align:center; font-family:Arial, Helvetica, sans-serif; font-size: 13px; background-color:#3b3b3b; }
p, td { }
input, select {margin-top: 2px; margin-bottom: 10px; font-size: 11px;}
 
#wrapper {float:left; margin:0; border:1px solid #999999; padding:2px; text-align:left;}
#backbox {border:0px solid #999; background-color:#3b3b3b; padding:10px; margin:0; }
#logo {font-family:Georgia, Times, serif; font-size:28px; color:#666; margin:0px; }
#logo_rail {color:#09c; }
.title {font-size:18px; color:#069; }
.description {color:#333; font-size:14px; }
.companionDiv {background-color: grey;overflow:hidden; border: solid 1px #999999; font-family:Aria, Helvetica; font-size:10px; color:white}

#player { width:100%; height:100%; margin:0px; padding:0px;}
 
input.paramKey {width: 200px; margin:2px 2px 0px 0px; border:solid 0px #000; }
input.paramValue {width: 300px; margin:2px 1px 0px 0px; border:solid 0px #000;}
 
#divAddNewField { margin:2px 0px 0px 0px; padding:0px; border:0px solid #000; font-size: 0px; border:0px solid #F00;} 
#selectParameter { width: 200px; margin:0px 1px 0px 0px; padding:1px; }
 
#adParamBtn { width: 60px; border:1px solid #999; color: #666; font-weight: bold; font-size: 9px; margin:0px; padding:0px;}
#adParamBtn:hover { border-color:#666; color:#111; cursor:pointer; }
 
#deleteKeyDiv { border:1px solid #BBB; color: #777; margin:0px 0px 0px 1px; padding:0px 4px; }
#deleteKeyDiv:hover { border:1px inset #CCC; color:#222; background-color:#EAEAEA; }
 
#okBtn { margin-top:10px }
 
.categoryTitleDiv { padding:1px 0px 2px 5px; color:#FFFFFF; font-weight:bold; font-size:10px; background-color:#333333;}
.linkpresets { border:1px dotted #888; border-left-color:#EEE; border-top-color:#F0F0F0; background-color:#DEDEDE; font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#666; float:left; padding:5px; margin:0px 0px 0px 0px; }
.linkpresets:hover{ background-color:#FFFFFF; color:#222;}
.linkpresets h1 { font-size:11px; font-weight:bold; color:#346; margin:0px; padding:0px;}
.linkpresets h2 { font-size:11px; font-weight:bold; color:#936; margin:0px; padding:0px;}
 
#divParamDetails{ width:300px; min-height:80px; margin:0px 2px 2px 2px; color:#333; background-color: #FFFFF0; border: 1px solid #aaa; font-size: 11px; -moz-border-radius: 5px; border-radius: 5px; }
#paramDetails{ width:auto; margin: 7px; }
 
a { text-decoration: none; }

#leftcolumn { width: 200px; float: left;}
#rightcolumn { width: 500px; float: right; margin-top: 15px;}
.clear { clear: both;}

#leftcolumninner { width: 440px; float: left; }
#rightcolumninner{ width: 50px; float: right; }
#tm_player_vast { width: 100%; height: 100% }

/**
 * TM Player Preroll - Specific styles, avoiding override with existing styles
 *
 * Note: This is CSS, not under SCSS watch. Maybe convert this one day
 */
.hidden {
    display: none;
}
#backbox.tm-player-modal-backbox {
    margin-bottom: 30px;
    overflow: hidden;
}
.tm-player-preroll {
    margin: inherit;
    width: inherit;
    margin-bottom: inherit;
}
.tm-player-preroll .tm-player-preroll-header {
    margin-bottom: 10px;
}
.tm-player-preroll.modal-on {
    margin: 0;
    width: 50%;
}
.tm-player-preroll #wrapper {
    border: none;
}
.tm-player-preroll #rightcolumn {
    width: 526px;
}
.tm-player-preroll [name="vastUrl"] {
    color: #5a5a5a;
    font-size: 12px;
    margin-right: 2px;
    padding: 8px 7px;
    width: 400px;
}
.tm-player-preroll [name="vastUrl"],
.tm-player-preroll [type="submit"] {
    display: inline-block;
}
.tm-player-preroll #share_me a,
.tm-player-preroll #share_me a:visited,
.tm-player-preroll #share_me a:active {
    color: white;
}
.tm-player-preroll #share_me a:hover {
    text-decoration: underline;
}
.tm-player-preroll .companion-300-250 {
    height: 250px;
    margin-top: 2px;
    width: 300px;
}
.tm-player-preroll .companion-300-60 {
    height: 60px;
    width: 300px;
}
.tm-player-preroll .companion-300-600 {
    height: 600px;
    width: 300px;
}
.tm-player-preroll .companion-728-90 {
    height: 90px;
    position: relative;
    width: 728px;
}
.tm-player-preroll .companion-728-90 .companion-728-90-text {
    height: 90px;
    width: 728px;
}
.tm-player-preroll #playerDiv, #tm_player_vast {
    position: relative;
}
.tm-player-preroll .playerDiv {
    background-color: white;
    border: 1px solid #999;
    display: block;
    height: 360px;
    margin: 2px;
    padding: 2px;
    width: 640px;
}
#playerDiv {
    width: 480px;
}

/* Imported from _tube-btn.scss since this can't take scss partials */
.tube-btn {
    color: #fff;
    background: #00b0c6;
    border: 0;
    border-radius: 2px;
    box-shadow: 0px -3px 0px rgba(0, 0, 0, 0.1) inset;
    cursor: pointer;
    display: inline-block;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 2.8em;
    padding: 0 2em;
    text-transform: uppercase;
    text-shadow: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    white-space: nowrap;
}
.tube-btn:hover {
    background: #00bcd4;
}
.tm-player-preroll .tm_player_vpaid {
    position: absolute;
    z-index: 1;
}

#tm_vpaid_player {
    z-index: 1;
    width: 640px;
    height: 360px;
    margin: 46px 30px 20px 49px;
    position: absolute;
}

#tm_vpaid_video {
    margin: 45px 30px 20px 40px;
    border: 1px solid #999;
}

.tm-player-controls {
    background-color: #3b3b3b;
    height: 25px;
    margin-top: -15px;
    z-index: 9;
}

.tm-player-controls .control-play {
    width: 50px;
    border-style: solid;
    border-width: 6px 0 6px 12px;
    border-color: transparent transparent transparent white;
    margin: 6px 0 0 50px;
    float: left;
    cursor: pointer;
}

.tm-player-controls .control-play:hover {
    border-color: transparent transparent transparent wheat;
}

.tm-player-controls .control-pause {
    width: 50px;
    color: white;
    font-size: 10px;
    margin: 6px 0 0 30px;
    float: left;
    cursor: pointer;
}

.tm-player-controls .control-volume-value {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
}

.tm-player-controls .control-volume {
    float: right;
    margin: 4px 40px 0 0;
}

.tm-player-controls .tm-volume-value {
    font-size: 11px;
    color: white;
}

.tm-player-controls .control-pause:hover {
    color: wheat;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100px;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 1px #FFFFFF;
    background: #EBEBEB;
    border-radius: 4px;
    border: 1px solid #FFFFFF;
}
input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 1px #878787;
    border: 1px solid #C2C2C2;
    height: 10px;
    width: 18px;
    border-radius: 5px;
    background: #EDEDED;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -3px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #EBEBEB;
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 1px #FFFFFF;
    background: #EBEBEB;
    border-radius: 4px;
    border: 1px solid #FFFFFF;
}
input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 1px #878787;
    border: 1px solid #C2C2C2;
    height: 10px;
    width: 18px;
    border-radius: 5px;
    background: #EDEDED;
    cursor: pointer;
}
input[type=range]::-ms-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
input[type=range]::-moz-range-progress {
    background: #EBEBEB;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 0px 1px #FFFFFF;
}
input[type=range]::-moz-range-track {
    background: #000000;
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 0px 1px #000000;
}
input[type=range]::-ms-thumb {
    box-shadow: 0px 0px 1px #878787;
    border: 1px solid #C2C2C2;
    height: 10px;
    width: 18px;
    border-radius: 5px;
    background: #EDEDED;
    cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
    background: #EBEBEB;
}
input[type=range]:focus::-ms-fill-upper {
    background: #000000;
}
.error-message {
    color: #ddd;
}
.error-link {
    color: #ccc;
    font-size: 16px;
}
.invalid-error-message {
    height: 40%;
    position: absolute;
    width: 99%;
    top: 25%;
}