.bgImg {
    background-repeat: no-repeat;
    background-position: top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#resources_pages .content-page {
    margin-top: 0;
}
.sidebar-dmenu {
    margin-top: 30px;
}
.sidebar-dmenu h1 {
    font-size: 24px;
    text-decoration: underline;
	    text-transform: capitalize;
}
.sidebar-dmenu h2 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px;
}

#p_popup_form:before {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(4, 4, 4, 0.51);
    content: ''
}

#p_popup_form {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999999;
}

#p_popup_form button.closeBtn {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    text-align: center;
    color: #000;
    z-index: 999;
}

#p_popup_form button.closeBtn .x_icon:before, 
#p_popup_form button.closeBtn .x_icon:after {
      content: "";
      position: absolute;
      height: 2px;
      width: 100%;
      top: 50%;
      left: 0;
      margin-top: -1px;
      background: #000;
}

#p_popup_form button.closeBtn .x_icon:before {
      -webkit-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform: rotate(45deg);
}
#p_popup_form button.closeBtn .x_icon:after {
      -webkit-transform: rotate(-45deg);
      -moz-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      transform: rotate(-45deg);
}

#p_popup_form button.closeBtn .x_icon {
    position: relative;
    width: 24px;
    height: 24px;
    overflow: hidden;
}

#p_popup_form button.closeBtn span {
    display: inline-block;
    vertical-align: middle;
}

#p_popup_form button.closeBtn:hover .x_icon:before, 
#p_popup_form button.closeBtn:hover .x_icon:after {
    background: #dcb465;
}

#p_popup_form button.closeBtn:hover {
    color: #dcb465;
}

#p_popup_form .p_wrapper {
    position: relative;
    width: 100%;
    max-width: 723px;
    padding-top: 30px;
    margin: auto;
	background: #fff;
}

#p_popup_form .intro {
    font-size: 14px;
    line-height: 1.875em;
    text-align: center;
    font-weight: 300;
}

#p_popup_form h2 {
    padding-top: 30px;
    padding-bottom: 24px;
    text-align: center;
    font-size: 48px;
    line-height: 1em;
    color: #132a3f;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

#p_popup_form h2 small {
    display: block;
    font-size: 24px;
    color: #dcb465;
    font-weight: 700 !important;
}

#p_popup_form form {
    padding: 27px;
    background-color: rgba(0,0,0,0.05);
}

#p_popup_form form .wrapper {
    background-color: #fff;
}

#p_popup_form .gform_body {
    padding: 7.5% 10% 7% 10%;
    background-color: #fff;
}

#r_gform_fields_1 {
    padding-bottom: 9px;
}

#p_popup_form label {
    font-weight: 900
}

#p_popup_form label .gfield_required {
    padding-left: 3px;
    color: #790000;
}

#p_popup_form input {
    margin-bottom: 12px;
}

#p_popup_form .gfield input {
    width: 100%;
}

#gform_submit_button_3 {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0;
    margin: 0;
    background-color: #132a3f;
    font-size: 14px;
    font-weight: 700;
    line-height: 50px;
    color: #fff;
}

#gform_submit_button_3:hover {
    background-color: #cda85c;
}

#r_download_boxes {
    width: 100%;
    max-width: 1143px;
    padding-top: 30px;
    margin: 0 auto 20% auto;
}

#r_download_boxes h2.p_title {
    margin-top: 2%;
    padding-top: 24px;
    padding-bottom: 8px;
}

#r_download_boxes .col {
    display: block;
    width: 30%;
    margin-right: 2.5%;
    margin-bottom: 2.5%;
    padding: 27px;
    background-color: rgba(0,0,0,0.05);
    float: left;
    cursor: pointer;
}

/*#r_download_boxes .col:nth-of-type(3n) {
    margin-right: 0;
}*/

#r_download_boxes .wrapper {
    padding: 24px 12px 24px 12px;
    background-color: #fff;
    text-align: center;
}

#r_download_boxes .wrapper h2 {
    margin-bottom: 3px;
    font-size: 16px;
    color: #193044;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

#r_download_boxes .wrapper p {
    margin-bottom: 42px;
    font-size: 14px;
    color: #193044;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
}

#r_download_boxes .pdf_icon {
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin-bottom: 36px;
    width: 36px
}

#r_download_boxes .download_icon {
    display: inline-block;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #dcb465 url(../images/icon_download_arrow.jpg) no-repeat center center;
}

#r_download_boxes .col:hover {
    background-color: rgba(0,0,0,0.1);
}


    #r_download_boxes .col:nth-of-type(4n) {
        margin-right: 0;
    }

@media only screen and (max-width: 1170px) {
    #r_download_boxes .wrapper h2 {
        font-size: 18px;
    }
}


@media only screen and (max-width: 1024px) {
    #r_download_boxes .wrapper {
        padding: 48px 6px 30px 6px;
    }

    #r_download_boxes .col {
        width: 23.500%;
        margin-right: 2%;
    }
    
    #r_download_boxes .pdf_icon {
        max-width: 84px;
    }

    #p_popup_form .p_wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    #p_popup_form input {
        font-size: 16px;
    }
}


@media only screen and (max-width: 1023px) {
    #r_download_boxes .col {
        width: 48.5%;
        margin-right: 3%;
        margin-bottom: 3%;
    }

    #r_download_boxes .col:nth-of-type(2n) {
        margin-right: 0;
    }
}


@media only screen and (max-width: 768px) {
    #r_download_boxes {
        max-width: 90%;
        margin: auto;
        padding-top: 48px;
        padding-bottom: 60px;
    }
    
    #r_download_boxes .col {
        width: 48.5%;
        margin: 0 0 9px 0;    
        margin-right: 2.5%;
        margin-bottom: 2.5%;
    }

    #r_download_boxes .wrapper {
        padding: 30px 6px 24px 6px;
    }

    #r_download_boxes .wrapper h2 {
        margin-bottom: 0;
    }

    #r_download_boxes .wrapper p {
        margin-bottom: 18px;
    }

    #r_download_boxes .pdf_icon {
        margin-bottom: 12px;
    }

    #r_download_boxes .download_icon {
        width: 66px;
        height: 66px;
        -webkit-background-size: 24px auto;
        -moz-background-size: 24px auto;
        -ms-background-size: 24px auto;
        -o-background-size: 24px auto;
        background-size: 24px auto;
    }
}


@media only screen and (max-width: 480px) {
    #download_resources {
        padding-bottom: 84px;
    }
    
    #r_gform_fields_1 {
        padding-bottom: 3px;
    }
    
    #p_popup_form form {
        padding: 6px;
    }

    #p_popup_form .gform_body {
        padding: 18px 9px;
        background-color: #fff;
    }

    #r_download_boxes .col {
        width: 100%
    }
}
