@media screen and (min-width: 1200px) {
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
        margin: 0;
        padding: 0;
        border: 0;
        outline: 0;
        font-size: 100%;
        vertical-align: baseline;
        background: transparent;
        font-family: Arial, helvetica, sans-serif;
    }

    body {
        background-color: #cfcfd3 !important;
        background-image: url('/images/gradient.gif');
        background-repeat: repeat-x;
    }

    .content {
        width: 1680px;
        background: transparent;
        margin-left: auto;
        margin-right: auto;
    }

    #PageText {
        line-height: 1.3;
    }

    .header_content {
        width: 1640px;
        height: 127px;
        background-image: url('/images/header-background.jpg');
        background-repeat: no-repeat;
        background-size: cover;
    }

    .header_shadow_left {
        background-image: url('/images/shadow-top-left.png');
        background-repeat: no-repeat;
        padding-left: 20px;
    }

    .header_shadow_right {
        background-image: url('/images/shadow-top-right.png');
        background-repeat: no-repeat;
        background-position: right;
        padding-right: 20px;
    }

    .content_placeholder {
        width: 1680px;
    }

    .content_page {
        width: 1640px;
        min-height: 650px;
        background: white;
        padding-bottom: 50px;
    }

    .content_page_body {
        width: 1640px;
        padding-bottom: 45px;
        background-image: url('/images/main_page_flash_shadow.gif');
        background-repeat: repeat-x;
        background-position: top;
        min-height: 52px;
    }

    .content_page_single_column {
        float: left;
        padding: 20px 20px 60px;
        width: 1600px;
    }

    .content_page_header {
        width: 1640px;
        height: 78px;
        background-image: linear-gradient(to right, #475b8e, #303956);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .content_page_header h1 {
        font-family: Arial, helvetica, sans-serif;
        font-size: 1.625em;
        font-weight: normal;
        color: #ffffff;
        padding-left: 245px;
        padding-top: 27px;
    }

    .main_page_body {
        width: 1640px;
        padding-bottom: 100px;
    }


    .main_news {
        padding-left: 20px;
        line-height: 1.2;
    }

    .main_news > div {
        padding-right: 15px;
    }

    .main_news > div > .news_item:not(.news_item:nth-child(-n+2)) {
        display: none;
    }

    .news_date, .news_text {
        font-size: 1rem;
    }

    .main_news .news_date, .main_news .news_text {
        font-size: 1rem;
        font-family: Arial, helvetica, sans-serif;
        font-weight: bold;
    }

    .main_news .news_text {
        margin-bottom: 7px;
    }

    .news_thumbnail_image {
        float: left;
        clear: left;
        padding: 0 15px 5px 15px;
    }

    .main_news .news_brief_description > * {
        width: 300px;
        font-size: 1.2rem;
        float: none;
    }

    .news_brief_description > * {
        width: 300px;
        font-size: 1rem;
    }

    .news_brief_description + p, .news_page_left column .news_brief_description > p {
        font-size: 1rem;
        line-height: 1.2;
        margin-left: 96px;
    }

    .main_news h1 {
        font-family: Arial, helvetica, sans-serif;
        font-size: 1.625rem;
        color: #6c8dba;
        padding-left: 15px;
    }

    .main_news img {
        border: 1px solid #B1B5B5;
        margin-right: 9px;
        float: left;
    }

    .news_item {
        margin-top: 30px;
    }

    .news_date {
        font-family: Arial, helvetica, sans-serif;
        font-weight: bold;
        color: #3f516d;
        line-height: 1;
    }

    .news_page_left_column .news_date {
        line-height: 1.7;
    }

    .news_more {
        font-family: Arial, helvetica, sans-serif;
        color: #9b2121;
        font-size: .8em;
        text-decoration: underline;
    }

    .news_more ~ p {
        margin-left: 71px;
        width: 220px;
    }

    #more_news_btn {
        margin-left: auto;
        margin-right: auto;
        display: block;
        text-align: center;
        width: 50%;
        margin-top: 30px;
    }

    .main_page_contents {
        background-image: url('/images/main_page_flash_shadow.gif');
        background-repeat: repeat-x;
        background-position: top;
        min-height: 52px;
    }

    .main_page_contents_text {
        padding-top: 35px;
        padding-right: 120px;
        padding-left: 70px;
        line-height: 1.4;
        font-size: 1.1rem;
    }

    .main_page_contents_text p {
        padding-bottom: 10px;
    }

    .main_page_contents_text h1 {
        font-size: 1.625em;
        color: #6c8dba;
        margin-bottom: 12px;
    }

    .main_page_separator {
        background-image: url('/images/main_page_separator.gif');
        background-repeat: no-repeat;
        background-position: top;
        float: left;
        width: 47px;
        height: 465px;
    }

    .main_flash {
        background-image: url('/images/mainpage_flash_106px.jpg');
        background-color: #303956;
        background-repeat: no-repeat;
        padding-left: 70px;
        padding-top: 20px;
        height: 86px;
    }

    .main_flash h1 {
        font-size: 1.625em;
        color: #6c8dba;
        margin-bottom: 12px;
    }

    .main_flash p {
        color: #FFFFFF;
        font-size: 1em;
    }

    #news_page_header {
        padding-left: 360px;
    }

    .news_page_left_column {
        float: left;
        width: 312px;
        padding-top: 16px;
        padding-left: 15px;
        max-height: 650px;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .news_page_left_column .news_brief_description {
        padding-left: 15px;
    }

    .content_page_left_column {
        float: left;
        padding-top: 16px;
    }

    .content_page_left_column ul {
        margin: 0;
        padding: 0;
        width: auto;
        list-style: none;
    }

    .content_page_left_column li {
        padding-left: 36px;
        width: 173px;
        padding-top: 10px;
        padding-bottom: 11px;
    }

    .content_page_separator {
        background-image: url('/images/content_page_separator.gif');
        background-repeat: no-repeat;
        background-position: top;
        float: left;
        width: 35px;
        height: 485px;
    }

    .content_page_left_column li.active {
        background-color: #ebedf2;
    }

    .content_page_left_column a {
        font-size: 0.95em;
        font-weight: 500;
        text-decoration: underline;
        color: #606d92;
    }

    .content_page_right_column {
        float: left;
        width: 1300px;
        padding-top: 23px;
        padding-right: 13px;
    }

    .content_page_contents_text {
        padding-right: 17px;
        float: left;
        width: 1240px;
        margin: auto;
    }

    .content_page_contents_text h2 {
        color: #606d92;
        font-size: 1.2em;
        padding-bottom: 11px;
    }

    .content_page_contents_text p, .content_page_contents_text li {
        font-size: 1em;
        padding-bottom: 10px;
        line-height: 1.3;
    }

    .content_page_contents_text li {
        margin-left: 1em;
    }

    .content_page_contents_text ul {
        list-style: disc outside none;
    }


    .content_page_contents_text .annotation {
        color: #606d92;
        font-size: 0.95em;
    }


    .main_page_left_column {
        float: left;
        width: 402px;
    }

    .main_page_left_column > img {
        width: 402px;
        height: auto;
        padding-left: 0;
    }

    .main_page_right_column {
        float: left;
        width: 1238px;
    }

    .clear {
        clear: both;
    }

    .MainNavMenu {
        float: left;
        width: 100%;
    }

    .SignIn, .SignOut {
        color: #252f4b;
        text-align: center;
        float: right;
        margin-top: 10px;
        margin-right: 15px;
    }

    .SignIn a, .SignOut a {
        color: #FFFFFF;
        text-decoration: underline;
        margin-left: 5px;
        margin-right: 5px;
    }

    .content_navigation {
        width: 1640px;
        height: 31px;
        background: #4b4b4b;
    }

    .content_shadow_left {
        background-image: url('/images/shadow-content-left.png');
        background-repeat: repeat-y;
        padding-left: 20px;
    }

    .content_shadow_right {
        background-image: url('/images/shadow-content-right.png');
        background-repeat: repeat-y;
        background-position: right;
        padding-right: 20px;
    }

    /* FOOTER */

    .footer {
        width: 1680px;
        height: 180px;
        margin-bottom: 30px;
    }

    .footer_content {
        width: 1640px;
        height: 139px;
        padding-top: 21px;
        background-color: #e6e7eb;
        background-image: url('/images/footer-logo.gif');
        background-position: top right;
        background-repeat: no-repeat;
    }

    .footer_stripe {
        width: 1600px;
        height: 24px;
        padding-left: 37px;
        background-color: transparent;
        background-image: url('/images/footer-stripe.png');
        background-repeat: no-repeat;
    }

    .copy {
        width: 387px;
        font-size: 0.8em;
        padding-top: 4px;
        float: left;
        color: white;
        vertical-align: middle;
    }

    .footer_shadow {
        background-image: url('/images/shadow-footer.png');
        background-position: bottom;
        height: 190px;
        width: 1640px;
    }

    .footer_shadow_left {
        background-image: url('/images/shadow-footer-left.png');
        background-repeat: no-repeat;
        padding-left: 20px;
        height: 190px;
    }

    .footer_shadow_right {
        background-image: url('/images/shadow-footer-right.png');
        background-repeat: no-repeat;
        background-position: right;
        padding-right: 20px;
        height: 190px;
    }

    .validation-summary-errors {
        color: Red;
        margin-bottom: 5px;
    }

    #logo_img {
        width: 202px;
        height: 95px;
    }

    .logo img {
        margin-left: 40px;
        margin-top: 22px;
    }

    .logo {
        float: left;
    }

    /* Forms */

    * {
        margin: 0;
        padding: 0;
    }

    a img {
        border: 0;
    }

    a {
        color: #333333;
        text-decoration: underline;
    }

    ul {
        list-style: none;
    }

    .center_wrap {
        width: 500px;
        margin: 0 auto;
        text-align: left;
        font-size: 80%;
    }

    .center_wrap p {
        margin: 10px 0;
    }


    .left_wrap {
        width: 600px;
        margin: 0 40px;
        text-align: left;
        font-size: 80%;
    }

    .left_wrap p {
        margin: 10px 0;
    }


    .clear {
        height: 1px;
        clear: both;
        margin-top: -1px;
        overflow: hidden;
    }

    .clearfix:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }


    #public_wrap_sm {
        margin-bottom: 50px;
    }

    #public_wrap_sm p {
        padding-left: 85px;
    }

    #public_wrap_sm .error p {
        margin: 0;
    }

    #public_wrap_sm .error label {
        margin-top: -8px;
    }

    #public_wrap_sm + a {
        font-size: 1rem;
    }

    #public_wrap_sm input {
        width: 250px;
    }

    #public_wrap_sm p label {
        margin-left: -85px;
        padding-top: 5px;
        width: 70px;
    }

    #public_wrap_sm .editor-field {
        clear: both;
    }

    small {
        font-size: 90%;
    }

    h2.form-title, h3.form-title, h4.form-title, h5.form-title {
        font-weight: normal;
    }

    h2.form-title {
        font-size: 185%;
        margin: 25px 0;
        border-bottom: 1px solid #ccc;
    }

    /* Form Elements */
    label {
        font-weight: bold;
    }

    input, textarea, select {
        font: 100% "Lucida Grande", "Lucida Sans Unicode", Verdana, Sans-Serif;
    }

    input, textarea {
        line-height: 130%;
        color: #535353;
        padding: 5px;
        background: #eee;
        border-top: 1px solid #d1d1d1;
        border-left: 1px solid #d1d1d1;
        border-right: 1px solid #e9e9e9;
        border-bottom: 1px solid #e9e9e9;
    }

    input:focus, textarea:focus {
        background: #f7f7f7;
    }

    fieldset {
        border: 0;
    }

    button, .button, .button:active, .button:focus {
        border: 0;
        cursor: pointer;
        background-color: #485c93;
        font: 135% "Trebuchet MS",Verdana,Sans-Serif;
        color: #fff;
        padding: 6px 12px;
    }

    button.sm, .sub_form_sm button {
        font-size: 100%;
        padding: 4px 10px;
    }

    button:hover, .button:hover {
        padding: 5px 11px;
    }

    button.sm:hover, .sub_form_sm button:hover {
        padding: 3px 9px;
    }

    label {
        text-align: right;
        float: left;
        font-size: 110%;
    }

    input {
        border: 1px solid #b3b3b3;
        padding: 5px;
        font: 110% "Trebuchet MS",Verdana,Sans-Serif;
        background: #fff url('/images/bg_input.gif') bottom left repeat-x;
    }

    input.file {
        border: 1px solid #b3b3b3;
        padding: 5px;
        font: 110% "Trebuchet MS",Verdana,Sans-Serif;
        background: #fff url('/images/bg_input.gif') bottom left repeat-x;
    }

    input:focus, input:hover, button:hover, .button:hover {
        border: 1px solid #10b8d6;
    }

    #home .check, #signup .check, .check, #pop_signup .check, #public_wrap .check, #public_wrap_sm .check, #pop_signup_body #remember_me {
        width: auto;
        height: auto;
        border: 0;
        background: transparent;
    }

    .error {
        background: #fffac0;
    }

    .error label, #signup_wrap .error label, #home .error label {
        color: #d1a10f;
        padding: 0 10px 0 0;
        font-size: 180%;
        line-height: normal;
        margin-top: -5px;
    }

    .form_pad .fieldWithErrors {
        display: inline;
        margin-left: 20px;
    }

    .fieldWithErrors input {
        border: 1px solid #FF3366;
    }

    input.radio {
        width: auto;
        padding: 0;
        background: transparent;
        border: 0;
    }

    .success, #playlist-message p {
        background: #d3f0d1;
        border: 1px solid #b5e2b2;
        padding: 10px;
        margin: 0;
    }

    #playlist-message p {
        margin: 10px 0 20px;
    }

    .need_log {
        padding: 20px;
        margin-top: 10px;
        border: 1px solid #fff6aa;
        background: #fffac0;
    }

    .login-form-input-wrapper {
        background: url('/images/login-input.png') repeat-x scroll left bottom;
        height: 29px;
        width: 136px;
        float: left;
        margin-top: -3px;
    }

    .login-form-input {
        border: none;
        font: 75% Arial, helvetica, sans-serif;
        height: 15px;
        padding-bottom: 1px;
        padding-top: 1px;
        padding-left: 0;
        padding-right: 0;
        background: transparent;
        width: 90px;
        margin: 7px 0 0;
    }

    .login-form-input:focus {
        background: transparent;
        border: 0;
        outline: none;
    }

    .login-form-submit:focus {
        border: 0;
        outline: none;
    }

    .login-form-input:hover {
        background: transparent;
        border: 0;
    }

    .login-form-submit:hover {
        border: 0;
    }

    .login-form-spacer {
        float: left;
        height: 17px;
        width: 5px;
    }

    .SignIn {
        width: 380px;
        margin-top: 90px;
    }

    .login-form-links {
        float: left;
        height: 17px;
    }

    .login-form-submit {
        float: left;
        height: 32px;
        width: 84px;
        background: url('/images/login-button-combined.png') repeat-x scroll left bottom;
    }

    .login-form-submit:hover {
        background: url('/images/login-button-combined.png') repeat-x scroll left bottom;
        background-position: -84px;
    }

    button::-moz-focus-inner {
        border: 0;
    }

    #license-table {
        overflow: auto;
        width: auto;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .content_page_contents_text ol li ul {
        margin-left: 40px;
    }
}

