@media only screen and (max-width: 1024px) {
    .submit-btn {
        font-size: 32px;
        line-height: 1.5em;
        border-radius: 30px !important;
        margin-top: 15px;
    }

    .language-link {
        font-size: 17px;
    }

    #pealkiri {
        font-size: 22px;
    }

    #pealkiri h1 {
        font-size: 27px !important;
    }

    #pealkiri h3 {
        font-size: 25px !important;
    }

    #soovFormFrame {
        min-height: 820px;
        width: 800px;
    }

    #doc3 p.path,
    #id-register-form,
    #id-register-form .info,
    #id-register-form input,
    #id-register-form select,
    #id-register-form textarea,
    #id-asutus-form,
    #id-asutus-form input,
    #id-asutus-form .dialog-heading,
    #id-asutus-search-form,
    #id-asutus-search-form input,
    #id-asutus-search-form .dialog-heading,
    #id-asutus-search-form .dialog-info {
        font-size: 26px;
    }

    #id-register-form input[type='checkbox'],
    #id-register-form input[type='radio'] {
        transform: scale(1.5);
    }

    #id-register-form label {
        width: auto !important;
    }

    #id-register-form .registrant-responsibility span {
        font-size: 12px;
        line-height: 14px;
    }

    h3 {
        font-size: 32px !important;
    }

    .filter-btns-group {
        font-size: 32px;
    }

    #koolitusListWrapper p {
        font-size: 36px;
        min-height: 36px;
        max-height: 36px;
    }

    #doc {
        line-height: 42px !important;
    }

    .sisu {
        font-size: 36px;
        min-height: 36px;
        max-height: 36px;
    }

    a em.link {
        font-size: 36px !important;
        min-height: 36px;
        max-height: 36px;
    }

    .sisu h3 {
        font-size: 45px !important;
        font-weight: bold;
    }
}

.submit-btn {
    border: none;
    background: #b71234;
    padding: 5px 10px 5px 10px;
    color: #fff !important;
    text-transform: uppercase;
    border-radius: 15px;
    margin-top: 15px;
    cursor: pointer;
}

.submit-btn[disabled] {
    background: #9b717d;
    cursor: not-allowed;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    /*background-color: #f1f1e6;*/
    /*font-family: Verdana, Arial;*/
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

#container {
    position: relative;
    min-height: 100%;
    height: 100%;
    height: auto;
    width: 100%;
}

html:body #container {
    height: auto;
}

a {
    text-decoration: none;
}

/* Links */
a em.link {
    color: rgb(183, 18, 52);
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.required {
    color: red;
    padding-left: 2px;
    padding-right: 5px;
}

a:link {
    color: #942238;
    border-bottom: 1px solid #d1b4b3;
}

a:visited {
    color: #cb929d;
    border-bottom: 1px solid #e9dada;
}

a:hover {
    border-bottom: 1px solid #f20c3a;
    color: #f20c3a;
}

#doc3 {
    text-align: center;
    position: relative;
}

#doc3 #upperhead-wrapper {
    border-width: 0;
    /*background-color: #942238;*/
    background-color: #FFF;
}

#doc3 #upperhead {
    text-align: center;
    position: relative;
    width: 950px;
    height: 152px;
    margin: 3px auto 0;
    /*background: url("../imgs/pealdis_taga_yld4.jpg") no-repeat top center;*/
    background: url(../imgs/head-logo_2024_2.jpg) no-repeat top center;
}

#doc3 #upperhead #logoblock {
    position: absolute;
    left: 0;
    width: 230px;
    color: white;
    font-family: Verdana, Arial;
    font-size: 85%;
}

#doc3 #upperhead #logoblock p, #doc3 #upperhead #searchblock p {
    text-align: right;
    margin: 8px 0 -5px 0;
    z-index: 1000;
    position: relative;
}

#doc3 #upperhead #logoblock a, #doc3 #upperhead #searchblock a {
    border-bottom: 1px solid #CE7F7F;
    color: #fff;
    text-decoration: none;
}

#doc3 #upperhead #logoblock a:hover, #doc3 #upperhead #searchblock a:hover {
    color: #bbb;
    border-bottom: 1px solid #888;
}

#doc3 #upperhead #logoblock img {
    border-width: 0;
}

#doc3 #upperhead #logoblock a.img, #doc3 #upperhead #logoblock a img {
    border-width: 0;
}

