/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/

/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */

/* #Site Styles
================================================== */

/* #Page Styles
================================================== */

/* #Media Queries
================================================== */
@media only screen and (min-height: 720px){
    .playerWrapper              { max-width: 720px; }
    .live-video-container       { transform: scale(0.8); }
    h1 { font-size: 52px; line-height: 56px; margin-bottom: 14px;}
    h2 { font-size: 41px; line-height: 46px; margin-bottom: 10px; }
    h3 { font-size: 34px; line-height: 40px; margin-bottom: 4px; }
    h4 { font-size: 27px; line-height: 36px; margin-bottom: 4px; }
    h5 { font-size: 23px; line-height: 30px; }
    h6, h6 span { font-size: 18px; line-height: 24px; }

    .text-half-width {
        max-width: 360px;
    }

    .staticImage{
        max-width: 650px;
    }
    #static-book-image          { max-width: 800px; }
    .mejs-captions-layer { font-size: 25px !important; line-height: 34px !important; }
}

@media only screen and (min-height: 550px) and (max-height: 720px) and (min-width: 959px) {
    .playerWrapper              { max-width: 600px; }
    .live-video-container       { transform: scale(0.8); }

    h1 { font-size: 52px; line-height: 56px; margin-bottom: 14px;}
    h2 { font-size: 41px; line-height: 46px; margin-bottom: 10px; }
    h3 { font-size: 34px; line-height: 40px; margin-bottom: 4px; }
    h4 { font-size: 27px; line-height: 36px; margin-bottom: 4px; }
    h5 { font-size: 23px; line-height: 30px; }
    h6, h6 span { font-size: 18px; line-height: 24px; }

    #logo,  #IST_logo { max-width: 110px; }
    .mejs-captions-layer { font-size: 25px !important; line-height: 34px !important; }
}

@media only screen and (max-height: 550px) and (min-width: 959px) {
    .playerWrapper              { max-width: 600px; }
    h1 { font-size: 52px; line-height: 56px; margin-bottom: 14px;}
    h2 { font-size: 41px; line-height: 46px; margin-bottom: 10px; }
    h3 { font-size: 34px; line-height: 40px; margin-bottom: 4px; }
    h4 { font-size: 27px; line-height: 36px; margin-bottom: 4px; }
    h5 { font-size: 23px; line-height: 30px; }
    h6, h6 span { font-size: 18px; line-height: 24px; }

    #logo,  #IST_logo { max-width: 99px; }
    .mejs-captions-layer { font-size: 25px !important; line-height: 34px !important; }
}
/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
    .playerWrapper              { max-width: 490px; }
    /*.header_td, .header_tr { height: 44px; }*/

    .four-short-buttons {
        max-width:88%;
    }

    .video {
        width:480px;
        height:480px;
    }

    #logo,  #IST_logo { max-width: 99px; }
    #titletext {
        top: -50px;
        text-indent: 105px !important;
    }
    .mejs-captions-layer { font-size: 25px !important; line-height: 34px !important; }

    .mobile_spacer {
        display: block !important;
        height: 30px;
    }
}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px){

    .playerWrapper              { max-width: 490px; }

    /*.header_td, .header_tr { height: 44px; }*/

    #question-container{
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .four-short-buttons {
        max-width: 490px;
        width: 100%;
    }

    .video {
        border:solid 1px red !important;
        width:320px !important;
        height:213px !important;
    }

    #static-book-image {
        width:80% !important;
        margin:0 auto !important;
    }
    .mejs-captions-layer { font-size: 25px !important; line-height: 34px !important; }

}


@media only screen and (max-height: 775px) and (max-width: 1025px) {
    .top-navbar{
        /*height: 42px;*/
        background-size: auto 100%;
    }

    #titletext {
        top: -40px !important;
    }
    #titletext h6 {
        line-height: 18px;
    }
    #logo {
        max-width: 61px;
    }

    #IST_logo {
        max-width: 78px;
        /*left: -30px;*/
        top: -60px;
    }

    #titletext {
        top: -40px;
        text-indent: 66px !important;
    }
}


@media only screen and (max-width: 767px), screen and (max-height: 535px){

    .dont_know_button {
        font-size: 14px;
    }

    #answer-input input[type="text"] {
        height: 32px;
        margin-top: 2px !important;
    }

    .four-short-buttons {
        max-width:100%;
    }

    .video {
        border:solid 1px green !important;
        width:480px !important;
        height:480px !important;
    }

    .mejs-captions-layer { font-size:20px !important; line-height: 22px !important; }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px), screen and (max-height: 535px) {
    .mejs-captions-layer { font-size:17px !important; line-height: 22px !important; }
    .padding { display:none !important; }

    .header_td {
        /*height: 66px !important;*/
    }

    h6 {
        line-height: 18px !important;
    }

    .keyboard_button { padding:2px !important; }

    #question-container{
        margin-left: auto !important;
        margin-right: 10px !important;
    }

    .four-short-buttons {
        max-width:100%;
    }

    .four-button {
        margin-left:5px !important;
    }

    .video {
        border:solid 1px blue !important;
        width:320px !important;
        height:213px !important;
    }

    #copyright {
        top: 2px !important;
        /*width:300px;*/
    }

    .alert_text {
        display:none;
    }

    #student_logo {
        /*padding-top: 8px !important;*/
    }
    .menu-item {
        margin:0px !important;
        -moz-border-radius: 0px !important;
        -webkit-border-radius: 0px !important;
        border-radius: 0px !important; /* future proofing */
        -khtml-border-radius: 0px !important; /* for old Konqueror browsers */
    }

    #help-video {
        right:125px !important;
        top:-162px !important;
    }

    .right {
        /*margin-left:5px !important;*/
    }

    .left {
        /*margin-right:5px !important;*/
    }

    .image-half {
        width:45% !important;
    }

    .image-third {
        width:30% !important;
    }

    #book .image-third {
        width:30% !important;
    }

}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

    .padding { display:none !important; }

    .dont_know_button { line-height: 15px !important; }

    .keyboard_button { padding:2px !important; }

    .static_image { max-width:100% !important; }

    .four-short-buttons {
        max-width:100%;
    }

    .header_td, .header_tr {
        /*height: 66px !important;*/
    }

    #copyright {
        top: 2px !important;
    }

    .alert_text {
        display:none;
    }

    #student_logo {
        /*padding-top: 4px !important;*/
    }

    #help-video {
        right:125px !important;
        top:-162px !important;
    }

    .menu-item {
        margin:0px !important;
        -moz-border-radius: 0px !important;
        -webkit-border-radius: 0px !important;
        border-radius: 0px !important; /* future proofing */
        -khtml-border-radius: 0px !important; /* for old Konqueror browsers */
    }

    .text-half-width {
        max-width:100% !important;
    }

    .text-half {
        width:100% !important;
    }

    .image-half {
        width:48% !important;
    }

    .image-third {
        width:32% !important;
    }

    .mejs-captions-layer { font-size:15px !important; line-height: 22px !important; }

    .imgAnswer_text {
        width: 27px;
        height: 27px;
        line-height: 23px;
        margin: -20px;
        font-size: 13px;
    }
}

@media all and (max-height: 300px){
    .staticImage{
        max-width: 350px;
    }
    .mejs-captions-layer { font-size:15px !important; line-height: 22px !important; }
}


/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/