@media screen and (max-width: 1200px) {
    * {
        font-family: Arial, helvetica, sans-serif;
        font-size: 98%;
    }

    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
        margin: 0;
        padding: 0;
        border: 0;
        outline: 0;
        font-size: 98%;
        vertical-align: baseline;
        background: transparent;
        font-family: Arial, helvetica, sans-serif;
    }

    body {
        background-color: #cfcfd3;
        background-image: url('/images/gradient.png');
        background-repeat: repeat-x;
    }

    .content {
        width: 100%;
        min-width: 320px;
        background: transparent;
    }

    .header_content {
        width: 100%;
        height: 90px;
        background-image: url('/images/header-background.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        display: grid;
        justify-content: center;
        grid-template-columns: 52% 48%;
        padding-bottom: 10px;
    }

    .header_shadow_left {
        background-image: url('/images/shadow-top-left.png');
        background-repeat: no-repeat;
        padding-left: 10px;
    }

    .content_page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 8px;
        filter: blur(3px);
        width: 5px;
        background-color: #000000;
        background-color: rgba(0,0,0,0.5);
        z-index: -1;
    }

    .content_page::after {
        content: '';
        position: absolute;
        top: 0;
        right: 8px;
        width: 5px;
        background-color: #000000;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
        filter: blur(3px);
    }

    .header_shadow_right {
        background-image: url('/images/shadow-top-right.png');
        background-repeat: no-repeat;
        background-position: right;
        padding-right: 10px;
    }

    .content_page {
        background: white;
        padding-bottom: 50px;
    }

    .content_page_body {
        padding-bottom: 45px;
        background-image: url('/images/main_page_flash_shadow.gif');
        background-repeat: repeat-x;
        background-position: top;
        min-height: 52px;
    }

    .content_page_body_inner {
        padding: 15px;
    }

    .content_page_single_column {
        float: left;
        padding: 20px 20px 60px;
    }

    .content_page_header {
        height: 45px;
        background-image: linear-gradient(to right, #475b8e, #303956);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .content_page_header h1 {
        font-family: Arial, helvetica, sans-serif;
        font-size: 1.4rem;
        font-weight: normal;
        color: #ffffff;
        padding-top: 12px;
        text-align: center;
    }

    .main_page_body {
        padding-bottom: 25px;
    }


    .main_news {
        line-height: 95%;
    }

    .news_item > p {
        font-size: 1rem;
    }

    .main_news > div > .news_item:not(.news_item:nth-child(-n+2)) {
        display: none;
    }

    .news_thumbnail_image {
        float: left;
        min-width: 35px;
        margin: 7px 0 10px 15px;
    }

    .news_page_left_column .news_thumbnail_image {
        margin-left: 17px;
    }

    .news_brief_description {
        display: grid;
        padding-left: 15px;
        margin-top: 7px;
        min-width: 100px;
    }

    .news_brief_description + p {
        text-align: left;
        font-size: 1em;
        line-height: 1.2;
        display: flex;
        padding-left: 15px;
    }

    .news_more ~ p {
        font-size: 0.9em;
        line-height: 1.1;
    }

    .main_news > div {
        height: auto;
        overflow: hidden;
    }

    .main_news h1 {
        font-family: Arial, helvetica, sans-serif;
        font-size: 1.4rem;
        color: #6c8dba;
        padding-left: 15px;
        padding-top: 40px;
    }

    .main_news .news_date, .news_text {
        margin-bottom: 7px;
    }


    .main_news img {
        border: 1px solid #B1B5B5;
        float: left;
        width: 30px;
        height: auto;
    }

    .news_item {
        margin-top: 15px;
        font-size: 1.1em;
    }

    .main_news .news_item {
        padding-right: 10px;
    }

    .news_date {
        font-family: Arial, helvetica, sans-serif;
        font-size: 1.1em;
        font-weight: bold;
        color: #3f516d;
    }

    .news_text {
        font-size: 1.1em;
    }

    .main_news .news_text {
        max-width: 90%;
    }

    .news_more {
        font-family: Arial, helvetica, sans-serif;
        color: #9b2121;
        font-weight: bold;
        font-size: 0.9em;
        text-decoration: underline;
    }

    #more_news_btn {
        margin-left: auto;
        margin-right: auto;
        display: block;
        text-align: center;
        margin-top: 30px;
    }

    .main_page_contents {
        background-image: url('/images/main_page_flash_shadow.gif');
        background-repeat: repeat-x;
        background-position: top;
        min-height: 52px;
    }

    .main_page_contents_text {
        padding: 7%;
        padding-top: 25px;
        font-size: 1rem;
        line-height: 1.4;
    }

    .main_page_contents_text p {
        padding-bottom: 10px;
    }

    .main_page_contents_text h1 {
        display: none;
        font-size: 1.25em;
        color: #6c8dba;
        margin-bottom: 12px;
    }

    .main_page_separator {
        background-image: url('/images/main_page_separator.gif');
        background-repeat: no-repeat;
        background-position: top;
        float: left;
        width: 5%;
        height: 465px;
    }

    .main_flash {
        background-image: url('/images/mainpage_flash_106px.jpg');
        background-position-x: -10px;
        background-position-y: 40%;
        background-size: cover;
        background-color: #303956;
        background-repeat: no-repeat;
        padding-bottom: 15px;
        padding-left: 7%;
        padding-right: 7%;
        padding-top: 15px;
        height: auto;
        max-height: 290px;
    }

    .main_flash h1 {
        font-size: 1.5em;
        color: #6c8dba;
        margin-bottom: 5px;
        text-align: left;
    }

    .main_flash p {
        color: #FFFFFF;
        font-size: 1.2em;
        text-align: left;
    }

    .news_page_left_column {
        float: left;
        padding-top: 16px;
        max-height: 600px;
        overflow-x: scroll;
        width: 92%;
        display: flex;
        margin-left: 4%;
        margin-right: 4%;
    }

    .news_page_left_column .news_brief_description {
        float: left;
        width: 150px;
        padding-left: 15px;
    }

    #NewsTitle {
        padding-top: 50px;
    }

    .content_page_left_column {
        padding-top: 16px;
    }

    .content_page_left_column ul {
        margin: 0;
        padding: 0 10%;
        list-style: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 5px;
        font-size: 1rem;
    }

    .content_page_left_column li {
        width: 49%;
        margin-bottom: 15px;
        max-height: 100%;
        padding-left: 5px;
    }

    .content_page_separator {
        display: none;
        background-image: url('/images/content_page_separator.gif');
        background-repeat: no-repeat;
        background-position: top;
        float: left;
        width: 35px;
        height: 485px;
    }

    .content_page_left_column li.active {
        background-color: #ebedf2;
    }

    .content_page_left_column a {
        font-weight: normal;
        font-size: 0.95em;
        font-weight: 500;
        text-decoration: underline;
        color: #606d92;
        vertical-align: -moz-middle-with-baseline;
    }

    .content_page_contents_text {
        padding: 7%;
        padding-top: 40px;
        font-size: 1rem;
        line-height: 1.4;
    }

    .content_page_contents_text h2 {
        color: #606d92;
        font-size: 1.2em;
        padding-bottom: 11px;
        display: inline-block;
    }

    .content_page_contents_text p, .content_page_contents_text li {
        font-size: 1rem;
        padding-bottom: 10px;
        line-height: 1.4;
    }

    .content_page_contents_text p:first-line {
        min-width: 200px;
    }

    .content_page_contents_text li {
        margin-left: 1em;
        text-align: left;
    }

    .content_page_contents_text ul {
        list-style: disc outside none;
    }


    .content_page_contents_text .annotation {
        color: #606d92;
        font-size: 0.95em;
    }

    .content_page_contents_text img:not(img[src$=".gif"]):not(a[href="http://amtmarine.ca/backend/License/RequestQuote"]>img, #PageText img[src="http://amtmarine.ca/uploads/images/Company/Autoship.png"], img[src="http://amtmarine.ca/uploads/images/Company/Coastdesign.png"], img[src="http://amtmarine.ca/uploads/images/Company/Europacific.png"]) {
        margin: 10px;
    }

    .main_page_left_column {
        float: left;
        width: 35%;
    }

    .main_page_left_column img {
        width: 100%;
        height: auto;
    }

    .main_page_right_column {
        width: 65%;
        float: right;
    }

    .clear {
        clear: both;
    }

    .MainNavMenu {
        width: 100%;
        padding: 0;
    }

    .MainNavMenu li {
        text-align: center;
        font-size: 0.95em;
        min-height: 25px;
    }

    .content_navigation + div {
        min-height: 650px;
    }

    .SignIn, .SignOut {
        color: #252f4b;
        text-align: center;
        float: right;
        margin-top: 10px;
    }

    .SignIn a, .SignOut a {
        color: #FFFFFF;
        text-decoration: underline;
        margin-left: 5px;
        margin-right: 5px;
    }

    .content_navigation {
        background: #4b4b4b;
        font-size: 1rem;
    }

    .content_shadow_left {
        background-image: url('/images/shadow-content-left.png');
        background-repeat: repeat-y;
        padding-left: 10px;
    }

    .content_shadow_right {
        background-image: url('/images/shadow-content-right.png');
        background-repeat: repeat-y;
        background-position: right;
        padding-right: 10px;
    }

    /* FOOTER */

    .footer {
        height: 180px;
    }

    .footer_content {
        height: 139px;
        padding-top: 21px;
        background-color: #e6e7eb;
        background-image: url('/images/footer-logo.gif');
        background-position: top right;
        background-repeat: no-repeat;
        box-shadow: 0 5px 5px #000000;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
    }

    .footer_stripe {
        height: 24px;
        padding-left: 37px;
        background-color: transparent;
        background-image: url('/images/footer-stripe.png');
        background-repeat: no-repeat;
    }

    .copy {
        font-size: 0.8em;
        padding-top: 4px;
        float: left;
        color: white;
        vertical-align: middle;
    }

    .footer_shadow {
        background-position: bottom;
        height: 190px;
    }

    .footer_shadow_left {
        background-repeat: no-repeat;
        padding-left: 10px;
        height: 190px;
    }

    .footer_shadow_right {
        background-repeat: no-repeat;
        background-position: right;
        padding-right: 10px;
        height: 190px;
    }

    .validation-summary-errors {
        color: Red;
        margin-bottom: 5px;
    }

    .logo img {
        margin-left: 20px;
        margin-top: 30px;
        width: 100px;
        height: auto;
    }

    /* Forms */

    * {
        margin: 0;
        padding: 0;
    }

    a img {
        border: 0;
    }

    a {
        color: #333333;
        text-decoration: underline;
    }

    ul {
        list-style: none;
    }

    .center_wrap {
        margin: 0 auto;
        text-align: left;
        font-size: 1em;
        padding: 0 15px;
    }

    .center_wrap form legend + p {
        margin-top: 20px;
    }

    .left_wrap {
        margin: 0 40px;
        text-align: left;
        font-size: 80%;
        max-width: 90vw;
    }

    .left_wrap p {
        margin: 10px 0;
    }

    .clear {
        height: 1px;
        clear: both;
        margin-top: -1px;
        overflow: hidden;
    }

    .clearfix:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }


    #public_wrap_sm p {
        padding-left: 85px;
    }

    .center_wrap p:not(:last-child) {
        margin-top: 10px;
    }

    #public_wrap_sm button {
        margin: 0 5px 15px 0;
    }

    #public_wrap_sm .error p {
        margin: 0;
    }

    #public_wrap_sm .error label {
        margin-top: -8px;
    }

    #public_wrap_sm input:not(#NotificationsEnabled) {
        min-width: 20vw;
    }

    #public_wrap_sm p label {
        margin-left: -85px;
        padding-top: 5px;
        width: 70px;
    }

    #public_wrap_sm .editor-field {
        clear: both;
    }

    #public_wrap_sm + a {
        font-size: 0.9rem;
        margin-bottom: 50px;
    }

    small {
        font-size: 90%;
    }

    h2.form-title, h3.form-title, h4.form-title, h5.form-title, .form-title ~ p, legend {
        font-weight: normal;
        text-align: center;
        width: 100%;
    }

    h2.form-title {
        font-size: 1.2rem;
        margin: 25px 0;
        padding: 0 0 10px 0;
        border-bottom: 1px solid #ccc;
    }

    /* Form Elements */
    label {
        font-weight: bold;
    }

    input, textarea, select {
        font: 100% "Lucida Grande", "Lucida Sans Unicode", Verdana, Sans-Serif;
    }

    select {
        min-width: 26px;
    }

    input, textarea {
        line-height: 130%;
        color: #535353;
        padding: 5px;
        background: #eee;
        border-top: 1px solid #d1d1d1;
        border-left: 1px solid #d1d1d1;
        border-right: 1px solid #e9e9e9;
        border-bottom: 1px solid #e9e9e9;
        min-width: 70px;
    }

    input:focus, textarea:focus {
        background: #f7f7f7;
    }

    fieldset {
        border: 0;
        margin-bottom: 30px;
        width: 70vw;
        max-width: 350px;
        margin: auto;
        margin-top: 30px;
    }

    button, .button, .button:active, .button:focus {
        border: 0;
        cursor: pointer;
        background-color: #485c93;
        font: 135% "Trebuchet MS",Verdana,Sans-Serif;
        color: #fff;
        padding: 6px 12px;
    }

    button.sm, .sub_form_sm button {
        font-size: 100%;
        padding: 4px 10px;
    }

    button:hover, .button:hover {
        padding: 5px 11px;
    }

    button.sm:hover, .sub_form_sm button:hover {
        padding: 3px 9px;
    }

    label {
        text-align: right;
        float: left;
        font-size: 110%;
    }

    input {
        border: 1px solid #b3b3b3;
        padding: 5px;
        font: 110% "Trebuchet MS",Verdana,Sans-Serif;
        background: #fff url('/images/bg_input.gif') bottom left repeat-x;
    }

    input.file {
        border: 1px solid #b3b3b3;
        padding: 5px;
        font: 110% "Trebuchet MS",Verdana,Sans-Serif;
        background: #fff url('/images/bg_input.gif') bottom left repeat-x;
    }

    input:focus, input:hover, button:hover, .button:hover {
        border: 1px solid #10b8d6;
    }

    #home .check, #signup .check, .check, #pop_signup .check, #public_wrap .check, #public_wrap_sm .check, #pop_signup_body #remember_me {
        width: auto;
        height: auto;
        border: 0;
        background: transparent;
    }

    #rememberMe {
        margin-bottom: 20px;
    }

    iframe {
        max-width: 70vw;
    }

    .error {
        background: #fffac0;
    }

    .error label, #signup_wrap .error label, #home .error label {
        color: #d1a10f;
        padding: 0 10px 0 0;
        font-size: 180%;
        line-height: normal;
        margin-top: -5px;
    }

    .form_pad .fieldWithErrors {
        display: inline;
        margin-left: 20px;
    }

    .fieldWithErrors input {
        border: 1px solid #FF3366;
    }

    input.radio {
        width: auto;
        padding: 0;
        background: transparent;
        border: 0;
    }

    .success, #playlist-message p {
        background: #d3f0d1;
        border: 1px solid #b5e2b2;
        padding: 10px;
        margin: 0;
    }

    #playlist-message p {
        margin: 10px 0 20px;
    }

    .need_log {
        padding: 20px;
        margin-top: 10px;
        border: 1px solid #fff6aa;
        background: #fffac0;
    }

    .login-form-input-wrapper {
        background: url('/images/login-input.png') repeat-x scroll left bottom;
        height: 29px;
        width: 136px;
        float: left;
        margin-top: -3px;
    }

    .login-form-input {
        border: none;
        font: 75% Arial, helvetica, sans-serif;
        height: 15px;
        padding-bottom: 1px;
        padding-top: 1px;
        padding-left: 0;
        padding-right: 0;
        background: transparent;
        width: 90px;
        margin: 7px 0 0;
    }

    .login-form-input:focus {
        background: transparent;
        border: 0;
        outline: none;
    }

    .login-form-submit:focus {
        border: 0;
        outline: none;
    }

    .login-form-input:hover {
        background: transparent;
        border: 0;
    }

    .login-form-submit:hover {
        border: 0;
    }

    .login-form-spacer {
        float: left;
        height: 17px;
        width: 5px;
    }

    .SignIn {
        width: 100%;
        margin-right: 10px;
        display: grid;
        justify-content: end;
    }

    .SignIn form {
        display: grid;
        padding-right: 5px;
    }

    .login-form-spacer {
        display: none;
    }

    .login-form-links {
        float: left;
        height: 17px;
    }

    .login-form-submit {
        float: left;
        height: 32px;
        width: 84px;
        background: url('/images/login-button-combined.png') repeat-x scroll left bottom;
    }

    .login-form-submit:hover {
        background: url('/images/login-button-combined.png') repeat-x scroll left bottom;
        background-position: -84px;
    }

    button::-moz-focus-inner {
        border: 0;
    }

    #license-table {
        overflow: auto;
        display: block;
        width: auto;
        max-width: 1360px;
    }

    #license-table + div {
        padding-right: 25px;
    }

    #license-table + div ul li {
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .button, button {
        font-size: 1em;
        display: inline-block;
        margin-top: 10px;
    }

    .content_page_contents_text ol img {
        width: 100%;
    }

    .content_page_contents_text ol li ul {
        margin-left: 20px;
    }

    .ui-dialog, .ui-widget {
        max-width: 85vw;
    }

    table {
        margin: auto;
    }

    form td {
        display: table-cell;
        width: 50vw;
    }

    .pricelist_table {
        max-width: 90vw;
    }

    .pricelist_table td {
        padding: 5px 10px;
    }
}