#doc3 #upperhead #searchblock {
    position: absolute;
    right: 0;
    color: white;
    font-family: Verdana, Arial;
    font-size: 85%;
    width: 450px;
}

#doc3 #upperhead #searchblock #search-input {
    margin-right: 0;
}

#doc3 #upperhead #searchblock form {
    margin: 15px 0px 5px 0;
    padding: 0;
    text-align: right;
    float: right;
}

#search-form-query {
    background: white;
    border: medium none;
    color: #942238;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 108%;
    font-weight: bold;
    padding: 3px;
    vertical-align: middle;
    width: 130px;
}

#search-form-submit {
    background: #990000 none repeat scroll 0%;
    border-color: #BF6060 rgb(64, 6, 6) rgb(64, 6, 6) rgb(191, 96, 96);
    border-style: solid;
    border-width: 1px;
    color: #FFFFFF;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 100%;
    font-weight: bold;
    padding: 0px 2px 3px;
    vertical-align: middle;
}

#doc3 #upperhead #searchblock p {
    margin-bottom: 3px;
}

#otseteed {
    display: none;
}

#yldnav {
    float: left;
    line-height: normal;
    position: absolute;
    bottom: 0;
    left: 0;
    _margin-bottom: -1px;
}

#yldnav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#yldnav li {
    float: left;
    margin: 0;
    padding: 0;
    background: url("../imgs/yld.gif") no-repeat 0 -260px;
    margin-right: 1px;
    width: 148px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 100%;
    padding: 0 0 0 1px;
}

#yldnav a {
    float: left;
    text-decoration: none;
    display: block;
    background: url("../imgs/yld.gif") no-repeat 100% 0;
    padding: 5px 15px 7px 14px;
    color: white;
    border-bottom-width: 0px;
}

#yldnav li:hover {
    background-position: 0 -390px;
}

#yldnav a:hover {
    background-position: 100% -130px;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#yldnav a {
    float: none;
}

/* End IE5-Mac hack */

#yldnav .current {
    background-position: 0 -390px;
}

#yldnav .current a {
    background-position: 100% -130px;
}

#doc3 #pealkiri-wrapper {
    position: relative;
    background-color: white;
    text-align: center;
    border-width: 0;
    border-style: solid;
    border-top-color: #999999;
    border-top-width: 0px;
    border-bottom-color: #999999;
    border-bottom-width: 1px;
}

.avaleht #doc3 #pealkiri-wrapper {
    background-color: #f1f1e6;
}

#doc3 #pealkiri {
    text-align: left;
    width: 950px;
    margin: 0 auto 0 auto;
    position: relative;
}

#doc3 #pealkiri #avaleht-suurpilt {
    margin-top: 2px;
    margin-bottom: 0;
    line-height: 0.5em;
}

#doc3 #pealkiri #avaleht-pildivari {
    margin-top: 2px;
    margin-bottom: 0;
}

#doc3 #pealkiri #section-back {
    position: absolute;
    left: 0;
    top: 0;
    margin: -7px 0 -16px 0;
}

#doc3 #pealkiri #section-front {
    position: absolute;
}

#doc3 #pealkiri h1 {
    margin: 0;
    padding: 0;

    /*font-family: Times New Roman, Times, serif;*/
    color: #444444;
    font: 16pt Calibri, sans-serif;
    /*font-size: 220%;*/

    padding-top: 5px;
    padding-bottom: 5px;
    font-style: italic;
    text-transform: uppercase;
}

/* sisuosa sisuosa sisuosa */

#doc {
    padding-top: 25px;
    padding-bottom: 50px;
    line-height: 1.6em;
}

.avaleht #doc {
    padding-top: 2px;
    padding-bottom: 135px;
}

.avaleht .avaparem {
    width: 354px;
    padding-left: 10px;
}

.pikkjalus {
    background-color: #e3e3d9;
}

.yui-t2 .yui-g {
    padding-left: 1em;
}

h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 167%;
    font-weight: normal;
    margin-top: 3px;
    margin-bottom: 0.5em;
}

h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 135%;
    font-weight: normal;
    margin-top: 20px;
    margin-bottom: 0.5em;
}

.sisu {
    padding-right: 10px;
}

.sisu ul {
    margin-top: 10px;
    font-size: 100%;
    list-style-type: disc;
}

