/* Desktops and laptops ----------- */
@media only screen and (min-device-width : 1025px) and (max-device-width : 1824px){
    #wrapper{
        width: 70% !important; 
    }
}


/* small devices */
@media only screen and (min-device-width : 320px) and (max-device-width : 1024px) {
    #diplomatimg{
        margin: 0 auto;
        display: table;
        width: 90%;
        text-align: center;
        border-bottom: 1px solid #DFDFDF;
        margin-bottom: 50px;
        padding-bottom: 15px;
    }

    .col-sm-12 { padding-left:5px !important; padding-right:5px !important; }
    
    .img-responsive{
        margin: 0 auto;
        display: table;
        margin-bottom:0px;
        padding-bottom: 5px;
        /* border-bottom: 1px solid #DFDFDF; */
    }

    #dcontact{
        margin: 0 auto;
        display: table;
        width: 90%;
        text-align: center;
        border: 0px;
        border: 0 !important;
    } 

    #diplomatrelated{
        margin: 0 auto;
        display: table;
        width: 90%;
        text-align: center;
        border: 0px;
        margin-bottom: 50px;
        padding-bottom: 15px;
        border-bottom: 1px solid #DFDFDF;
    }

    .classfied-search{
        margin-bottom: 20px;
        height:  100px;
    }

    #classified-title label{
        width: 100%;
        float: left;
        text-align: center;
        margin-bottom: 10px;
    }

    #classifiedForm{
        width: 100%;

    }
   
    .careerlogo img{
        width: 90% !important;
        height:  auto !important; 
    }
    
    .careerapp img{
        width: auto !important;
        height:  auto !important; 
    }

    #bookcontainer{
        text-align:  center;
        padding-bottom: 20px;
    }

    #bookcontainer div#imgcontainer{
        height:  auto !important;
        width: 85% !important;
    }

    #bookcontainer div#imgcontainer img{
        width: 50% !important;
        height: auto;
        float: none !important;
        margin: 0 auto !important;
        display: table !important;
        padding-bottom: 5px !important;
                
    }

    .imgcontainer{
        width: auto !important;
        float: none !important;
        margin: 0 auto;
        display: table;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 767px) {
    #img-wrapper{
        height: auto !important;
    }

    .gallery .gallery-caption{    
        margin: 0 auto !important;
        display: table !important;
        float: none !important;
        font-family: 'Merriweather', serif !important;
        font-size: 9pt;
        line-height: 1.4em;
        padding-top: 12px;
        width: 70%;
    }
    
    #loginform #inputfield{
        float: left;
        width: 100% !important;
        height: 42px !important;
        margin-right: 0;
        margin-bottom: 15px;
        padding: 10px;
        font-size: 10pt; 
    
    }   
    
    #loginform #inputsubmit{
        float: left;
        width: 75% !important;
        padding: 10px; 
        background: #527CA5;
    }   

    #emailfield{
        width: 100% !important; float: left; margin-bottom: 15px; 
        height: 42px !important;
    }

    #checksubmit{
        float: left;
        width: 75% !important;
        padding: 10px; 
        background: #527CA5;
    }   
}

/************ Single Image Alignment ************/
@media only screen and (min-device-width : 520px) and (max-device-width : 988px) {
   .wp-caption{
        float: none !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        display: table !important;
    }

    .wp-caption img, .wp-caption-text{
        width: 50% !important;
        height: auto !important;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 519px) {
    .wp-caption{
         float: none !important;
         width: 75% !important;
         height: auto !important;
         margin: 0 auto !important;
         display: table !important;
     }
 
     .wp-caption img, .wp-caption-text{
         width: 100% !important;
         height: auto !important;
         float: none !important;
     }
}
/***********************/