/*--------------------- Main menu styles ------------------------*/

@media screen and (min-width: 1200px) {
    nav {
        margin: 0;
        background-color: #4b4b4b;
    }

    nav ul {
        padding: 0;
        margin: 0;
        list-style: none;
        position: relative;
    }

    nav ul li {
        display: inline-block;
        background-color: #4b4b4b;
    }

    nav a {
        display: block;
        padding: 0;
        color: #FFF;
        font-size: 20px;
        line-height: 30px;
        text-decoration: none;
        width: 190px;
        font-size: 0.95em;
        font-weight: 500;
        font-family: Arial, helvetica, sans-serif;
        text-align: center;
        text-decoration: underline;
        background-image: url('/images/separator.png');
        background-position: left;
        background-repeat: no-repeat;
    }
    nav ul ul {
        display: none;
        position: absolute;
        top: 100%;
    }

    nav ul ul li a {
        background-image: none;
        text-align: left;
    }

    nav ul ul li:hover {
        background-color: #4b4b4b;
    }

    nav ul li:hover > ul {
        display: inherit;
    }

    nav ul ul li {
        min-width: 170px;
        float: none;
        display: list-item;
        position: relative;
        background-color: #5b5b5b;
        z-index: 100;
        padding-left: 10px;
    }
}