.sisu p {
    font-size: 100%;
}

.sisu table {
    border-collapse: collapse;
    width: 100%;
}

.sisu th {
    background-color: #e3e3d9;
    width: 70px;
    font-weight: bold;
    font-size: 93%;
    border: 2px #f1f1e6 solid;
    padding: 3px;
    vertical-align: top;
}

.sisu td {
    font-weight: normal;
    font-size: 93%;
    border: 2px #f1f1e6 solid;
    padding: 3px;
    vertical-align: top;
    line-height: 1.3em;
}

.table_nogrid table {
    border-collapse: collapse;
    width: 100%;
}

.table_nogrid th {
    background-color: #e3e3d9;
    width: 70px;
    font-weight: normal;
    font-size: 93%;
    border: 2px #f1f1e6 solid;
    padding: 5px;
    vertical-align: top;
}

.table_nogrid td {
    background-color: #f1f1e6;
    font-weight: normal;
    font-size: 93%;
    border: 2px #f1f1e6 solid;
    padding: 3px;
    vertical-align: top;
    line-height: 1.3em;
}

.sisu textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    width: 300px;
    height: 100px;
    line-height: 1.3em;
    padding: 3px;
    max-width: 803px;
}

.sisu .tlybutton {
    background: #4c4c4c none repeat scroll 0%;
    border-color: #8f8f8f #232323 #232323 #8f8f8f;
    border-style: solid;
    border-width: 1px;
    color: #FFFFFF;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 85%;
    font-weight: bold;
    padding: 1px 2px 3px;
    vertical-align: text-middle;
}

.photos {
    float: right;
    margin: 1em 5px 10px 20px;
}

.photos .photo {
    margin-bottom: 10px;
}

.photos .photo p.caption {
    background-color: #e3e3d9;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 77%;
    padding: 3px 5px 3px 10px;
}

.avaleht p.pildiallkiri {
    font-size: 77%;
    margin-top: 0;
    line-height: 1.5em;
}

/* kastid */

.ntop, .nbottom {
    display: block;
}

.ntop b, .nbottom b {
    display: block;
    height: 1px;
    overflow: hidden;
}

.n1 {
    margin: 0 1px;
    height: 2px
}

.seealsobox {
    margin: 30px 0 10px 0;
    width: 200px;
    padding: 0;
    line-height: 1.2em;
    background-color: #e3e3d9;
}

.seealsobox .ntop b, .seealsobox .nbottom b {
    background-color: #e3e3d9;
}

.seealsobox .ntop, .seealsobox .nbottom {
    background-color: #f1f1e6;
}

.seealsobox h2 {
    font-weight: bold;
    font-size: 100%;
    font-family: Arial, sans-serif;
    padding: 8px 0 5px 10px;
    margin: 0;
}

.seealsobox ul {
    padding: 0 8px 13px 10px;
    margin: 0;
    list-style-type: none;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 85%;
}

.seealsobox ul li {
    background-image: url("../imgs/nool-valge.gif");
    background-repeat: no-repeat;
    background-position: 0 0.55em;
    background-color: transparent;
    padding-left: 10px;
}

.seealsobox2 {
    margin: 30px 0 10px 0;
    width: 200px;
    padding: 0;
    line-height: 1.2em;
    background-color: #942238;
}

.seealsobox2 .ntop b, .seealsobox2 .nbottom b {
    background-color: #942238;
}

.seealsobox2 .ntop, .seealsobox2 .nbottom {
    background-color: #f1f1e6;
}

.seealsobox2 h2 {
    color: white;
    font-weight: bold;
    font-size: 100%;
    font-family: Arial, sans-serif;
    padding: 8px 0 5px 10px;
    margin: 0;
}

.seealsobox2 ul {
    padding: 0 8px 13px 10px;
    margin: 0;
    list-style-type: none;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 85%;
}

.seealsobox2 ul li {
    background-image: url("../imgs/nool-valge.gif");
    background-repeat: no-repeat;
    background-position: 0 0.55em;
    background-color: transparent;
    padding-left: 10px;
}

.seealsobox2 ul a {
    border-bottom: 1px solid #CE7F7F;
    color: #fff;
    text-decoration: none;
}

.seealsobox2 ul a:hover {
    color: #bbb;
    border-bottom: 1px solid #888;
}

