﻿fieldset
{
    width: 1024px;
    border-radius: 5px;
    text-align: left;
    padding: 4px;
    margin: 4px;
}

legend
{
    font-family: Verdana;
    font-size: 13px;
    font-weight: bold;
    color: Navy;
}

table
{
    display: table;
    float: left;
}
.tr
{
    padding: 10px;
    display: table-row;
}
.td
{
    padding: 10px;
    display: table-cell;
    text-align: left;
    vertical-align: top;
}

.HtmlEditorFor
{
    width: 450px;
    height: 20px;
    border: 1px solid #909090;
    padding: 5px;
}
.HtmlEditorFor:focus
{
    border: 1px solid #3385D6;
    box-shadow: 0 0 5px #3385D6;
}

textarea
{
    resize: none;
    width: 450px;
    height: 70px !important;
}

.HtmlLabelFor
{
    font-weight: bold;
    font-family: Verdana;
    font-size: 13px;
    color: #666;
}

.ValidationMessageFor
{
    font-family: Verdana;
    font-size: 12px;
    color: Red;
}

.A1
{
    width: 1020px;
}

.AboutUsRM1
{
    margin-top: 9px;
    font-family: Verdana;
    font-size: 14px;
    color: #484848;
}

.AboutUsRM2
{
    clear: both;
    text-align: left;
    font-size: 14px;
    padding-top: 5px;
    color: #707070;
    font-weight: bold;
}

.AboutUsRM2 p
{
    text-align: justify;
    padding: 0px;
    margin-top: -4px;
    font-family: Verdana;
    font-size: 13px;
}

.AboutUsRM2 ul li
{
    text-align: justify;
    padding: 0px;
    margin-top: -4px;
    font-family: Verdana;
    font-size: 15px;
}

.buttons
{
    background-color: #858282;
    border: 1px solid #171717;
    border-radius: 5px;
    box-shadow: 1px 1px 1px 1px #6e6e6e;
    color: #efeeee;
}
.buttons
{
    cursor: pointer;
    font-family: Arial;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 5px 15px;
    width: 120px;
}

.buttons:hover
{
    background-color: #aba9a9;
    border: 1px solid #6e6e6e;
    color: #494747;
    width: 121px;
}


.divURLFormat
{
    color: #0b4c5f;
    font-family: Verdana Times New Roman;
    font-size: 13px;
}

/*_VesselList Partial View Grid CSS Start*/

.divGridStyle
{
    height: 400px;
    width: 100%;
}

.GridStyle
{
    border: 1px solid #dddddd;
    margin-top: 5px;
    width: 100%;
}

.GridStyle tbody
{
    border: 1px solid #000000;
}

.GridStyle tbody tr td
{
    border: 1px solid #cccccc;
    color: #555555;
    font-family: Verdana;
    font-size: 13px;
    font-weight: normal;
    padding: 5px 2px 5px 4px;
    vertical-align: top;
}

.GridStyle tbody tr td a
{
    color: #555555;
    font-family: Verdana;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 2px 5px 4px;
    color: Navy;
}

.GridStyle tbody tr td span
{
    color: #555555;
    font-family: Verdana;
    font-size: 11px;
    font-weight: normal;
    padding: 5px 2px 5px 4px;
    text-align: center;
}

/*.GridStyle tbody tr:hover {background-color: #d8d8d8;border: 1px solid #c0c0c0;color: Black;font-weight: bold;}*/

.GridStyle tbody tr th
{
    background: url("../images/brtop_bg.jpg") repeat-x scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid #cccccc;
    color: Maroon;
    font-family: Verdana;
    font-size: 13px;
    font-weight: bold;
    height: 25px;
}

/*_VesselList Partial View Grid CSS End*/

.editBtn
{
    height: 16px;
    width: 16px;
    background: url(../Images/Update.png) no-repeat top left;
  /*  display: block;*/
    text-indent: -9999px; /* hides the link text */
    
}

.deleteBtn
{
    height: 16px;
    width: 16px;
    background: url(../Images/Delete.png) no-repeat top left;
    /*display: block;*/
    text-indent: -9999px; /* hides the link text */
}

.tabButtons
{
    width: 45px;
 
}

/*FOR Partial View _ViewNews Start*/

#news-container
{
    width: 235px;
    height: 280px !important;
    margin: 0px;
    padding: 0px;
    border: 1px solid #777;
}
#news-container
{
    font-size: 13px;
    font-family: Calibri;
    text-align: left;
}

#news-container ul li:nth-child(odd)
{
    background: #BCC6CC;
}

#news-container ul li:nth-child(even)
{
    background: #E5E4E2;
}

#news-container ul li div a
{
    text-decoration: none;
}



.divNewsDate
{
    width: 232px;
}

/*FOR Partial View _ViewNews END*/
/*********************************************************************************************************************/

/*News CSS Start*/
#news-container
{
    width: 100%;
    height: 100% !important;
    margin: 1px;
    padding: 0px;
    border: 1px solid #777;
}
#news-container
{
    font-size: 13px;
    font-family: Calibri;
    text-align: left;
}

#news-container ul li:nth-child(odd)
{
    background: #BCC6CC;
}

#news-container ul li:nth-child(even)
{
    background: #E5E4E2;
}

#news-container ul li div a
{
    text-decoration: none;
}

.divNewsMain
{
    width: 100%; /*padding: 3px;*/
    color: #3f3f3f;
    height: auto !important;
}
/*
.divNewsMain
{
    width: 100%; 
    color: #3f3f3f;
    height: 140px !important;
}*/

.divNewsTitle
{ 
    width: 100%;
    font-size: 12px;
     height: auto !important;
    font-weight: bold;
    color: Black;
    text-align: justify;
}

.divNewsBody
{
   /* margin-top: 5px;*/
    width: 100%; /*padding: 3px 1px 3px 1px;*/
    font-size: 12px;
}

.divNewsDate
{
    width: 100%;
}
/*News CSS End*/
.demo2
{
    width: auto !important;
}



@media screen and (max-device-width: 980px), screen and (max-width: 980px)
{
    fieldset
    {
        width: 97%;
    }

}

@media screen and (max-device-width: 767px), screen and (max-width: 767px)
{
}

@media screen and (max-device-width: 582px), screen and (max-width: 582px)
{
    .HtmlEditorFor
    {
        width: 98%;
    }
}

@media screen and (max-device-width: 520px), screen and (max-width: 520px)
{
    .HtmlEditorFor
    {
        width: 95%;
    }
}

@media screen and (max-device-width: 480px), screen and (max-width: 480px)
{
    #txtpostedDT, #postedDT
    {
        display: none;
    }
    fieldset
    {
        width: 96%;
    }
}

@media screen and (max-device-width: 400px), screen and (max-width: 400px)
{
    .tabButtons
    {
        width: 100%;
    }
}

@media screen and (max-device-width: 320px), screen and (max-width: 320px)
{
}