@media screen and (max-width: 1200px) {
    nav {
        margin: 0;
        background-color: #4b4b4b;
        width: 100%;
    }

    nav ul {
        margin: 0;
        list-style: none;
        position: relative;
        padding: 0;
    }

    nav ul li {
        display: inline-block;
        width: 15.8%;
        background-color: #4b4b4b;
        min-width: 55px;
        margin: 0;
        text-align: center;
        vertical-align: middle;
    }

    nav > ul > li {
        border-right: 0.7px solid white;
    }

    nav > ul > li:last-child {
        border-color: transparent;
        padding-left: 7px;
    }

    nav a {
        display: block;
        width: 100%;
        padding: 4px 0;
        color: #FFF;
        font-size: 20px;
        text-decoration: none;
        font-size: 0.9em;
        font-weight: 500;
        font-family: Arial, helvetica, sans-serif;
        text-decoration: underline;
        background-position: left;
        background-repeat: no-repeat;
    }

    nav ul ul {
        display: none;
        position: absolute;
        top: 100%;
        margin-left: -8%;
        line-height: 2em;
        min-width: inherit;
    }

    nav ul ul:last-child {
        margin-left: -69px;
    }

    nav ul ul li a {
        background-image: none;
        text-align: left;
    }

    nav ul ul li:active {
        background-color: #4b4b4b;
    }

    nav ul li:hover > ul, nav ul li:active > ul {
        display: inherit;
    }

    nav ul ul li {
        width: auto;
        float: none;
        display: list-item;
        position: relative;
        background-color: #5b5b5b;
        z-index: 100;
        text-align: left;
        line-height: 1.5em;
        font-size: 1em;
        padding: 0 3px;
        margin: 0;
    }
}