.subnavbox {
    background-color: white;
    width: 240px;
    padding: 0;
    line-height: 1.2em;
}

.subnavbox .ntop, .subnavbox .nbottom {
    background-color: #f1f1e6;
}

.subnavbox .ntop b, .subnavbox .nbottom b {
    background-color: white;
}

.yui-t4 .subnavbox, .yui-t2 .subnavbox {
    width: 180px;
}

.subnavbox .subnav ul {
    padding: 10px 0 13px 0;
    margin: 0;
    list-style-type: none;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 100%;
}

.subnavbox .subnav li {
    margin: 0;
    margin-bottom: -1px;
}

.subnavbox .subnav li#activesublink {
    background-image: url("../imgs/sectionback.gif");
    background-repeat: repeat-y;
    background-position: top right;
    background-color: #f1f1e6;
}

.subnavbox .subnav a {
    display: block;
    margin: 0 8px 0 8px;
    padding: 5px 5px 5px 5px;
    border-top: 1px solid #ecebe5;
    width: 202px;
    text-decoration: none;
    border-bottom-width: 0;
}

.yui-t4 .subnavbox .subnav a, .yui-t2 .subnavbox .subnav a {
    width: 142px;
}

.subnavbox .subnav a:hover {
    text-decoration: underline;
}

.subnavbox .subnav .first a, #activesublink a, .subnavbox .subnav .nextafteractive a {
    border-top-width: 0;
}

#activesublink a {
    font-weight: bold;
    background-color: transparent;
    padding-top: 8px;
    padding-bottom: 7px;
}

#activesublink a:visited {
    color: #942238;
}

#activesublink a.activenochildren, #activesublink a.activenochildren:visited {
    color: black;
}

#activesublink ul {
    padding: 0 0 10px 0;
}

#activesublink ul a {
    padding: 1px 0 4px 18px;
    font-weight: normal;
    font-size: 85%;
}

#activesublink ul a:hover {
    color: #f20c3a;
}

#activesublink #activesubsublink a {
    font-weight: bold;
    background-image: url("../imgs/section-nool-yld3.gif");
    background-repeat: no-repeat;
    background-position: 9px 0.55em;
    background-color: transparent;
    color: black;
    text-decoration: none;
}

.subnavbox .subnav .nextafteractive {
    padding-top: 5px;
}

.subnavbox .subnav .previousbeforeactive {
    padding-bottom: 4px;
}

.centerframe {
    margin-right: 14px;
    padding: 0 14px 20px 22px;
    border-left: 2px solid white;
    border-right: 2px solid white;
    min-height: 600px;
}

.pikkjalus .centerframe {
    margin-right: 6px;
    padding-right: 20px;
    border-width: 0;
}

.avaleht .pikkjalus {
    font-size: 85%;
}

.avaleht .pikkjalus p.pikkkeelevalik {
    margin-top: 0px;
    margin-bottom: 10px;
}

.avaleht .centerframe {
    margin-left: -30px;
    padding-left: 15px;
    margin-right: 0px;
}

/* syndmused, uudised, t�htsad lingid */

h2.kokkuvote {
    font-size: 100%;
    font-family: Verdana, Arial, sans-serif;
    font-weight: bold;
    color: #555;
    margin-bottom: 1.2em;
}

.avaleht h2.kokkuvote {
    font-size: 108%;
    font-family: Arial, sans-serif;
}

.avaleht #syndmused {
    width: 158px;
    float: right;
}

.avaleht #uudised {
    border-right: 1px solid #d9d9cf;
    padding-right: 18px;
    width: 158px;
    float: left;
}

.pikkjalus #tahtsadlingid, .avaleht #tahtsadlingid {
    width: 180px;
}

.uudis, .syndmus {
    line-height: 1.1em;
    margin-bottom: 10px;
}

.avaleht .uudis {
    margin-bottom: 20px;
}

.avaleht .syndmus {
    margin-bottom: 15px;
}

.avaleht .uudis, .avaleht .syndmus {
    margin-bottom: 7px;
}

.uudis img {
    float: left;
    margin: 0 13px 5px 0;
    vertical-align: middle;
}

#syndmused img.mainpic {
    margin-bottom: 10px;
}

#syndmused a.mainpic {
    border-bottom-width: 0;
    text-decoration: none;
}

.uudis h3, .syndmus h3 {
    font-size: 93%;
    font-weight: normal;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: Verdana, Arial;
}

.uudis p, .syndmus p {
    font-size: 93%;
    margin: 0;
    margin-top: 3px;
}

.morestuff {
    text-align: right;
    font-size: 93%;
}

.morestuff p {
    margin: 0 0 0 0;
}

.avaleht .morestuff p {
    margin: 10px 0 0 0;
}

#uudised, #syndmused {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid white;
}

.avaleht .uudis h3, .avaleht .syndmus h3, .avaleht .uudis p, .avaleht .syndmus p {
    margin-top: 0px;
    font-size: 93%;
}

.pikkjalus #tahtsadlingid, .avaleht #tahtsadlingid, .avaleht #uudised, .avaleht #syndmused {
    margin-top: 0;
    padding-top: 0;
    border-top-width: 0;
}

#tahtsadlingid h2 {
    margin-bottom: 5px;
}

#tahtsadlingid ul {
    padding: 0 8px 3px 10px;
    margin: 0;
    list-style-type: none;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 93%;
}

.avaleht #tahtsadlingid ul {
    padding: 0 8px 13px 10px;
    font-size: 93%;
}

#tahtsadlingid ul li {
    background-image: url("../imgs/paremkolmnurk.gif");
    background-repeat: no-repeat;
    background-position: 0 0.65em;
    background-color: transparent;
    padding-left: 10px;
}

.avaleht #tahtsadlingid {
    width: 354px;
    background-image: url("../imgs/esileht-vaikevari.gif");
    background-repeat: no-repeat;
    background-position: 0 bottom;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.avaleht #tahtsadlingid ul.lingidvasak {
    float: left;
    width: 158px;
}

.avaleht #tahtsadlingid ul.lingidparem {
    float: right;
    width: 160px;
}

/* pikkjalus pikkjalus pikkjalus */

#pikkjalus-wrapper {
    min-width: 750px;
    width: 100%;
    border-width: 0;
    background-color: #e3e3d9;
    margin-top: -20px;
    bottom: 0pt;
    left: 0pt;
    position: absolute;
}

#pikkjalus-wrapper #doc {
    padding-bottom: 35px;
}

.pikkjalus {
    background-image: url("../imgs/pikkjalus-back.gif");
    background-repeat: no-repeat;
    background-color: transparent;
    padding-top: 10px;
}

#pikkjalus-wrapper .uudis h3, #pikkjalus-wrapper .syndmus h3 {
    margin-top: 0px;
    font-size: 85%;
}

#pikkjalus-wrapper .uudis p, #pikkjalus-wrapper .syndmus p {
    font-size: 85%;
}

#pikkjalus-wrapper .morestuff {
    font-size: 85%;
}

#pikkjalus-wrapper #tahtsadlingid ul {
    font-size: 85%;
}

/* jalus jalus jalus */

#footer-wrapper {

    min-width: 750px;
    width: 100%;
    border-width: 0;
    background-color: #94989e;
    position: absolute;
    left: 0;
    bottom: 0;
}

#footer {
    margin: 0 auto;
    text-align: center;

    width: 750px;
    padding: 5px 0;
    font-family: Arial, sans-serif;
    font-size: 85%;
    color: white;
    bottom: 0;
}

#footer #linktowebmaster {
    float: right;
}

#footer p {
    text-align: left;
    margin: 0;
    padding: 0;
}

#footer a {
    color: white;
}

#footer p.chooselanguage {
    margin-bottom: 15px;
}

.info {
    padding-left: 2px;
    font-size: 12px;
    font-style: italic;
    display: block;
    padding-top: 3px;
}

.hidden {

    display: none;

}

.errormsg {

    padding-left: 2px;
    font-size: 10px;
    color: red;

}

/*
    Breadcrumb
*/
p.path {
    font-size: 0.92em;
    font-style: italic;
    font-family: "Times New Roman", "Times New Roman", serif;
    color: grey;
    font-variant: small-caps;
    width: 950px;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0 auto;
    background-color: #f9f9f9;
}

p.path a, p.path a:visited {
    color: grey;
    text-decoration: none;
    font-size: 150%;
}

#doc {
    min-width: 950px;
    background-color: #f9f9f9;
    padding-left: 5px;
    padding-right: 5px;
}

.yui-t5 #yui-main .yui-b {
    margin-right: 0;
}