nav ul li a:hover {
    color: white;
    text-decoration: underline;
    background-color: transparent;
    cursor: pointer;
}

.first-menu-item {
    background-image: none !important;
}

button, .button, .button:active, .button:focus {
    font: 104% "Trebuchet MS", Verdana, Sans-Serif;
    margin-left: 10px;
}

.amt-table-controls {
    margin-right: 15px;
}

.table-container button, .button, .button:active, .button:focus {
    margin-top: 10px;
    margin-left: 0 !important;
}

.amt-table {
    margin-left: 15px !important;
    margin-right: 15px !important;
    margin-top: 15px !important;
}

.swal2-styled:hover {
    border: 0;
    border-radius: .25em;
    padding: .625em 1.1em;
}

.delete-form, .delete-link, .datepicker {
    visibility: visible;
    /* Used for JavaScript bindings */
}

.model-details-table {
    border: solid 1px black;
    width: 800px;
}

.model-details-table th {
    text-align: right;
    border: solid 1px black;
    background-color: #cbd9ff;
}

.model-details-table td {
    padding: 2px;
    padding-left: 5px;
    text-align: left;
    border: solid 1px black;
}

#modelDetailsBlock a {
    text-decoration: none;
}

#modelDetailsBlock a:hover {
    color: white;
}

#license-table {
    border-bottom: 7px solid #485C93;
    border-collapse: collapse;
    border-top: 7px solid #485C93;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    font-size: 12px;
    margin: 20px;
    margin-left: 5px;
    text-align: center;
}

#license-table th {
    background: #E8EDFF;
    border-left: 1px solid #485C93;
    border-right: 1px solid #485C93;
    color: #003399;
    font-size: 13px;
    font-weight: normal;
    padding: 8px;
}

#license-table td {
    background: #E8EDFF;
    border-left: 1px solid #485C93;
    border-right: 1px solid #485C93;
    color: #666699;
    padding: 8px;
}

.error-page h1 {
    font-size: 6rem;
    color: #ff6f61;
    margin: 0;
}

.error-page {
    text-align: center;
    padding: 50px 20px;
}

.error-page p {
    font-size: 1.5rem;
    color: #555;
    margin: 10px 0 30px;
}

.error-page a {
    text-decoration: none;
}

.error-page a:hover {
    color: white;
}

.control-link {
    text-decoration: none !important;
}

.control-link:hover {
    color: white !important;
}

.username-text {
    display: block;
    padding-top: 5px;
    font-size: 15px;
    font-weight: bold;
}

#spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-container {
    text-align: center;
    color: white;
}

.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-left: 50px;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*     Tabulator     */
.tabulator .tabulator-footer {
    min-height: 42px;
}

body.column-moving,
body.column-moving * {
    cursor: ew-resize !important;
}

.tabulator .tabulator-footer .tabulator-footer-contents {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 4px 8px;
}

/* Page Size */
.tabulator-paginator button {
    color: black;
    background-color: white;
}

.tabulator .tabulator-footer .tabulator-paginator {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.tabulator .tabulator-footer .tabulator-page-size {
    margin: 0 8px 0 4px;
    vertical-align: middle;
}

/* Pagination buttons */
.tabulator .tabulator-footer .tabulator-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 28px;
    padding: 4px 6px;
    margin: 0;
    border: none !important;
    background: transparent;
    font-size: 14px;
    line-height: 1;
}

.tabulator .tabulator-footer .tabulator-page:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.06);
}

.tabulator .tabulator-footer .tabulator-page:disabled {
    opacity: 0.35;
}

/* Page X of Y */
.tabulator .tabulator-footer .page-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-weight: 600;
}


/* First */
.tabulator .tabulator-footer .tabulator-page[data-page="first"] {
    position: absolute;
    right: calc(50% + 105px);
    top: 50%;
    transform: translateY(-50%);
}

/* Previous */
.tabulator .tabulator-footer .tabulator-page[data-page="prev"] {
    position: absolute;
    right: calc(50% + 70px);
    top: 50%;
    transform: translateY(-50%);
}

/* Next */
.tabulator .tabulator-footer .tabulator-page[data-page="next"] {
    position: absolute;
    left: calc(50% + 70px);
    top: 50%;
    transform: translateY(-50%);
}

/* Last */
.tabulator .tabulator-footer .tabulator-page[data-page="last"] {
    position: absolute;
    left: calc(50% + 105px);
    top: 50%;
    transform: translateY(-50%);
}

/* X-Y of Total */
.tabulator .tabulator-footer .tabulator-page-counter {
    order: 2;
    margin-left: auto;
    white-space: nowrap;
    font-weight: 600 !important;
}

.tabulator .tabulator-col-resize-handle {
    cursor: col-resize !important;
}
/*     Tabulator     */

/*     Column visibility dialog     */
#columnVisibilityDropdown {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 8px;
    width: 300px;
    z-index: 1000;
}

#columnVisibilityDropdown .column-visibility-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 3px 4px;
    border-radius: 4px;
}

#columnVisibilityDropdown .column-visibility-item:hover {
    background: #f5f5f5;
}

#columnVisibilityDropdown .column-drag-handle {
    width: 16px;
    text-align: center;
    color: #666;
    cursor: grab;
    font-size: 14px;
}

#columnVisibilityDropdown .column-drag-handle:hover {
    color: #003366;
}

#columnVisibilityDropdown .column-drag-handle:active {
    cursor: grabbing;
}

#columnVisibilityDropdown label {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    cursor: pointer;
}

#columnVisibilityDropdown input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #485c93;
}

#columnVisibilityDropdown .sortable-ghost {
    opacity: 0.4;
}
/*     Column visibility dialog     */